|
@@ -217,7 +217,7 @@ var _dialog = _interopRequireDefault(__webpack_require__(/*! ../../wxcomponents/
|
|
|
//
|
|
|
//
|
|
|
var _default = { data: function data() {return { show: false, loading: false, overlayShow: false, env: null, //识别是否为扫描用户进入,以便直接进入支付跳转
|
|
|
- state1: "color:#000;background: #ccc;", state2: "color:#000;background: #ccc;", state3: "color:#000;background: #ccc;", state4: "color:#000;background: #ccc;", state5: "color:#000;background: #ccc;", state6: "color:#000;background: #ccc;", data: { money: "0", openid: null } };}, watch: { money: function money(val) {// if (/^0[1-9]/.test(val)) {
|
|
|
+ state1: "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);", state2: "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);", state3: "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);", state4: "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);", state5: "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);", state6: "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);", data: { money: "0", openid: null } };}, watch: { money: function money(val) {// if (/^0[1-9]/.test(val)) {
|
|
|
// this.data.money = val.substring(1);
|
|
|
// }
|
|
|
} }, components: {// [Field.name]: Field,
|
|
@@ -264,12 +264,12 @@ var _default = { data: function data() {return { show: false, loading: false, ov
|
|
|
this.$nextTick(function () {
|
|
|
_this2.data.money = val;
|
|
|
});
|
|
|
- this.state1 = "color:#000;background: #ccc;",
|
|
|
- this.state2 = "color:#000;background: #ccc;",
|
|
|
- this.state3 = "color:#000;background: #ccc;",
|
|
|
- this.state4 = "color:#000;background: #ccc;",
|
|
|
- this.state5 = "color:#000;background: #ccc;",
|
|
|
- this.state6 = "color:#000;background: #ccc;",
|
|
|
+ this.state1 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state2 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state3 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state4 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state5 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state6 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
this.data.money = this.data.money + "";
|
|
|
},
|
|
|
|
|
@@ -294,55 +294,55 @@ var _default = { data: function data() {return { show: false, loading: false, ov
|
|
|
// },
|
|
|
btn50: function btn50() {
|
|
|
this.state1 = "color:#fff;background:rgba(242, 46, 60, 1);",
|
|
|
- this.state2 = "color:#000;background: #ccc;",
|
|
|
- this.state3 = "color:#000;background: #ccc;",
|
|
|
- this.state4 = "color:#000;background: #ccc;",
|
|
|
- this.state5 = "color:#000;background: #ccc;",
|
|
|
- this.state6 = "color:#000;background: #ccc;",
|
|
|
+ this.state2 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state3 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state4 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state5 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state6 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
this.data.money = 50;
|
|
|
},
|
|
|
btn100: function btn100() {
|
|
|
- this.state1 = "color:#000;background: #ccc;",
|
|
|
+ this.state1 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
this.state2 = "color:#fff;background: rgba(242, 46, 60, 1);",
|
|
|
- this.state3 = "color:#000;background: #ccc;",
|
|
|
- this.state4 = "color:#000;background: #ccc;",
|
|
|
- this.state5 = "color:#000;background: #ccc;",
|
|
|
- this.state6 = "color:#000;background: #ccc;",
|
|
|
+ this.state3 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state4 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state5 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state6 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
this.data.money = 100;
|
|
|
},
|
|
|
btn150: function btn150() {
|
|
|
- this.state1 = "color:#000;background: #ccc;",
|
|
|
- this.state2 = "color:#000;background: #ccc;",
|
|
|
+ this.state1 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state2 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
this.state3 = "color:#fff;background: rgba(242, 46, 60, 1);",
|
|
|
- this.state4 = "color:#000;background: #ccc;",
|
|
|
- this.state5 = "color:#000;background: #ccc;",
|
|
|
- this.state6 = "color:#000;background: #ccc;",
|
|
|
+ this.state4 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state5 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state6 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
this.data.money = 150;
|
|
|
},
|
|
|
btn200: function btn200() {
|
|
|
- this.state1 = "color:#000;background: #ccc;",
|
|
|
- this.state2 = "color:#000;background: #ccc;",
|
|
|
- this.state3 = "color:#000;background: #ccc;",
|
|
|
+ this.state1 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state2 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state3 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
this.state4 = "color:#fff;background: rgba(242, 46, 60, 1);",
|
|
|
- this.state5 = "color:#000;background: #ccc;",
|
|
|
- this.state6 = "color:#000;background: #ccc;",
|
|
|
+ this.state5 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state6 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
this.data.money = 200;
|
|
|
},
|
|
|
btn250: function btn250() {
|
|
|
- this.state1 = "color:#000;background: #ccc;",
|
|
|
- this.state2 = "color:#000;background: #ccc;",
|
|
|
- this.state3 = "color:#000;background: #ccc;",
|
|
|
- this.state4 = "color:#000;background: #ccc;",
|
|
|
+ this.state1 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state2 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state3 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state4 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
this.state5 = "color:#fff;background: rgba(242, 46, 60, 1);",
|
|
|
- this.state6 = "color:#000;background: #ccc;",
|
|
|
+ this.state6 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
this.data.money = 250;
|
|
|
},
|
|
|
btn300: function btn300() {
|
|
|
- this.state1 = "color:#000;background: #ccc;",
|
|
|
- this.state2 = "color:#000;background: #ccc;",
|
|
|
- this.state3 = "color:#000;background: #ccc;",
|
|
|
- this.state4 = "color:#000;background: #ccc;",
|
|
|
- this.state5 = "color:#000;background: #ccc;",
|
|
|
+ this.state1 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state2 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state3 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state4 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
+ this.state5 = "color:#000;background: #fff;border:1px solid rgba(242, 46, 60, 1);",
|
|
|
this.state6 = "color:#fff;background: rgba(242, 46, 60, 1);",
|
|
|
this.data.money = 300;
|
|
|
} } };exports.default = _default;
|