Commit 85f32a28 by 林翔

lx

parent 478ab300
Showing with 1738 additions and 135 deletions
<template>
<div id="app">
<keep-alive exclude="newsDetail">
<keep-alive exclude="newsDetail,wallet,status">
<router-view class="router-view"></router-view>
</keep-alive>
</div>
......
......@@ -40,6 +40,7 @@ switch (window.location.hostname) {
export const productionUrlPc = urlPc;
export const productionUrl = url;
export const productionUrlApi = urlApi;
export const apis = {
/**
* 首页
......@@ -115,7 +116,92 @@ export const apis = {
* *
*/
feedback: productionUrlApi + 'help/help/feedback',
/**
* *
* 获取钱包信息api
* *
*/
getWalletInfo: productionUrlApi + 'wallet/info',
/**
* *
* 激活钱包api
* *
*/
activateWallet: productionUrlApi + 'wallet/activate',
/**
* *
* 发送安全手机验证码api
* *
*/
sendSafesms: productionUrlApi + 'wallet/safesms',
/**
* *
* 重置支付密码验证环节api
* *
*/
verifyResetsms: productionUrlApi + 'wallet/verifyresetsms',
/**
* *
* 修改钱包密码api
* *
*/
changeWalletpwd: productionUrlApi + 'wallet/changepwd',
/**
* *
* 钱包明细列表api
* *
*/
walletListLog: productionUrlApi + 'wallet/log',
/**
* *
* 钱包充值提现列表api
* *
*/
walletRecordList: productionUrlApi + 'wallet/lists',
/**
* *
* 手机安全验证校验api
* *
*/
verifySafeMobile: productionUrlApi + 'wallet/verifysafe',
/**
* *
* 校验银行卡获取短信验证码api
* *
*/
getBindBankmsg: productionUrlApi + 'wallet/getbankmsg',
/**
* *
* 绑定银行卡api
* *
*/
bindBankCard: productionUrlApi + 'wallet/bindbankcard',
/**
* *
* 充值申请api
* *
*/
walletRecharge: productionUrlApi + 'wallet/recharge',
/**
* *
* 提现申请api
* *
*/
walletWithdraw: productionUrlApi + 'wallet/withdraw',
/**
* *
* 充值提现单据详细api
* *
*/
rechargeWithdrawOrderIfo: productionUrlApi + 'wallet/orderinfo',
/**
* *
* 跳转及支付码api
* *
*/
payTodo: productionUrlApi + 'pay/todo',
}
export const services = {
index(params) {
return axios.post(apis.index, params)
......@@ -176,6 +262,51 @@ export const services = {
},
newsArticleDetailAd(params){
return axios.post(apis.newsArticleDetailAd,params)
}
},
getWalletInfo(params){
return axios.get(apis.getWalletInfo, {
params: {
data: params
}
})
},
activateWallet(params) {
return axios.post(apis.activateWallet, params)
},
sendSafesms(params) {
return axios.post(apis.sendSafesms, params)
},
verifyResetsms(params) {
return axios.post(apis.verifyResetsms, params)
},
walletListLog(params) {
return axios.post(apis.walletListLog, params)
},
changeWalletpwd(params) {
return axios.post(apis.changeWalletpwd, params)
},
walletRecordList(params) {
return axios.post(apis.walletRecordList, params)
},
verifySafeMobile(params) {
return axios.post(apis.verifySafeMobile, params)
},
getBindBankmsg(params) {
return axios.post(apis.getBindBankmsg, params)
},
bindBankCard(params) {
return axios.post(apis.bindBankCard, params)
},
walletRecharge(params) {
return axios.post(apis.walletRecharge, params)
},
walletWithdraw(params) {
return axios.post(apis.walletWithdraw, params)
},
rechargeWithdrawOrderIfo(params) {
return axios.post(apis.rechargeWithdrawOrderIfo, params)
},
payTodo(params) {
return axios.post(apis.payTodo, params)
},
}
......@@ -12,6 +12,16 @@ const Wallet = resolve => require(['@/views/wallet/Index'], resolve);
const WalletStatus = resolve => require(['@/views/wallet/Status'], resolve);
const WalletActivate = resolve => require(['@/views/wallet/Activate'], resolve);
const WalletRecharge = resolve => require(['@/views/wallet/Recharge'], resolve);
const WalletVerify = resolve => require(['@/views/wallet/Verify'], resolve);
const WalletBind = resolve => require(['@/views/wallet/Bind'], resolve);
const WalletWithdraw = resolve => require(['@/views/wallet/Withdraw'], resolve);
const WalletQuestion = resolve => require(['@/views/wallet/Question'], resolve);
const WalletDetail = resolve => require(['@/views/wallet/WalletDetail'], resolve);
const AccountDetail = resolve => require(['@/views/wallet/AccountDetail'], resolve);
const WalletRecord = resolve => require(['@/views/wallet/Record'], resolve);
const WithdrawDetail = resolve => require(['@/views/wallet/WithdrawDetail'], resolve);
const WalletRetrieve = resolve => require(['@/views/wallet/Retrieve'], resolve);
const WalletCashier = resolve => require(['@/views/wallet/Cashier'], resolve);
Vue.use(Router)
......@@ -98,6 +108,76 @@ const routes=[
}
},
{
path: '/wallet/verify',
component: WalletVerify,
meta: {
title: '猎芯网-验证身份'
}
},
{
path: '/wallet/bind',
component: WalletBind,
meta: {
title: '猎芯网-绑定银行账号'
}
},
{
path: '/wallet/withdraw',
component: WalletWithdraw,
meta: {
title: '猎芯网-钱包提现'
}
},
{
path: '/wallet/question',
component: WalletQuestion,
meta: {
title: '猎芯网-常见问题'
}
},
{
path: '/wallet/walletdetail',
component: WalletDetail,
meta: {
title: '猎芯网-钱包明细'
}
},
{
path: '/wallet/accountdetail',
component: AccountDetail,
meta: {
title: '猎芯网-账单详情'
}
},
{
path: '/wallet/record',
component: WalletRecord,
meta: {
title: '猎芯网-充值提现记录'
}
},
{
path: '/wallet/withdrawdetail',
component: WithdrawDetail,
meta: {
title: '猎芯网-充值提现详情'
}
},
{
path: '/wallet/retrieve',
component: WalletRetrieve,
meta: {
title: '猎芯网-找回密码'
}
},
{
path: '/wallet/cashier',
component: WalletCashier,
meta: {
title: '猎芯网-收银台'
}
},
{
path: '*',
redirect: '/'
}
......
import Vue from 'vue'
import Vuex from 'vuex'
import wallet from './modules/wallet/wallet'
import home from './modules/home'
import common from './modules/common'
import smt from './modules/smt/index'
......@@ -7,10 +8,12 @@ import wxlist from './modules/wxlist/wxlist'
import news from './modules/news/index'
import newsdetail from './modules/news/detail'
import seo from './modules/seo/index'
Vue.use(Vuex)
export default new Vuex.Store({
modules: {
wallet,
home,
common,
smt,
......
<template>
<section class="account-detail">
<Header :title="title" :meaushow='meaushow'></Header>
<div class="account-detail-content">
<div class="detail-box detail-content-1">
<div class="pay-img"><span><img src="../../assets/images/wallet/orderpay.png" alt="账单详情"></span></div>
<p class="pay-type">{{payType}}</p>
<p class="pay-amount">{{payAmount}}</p>
<p class="pay-status">{{payStatus}}</p>
</div>
<div class="detail-box detail-content-2">
<p class="pay-flow">支付流水<span>{{payFlow}}</span></p>
<p class="pay-time">支付时间<span>{{payTime}}</span></p>
<p class="pay-method">支付方式<span>{{payMethod}}</span></p>
</div>
<div class="detail-box detail-content-3">
<p class="pay-balance">钱包可用余额<span>{{payBalance}}</span></p>
<p class="pay-detail">详情<a href="#">查看订单 ></a></p>
</div>
</div>
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
export default {
name: 'AccountDetail',
data() {
return {
title: "账单详情",
meaushow: true,
payType: "订单支付",
payAmount: 1256.00,
payStatus: "交易完成",
payFlow: 1201811123491734912,
payTime: "2019-04-05 17:03:01",
payMethod: "微信",
payBalance: 1200.00,
}
},
computed: {
...mapState({
})
},
watch: {
},
created() {
},
methods: {
},
components: {
Header
}
}
</script>
<style scoped>
@import "../../assets/css/wallet/wallet.css";
</style>
\ No newline at end of file
<template>
<section class="wallet-activate">
<Header :title="title" :meaushow='meaushow'></Header>
<div class="activate-content">
<div class="activate-content" v-show="step1">
<ul class="form-wrap">
<li class="inp-wrap">
<label class="va-m">安全手机号</label><br>
<input type="text" placeholder="请输入手机号" class="va-m inp"/>
<input type="number" placeholder="请输入手机号" v-model="form.safeMobile" class="va-m inp"/>
</li>
<li class="inp-wrap">
<label class="va-m">验证码</label><br>
<input type="text" placeholder="请输入验证码" class="va-m inp"/>
<a href="javascript:;" class="send-yzm va-m">发送验证码</a>
<input type="text" placeholder="请输入验证码" v-model="form.verifyCode" class="va-m inp"/>
<a v-if="yzmSend" href="javascript:;" class="send-yzm va-m" @click="getCode">{{countDownText}}</a>
<a v-else href="javascript:;" class="sending-yzm va-m">再次发送({{countDown}}s)</a>
</li>
</ul>
<p class="form-error" v-show="formError">{{formMsg}}</p>
<a href="javascript:;" class="next" @click="next">下一步</a>
</div>
<div class="activate-content" v-show="step2">
<ul class="form-wrap">
<li class="inp-wrap">
<label class="va-m">设置支付密码</label><br>
<input type="text" placeholder="密码由8~20位字母、数字组合而成" class="va-m inp"/>
<van-icon v-if="showPassword" name="closed-eye" class="va-m"/>
<van-icon v-else name="eye-o" class="va-m"/>
<template v-if="showPassword">
<input type="password" placeholder="" class="va-m inp" v-model="form.password"/>
</template>
<template v-else>
<input type="text" placeholder="密码由8~20位字母、数字组合而成" class="va-m inp" v-model="form.password"/>
</template>
<van-icon v-if="showPassword" name="closed-eye" class="va-m f-r" @click="changeShow"/>
<van-icon v-else name="eye-o" class="va-m f-r" @click="changeShow"/>
</li>
<li class="inp-wrap">
<label class="va-m">确认支付密码</label><br>
<input type="text" placeholder="请再次输入上面的密码" class="va-m inp"/>
<van-icon v-if="showPassword" name="closed-eye" class="va-m"/>
<van-icon v-else name="eye-o" class="va-m"/>
<template v-if="showPasswordConfirm">
<input type="password" placeholder="" class="va-m inp" v-model="form.passwordConfirm"/>
</template>
<template v-else>
<input type="text" placeholder="请再次输入上面的密码" class="va-m inp" v-model="form.passwordConfirm"/>
</template>
<van-icon v-if="showPasswordConfirm" name="closed-eye" class="va-m f-r" @click="changeShowConfirm"/>
<van-icon v-else name="eye-o" class="va-m f-r" @click="changeShowConfirm"/>
</li>
</ul>
<a href="javascript:;" class="confirm" @click="confirm()">确认</a>
<p class="form-error" v-show="formError">{{formMsg}}</p>
<a href="javascript:;" class="confirm" @click="confirm">确认</a>
</div>
</section>
</template>
......@@ -42,9 +60,23 @@
name: 'WalletActivate',
data() {
return {
title:"激活钱包",
meaushow:true,
showPassword:false, //是否显示密码
title: "激活钱包",
meaushow: true,
showPassword: false, //是否显示密码
showPasswordConfirm: false, //是否显示密码确认
yzmSend: true, //验证码发送
countDown: 60,
countDownText: '发送验证码',
step1: true,
step2: false,
form: {
safeMobile: '',
verifyCode: '',
password: '',
passwordConfirm: ''
},
formError: false,
formMsg: '',
}
},
computed: {
......@@ -53,13 +85,121 @@
})
},
watch: {
},
created() {
},
methods: {
changeShow() {
this.showPassword = !this.showPassword;
},
changeShowConfirm() {
this.showPasswordConfirm = !this.showPasswordConfirm;
},
timeNum() {
var me = this;
var clock = setInterval(doLoop, 1000);
function doLoop() {
me.countDown--;
if (me.countDown <= 0) {
clearInterval(clock);
me.countDown = 60;
me.countDownText = "再次发送";
me.yzmSend = true;
}
}
},
getCode() {
var tel_reg = /^1[34578]\d{9}$/;
if (!this.form.safeMobile) {
this.formError = true;
this.formMsg = '亲,请输入手机';
return;
}
if (!tel_reg.test(this.form.safeMobile)) {
this.formError = true;
this.formMsg = '亲,手机格式不正确';
return;
}
this.yzmSend = false;
this.timeNum();
this.$store.dispatch({ //actions分发
type: 'smsVerifyActivate',
mobile: this.form.safeMobile
})
},
next() { //下一步
var tel_reg = /^1[34578]\d{9}$/;
if (!this.form.safeMobile) {
this.formError = true;
this.formMsg = '亲,请输入手机';
return;
}
if (!tel_reg.test(this.form.safeMobile)) {
this.formError = true;
this.formMsg = '亲,手机格式不正确';
return;
}
if (!this.form.verifyCode) {
this.formError = true;
this.formMsg = '亲,请输入验证码';
return;
}
this.formError = false;
//下一步
this.step1 = false;
this.step2 = true;
},
confirm() { //确认
// const reg = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,20}$/;
var password_reg = new RegExp(/^[a-zA-Z0-9]{8,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合
if (!this.form.password) {
this.formError = true;
this.formMsg = '亲,请输入支付密码';
return;
}
if (!password_reg.test(this.form.password)) {
this.formError = true;
this.formMsg = '亲,密码由8~20位字母、数字组合';
return;
}
if (!this.form.passwordConfirm) {
this.formError = true;
this.formMsg = '亲,请再次输入支付密码';
return;
}
if (this.form.password !== this.form.passwordConfirm) {
this.formError = true;
this.formMsg = '亲,两次输入支付密码不一致';
return;
}
this.formError = false;
//提交
this.$store.dispatch({
type: 'activateWallet',
mobile: this.form.safeMobile,
verifyCode: this.form.verifyCode,
password: this.form.password,
passwordConfirm: this.form.passwordConfirm
})
}
},
components: {
Header
......
<template>
<section class="wallet-bind">
<Header :title="title" :meaushow='meaushow'></Header>
<div class="bind-content">
<div class="safe-mobile">安全手机: {{walletInfoData.safe_mobile}}</div>
<ul class="form-wrap">
<li class="inp-wrap">
<label class="va-m">真实姓名</label><br>
<input type="text" placeholder="请输入真实姓名" class="va-m inp" v-model="form.userName"/>
</li>
<li class="inp-wrap">
<label class="va-m">银行账号</label><br>
<input type="text" placeholder="请输入银行账号" class="va-m inp" v-model="form.userBankNum"/>
</li>
<li class="inp-wrap">
<label class="va-m">身份证号码</label><br>
<input type="text" placeholder="请输入身份证号码" class="va-m inp" v-model="form.userID"/>
</li>
<li class="inp-wrap">
<label class="va-m">银行预留手机</label><br>
<input type="text" placeholder="请输入银行预留手机" class="va-m inp" v-model="form.userMobile"/>
</li>
<li class="inp-wrap">
<label class="va-m">验证码</label><br>
<input type="text" placeholder="请输入验证码" class="va-m inp" v-model="form.verifyCode"/>
<a v-if="yzmSend" href="javascript:;" class="send-yzm va-m" @click="getCode">{{countDownText}}</a>
<a v-else href="javascript:;" class="sending-yzm va-m">再次发送({{countDown}}s)</a>
</li>
</ul>
<p class="form-error" v-show="formError">{{formMsg}}</p>
<a href="javascript:;" class="confirm" @click="confirm">确认</a>
</div>
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
import {bankCardAttribution} from '../../util/check_bank_no.min';
import { Toast } from 'vant';
import Util from '../../util'
Vue.use(Toast);
export default {
name: 'WalletBind',
data() {
return {
title: "绑定银行账号",
meaushow: true,
yzmSend: true, //验证码发送
countDown: 60,
countDownText: '发送验证码',
form: {
userName: '',
userBankID: '',
userBankNum: '',
userID: '',
userMobile: '',
verifyCode: ''
},
formError: false,
formMsg: '',
userBankIDList: {
"邮政储蓄银行": 100,
"中国工商银行": 102,
"中国农业银行": 103,
"中国银行": 104,
"中国建设银行": 105,
"交通银行": 301,
"中信银行": 302,
"中国光大银行": 303,
"中国民生银行": 305,
"广发银行": 306,
"平安银行": 307,
"招商银行": 308,
"兴业银行": 309,
"上海浦东发展银行": 310,
"浙商银行": 316,
"上海银行": 401,
"北京银行": 403,
"徽商银行": 440,
"银联在线-中金网银无卡": 888,
"银联在线中金网银": 889
},
}
},
computed: {
...mapState({
walletInfoData: state => state.wallet.walletInfoData,
bankPasswordToken: state => state.wallet.bankPasswordToken,
bankCountDownFlag: state => state.wallet.bankCountDownFlag,
bindBankKey: state => state.wallet.bindBankKey,
bindBankData: state => state.wallet.bindBankData,
})
},
watch: {
bankCountDownFlag(value) {
if(value == true){
this.yzmSend = false;
this.timeNum();
}else{
this.yzmSend = true;
}
}
},
created() {
this.$store.dispatch({
type: 'getWalletInfo'
});
},
methods: {
verify(val) {
if (!this.form.userName) {
this.formError = true;
this.formMsg = '亲,请输入真实姓名';
return false;
}
if (!this.form.userBankNum) {
this.formError = true;
this.formMsg = '亲,请输入银行账号';
return false;
}
if (!this.form.userID) {
this.formError = true;
this.formMsg = '亲,请输入身份证号码';
return false;
}
if (!this.form.userMobile) {
this.formError = true;
this.formMsg = '亲,请输入银行预留手机';
return false;
}
var tel_reg = /^1[34578]\d{9}$/;
if (!tel_reg.test(this.form.userMobile)) {
this.formError = true;
this.formMsg = '亲,银行预留手机格式不正确';
return false;
}
return true;
},
timeNum() {
var me = this;
var clock = setInterval(doLoop, 1000);
function doLoop() {
me.countDown--;
if (me.countDown <= 0) {
clearInterval(clock);
me.countDown = 60;
me.countDownText = "再次发送";
me.yzmSend = true;
}
}
},
getCode() {
if(this.verify()){
var infox = bankCardAttribution(this.form.userBankNum);
for(var key in this.userBankIDList){
if (key == infox.bankName) {
this.form.userBankID = this.userBankIDList[key];
}
// else{
// Toast({
// message: "银行卡格式有误",
// duration: 2000
// });
// }
}
this.formError = false;
this.$store.dispatch({ //actions分发
type: 'getBindBankmsg',
bank_user: this.form.userName,
bank_id: this.form.userBankID,
bank_account: this.form.userBankNum,
id_type: 0,
id_number: this.form.userID,
account_type: 1,
mobile: this.form.userMobile,
})
}
},
confirm() { //确认
if(this.verify()){
if (!this.form.verifyCode) {
this.formError = true;
this.formMsg = '亲,请输入验证码';
return;
}
this.formError = false;
//绑定银行卡
this.$store.dispatch({
type: 'bindBankCard',
token: this.bankPasswordToken || Util.getCookie("bankPasswordToken"),
wallet_bank_id: '',
sms_code: this.form.verifyCode,
access_key: this.bindBankKey,
access_data: this.bindBankData,
})
}
}
},
components: {
Header
}
}
</script>
<style scoped>
@import "../../assets/css/wallet/wallet.css";
</style>
\ No newline at end of file
<template>
<section class="wallet-cashier">
<Header :title="title" :meaushow='meaushow'></Header>
<div class="cashier-content">
<div class="cashier-detail">
<p class="order-num">订单编号:{{orderNum}}</p>
<p class="order-money">{{orderMoney}}</p>
</div>
<ul class="form-wrap">
<li class="inp-wrap">
<label class="lineBlock va-m">交易密码</label>
<input type="text" placeholder="请输入交易密码" class="va-m inp"/>
</li>
</ul>
<p class="forget-password"><a href="javascript:;">忘记密码?</a></p>
<a href="javascript:;" class="pay" @click="pay()">立即支付</a>
</div>
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
export default {
name: 'WalletCashier',
data() {
return {
title:"猎芯网收银台",
meaushow:true,
orderNum: 12019040186325,
orderMoney: 523.16
}
},
computed: {
...mapState({
})
},
watch: {
},
created() {
},
methods: {
},
components: {
Header
}
}
</script>
<style scoped>
@import "../../assets/css/wallet/wallet.css";
</style>
\ No newline at end of file
<template>
<section class="wallet">
<Header :title="title" :meaushow='meaushow'></Header>
<div class="wallet-content">
<div class="wallet-content" v-if="walletInfoData">
<div class="wallet-balance">
<div class="balance-bg">
<p class="text-1 lineBlock">钱包余额</p>
<p class="text-2 lineBlock"><span class="text-3">0.00</span></p>
<p class="text-4 lineBlock">常见问题 ></p>
<p class="text-2 lineBlock"><span class="text-3">{{walletInfoData.wallet_balance}}</span></p>
<p class="text-4 lineBlock"><a href="/v3/help">常见问题 ></a></p>
</div>
<div class="balance-handle">
<span class="withdraw">提现</span>
<span v-if="activate" class="recharge">充值</span>
<span v-else class="recharge">激活</span>
<span class="withdraw" :class="walletInfoData.wallet_status !== 1 ? 'gray' : ''" @click="withdraw">提现</span>
<span v-if="walletInfoData.wallet_status == 1" class="recharge" @click="recharge">充值</span>
<span v-else class="recharge activate" @click="activate">激活</span>
</div>
</div>
<ul class="clr">
<li>
<img src="../../assets/images/wallet/status.png" alt="钱包状态" style="width:47px; height:45px;">
<p>钱包状态</p>
<a href="/h5/view/#/wallet/status" class="lineBlock">
<img src="../../assets/images/wallet/status.png" alt="钱包状态" style="width:47px; height:45px;">
<p>钱包状态</p>
</a>
</li>
<li>
<img src="../../assets/images/wallet/account.png" alt="账单明细" style="width:42px; height:45px;">
<p>账单明细</p>
<a href="/h5/view/#/wallet/walletdetail" class="lineBlock">
<img src="../../assets/images/wallet/account.png" alt="钱包明细" style="width:42px; height:45px;">
<p>钱包明细</p>
</a>
</li>
<li>
<img src="../../assets/images/wallet/record.png" alt="充值提现记录" style="width:45px; height:44px;">
<p>充值提现记录</p>
<a href="/h5/view/#/wallet/record" class="lineBlock">
<img src="../../assets/images/wallet/record.png" alt="充值提现记录" style="width:45px; height:44px;">
<p>充值提现记录</p>
</a>
</li>
</ul>
</div>
......@@ -36,29 +42,47 @@
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
import { Popup } from 'vant';
Vue.use(Popup);
export default {
name: 'Wallet',
name: 'wallet',
data() {
return {
title:"我的钱包",
meaushow:true,
activate:false, //用户钱包是否激活
title: "我的钱包",
meaushow: true
}
},
computed: {
...mapState({
walletInfoData: state => state.wallet.walletInfoData
})
},
watch: {
// $route(to,from){
// this.$store.dispatch({
// type: 'getWalletInfo',
// })
// }
},
created() {
this.$store.dispatch({
type: 'getWalletInfo'
})
},
methods: {
withdraw(){
if(this.walletInfoData.wallet_status == 1){ //钱包状态:1启用,-1未启用,-2锁定
this.$router.push({path: '/wallet/withdraw'});
}
},
activate(){
this.$router.push({path: '/wallet/activate'});
},
recharge(){
this.$router.push({path: '/wallet/recharge'});
}
},
components: {
Header
......
<template>
<section class="wallet-question">
<Header :title="title" :meaushow='meaushow'></Header>
<div class="question-content">
222
</div>
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
export default {
name: 'WalletQuestion',
data() {
return {
title:"常见问题",
meaushow:true,
}
},
computed: {
...mapState({
})
},
watch: {
},
created() {
},
methods: {
},
components: {
Header
}
}
</script>
<style scoped>
@import "../../assets/css/wallet/wallet.css";
</style>
\ No newline at end of file
......@@ -2,27 +2,32 @@
<section class="wallet-recharge">
<Header :title="title" :meaushow='meaushow'></Header>
<div class="recharge-content">
<div class="wallet-account"></div>
<div class="wallet-account">钱包账号:{{walletInfoData.safe_mobile}}</div>
<div class="recharge-amount">
<p>充值金额</p>
<p class="money"></p>
<span></span><input type="number" class="money" v-model="inputNum"/>
</div>
<p>支付方式</p>
<dl>
<dt><img src="" alt=""></dt>
<dd><span>微信支付</span><br/>仅安装微信6.0.2及以上版本客户端使用</dd>
<div><img src="" alt=""></div>
</dl>
<dl>
<dt><img src="" alt=""></dt>
<dd><span>支付宝支付</span><br/>由阿里巴巴提供服务</dd>
<div><img src="" alt=""></div>
</dl>
<dl>
<dt><img src="" alt=""></dt>
<dd><span>中国银联</span><br/>由猎芯网提供服务</dd>
<div><img src="" alt=""></div>
</dl>
<p class="payment-method">支付方式</p>
<van-radio-group v-model="radio">
<van-cell-group class="payment-content">
<van-cell clickable @click="radio = '1'" class="vanCell">
<div class="vanCelldt"><img src="../../assets/images/wallet/wechat.png" alt="微信支付" style="width:25px; height:22.5px;"></div>
<div class="vanCelldd"><span>微信支付</span><br/>仅安装微信6.0.2及以上版本客户端使用</div>
<van-radio name="1" style="display:inline-block; margin: 10px; float: right;"/>
</van-cell>
<van-cell clickable @click="radio = '2'" class="vanCell">
<div class="vanCelldt"><img src="../../assets/images/wallet/alipay.png" alt="支付宝支付" style="width:25px; height:25px;"></div>
<div class="vanCelldd"><span>支付宝支付</span><br/>由阿里巴巴提供服务</div>
<van-radio name="2" style="display:inline-block; margin: 10px; float: right;"/>
</van-cell>
<van-cell clickable @click="radio = '3'" class="vanCell">
<div class="vanCelldt"><img src="../../assets/images/wallet/unionpay.png" alt="中国银联" style="width:25px; height:15px;"></div>
<div class="vanCelldd"><span>中国银联</span><br/>由猎芯网提供服务</div>
<van-radio name="3" style="display:inline-block; margin: 10px; float: right;"/>
</van-cell>
</van-cell-group>
</van-radio-group>
<a href="javascript:;" class="recharge" :class="inputNum == '' ? 'rechargeNO' : ''" @click="recharge">立即充值</a>
</div>
</section>
</template>
......@@ -31,28 +36,63 @@
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
import {RadioGroup, Radio, Cell, CellGroup} from 'vant';
Vue.use(RadioGroup).use(Radio).use(Cell).use(CellGroup);
export default {
name: 'WalletRecharge',
data() {
return {
title:"钱包充值",
meaushow:true,
title: "钱包充值",
meaushow: true,
inputNum: this.$route.query.amount || '',
radio: '1'
}
},
computed: {
...mapState({
walletInfoData: state => state.wallet.walletInfoData,
amountRechargeID: state => state.wallet.amountRechargeID
})
},
watch: {
amountRechargeID(value) {
if(value){
if (this.radio == 1) { //微信支付
this.$store.dispatch({
type: 'payTodo',
pay_code: 'wxpay',
rescue: '1',
types: '1',
site_type: '2',
order_id: value
});
}else if (this.radio == 2) { //支付宝支付
window.location.href = "/v3/pay/todo?pay_code=alipay&rescue=1&types=1&site_type=2&order_id="+value;
}else if (this.radio == 3) { //中国银联
window.location.href = "/v3/pay/todo?pay_code=unionpay&rescue=1&types=1&pay_mode=2&order_id="+value;
}
}
}
},
created() {
this.$store.dispatch({
type: 'getWalletInfo'
});
},
methods: {
recharge() { //充值
if(this.inputNum !== ''){
console.log(this.radio)
//充值申请
this.$store.dispatch({
type: 'walletRecharge',
amount: this.inputNum
});
}
}
},
components: {
Header
......
<template>
<section class="wallet-retrieve">
<Header :title="title" :meaushow='meaushow'></Header>
<div class="retrieve-content" v-show="step1">
<ul class="form-wrap">
<li class="inp-wrap" style="height: 1.5rem;">
<label class="va-m">安全手机号: {{walletInfoData.safe_mobile}}</label>
</li>
<li class="inp-wrap" v-show="showImgCode">
<label class="va-m">图片验证码</label><br>
<input type="text" placeholder="请输入验证码" v-model="form.imgCode" class="va-m inp"/>
<img :src="imgCodeVal" alt="图片验证码" class="img-code va-m" @click="changeImgCode"/>
</li>
<li class="inp-wrap" style="border-top: none;">
<label class="va-m">验证码</label><br>
<input type="text" placeholder="请输入验证码" v-model="form.verifyCode" class="va-m inp"/>
<a v-if="yzmSend" href="javascript:;" class="send-yzm va-m" @click="getCode">{{countDownText}}</a>
<a v-else href="javascript:;" class="sending-yzm va-m">再次发送({{countDown}}s)</a>
</li>
</ul>
<p class="form-error" v-show="formError">{{formMsg}}</p>
<a href="javascript:;" class="next" @click="next">下一步</a>
</div>
<div class="retrieve-content" v-show="step2">
<ul class="form-wrap">
<li class="inp-wrap">
<label class="va-m">设置支付密码</label><br>
<template v-if="showPassword">
<input type="password" placeholder="" class="va-m inp" v-model="form.password"/>
</template>
<template v-else>
<input type="text" placeholder="密码由8~20位字母、数字组合而成" class="va-m inp" v-model="form.password"/>
</template>
<van-icon v-if="showPassword" name="closed-eye" class="va-m f-r" @click="changeShow"/>
<van-icon v-else name="eye-o" class="va-m f-r" @click="changeShow"/>
</li>
<li class="inp-wrap">
<label class="va-m">确认支付密码</label><br>
<template v-if="showPasswordConfirm">
<input type="password" placeholder="" class="va-m inp" v-model="form.passwordConfirm"/>
</template>
<template v-else>
<input type="text" placeholder="请再次输入上面的密码" class="va-m inp" v-model="form.passwordConfirm"/>
</template>
<van-icon v-if="showPasswordConfirm" name="closed-eye" class="va-m f-r" @click="changeShowConfirm"/>
<van-icon v-else name="eye-o" class="va-m f-r" @click="changeShowConfirm"/>
</li>
</ul>
<p class="form-error" v-show="formError">{{formMsg}}</p>
<a href="javascript:;" class="confirm" @click="confirm">确认</a>
</div>
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
import { Icon } from 'vant';
import {productionUrlPc} from '../../api/index';
Vue.use(Icon);
export default {
name: 'WalletRetrieve',
data() {
return {
title: "找回密码",
meaushow: true,
showPassword: false, //是否显示密码
showPasswordConfirm: false, //是否显示密码确认
yzmSend: true, //验证码发送
countDown: 60,
countDownText: '发送验证码',
step1: true,
step2: false,
form: {
verifyCode: '',
imgCode: '',
password: '',
passwordConfirm: '',
},
formError: false,
formMsg: '',
imgCodeVal: productionUrlPc+"public/verify",
}
},
computed: {
...mapState({
walletInfoData: state => state.wallet.walletInfoData,
showImgCode: state => state.wallet.showImgCode,
countDownFlag: state => state.wallet.countDownFlag,
passwordToken: state => state.wallet.passwordToken
})
},
watch: {
countDownFlag(value) {
if(value){
this.yzmSend = false;
this.timeNum();
}else{
this.yzmSend = true;
}
},
passwordToken(value) {
if(value){ //返回token则验证成功,下一步
this.step1 = false;
this.step2 = true;
}else{
this.step1 = true;
this.step2 = false;
}
}
},
created() {
this.$store.dispatch({
type: 'getWalletInfo'
})
},
methods: {
changeShow() {
this.showPassword = !this.showPassword;
},
changeShowConfirm() {
this.showPasswordConfirm = !this.showPasswordConfirm;
},
timeNum() {
var me = this;
var clock = setInterval(doLoop, 1000);
function doLoop() {
me.countDown--;
if (me.countDown <= 0) {
clearInterval(clock);
me.countDown = 60;
me.countDownText = "再次发送";
me.yzmSend = true;
}
}
},
//获取图片验证码
changeImgCode() {
this.imgCodeVal = productionUrlPc + "public/verify?" + new Date().getTime()
},
getCode() {
// this.yzmSend = false;
// this.timeNum();
this.$store.dispatch({ //actions分发
type: 'sendSafesms',
imgCode: this.form.imgCode
})
},
next() { //下一步
if (!this.form.verifyCode) {
this.formError = true;
this.formMsg = '亲,请输入验证码';
return;
}
this.formError = false;
this.$store.dispatch({
type: 'verifyResetsms',
verify_code: this.form.verifyCode
})
},
confirm() { //确认
var password_reg = new RegExp(/^[a-zA-Z0-9]{8,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合
if (!this.form.password) {
this.formError = true;
this.formMsg = '亲,请输入支付密码';
return;
}
if (!password_reg.test(this.form.password)) {
this.formError = true;
this.formMsg = '亲,密码由8~20位字母、数字组合';
return;
}
if (!this.form.passwordConfirm) {
this.formError = true;
this.formMsg = '亲,请再次输入支付密码';
return;
}
if (this.form.password !== this.form.passwordConfirm) {
this.formError = true;
this.formMsg = '亲,两次输入支付密码不一致';
return;
}
this.formError = false;
//提交
this.$store.dispatch({
type: 'changeWalletpwd',
token: this.passwordToken,
pay_password: this.form.password,
reconfirm: this.form.passwordConfirm,
mode: 'forget'
})
}
},
components: {
Header
}
}
</script>
<style scoped>
@import "../../assets/css/wallet/wallet.css";
</style>
\ No newline at end of file
<template>
<section class="wallet-status">
<Header :title="title" :meaushow='meaushow'></Header>
<div class="status-content">
<div class="status-content" v-if="walletInfoData.wallet_freeze_format">
<ul class="form-wrap">
<li class="inp-wrap">
<label class="lineBlock va-m">冻结余额</label>
<input v-if="!activate" type="text" value="¥0.00" class="va-m inp"/>
<input v-else type="text" :value="frozenBalance" class="va-m inp"/>
<van-icon v-if="activate" name="warning-o" class="tips va-m" style="width:16px;height:16px;color:red;"/>
<input v-if="walletInfoData.wallet_status !== 1" type="text" value="¥0.00" class="va-m inp"/>
<input v-else type="text" :value="walletInfoData.wallet_freeze_format" class="va-m inp"/>
<van-icon v-if="walletInfoData.wallet_freeze_format !== '¥0.00'" name="warning-o" class="tips va-m" size="22px" color="#f00" @click="dialogTips"/>
</li>
<li class="inp-wrap">
<label class="lineBlock va-m">钱包状态</label>
<input v-if="!activate" type="text" value="未启用" class="va-m inp"/>
<input v-if="walletInfoData.wallet_status !== 1" type="text" value="未启用" class="va-m inp"/>
<input v-else type="text" value="已启用" class="va-m inp"/>
</li>
<li class="inp-wrap">
<label class="lineBlock va-m">支付密码</label>
<input v-if="!activate" type="text" value="未启用" class="va-m inp"/>
<input v-if="walletInfoData.wallet_status !== 1" type="text" value="未启用" class="va-m inp"/>
<input v-else type="text" value="已启用" class="va-m inp"/>
<span v-if="activate" class="forget-password va-m">忘记密码</span>
<span v-if="walletInfoData.wallet_status == 1" class="forget-password va-m" @click="forgetPassword">忘记密码</span>
</li>
<li class="inp-wrap">
<label class="lineBlock va-m">我的银行卡</label>
<input v-if="!activate" type="text" value="未绑定" class="va-m inp"/>
<input v-else type="text" :value="bankCard" class="va-m inp"/>
<input v-if="walletInfoData.bank_name == null" type="text" value="未绑定" class="va-m inp"/>
<input v-else type="text" :value="walletInfoData.bank_name" class="va-m inp"/>
<span v-if="walletInfoData.bank_name == null" class="bind-bank va-m" @click="bindBank">绑卡</span>
</li>
</ul>
<a v-if="!activate" href="javascript:;" class="submit" @click="submit()">激活</a>
<a v-if="walletInfoData.wallet_status !== 1" href="javascript:;" class="submit" @click="submit">激活</a>
</div>
</section>
</template>
......@@ -35,34 +37,48 @@
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
import { Icon } from 'vant';
import { Icon,Dialog } from 'vant';
Vue.use(Icon);
Vue.use(Icon).use(Dialog);
export default {
name: 'WalletStatus',
name: 'status',
data() {
return {
title:"钱包状态",
meaushow:true,
activate:true, //用户钱包是否激活
frozenBalance:"¥100.00", //冻结余额
bankCard:'交通银行(6944)', //我的银行卡
title: "钱包状态",
meaushow: true
}
},
computed: {
...mapState({
walletInfoData: state => state.wallet.walletInfoData
})
},
watch: {
},
created() {
this.$store.dispatch({
type: 'getWalletInfo'
})
},
methods: {
dialogTips() {
Dialog.alert({
message: '<p style="font-size:16px;">您的'+this.walletInfoData.wallet_freeze_format+'元正在提现中,</p><p style="font-size:16px;">预计1个工作日后到账,</p><p style="font-size:16px;">节假日顺延,请耐心等候。</p>'
}).then(() => {
// on close
});
},
submit() {
this.$router.push({path: '/wallet/activate'});
},
forgetPassword() {
this.$router.push({path: '/wallet/retrieve'});
},
bindBank() {
this.$router.push({path: '/wallet/bind'});
}
},
components: {
Header
......
<template>
<section class="wallet-verify">
<Header :title="title" :meaushow='meaushow'></Header>
<div class="verify-content">
<ul class="form-wrap">
<li class="inp-wrap">
<label class="va-m">原支付密码</label><br>
<template v-if="showPassword">
<input type="password" placeholder="" class="va-m inp" v-model="form.password"/>
</template>
<template v-else>
<input type="text" placeholder="请输入原支付密码" class="va-m inp" v-model="form.password"/>
</template>
<van-icon v-if="showPassword" name="closed-eye" class="va-m f-r" @click="changeShow"/>
<van-icon v-else name="eye-o" class="va-m f-r" @click="changeShow"/>
</li>
<li class="inp-wrap" v-show="showImgCode">
<label class="va-m">图片验证码</label><br>
<input type="text" placeholder="请输入验证码" v-model="form.imgCode" class="va-m inp"/>
<img :src="imgCodeVal" alt="图片验证码" class="img-code va-m" @click="changeImgCode"/>
</li>
<li class="inp-wrap">
<label class="va-m">安全手机:{{walletInfoData.safe_mobile}}</label><br>
<input type="text" placeholder="请输入验证码" v-model="form.verifyCode" class="va-m inp"/>
<a v-if="yzmSend" href="javascript:;" class="send-yzm va-m" @click="getCode">{{countDownText}}</a>
<a v-else href="javascript:;" class="sending-yzm va-m">再次发送({{countDown}}s)</a>
</li>
</ul>
<p class="form-error" v-show="formError">{{formMsg}}</p>
<a href="javascript:;" class="next" @click="next">下一步</a>
</div>
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
import { Icon } from 'vant';
import {productionUrlPc} from '../../api/index';
Vue.use(Icon);
export default {
name: 'WalletVerify',
data() {
return {
title:"验证身份",
meaushow:true,
showPassword: false, //是否显示密码
yzmSend: true, //验证码发送
countDown: 60,
countDownText: '发送验证码',
form: {
verifyCode: '',
imgCode: '',
password: '',
},
formError: false,
formMsg: '',
imgCodeVal: productionUrlPc+"public/verify",
}
},
computed: {
...mapState({
walletInfoData: state => state.wallet.walletInfoData,
showImgCode: state => state.wallet.showImgCode,
countDownFlag: state => state.wallet.countDownFlag,
})
},
watch: {
countDownFlag(value) {
if(value){
this.yzmSend = false;
this.timeNum();
}else{
this.yzmSend = true;
}
}
},
created() {
this.$store.dispatch({
type: 'getWalletInfo'
})
},
methods: {
changeShow() {
this.showPassword = !this.showPassword;
},
timeNum() {
var me = this;
var clock = setInterval(doLoop, 1000);
function doLoop() {
me.countDown--;
if (me.countDown <= 0) {
clearInterval(clock);
me.countDown = 60;
me.countDownText = "再次发送";
me.yzmSend = true;
}
}
},
//获取图片验证码
changeImgCode() {
this.imgCodeVal = productionUrlPc + "public/verify?" + new Date().getTime()
},
getCode() {
this.$store.dispatch({ //actions分发
type: 'sendSafesms',
imgCode: this.form.imgCode
})
},
next() { //下一步
var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合
if (!this.form.password) {
this.formError = true;
this.formMsg = '亲,请输入原支付密码';
return;
}
if (!password_reg.test(this.form.password)) {
this.formError = true;
this.formMsg = '亲,密码由8~20位字母、数字组合';
return;
}
if (!this.form.verifyCode) {
this.formError = true;
this.formMsg = '亲,请输入验证码';
return;
}
this.formError = false;
this.$store.dispatch({
type: 'verifySafeMobile',
verify_code: this.form.verifyCode,
pay_password: this.form.password
})
}
},
components: {
Header
}
}
</script>
<style scoped>
@import "../../assets/css/wallet/wallet.css";
</style>
\ No newline at end of file
<template>
<section class="wallet-detail">
<Header :title="title" :meaushow='meaushow'></Header>
<div class="wallet-detail-content">
<div class="trade-type" @click="showPopType">
全部交易类型 <van-icon name="arrow-down" class="va-m" style="font-size:20px;"/>
</div>
<div class="trade-date">
<span @click="showPopDate">{{dateYear}}{{dateMonth}}<van-icon name="arrow-down" class="va-m" style="font-size:16px;"/></span>
<!-- <p>支付 ¥{{payment}} 收入 ¥{{income}}</p> -->
</div>
<ul class="trade-detail">
<li v-for="item in walletListData">
<div class="typeIcon">
<img :src="'static/images/wallet/'+item.log_type+'.png'" :alt="item.log_type_val" style="width:25px; height:25px;">
</div>
<div class="typeDetail"><span>{{item.log_type_val}}</span><br/>{{item.create_time}}</div>
<div class="trade-num">{{item.amount_format}}</div>
</li>
</ul>
<van-popup v-model="dateShow" position="bottom" :overlay="true">
<van-datetime-picker
v-model="currentDate"
type="year-month"
:formatter="formatter"
@cancel="onDateCancel"
@confirm="onDateConfirm"
@change="dateChange"
/>
</van-popup>
<van-popup v-model="typeShow" position="bottom" :overlay="true">
<van-picker
show-toolbar
title="交易类型"
:columns="columns"
@cancel="onTypeCancel"
@confirm="onTypeConfirm"
/>
</van-popup>
</div>
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
import { Icon,Popup,DatetimePicker,Picker,Toast } from 'vant';
Vue.use(Icon).use(Popup).use(DatetimePicker).use(Picker).use(Toast);
export default {
name: 'WalletDetail',
data() {
return {
title: "钱包明细",
meaushow: true,
dateYear: new Date().getFullYear(), //初始化当前年
dateMonth: (new Date().getMonth()+1)<10 ? "0"+(new Date().getMonth()+1) : (new Date().getMonth()+1), //初始化当前月
updateYear: '',
updateMonth: '',
dateShow: false, //年月弹出层
typeShow: false, //类型弹出层
currentDate: new Date(), //目前年月
typeCheckedkeyId: '',
typeCheckedText: '',
columns: [
{"keyId":'',"text":"全部"},
{"keyId":21,"text":"订单支付"},
{"keyId":10,"text":"钱包充值"},
{"keyId":20,"text":"钱包提现"},
{"keyId":12,"text":"活动返现"},
{"keyId":100,"text":"余额调整"}
]
}
},
computed: {
...mapState({
walletListData: state => state.wallet.walletListData
})
},
watch: {
},
created() {
//格式化日期
function setDate(date){
y = date.getFullYear();
m = date.getMonth()+1;
d = date.getDate();
m = m < 10 ? "0"+m : m;
d = d < 10 ? "0"+d : d;
return y+"-"+m+"-"+d;
}
//封装时间格式
function format(time, format) {
var t = new Date(time);
var tf = function (i) {
return (i < 10 ? '0' : '') + i
};
return format.replace(/yyyy|MM|dd|HH|mm|ss/g, function (a) {
switch (a) {
case 'yyyy':
return tf(t.getFullYear());
break;
case 'MM':
return tf(t.getMonth() + 1);
break;
case 'mm':
return tf(t.getMinutes());
break;
case 'dd':
return tf(t.getDate());
break;
case 'HH':
return tf(t.getHours());
break;
case 'ss':
return tf(t.getSeconds());
break;
}
})
}
//获取当前月的第一天
function getCurrentMonthFirst(){
var date = new Date();
date.setDate(1);
return date;
}
//获取当前月的最后一天
function getCurrentMonthLast(){
var date = new Date();
var currentMonth = date.getMonth();
var nextMonth = ++currentMonth;
var nextMonthFirstDay = new Date(date.getFullYear(),nextMonth,1);
var oneDay = 1000*60*60*24;
return new Date(nextMonthFirstDay-oneDay);
}
this.$store.dispatch({
type: 'walletListLog',
log_type: '',
stime: format(getCurrentMonthFirst(),'yyyy-MM-dd'),
etime: format(getCurrentMonthLast(),'yyyy-MM-dd')
})
},
methods: {
showPopDate(){
if(!this.dateShow){
this.dateShow = true;
}else{
this.dateShow = false;
}
},
showPopType(){
if(!this.typeShow){
this.typeShow = true;
}else{
this.typeShow = false;
}
},
formatter(type,value){
if (type === 'year') {
return `${value}`;
} else if (type === 'month') {
return `${value}`
}
return value;
},
dateChange(value){
this.updateYear = value.getValues()[0];
this.updateMonth = value.getValues()[1];
},
onDateCancel(){
this.dateShow = false;
this.dateYear = this.dateYear;
this.dateMonth = this.dateMonth;
},
onDateConfirm(){
this.dateShow = false;
this.dateYear = this.updateYear;
this.dateMonth = this.updateMonth;
//获取某年某月的第一天
function getMonthFirstDay(y,m){
var date = new Date(y,m-1,1);
var firstDate = new Date(date.getTime());
return firstDate.getFullYear()+'-'+(Number(firstDate.getMonth())+1)+'-'+firstDate.getDate();
}
//获取某年某月的最后一天
function getMonthLastDay(y,m){
var date = new Date(y,m,1);
var lastDate = new Date(date.getTime()-1000*60*60*24);
return lastDate.getFullYear()+'-'+(Number(lastDate.getMonth())+1)+'-'+lastDate.getDate();
}
this.$store.dispatch({
type: 'walletListLog',
log_type: this.typeCheckedkeyId || '',
stime: getMonthFirstDay(this.dateYear,this.dateMonth),
etime: getMonthLastDay(this.dateYear,this.dateMonth)
})
},
onTypeConfirm(value,index){
this.typeShow = false;
this.typeCheckedkeyId = value.keyId;
this.typeCheckedText = value.text;
this.dateYear = this.updateYear || this.dateYear;
this.dateMonth = this.updateMonth || this.dateMonth;
//获取某年某月的第一天
function getMonthFirstDay(y,m){
var date = new Date(y,m-1,1);
var firstDate = new Date(date.getTime());
return firstDate.getFullYear()+'-'+(Number(firstDate.getMonth())+1)+'-'+firstDate.getDate();
}
//获取某年某月的最后一天
function getMonthLastDay(y,m){
var date = new Date(y,m,1);
var lastDate = new Date(date.getTime()-1000*60*60*24);
return lastDate.getFullYear()+'-'+(Number(lastDate.getMonth())+1)+'-'+lastDate.getDate();
}
this.$store.dispatch({
type: 'walletListLog',
log_type: value.keyId,
stime: getMonthFirstDay(this.dateYear,this.dateMonth),
etime: getMonthLastDay(this.dateYear,this.dateMonth)
})
},
onTypeCancel() {
this.typeShow = false;
}
},
components: {
Header
}
}
</script>
<style scoped>
@import "../../assets/css/wallet/wallet.css";
</style>
\ No newline at end of file
<template>
<section class="wallet-withdraw">
<Header :title="title" :meaushow='meaushow'></Header>
<div class="withdraw-content">
<div class="withdrawUser-ifo">
<p>银行账号:{{walletInfoData.bank_name}}({{walletInfoData.bank_account}})<span>储蓄卡</span></p>
<p>持卡人姓名:{{walletInfoData.bank_user}}</p>
<p>手机号:{{walletInfoData.safe_mobile}}</p>
</div>
<p class="withdraw-tips">
<van-icon name="warning-o" class="tips va-m" style="font-size: 16px; margin-right: 0.1rem;"/>提现金额预计1个工作日之后到账,节假日顺延,请耐心等待。
</p>
<div class="withdraw-amount">
<p><em>*</em> 提现金额</p>
<span></span><input type="number" class="money" v-model="withdrawNum"/>
<div v-if="amountNum" class="withdraw-money">可提现金额 {{walletInfoData.wallet_usable_format}}<span @click="withdraw">全部提现</span></div>
<div v-else class="amount-tips">输入金额超过可提现金额</div>
</div>
<div class="withdraw-password">
<p><em>*</em> 支付密码</p>
<template v-if="showPassword">
<input type="password" placeholder="" class="va-m inp password" v-model="password"/>
</template>
<template v-else>
<input type="text" placeholder="请输入支付密码" class="va-m inp password" v-model="password"/>
</template>
<van-icon v-if="showPassword" name="closed-eye" class="va-m f-r" @click="changeShow"/>
<van-icon v-else name="eye-o" class="va-m f-r" @click="changeShow"/>
</div>
<a href="javascript:;" class="submit" :class="withdrawNum == '' ? 'submitNO' : ''" @click="submit">提交</a>
</div>
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
import { Icon } from 'vant';
Vue.use(Icon);
export default {
name: 'WalletWithdraw',
data() {
return {
title: "钱包提现",
meaushow: true,
showPassword: false, //是否显示密码
amountNum: true,
password: '',
withdrawNum: ''
}
},
computed: {
...mapState({
walletInfoData: state => state.wallet.walletInfoData
})
},
watch: {
withdrawNum: function(val){
if (val>this.walletInfoData.wallet_usable) {
this.amountNum = !this.amountNum;
}else{
this.amountNum = true;
}
}
},
created() {
this.$store.dispatch({
type: 'getWalletInfo'
});
},
methods: {
changeShow() {
this.showPassword = !this.showPassword;
},
withdraw() { //全部提现
this.withdrawNum = this.walletInfoData.wallet_usable;
},
submit() {
if(this.withdrawNum !== ''){
//提现申请
this.$store.dispatch({
type: 'walletWithdraw',
amount: this.withdrawNum,
pay_password: this.password
});
}
}
},
components: {
Header
}
}
</script>
<style scoped>
@import "../../assets/css/wallet/wallet.css";
</style>
\ No newline at end of file
<template>
<section class="withdraw-detail">
<Header :title="title" :meaushow='meaushow'></Header>
<div class="withdraw-detail-content">
<div class="detail-box detail-content-1">
<!-- <div class="pay-img"><span><img src="../../assets/images/wallet/orderpay.png" alt="账单详情"></span></div> -->
<p class="withdraw-record">充值记录</p>
<p class="withdraw-amount">-{{rechargeWithdrawOrderDetail.amount}}</p>
<p class="withdraw-status">待支付</p>
</div>
<div class="detail-box detail-content-2">
<p class="withdraw-type">类型<span>{{rechargeWithdrawOrderDetail.wallet_type}}</span></p>
<p class="withdraw-time">创建时间<span>{{rechargeWithdrawOrderDetail.amount}}</span></p>
<p class="withdraw-num">收款账号<span>{{rechargeWithdrawOrderDetail.amount}}</span></p>
</div>
<div class="detail-box detail-content-3">
<p class="withdraw-balance">钱包可用余额<span>{{rechargeWithdrawOrderDetail.amount}}</span></p>
<p class="withdraw-detail">详情<a @click="goCashier">立即支付 ></a></p>
</div>
</div>
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
export default {
name: 'WithdrawDetail',
data() {
return {
title: "充值提现详情",
meaushow: true,
withdrawAmount: -1256.00,
withdrawStatus: "待支付",
withdrawType: "提现单",
withdrawTime: "2019-04-05 17:03:01",
withdrawNum: "猎芯钱包",
withdrawBalance: 1200.00,
}
},
computed: {
...mapState({
rechargeWithdrawOrderDetail: state => state.wallet.rechargeWithdrawOrderDetail
})
},
watch: {
},
created() {
this.$store.dispatch({
type: 'rechargeWithdrawOrderIfo',
wallet_id: this.$route.params.id
})
},
methods: {
goCashier() {
this.$router.push({
path: '/wallet/recharge/'+this.$route.params.id,
})
}
},
components: {
Header
}
}
</script>
<style scoped>
@import "../../assets/css/wallet/wallet.css";
</style>
\ No newline at end of file
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
{"h":"272f29da7aa7676957e4","c":{"0":false}}
\ No newline at end of file
{"h":"c7f5b8eb037d42d74aea","c":{"2":true}}
\ No newline at end of file
This diff could not be displayed because it is too large.
.menu-fade{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.3)}.menu{position:fixed;right:10px;top:10px;z-index:999}.menu b{font-size:18px;color:#666}.menu .popover-arrow{position:absolute;z-index:1000;top:11px;right:0;overflow:hidden;width:26px;height:26px}.menu .popover-arrow:after{position:absolute;top:19px;left:0;width:26px;height:26px;content:" ";-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:3px;background:#333}.menu .menu-view{margin-top:36px;background:#333;font-size:15px;border-radius:2px;max-height:300px}.menu .menu-view li{position:relative;overflow:hidden;padding:11px 15px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.menu .menu-view li a{color:#fff}.menu .menu-view li a i{margin-right:.1rem}body{padding-top:40px}.header-page{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.header-page i{font-size:18px;margin-top:10px;color:#666}.header-page h3{font-size:16px;color:#333;width:68%;line-height:40px;text-align:center;height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 10%!important}.wxlist{height:100%;background:#f8f8f8}.wxlist .wxlist-content .menu-title{color:#333;font-size:18px;height:47px;line-height:47px;padding-left:.2rem}.wxlist .wxlist-content .wxlist-banner{padding:0 .2rem}.wxlist .wxlist-content .wxlist-banner .banner-header{padding:10px}.banner-box{background:#fff;border-radius:4px;min-height:275px}.banner-header .banner-title{font-size:19px;color:#333}.banner-header .banner-img{width:.8rem;height:.8rem;margin-right:10px}.banner-header .banner-img img{width:100%;height:100%;width:.8rem;height:.8rem;border-radius:50%;display:block}.banner-body img{width:100%;height:4.8rem}.banner-footer{font-size:16px;line-height:20px;color:#666;padding:.4rem .28rem}.banner-footer a{color:#666}.banner-footer span{color:#999}.wxlist-data{padding:10px}.wxlist-data-box{background:#fff;border-radius:4px}.group-right{width:2rem;height:60px}.group-left-box{height:50px;width:6.347rem;font-size:16px;color:#333;line-height:25px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.group-left{width:6.347rem;border-bottom:1px solid #e5e5e5;padding-top:.1rem;padding-bottom:.5rem}.data-group{padding:.25rem;display:block}
\ No newline at end of file
.menu-fade{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.3)}.menu{position:fixed;right:10px;top:10px;z-index:999}.menu b{font-size:18px;color:#666}.menu .popover-arrow{position:absolute;z-index:1000;top:11px;right:0;overflow:hidden;width:26px;height:26px}.menu .popover-arrow:after{position:absolute;top:19px;left:0;width:26px;height:26px;content:" ";-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:3px;background:#333}.menu .menu-view{margin-top:36px;background:#333;font-size:15px;border-radius:2px;max-height:300px}.menu .menu-view li{position:relative;overflow:hidden;padding:11px 15px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.menu .menu-view li a{color:#fff}.menu .menu-view li a i{margin-right:.1rem}body{padding-top:40px}.header-page{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.header-page i{font-size:18px;margin-top:10px;color:#666}.header-page h3{font-size:16px;color:#333;width:68%;line-height:40px;text-align:center;height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 10%!important}.news-detail .bar,.news-detail .content-newsdetail,.news-detail .title{padding:0 10px}.news-detail .content-newsdetail img{max-width:100%!important}.news-detail h1.title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#333;font-size:22px;font-weight:700;line-height:30px;margin-top:10px}.news-detail .bar{height:16px;clear:both;font-size:12px;color:#999;margin-top:10px;margin-bottom:10px}.news-detail .bar span{line-height:16px;height:16px;float:left}.news-detail .bar .f24{color:#333}.news-detail .bar .f20{font-size:12px;padding-left:5px;padding-right:5px;border-radius:2px;border:1px solid #ccc;margin-right:10px}.news-detail .detail-pop{width:8.66rem;height:7.44rem;position:fixed;top:50%;left:50%;margin-left:-4.33rem;margin-top:-3.72rem}.news-detail .detail-pop img{width:100%;height:100%}.news-detail .closexdetailad{font-size:26px;float:right;color:#ccc}.news-detail .adbox{padding:0 10px}
\ No newline at end of file
.menu-fade{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.3)}.menu{position:fixed;right:10px;top:10px;z-index:999}.menu b{font-size:18px;color:#666}.menu .popover-arrow{position:absolute;z-index:1000;top:11px;right:0;overflow:hidden;width:26px;height:26px}.menu .popover-arrow:after{position:absolute;top:19px;left:0;width:26px;height:26px;content:" ";-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:3px;background:#333}.menu .menu-view{margin-top:36px;background:#333;font-size:15px;border-radius:2px;max-height:300px}.menu .menu-view li{position:relative;overflow:hidden;padding:11px 15px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.menu .menu-view li a{color:#fff}.menu .menu-view li a i{margin-right:.1rem}body{padding-top:40px}.header-page{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.header-page i{font-size:18px;margin-top:10px;color:#666}.header-page h3{font-size:16px;color:#333;width:68%;line-height:40px;text-align:center;height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 10%!important}.news li,.news ul{font-family:"\5FAE\8F6F\96C5\9ED1"!important}.news .borderBottom{border-bottom:1px solid #e5e5e5}.news .navList{border-bottom:1px solid #e5e5e5;padding:0 10px;clear:both;height:40px;line-height:40px;font-size:14px;background:#fff;overflow:hidden}.news .navList p{text-align:center;width:33.33%;color:#333;float:left;cursor:pointer;height:40px;line-height:40px}.news .navList p.act{color:#e10601;border-bottom:2px solid #e10601}.news .navListfixed{border-bottom:1px solid #e5e5e5;padding:0 10px;clear:both;height:40px;line-height:40px;font-size:14px;background:#fff;overflow:hidden;position:fixed;top:39px;left:0;right:0}.news .navListfixed p{text-align:center;width:33.33%;color:#333;float:left;cursor:pointer;height:40px;line-height:40px}.news .navListfixed p.act{color:#e10601;border-bottom:2px solid #e10601}.news .navList44 p{width:25%}.news .listBox li{padding:10px;height:100px;border-bottom:1px solid #e5e5e5;-webkit-box-sizing:border-box;box-sizing:border-box}.news .listBox li img{height:75px;width:27%;float:left;border:0;outline:none}.news .listBox li .boxgrt{height:75px;width:66%;float:right}.news .listBox li .boxgrt .title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#333;font-size:.32rem;font-weight:700;height:50px;line-height:25px}.news .listBox li .boxgrt .titleLook{font-size:14px;color:#999;margin-top:5px}
\ No newline at end of file
body{padding-top:0;background:#10141d}.seo-content{width:100%;height:100%}.seo-content .seo-head{width:100%;height:11.4rem;background:url(../img/head.a2c80d72.png) no-repeat;background-size:100% 100%;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:1.24rem}.seo-content .seo-head .head-nav{width:100%;height:22px;background:#c9b086}.seo-content .seo-head .head-nav li{float:left;width:20%;text-align:center;height:22px;font-size:12px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:2px}.seo-content .seo-head .head-nav li a{color:#181c27;display:block;cursor:pointer;width:100%;height:18px;line-height:16px;-webkit-box-sizing:border-box;box-sizing:border-box;border-right:1px solid #9f8d70}.seo-content .seo-section .form-box1{padding-top:30px}.seo-content .seo-section .form-box1 .form-group{width:8.4rem;height:40px;line-height:40px;text-align:center;margin:0 auto;margin-bottom:15px}.seo-content .seo-section .form-box1 .form-group .pr{position:relative}.seo-content .seo-section .form-box1 .form-group span{width:2.506rem;height:40px;line-height:40px;background-color:#eecea4;border-radius:.027rem;font-size:14px;text-align:justify;text-align-last:justify;padding:0 .2rem;-webkit-box-sizing:border-box;box-sizing:border-box}.seo-content .seo-section .form-box1 .form-group .input-box{width:5.573rem;height:40px;line-height:40px;background-color:#fff;border-radius:.027rem;border:.04rem solid #f2c58b;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.seo-content .seo-section .form-box1 .form-group .input-box i{float:left;height:100%;width:20%;font-size:14px;position:relative;top:-1px}.seo-content .seo-section .form-box1 .form-group .input-box input{font-size:14px;text-align:left;width:80%;float:left;height:100%}.seo-content .seo-section .form-box1 .form-group .input-box .code{position:absolute;right:0;height:40px;width:2rem;top:0;cursor:pointer;color:#1080d0;text-align:center;line-height:40px;font-size:12px}.seo-content .seo-section .form-box1 .form-group .input-box .code.dis{color:#ccc}.seo-content .seo-section .form-box1 .form-group .input-box .img-code{position:absolute;right:0;height:40px;width:2rem;top:0;cursor:pointer}.seo-content .seo-section .form-box1 .submit-button{width:8.4rem;height:40px;text-align:center;line-height:40px;margin:0 auto;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg4AAAA3CAYAAABkUcJ1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo4NjdlYTliYS0wNzVkLTM3NDQtYjhmYy1kOWJlNmQ1YmYwZjQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NTgyREY5NDc1OUFCMTFFOTgyRjU5QTdGOUNDNjhCQ0MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NTgyREY5NDY1OUFCMTFFOTgyRjU5QTdGOUNDNjhCQ0MiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NTljYjk0MGItYjFhYy05YzQ1LTllMDAtYTEwZGNjNzM2OTZlIiBzdFJlZjpkb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6MmJmOWEyMzItMjUzYS1lNTQ4LWIxM2EtMmIwYWQyOTQ2MmFkIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+NGICbgAAAvdJREFUeNrs2z9slGUcwPHfXY/3rte/kX9GMAwGJ8PoopNhcYCJARPUQdiIiZNOsJIwqCyEGBLRaoxhMLowGGGAhJjQxcHEyeggCXI0Xq93vdYez11CbMtbeJvI0N7nkz59c897XZ7l/ebp85YaszNHI+LLNCYDACDfzTTeLKdf50UDAPAUr6fxbj8c9loLAKCA/WVrAAAUVcmbbLY60es9Pl8qRdRHqzFSLlk5ANiiVtJDvv+cX1paju7Sv7nfybJK1LJKsXA4/N6FaC4sPjb//K7JuHT2rTh4YI9VB4AtqtzfCUg/l3/4OT754qfc75w69lp88M4bxcLhkYmx2mCX4ZGpidGoVEasOABsA/Xqjpgcr62Z63aXo5PGRp4YDj9efj8m6lUrCwDb0Ikjrw7Gap9dvRUfb7AL0edwJABQmHAAAIQDAPD/yz3j8MrBF2K+vei1SwAYMrufG49DL+8bvEmZp9SYnZlL16nVk/fnWoN3PHdNj695qwIA2N4WOt1otbtRr2UxNpqtv30ud8dh5/SYlQOAIdQPhv7YiDMOAEBhwgEAEA4AgHAAAIQDACAcAADhAAAIBwAA4QAACAcAQDgAAMIBABAOAIBwAAAQDgCAcAAAhAMAIBwAAOEAAAgHAADhAAAIBwBAOAAAwgEAEA4AgHAAAIQDAIBwAACedTjc/fuf+OOvRqz0elYIAIZIs9WJP+8+iLlmu3g4nDzzVbz90ZVod5asIAAMke9v/BInPvw8vr12J/d+JW/yXqMZzYVFOw4AMGQW2t2492A+WumaxxkHAKAw4QAAFFZ50s3mfCd6K//9u6JULkW9lsVIugIAW1unuxzdNFZbXPd5U+Fw+OSFNZ/3752Oi2eOx0sv7rbaALDFXfnudnw6c31Tf5MbDhPjtcHuwnrVbEc4LwkA28PYaBaT6Zmfp5rl7y2UGrMzc+k6ZfkAgKc453AkAFCYcAAANhUOv1sGAKCA3/rhcDqNX9Nw7BEAyNNK4+s0vnkowAAx5JXBwoLoMgAAAABJRU5ErkJggg==) no-repeat;background-size:100% 100%;font-size:14px;cursor:pointer;color:#181c27}.seo-content .seo-section .form-box1 .form1-tips{text-align:center;color:#fff;font-size:14px}.seo-content .seo-section .img-show-static{height:14.706rem;background:url(../img/staticx.b75fe82b.png) no-repeat;background-size:100% 100%;margin-top:30px}.seo-content .seo-section .zizi-box{height:10.333rem;width:8.4rem;background:url(../img/lxzz.99f6a2ce.png) no-repeat;background-size:100% 100%;margin:0 auto;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:3.786rem}.seo-content .seo-section .zizi-box .zizi-ct{width:7.333rem;height:3.4rem;border-style:solid;border-width:.08rem;border-color:#c1b193;margin:0 auto;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:.826rem}.seo-content .seo-section .zizi-box .zizi-ct .slide-box{margin:0 auto;width:3rem;height:2.28rem}.seo-content .seo-section .zizi-box .zizi-ct .slide-box .slide-pic{width:3rem;height:2.28rem}.seo-content .seo-section .form-box2{width:8.4rem;margin:0 auto;margin-top:30px}.seo-content .seo-section .form-box2 .title-form{color:#f2cea1;font-size:17px;text-align:center;margin-bottom:30px}.seo-content .seo-section .form-box2 .title-form img{vertical-align:middle;display:inline-block;width:17px;height:17px;margin-right:5px}.seo-content .seo-section .form-box2 .form-group{margin-bottom:17px}.seo-content .seo-section .form-box2 .form-group .pr{position:relative}.seo-content .seo-section .form-box2 .form-group .input-box{width:8.4rem;height:40px;line-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff;border-radius:.053rem;border:.04rem solid #f2c58b;overflow:hidden}.seo-content .seo-section .form-box2 .form-group .input-box .f-red{color:red;position:relative;left:.2rem}.seo-content .seo-section .form-box2 .form-group .input-box .hiddenfont{visibility:hidden}.seo-content .seo-section .form-box2 .form-group .input-box i{float:left;height:100%;width:20%;font-size:14px;text-align:center;position:relative;top:-1px}.seo-content .seo-section .form-box2 .form-group .input-box input{font-size:14px;text-align:left;width:80%;float:left;height:100%}.seo-content .seo-section .form-box2 .form-group .input-box .code{position:absolute;right:0;height:40px;width:2rem;top:0;cursor:pointer;color:#1080d0;text-align:center;line-height:40px;font-size:14px}.seo-content .seo-section .form-box2 .form-group .input-box .code.dis{color:#ccc}.seo-content .seo-section .form-box2 .form-group .input-box .img-code{position:absolute;right:0;height:40px;width:2rem;top:0;cursor:pointer}.seo-content .seo-section .form2-tips{text-align:center;color:#fff;font-size:14px;margin-top:30px}.seo-content .seo-section .submit-button1{width:8.4rem;height:40px;background-color:#eecea4;border-radius:40px;margin:0 auto;color:#181c27;font-size:14px;cursor:pointer;line-height:40px;text-align:center;margin-bottom:50px}.seo-content .seo-section .foot-box{height:2.2rem;background:url(../img/foot.2df97c93.png) no-repeat;background-size:100% 100%;margin:0 auto}.seo-content .seo-section .foot-box .foot-box-ct{height:30px;line-height:30px;background-color:#e8b778;text-align:center;font-size:14px;color:#181c27;position:relative;top:-10px}.seo-content .seo-section .foot-box .foot-box-ct i{font-size:14px!important}.seo-content .seo-section .foot-box .foot-box-ct a{color:#181c27!important}
\ No newline at end of file
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<title></title>
<meta name="author" content="www.ichunt.com">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,user-scalable=no,minimal-ui">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
<meta name="full-screen" content="yes">
<meta name="browsermode" content="application">
<meta name="x5-fullscreen" content="true">
<meta name="x5-page-mode" content="app">
<meta name="description" content="猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。">
<meta name="keywords" content="猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,">
<link rel="icon" href="//static.leixin.com/favicon.ico">
<link rel="stylesheet" href="/v3/dist/res/m/css/font/iconfont.css">
<script type="text/javascript" src="/h5/view/get_time.php"></script>
<script type="text/javascript">
var fwtimes = window.fwtime - (Math.floor((new Date().getTime()) / 1000)); //获取服务器时间差
</script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js" type="text/javascript" charset="utf-8"></script>
<script src="//static.leixin.com/static/js/flexible.min.js" type="text/javascript" charset="utf-8"></script>
<script src="//static.leixin.com/static/js/shence.min.js" type="text/javascript" charset="utf-8"></script>
<link href="//static.leixin.com/0.js" rel="prefetch"><link href="//static.leixin.com/1.js" rel="prefetch"><link href="//static.leixin.com/10.js" rel="prefetch"><link href="//static.leixin.com/11.js" rel="prefetch"><link href="//static.leixin.com/12.js" rel="prefetch"><link href="//static.leixin.com/13.js" rel="prefetch"><link href="//static.leixin.com/2.af043132402b6f8e4ecc.hot-update.js" rel="prefetch"><link href="//static.leixin.com/2.js" rel="prefetch"><link href="//static.leixin.com/3.js" rel="prefetch"><link href="//static.leixin.com/4.js" rel="prefetch"><link href="//static.leixin.com/5.js" rel="prefetch"><link href="//static.leixin.com/6.js" rel="prefetch"><link href="//static.leixin.com/7.js" rel="prefetch"><link href="//static.leixin.com/8.js" rel="prefetch"><link href="//static.leixin.com/9.js" rel="prefetch"><link href="//static.leixin.com/app.js" rel="preload" as="script"></head>
<body class="boxsiz">
<noscript>
<strong>网站出现了一点小问题,正在紧急修复中.......</strong>
</noscript>
<div id="app"></div>
<script type="text/javascript">
function SetCookie(name, value, time, domain) {
<!DOCTYPE HTML><html lang=zh-CN><head><title></title><meta name=author content=www.ichunt.com><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,user-scalable=no,minimal-ui"><meta http-equiv=Content-Type content="text/html;charset=utf-8"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><meta name=format-detection content="telephone=no"><meta http-equiv=Expires content=-1><meta http-equiv=Cache-Control content=no-cache><meta http-equiv=Pragma content=no-cache><meta name=full-screen content=yes><meta name=browsermode content=application><meta name=x5-fullscreen content=true><meta name=x5-page-mode content=app><meta name=description content=猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。><meta name=keywords content=猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,><link rel=icon href=//h5static.ichunt.com/favicon.ico><link rel=stylesheet href=/v3/dist/res/m/css/font/iconfont.css><script src=/h5/view/get_time.php></script><script>var fwtimes = window.fwtime - (Math.floor((new Date().getTime()) / 1000)); //获取服务器时间差</script><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js charset=utf-8></script><script src=//h5static.ichunt.com/static/js/flexible.min.js charset=utf-8></script><script src=//h5static.ichunt.com/static/js/shence.min.js charset=utf-8></script><link href=//h5static.ichunt.com/css/chunk-0babdc00.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1081bba5.c0f345b7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-16ada998.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1a310afe.d7e46390.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1fdbf37d.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-3d2d429e.045485d7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5226221d.b62bb465.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-56524b2f.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5a9a2519.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5d86b139.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-68b28240.2cd1542e.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-68b7c89c.43c91bcb.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-6bb21423.29799028.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-6bee3754.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-a5ed3e36.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-ac471472.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-bee38c0c.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-c124b728.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-e021251a.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-e322bace.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-e50c9e6a.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-e78c7db2.927a837d.css rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0babdc00.335642d4.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1081bba5.aac5b6ac.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-16ada998.b461413f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1a310afe.95c9dbd7.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1fdbf37d.a7376c05.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-3d2d429e.8d3f60a1.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5226221d.e70b963f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-56524b2f.1077de76.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5a9a2519.a683fd5b.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5d86b139.1ef612cf.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-68b28240.30182d56.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-68b7c89c.a09a5845.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-6bb21423.09a204dc.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-6bee3754.3cff4e3c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-a5ed3e36.678338c3.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-ac471472.d5722ea7.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-bee38c0c.e3aa2f96.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-c124b728.d9dbdad3.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-e021251a.dce835e1.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-e322bace.1cadc37c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-e50c9e6a.cb454655.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-e78c7db2.127f2260.js rel=prefetch><link href=//h5static.ichunt.com/css/app.b0927897.css rel=preload as=style><link href=//h5static.ichunt.com/css/chunk-vendors.59ded326.css rel=preload as=style><link href=//h5static.ichunt.com/js/app.66515d9c.js rel=preload as=script><link href=//h5static.ichunt.com/js/chunk-vendors.f76b26a7.js rel=preload as=script><link href=//h5static.ichunt.com/css/chunk-vendors.59ded326.css rel=stylesheet><link href=//h5static.ichunt.com/css/app.b0927897.css rel=stylesheet></head><body class=boxsiz><noscript><strong>网站出现了一点小问题,正在紧急修复中.......</strong></noscript><div id=app></div><script>function SetCookie(name, value, time, domain) {
domain = domain ? ";domain=" + domain : "";
var Days = time;
var exp = new Date();
......@@ -150,12 +114,7 @@
document.getElementsByTagName('head')[0].appendChild(mta);
})();
}
}
</script>
<script type="text/javascript">
//神策统计
}</script><script>//神策统计
var host_v = window.location.host;
var __PUBLIC__;
......@@ -265,7 +224,4 @@
user_rank: '0'
});
sensors.quick('autoTrack');
}
</script>
<script type="text/javascript" src="//static.leixin.com/app.js"></script></body>
</html>
}</script><script src=//h5static.ichunt.com/js/chunk-vendors.f76b26a7.js></script><script src=//h5static.ichunt.com/js/app.66515d9c.js></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0babdc00"],{"3aab":function(t,e,a){"use strict";var n=a("e71b"),o=a.n(n);o.a},a619:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"wallet-detail"},[a("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),a("div",{staticClass:"wallet-detail-content"},[a("div",{staticClass:"trade-type",on:{click:t.showPopType}},[t._v("\n 全部交易类型 "),a("van-icon",{staticClass:"va-m",staticStyle:{"font-size":"20px"},attrs:{name:"arrow-down"}})],1),a("div",{staticClass:"trade-date"},[a("span",{on:{click:t.showPopDate}},[t._v(t._s(t.dateYear)+"年"+t._s(t.dateMonth)+"月 "),a("van-icon",{staticClass:"va-m",staticStyle:{"font-size":"16px"},attrs:{name:"arrow-down"}})],1)]),a("ul",{staticClass:"trade-detail"},t._l(t.walletListData,function(e){return a("li",[a("div",{staticClass:"typeIcon"},[a("img",{staticStyle:{width:"25px",height:"25px"},attrs:{src:"static/images/wallet/"+e.log_type+".png",alt:e.log_type_val}})]),a("div",{staticClass:"typeDetail"},[a("span",[t._v(t._s(e.log_type_val))]),a("br"),t._v(t._s(e.create_time))]),a("div",{staticClass:"trade-num"},[t._v(t._s(e.amount_format))])])}),0),a("van-popup",{attrs:{position:"bottom",overlay:!0},model:{value:t.dateShow,callback:function(e){t.dateShow=e},expression:"dateShow"}},[a("van-datetime-picker",{attrs:{type:"year-month",formatter:t.formatter},on:{cancel:t.onDateCancel,confirm:t.onDateConfirm,change:t.dateChange},model:{value:t.currentDate,callback:function(e){t.currentDate=e},expression:"currentDate"}})],1),a("van-popup",{attrs:{position:"bottom",overlay:!0},model:{value:t.typeShow,callback:function(e){t.typeShow=e},expression:"typeShow"}},[a("van-picker",{attrs:{"show-toolbar":"",title:"交易类型",columns:t.columns},on:{cancel:t.onTypeCancel,confirm:t.onTypeConfirm}})],1)],1)],1)},o=[],s=(a("b06f"),a("f91a"),a("bd31")),i=a("8973"),r=a("52c1"),c=a("57af"),h=a("5101");i["a"].use(h["e"]).use(h["j"]).use(h["c"]).use(h["i"]).use(h["p"]);var l={name:"WalletDetail",data:function(){return{title:"钱包明细",meaushow:!0,dateYear:(new Date).getFullYear(),dateMonth:(new Date).getMonth()+1<10?"0"+((new Date).getMonth()+1):(new Date).getMonth()+1,updateYear:"",updateMonth:"",dateShow:!1,typeShow:!1,currentDate:new Date,typeCheckedkeyId:"",typeCheckedText:"",columns:[{keyId:"",text:"全部"},{keyId:21,text:"订单支付"},{keyId:10,text:"钱包充值"},{keyId:20,text:"钱包提现"},{keyId:12,text:"活动返现"},{keyId:100,text:"余额调整"}]}},computed:Object(s["a"])({},Object(r["b"])({walletListData:function(t){return t.wallet.walletListData}})),watch:{},created:function(){function t(t,e){var a=new Date(t),n=function(t){return(t<10?"0":"")+t};return e.replace(/yyyy|MM|dd|HH|mm|ss/g,function(t){switch(t){case"yyyy":return n(a.getFullYear());case"MM":return n(a.getMonth()+1);case"mm":return n(a.getMinutes());case"dd":return n(a.getDate());case"HH":return n(a.getHours());case"ss":return n(a.getSeconds())}})}function e(){var t=new Date;return t.setDate(1),t}function a(){var t=new Date,e=t.getMonth(),a=++e,n=new Date(t.getFullYear(),a,1),o=864e5;return new Date(n-o)}this.$store.dispatch({type:"walletListLog",log_type:"",stime:t(e(),"yyyy-MM-dd"),etime:t(a(),"yyyy-MM-dd")})},methods:{showPopDate:function(){this.dateShow?this.dateShow=!1:this.dateShow=!0},showPopType:function(){this.typeShow?this.typeShow=!1:this.typeShow=!0},formatter:function(t,e){return"year"===t?"".concat(e):"month"===t?"".concat(e):e},dateChange:function(t){this.updateYear=t.getValues()[0],this.updateMonth=t.getValues()[1]},onDateCancel:function(){this.dateShow=!1,this.dateYear=this.dateYear,this.dateMonth=this.dateMonth},onDateConfirm:function(){function t(t,e){var a=new Date(t,e-1,1),n=new Date(a.getTime());return n.getFullYear()+"-"+(Number(n.getMonth())+1)+"-"+n.getDate()}function e(t,e){var a=new Date(t,e,1),n=new Date(a.getTime()-864e5);return n.getFullYear()+"-"+(Number(n.getMonth())+1)+"-"+n.getDate()}this.dateShow=!1,this.dateYear=this.updateYear,this.dateMonth=this.updateMonth,this.$store.dispatch({type:"walletListLog",log_type:this.typeCheckedkeyId||"",stime:t(this.dateYear,this.dateMonth),etime:e(this.dateYear,this.dateMonth)})},onTypeConfirm:function(t,e){function a(t,e){var a=new Date(t,e-1,1),n=new Date(a.getTime());return n.getFullYear()+"-"+(Number(n.getMonth())+1)+"-"+n.getDate()}function n(t,e){var a=new Date(t,e,1),n=new Date(a.getTime()-864e5);return n.getFullYear()+"-"+(Number(n.getMonth())+1)+"-"+n.getDate()}this.typeShow=!1,this.typeCheckedkeyId=t.keyId,this.typeCheckedText=t.text,this.dateYear=this.updateYear||this.dateYear,this.dateMonth=this.updateMonth||this.dateMonth,this.$store.dispatch({type:"walletListLog",log_type:t.keyId,stime:a(this.dateYear,this.dateMonth),etime:n(this.dateYear,this.dateMonth)})},onTypeCancel:function(){this.typeShow=!1}},components:{Header:c["a"]}},d=l,u=(a("3aab"),a("8c9c")),p=Object(u["a"])(d,n,o,!1,null,"f37e7c88",null);e["default"]=p.exports},e71b:function(t,e,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-16ada998"],{"6bab":function(t,e,a){},a34f:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"wallet-question"},[a("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),a("div",{staticClass:"question-content"},[t._v("\n 222\n ")])],1)},c=[],s=a("bd31"),o=a("52c1"),u=a("57af"),i={name:"WalletQuestion",data:function(){return{title:"常见问题",meaushow:!0}},computed:Object(s["a"])({},Object(o["b"])({})),watch:{},created:function(){},methods:{},components:{Header:u["a"]}},l=i,r=(a("d1f3"),a("8c9c")),d=Object(r["a"])(l,n,c,!1,null,"b1cea0cc",null);e["default"]=d.exports},d1f3:function(t,e,a){"use strict";var n=a("6bab"),c=a.n(n);c.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1fdbf37d"],{"11db":function(s,o,t){},"5f33":function(s,o,t){var e=t("4839"),r=t("d62f"),a=t("694f").f,i=t("62af").f,n=t("d635"),m=t("7fe4"),c=e.RegExp,f=c,l=c.prototype,d=/a/g,p=/a/g,w=new c(d)!==d;if(t("3a0f")&&(!w||t("201d")(function(){return p[t("f3ae")("match")]=!1,c(d)!=d||c(p)==p||"/a/i"!=c(d,"i")}))){c=function(s,o){var t=this instanceof c,e=n(s),a=void 0===o;return!t&&e&&s.constructor===c&&a?s:r(w?new f(e&&!a?s.source:s,o):f((e=s instanceof c)?s.source:s,e&&a?m.call(s):o),t?this:l,c)};for(var v=function(s){s in c||a(c,s,{configurable:!0,get:function(){return f[s]},set:function(o){f[s]=o}})},u=i(f),h=0;u.length>h;)v(u[h++]);l.constructor=c,c.prototype=l,t("7f00")(e,"RegExp",c)}t("4fd1")("RegExp")},"84ea":function(s,o,t){"use strict";var e=t("11db"),r=t.n(e);r.a},a179:function(s,o,t){"use strict";t.r(o);var e=function(){var s=this,o=s.$createElement,t=s._self._c||o;return t("section",{staticClass:"wallet-retrieve"},[t("Header",{attrs:{title:s.title,meaushow:s.meaushow}}),t("div",{directives:[{name:"show",rawName:"v-show",value:s.step1,expression:"step1"}],staticClass:"retrieve-content"},[t("ul",{staticClass:"form-wrap"},[t("li",{staticClass:"inp-wrap",staticStyle:{height:"1.5rem"}},[t("label",{staticClass:"va-m"},[s._v("安全手机号: "+s._s(s.walletInfoData.safe_mobile))])]),t("li",{directives:[{name:"show",rawName:"v-show",value:s.showImgCode,expression:"showImgCode"}],staticClass:"inp-wrap"},[t("label",{staticClass:"va-m"},[s._v("图片验证码")]),t("br"),t("input",{directives:[{name:"model",rawName:"v-model",value:s.form.imgCode,expression:"form.imgCode"}],staticClass:"va-m inp",attrs:{type:"text",placeholder:"请输入验证码"},domProps:{value:s.form.imgCode},on:{input:function(o){o.target.composing||s.$set(s.form,"imgCode",o.target.value)}}}),t("img",{staticClass:"img-code va-m",attrs:{src:s.imgCodeVal,alt:"图片验证码"},on:{click:s.changeImgCode}})]),t("li",{staticClass:"inp-wrap",staticStyle:{"border-top":"none"}},[t("label",{staticClass:"va-m"},[s._v("验证码")]),t("br"),t("input",{directives:[{name:"model",rawName:"v-model",value:s.form.verifyCode,expression:"form.verifyCode"}],staticClass:"va-m inp",attrs:{type:"text",placeholder:"请输入验证码"},domProps:{value:s.form.verifyCode},on:{input:function(o){o.target.composing||s.$set(s.form,"verifyCode",o.target.value)}}}),s.yzmSend?t("a",{staticClass:"send-yzm va-m",attrs:{href:"javascript:;"},on:{click:s.getCode}},[s._v(s._s(s.countDownText))]):t("a",{staticClass:"sending-yzm va-m",attrs:{href:"javascript:;"}},[s._v("再次发送("+s._s(s.countDown)+"s)")])])]),t("p",{directives:[{name:"show",rawName:"v-show",value:s.formError,expression:"formError"}],staticClass:"form-error"},[s._v(s._s(s.formMsg))]),t("a",{staticClass:"next",attrs:{href:"javascript:;"},on:{click:s.next}},[s._v("下一步")])]),t("div",{directives:[{name:"show",rawName:"v-show",value:s.step2,expression:"step2"}],staticClass:"retrieve-content"},[t("ul",{staticClass:"form-wrap"},[t("li",{staticClass:"inp-wrap"},[t("label",{staticClass:"va-m"},[s._v("设置支付密码")]),t("br"),s.showPassword?[t("input",{directives:[{name:"model",rawName:"v-model",value:s.form.password,expression:"form.password"}],staticClass:"va-m inp",attrs:{type:"password",placeholder:""},domProps:{value:s.form.password},on:{input:function(o){o.target.composing||s.$set(s.form,"password",o.target.value)}}})]:[t("input",{directives:[{name:"model",rawName:"v-model",value:s.form.password,expression:"form.password"}],staticClass:"va-m inp",attrs:{type:"text",placeholder:"密码由8~20位字母、数字组合而成"},domProps:{value:s.form.password},on:{input:function(o){o.target.composing||s.$set(s.form,"password",o.target.value)}}})],s.showPassword?t("van-icon",{staticClass:"va-m f-r",attrs:{name:"closed-eye"},on:{click:s.changeShow}}):t("van-icon",{staticClass:"va-m f-r",attrs:{name:"eye-o"},on:{click:s.changeShow}})],2),t("li",{staticClass:"inp-wrap"},[t("label",{staticClass:"va-m"},[s._v("确认支付密码")]),t("br"),s.showPasswordConfirm?[t("input",{directives:[{name:"model",rawName:"v-model",value:s.form.passwordConfirm,expression:"form.passwordConfirm"}],staticClass:"va-m inp",attrs:{type:"password",placeholder:""},domProps:{value:s.form.passwordConfirm},on:{input:function(o){o.target.composing||s.$set(s.form,"passwordConfirm",o.target.value)}}})]:[t("input",{directives:[{name:"model",rawName:"v-model",value:s.form.passwordConfirm,expression:"form.passwordConfirm"}],staticClass:"va-m inp",attrs:{type:"text",placeholder:"请再次输入上面的密码"},domProps:{value:s.form.passwordConfirm},on:{input:function(o){o.target.composing||s.$set(s.form,"passwordConfirm",o.target.value)}}})],s.showPasswordConfirm?t("van-icon",{staticClass:"va-m f-r",attrs:{name:"closed-eye"},on:{click:s.changeShowConfirm}}):t("van-icon",{staticClass:"va-m f-r",attrs:{name:"eye-o"},on:{click:s.changeShowConfirm}})],2)]),t("p",{directives:[{name:"show",rawName:"v-show",value:s.formError,expression:"formError"}],staticClass:"form-error"},[s._v(s._s(s.formMsg))]),t("a",{staticClass:"confirm",attrs:{href:"javascript:;"},on:{click:s.confirm}},[s._v("确认")])])],1)},r=[],a=(t("5f33"),t("bd31")),i=t("8973"),n=t("52c1"),m=t("57af"),c=t("5101"),f=t("365c");i["a"].use(c["e"]);var l={name:"WalletRetrieve",data:function(){return{title:"找回密码",meaushow:!0,showPassword:!1,showPasswordConfirm:!1,yzmSend:!0,countDown:60,countDownText:"发送验证码",step1:!0,step2:!1,form:{verifyCode:"",imgCode:"",password:"",passwordConfirm:""},formError:!1,formMsg:"",imgCodeVal:f["a"]+"public/verify"}},computed:Object(a["a"])({},Object(n["b"])({walletInfoData:function(s){return s.wallet.walletInfoData},showImgCode:function(s){return s.wallet.showImgCode},countDownFlag:function(s){return s.wallet.countDownFlag},passwordToken:function(s){return s.wallet.passwordToken}})),watch:{countDownFlag:function(s){s?(this.yzmSend=!1,this.timeNum()):this.yzmSend=!0},passwordToken:function(s){s?(this.step1=!1,this.step2=!0):(this.step1=!0,this.step2=!1)}},created:function(){this.$store.dispatch({type:"getWalletInfo"})},methods:{changeShow:function(){this.showPassword=!this.showPassword},changeShowConfirm:function(){this.showPasswordConfirm=!this.showPasswordConfirm},timeNum:function(){var s=this,o=setInterval(t,1e3);function t(){s.countDown--,s.countDown<=0&&(clearInterval(o),s.countDown=60,s.countDownText="再次发送",s.yzmSend=!0)}},changeImgCode:function(){this.imgCodeVal=f["a"]+"public/verify?"+(new Date).getTime()},getCode:function(){this.$store.dispatch({type:"sendSafesms",imgCode:this.form.imgCode})},next:function(){if(!this.form.verifyCode)return this.formError=!0,void(this.formMsg="亲,请输入验证码");this.formError=!1,this.$store.dispatch({type:"verifyResetsms",verify_code:this.form.verifyCode})},confirm:function(){var s=new RegExp(/^[a-zA-Z0-9]{8,20}$/);return this.form.password?s.test(this.form.password)?this.form.passwordConfirm?this.form.password!==this.form.passwordConfirm?(this.formError=!0,void(this.formMsg="亲,两次输入支付密码不一致")):(this.formError=!1,void this.$store.dispatch({type:"changeWalletpwd",token:this.passwordToken,pay_password:this.form.password,reconfirm:this.form.passwordConfirm,mode:"forget"})):(this.formError=!0,void(this.formMsg="亲,请再次输入支付密码")):(this.formError=!0,void(this.formMsg="亲,密码由8~20位字母、数字组合")):(this.formError=!0,void(this.formMsg="亲,请输入支付密码"))}},components:{Header:m["a"]}},d=l,p=(t("84ea"),t("8c9c")),w=Object(p["a"])(d,e,r,!1,null,"3dbc2ccd",null);o["default"]=w.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-56524b2f"],{"0c55":function(t,e,a){},"2d18":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"wallet-record"},[a("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),a("div",{staticClass:"record-content"},[a("div",{staticClass:"record-type",on:{click:t.showPopType}},[t._v("\n 全部记录类型 "),a("van-icon",{staticClass:"va-m",staticStyle:{"font-size":"20px"},attrs:{name:"arrow-down"}})],1),a("div",{staticClass:"record-date"},[a("span",{on:{click:t.showPopDate}},[t._v(t._s(t.recordYear)+"年"+t._s(t.recordMonth)+"月 "),a("van-icon",{staticClass:"va-m",staticStyle:{"font-size":"16px"},attrs:{name:"arrow-down"}})],1)]),a("ul",{staticClass:"record-detail"},t._l(t.walletRecordData,function(e){return a("li",[a("div",{staticClass:"record-item"},[a("span",[t._v(t._s(1==e.wallet_type?"钱包充值":"钱包提现"))]),a("br"),t._v(t._s(e.create_time))]),2==e.wallet_type?a("div",{staticClass:"record-num"},[t._v("\n "+t._s(e.amount_format)),a("br"),1==e.status?a("span",{staticClass:"withdrawText"},[t._v("提现中")]):a("span",{staticClass:"successText"},[t._v("已完成")])]):t._e(),1==e.wallet_type?a("div",{staticClass:"record-num"},[t._v("\n "+t._s(e.amount_format)),a("br"),1==e.status?a("span",{staticClass:"rechargeBtn",on:{click:function(a){return t.detail(e.amount)}}},[t._v("待支付")]):a("span",{staticClass:"successText"},[t._v("已完成")])]):t._e()])}),0),a("van-popup",{attrs:{position:"bottom",overlay:!0},model:{value:t.dateShow,callback:function(e){t.dateShow=e},expression:"dateShow"}},[a("van-datetime-picker",{attrs:{type:"year-month",formatter:t.formatter},on:{cancel:t.onDateCancel,confirm:t.onDateConfirm,change:t.dateChange},model:{value:t.currentDate,callback:function(e){t.currentDate=e},expression:"currentDate"}})],1),a("van-popup",{attrs:{position:"bottom",overlay:!0},model:{value:t.typeShow,callback:function(e){t.typeShow=e},expression:"typeShow"}},[a("van-picker",{attrs:{"show-toolbar":"",title:"交易类型",columns:t.columns},on:{cancel:t.onTypeCancel,confirm:t.onTypeConfirm}})],1)],1)],1)},r=[],o=(a("b06f"),a("f91a"),a("bd31")),s=a("8973"),c=a("52c1"),i=a("57af"),h=a("5101");s["a"].use(h["e"]).use(h["j"]).use(h["c"]).use(h["i"]).use(h["p"]);var u={name:"WalletRecord",data:function(){return{title:"充值提现记录",meaushow:!0,recordYear:(new Date).getFullYear(),recordMonth:(new Date).getMonth()+1<10?"0"+((new Date).getMonth()+1):(new Date).getMonth()+1,updateYear:"",updateMonth:"",dateShow:!1,typeShow:!1,currentDate:new Date,typeCheckedkeyId:"",typeCheckedText:"",columns:[{keyId:"",text:"全部"},{keyId:1,text:"钱包充值"},{keyId:2,text:"钱包提现"}]}},computed:Object(o["a"])({},Object(c["b"])({walletRecordData:function(t){return t.wallet.walletRecordData}})),watch:{},created:function(){function t(t,e){var a=new Date(t),n=function(t){return(t<10?"0":"")+t};return e.replace(/yyyy|MM|dd|HH|mm|ss/g,function(t){switch(t){case"yyyy":return n(a.getFullYear());case"MM":return n(a.getMonth()+1);case"mm":return n(a.getMinutes());case"dd":return n(a.getDate());case"HH":return n(a.getHours());case"ss":return n(a.getSeconds())}})}function e(){var t=new Date;return t.setDate(1),t}function a(){var t=new Date,e=t.getMonth(),a=++e,n=new Date(t.getFullYear(),a,1),r=864e5;return new Date(n-r)}this.$store.dispatch({type:"walletRecordList",wallet_type:"",stime:t(e(),"yyyy-MM-dd"),etime:t(a(),"yyyy-MM-dd")})},methods:{showPopDate:function(){this.dateShow?this.dateShow=!1:this.dateShow=!0},showPopType:function(){this.typeShow?this.typeShow=!1:this.typeShow=!0},formatter:function(t,e){return"year"===t?"".concat(e):"month"===t?"".concat(e):e},dateChange:function(t){this.updateYear=t.getValues()[0],this.updateMonth=t.getValues()[1]},onDateCancel:function(){this.dateShow=!1,this.recordYear=this.recordYear,this.recordMonth=this.recordMonth},onDateConfirm:function(){function t(t,e){var a=new Date(t,e-1,1),n=new Date(a.getTime());return n.getFullYear()+"-"+(Number(n.getMonth())+1)+"-"+n.getDate()}function e(t,e){var a=new Date(t,e,1),n=new Date(a.getTime()-864e5);return n.getFullYear()+"-"+(Number(n.getMonth())+1)+"-"+n.getDate()}this.dateShow=!1,this.recordYear=this.updateYear,this.recordMonth=this.updateMonth,this.$store.dispatch({type:"walletRecordList",wallet_type:this.typeCheckedkeyId||"",stime:t(this.recordYear,this.recordMonth),etime:e(this.recordYear,this.recordMonth)})},onTypeConfirm:function(t,e){function a(t,e){var a=new Date(t,e-1,1),n=new Date(a.getTime());return n.getFullYear()+"-"+(Number(n.getMonth())+1)+"-"+n.getDate()}function n(t,e){var a=new Date(t,e,1),n=new Date(a.getTime()-864e5);return n.getFullYear()+"-"+(Number(n.getMonth())+1)+"-"+n.getDate()}this.typeShow=!1,this.typeCheckedkeyId=t.keyId,this.typeCheckedText=t.text,this.recordYear=this.updateYear||this.recordYear,this.recordMonth=this.updateMonth||this.recordMonth,this.$store.dispatch({type:"walletRecordList",wallet_type:t.keyId,stime:a(this.recordYear,this.recordMonth),etime:n(this.recordYear,this.recordMonth)})},onTypeCancel:function(){this.typeShow=!1},detail:function(t){this.$router.push({path:"/wallet/recharge",query:{amount:t}})}},components:{Header:i["a"]}},d=u,l=(a("6e49"),a("8c9c")),p=Object(l["a"])(d,n,r,!1,null,"2b7a3f0b",null);e["default"]=p.exports},"6e49":function(t,e,a){"use strict";var n=a("0c55"),r=a.n(n);r.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5a9a2519"],{"51d9":function(s,o,r){"use strict";r.r(o);var t=function(){var s=this,o=s.$createElement,r=s._self._c||o;return r("section",{staticClass:"wallet-activate"},[r("Header",{attrs:{title:s.title,meaushow:s.meaushow}}),r("div",{directives:[{name:"show",rawName:"v-show",value:s.step1,expression:"step1"}],staticClass:"activate-content"},[r("ul",{staticClass:"form-wrap"},[r("li",{staticClass:"inp-wrap"},[r("label",{staticClass:"va-m"},[s._v("安全手机号")]),r("br"),r("input",{directives:[{name:"model",rawName:"v-model",value:s.form.safeMobile,expression:"form.safeMobile"}],staticClass:"va-m inp",attrs:{type:"number",placeholder:"请输入手机号"},domProps:{value:s.form.safeMobile},on:{input:function(o){o.target.composing||s.$set(s.form,"safeMobile",o.target.value)}}})]),r("li",{staticClass:"inp-wrap"},[r("label",{staticClass:"va-m"},[s._v("验证码")]),r("br"),r("input",{directives:[{name:"model",rawName:"v-model",value:s.form.verifyCode,expression:"form.verifyCode"}],staticClass:"va-m inp",attrs:{type:"text",placeholder:"请输入验证码"},domProps:{value:s.form.verifyCode},on:{input:function(o){o.target.composing||s.$set(s.form,"verifyCode",o.target.value)}}}),s.yzmSend?r("a",{staticClass:"send-yzm va-m",attrs:{href:"javascript:;"},on:{click:s.getCode}},[s._v(s._s(s.countDownText))]):r("a",{staticClass:"sending-yzm va-m",attrs:{href:"javascript:;"}},[s._v("再次发送("+s._s(s.countDown)+"s)")])])]),r("p",{directives:[{name:"show",rawName:"v-show",value:s.formError,expression:"formError"}],staticClass:"form-error"},[s._v(s._s(s.formMsg))]),r("a",{staticClass:"next",attrs:{href:"javascript:;"},on:{click:s.next}},[s._v("下一步")])]),r("div",{directives:[{name:"show",rawName:"v-show",value:s.step2,expression:"step2"}],staticClass:"activate-content"},[r("ul",{staticClass:"form-wrap"},[r("li",{staticClass:"inp-wrap"},[r("label",{staticClass:"va-m"},[s._v("设置支付密码")]),r("br"),s.showPassword?[r("input",{directives:[{name:"model",rawName:"v-model",value:s.form.password,expression:"form.password"}],staticClass:"va-m inp",attrs:{type:"password",placeholder:""},domProps:{value:s.form.password},on:{input:function(o){o.target.composing||s.$set(s.form,"password",o.target.value)}}})]:[r("input",{directives:[{name:"model",rawName:"v-model",value:s.form.password,expression:"form.password"}],staticClass:"va-m inp",attrs:{type:"text",placeholder:"密码由8~20位字母、数字组合而成"},domProps:{value:s.form.password},on:{input:function(o){o.target.composing||s.$set(s.form,"password",o.target.value)}}})],s.showPassword?r("van-icon",{staticClass:"va-m f-r",attrs:{name:"closed-eye"},on:{click:s.changeShow}}):r("van-icon",{staticClass:"va-m f-r",attrs:{name:"eye-o"},on:{click:s.changeShow}})],2),r("li",{staticClass:"inp-wrap"},[r("label",{staticClass:"va-m"},[s._v("确认支付密码")]),r("br"),s.showPasswordConfirm?[r("input",{directives:[{name:"model",rawName:"v-model",value:s.form.passwordConfirm,expression:"form.passwordConfirm"}],staticClass:"va-m inp",attrs:{type:"password",placeholder:""},domProps:{value:s.form.passwordConfirm},on:{input:function(o){o.target.composing||s.$set(s.form,"passwordConfirm",o.target.value)}}})]:[r("input",{directives:[{name:"model",rawName:"v-model",value:s.form.passwordConfirm,expression:"form.passwordConfirm"}],staticClass:"va-m inp",attrs:{type:"text",placeholder:"请再次输入上面的密码"},domProps:{value:s.form.passwordConfirm},on:{input:function(o){o.target.composing||s.$set(s.form,"passwordConfirm",o.target.value)}}})],s.showPasswordConfirm?r("van-icon",{staticClass:"va-m f-r",attrs:{name:"closed-eye"},on:{click:s.changeShowConfirm}}):r("van-icon",{staticClass:"va-m f-r",attrs:{name:"eye-o"},on:{click:s.changeShowConfirm}})],2)]),r("p",{directives:[{name:"show",rawName:"v-show",value:s.formError,expression:"formError"}],staticClass:"form-error"},[s._v(s._s(s.formMsg))]),r("a",{staticClass:"confirm",attrs:{href:"javascript:;"},on:{click:s.confirm}},[s._v("确认")])])],1)},e=[],a=(r("5f33"),r("bd31")),i=r("8973"),n=r("52c1"),m=r("57af"),f=r("5101");i["a"].use(f["e"]);var c={name:"WalletActivate",data:function(){return{title:"激活钱包",meaushow:!0,showPassword:!1,showPasswordConfirm:!1,yzmSend:!0,countDown:60,countDownText:"发送验证码",step1:!0,step2:!1,form:{safeMobile:"",verifyCode:"",password:"",passwordConfirm:""},formError:!1,formMsg:""}},computed:Object(a["a"])({},Object(n["b"])({})),watch:{},created:function(){},methods:{changeShow:function(){this.showPassword=!this.showPassword},changeShowConfirm:function(){this.showPasswordConfirm=!this.showPasswordConfirm},timeNum:function(){var s=this,o=setInterval(r,1e3);function r(){s.countDown--,s.countDown<=0&&(clearInterval(o),s.countDown=60,s.countDownText="再次发送",s.yzmSend=!0)}},getCode:function(){var s=/^1[34578]\d{9}$/;return this.form.safeMobile?s.test(this.form.safeMobile)?(this.yzmSend=!1,this.timeNum(),void this.$store.dispatch({type:"smsVerifyActivate",mobile:this.form.safeMobile})):(this.formError=!0,void(this.formMsg="亲,手机格式不正确")):(this.formError=!0,void(this.formMsg="亲,请输入手机"))},next:function(){var s=/^1[34578]\d{9}$/;return this.form.safeMobile?s.test(this.form.safeMobile)?this.form.verifyCode?(this.formError=!1,this.step1=!1,void(this.step2=!0)):(this.formError=!0,void(this.formMsg="亲,请输入验证码")):(this.formError=!0,void(this.formMsg="亲,手机格式不正确")):(this.formError=!0,void(this.formMsg="亲,请输入手机"))},confirm:function(){var s=new RegExp(/^[a-zA-Z0-9]{8,20}$/);return this.form.password?s.test(this.form.password)?this.form.passwordConfirm?this.form.password!==this.form.passwordConfirm?(this.formError=!0,void(this.formMsg="亲,两次输入支付密码不一致")):(this.formError=!1,void this.$store.dispatch({type:"activateWallet",mobile:this.form.safeMobile,verifyCode:this.form.verifyCode,password:this.form.password,passwordConfirm:this.form.passwordConfirm})):(this.formError=!0,void(this.formMsg="亲,请再次输入支付密码")):(this.formError=!0,void(this.formMsg="亲,密码由8~20位字母、数字组合")):(this.formError=!0,void(this.formMsg="亲,请输入支付密码"))}},components:{Header:m["a"]}},l=c,d=(r("8573"),r("8c9c")),p=Object(d["a"])(l,t,e,!1,null,"62b6e222",null);o["default"]=p.exports},"5f33":function(s,o,r){var t=r("4839"),e=r("d62f"),a=r("694f").f,i=r("62af").f,n=r("d635"),m=r("7fe4"),f=t.RegExp,c=f,l=f.prototype,d=/a/g,p=/a/g,v=new f(d)!==d;if(r("3a0f")&&(!v||r("201d")(function(){return p[r("f3ae")("match")]=!1,f(d)!=d||f(p)==p||"/a/i"!=f(d,"i")}))){f=function(s,o){var r=this instanceof f,t=n(s),a=void 0===o;return!r&&t&&s.constructor===f&&a?s:e(v?new c(t&&!a?s.source:s,o):c((t=s instanceof f)?s.source:s,t&&a?m.call(s):o),r?this:l,f)};for(var w=function(s){s in f||a(f,s,{configurable:!0,get:function(){return c[s]},set:function(o){c[s]=o}})},h=i(c),u=0;h.length>u;)w(h[u++]);l.constructor=f,f.prototype=l,r("7f00")(t,"RegExp",f)}r("4fd1")("RegExp")},8573:function(s,o,r){"use strict";var t=r("e2d3"),e=r.n(t);e.a},e2d3:function(s,o,r){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-68b28240"],{"0ed8":function(t,n,e){"use strict";var r=e("a051"),i=e("38b2"),o=e("690a"),c=e("471d"),a=e("067f"),f=e("6ac5").KEY,u=e("7f67"),s=e("6629"),l=e("3967"),p=e("16ef"),h=e("0902"),b=e("74e6"),v=e("3010"),d=e("e27e"),y=e("5fdf"),g=e("0bc6"),m=e("38cc"),w=e("fdb5"),O=e("eb10"),S=e("0763"),_=e("8070"),x=e("ab9e"),j=e("d770a"),C=e("4cf4"),E=e("4f1d"),P=j.f,k=C.f,N=x.f,F=r.Symbol,D=r.JSON,J=D&&D.stringify,z="prototype",A=h("_hidden"),M=h("toPrimitive"),I={}.propertyIsEnumerable,K=s("symbol-registry"),T=s("symbols"),W=s("op-symbols"),$=Object[z],Y="function"==typeof F,B=r.QObject,G=!B||!B[z]||!B[z].findChild,Q=o&&u(function(){return 7!=_(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=P($,n);r&&delete $[n],k(t,n,e),r&&t!==$&&k($,n,r)}:k,q=function(t){var n=T[t]=_(F[z]);return n._k=t,n},H=Y&&"symbol"==typeof F.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof F},L=function(t,n,e){return t===$&&L(W,n,e),g(t),n=O(n,!0),g(e),i(T,n)?(e.enumerable?(i(t,A)&&t[A][n]&&(t[A][n]=!1),e=_(e,{enumerable:S(0,!1)})):(i(t,A)||k(t,A,S(1,{})),t[A][n]=!0),Q(t,n,e)):k(t,n,e)},R=function(t,n){g(t);var e,r=d(n=w(n)),i=0,o=r.length;while(o>i)L(t,e=r[i++],n[e]);return t},U=function(t,n){return void 0===n?_(t):R(_(t),n)},V=function(t){var n=I.call(this,t=O(t,!0));return!(this===$&&i(T,t)&&!i(W,t))&&(!(n||!i(this,t)||!i(T,t)||i(this,A)&&this[A][t])||n)},X=function(t,n){if(t=w(t),n=O(n,!0),t!==$||!i(T,n)||i(W,n)){var e=P(t,n);return!e||!i(T,n)||i(t,A)&&t[A][n]||(e.enumerable=!0),e}},Z=function(t){var n,e=N(w(t)),r=[],o=0;while(e.length>o)i(T,n=e[o++])||n==A||n==f||r.push(n);return r},tt=function(t){var n,e=t===$,r=N(e?W:w(t)),o=[],c=0;while(r.length>c)!i(T,n=r[c++])||e&&!i($,n)||o.push(T[n]);return o};Y||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===$&&n.call(W,e),i(this,A)&&i(this[A],t)&&(this[A][t]=!1),Q(this,t,S(1,e))};return o&&G&&Q($,t,{configurable:!0,set:n}),q(t)},a(F[z],"toString",function(){return this._k}),j.f=X,C.f=L,e("d4f2").f=x.f=Z,e("5f84").f=V,e("6b32").f=tt,o&&!e("4df6")&&a($,"propertyIsEnumerable",V,!0),b.f=function(t){return q(h(t))}),c(c.G+c.W+c.F*!Y,{Symbol:F});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)h(nt[et++]);for(var rt=E(h.store),it=0;rt.length>it;)v(rt[it++]);c(c.S+c.F*!Y,"Symbol",{for:function(t){return i(K,t+="")?K[t]:K[t]=F(t)},keyFor:function(t){if(!H(t))throw TypeError(t+" is not a symbol!");for(var n in K)if(K[n]===t)return n},useSetter:function(){G=!0},useSimple:function(){G=!1}}),c(c.S+c.F*!Y,"Object",{create:U,defineProperty:L,defineProperties:R,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:tt}),D&&c(c.S+c.F*(!Y||u(function(){var t=F();return"[null]"!=J([t])||"{}"!=J({a:t})||"{}"!=J(Object(t))})),"JSON",{stringify:function(t){var n,e,r=[t],i=1;while(arguments.length>i)r.push(arguments[i++]);if(e=n=r[1],(m(n)||void 0!==t)&&!H(t))return y(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!H(n))return n}),r[1]=n,J.apply(D,r)}}),F[z][M]||e("3a22")(F[z],M,F[z].valueOf),l(F,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},"13d3":function(t,n,e){e("0ed8"),t.exports=e("836e").Object.getOwnPropertySymbols},1904:function(t,n,e){t.exports=e("e432")},2259:function(t,n,e){},2675:function(t,n,e){var r=e("471d");r(r.S+r.F*!e("690a"),"Object",{defineProperty:e("4cf4").f})},3010:function(t,n,e){var r=e("a051"),i=e("836e"),o=e("4df6"),c=e("74e6"),a=e("4cf4").f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:c.f(t)})}},"3b79":function(t,n,e){"use strict";var r=e("2259"),i=e.n(r);i.a},5710:function(t,n,e){},"57af":function(t,n,e){"use strict";var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("section",[e("div",{staticClass:"header-page clr"},[e("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:t.historyback}}),e("h3",{staticClass:"title fl"},[t._v(t._s(t.title))]),t.meaushow?e("Menu",{attrs:{color:t.color}}):t._e()],1)])},i=[],o=e("7272"),c={name:"header-page",props:{color:{type:String,default:""},title:{type:String,default:"猎芯网"},meaushow:{type:Boolean,default:!1}},data:function(){return{}},mounted:function(){},methods:{historyback:function(){history.go(-1)}},components:{Menu:o["a"]}},a=c,f=(e("9f93"),e("8c9c")),u=Object(f["a"])(a,r,i,!1,null,null,null);n["a"]=u.exports},"5fdf":function(t,n,e){var r=e("6dd6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"6ac5":function(t,n,e){var r=e("16ef")("meta"),i=e("38cc"),o=e("38b2"),c=e("4cf4").f,a=0,f=Object.isExtensible||function(){return!0},u=!e("7f67")(function(){return f(Object.preventExtensions({}))}),s=function(t){c(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!f(t))return"F";if(!n)return"E";s(t)}return t[r].i},p=function(t,n){if(!o(t,r)){if(!f(t))return!0;if(!n)return!1;s(t)}return t[r].w},h=function(t){return u&&b.NEED&&f(t)&&!o(t,r)&&s(t),t},b=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},"6e35":function(t,n,e){t.exports=e("cdf9")},7272:function(t,n,e){"use strict";var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",[t.flag?e("div",{staticClass:"menu-fade",on:{click:function(n){t.flag=!1}}}):t._e(),e("div",{staticClass:"menu clr"},[e("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(n){t.flag=!t.flag}}}),t.flag?e("div",[e("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},i=[function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("ul",{staticClass:"menu-view"},[e("li",[e("a",{attrs:{href:"/v3?ptag=selfshop-topnav"}},[e("i",{staticClass:"icon iconfont icon-shouye"}),t._v("首页")])]),e("li",[e("a",{attrs:{href:"/v3/lxshop?ptag=selfshop-topnav"}},[e("i",{staticClass:"icon iconfont icon-lianying"}),t._v("联营商城")])]),e("li",[e("a",{attrs:{href:"/v3/xianhuo?ptag=selfshop-topnav"}},[e("i",{staticClass:"icon iconfont icon-liexinziying"}),t._v("自营现货")])]),e("li",[e("a",{attrs:{href:"/v3/brand/map?ptag=selfshop-topnav"}},[e("i",{staticClass:"icon iconfont icon-pinpai"}),t._v("品牌之家")])]),e("li",{staticClass:"mui-table-view-cell "},[e("a",{staticClass:"zytabgo",attrs:{href:"/v3/joincart?ptag=selfshop-topnav"}},[e("i",{staticClass:"icon iconfont icon-gouwuche1"}),t._v("购物车")])]),e("li",[e("a",{attrs:{href:"/v3/user?ptag=selfshop-topnav"}},[e("i",{staticClass:"icon iconfont icon-huiyuanzhongxin"}),t._v("会员中心")])])])}],o={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},c=o,a=(e("3b79"),e("8c9c")),f=Object(a["a"])(c,r,i,!1,null,null,null);n["a"]=f.exports},"74e6":function(t,n,e){n.f=e("0902")},"9f93":function(t,n,e){"use strict";var r=e("5710"),i=e.n(r);i.a},ab9e:function(t,n,e){var r=e("fdb5"),i=e("d4f2").f,o={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(n){return c.slice()}};t.exports.f=function(t){return c&&"[object Window]"==o.call(t)?a(t):i(r(t))}},bd31:function(t,n,e){"use strict";var r=e("6e35"),i=e.n(r),o=e("e5df"),c=e.n(o),a=e("0ec6"),f=e.n(a),u=e("1904"),s=e.n(u);function l(t,n,e){return n in t?s()(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function p(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=f()(e);"function"===typeof c.a&&(r=r.concat(c()(e).filter(function(t){return i()(e,t).enumerable}))),r.forEach(function(n){l(t,n,e[n])})}return t}e.d(n,"a",function(){return p})},cdf9:function(t,n,e){e("e99e");var r=e("836e").Object;t.exports=function(t,n){return r.getOwnPropertyDescriptor(t,n)}},d4f2:function(t,n,e){var r=e("c540"),i=e("b59a").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},d770a:function(t,n,e){var r=e("5f84"),i=e("0763"),o=e("fdb5"),c=e("eb10"),a=e("38b2"),f=e("54b2"),u=Object.getOwnPropertyDescriptor;n.f=e("690a")?u:function(t,n){if(t=o(t),n=c(n,!0),f)try{return u(t,n)}catch(e){}if(a(t,n))return i(!r.f.call(t,n),t[n])}},e27e:function(t,n,e){var r=e("4f1d"),i=e("6b32"),o=e("5f84");t.exports=function(t){var n=r(t),e=i.f;if(e){var c,a=e(t),f=o.f,u=0;while(a.length>u)f.call(t,c=a[u++])&&n.push(c)}return n}},e432:function(t,n,e){e("2675");var r=e("836e").Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},e5df:function(t,n,e){t.exports=e("13d3")},e99e:function(t,n,e){var r=e("fdb5"),i=e("d770a").f;e("dfd0")("getOwnPropertyDescriptor",function(){return function(t,n){return i(r(t),n)}})}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6bee3754"],{"4c53":function(t,a,s){"use strict";var e=s("c7d4"),l=s.n(e);l.a},c7d4:function(t,a,s){},e175:function(t,a,s){"use strict";s.r(a);var e=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("section",{staticClass:"wallet-status"},[s("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),t.walletInfoData.wallet_freeze_format?s("div",{staticClass:"status-content"},[s("ul",{staticClass:"form-wrap"},[s("li",{staticClass:"inp-wrap"},[s("label",{staticClass:"lineBlock va-m"},[t._v("冻结余额")]),1!==t.walletInfoData.wallet_status?s("input",{staticClass:"va-m inp",attrs:{type:"text",value:"¥0.00"}}):s("input",{staticClass:"va-m inp",attrs:{type:"text"},domProps:{value:t.walletInfoData.wallet_freeze_format}}),"¥0.00"!==t.walletInfoData.wallet_freeze_format?s("van-icon",{staticClass:"tips va-m",attrs:{name:"warning-o",size:"22px",color:"#f00"},on:{click:t.dialogTips}}):t._e()],1),s("li",{staticClass:"inp-wrap"},[s("label",{staticClass:"lineBlock va-m"},[t._v("钱包状态")]),1!==t.walletInfoData.wallet_status?s("input",{staticClass:"va-m inp",attrs:{type:"text",value:"未启用"}}):s("input",{staticClass:"va-m inp",attrs:{type:"text",value:"已启用"}})]),s("li",{staticClass:"inp-wrap"},[s("label",{staticClass:"lineBlock va-m"},[t._v("支付密码")]),1!==t.walletInfoData.wallet_status?s("input",{staticClass:"va-m inp",attrs:{type:"text",value:"未启用"}}):s("input",{staticClass:"va-m inp",attrs:{type:"text",value:"已启用"}}),1==t.walletInfoData.wallet_status?s("span",{staticClass:"forget-password va-m",on:{click:t.forgetPassword}},[t._v("忘记密码")]):t._e()]),s("li",{staticClass:"inp-wrap"},[s("label",{staticClass:"lineBlock va-m"},[t._v("我的银行卡")]),null==t.walletInfoData.bank_name?s("input",{staticClass:"va-m inp",attrs:{type:"text",value:"未绑定"}}):s("input",{staticClass:"va-m inp",attrs:{type:"text"},domProps:{value:t.walletInfoData.bank_name}}),null==t.walletInfoData.bank_name?s("span",{staticClass:"bind-bank va-m",on:{click:t.bindBank}},[t._v("绑卡")]):t._e()])]),1!==t.walletInfoData.wallet_status?s("a",{staticClass:"submit",attrs:{href:"javascript:;"},on:{click:t.submit}},[t._v("激活")]):t._e()]):t._e()],1)},l=[],n=s("bd31"),i=s("8973"),o=s("52c1"),c=s("57af"),p=s("5101");i["a"].use(p["e"]).use(p["d"]);var r={name:"status",data:function(){return{title:"钱包状态",meaushow:!0}},computed:Object(n["a"])({},Object(o["b"])({walletInfoData:function(t){return t.wallet.walletInfoData}})),watch:{},created:function(){this.$store.dispatch({type:"getWalletInfo"})},methods:{dialogTips:function(){p["d"].alert({message:'<p style="font-size:16px;">您的'+this.walletInfoData.wallet_freeze_format+'元正在提现中,</p><p style="font-size:16px;">预计1个工作日后到账,</p><p style="font-size:16px;">节假日顺延,请耐心等候。</p>'}).then(function(){})},submit:function(){this.$router.push({path:"/wallet/activate"})},forgetPassword:function(){this.$router.push({path:"/wallet/retrieve"})},bindBank:function(){this.$router.push({path:"/wallet/bind"})}},components:{Header:c["a"]}},u=r,f=(s("4c53"),s("8c9c")),w=Object(f["a"])(u,e,l,!1,null,"6035383c",null);a["default"]=w.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a5ed3e36"],{"02ea":function(t,a,e){"use strict";var i=e("a1ba"),c=e.n(i);c.a},"10b5":function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("section",{staticClass:"account-detail"},[e("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),e("div",{staticClass:"account-detail-content"},[e("div",{staticClass:"detail-box detail-content-1"},[t._m(0),e("p",{staticClass:"pay-type"},[t._v(t._s(t.payType))]),e("p",{staticClass:"pay-amount"},[t._v(t._s(t.payAmount))]),e("p",{staticClass:"pay-status"},[t._v(t._s(t.payStatus))])]),e("div",{staticClass:"detail-box detail-content-2"},[e("p",{staticClass:"pay-flow"},[t._v("支付流水"),e("span",[t._v(t._s(t.payFlow))])]),e("p",{staticClass:"pay-time"},[t._v("支付时间"),e("span",[t._v(t._s(t.payTime))])]),e("p",{staticClass:"pay-method"},[t._v("支付方式"),e("span",[t._v(t._s(t.payMethod))])])]),e("div",{staticClass:"detail-box detail-content-3"},[e("p",{staticClass:"pay-balance"},[t._v("钱包可用余额"),e("span",[t._v("¥"+t._s(t.payBalance))])]),t._m(1)])])],1)},c=[function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"pay-img"},[i("span",[i("img",{attrs:{src:e("f011"),alt:"账单详情"}})])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("p",{staticClass:"pay-detail"},[t._v("详情"),e("a",{attrs:{href:"#"}},[t._v("查看订单 >")])])}],s=e("bd31"),l=e("52c1"),n=e("57af"),p={name:"AccountDetail",data:function(){return{title:"账单详情",meaushow:!0,payType:"订单支付",payAmount:1256,payStatus:"交易完成",payFlow:0x10adb0d96ed68600,payTime:"2019-04-05 17:03:01",payMethod:"微信",payBalance:1200}},computed:Object(s["a"])({},Object(l["b"])({})),watch:{},created:function(){},methods:{},components:{Header:n["a"]}},A=p,m=(e("02ea"),e("8c9c")),o=Object(m["a"])(A,i,c,!1,null,"2cdeb510",null);a["default"]=o.exports},a1ba:function(t,a,e){},f011:function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAyCAYAAADMb4LpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo4NjNlZjQ0Mi04NDk5LTk1NDUtOGUyNC1kM2ViZWU1YzQ2NTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MkY0REIwNDQ2Njc4MTFFOUIxQ0Q4RUE2RTg5MEMyNEUiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MkY0REIwNDM2Njc4MTFFOUIxQ0Q4RUE2RTg5MEMyNEUiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YTUyMDE5YmEtZjM3Yi0wMTRlLTkxZmQtZWY1NTY0MGM4MzgwIiBzdFJlZjpkb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6M2QxOTNkMjUtYjQ5MC0xMWU3LWJmMGItOTcyYjQ0OTAxZTdmIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+z4gS/QAAA2FJREFUeNrsmmuITVEUx/e9c5EYj0QKX0wN5ZXJB1PexqOkJimlPBqEiMgXhTwao1BTmvKe1IwUSRGafDFEDeM1SKjxGDXGa7xmGozxX92ltm2ffc65nXPuuZxVvw973333+d991l577TUTExeEyUaB7WAS6CHSa+2gHpSDvaAtZhBPgi+CLiJ8dgnMtBJPgp+AQSK8ti5h8UGBIrwBXE+z2GwwA8S4XWQlfojSXg7Oh2C1r4BxvzXGLQZ1VtqfQuIqH2WNcZHBFomPxP9v4hMpfo9i7RqQ79MCNIN9oM4P8fNBqc8LOw0MBh1eu00QaUN/0MkPnz/Ap91PHw+jteCbH27zAUwIa7R5p7SbMilUHgdVoBXsAY8zKVR+5fQzOqQi8f9qejAUbOMoswW8dTHHVLAa3Ac7DLGZqg85DheMottLp+IrQZ4khjbrMwcPWQQO8zyFoBGUacZNB2dAVxeLUsaLYus2vaW+XHAVDLOZfD3XUOSI1cti7BKXwslWaq6jWvGrQJvUPwBUc9aoyyhLRLLwE5P674H9Fs+5kYJL37JLD+S6zRR+tdlKvJ8rksUnsiwWuFSZh97UbE5lrVJomme0Q59/DY6B90r/OTBLJ55sDJc4+kp99OsXg9N88s7RTDgPtAQQYP4Qr67CTU64nitlkApQqxFewX0t6QiVulf4CIwHD5Vx6gamy8hC8D2dcZ78uED8XQWma9hu0F3zPSr9XWM/lu2B8qN9F1/JPuvG8i0iUTtvXLV8S9e5o2CEEqGsjA7JrbzHjOILPVyMLD7gVPGbwEQX89C5cxCcNLkl+fIpD8X/AGc1/als6C/8Jo0rT5vuEOhnqBTIb2cDeKEZR/fZu+Cp5rPN/Kwch8Lpx+60uyMneMBlw5g8pV1lV0+xuPOuiFJiTVbZB/S0GKMmWwM5bdBZg10+4rX4jaDYYQgTwvwXkiY+M+qCEB/ny0fMo/lo0xcFmR7UeDzn7SDdhhKrZYaLBB0uY6U2nZRvLMbeASeCFE/31l2GMSWK+NKgfDoqfYQ9zofButlcuOkcGim1m8Mivpyvmm6sOgxuk5uCcMpei52IlysCHYYwmapRoeqzi/GtfBDWOHGbI5wSDxfJWn2jx+Lp/xomgwXCXJiiS0k9nyOvqOOXAAMAO4mhsg4h/5wAAAAASUVORK5CYII="}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ac471472"],{"00aa":function(t,e,o){"use strict";var a=o("dbed"),s=o.n(a);s.a},"5f33":function(t,e,o){var a=o("4839"),s=o("d62f"),r=o("694f").f,i=o("62af").f,n=o("d635"),c=o("7fe4"),m=a.RegExp,l=m,f=m.prototype,d=/a/g,u=/a/g,p=new m(d)!==d;if(o("3a0f")&&(!p||o("201d")(function(){return u[o("f3ae")("match")]=!1,m(d)!=d||m(u)==u||"/a/i"!=m(d,"i")}))){m=function(t,e){var o=this instanceof m,a=n(t),r=void 0===e;return!o&&a&&t.constructor===m&&r?t:s(p?new l(a&&!r?t.source:t,e):l((a=t instanceof m)?t.source:t,a&&r?c.call(t):e),o?this:f,m)};for(var v=function(t){t in m||r(m,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},w=i(l),h=0;w.length>h;)v(w[h++]);f.constructor=m,m.prototype=f,o("7f00")(a,"RegExp",m)}o("4fd1")("RegExp")},bdad:function(t,e,o){"use strict";o.r(e);var a=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("section",{staticClass:"wallet-verify"},[o("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),o("div",{staticClass:"verify-content"},[o("ul",{staticClass:"form-wrap"},[o("li",{staticClass:"inp-wrap"},[o("label",{staticClass:"va-m"},[t._v("原支付密码")]),o("br"),t.showPassword?[o("input",{directives:[{name:"model",rawName:"v-model",value:t.form.password,expression:"form.password"}],staticClass:"va-m inp",attrs:{type:"password",placeholder:""},domProps:{value:t.form.password},on:{input:function(e){e.target.composing||t.$set(t.form,"password",e.target.value)}}})]:[o("input",{directives:[{name:"model",rawName:"v-model",value:t.form.password,expression:"form.password"}],staticClass:"va-m inp",attrs:{type:"text",placeholder:"请输入原支付密码"},domProps:{value:t.form.password},on:{input:function(e){e.target.composing||t.$set(t.form,"password",e.target.value)}}})],t.showPassword?o("van-icon",{staticClass:"va-m f-r",attrs:{name:"closed-eye"},on:{click:t.changeShow}}):o("van-icon",{staticClass:"va-m f-r",attrs:{name:"eye-o"},on:{click:t.changeShow}})],2),o("li",{directives:[{name:"show",rawName:"v-show",value:t.showImgCode,expression:"showImgCode"}],staticClass:"inp-wrap"},[o("label",{staticClass:"va-m"},[t._v("图片验证码")]),o("br"),o("input",{directives:[{name:"model",rawName:"v-model",value:t.form.imgCode,expression:"form.imgCode"}],staticClass:"va-m inp",attrs:{type:"text",placeholder:"请输入验证码"},domProps:{value:t.form.imgCode},on:{input:function(e){e.target.composing||t.$set(t.form,"imgCode",e.target.value)}}}),o("img",{staticClass:"img-code va-m",attrs:{src:t.imgCodeVal,alt:"图片验证码"},on:{click:t.changeImgCode}})]),o("li",{staticClass:"inp-wrap"},[o("label",{staticClass:"va-m"},[t._v("安全手机:"+t._s(t.walletInfoData.safe_mobile))]),o("br"),o("input",{directives:[{name:"model",rawName:"v-model",value:t.form.verifyCode,expression:"form.verifyCode"}],staticClass:"va-m inp",attrs:{type:"text",placeholder:"请输入验证码"},domProps:{value:t.form.verifyCode},on:{input:function(e){e.target.composing||t.$set(t.form,"verifyCode",e.target.value)}}}),t.yzmSend?o("a",{staticClass:"send-yzm va-m",attrs:{href:"javascript:;"},on:{click:t.getCode}},[t._v(t._s(t.countDownText))]):o("a",{staticClass:"sending-yzm va-m",attrs:{href:"javascript:;"}},[t._v("再次发送("+t._s(t.countDown)+"s)")])])]),o("p",{directives:[{name:"show",rawName:"v-show",value:t.formError,expression:"formError"}],staticClass:"form-error"},[t._v(t._s(t.formMsg))]),o("a",{staticClass:"next",attrs:{href:"javascript:;"},on:{click:t.next}},[t._v("下一步")])])],1)},s=[],r=(o("5f33"),o("bd31")),i=o("8973"),n=o("52c1"),c=o("57af"),m=o("5101"),l=o("365c");i["a"].use(m["e"]);var f={name:"WalletVerify",data:function(){return{title:"验证身份",meaushow:!0,showPassword:!1,yzmSend:!0,countDown:60,countDownText:"发送验证码",form:{verifyCode:"",imgCode:"",password:""},formError:!1,formMsg:"",imgCodeVal:l["a"]+"public/verify"}},computed:Object(r["a"])({},Object(n["b"])({walletInfoData:function(t){return t.wallet.walletInfoData},showImgCode:function(t){return t.wallet.showImgCode},countDownFlag:function(t){return t.wallet.countDownFlag}})),watch:{countDownFlag:function(t){t?(this.yzmSend=!1,this.timeNum()):this.yzmSend=!0}},created:function(){this.$store.dispatch({type:"getWalletInfo"})},methods:{changeShow:function(){this.showPassword=!this.showPassword},timeNum:function(){var t=this,e=setInterval(o,1e3);function o(){t.countDown--,t.countDown<=0&&(clearInterval(e),t.countDown=60,t.countDownText="再次发送",t.yzmSend=!0)}},changeImgCode:function(){this.imgCodeVal=l["a"]+"public/verify?"+(new Date).getTime()},getCode:function(){this.$store.dispatch({type:"sendSafesms",imgCode:this.form.imgCode})},next:function(){var t=new RegExp(/^[a-zA-Z0-9]{6,20}$/);return this.form.password?t.test(this.form.password)?this.form.verifyCode?(this.formError=!1,void this.$store.dispatch({type:"verifySafeMobile",verify_code:this.form.verifyCode,pay_password:this.form.password})):(this.formError=!0,void(this.formMsg="亲,请输入验证码")):(this.formError=!0,void(this.formMsg="亲,密码由8~20位字母、数字组合")):(this.formError=!0,void(this.formMsg="亲,请输入原支付密码"))}},components:{Header:c["a"]}},d=f,u=(o("00aa"),o("8c9c")),p=Object(u["a"])(d,a,s,!1,null,"de3aa920",null);e["default"]=p.exports},dbed:function(t,e,o){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bee38c0c"],{"0316":function(t,a,e){},"03ac":function(t,a,e){"use strict";var i=e("0316"),r=e.n(i);r.a},"4c69":function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("section",{staticClass:"withdraw-detail"},[e("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),e("div",{staticClass:"withdraw-detail-content"},[e("div",{staticClass:"detail-box detail-content-1"},[e("p",{staticClass:"withdraw-record"},[t._v("充值记录")]),e("p",{staticClass:"withdraw-amount"},[t._v("-"+t._s(t.rechargeWithdrawOrderDetail.amount))]),e("p",{staticClass:"withdraw-status"},[t._v("待支付")])]),e("div",{staticClass:"detail-box detail-content-2"},[e("p",{staticClass:"withdraw-type"},[t._v("类型"),e("span",[t._v(t._s(t.rechargeWithdrawOrderDetail.wallet_type))])]),e("p",{staticClass:"withdraw-time"},[t._v("创建时间"),e("span",[t._v(t._s(t.rechargeWithdrawOrderDetail.amount))])]),e("p",{staticClass:"withdraw-num"},[t._v("收款账号"),e("span",[t._v(t._s(t.rechargeWithdrawOrderDetail.amount))])])]),e("div",{staticClass:"detail-box detail-content-3"},[e("p",{staticClass:"withdraw-balance"},[t._v("钱包可用余额"),e("span",[t._v("¥"+t._s(t.rechargeWithdrawOrderDetail.amount))])]),e("p",{staticClass:"withdraw-detail"},[t._v("详情"),e("a",{on:{click:t.goCashier}},[t._v("立即支付 >")])])])])],1)},r=[],s=e("bd31"),c=e("52c1"),d=e("57af"),w={name:"WithdrawDetail",data:function(){return{title:"充值提现详情",meaushow:!0,withdrawAmount:-1256,withdrawStatus:"待支付",withdrawType:"提现单",withdrawTime:"2019-04-05 17:03:01",withdrawNum:"猎芯钱包",withdrawBalance:1200}},computed:Object(s["a"])({},Object(c["b"])({rechargeWithdrawOrderDetail:function(t){return t.wallet.rechargeWithdrawOrderDetail}})),watch:{},created:function(){this.$store.dispatch({type:"rechargeWithdrawOrderIfo",wallet_id:this.$route.params.id})},methods:{goCashier:function(){this.$router.push({path:"/wallet/recharge/"+this.$route.params.id})}},components:{Header:d["a"]}},n=w,h=(e("03ac"),e("8c9c")),l=Object(h["a"])(n,i,r,!1,null,"0429c57e",null);a["default"]=l.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e021251a"],{c96d:function(a,t,s){"use strict";s.r(t);var e=function(){var a=this,t=a.$createElement,s=a._self._c||t;return s("section",{staticClass:"wallet-withdraw"},[s("Header",{attrs:{title:a.title,meaushow:a.meaushow}}),s("div",{staticClass:"withdraw-content"},[s("div",{staticClass:"withdrawUser-ifo"},[s("p",[a._v("银行账号:"+a._s(a.walletInfoData.bank_name)+"("+a._s(a.walletInfoData.bank_account)+")"),s("span",[a._v("储蓄卡")])]),s("p",[a._v("持卡人姓名:"+a._s(a.walletInfoData.bank_user))]),s("p",[a._v("手机号:"+a._s(a.walletInfoData.safe_mobile))])]),s("p",{staticClass:"withdraw-tips"},[s("van-icon",{staticClass:"tips va-m",staticStyle:{"font-size":"16px","margin-right":"0.1rem"},attrs:{name:"warning-o"}}),a._v("提现金额预计1个工作日之后到账,节假日顺延,请耐心等待。\n ")],1),s("div",{staticClass:"withdraw-amount"},[a._m(0),s("span",[a._v("¥")]),s("input",{directives:[{name:"model",rawName:"v-model",value:a.withdrawNum,expression:"withdrawNum"}],staticClass:"money",attrs:{type:"number"},domProps:{value:a.withdrawNum},on:{input:function(t){t.target.composing||(a.withdrawNum=t.target.value)}}}),a.amountNum?s("div",{staticClass:"withdraw-money"},[a._v("可提现金额 "+a._s(a.walletInfoData.wallet_usable_format)+","),s("span",{on:{click:a.withdraw}},[a._v("全部提现")])]):s("div",{staticClass:"amount-tips"},[a._v("输入金额超过可提现金额")])]),s("div",{staticClass:"withdraw-password"},[a._m(1),a.showPassword?[s("input",{directives:[{name:"model",rawName:"v-model",value:a.password,expression:"password"}],staticClass:"va-m inp password",attrs:{type:"password",placeholder:""},domProps:{value:a.password},on:{input:function(t){t.target.composing||(a.password=t.target.value)}}})]:[s("input",{directives:[{name:"model",rawName:"v-model",value:a.password,expression:"password"}],staticClass:"va-m inp password",attrs:{type:"text",placeholder:"请输入支付密码"},domProps:{value:a.password},on:{input:function(t){t.target.composing||(a.password=t.target.value)}}})],a.showPassword?s("van-icon",{staticClass:"va-m f-r",attrs:{name:"closed-eye"},on:{click:a.changeShow}}):s("van-icon",{staticClass:"va-m f-r",attrs:{name:"eye-o"},on:{click:a.changeShow}})],2),s("a",{staticClass:"submit",class:""==a.withdrawNum?"submitNO":"",attrs:{href:"javascript:;"},on:{click:a.submit}},[a._v("提交")])])],1)},i=[function(){var a=this,t=a.$createElement,s=a._self._c||t;return s("p",[s("em",[a._v("*")]),a._v(" 提现金额")])},function(){var a=this,t=a.$createElement,s=a._self._c||t;return s("p",[s("em",[a._v("*")]),a._v(" 支付密码")])}],n=s("bd31"),o=s("8973"),r=s("52c1"),w=s("57af"),l=s("5101");o["a"].use(l["e"]);var c={name:"WalletWithdraw",data:function(){return{title:"钱包提现",meaushow:!0,showPassword:!1,amountNum:!0,password:"",withdrawNum:""}},computed:Object(n["a"])({},Object(r["b"])({walletInfoData:function(a){return a.wallet.walletInfoData}})),watch:{withdrawNum:function(a){a>this.walletInfoData.wallet_usable?this.amountNum=!this.amountNum:this.amountNum=!0}},created:function(){this.$store.dispatch({type:"getWalletInfo"})},methods:{changeShow:function(){this.showPassword=!this.showPassword},withdraw:function(){this.withdrawNum=this.walletInfoData.wallet_usable},submit:function(){""!==this.withdrawNum&&this.$store.dispatch({type:"walletWithdraw",amount:this.withdrawNum,pay_password:this.password})}},components:{Header:w["a"]}},u=c,d=(s("f348"),s("8c9c")),m=Object(d["a"])(u,e,i,!1,null,"252d5cdc",null);t["default"]=m.exports},cfea:function(a,t,s){},f348:function(a,t,s){"use strict";var e=s("cfea"),i=s.n(e);i.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e50c9e6a"],{"31e5":function(t,e,a){"use strict";var s=a("c2d2"),c=a.n(s);c.a},"82d7":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("section",{staticClass:"wallet-cashier"},[a("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),a("div",{staticClass:"cashier-content"},[a("div",{staticClass:"cashier-detail"},[a("p",{staticClass:"order-num"},[t._v("订单编号:"+t._s(t.orderNum))]),a("p",{staticClass:"order-money"},[t._v("¥"+t._s(t.orderMoney))])]),t._m(0),t._m(1),a("a",{staticClass:"pay",attrs:{href:"javascript:;"},on:{click:function(e){return t.pay()}}},[t._v("立即支付")])])],1)},c=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"form-wrap"},[a("li",{staticClass:"inp-wrap"},[a("label",{staticClass:"lineBlock va-m"},[t._v("交易密码")]),a("input",{staticClass:"va-m inp",attrs:{type:"text",placeholder:"请输入交易密码"}})])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",{staticClass:"forget-password"},[a("a",{attrs:{href:"javascript:;"}},[t._v("忘记密码?")])])}],r=a("bd31"),n=a("52c1"),i=a("57af"),l={name:"WalletCashier",data:function(){return{title:"猎芯网收银台",meaushow:!0,orderNum:0xaee669eefd5,orderMoney:523.16}},computed:Object(r["a"])({},Object(n["b"])({})),watch:{},created:function(){},methods:{},components:{Header:i["a"]}},o=l,u=(a("31e5"),a("8c9c")),d=Object(u["a"])(o,s,c,!1,null,"0aa90e7a",null);e["default"]=d.exports},c2d2:function(t,e,a){}}]);
\ No newline at end of file
This diff could not be displayed because it is too large.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment