(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"0fa3":function(t,e,s){"use strict";var n=s("6b45"),a=s.n(n);a.a},"2af8":function(t,e,s){var n=s("24fb");e=n(!1),e.push([t.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/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.content[data-v-55df11b2]{margin:0 auto;width:90%;height:100%;padding:%?5?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff;-webkit-border-radius:%?20?%;border-radius:%?20?%;-webkit-box-shadow:0 0 %?10?% #888;box-shadow:0 0 %?10?% #888;position:relative;top:%?10?%}.content .title[data-v-55df11b2]{font-size:%?48?%;font-weight:300}.content .title[data-v-55df11b2],\r\n.content .buttons[data-v-55df11b2]{padding:%?30?%}.content .title .a[data-v-55df11b2],\r\n.content .buttons .a[data-v-55df11b2]{background-color:#409eff;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .title .b[data-v-55df11b2],\r\n.content .buttons .b[data-v-55df11b2]{background-color:#c7c7c7;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .one[data-v-55df11b2],\r\n.content .two[data-v-55df11b2],\r\n.content .three[data-v-55df11b2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?10?%}.content .one .line[data-v-55df11b2],\r\n.content .one uni-input[data-v-55df11b2],\r\n.content .one .stitle[data-v-55df11b2],\r\n.content .one .msg[data-v-55df11b2],\r\n.content .two .line[data-v-55df11b2],\r\n.content .two uni-input[data-v-55df11b2],\r\n.content .two .stitle[data-v-55df11b2],\r\n.content .two .msg[data-v-55df11b2],\r\n.content .three .line[data-v-55df11b2],\r\n.content .three uni-input[data-v-55df11b2],\r\n.content .three .stitle[data-v-55df11b2],\r\n.content .three .msg[data-v-55df11b2]{width:%?560?%;padding-bottom:%?15?%}.content .one .msg[data-v-55df11b2],\r\n.content .two .msg[data-v-55df11b2],\r\n.content .three .msg[data-v-55df11b2]{font-size:%?26?%;height:%?20?%}.content .one .line[data-v-55df11b2],\r\n.content .two .line[data-v-55df11b2],\r\n.content .three .line[data-v-55df11b2]{border-bottom:%?2?% solid #000}.content .red[data-v-55df11b2]{color:red}.content .green[data-v-55df11b2]{color:#409eff}.content img[data-v-55df11b2]{width:%?35?%;height:%?35?%;position:relative;top:%?6?%}.scuss[data-v-55df11b2]{position:absolute;top:%?-100?%;left:%?-100?%;width:500%;height:500%;background-color:#efefef}',""]),t.exports=e},"6b45":function(t,e,s){var n=s("2af8");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=s("4f06").default;a("51327066",n,!0,{sourceMap:!1,shadowMode:!1})},"6f06":function(t,e,s){"use strict";(function(t){s("ac1f"),s("841c"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{times:"",ticket:"",name:"",ID:"",msgT:{state:null,msg:""},msgN:{state:null,msg:""},msgI:{state:null,msg:""},axiosMsg:{code:"",msg:""},oks:!1}},computed:{doit:function(){return 1==this.msgT.state&&1==this.msgN.state&&1==this.msgI.state}},methods:{buts:function(){t("log","提交完成"," at pages/index/index.vue:96")},but:function(){var e=this,s=this;if(t("log",this.doit," at pages/index/index.vue:100"),this.doit){var n={name:s.name,identityCard:s.ID,ticketCode:s.ticket,activation:"1"};wx.request({url:"https://web.byisf.com/api/activation/activation/submit",data:n,header:{"content-type":"application/x-www-form-urlencoded"},method:"POST",success:function(t){s.axiosMsg={code:t.data.code,msg:t.data.msg},200==t.data.code&&(e.oks=!0,wx.showLoading({title:"激活成功",mask:!0}))},fail:function(t){s.axiosMsg={code:0,msg:t},wx.showLoading({title:"失去连接 请稍等",mask:!0}),setTimeout((function(){wx.hideLoading()}),500)}})}else this.rees()},checkOUR:function(t,e){var s=this;clearTimeout(this.times),this.times=setTimeout((function(){t(e),clearTimeout(s.times)}),200)},checkTicket:function(e){var s="",n="";t("log",e," at pages/index/index.vue:161"),""==e?(s="0",n="请输入票号"):(s="1",n=e),this.msgT.state=s,this.msgT.msg=n},checkName:function(t){var e="",s="";""==t?(s="请输入名字",e="0"):-1!=t.search(/[^\u4e00-\u9fa5]/)?(s="请输入汉字",e="0"):t.length>5?(s="名字太长",e="0"):(s="输入正确",e="1"),this.msgN.state=e,this.msgN.msg=s},checkID:function(t){var e=/^[1-9]\d{5}(18|19|20|21|22)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,s="",n="";""==t?(n="请输入身份证",s="0"):0!=t.search(e)?(n="身份证错误",s="0"):(n="输入正确",s="1"),this.msgI.state=s,this.msgI.msg=n},rees:function(){this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)},cc:function(){this.ticket="23",this.name="我二",this.ID="333333199701014455",this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)}},mounted:function(){},watch:{ticket:function(){this.checkOUR(this.checkTicket,this.ticket)},name:function(){this.checkOUR(this.checkName,this.name)},ID:function(){this.checkOUR(this.checkID,this.ID)}}};e.default=n}).call(this,s("0de9")["log"])},"7a43":function(t,e,s){t.exports=s.p+"static/img/tg.0350b2e2.png"},c085:function(t,e,s){"use strict";s.r(e);var n=s("6f06"),a=s.n(n);for(var i in n)"default"!==i&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},cca3:function(t,e,s){"use strict";var n;s.d(e,"b",(function(){return a})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{attrs:{id:"our"}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"title"},[t._v("填写信息")]),n("v-uni-view",{staticClass:"one"},[n("v-uni-view",{staticClass:"stitle"},[t._v("票号:")]),n("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入正确票号"},model:{value:t.ticket,callback:function(e){t.ticket=e},expression:"ticket"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgT.state,expression:"msgT.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgT.state,expression:"msgT.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgT.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgT.state,expression:"msgT.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgT.msg))])])],1),n("v-uni-view",{staticClass:"two"},[n("v-uni-view",{staticClass:"stitle"},[t._v("姓名:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgN.state,expression:"msgN.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgN.state,expression:"msgN.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgN.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgN.state,expression:"msgN.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgN.msg))])])],1),n("v-uni-view",{staticClass:"three"},[n("v-uni-view",{staticClass:"stitle"},[t._v("身份证:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确身份证"},model:{value:t.ID,callback:function(e){t.ID=e},expression:"ID"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgI.state,expression:"msgI.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgI.state,expression:"msgI.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgI.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgI.state,expression:"msgI.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgI.msg))])])],1),n("v-uni-view",{staticClass:"buttons"},[n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:!t.oks,expression:"!oks"}],staticClass:"a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.but.apply(void 0,arguments)}}},[t._v("确认激活")]),n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.oks,expression:"oks"}],staticClass:"b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buts.apply(void 0,arguments)}}},[t._v("确认激活")])],1)],1)],1)},i=[]},dabe:function(t,e,s){t.exports=s.p+"static/img/jg.fbe1fed3.png"},de84:function(t,e,s){"use strict";s.r(e);var n=s("cca3"),a=s("c085");for(var i in a)"default"!==i&&function(t){s.d(e,t,(function(){return a[t]}))}(i);s("0fa3");var o,c=s("f0c5"),r=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"55df11b2",null,!1,n["a"],o);e["default"]=r.exports}}]);
|