bztang-admin/addons/yun_shop/static/app/js/chunk-26a8ed18.9e28ae52.js

1 line
3.1 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-26a8ed18"],{ae13:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"password_change",attrs:{id:"password_change"}},[a("c-title",{attrs:{hide:!1,text:"店铺密码设置"}}),a("div",{staticClass:"content"},[a("div",{staticClass:"switch"},[a("span",[t._v("进入店铺需要密码")]),a("van-switch",{attrs:{"inactive-color":"#ff2c29"},on:{change:t.changePWD},model:{value:t.switch1,callback:function(e){t.switch1=e},expression:"switch1"}})],1),t.switch1?a("div",{staticClass:"setPassword",on:{click:t.toSet}},[a("span",[t._v("密码设置")]),a("i",{staticClass:"fa fa-angle-right"})]):t._e(),a("div",{staticClass:"btn",on:{click:t.back}},[t._v(" 返回 ")])])],1)},n=[],i=(a("e7e5"),a("d399")),c=a("6968"),o={data:function(){return{switch1:!1}},activated:function(){this.getData()},methods:{back:function(){this.$router.go(-1)},toSet:function(){this.$router.push(this.fun.getUrl("setPassword"))},getData:function(){var t=this,e={art:"auctioneer"};$http.get("plugin.auction.api.index.getAuctionData",e,"获取中").then((function(e){1==e.result?t.switch1=1==e.data.auctioneer.is_pass:t.$dialog.alert({message:e.msg})})).catch((function(t){}))},changePWD:function(){var t=this,e={status:this.switch1?1:0,art:"updateStatus"};$http.get("plugin.auction.api.index.getAuctionData",e,"获取中").then((function(e){1==e.result?Object(i["a"])(e.data.updateStatus):t.$dialog.alert({message:e.msg})})).catch((function(t){}))}},components:{cTitle:c["a"]}},r=o,d=r,l=(a("d70d"),a("2877")),f=Object(l["a"])(d,s,n,!1,null,"50234179",null);e["default"]=f.exports},d70d:function(t,e,a){"use strict";a("f871")},de6a:function(t,e,a){var s=a("24fb");e=s(!1),e.push([t.i,"#password_change[data-v-50234179]{background-color:#fff;height:100vh}#password_change .content[data-v-50234179]{padding:0 .75rem;background-color:#fff}#password_change .content .switch[data-v-50234179]{border-bottom:1px solid #f1f1f1}#password_change .content .setPassword[data-v-50234179],#password_change .content .switch[data-v-50234179]{padding:1.125rem .75rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;color:#000}#password_change .content .setPassword i[data-v-50234179]{color:#666;font-size:18px}#password_change .content .btn[data-v-50234179]{width:18.4375rem;height:2.625rem;border-radius:1.3125rem;border:.0625rem solid #ff2c29;color:#ff2c29;font-size:18px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-top:7.375rem;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}",""]),t.exports=e},f871:function(t,e,a){var s=a("de6a");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);var n=a("499e").default;n("01436bd2",s,!0,{sourceMap:!1,shadowMode:!1})}}]);