You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
10 KiB
1 lines
10 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-PaymentEdit-PaymentEdit"],{"020f":function(e,t,n){var s=n("24fb");t=s(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 主要颜色 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.page-total[data-v-2d0f9b74]{position:fixed;left:0;bottom:0;width:100%;background-color:#f6f6f6}.key-list[data-v-2d0f9b74]{display:flex;flex-wrap:wrap;align-items:center;padding:0 3%;height:90%;margin-top:%?20?%}.key-list .list[data-v-2d0f9b74]{display:flex;align-items:center;justify-content:center;width:32.3%;height:%?80?%;background-color:#fff;border-radius:%?10?%;box-shadow:0 0 %?10?% rgba(0,0,0,.1);margin-right:1.5%;margin-bottom:%?10?%}.key-list .list uni-text[data-v-2d0f9b74]{font-size:%?38?%;font-weight:700;color:#222}.key-list .list[data-v-2d0f9b74]:nth-child(3n){margin-right:0}.key-list .special[data-v-2d0f9b74]{background-color:#f6f6f6;box-shadow:none}.key-list .special uni-text[data-v-2d0f9b74]{color:#959595}',""]),e.exports=t},"15ea":function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return s}));var s={CodeKeyboard:n("95f9").default},r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"page"},[n("v-uni-view",[n("v-uni-view",{staticClass:"pay-title"},[n("v-uni-text",{directives:[{name:"show",rawName:"v-show",value:1===e.AffirmStatus,expression:"AffirmStatus === 1"}]},[e._v("请输入6位支付密码")]),n("v-uni-text",{directives:[{name:"show",rawName:"v-show",value:2===e.AffirmStatus,expression:"AffirmStatus === 2"}]},[e._v("请设置6位支付密码")]),n("v-uni-text",{directives:[{name:"show",rawName:"v-show",value:3===e.AffirmStatus,expression:"AffirmStatus === 3"}]},[e._v("请确认6位支付密码")])],1),n("v-uni-view",{staticClass:"pay-password",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onPayUp.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"list"},[n("v-uni-text",{directives:[{name:"show",rawName:"v-show",value:e.passwordArr.length>=1,expression:"passwordArr.length >= 1"}]},[e._v("●")])],1),n("v-uni-view",{staticClass:"list"},[n("v-uni-text",{directives:[{name:"show",rawName:"v-show",value:e.passwordArr.length>=2,expression:"passwordArr.length >= 2"}]},[e._v("●")])],1),n("v-uni-view",{staticClass:"list"},[n("v-uni-text",{directives:[{name:"show",rawName:"v-show",value:e.passwordArr.length>=3,expression:"passwordArr.length >= 3"}]},[e._v("●")])],1),n("v-uni-view",{staticClass:"list"},[n("v-uni-text",{directives:[{name:"show",rawName:"v-show",value:e.passwordArr.length>=4,expression:"passwordArr.length >= 4"}]},[e._v("●")])],1),n("v-uni-view",{staticClass:"list"},[n("v-uni-text",{directives:[{name:"show",rawName:"v-show",value:e.passwordArr.length>=5,expression:"passwordArr.length >= 5"}]},[e._v("●")])],1),n("v-uni-view",{staticClass:"list"},[n("v-uni-text",{directives:[{name:"show",rawName:"v-show",value:e.passwordArr.length>=6,expression:"passwordArr.length >= 6"}]},[e._v("●")])],1)],1),n("v-uni-view",{staticClass:"hint"},[n("v-uni-text",[e._v("忘记支付密码?")])],1)],1),n("CodeKeyboard",{ref:"CodeKeyboard",attrs:{passwrdType:"pay"},on:{KeyInfo:function(t){arguments[0]=t=e.$handleEvent(t),e.KeyInfo.apply(void 0,arguments)}}})],1)},i=[]},"34f0":function(e,t,n){"use strict";var s=n("a285"),r=n.n(s);r.a},"3a8f":function(e,t,n){"use strict";n("7a82");var s=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("a434"),n("14d9");var r=s(n("95f9")),i={components:{CodeKeyboard:r.default},data:function(){return{AffirmStatus:1,passwordArr:[],oldPasswordArr:[],newPasswordArr:[],afPasswordArr:[]}},onLoad:function(){},methods:{onPayUp:function(){this.$refs["CodeKeyboard"].show()},KeyInfo:function(e){e.index>=6||(8===e.keyCode?this.passwordArr.splice(e.index+1,1):this.passwordArr.push(e.key),6===this.passwordArr.length&&(this.passwordArr=[],this.AffirmStatus=this.AffirmStatus+1),1===this.AffirmStatus?this.oldPasswordArr=this.passwordArr:2===this.AffirmStatus?this.newPasswordArr=this.passwordArr:3===this.AffirmStatus?this.afPasswordArr=this.passwordArr:4===this.AffirmStatus&&(console.log(this.oldPasswordArr.join("")),console.log(this.newPasswordArr.join("")),console.log(this.afPasswordArr.join("")),uni.showToast({title:"修改成功",icon:"none"}),setTimeout((function(){uni.navigateBack()}),2e3)),this.$forceUpdate())}}};t.default=i},5639:function(e,t,n){"use strict";var s=n("d0a4"),r=n.n(s);r.a},"66fb":function(e,t,n){"use strict";n.r(t);var s=n("78db"),r=n.n(s);for(var i in s)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return s[e]}))}(i);t["default"]=r.a},"6ec2":function(e,t,n){"use strict";n.r(t);var s=n("3a8f"),r=n.n(s);for(var i in s)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return s[e]}))}(i);t["default"]=r.a},"78db":function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s={data:function(){return{isShow:!1,keyList:[{key:1,en:"",keyCode:49},{key:2,en:"ABC",keyCode:50},{key:3,en:"ABC",keyCode:51},{key:4,en:"ABC",keyCode:52},{key:5,en:"ABC",keyCode:53},{key:6,en:"ABC",keyCode:54},{key:7,en:"ABC",keyCode:55},{key:8,en:"ABC",keyCode:56},{key:9,en:"ABC",keyCode:57},{key:".",en:"ABC",keyCode:190},{key:0,en:"ABC",keyCode:48},{key:"del",en:"DEL",keyCode:8}],keyIndex:-1}},props:{passwrdType:{type:String,default:"pay"}},methods:{show:function(){this.isShow=!0},hide:function(){this.isShow=!1},onKeyList:function(e,t){var n=e;if(8===n.keyCode&&this.keyIndex>-1&&this.keyIndex--,8!=n.keyCode){if("pay"==this.passwrdType&&this.keyIndex>=5)return console.log("支付键盘"),void(this.keyIndex=-1);this.keyIndex++}n.index=this.keyIndex,this.$emit("KeyInfo",n)}}};t.default=s},8272:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){}));var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:e.isShow,expression:"isShow"}],staticClass:"page-total"},[n("v-uni-view",{staticClass:"key-list"},e._l(e.keyList,(function(t,s){return n("v-uni-view",{key:s,staticClass:"list",class:{special:190==t.keyCode||8==t.keyCode},on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.onKeyList(t,s)}}},[n("v-uni-text",[e._v(e._s(t.key))])],1)})),1)],1)},r=[]},"95f9":function(e,t,n){"use strict";n.r(t);var s=n("8272"),r=n("66fb");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n("34f0");var a=n("f0c5"),o=Object(a["a"])(r["default"],s["b"],s["c"],!1,null,"2d0f9b74",null,!1,s["a"],void 0);t["default"]=o.exports},9959:function(e,t,n){var s=n("24fb");t=s(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 主要颜色 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.page[data-v-35ff642d]{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#fff}.pay-title[data-v-35ff642d]{display:flex;align-items:center;justify-content:center;width:100%;height:%?200?%}.pay-title uni-text[data-v-35ff642d]{font-size:%?28?%;color:#555}.pay-password[data-v-35ff642d]{display:flex;align-items:center;width:90%;height:%?80?%;margin:%?20?% auto;border:%?2?% solid #236030}.pay-password .list[data-v-35ff642d]{display:flex;align-items:center;justify-content:center;width:16.666%;height:100%;border-right:%?2?% solid #eee}.pay-password .list uni-text[data-v-35ff642d]{font-size:%?32?%}.pay-password .list[data-v-35ff642d]:nth-child(6){border-right:none}.hint[data-v-35ff642d]{display:flex;align-items:center;justify-content:center;width:100%;height:%?100?%}.hint uni-text[data-v-35ff642d]{font-size:%?28?%;color:#236030}',""]),e.exports=t},a285:function(e,t,n){var s=n("020f");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var r=n("4f06").default;r("2f8bc087",s,!0,{sourceMap:!1,shadowMode:!1})},d099:function(e,t,n){"use strict";n.r(t);var s=n("15ea"),r=n("6ec2");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n("5639");var a=n("f0c5"),o=Object(a["a"])(r["default"],s["b"],s["c"],!1,null,"35ff642d",null,!1,s["a"],void 0);t["default"]=o.exports},d0a4:function(e,t,n){var s=n("9959");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var r=n("4f06").default;r("5b1cfb43",s,!0,{sourceMap:!1,shadowMode:!1})}}]); |