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.
crmeb_php/public/system/js/chunk-447973c0.e2f93e69.js

1 line
5.9 KiB

1 year ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-447973c0"],{9870:function(t,s,e){},bc87:function(t,s,e){"use strict";e.r(s);var a=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"divBox"},[e("el-card",{staticClass:"box-card"},[e("el-row",{directives:[{name:"loading",rawName:"v-loading",value:t.fullscreenLoading,expression:"fullscreenLoading"}],attrs:{gutter:16}},[e("el-col",{staticClass:"ivu-text-left mb20",attrs:{span:24}},[e("el-col",{staticClass:"mr20",attrs:{xs:12,sm:6,md:4,lg:3}},[e("span",{staticClass:"ivu-text-right ivu-block"},[t._v("短信账户名称:")])]),t._v(" "),e("el-col",{attrs:{xs:11,sm:13,md:19,lg:20}},[e("span",[t._v(t._s(t.account))])])],1),t._v(" "),e("el-col",{staticClass:"ivu-text-left mb20",attrs:{span:24}},[e("el-col",{staticClass:"mr20",attrs:{xs:12,sm:6,md:4,lg:3}},[e("span",{staticClass:"ivu-text-right ivu-block"},[t._v("当前剩余条数:")])]),t._v(" "),e("el-col",{attrs:{xs:11,sm:13,md:19,lg:20}},[e("span",[t._v(t._s(t.numbers))])])],1),t._v(" "),e("el-col",{staticClass:"ivu-text-left mb20",attrs:{span:24}},[e("el-col",{staticClass:"mr20",attrs:{xs:12,sm:6,md:4,lg:3}},[e("span",{staticClass:"ivu-text-right ivu-block"},[t._v("选择套餐:")])]),t._v(" "),e("el-col",{attrs:{xs:11,sm:13,md:19,lg:20}},[e("el-row",{attrs:{gutter:20}},t._l(t.list,(function(s,a){return e("el-col",{key:a,attrs:{xxl:4,xl:8,lg:8,md:12,sm:24,xs:24}},[e("div",{staticClass:"list-goods-list-item mb15",class:{active:a===t.current},on:{click:function(e){return t.check(s,a)}}},[e("div",{staticClass:"list-goods-list-item-title",class:{active:a===t.current}},[t._v("¥ "),e("i",[t._v(t._s(s.price))])]),t._v(" "),e("div",{staticClass:"list-goods-list-item-price",class:{active:a===t.current}},[e("span",[t._v("短信条数: "+t._s(s.num))])])])])})),1)],1)],1),t._v(" "),t.checkList?e("el-col",{staticClass:"ivu-text-left mb20",attrs:{span:24}},[e("el-col",{staticClass:"mr20",attrs:{xs:12,sm:6,md:4,lg:3}},[e("span",{staticClass:"ivu-text-right ivu-block"},[t._v("充值条数:")])]),t._v(" "),e("el-col",{attrs:{xs:11,sm:13,md:19,lg:20}},[e("span",[t._v(t._s(t.checkList.num))])])],1):t._e(),t._v(" "),t.checkList?e("el-col",{staticClass:"ivu-text-left mb20",attrs:{span:24}},[e("el-col",{staticClass:"mr20",attrs:{xs:12,sm:6,md:4,lg:3}},[e("span",{staticClass:"ivu-text-right ivu-block"},[t._v("支付金额:")])]),t._v(" "),e("el-col",{attrs:{xs:11,sm:13,md:19,lg:20}},[e("span",{staticClass:"list-goods-list-item-number"},[t._v("¥"+t._s(t.checkList.price))])])],1):t._e(),t._v(" "),e("el-col",{staticClass:"ivu-text-left mb20",attrs:{span:24}},[e("el-col",{staticClass:"mr20",attrs:{xs:12,sm:6,md:4,lg:3}},[e("span",{staticClass:"ivu-text-right ivu-block"},[t._v("付款方式:")])]),t._v(" "),e("el-col",{attrs:{xs:11,sm:13,md:19,lg:20}},[e("span",{staticClass:"list-goods-list-item-pay"},[t._v("微信支付"),t.code.invalid?e("i",[t._v(t._s(" ( 支付码过期时间:"+t.code.invalid+" )"))]):t._e()])])],1),t._v(" "),e("el-col",{attrs:{span:24}},[e("el-col",{staticClass:"mr20",attrs:{xs:12,sm:6,md:4,lg:3}},[t._v(" ")]),t._v(" "),e("el-col",{attrs:{xs:11,sm:13,md:19,lg:20}},[e("div",{staticClass:"list-goods-list-item-code mr20"},[e("img",{attrs:{src:t.code.code_url}})])])],1)],1)],1)],1)},c=[],i=e("c80c"),r=(e("96cf"),e("3b8d")),n=e("db72"),l=e("b61d"),o=(e("02df"),e("83d6")),u=e("2f62"),m={name:"SmsPay",data:function(){return{numbers:"",account:"",list:[],current:0,checkList:{},fullscreenLoading:!1,code:{}}},computed:Object(n["a"])({},Object(u["b"])(["isLogin"])),mounted:function(){this.isLogin?(this.getNumber(),this.getPrice()):this.$router.push(o["roterPre"]+"/sms/config/?url="+this.$route.path)},methods:{onIsLogin:function(){var t=this;this.fullscreenLoading=!0,this.$store.dispatch("user/isLogin").then(function(){var s=Object(r["a"])(Object(i["a"])().mark((function s(e){var a;return Object(i["a"])().wrap((function(s){while(1)switch(s.prev=s.next){case 0:a=e.data,a.status?(t.getNumber(),t.getPrice()):(t.$message.warning("请先登录"),t.$router.push(o["roterPre"