Commit bd11f08c by 梁建民

钱包

parents 0fdb2bfd 5eda7880
Showing with 2500 additions and 167 deletions
<template>
<div id="app">
<keep-alive exclude="newsDetail,pointchange">
<keep-alive exclude="newsDetail,pointchange,wallet,walletRetrieve,walletDetail,walletRecord,walletStatus,walletWithdraw,walletRecharge">
<router-view class="router-view"></router-view>
</keep-alive>
</div>
......
......@@ -10,27 +10,27 @@ import axios from 'axios'
* urlMarketing marketing营销系统接口
*/
var urlApi, url,urlPc;
var urlApi, url, urlPc;
switch (window.location.hostname) {
case "m.ichunt.com":
urlPc='https://www.ichunt.com/v3/';
urlPc = 'https://www.ichunt.com/v3/';
url = 'https://m.ichunt.com/v3/';
urlApi = 'https://api.ichunt.com/';
break;
case "szm.ichunt.com":
urlApi = 'https://szapi.ichunt.com/';
url = 'https://szm.ichunt.com/v3/';
urlPc='https://sz.ichunt.com/v3/';
urlPc = 'https://sz.ichunt.com/v3/';
break;
case "tm.ichunt.com":
url = 'https://tm.ichunt.com/v3/';
urlApi = 'https://api.ichunt.com/';
urlPc='https://t.ichunt.com/v3/';
urlPc = 'https://t.ichunt.com/v3/';
break;
case "m.liexin.com":
url = 'http://m.liexin.com/v3/';
urlApi = 'http://api.liexin.com/';
urlPc='http://www.liexin.com/v3/';
urlPc = 'http://www.liexin.com/v3/';
break;
default:
//本地proxy配置参考vue.config.js
......@@ -40,6 +40,7 @@ switch (window.location.hostname) {
export const productionUrlPc = urlPc;
export const productionUrl = url;
export const productionUrlApi = urlApi;
export const apis = {
/**
* 首页
......@@ -78,111 +79,199 @@ export const apis = {
*/
chainFind: productionUrl + 'Service/chainFind',
/**
*微信菜单文章锦集api
*/
wechatArticle: productionUrlApi + 'Wechat/WechatArticleJinJi/article',
*微信菜单文章锦集api
*/
wechatArticle: productionUrlApi + 'Wechat/WechatArticleJinJi/article',
/**
*新闻列表api
*/
newsArticle: productionUrlApi + 'Article/Article/index',
newsArticle: productionUrlApi + 'Article/Article/index',
/**
* *
* 新闻详情api
* *
*/
newsArticleDetail: productionUrlApi + 'Article/Article/details',
newsArticleDetail: productionUrlApi + 'Article/Article/details',
/**
* *
* 新闻详情api
* *
*/
newsArticleDetailAd: productionUrl + 'api/newsdetailad',
newsArticleDetailAd: productionUrl + 'api/newsdetailad',
/**
* *
* 登录接口api
* *
*/
actionLogin: productionUrlApi + 'login/action',
actionLogin: productionUrlApi + 'login/action',
/**
* *
* 获取短信api
* *
*/
smsVerify: productionUrlApi + 'public/smsVerify',
smsVerify: productionUrlApi + 'public/smsVerify',
/**
* *
* 提交反馈api
* *
*/
feedback: productionUrlApi + 'help/help/feedback',
feedback: productionUrlApi + 'help/help/feedback',
/**
* *
* 获取当前积分api
* *
*/
getUserCurrentPoint: productionUrlApi + '/point/getUserCurrentPoint',
getUserCurrentPoint: productionUrlApi + '/point/getUserCurrentPoint',
/**
* *
* 是否签到api
* *
*/
isSignInToday: productionUrlApi + 'signIn/isSignInToday',
isSignInToday: productionUrlApi + 'signIn/isSignInToday',
/**
* *
* 签到api
* *
*/
signIn: productionUrlApi + 'signIn/signIn',
signIn: productionUrlApi + 'signIn/signIn',
/**
* *
* 积分商城是否填写信息完成api
* *
*/
checkMktScore: productionUrlApi + 'user/checkMktScore',
checkMktScore: productionUrlApi + 'user/checkMktScore',
/**
* *
* 积分商城是所有奖品api
* *
*/
getPointPrize: productionUrlApi + 'point/getPointPrize',
getPointPrize: productionUrlApi + 'point/getPointPrize',
/**
* *
* 积分商城兑换奖品api
* *
*/
exchangePrize: productionUrlApi + 'point/exchangePrize',
exchangePrize: productionUrlApi + 'point/exchangePrize',
/**
* *
* 积分商城积分明细api
* *
*/
getUserPointExchangeDetail: productionUrlApi + 'point/getUserPointExchangeDetail',
getUserPointExchangeDetail: productionUrlApi + 'point/getUserPointExchangeDetail',
/**
* *
* 收货地址api
* *
*/
recvlist: productionUrlApi + 'address/recvlist',
recvlist: productionUrlApi + 'address/recvlist',
/**
* *
* 积分规则api
* *
*/
pointruleApi:productionUrl + 'api/pointrule',
pointruleApi: productionUrl + 'api/pointrule',
/**
* *
* 积分收入支出明细api
* *
*/
getUserPointDetail:productionUrlApi + 'point/getUserPointDetail',
getUserPointDetail: productionUrlApi + 'point/getUserPointDetail',
/**
* *
* 积分兑换明细api
* *
*/
getUserPointExchangeList:productionUrlApi + 'point/getUserPointExchangeList',
getUserPointExchangeList: productionUrlApi + 'point/getUserPointExchangeList',
/**
* 获取钱包信息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',
/**
* *
* 查看订单信息api
* *
*/
orderInfo: productionUrlApi + 'order/info'
};
}
export const services = {
index(params) {
return axios.post(apis.index, params)
......@@ -238,45 +327,92 @@ export const services = {
newsArticle(params) {
return axios.post(apis.newsArticle, params)
},
newsArticleDetail(params){
return axios.post(apis.newsArticleDetail,params)
newsArticleDetail(params) {
return axios.post(apis.newsArticleDetail, params)
},
newsArticleDetailAd(params){
return axios.post(apis.newsArticleDetailAd,params)
newsArticleDetailAd(params) {
return axios.post(apis.newsArticleDetailAd, params)
},
getUserCurrentPoint(params){
return axios.post(apis.getUserCurrentPoint,params)
getUserCurrentPoint(params) {
return axios.post(apis.getUserCurrentPoint, params)
},
isSignInToday(params){
return axios.post(apis.isSignInToday,params)
isSignInToday(params) {
return axios.post(apis.isSignInToday, params)
},
signIn(params){
return axios.post(apis.signIn,params)
signIn(params) {
return axios.post(apis.signIn, params)
},
checkMktScore(params){
return axios.post(apis.checkMktScore,params)
checkMktScore(params) {
return axios.post(apis.checkMktScore, params)
},
getPointPrize(params){
return axios.post(apis.getPointPrize,params)
getPointPrize(params) {
return axios.post(apis.getPointPrize, params)
},
exchangePrize(params){
return axios.post(apis.exchangePrize,params)
exchangePrize(params) {
return axios.post(apis.exchangePrize, params)
},
recvlist(params){
return axios.post(apis.recvlist,params)
recvlist(params) {
return axios.post(apis.recvlist, params)
},
getUserPointExchangeDetail(params){
return axios.post(apis.getUserPointExchangeDetail,params)
getUserPointExchangeDetail(params) {
return axios.post(apis.getUserPointExchangeDetail, params)
},
pointruleApi(params){
return axios.post(apis.pointruleApi,params)
pointruleApi(params) {
return axios.post(apis.pointruleApi, params)
},
getUserPointDetail(params){
return axios.post(apis.getUserPointDetail,params)
getUserPointDetail(params) {
return axios.post(apis.getUserPointDetail, params)
},
getUserPointExchangeList(params){
return axios.post(apis.getUserPointExchangeList,params)
getUserPointExchangeList(params) {
return axios.post(apis.getUserPointExchangeList, 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)
},
orderInfo(params) {
return axios.post(apis.orderInfo, params)
}
};
......@@ -32,40 +32,28 @@ Vue.prototype.$http = axios;
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
axios.defaults.withCredentials = true;
axios.interceptors.request.use(function (config) {
if(config.method=='post'){
if(config.data){
if(config.data.indexOf("&pf=2")==-1){
config.data+="&pf="+window.lxpf;
if (config.method == 'post') {
if (config.data) {
if (config.data.indexOf("&pf=2") == -1) {
config.data += "&pf=" + window.lxpf;
}
}else{
config.data="pf="+window.lxpf
} else {
config.data = "pf=" + window.lxpf
}
}else if(config.method=='get'){
} else if (config.method == 'get') {
let paramsArr = Object.keys(config.params);
if(paramsArr.length){
if(paramsArr.indexOf('pf')==-1){
config.params = {
pf:window.lxpf,
...config.params
}
}
}else{
if (paramsArr.length) {
if (paramsArr.indexOf('pf') == -1) {
config.params = {
pf:window.lxpf,
pf: window.lxpf,
...config.params
}
}
} else {
config.params = {
pf: window.lxpf
}
}
// if(config.params.data){
// if( config.params.data.indexOf("&pf=2")==-1){
// config.params = {
// pf:2,
// ...config.params
// }
// }
// }else{
// config.params = {
// pf:2,
// }
// }
}
return config;
......@@ -82,9 +70,9 @@ if (Yo4teW_gid == null) {
}
//微信授权
var params={
var params = {
urlhash: window.location.hash
}
};
params = Util.getParams(params);
Services.wxaccess(params).then((res) => {
let data = res.data;
......@@ -93,7 +81,6 @@ Services.wxaccess(params).then((res) => {
}
});
//路由进入前
//路由页面回跳处理 mate里面参数 back:true 开启登录态回跳
router.beforeEach((to, from, next) => {
const title = to.meta && to.meta.title;
......@@ -101,15 +88,15 @@ router.beforeEach((to, from, next) => {
document.title = title;
}
//页面回跳
var backurl_g=to.meta.back||""
if(backurl_g){
var loginpta=Util.isLogin()?true:false;
if(!loginpta){
window.location.href='/v3/login?referer='+encodeURIComponent(window.location.href)
}else{
var backurl_g = to.meta.back || "";
if (backurl_g) {
var loginpta = Util.isLogin() ? true : false;
if (!loginpta) {
window.location.href = '/v3/login?referer=' + encodeURIComponent(window.location.href);
} else {
next();
}
}else{
} else {
next();
}
});
......@@ -118,4 +105,4 @@ new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')
}).$mount('#app');
......@@ -14,9 +14,25 @@ const Point = resolve => require(['@/views/pointmall/pointDetail'], resolve);
const Exchange = resolve => require(['@/views/pointmall/exchange'], resolve);
const Pointchange = resolve => require(['@/views/pointmall/pointchange'], resolve);
const Pointrule = resolve => require(['@/views/pointmall/pointrule'], resolve);
Vue.use(Router)
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);
const routes=[
Vue.use(Router);
const routes = [
{
path: '/',
component: Home,
......@@ -40,7 +56,7 @@ const routes=[
},
{
path: '/wxlist',
name:'Wxlist',
name: 'Wxlist',
component: Wxlist,
meta: {
title: '猎芯网'
......@@ -48,7 +64,7 @@ const routes=[
},
{
path: '/news',
name:'News',
name: 'News',
component: News,
meta: {
title: '猎芯网-新闻列表'
......@@ -56,7 +72,7 @@ const routes=[
},
{
path: '/seo',
name:'Seo',
name: 'Seo',
component: Seo,
meta: {
title: '猎芯网——京东战投元器件商城'
......@@ -64,7 +80,7 @@ const routes=[
},
{
path: '/findthing',
name:'Findthing',
name: 'Findthing',
component: Findthing,
meta: {
title: '猎芯网——快速找料'
......@@ -72,7 +88,7 @@ const routes=[
},
{
path: '/pointmall',
name:'Pointmall',
name: 'Pointmall',
component: Pointmall,
meta: {
title: '积分商城'
......@@ -80,50 +96,148 @@ const routes=[
},
{
path: '/pointchange',
name:'Pointchange',
name: 'Pointchange',
component: Pointchange,
meta: {
title: '兑换成功',
back:true
back: true
}
},
{
path: '/exchange',
component:Exchange,
component: Exchange,
meta: {
title: '兑换记录',
back:true
back: true
}
},
{
path: '/point',
component:Point,
component: Point,
meta: {
title: '积分明细',
back:true
back: true
}
},
{
path: '/pointrule',
component:Pointrule,
component: Pointrule,
meta: {
title: '积分规则'
}
},
{
path: '/news/detail/:art_id/:cat_id',
name:'NewsDetail',
name: 'NewsDetail',
component: NewsDetail,
meta: {
title: '猎芯网-新闻详情'
}
},
{
path: '/wallet',
component: Wallet,
meta: {
title: '猎芯网-我的钱包'
}
},
{
path: '/wallet/status',
component: WalletStatus,
meta: {
title: '猎芯网-钱包状态'
}
},
{
path: '/wallet/activate',
component: WalletActivate,
meta: {
title: '猎芯网-激活钱包'
}
},
{
path: '/wallet/recharge',
component: WalletRecharge,
meta: {
title: '猎芯网-钱包充值'
}
},
{
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: '/'
}
]
];
routes.forEach(route => {
route.path = route.path || '/' + (route.name || '');
......@@ -132,7 +246,6 @@ routes.forEach(route => {
const router = new Router({routes});
export {
router
};
\ No newline at end of file
......@@ -48,10 +48,18 @@ const actions = {
loginCheck({commit}, payload) {
Services.loginCheck().then((res) => {
let data = res.data;
commit({
type: 'loginCheck',
data: data
});
if (payload.is_jump) {
if (data.err_code == 11010) {
window.location.href = '/h5/view/'
} else if (data.err_code == 11030) {
window.location.href = '/v3/login'
}
} else {
commit({
type: 'loginCheck',
data: data
});
}
}).catch(function (err) {
console.log('网络出现问题,请重试');
});
......@@ -62,7 +70,7 @@ const actions = {
searchModel: ''
}
Services.customsrService(params).then((res) => {
}).catch(function (err) {
console.log('网络出现问题,请重试');
});
......
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'
......@@ -13,10 +14,13 @@ import pointchange from './modules/pointmall/pointchange'
import pointrule from './modules/pointmall/pointrule'
import pointdetail from './modules/pointmall/pointdetail'
import exchange from './modules/pointmall/exchange'
Vue.use(Vuex)
Vue.use(Vuex);
export default new Vuex.Store({
modules: {
wallet,
home,
common,
smt,
......
<template>
<section>
<section class="head-dom">
<div class="header-page clr">
<i class="icon iconfont icon-xiangzuo fl" @click="historyback"></i>
<h3 class="title fl">{{title}}</h3>
<Menu v-if="meaushow" :color="color"></Menu>
<Menu v-if="meaushow" :color="color"></Menu>
</div>
</section>
</template>
<script>
import Menu from '@/views/common/Menu.vue';
export default {
import Menu from '@/views/common/Menu.vue';
export default {
name: 'header-page',
props: {
color: {
......@@ -20,23 +21,21 @@ export default {
type: String,
default: '猎芯网'
},
meaushow:{
meaushow: {
type: Boolean,
default: false
}
},
data() {
return {
}
return {}
},
mounted() {
},
methods: {
historyback:function(){
history.go(-1)
}
historyback: function () {
history.go(-1)
}
},
components: {
Menu
......@@ -44,19 +43,37 @@ export default {
}
</script>
<style lang="scss">
body{padding-top:40px;}
.header-page{
<style lang="scss" scoped>
.head-dom {
padding-top: 40px;
height:40px;
width:100%;
padding: 0 0.2rem;
position:fixed;
z-index: 998;
top:0;
background:#fafafa;
i{font-size:18px;margin-top:10px;color:#666}
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:0px 10%!important;}
}
.header-page {
height: 40px;
width: 100%;
padding: 0 0.2rem;
position: fixed;
z-index: 998;
top: 0;
background: #fafafa;
i {
font-size: 18px;
margin-top: 10px;
color: #666
}
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: 0px 10% !important;
}
}
}
</style>
<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" v-show="step1">
<ul class="form-wrap">
<li class="inp-wrap">
<label class="va-m">安全手机号</label><br>
<input type="number" placeholder="请输入手机号" v-model="form.safeMobile" class="va-m inp"/>
</li>
<li class="inp-wrap yzmImg" v-show="activateShowImgCode">
<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">验证码</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" :class="{noClick: isClick}" @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>
<template v-if="showPassword">
<input type="password" placeholder="密码由8~20位字母、数字组合而成" 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: 'WalletActivate',
data() {
return {
title: "激活钱包",
meaushow: true,
showPassword: true, //是否显示密码
showPasswordConfirm: true, //是否显示密码确认
yzmSend: true, //验证码发送
countDown: 60,
countDownText: '发送验证码',
step1: true,
step2: false,
form: {
safeMobile: '',
verifyCode: '',
imgCode: '',
password: '',
passwordConfirm: ''
},
formError: false,
formMsg: '',
imgCodeVal: productionUrlPc+"public/verify",
isClick: true
}
},
computed: {
...mapState({
activateShowImgCode: state => state.wallet.activateShowImgCode,
activateCountDownFlag: state => state.wallet.activateCountDownFlag,
})
},
watch: {
activateCountDownFlag(value) {
if(value){
this.yzmSend = false;
this.timeNum();
}else{
this.yzmSend = true;
}
},
form: {
deep: true,
handler: function(val) {
if (val.safeMobile && val.verifyCode) {
this.isClick=false
}else{
this.isClick=true;
}
}
}
},
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;
}
}
},
//获取图片验证码
changeImgCode() {
this.imgCodeVal = productionUrlPc + "public/verify?" + new Date().getTime()
},
verify() {
if (!this.form.safeMobile) {
this.formError = true;
this.formMsg = '亲,请输入手机';
return;
}
var tel_reg = /^1[34578]\d{9}$/;
if (!tel_reg.test(this.form.safeMobile)) {
this.formError = true;
this.formMsg = '亲,手机格式不正确';
return;
}
return true;
},
getCode() {
if(this.verify()){
this.$store.dispatch({ //actions分发
type: 'smsVerifyActivate',
mobile: this.form.safeMobile,
imgCode: this.form.imgCode
})
}
},
next() { //下一步
if (this.isClick) {return}
if(this.verify()){
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
}
}
</script>
<style scoped>
@import "../../assets/css/wallet/wallet.css";
</style>
\ No newline at end of file
<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() {
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">订单编号:{{orderInfoData.order_sn}}</p>
<p class="order-money">{{orderInfoData.order_amount_format}}</p>
</div>
<ul class="form-wrap">
<li class="inp-wrap">
<label class="lineBlock va-m">交易密码</label>
<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"/>
</li>
</ul>
<p class="forget-password"><a href="javascript:;" @click="forget">忘记密码?</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';
import { Icon } from 'vant';
Vue.use(Icon);
export default {
name: 'WalletCashier',
data() {
return {
title:"猎芯网收银台",
meaushow:true,
showPassword: true, //是否显示密码
password: '',
}
},
computed: {
...mapState({
orderInfoData: state => state.wallet.orderInfoData
})
},
watch: {
},
created() {
this.$store.dispatch({
type: 'orderInfo',
order_id: this.$route.query.order_id || ''
});
},
methods: {
changeShow() {
this.showPassword = !this.showPassword;
},
forget() {
this.$router.push({path: '/wallet/retrieve'});
},
pay() {
this.$store.dispatch({
type: 'walletPayTodo',
pay_code: 'wallet',
pay_password: this.password, //支付密码 pay_code=wallet时传入
rescue: 1,
types: 0,
site_type: 2,
order_id: this.$route.query.order_id || ''
});
},
},
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" 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">{{walletInfoData.wallet_usable}}</span></p>
<p class="text-4 lineBlock"><a href="/v3/help">常见问题 ></a></p>
</div>
<div class="balance-handle">
<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>
<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>
<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>
<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>
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
import { Dialog } from 'vant';
Vue.use(Dialog);
export default {
name: 'wallet',
data() {
return {
title: "我的钱包",
meaushow: true
}
},
beforeRouteEnter(to, from, next) {
next(vm => {
vm.$store.dispatch({
type: 'loginCheck',
is_jump: true
});
})
},
computed: {
...mapState({
walletInfoData: state => state.wallet.walletInfoData
})
},
created() {
this.$store.dispatch({
type: 'getWalletInfo'
})
},
methods: {
withdraw() {
if (this.walletInfoData.wallet_status == 1 && !(this.walletInfoData.bank_account === null)) {
//钱包状态:1启用,-1未启用,-2锁定
this.$router.push({path: '/wallet/withdraw'});
}else{
Dialog.confirm({
title: '提醒',
message: '请先去绑卡'
}).then(() => {
this.$router.push({path: '/wallet/bind'});
}).catch(() => {
// on cancel
});
}
},
activate() {
this.$router.push({path: '/wallet/activate'});
},
recharge() {
this.$router.push({path: '/wallet/recharge'});
}
},
components: {
Header
}
}
</script>
<style scoped>
@import "../../assets/css/wallet/wallet.css";
</style>
\ No newline at end of file
<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
<template>
<section class="wallet-recharge">
<Header :title="title" :meaushow='meaushow'></Header>
<div class="recharge-content">
<div class="wallet-account">钱包账号:{{walletInfoData.safe_mobile}}</div>
<div class="recharge-amount">
<p>充值金额</p>
<span></span><input type="number" class="money" v-model="inputNum"/>
</div>
<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>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
import {RadioGroup, Radio, Cell, CellGroup} from 'vant';
import {productionUrlApi} from '../../api/index'
Vue.use(RadioGroup).use(Radio).use(Cell).use(CellGroup);
export default {
name: 'walletRecharge',
data() {
return {
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 = productionUrlApi + "pay/todo?pay_code=alipay&rescue=1&types=1&pay_mode=2&site_type=2&order_id=" + value;
// } else if (this.radio == 3) { //中国银联
// window.location.href = productionUrlApi + "pay/todo?pay_code=unionpay&rescue=1&types=1&site_type=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
}
}
</script>
<style scoped>
@import "../../assets/css/wallet/wallet.css";
</style>
\ No newline at end of file
<template>
<section class="wallet-record">
<Header :title="title" :meaushow='meaushow'></Header>
<div class="record-content">
<div class="record-type" @click="showPopType">{{text}}<van-icon name="arrow-down" class="va-m" style="font-size:20px;margin-left: 5px;"/> </div>
<div class="record-date">
<span @click="showPopDate">{{recordYear}}{{recordMonth}}<van-icon name="arrow-down" class="va-m" style="font-size:16px;"/></span>
</div>
<ul class="record-detail">
<template v-if="walletRecordData.length > 0">
<li v-for="(item,index) in walletRecordData" :key="index">
<div class="record-item"><span>{{item.wallet_type == 1 ? '钱包充值' : '钱包提现'}}</span><br/>{{item.create_time}}</div>
<div class="record-num" v-if="item.wallet_type == 2">
{{item.amount_format}}<br/>
<span v-if="item.status == 1" class="withdrawText">提现中</span>
<span v-else class="successText">已完成</span>
</div>
<div class="record-num" v-if="item.wallet_type == 1">
{{item.amount_format}}<br/>
<span v-if="item.status == 1" class="rechargeBtn" @click="detail(item.amount)">待支付</span>
<span v-else class="successText">已完成</span>
</div>
</li>
</template>
<template v-else>
<li class="no-data">
<p style="color: #333;width: 80%;margin: 0 auto;font-size: 13px;margin-top: 28px;">您的钱包当前还没有记录哦,去看看商品吧~ <a style="color: #1080d0;" href="/v3/s">去搜索</a></p>
</li>
</template>
</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>
<!--记录类型弹出框-->
<div class="dialog-layer-shade" v-if="dialog">
<div class="dialog-layer">
<p class="tit">交易类型</p>
<ul class="tab boxsiz">
<li :class="{'curr':active==index}" v-for="(item,index) in columns" :key="index" @click="onTypeConfirm(item.keyId,index)">{{item.text}}</li>
</ul>
<a href="javascript:;" class="btn" @click="dialog=false">取消</a>
</div>
</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: 'walletRecord',
data() {
return {
title: "充值提现记录",
text:'全部',
meaushow: true,
recordYear: new Date().getFullYear(),
recordMonth: (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: '',
dialog:false,
active:0,
columns: [
{"keyId": '', "text": "全部"},
{"keyId": 1, "text": "钱包充值"},
{"keyId": 2, "text": "钱包提现"}
]
}
},
computed: {
...mapState({
walletRecordData: state => state.wallet.walletRecordData
})
},
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: 'walletRecordList',
wallet_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() {
this.dialog=!this.dialog;
},
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.recordYear = this.recordYear;
this.recordMonth = this.recordMonth;
},
onDateConfirm() {
this.dateShow = false;
this.recordYear = this.updateYear || this.recordYear;
this.recordMonth = this.updateMonth || this.recordMonth;
//获取某年某月的第一天
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: 'walletRecordList',
wallet_type: this.typeCheckedkeyId || '',
stime: getMonthFirstDay(this.recordYear, this.recordMonth),
etime: getMonthLastDay(this.recordYear, this.recordMonth)
})
},
onTypeConfirm(value, index) {
this.dialog = false;
this.active=index;
this.text=this.columns[index].text;
this.typeCheckedkeyId = value.keyId;
this.typeCheckedText = value.text;
this.recordYear = this.updateYear || this.recordYear;
this.recordMonth = this.updateMonth || this.recordMonth;
//获取某年某月的第一天
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: 'walletRecordList',
wallet_type: value,
stime: getMonthFirstDay(this.recordYear, this.recordMonth),
etime: getMonthLastDay(this.recordYear, this.recordMonth)
})
},
onTypeCancel() {
this.typeShow = false;
},
detail(amount) { //待支付的钱包充值订单,可跳去查看详情
//直接调用$router.push实现携带参数的跳转
this.$router.push({
path: '/wallet/recharge',
query: {
amount: amount
}
})
}
},
components: {
Header
}
}
</script>
<style scoped>
@import "../../assets/css/wallet/wallet.css";
</style>
\ No newline at end of file
<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="retieveShowImgCode">
<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="密码由6~20位字母、数字组合而成" class="va-m inp" v-model="form.password"/>
</template>
<template v-else>
<input type="text" placeholder="密码由6~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: true, //是否显示密码
showPasswordConfirm: true, //是否显示密码确认
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,
retieveShowImgCode: state => state.wallet.retieveShowImgCode,
retieveCountDownFlag: state => state.wallet.retieveCountDownFlag,
passwordToken: state => state.wallet.passwordToken
})
},
watch: {
retieveCountDownFlag(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.$store.dispatch({ //actions分发
type: 'smsVerifyRetrieve',
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]{6,20}$/); //^表示开始 $表示结束 6~20位字母和数字组合
if (!this.form.password) {
this.formError = true;
this.formMsg = '亲,请输入支付密码';
return;
}
if (!password_reg.test(this.form.password)) {
this.formError = true;
this.formMsg = '亲,密码由6~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" v-if="walletInfoData.wallet_freeze_format">
<ul class="form-wrap">
<li class="inp-wrap">
<label class="lineBlock va-m">冻结余额</label>
<input readonly="readonly" v-if="walletInfoData.wallet_status !== 1" type="text" value="¥0.00" class="va-m inp"/>
<input readonly="readonly" 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 readonly="readonly" v-if="walletInfoData.wallet_status !== 1" type="text" value="未启用" class="va-m inp"/>
<input readonly="readonly" v-else type="text" value="已启用" class="va-m inp"/>
</li>
<li class="inp-wrap">
<label class="lineBlock va-m">支付密码</label>
<input readonly="readonly" v-if="walletInfoData.wallet_status !== 1" type="text" value="未启用" class="va-m inp"/>
<input readonly="readonly" v-else type="text" value="已启用" class="va-m inp"/>
<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 readonly="readonly" v-if="walletInfoData.bank_name == null" type="text" value="未绑定" class="va-m inp"/>
<input readonly="readonly" 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="walletInfoData.wallet_status !== 1" href="javascript:;" class="submit" @click="submit">激活</a>
</div>
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
import { Icon,Dialog } from 'vant';
Vue.use(Icon).use(Dialog);
export default {
name: 'walletStatus',
data() {
return {
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/verify'});
}
},
components: {
Header
}
}
</script>
<style scoped>
@import "../../assets/css/wallet/wallet.css";
</style>
\ No newline at end of file
<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="verifyShowImgCode">
<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, Toast} from 'vant';
import {productionUrlPc} from '../../api/index';
Vue.use(Icon);
export default {
name: 'WalletVerify',
data() {
return {
title: "验证身份",
meaushow: true,
showPassword: true, //是否显示密码
yzmSend: true, //验证码发送
countDown: 60,
countDownText: '发送验证码',
form: {
verifyCode: '',
imgCode: '',
password: '',
},
formError: false,
formMsg: '',
imgCodeVal: productionUrlPc + "public/verify",
}
},
computed: {
...mapState({
walletInfoData: state => state.wallet.walletInfoData,
verifyShowImgCode: state => state.wallet.verifyShowImgCode,
verifyCountDownFlag: state => state.wallet.verifyCountDownFlag,
})
},
watch: {
verifyCountDownFlag(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() {
//下一步
var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合
if (!this.form.password) {
Toast({
message: '亲,请输入原支付密码',
duration: 2000
});
return;
}
if (!password_reg.test(this.form.password)) {
Toast({
message: '亲,密码由6~20位字母、数字组合',
duration: 2000
});
return;
}
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 = '亲,密码由6~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">{{text}}
<van-icon name="arrow-down" class="va-m" style="font-size:20px;margin-left: 5px;"/>
</div>
<div class="trade-date">
<span @click="showPopDate">{{dateYear}}{{dateMonth}}<van-icon name="arrow-down" class="va-m" style="font-size:16px;"/></span>
</div>
<ul class="trade-detail">
<template v-if="walletListData.length > 0">
<li v-for="(item,index) in walletListData" :key="index">
<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>
</template>
<template v-else>
<li class="no-data">
<i class="iconfont icon-zanwushuju" style="color: #999;margin: 0 auto;display: block;text-align: center;font-size: 90px;padding-top: 60px;"></i>
<p style="color: #333;width: 80%;margin: 0 auto;font-size: 13px;margin-top: 28px;">您的钱包当前还没有记录哦,去看看商品吧~ <a style="color: #1080d0;" href="/v3/s">去搜索</a></p>
</li>
</template>
</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 class="dialog-layer-shade" v-if="dialog">
<div class="dialog-layer">
<p class="tit">交易类型</p>
<ul class="tab boxsiz">
<li :class="{'curr':active==index}" v-for="(item,index) in columns" :key="index" @click="onTypeConfirm(item.keyId,index)">{{item.text}}</li>
</ul>
<a href="javascript:;" class="btn" @click="dialog=false">取消</a>
</div>
</div>
</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: '',
text: '全部交易类型',
dialog:false,
active:0,
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() {
this.dialog=!this.dialog;
},
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.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: this.typeCheckedkeyId || '',
stime: getMonthFirstDay(this.dateYear, this.dateMonth),
etime: getMonthLastDay(this.dateYear, this.dateMonth)
})
},
onTypeConfirm(value, index) {
this.dialog = false;
this.active=index;
this.text=this.columns[index].text;
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,
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>
<button :disabled="amountWithdrawFlag" class="submit" :class="withdrawNum == '' || amountWithdrawFlag ? 'submitNO' : ''" @click="submit">提交</button>
</div>
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import Header from '@/views/common/Header.vue';
import {Icon, Toast} from 'vant';
Vue.use(Icon);
export default {
name: 'walletWithdraw',
data() {
return {
title: "钱包提现",
meaushow: true,
showPassword: true, //是否显示密码
amountNum: true,
password: '',
withdrawNum: '',
clickFlag: true
}
},
computed: {
...mapState({
walletInfoData: state => state.wallet.walletInfoData,
amountWithdrawFlag: state => state.wallet.amountWithdrawFlag
})
},
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 !== '') {
if (this.password) {
//提现申请
this.$store.dispatch({
type: 'walletWithdraw',
amount: this.withdrawNum,
pay_password: this.password
});
} else {
Toast({
message: '请输入提现密码'
});
}
}
}
},
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
.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}.head-dom[data-v-3efd14ca]{padding-top:40px}.head-dom .header-page[data-v-3efd14ca]{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.head-dom .header-page i[data-v-3efd14ca]{font-size:18px;margin-top:10px;color:#666}.head-dom .header-page h3[data-v-3efd14ca]{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}.point-mall-change{padding:0 12px;padding-top:44px}.change-head-img{height:80px;width:90px;margin:0 auto;display:block;margin-bottom:30px;margin-top:50px}.tip-success-change{text-align:center;color:#333;font-size:16px}.tip-success-change b{color:#1080d0}.change-rule-tip,.check-change-tip{color:#333;font-size:12px;margin:14px 0;text-align:center}.check-change-tip{color:#666}.go-change{width:220px;height:32px;line-height:31px;border-radius:20px;border:1px solid #1080d0;color:#1080d0;text-align:center;margin:0 auto;cursor:pointer;display:block;font-size:14px;margin-top:30px}.point-addersstip{color:#333;font-size:12px;text-align:center;margin:15px 0}.point-adderss-box{width:272px;min-height:90px;border:1px solid #e5e5e5;border-radius:5px;margin:0 auto;margin-top:15px;padding:10px;color:#666;font-size:12px}.inline-block-text,.inline-block-text div{display:inline-block;vertical-align:top}.pce80{width:200px}.address-link{width:220px;height:32px;line-height:32px;border-radius:20px;border:1px solid #1080d0;color:#1080d0;text-align:center;cursor:pointer;display:block;margin:0 auto;margin-top:25px;font-size:14px}.address-link:hover{color:#fff;background:#1080d0}.no-point-address{text-align:center;padding-top:25px}
\ 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}.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}.head-dom[data-v-3efd14ca]{padding-top:40px}.head-dom .header-page[data-v-3efd14ca]{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.head-dom .header-page i[data-v-3efd14ca]{font-size:18px;margin-top:10px;color:#666}.head-dom .header-page h3[data-v-3efd14ca]{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
.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}.head-dom[data-v-3efd14ca]{padding-top:40px}.head-dom .header-page[data-v-3efd14ca]{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.head-dom .header-page i[data-v-3efd14ca]{font-size:18px;margin-top:10px;color:#666}.head-dom .header-page h3[data-v-3efd14ca]{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}.exchange{font-family:Helvetica Neue,Helvetica,sans-serif;position:relative;height:100%;overflow:hidden}.exchange .f-r{float:right}.exchange .f-l{float:left}.exchange .point-list-head1{height:42px;line-height:42px;padding:0 5%;border-bottom:1px solid #e1e1e1;width:100%;display:inline;white-space:nowrap;overflow-x:scroll;float:left;overflow-y:hidden}.exchange .point-list-head1 li{display:inline-block;width:30%;text-align:center;font-size:16px;height:42px;line-height:42px;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box}.exchange .point-list-head1 li.act{color:#1080d0;border-bottom:2px solid #1080d0}.exchange .exchange_content{position:absolute;top:42px;left:0;right:0;padding:0 .32rem;bottom:0;overflow-y:auto}.exchange .exchange_content .data-group{border-bottom:1px solid #e1e1e1;-webkit-box-sizing:border-box;box-sizing:border-box}.exchange .exchange_content .data-group .f-l{height:70px;padding-top:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.exchange .exchange_content .data-group .f-l .imgbox{overflow:hidden;margin-right:10px}.exchange .exchange_content .data-group .f-l .imgbox img{width:2rem;height:1.33rem;border-radius:4px}.exchange .exchange_content .data-group .f-l.infotext{width:3.6rem}.exchange .exchange_content .data-group .f-l.infotext .boxtextx{height:32.5px;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:16.5px;color:#333;font-size:.37rem}.exchange .exchange_content .data-group .f-l.infotext span{color:#999;font-size:.32rem}.exchange .exchange_content .data-group .f-r{height:70px;line-height:70px;color:#ffa200;font-size:.37rem}
\ 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}.head-dom[data-v-3efd14ca]{padding-top:40px}.head-dom .header-page[data-v-3efd14ca]{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.head-dom .header-page i[data-v-3efd14ca]{font-size:18px;margin-top:10px;color:#666}.head-dom .header-page h3[data-v-3efd14ca]{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}.pointer-detail{font-family:Helvetica Neue,Helvetica,sans-serif;position:relative;height:100%;overflow:hidden}.pointer-detail .f-r{float:right}.pointer-detail .f-l{float:left}.pointer-detail .point-list-head{padding:0 .24rem;border-bottom:1px solid #e1e1e1}.pointer-detail .point-list-head,.pointer-detail .point-list-head .f-l{height:42px;line-height:42px;-webkit-box-sizing:border-box;box-sizing:border-box}.pointer-detail .point-list-head .f-l{width:20%;text-align:center;font-size:16px;cursor:pointer}.pointer-detail .point-list-head .f-l.act{color:#1080d0;border-bottom:2px solid #1080d0}.pointer-detail .point-list-head .f-r{color:#666;font-size:12px}.pointer-detail .point-list-head .f-r font{color:#ffa200;font-size:18px}.pointer-detail .point_content{position:absolute;top:42px;left:0;right:0;padding:0 12px;bottom:0;overflow-y:auto}.pointer-detail .point_content .has_data .data-group{height:60px;border-bottom:1px solid #e1e1e1}.pointer-detail .point_content .has_data .data-group .f-l{height:60px;padding-top:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.pointer-detail .point_content .has_data .data-group .f-l div{color:#333;font-size:14px;line-height:21px}.pointer-detail .point_content .has_data .data-group .f-l span{color:#999;font-size:12px;line-height:21px}.pointer-detail .point_content .has_data .data-group .f-r{line-height:60px;height:60px;color:#ffa200;font-size:18px}
\ 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}.head-dom[data-v-3efd14ca]{padding-top:40px}.head-dom .header-page[data-v-3efd14ca]{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.head-dom .header-page i[data-v-3efd14ca]{font-size:18px;margin-top:10px;color:#666}.head-dom .header-page h3[data-v-3efd14ca]{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}.pointmall .point-mall-head{padding:15px 12px;background:#fff}.pointmall .point-mall-head .point-head-top{height:80px;border-bottom:1px solid #e5e5e5}.pointmall .point-mall-head .point-head-top .imgboxp{background:#ccc;width:62px;height:62px;border-radius:50%;margin-right:15px}.pointmall .point-mall-head .point-head-top .imgboxp img{width:62px;height:62px;border-radius:50%}.pointmall .point-mall-head .point-head-top .point-user-info{color:#333;padding-top:6px;width:40%;height:60px}.pointmall .point-mall-head .point-head-top .point-user-info .point-info-name{font-size:16px;width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.pointmall .point-mall-head .point-head-top .point-user-info .point-info-namep{color:#1080d0;font-size:18px;font-weight:700}.pointmall .point-mall-head .point-head-top .point-user-info .point-info-namep a{color:#1080d0}.pointmall .point-mall-head .point-head-top .point-user-info .point-info-phone{font-size:12px;margin-top:12px;width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pointmall .point-mall-head .point-head-top .point-qian{height:60px;width:25%;padding-top:5px}.pointmall .point-mall-head .point-head-top .point-qian .qian-btn{height:26px;line-height:26px;width:90px;text-align:center;background:#1080d0;color:#fff;font-size:14px;border-radius:20px;cursor:pointer}.pointmall .point-mall-head .point-head-top .point-qian .qian-btn i{margin-right:5px}.pointmall .point-mall-head .point-head-top .point-qian .qian-btn.dis{background:#ccc}.pointmall .point-mall-head .point-head-top .point-qian .current-point{font-size:12px;color:#999;margin-top:8px;width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}.pointmall .point-mall-head .point-head-top .point-qian .current-point font{color:#333}.pointmall .point-mall-head .point-head-bottom{margin-top:15px}.pointmall .point-mall-head .point-head-bottom .points-bt{width:33.33%;text-align:center;font-size:14px;cursor:pointer}.pointmall .point-mall-head .point-head-bottom .points-bt a{color:#333}.pointmall .point-mall-head .point-head-bottom .icon-box{height:60px;width:60px;color:#fff;border-radius:50%;text-align:center;line-height:60px;margin:0 auto;margin-bottom:10px}.pointmall .point-mall-head .point-head-bottom .icon-box i{font-size:36px}.pointmall .point-mall-head .point-head-bottom .add-points{cursor:pointer}.pointmall .point-mall-head .point-head-bottom .add-points .icon-box{background:#fab011}.pointmall .point-mall-head .point-head-bottom .points-detail .icon-box{background:#1ea1ff}.pointmall .point-mall-head .point-head-bottom .change-detail .icon-box{background:#36d1dc}.pointmall .point-line{height:5px;background:#f0f0f0}.pointmall .point-mall-section{background:#fff;padding:0 12px}.pointmall .point-mall-section .point-section-title{height:42px;line-height:42px;padding-top:6px}.pointmall .point-mall-section .point-section-title .fl{color:#333;font-size:17px}.pointmall .point-mall-section .point-section-title .fr{color:#666;font-size:12px}.pointmall .point-mall-section .point-list-nav{height:42px;line-height:42px;border-bottom:1px solid #e1e1e1;width:100%;display:inline;white-space:nowrap;overflow-x:scroll;float:left;overflow-y:hidden}.pointmall .point-mall-section .point-list-nav li{display:inline-block;width:33%;text-align:center;font-size:16px;height:42px;line-height:42px;cursor:pointer;position:relative;top:-3px;border-bottom:3px solid #fff}.pointmall .point-mall-section .point-list-nav li.act{color:#1080d0;border-bottom:3px solid #1080d0}.pointmall .point-mall-section .data-points .data-box-point .box-group{-webkit-box-sizing:border-box;box-sizing:border-box;width:48%;height:215px;border:1px solid #e5e5e5;padding:10px 7px;margin-top:10px}.pointmall .point-mall-section .data-points .data-box-point .box-group .point-group-top{height:100px;border-radius:5px;overflow-y:hidden}.pointmall .point-mall-section .data-points .data-box-point .box-group .point-group-top img{height:100px;width:100%}.pointmall .point-mall-section .data-points .data-box-point .box-group .prize-name{color:#333;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;margin-top:10px}.pointmall .point-mall-section .data-points .data-box-point .box-group .points-nees{color:#ffa200;font-size:14px;text-align:center;margin-bottom:12px}.pointmall .point-mall-section .data-points .data-box-point .box-group .change-btn{width:80%;height:24px;line-height:24px;border-radius:20px;border:1px solid #1080d0;color:#1080d0;text-align:center;font-size:14px;margin:0 auto;cursor:pointer;display:block}.pointmall .point-mall-section .data-points .data-box-point .box-group .change-btn:focus{background:#1080d0;color:#fff}.pointmall .point-mall-section .data-points .data-box-point .box-group:nth-of-type(2n){float:right!important}.pointmall .point-mall-section .data-points .mr0{margin-right:0}.pointmall .add-points-mask{background:rgba(0,0,0,.5);position:fixed;top:0;bottom:0;left:0;right:0}.pointmall .add-points-mask .add-points-content{min-height:150px;width:260px;position:absolute;background:#fff;top:50%;left:50%;margin-left:-140px;margin-top:-110px;border-radius:5px;padding:10px}.pointmall .add-points-mask .add-points-content .close-point{color:#fff;font-size:25px;position:absolute;top:240px;left:130px}.pointmall .add-points-mask .add-points-content .infoboxh{border-bottom:1px solid #e5e5e5;min-height:70px;padding:10px}.pointmall .add-points-mask .add-points-content .infoboxh p{color:#333;font-size:14px}.pointmall .add-points-mask .add-points-content .infoboxh span{color:#999;font-size:12px;display:inline-block;width:150px}.pointmall .add-points-mask .add-points-content .infoboxh a{width:55.4px;height:23px;line-height:23px;text-align:center;color:#fff;background:#1080d0;border-radius:20px;font-size:12px;margin-top:12px}.pointmall .add-points-mask .add-points-content .infoboxh a.dis{color:#999;background:#e5e5e5}.pointmall .add-points-mask .add-points-content .infoboxf{border:0;height:100px}
\ 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}.head-dom[data-v-3efd14ca]{padding-top:40px}.head-dom .header-page[data-v-3efd14ca]{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.head-dom .header-page i[data-v-3efd14ca]{font-size:18px;margin-top:10px;color:#666}.head-dom .header-page h3[data-v-3efd14ca]{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}.point-mall-change{padding:0 12px;padding-top:44px}.change-head-img{height:80px;width:90px;margin:0 auto;display:block;margin-bottom:30px;margin-top:50px}.tip-success-change{text-align:center;color:#333;font-size:16px}.tip-success-change b{color:#1080d0}.change-rule-tip,.check-change-tip{color:#333;font-size:12px;margin:14px 0;text-align:center}.check-change-tip{color:#666}.go-change{width:220px;height:32px;line-height:31px;border-radius:20px;border:1px solid #1080d0;color:#1080d0;text-align:center;margin:0 auto;cursor:pointer;display:block;font-size:14px;margin-top:30px}.point-addersstip{color:#333;font-size:12px;text-align:center;margin:15px 0}.point-adderss-box{width:272px;min-height:90px;border:1px solid #e5e5e5;border-radius:5px;margin:0 auto;margin-top:15px;padding:10px;color:#666;font-size:12px}.inline-block-text,.inline-block-text div{display:inline-block;vertical-align:top}.pce80{width:200px}.address-link{width:220px;height:32px;line-height:32px;border-radius:20px;border:1px solid #1080d0;color:#1080d0;text-align:center;cursor:pointer;display:block;margin:0 auto;margin-top:25px;font-size:14px}.address-link:hover{color:#fff;background:#1080d0}.no-point-address{text-align:center;padding-top:25px}
\ 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}.head-dom[data-v-3efd14ca]{padding-top:40px}.head-dom .header-page[data-v-3efd14ca]{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.head-dom .header-page i[data-v-3efd14ca]{font-size:18px;margin-top:10px;color:#666}.head-dom .header-page h3[data-v-3efd14ca]{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}.pointmall .point-mall-head{padding:15px 12px;background:#fff}.pointmall .point-mall-head .point-head-top{height:80px;border-bottom:1px solid #e5e5e5}.pointmall .point-mall-head .point-head-top .imgboxp{background:#ccc;width:62px;height:62px;border-radius:50%;margin-right:15px}.pointmall .point-mall-head .point-head-top .imgboxp img{width:62px;height:62px;border-radius:50%}.pointmall .point-mall-head .point-head-top .point-user-info{color:#333;padding-top:6px;width:40%;height:60px}.pointmall .point-mall-head .point-head-top .point-user-info .point-info-name{font-size:16px;width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.pointmall .point-mall-head .point-head-top .point-user-info .point-info-namep{color:#1080d0;font-size:18px;font-weight:700}.pointmall .point-mall-head .point-head-top .point-user-info .point-info-namep a{color:#1080d0}.pointmall .point-mall-head .point-head-top .point-user-info .point-info-phone{font-size:12px;margin-top:12px;width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pointmall .point-mall-head .point-head-top .point-qian{height:60px;width:25%;padding-top:5px}.pointmall .point-mall-head .point-head-top .point-qian .qian-btn{height:26px;line-height:26px;width:90px;text-align:center;background:#1080d0;color:#fff;font-size:14px;border-radius:20px;cursor:pointer}.pointmall .point-mall-head .point-head-top .point-qian .qian-btn i{margin-right:5px}.pointmall .point-mall-head .point-head-top .point-qian .qian-btn.dis{background:#ccc}.pointmall .point-mall-head .point-head-top .point-qian .current-point{font-size:12px;color:#999;margin-top:8px;width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}.pointmall .point-mall-head .point-head-top .point-qian .current-point font{color:#333}.pointmall .point-mall-head .point-head-bottom{margin-top:15px}.pointmall .point-mall-head .point-head-bottom .points-bt{width:33.33%;text-align:center;font-size:14px;cursor:pointer}.pointmall .point-mall-head .point-head-bottom .points-bt a{color:#333}.pointmall .point-mall-head .point-head-bottom .icon-box{height:60px;width:60px;color:#fff;border-radius:50%;text-align:center;line-height:60px;margin:0 auto;margin-bottom:10px}.pointmall .point-mall-head .point-head-bottom .icon-box i{font-size:36px}.pointmall .point-mall-head .point-head-bottom .add-points{cursor:pointer}.pointmall .point-mall-head .point-head-bottom .add-points .icon-box{background:#fab011}.pointmall .point-mall-head .point-head-bottom .points-detail .icon-box{background:#1ea1ff}.pointmall .point-mall-head .point-head-bottom .change-detail .icon-box{background:#36d1dc}.pointmall .point-line{height:5px;background:#f0f0f0}.pointmall .point-mall-section{background:#fff;padding:0 12px}.pointmall .point-mall-section .point-section-title{height:42px;line-height:42px;padding-top:6px}.pointmall .point-mall-section .point-section-title .fl{color:#333;font-size:17px}.pointmall .point-mall-section .point-section-title .fr{color:#666;font-size:12px}.pointmall .point-mall-section .point-list-nav{height:42px;line-height:42px;border-bottom:1px solid #e1e1e1;width:100%;display:inline;white-space:nowrap;overflow-x:scroll;float:left;overflow-y:hidden}.pointmall .point-mall-section .point-list-nav li{display:inline-block;width:33%;text-align:center;font-size:16px;height:42px;line-height:42px;cursor:pointer;position:relative;top:-3px;border-bottom:3px solid #fff}.pointmall .point-mall-section .point-list-nav li.act{color:#1080d0;border-bottom:3px solid #1080d0}.pointmall .point-mall-section .data-points .data-box-point .box-group{-webkit-box-sizing:border-box;box-sizing:border-box;width:48%;height:215px;border:1px solid #e5e5e5;padding:10px 7px;margin-top:10px}.pointmall .point-mall-section .data-points .data-box-point .box-group .point-group-top{height:100px;border-radius:5px;overflow-y:hidden}.pointmall .point-mall-section .data-points .data-box-point .box-group .point-group-top img{height:100px;width:100%}.pointmall .point-mall-section .data-points .data-box-point .box-group .prize-name{color:#333;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;margin-top:10px}.pointmall .point-mall-section .data-points .data-box-point .box-group .points-nees{color:#ffa200;font-size:14px;text-align:center;margin-bottom:12px}.pointmall .point-mall-section .data-points .data-box-point .box-group .change-btn{width:80%;height:24px;line-height:24px;border-radius:20px;border:1px solid #1080d0;color:#1080d0;text-align:center;font-size:14px;margin:0 auto;cursor:pointer;display:block}.pointmall .point-mall-section .data-points .data-box-point .box-group .change-btn:focus{background:#1080d0;color:#fff}.pointmall .point-mall-section .data-points .data-box-point .box-group:nth-of-type(2n){float:right!important}.pointmall .point-mall-section .data-points .mr0{margin-right:0}.pointmall .add-points-mask{background:rgba(0,0,0,.5);position:fixed;top:0;bottom:0;left:0;right:0}.pointmall .add-points-mask .add-points-content{min-height:150px;width:260px;position:absolute;background:#fff;top:50%;left:50%;margin-left:-140px;margin-top:-110px;border-radius:5px;padding:10px}.pointmall .add-points-mask .add-points-content .close-point{color:#fff;font-size:25px;position:absolute;top:240px;left:130px}.pointmall .add-points-mask .add-points-content .infoboxh{border-bottom:1px solid #e5e5e5;min-height:70px;padding:10px}.pointmall .add-points-mask .add-points-content .infoboxh p{color:#333;font-size:14px}.pointmall .add-points-mask .add-points-content .infoboxh span{color:#999;font-size:12px;display:inline-block;width:150px}.pointmall .add-points-mask .add-points-content .infoboxh a{width:55.4px;height:23px;line-height:23px;text-align:center;color:#fff;background:#1080d0;border-radius:20px;font-size:12px;margin-top:12px}.pointmall .add-points-mask .add-points-content .infoboxh a.dis{color:#999;background:#e5e5e5}.pointmall .add-points-mask .add-points-content .infoboxf{border:0;height:100px}
\ 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}.pointer-detail{font-family:Helvetica Neue,Helvetica,sans-serif;position:relative;height:100%;overflow:hidden}.pointer-detail .f-r{float:right}.pointer-detail .f-l{float:left}.pointer-detail .point-list-head{padding:0 .24rem;border-bottom:1px solid #e1e1e1}.pointer-detail .point-list-head,.pointer-detail .point-list-head .f-l{height:42px;line-height:42px;-webkit-box-sizing:border-box;box-sizing:border-box}.pointer-detail .point-list-head .f-l{width:20%;text-align:center;font-size:16px;cursor:pointer}.pointer-detail .point-list-head .f-l.act{color:#1080d0;border-bottom:2px solid #1080d0}.pointer-detail .point-list-head .f-r{color:#666;font-size:12px}.pointer-detail .point-list-head .f-r font{color:#ffa200;font-size:18px}.pointer-detail .point_content{position:absolute;top:42px;left:0;right:0;padding:0 12px;bottom:0;overflow-y:auto}.pointer-detail .point_content .has_data .data-group{height:60px;border-bottom:1px solid #e1e1e1}.pointer-detail .point_content .has_data .data-group .f-l{height:60px;padding-top:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.pointer-detail .point_content .has_data .data-group .f-l div{color:#333;font-size:14px;line-height:21px}.pointer-detail .point_content .has_data .data-group .f-l span{color:#999;font-size:12px;line-height:21px}.pointer-detail .point_content .has_data .data-group .f-r{line-height:60px;height:60px;color:#ffa200;font-size:18px}
\ 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}.pointer-rule .point-mall-rule{padding:0 12px}.pointer-rule .rule-content{padding-top:18px}.pointer-rule .rule-content p{margin-bottom:10px;color:#666!important;font-size:13px}
\ 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}.head-dom[data-v-3efd14ca]{padding-top:40px}.head-dom .header-page[data-v-3efd14ca]{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.head-dom .header-page i[data-v-3efd14ca]{font-size:18px;margin-top:10px;color:#666}.head-dom .header-page h3[data-v-3efd14ca]{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}.pointer-rule .point-mall-rule{padding:0 12px}.pointer-rule .rule-content{padding-top:18px}.pointer-rule .rule-content p{margin-bottom:10px;color:#666!important;font-size:13px}
\ 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
.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}.exchange{font-family:Helvetica Neue,Helvetica,sans-serif;position:relative;height:100%;overflow:hidden}.exchange .f-r{float:right}.exchange .f-l{float:left}.exchange .point-list-head1{height:42px;line-height:42px;padding:0 5%;border-bottom:1px solid #e1e1e1;width:100%;display:inline;white-space:nowrap;overflow-x:scroll;float:left;overflow-y:hidden}.exchange .point-list-head1 li{display:inline-block;width:30%;text-align:center;font-size:16px;height:42px;line-height:42px;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box}.exchange .point-list-head1 li.act{color:#1080d0;border-bottom:2px solid #1080d0}.exchange .exchange_content{position:absolute;top:42px;left:0;right:0;padding:0 .32rem;bottom:0;overflow-y:auto}.exchange .exchange_content .data-group{border-bottom:1px solid #e1e1e1;-webkit-box-sizing:border-box;box-sizing:border-box}.exchange .exchange_content .data-group .f-l{height:70px;padding-top:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.exchange .exchange_content .data-group .f-l .imgbox{overflow:hidden;margin-right:10px}.exchange .exchange_content .data-group .f-l .imgbox img{width:2rem;height:1.33rem;border-radius:4px}.exchange .exchange_content .data-group .f-l.infotext{width:3.6rem}.exchange .exchange_content .data-group .f-l.infotext .boxtextx{height:32.5px;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:16.5px;color:#333;font-size:.37rem}.exchange .exchange_content .data-group .f-l.infotext span{color:#999;font-size:.32rem}.exchange .exchange_content .data-group .f-r{height:70px;line-height:70px;color:#ffa200;font-size:.37rem}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-08d96656"],{"0224":function(t,s,a){"use strict";a.r(s);var i=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"pointer-detail"},[a("Header",{attrs:{title:"兑换成功"}}),a("img",{staticClass:"change-head-img",attrs:{src:"https://static.ichunt.com/dist/res/m/images/change_success.png",alt:"猎芯网"}}),a("div",{staticClass:"tip-success-change"},[t._v("恭喜您成功兑换 "),a("b",[t._v(t._s(t.prize_info.prize_name))]),t._v(" 一份")]),3==t.prize_type?a("div",{staticClass:"box-change box-xn"},[a("div",{staticClass:"change-rule-tip"},[t._v("我们将于兑换后两个工作日内,把使用规则以短信形式发给您!")]),a("div",{staticClass:"check-change-tip"},[t._v("您也可以前往兑换记录进行查看!")]),a("a",{staticClass:"go-change",attrs:{href:"/h5/view/#/exchange"}},[t._v("去查看")])]):t._e(),2==t.prize_type?a("div",{staticClass:"box-change box-yhq"},[a("div",{staticClass:"check-change-tip"},[t._v("您也可以前往兑换记录进行查看!")]),a("a",{staticClass:"go-change",attrs:{href:"/h5/view/#/exchange"}},[t._v("去查看")])]):t._e(),1==t.prize_type?a("div",{staticClass:"box-change box-sw"},[a("div",{staticClass:"point-addersstip"},[t._v("我们将邮寄到如下地址:")]),a("div",{staticClass:"point-adderss-box"},[t.address_info?[t._v("\n 收件人:"+t._s(t.address_info.consignee)),a("br"),t._v("\n 电话:"+t._s(t.address_info.mobile)),a("br"),a("div",{staticClass:"inline-block-text"},[a("div",[t._v("地址:")]),t.address_info.point_addressp?a("div",{staticClass:"pce80"},[t._v(t._s(t.address_info.detail_address))]):a("div",{staticClass:"pce80"},[t._v(t._s(t.address_info.province_val)+t._s(t.address_info.city_val)+t._s(t.address_info.district_val)+t._s(t.address_info.detail_address))])])]:[a("div",{staticClass:"no-point-address"},[t._v("当前无收件人信息,请录入收件人信息!")])]],2),a("a",{staticClass:"address-link",attrs:{href:"/v3/user/reciveaddress.html?points="+t.point_exchange_id+"&address_id="+t.prize_info.address_id}},[t._v("更换地址")]),a("a",{staticClass:"go-change",attrs:{href:"/h5/view/#/exchange"}},[t._v("去查看")])]):t._e(),t.loading?a("van-loading",{staticClass:"loading-background",attrs:{type:"spinner",color:"#000"}}):t._e()],1)},e=[],n=a("bd31"),c=a("1cc5"),o=a("52c1"),r=a("01c5"),l=a("57af");c["a"].use(r["h"]);var d={name:"pointchange",data:function(){return{prize_type:this.$route.query.prize_type,point_exchange_id:this.$route.query.point_exchange_id}},computed:Object(n["a"])({},Object(o["b"])({loading:function(t){return t.pointchange.loading},prize_info:function(t){return t.pointchange.prize_info},prize_types:function(t){return t.pointchange.prize_types},adressApiState:function(t){return t.pointchange.adressApiState},address_info:function(t){return t.pointchange.address_info}})),created:function(){this.getPrizeInfo()},methods:{getPrizeInfo:function(){this.$store.dispatch({type:"getUserPointExchangeDetail",point_exchange_id:this.$route.query.point_exchange_id})}},watch:{prize_types:function(t){this.prize_type=t},adressApiState:function(t){t&&this.$store.dispatch({type:"recvlist"})}},components:{Header:l["a"]}},p=d,f=(a("8cb6"),a("fc05")),u=Object(f["a"])(p,i,e,!1,null,"46dacfbe",null);s["default"]=u.exports},"3b79":function(t,s,a){"use strict";var i=a("db41"),e=a.n(i);e.a},"57af":function(t,s,a){"use strict";var i=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("section",{staticClass:"head-dom"},[a("div",{staticClass:"header-page clr"},[a("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:t.historyback}}),a("h3",{staticClass:"title fl"},[t._v(t._s(t.title))]),t.meaushow?a("Menu",{attrs:{color:t.color}}):t._e()],1)])},e=[],n=a("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:n["a"]}},o=c,r=(a("7afb"),a("fc05")),l=Object(r["a"])(o,i,e,!1,null,"3efd14ca",null);s["a"]=l.exports},"62ad":function(t,s,a){},7272:function(t,s,a){"use strict";var i=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",[t.flag?a("div",{staticClass:"menu-fade",on:{click:function(s){t.flag=!1}}}):t._e(),a("div",{staticClass:"menu clr"},[a("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(s){t.flag=!t.flag}}}),t.flag?a("div",[a("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},e=[function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ul",{staticClass:"menu-view"},[a("li",[a("a",{attrs:{href:"/v3?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-shouye"}),t._v("首页")])]),a("li",[a("a",{attrs:{href:"/v3/lxshop?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-lianying"}),t._v("联营商城")])]),a("li",[a("a",{attrs:{href:"/v3/xianhuo?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-liexinziying"}),t._v("自营现货")])]),a("li",[a("a",{attrs:{href:"/v3/brand/map?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-pinpai"}),t._v("品牌之家")])]),a("li",{staticClass:"mui-table-view-cell "},[a("a",{staticClass:"zytabgo",attrs:{href:"/v3/joincart?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-gouwuche1"}),t._v("购物车")])]),a("li",[a("a",{attrs:{href:"/v3/user?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-huiyuanzhongxin"}),t._v("会员中心")])])])}],n={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},c=n,o=(a("3b79"),a("fc05")),r=Object(o["a"])(c,i,e,!1,null,null,null);s["a"]=r.exports},"7afb":function(t,s,a){"use strict";var i=a("62ad"),e=a.n(i);e.a},"8cb6":function(t,s,a){"use strict";var i=a("9508"),e=a.n(i);e.a},9508:function(t,s,a){},db41:function(t,s,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0dda1a65"],{1000:function(t,n,a){"use strict";var i=a("7817"),o=a.n(i);o.a},2259:function(t,n,a){},"3b79":function(t,n,a){"use strict";var i=a("2259"),o=a.n(i);o.a},5710:function(t,n,a){},"57af":function(t,n,a){"use strict";var i=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("section",[a("div",{staticClass:"header-page clr"},[a("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:t.historyback}}),a("h3",{staticClass:"title fl"},[t._v(t._s(t.title))]),t.meaushow?a("Menu",{attrs:{color:t.color}}):t._e()],1)])},o=[],e=a("7272"),s={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:e["a"]}},c=s,l=(a("9f93"),a("8c9c")),r=Object(l["a"])(c,i,o,!1,null,null,null);n["a"]=r.exports},7272:function(t,n,a){"use strict";var i=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("div",[t.flag?a("div",{staticClass:"menu-fade",on:{click:function(n){t.flag=!1}}}):t._e(),a("div",{staticClass:"menu clr"},[a("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(n){t.flag=!t.flag}}}),t.flag?a("div",[a("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},o=[function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("ul",{staticClass:"menu-view"},[a("li",[a("a",{attrs:{href:"/v3?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-shouye"}),t._v("首页")])]),a("li",[a("a",{attrs:{href:"/v3/lxshop?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-lianying"}),t._v("联营商城")])]),a("li",[a("a",{attrs:{href:"/v3/xianhuo?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-liexinziying"}),t._v("自营现货")])]),a("li",[a("a",{attrs:{href:"/v3/brand/map?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-pinpai"}),t._v("品牌之家")])]),a("li",{staticClass:"mui-table-view-cell "},[a("a",{staticClass:"zytabgo",attrs:{href:"/v3/joincart?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-gouwuche1"}),t._v("购物车")])]),a("li",[a("a",{attrs:{href:"/v3/user?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-huiyuanzhongxin"}),t._v("会员中心")])])])}],e={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},s=e,c=(a("3b79"),a("8c9c")),l=Object(c["a"])(s,i,o,!1,null,null,null);n["a"]=l.exports},7817:function(t,n,a){},9646:function(t,n,a){"use strict";a.r(n);var i=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("div",{staticClass:"pointer-rule"},[a("Header",{attrs:{title:"积分规则"}}),a("div",{staticClass:"point-mall-rule"},[a("div",{staticClass:"rule-content"},[a("div",{domProps:{innerHTML:t._s(t.ruledata.content)}})])]),t.loading?a("van-loading",{staticClass:"loading-background",attrs:{type:"spinner",color:"#000"}}):t._e()],1)},o=[],e=a("bd31"),s=a("8973"),c=a("52c1"),l=a("5101"),r=a("57af");s["a"].use(l["e"]);var u={name:"pointrule",data:function(){return{}},computed:Object(e["a"])({},Object(c["b"])({loading:function(t){return t.pointrule.loading},ruledata:function(t){return t.pointrule.ruledata}})),created:function(){this.$store.dispatch({type:"pointruleApi"})},methods:{},watch:{},components:{Header:r["a"]}},f=u,p=(a("1000"),a("8c9c")),d=Object(p["a"])(f,i,o,!1,null,"769359b0",null);n["default"]=d.exports},"9f93":function(t,n,a){"use strict";var i=a("5710"),o=a.n(i);o.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1bc51d6f"],{2259:function(t,e,a){},"3b79":function(t,e,a){"use strict";var s=a("2259"),n=a.n(s);n.a},"524c":function(t,e,a){},5710:function(t,e,a){},"57af":function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("div",{staticClass:"header-page clr"},[a("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:t.historyback}}),a("h3",{staticClass:"title fl"},[t._v(t._s(t.title))]),t.meaushow?a("Menu",{attrs:{color:t.color}}):t._e()],1)])},n=[],i=a("7272"),o={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:i["a"]}},l=o,c=(a("9f93"),a("8c9c")),r=Object(c["a"])(l,s,n,!1,null,null,null);e["a"]=r.exports},"5ab7":function(t,e,a){var s=a("836e"),n=s.JSON||(s.JSON={stringify:JSON.stringify});t.exports=function(t){return n.stringify.apply(n,arguments)}},"6a0f":function(t,e,a){"use strict";var s=a("524c"),n=a.n(s);n.a},7272:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.flag?a("div",{staticClass:"menu-fade",on:{click:function(e){t.flag=!1}}}):t._e(),a("div",{staticClass:"menu clr"},[a("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(e){t.flag=!t.flag}}}),t.flag?a("div",[a("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"menu-view"},[a("li",[a("a",{attrs:{href:"/v3?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-shouye"}),t._v("首页")])]),a("li",[a("a",{attrs:{href:"/v3/lxshop?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-lianying"}),t._v("联营商城")])]),a("li",[a("a",{attrs:{href:"/v3/xianhuo?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-liexinziying"}),t._v("自营现货")])]),a("li",[a("a",{attrs:{href:"/v3/brand/map?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-pinpai"}),t._v("品牌之家")])]),a("li",{staticClass:"mui-table-view-cell "},[a("a",{staticClass:"zytabgo",attrs:{href:"/v3/joincart?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-gouwuche1"}),t._v("购物车")])]),a("li",[a("a",{attrs:{href:"/v3/user?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-huiyuanzhongxin"}),t._v("会员中心")])])])}],i={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},o=i,l=(a("3b79"),a("8c9c")),c=Object(l["a"])(o,s,n,!1,null,null,null);e["a"]=c.exports},"832f":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:"news-detail"},[t.newsDetailObj.current_info?a("div",[a("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),a("h1",{staticClass:"title"},[t._v(t._s(t.newsDetailObj.current_info.title))]),a("div",{staticClass:"bar"},[a("span",{staticClass:"f20"},[t._v(t._s(t.newsDetailObj.current_info.art_type_text))]),a("span",{staticClass:"f24"},[t._v("来源:")]),a("span",{staticClass:"f24"},[t._v(t._s(t.newsDetailObj.current_info.writer)+"   "+t._s(t._f("dateTimeFormate")(t.newsDetailObj.current_info.publish_time)))])]),t.newsDetailAd.news_details_ad?[t.newsDetailAd.news_details_ad.header?[a("div",{staticClass:"adbox"},[a("a",{attrs:{href:t.newsDetailAd.news_details_ad.header.url,target:t.newsDetailAd.news_details_ad.header.window_open>0?"_blank":"_self"}},[a("img",{attrs:{src:t.newsDetailAd.news_details_ad.header.images,alt:t.newsDetailAd.news_details_ad.header.title,width:"100%",height:"120"}})])])]:t._e()]:t._e(),a("div",{staticClass:"content-newsdetail",domProps:{innerHTML:t._s(t.newsDetailObj.current_info.body)}}),t.newsDetailAd.news_details_ad?[t.newsDetailAd.news_details_ad.footer?[a("div",{staticClass:"adbox"},[a("a",{attrs:{href:t.newsDetailAd.news_details_ad.footer.url,target:t.newsDetailAd.news_details_ad.footer.window_open>0?"_blank":"_self"}},[a("img",{attrs:{src:t.newsDetailAd.news_details_ad.footer.images,alt:t.newsDetailAd.news_details_ad.footer.title,width:"100%",height:"120"}})])])]:t._e()]:t._e()],2):t._e(),t.newsDetailAd.h5_news_ad_pop?[a("div",{directives:[{name:"show",rawName:"v-show",value:t.popdetailbool,expression:"popdetailbool"}],staticClass:"detail-pop"},[a("van-icon",{staticClass:"closexdetailad",attrs:{name:"close"},on:{click:function(e){return t.popdetailact()}}}),a("a",{attrs:{href:t.newsDetailAd.h5_news_ad_pop.url,target:t.newsDetailAd.h5_news_ad_pop.window_open>0?"_blank":"_self"}},[a("img",{attrs:{src:t.newsDetailAd.h5_news_ad_pop.images,alt:t.newsDetailAd.h5_news_ad_pop.title}})])],1)]:t._e(),t.loadStatus?a("van-loading",{staticClass:"loading-background",attrs:{type:"spinner",color:"#000"}}):t._e()],2)},n=[],i=a("badb"),o=a.n(i),l=a("bd31"),c=a("8973"),r=a("52c1"),d=a("5101"),u=a("57af");c["a"].use(d["e"]).use(d["b"]);var f={name:"newsDetail",data:function(){return{title:"猎芯网-新闻列表详情",p:1,meaushow:!0,popdetailbool:!1}},computed:Object(l["a"])({},Object(r["b"])({newsDetailObj:function(t){return t.newsdetail.newsDetailObj},loadStatus:function(t){return t.newsdetail.loadStatus},newsDetailAd:function(t){return t.newsdetail.newsDetailAd}})),watch:{newsDetailObj:function(t){"{}"!=o()(t)&&(this.title=t.current_info.title,window.document.title=t.current_info.title)}},created:function(){this.getDataAd(),this.getData(),this.scrollFns()},methods:{getData:function(){this.$store.dispatch({type:"newsArticleDetail",art_id:this.$route.params.art_id})},getDataAd:function(){this.$store.dispatch({type:"newsArticleDetailAd",cat_id:this.$route.params.cat_id})},popdetailact:function(){this.popdetailbool=!1,this.newsDetailAd.h5_news_ad_pop=""},scrollFns:function(){var t=this;window.onscroll=function(){var e=document.documentElement.scrollTop||document.body.scrollTop;e>=100&&(t.popdetailbool=!0)}}},components:{Header:u["a"]}},_=f,p=(a("6a0f"),a("8c9c")),w=Object(p["a"])(_,s,n,!1,null,null,null);e["default"]=w.exports},"9f93":function(t,e,a){"use strict";var s=a("5710"),n=a.n(s);n.a},badb:function(t,e,a){t.exports=a("5ab7")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d3c5852"],{"0c6a":function(t,i,a){},2259:function(t,i,a){},"3b79":function(t,i,a){"use strict";var s=a("2259"),n=a.n(s);n.a},5710:function(t,i,a){},"57af":function(t,i,a){"use strict";var s=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("section",[a("div",{staticClass:"header-page clr"},[a("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:t.historyback}}),a("h3",{staticClass:"title fl"},[t._v(t._s(t.title))]),t.meaushow?a("Menu",{attrs:{color:t.color}}):t._e()],1)])},n=[],e=a("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:e["a"]}},l=c,o=(a("9f93"),a("8c9c")),r=Object(o["a"])(l,s,n,!1,null,null,null);i["a"]=r.exports},7272:function(t,i,a){"use strict";var s=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("div",[t.flag?a("div",{staticClass:"menu-fade",on:{click:function(i){t.flag=!1}}}):t._e(),a("div",{staticClass:"menu clr"},[a("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(i){t.flag=!t.flag}}}),t.flag?a("div",[a("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},n=[function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("ul",{staticClass:"menu-view"},[a("li",[a("a",{attrs:{href:"/v3?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-shouye"}),t._v("首页")])]),a("li",[a("a",{attrs:{href:"/v3/lxshop?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-lianying"}),t._v("联营商城")])]),a("li",[a("a",{attrs:{href:"/v3/xianhuo?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-liexinziying"}),t._v("自营现货")])]),a("li",[a("a",{attrs:{href:"/v3/brand/map?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-pinpai"}),t._v("品牌之家")])]),a("li",{staticClass:"mui-table-view-cell "},[a("a",{staticClass:"zytabgo",attrs:{href:"/v3/joincart?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-gouwuche1"}),t._v("购物车")])]),a("li",[a("a",{attrs:{href:"/v3/user?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-huiyuanzhongxin"}),t._v("会员中心")])])])}],e={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},c=e,l=(a("3b79"),a("8c9c")),o=Object(l["a"])(c,s,n,!1,null,null,null);i["a"]=o.exports},"93db":function(t,i,a){"use strict";var s=a("0c6a"),n=a.n(s);n.a},"9f93":function(t,i,a){"use strict";var s=a("5710"),n=a.n(s);n.a},bd04:function(t,i,a){"use strict";a.r(i);var s=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("section",{staticClass:"wxlist"},[a("Header"),a("div",{staticClass:"wxlist-content"},[a("div",{staticClass:"menu-title"},[t._v(t._s(t.wechatArticle.menu))]),t.wechatArticle.top?a("div",{staticClass:"wxlist-banner"},[a("div",{staticClass:"banner-box"},[t._m(0),a("div",{staticClass:"banner-body"},[a("a",{attrs:{href:t._f("urlPatg")(t.wechatArticle.top.url,"wechatlist")}},[a("img",{attrs:{alt:t.wechatArticle.top.title,src:t.wechatArticle.top.img}})])]),a("div",{staticClass:"banner-footer"},[a("a",{attrs:{href:t._f("urlPatg")(t.wechatArticle.top.url,"wechatlist")}},[a("span",[t._v("活动 | ")]),t._v(t._s(t.wechatArticle.top.title))])])])]):t._e(),a("div",{staticClass:"wxlist-data"},[a("div",{staticClass:"wxlist-data-box"},[a("van-list",{attrs:{loading:t.loadStatus,finished:t.finished,offset:10,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(i){t.loading=i},expression:"loading"}},t._l(t.wechatArticleList,function(i,s){return a("div",{key:s,staticClass:"data-group clr"},[a("a",{attrs:{href:t._f("urlPatg")(i.url,"wechatlist")}},[a("div",{staticClass:"group-left fl"},[a("div",{staticClass:"group-left-box"},[t._v("\n "+t._s(i.title)+"\n ")])]),a("img",{staticClass:"group-right fr",attrs:{src:i.img}})])])}),0)],1)])])],1)},n=[function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"banner-header clr"},[s("div",{staticClass:"banner-img fl"},[s("img",{attrs:{src:a("defc")}})]),s("div",{staticClass:"banner-title fl"},[t._v("猎芯网")])])}],e=a("bd31"),c=a("8973"),l=a("52c1"),o=a("5101"),r=a("57af");c["a"].use(o["d"]);var u={name:"wxlist",data:function(){return{page:0,limit:6,loading:!1}},computed:Object(e["a"])({},Object(l["b"])({wechatArticle:function(t){return t.wxlist.wechatArticle},wechatArticleList:function(t){return t.wxlist.wechatArticleList},limits:function(t){return t.wxlist.limits},loadStatus:function(t){return t.wxlist.loadStatus},finished:function(t){return t.wxlist.finished}})),watch:{loadStatus:function(t){this.loading=t}},created:function(){},methods:{getData:function(t){this.$store.dispatch({type:"wechatArticle",type_id:t,page:this.page,limit:this.limit})},onLoad:function(){this.page<this.limits&&(this.page++,this.getData(this.$route.query.type_id))}},components:{Header:r["a"]}},f=u,d=(a("93db"),a("8c9c")),h=Object(d["a"])(f,s,n,!1,null,"2cd2f384",null);i["default"]=h.exports},defc:function(t,i,a){t.exports=a.p+"img/logo2.19d260fd.png"}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1f37a840"],{"0441":function(t,e,a){"use strict";var n=a("b414"),s=a.n(n);s.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(t._s(t.text)+"\n "),a("van-icon",{staticClass:"va-m",staticStyle:{"font-size":"20px","margin-left":"5px"},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.walletListData.length>0?t._l(t.walletListData,function(e,n){return a("li",{key:n},[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))])])}):[t._m(0)]],2),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),t.dialog?a("div",{staticClass:"dialog-layer-shade"},[a("div",{staticClass:"dialog-layer"},[a("p",{staticClass:"tit"},[t._v("交易类型")]),a("ul",{staticClass:"tab boxsiz"},t._l(t.columns,function(e,n){return a("li",{key:n,class:{curr:t.active==n},on:{click:function(a){t.onTypeConfirm(e.keyId,n)}}},[t._v(t._s(e.text))])}),0),a("a",{staticClass:"btn",attrs:{href:"javascript:;"},on:{click:function(e){t.dialog=!1}}},[t._v("取消")])])]):t._e()],1)],1)},s=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"no-data"},[a("i",{staticClass:"iconfont icon-zanwushuju",staticStyle:{color:"#999",margin:"0 auto",display:"block","text-align":"center","font-size":"90px","padding-top":"60px"}}),a("p",{staticStyle:{color:"#333",width:"80%",margin:"0 auto","font-size":"13px","margin-top":"28px"}},[t._v("您的钱包当前还没有记录哦,去看看商品吧~ "),a("a",{staticStyle:{color:"#1080d0"},attrs:{href:"/v3/s"}},[t._v("去搜索")])])])}],i=(a("27fb"),a("ac74"),a("bd31")),o=a("1cc5"),r=a("52c1"),c=a("57af"),l=a("01c5");o["a"].use(l["e"]).use(l["j"]).use(l["c"]).use(l["i"]).use(l["p"]);var d={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:"",text:"全部交易类型",dialog:!1,active:0,columns:[{keyId:"",text:"全部交易类型"},{keyId:21,text:"订单支付"},{keyId:10,text:"钱包充值"},{keyId:20,text:"钱包提现"},{keyId:12,text:"活动返现"},{keyId:100,text:"余额调整"}]}},computed:Object(i["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),s=864e5;return new Date(n-s)}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.dialog=!this.dialog},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.dateYear,this.dateMonth=this.updateMonth||this.dateMonth,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.dialog=!1,this.active=e,this.text=this.columns[e].text,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,stime:a(this.dateYear,this.dateMonth),etime:n(this.dateYear,this.dateMonth)})},onTypeCancel:function(){this.typeShow=!1}},components:{Header:c["a"]}},h=d,u=(a("0441"),a("fc05")),p=Object(u["a"])(h,n,s,!1,null,"d62844b2",null);e["default"]=p.exports},b414:function(t,e,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-206b79a6"],{"03ac":function(t,a,e){"use strict";var i=e("386e"),r=e.n(i);r.a},"386e":function(t,a,e){},"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("fc05")),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-23376506"],{"2e96":function(t,s,e){var i=e("9c9a"),o=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},5729:function(t,s,e){t.exports=e.p+"img/three_04.f98e5256.jpg"},"7f1b":function(t,s,e){"use strict";var i=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("section",[e("div",{staticClass:"slide-bar"},[t.kefuishow?e("div",{staticClass:"customer-service",on:{click:t.recordFn}},[e("i",{staticClass:"iconfont icon-kefu"})]):t._e(),t.isWindow?[e("div",{directives:[{name:"backTopWindow",rawName:"v-backTopWindow"},{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"backtop"},[e("i",{staticClass:"iconfont icon-xiangshang1"})])]:[e("div",{directives:[{name:"backTop",rawName:"v-backTop"},{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"backtop"},[e("i",{staticClass:"iconfont icon-xiangshang1"})])]],2),e("van-dialog",{attrs:{showConfirmButton:t.showButton,showCancelButton:t.showButton,closeOnClickOverlay:t.closeOnClickOverlay},model:{value:t.flag,callback:function(s){t.flag=s},expression:"flag"}},[e("div",{staticClass:"van-dialog__message"},[e("div",{staticClass:"kefu"},[e("p",{staticClass:"t0"},[e("i",{staticClass:"iconfont icon-kefu"})]),e("p",{staticClass:"t1"},[e("a",{staticClass:"but-blue",attrs:{href:"tel:0755-88914841"}},[t._v("国内服务电话:0755-88914841")])]),e("p",{staticClass:"t2"},[e("a",{staticClass:"but-white kefuio kefuioxk",attrs:{target:"_blank",href:t.phpParams.kfqq_xk,"data-href":"http://wpa.b.qq.com/cgi/wpa.php?ln=1&key=XzgwMDE1ODQzMl80ODY0NDVfODAwMTU4NDMyXzJf","data-ptag":"right-layer"},on:{click:t.customsrService}},[e("i",{staticClass:"icon iconfont icon-qq"}),t._v("客服QQ\n ")])])])])])],1)},o=[],a=e("52c1"),n=e("1cc5"),c=e("01c5");n["a"].use(c["d"]);var r={name:"sidebar",props:{kefuishow:{type:Boolean,default:!0},isWindow:{type:Boolean,default:!1}},data:function(){return{flag:!1,show:!1,showButton:!1,closeOnClickOverlay:!0}},computed:Object(a["b"])({phpParams:function(t){return t.common.phpParams}}),mounted:function(){this.isWindow?this.scrollFnWindow():this.scrollFn()},methods:{customsrService:function(){this.$store.dispatch({type:"customsrService"})},scrollFnWindow:function(){var t=this;window.onscroll=function(){var s=document.documentElement.scrollTop||document.body.scrollTop;t.show=s>=300}},scrollFn:function(){var t=document.querySelector(".container-wrap"),s=this;t.onscroll=function(){var t=document.querySelector(".container-wrap").scrollTop;s.show=t>=300}},recordFn:function(){this.flag=!0,this.$store.dispatch({type:"getCommonParams"});try{sensors.track("RNavClick",{right_nav_click:"h5-客服"})}catch(t){}}}},m=r,l=e("fc05"),d=Object(l["a"])(m,i,o,!1,null,null,null);s["a"]=d.exports},"842e":function(t,s,e){t.exports=e.p+"img/three_08.abd136a9.jpg"},"97ac":function(t,s,e){},"9c63":function(t,s,e){"use strict";e.r(s);var i=function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"findthing-content"},[i("div",{staticClass:"seo-head"}),i("div",{staticClass:"seo-section"},[i("div",{staticClass:"form-box1"},[i("div",{staticClass:"form-group clr"},[i("span",{staticClass:"fl "},[i("font",[t._v("*")]),t._v("型       号:")],1),i("div",{staticClass:"fr input-box"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.form1.goodsNumber,expression:"form1.goodsNumber"}],attrs:{type:"text",placeholder:"请输入型号"},domProps:{value:t.form1.goodsNumber},on:{input:function(s){s.target.composing||t.$set(t.form1,"goodsNumber",s.target.value)}}})])]),i("div",{staticClass:"form-group clr"},[i("span",{staticClass:"fl "},[i("font",{staticClass:"hiddenvi"},[t._v("*")]),t._v("数       量:")],1),i("div",{staticClass:"fr input-box"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.form1.num,expression:"form1.num"}],attrs:{type:"text",placeholder:"请输入数量",onkeyup:"if(event.keyCode !=37 && event.keyCode != 39){if (!/^[\\d]+$/ig.test(this.value)){this.value='';}}"},domProps:{value:t.form1.num},on:{input:function(s){s.target.composing||t.$set(t.form1,"num",s.target.value)}}})])]),i("div",{staticClass:"form-group clr"},[i("span",{staticClass:"fl "},[i("font",[t._v("*")]),t._v("手机号码:")],1),i("div",{staticClass:"fr input-box"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.form1.mobile,expression:"form1.mobile"}],attrs:{type:"text",placeholder:"请输入手机号",onkeyup:"if(event.keyCode !=37 && event.keyCode != 39){if (!/^[\\d]+$/ig.test(this.value)){this.value='';}}"},domProps:{value:t.form1.mobile},on:{input:function(s){s.target.composing||t.$set(t.form1,"mobile",s.target.value)}}})])]),i("div",{directives:[{name:"show",rawName:"v-show",value:t.form1.imgcodestatus,expression:"form1.imgcodestatus"}],staticClass:"form-group clr "},[i("span",{staticClass:"fl "},[t._v("图片验证:")]),i("div",{staticClass:"fr input-box pr"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.form1.imgcode,expression:"form1.imgcode"}],attrs:{type:"text"},domProps:{value:t.form1.imgcode},on:{input:function(s){s.target.composing||t.$set(t.form1,"imgcode",s.target.value)}}}),i("img",{staticClass:"img-code",attrs:{src:t.imgCodeVal,alt:"猎芯网"},on:{click:function(s){t.imgCode()}}})])]),i("div",{directives:[{name:"show",rawName:"v-show",value:t.form1.codestatus,expression:"form1.codestatus"}],staticClass:"form-group clr"},[i("span",{staticClass:"fl "},[t._v("验证码:")]),i("div",{staticClass:"fr input-box pr"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.form1.code,expression:"form1.code"}],attrs:{type:"text"},domProps:{value:t.form1.code},on:{input:function(s){s.target.composing||t.$set(t.form1,"code",s.target.value)}}}),i("div",{staticClass:"code",class:{dis:t.codeactive},on:{click:function(s){t.getCode()}}},[t._v(t._s(t.codetext))])])]),i("div",{staticClass:"form1-warn"},[i("font",[t._v("*")]),t._v("为了您的权益,您的隐私将被严格保密")],1),i("div",{staticClass:"form1-tips"},[t._v(t._s(t.form1.msg))]),i("div",{staticClass:"submit-button",on:{click:function(s){t.submitForm()}}})]),i("div",{staticClass:"img-show-static"}),i("div",{staticClass:"zizi-box"},[i("div",{staticClass:"zizi-ct"},[i("div",{staticClass:"slide-box"},[i("van-swipe",{attrs:{autoplay:3e3}},[i("van-swipe-item",[i("img",{staticClass:"slide-pic",attrs:{src:e("f203"),alt:"猎芯网"}})]),i("van-swipe-item",[i("img",{staticClass:"slide-pic",attrs:{src:e("5729"),alt:"猎芯网"}})]),i("van-swipe-item",[i("img",{staticClass:"slide-pic",attrs:{src:e("e673"),alt:"猎芯网"}})]),i("van-swipe-item",[i("img",{staticClass:"slide-pic",attrs:{src:e("a851"),alt:"猎芯网"}})]),i("van-swipe-item",[i("img",{staticClass:"slide-pic",attrs:{src:e("842e"),alt:"猎芯网"}})])],1)],1)])]),t._m(0)]),i("SideBar",{attrs:{isWindow:t.isWindow}}),t.loading?i("van-loading",{staticClass:"loading-background",attrs:{type:"spinner",color:"#000"}}):t._e()],1)},o=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"foot-box"},[e("div",{staticClass:"foot-box-ct"},[e("a",{attrs:{href:"tel:4008-755-881"}},[e("i",{staticClass:"icon iconfont"},[t._v("")]),t._v(" 资讯热线:4008-755-881")])])])}],a=e("badb"),n=e.n(a),c=e("bd31"),r=(e("9f07"),e("0964"),e("1cc5")),m=e("52c1"),l=e("01c5"),d=e("7f1b"),u=e("365c");r["a"].use(l["n"]).use(l["o"]).use(l["p"]).use(l["h"]);var f={name:"seo",computed:Object(c["a"])({},Object(m["b"])({loading:function(t){return t.findthing.loading},form1ImgShow:function(t){return t.findthing.form1ImgShow},form1CodeStatus:function(t){return t.findthing.form1CodeStatus},isRegLogin:function(t){return t.findthing.isRegLogin}}),{mobile:function(t){return this.form1.mobile}}),data:function(){return{imgCodeVal:u["a"]+"public/verify",loadings:!1,isWindow:!0,codeactive:!1,codetext:"获取验证码",form1:{mobile:"",code:"",codestatus:!1,imgcode:"",imgcodestatus:!1,goodsNumber:"",num:"",msg:""}}},methods:{timeNum:function(){var t=this,s=60;t.codeactive=!0,t.codetext=s+"秒后获取";var e=setInterval(i,1e3);function i(){s--,s>0?(t.codetext=s+"秒后获取",t.codeactive=!0):(clearInterval(e),t.codeactive=!1,t.codetext="获取验证码",s=60)}},getCode:function(){!this["form1"]["imgcodestatus"]||this["form1"]["imgcode"]?this.codeactive||this.$store.dispatch({type:"smsVerify1",mobile:this["form1"]["mobile"],verify:this["form1"]["imgcode"]}):Object(l["p"])({message:"请确认图片验证码",duration:3e3})},imgCode:function(){this.imgCodeVal=u["a"]+"public/verify?"+(new Date).getTime()},submitForm:function(){if(this["form1"]["goodsNumber"]){this["form1"]["msg"]="";var t=/^1[345678]\d{9}$/;t.test(this["form1"]["mobile"])?(this["form1"]["msg"]="",this["form1"]["code"]?(this["form1"]["msg"]="",this.$store.dispatch({type:"actionLogin1",account:this["form1"]["mobile"],sms_verify:this["form1"]["code"]})):this["form1"]["msg"]="验证码不能为空"):this["form1"]["msg"]="请输入正确格式的手机号码"}else this["form1"]["msg"]="型号不能为空"}},watch:{form1CodeStatus:function(t){t&&this.timeNum()},form1ImgShow:function(t){this.form1.imgcodestatus=t},mobile:function(t){var s=/^1[345678]\d{9}$/;s.test(t)?(this.form1.msg="",this.form1.codestatus=!0):(this.form1.msg="请输入正确格式的手机号码",this.form1.codestatus=!1)},isRegLogin:function(t){if(t){var s={number:this.form1.num,type:this.form1.goodsNumber};this.$store.dispatch({type:"feedback1",types:7,mobile:this.form1.mobile,content:n()(s)})}}},components:{SideBar:d["a"]}},p=f,v=(e("fc4b"),e("fc05")),g=Object(v["a"])(p,i,o,!1,null,"bbbd7ec0",null);s["default"]=g.exports},a851:function(t,s,e){t.exports=e.p+"img/three_06.5ad5630e.jpg"},badb:function(t,s,e){t.exports=e("2e96")},e673:function(t,s,e){t.exports=e.p+"img/three_05.2f3455a9.jpg"},f203:function(t,s,e){t.exports=e.p+"img/three_03.49b062a4.jpg"},fc4b:function(t,s,e){"use strict";var i=e("97ac"),o=e.n(i);o.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-252b3a4b"],{2536:function(t,a,i){"use strict";i.r(a);var n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("section",{staticClass:"news"},[i("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),i("van-swipe",{attrs:{autoplay:3e3,height:t.bannerHeight}},t._l(t.rollbanner,function(a,n){return i("van-swipe-item",{key:n},[i("a",{attrs:{href:t._f("urlPatg")(a.url,"news-banner-"+(n+1)),target:a.window_open>0?"_blank":"_self"}},[i("img",{attrs:{src:a.images,height:"100%",width:"100%"}})])])}),1),t.cat_list.length>0?i("div",{staticClass:"navList clearfix",class:{navList44:4==t.cat_list.length,navListfixed:t.navListfixed}},t._l(t.cat_list,function(a,n){return i("p",{key:n,staticClass:"fl",class:{act:t.act==n},on:{click:function(a){t.tab(n)}}},[t._v("\n "+t._s(a.cat_name)+"\n ")])}),0):t._e(),i("ul",{staticClass:"listBox clr"},[i("van-list",{attrs:{loading:t.loadStatus,finished:t.finished,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(a){t.loading=a},expression:"loading"}},t._l(t.content_list,function(a,n){return i("router-link",{key:n,attrs:{tag:"li",to:{path:"/news/detail/"+a.art_id+"/"+a.cat_id}}},[i("div",{directives:[{name:"lazy-container",rawName:"v-lazy-container",value:{selector:"img"},expression:"{selector:'img'}"}]},[i("img",{attrs:{"data-src":a.litpic,alt:a.title,"data-error":"static/images/news.png"}})]),i("div",{staticClass:"boxgrt"},[i("h1",{staticClass:"title"},[t._v(t._s(a.title))]),i("p",{staticClass:"titleLook clearfix"},[i("span",{staticClass:"fl"},[t._v(t._s(a.writer))]),i("span",{staticClass:"fr"},[t._v(t._s(a.click)+"浏览")])])])])}),1)],1),i("div",{directives:[{name:"backTopWindow",rawName:"v-backTopWindow"}],staticClass:"slide-bar",staticStyle:{cursor:"pointer"}},[t.navListfixed?i("div",{staticClass:"backtop"},[i("i",{staticClass:"iconfont icon-xiangshang1"})]):t._e()])],1)},s=[],e=i("bd31"),c=i("1cc5"),o=i("52c1"),l=i("01c5"),r=i("57af");c["a"].use(l["n"]).use(l["o"]).use(l["f"]).use(l["g"]);var u={name:"news",data:function(){return{title:"猎芯网-新闻列表",p:1,cat_id:"",bannerHeight:180,meaushow:!0,loading:!1,limit:10,act:0,navListfixed:!1}},computed:Object(e["a"])({},Object(o["b"])({rollbanner:function(t){return t.news.rollbanner},cat_list:function(t){return t.news.cat_list},content_list:function(t){return t.news.content_list},loadStatus:function(t){return t.news.loadStatus},finished:function(t){return t.news.finished},totalLimit:function(t){return t.news.totalLimit}})),watch:{loadStatus:function(t){this.loading=t}},created:function(){this.getData()},mounted:function(){this.scrollFns()},methods:{getData:function(){var t="";this.cat_id?t=this.cat_id:this.cat_list.length>0&&(t=this.cat_list[0].cat_id),this.$store.dispatch({type:"newsArticle",cat_id:t,p:this.p,limit:this.limit})},tab:function(t){this.act!=t&&(this.act=t,this.p=1,this.cat_id=this.cat_list[t].cat_id,this.getData())},onLoad:function(){this.p<this.totalLimit&&(this.p++,this.getData())},scrollFns:function(){var t=this;window.onscroll=function(){var a=document.documentElement.scrollTop||document.body.scrollTop;t.navListfixed=a>=300}}},components:{Header:r["a"]}},f=u,d=(i("9c9e"),i("fc05")),h=Object(d["a"])(f,n,s,!1,null,"88b86944",null);a["default"]=h.exports},"3b79":function(t,a,i){"use strict";var n=i("db41"),s=i.n(n);s.a},"57af":function(t,a,i){"use strict";var n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("section",{staticClass:"head-dom"},[i("div",{staticClass:"header-page clr"},[i("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:t.historyback}}),i("h3",{staticClass:"title fl"},[t._v(t._s(t.title))]),t.meaushow?i("Menu",{attrs:{color:t.color}}):t._e()],1)])},s=[],e=i("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:e["a"]}},o=c,l=(i("7afb"),i("fc05")),r=Object(l["a"])(o,n,s,!1,null,"3efd14ca",null);a["a"]=r.exports},"62ad":function(t,a,i){},7272:function(t,a,i){"use strict";var n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",[t.flag?i("div",{staticClass:"menu-fade",on:{click:function(a){t.flag=!1}}}):t._e(),i("div",{staticClass:"menu clr"},[i("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(a){t.flag=!t.flag}}}),t.flag?i("div",[i("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},s=[function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("ul",{staticClass:"menu-view"},[i("li",[i("a",{attrs:{href:"/v3?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-shouye"}),t._v("首页")])]),i("li",[i("a",{attrs:{href:"/v3/lxshop?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-lianying"}),t._v("联营商城")])]),i("li",[i("a",{attrs:{href:"/v3/xianhuo?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-liexinziying"}),t._v("自营现货")])]),i("li",[i("a",{attrs:{href:"/v3/brand/map?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-pinpai"}),t._v("品牌之家")])]),i("li",{staticClass:"mui-table-view-cell "},[i("a",{staticClass:"zytabgo",attrs:{href:"/v3/joincart?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-gouwuche1"}),t._v("购物车")])]),i("li",[i("a",{attrs:{href:"/v3/user?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-huiyuanzhongxin"}),t._v("会员中心")])])])}],e={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},c=e,o=(i("3b79"),i("fc05")),l=Object(o["a"])(c,n,s,!1,null,null,null);a["a"]=l.exports},"7afb":function(t,a,i){"use strict";var n=i("62ad"),s=i.n(n);s.a},"9c9e":function(t,a,i){"use strict";var n=i("ef17"),s=i.n(n);s.a},db41:function(t,a,i){},ef17:function(t,a,i){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-25e252a2"],{"2d58":function(s,o,t){"use strict";var e=t("ef95"),a=t.n(e);a.a},"51d9":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-activate"},[t("Header",{attrs:{title:s.title,meaushow:s.meaushow}}),t("div",{directives:[{name:"show",rawName:"v-show",value:s.step1,expression:"step1"}],staticClass:"activate-content"},[t("ul",{staticClass:"form-wrap"},[t("li",{staticClass:"inp-wrap"},[t("label",{staticClass:"va-m"},[s._v("安全手机号")]),t("br"),t("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)}}})]),t("li",{directives:[{name:"show",rawName:"v-show",value:s.activateShowImgCode,expression:"activateShowImgCode"}],staticClass:"inp-wrap yzmImg"},[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"},[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",class:{noClick:s.isClick},attrs:{href:"javascript:;"},on:{click:s.next}},[s._v("下一步")])]),t("div",{directives:[{name:"show",rawName:"v-show",value:s.step2,expression:"step2"}],staticClass:"activate-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:"密码由8~20位字母、数字组合而成"},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)},a=[],r=(t("71d7"),t("bd31")),i=t("1cc5"),n=t("52c1"),m=t("57af"),c=t("01c5"),f=t("365c");i["a"].use(c["e"]);var l={name:"WalletActivate",data:function(){return{title:"激活钱包",meaushow:!0,showPassword:!0,showPasswordConfirm:!0,yzmSend:!0,countDown:60,countDownText:"发送验证码",step1:!0,step2:!1,form:{safeMobile:"",verifyCode:"",imgCode:"",password:"",passwordConfirm:""},formError:!1,formMsg:"",imgCodeVal:f["a"]+"public/verify",isClick:!0}},computed:Object(r["a"])({},Object(n["b"])({activateShowImgCode:function(s){return s.wallet.activateShowImgCode},activateCountDownFlag:function(s){return s.wallet.activateCountDownFlag}})),watch:{activateCountDownFlag:function(s){s?(this.yzmSend=!1,this.timeNum()):this.yzmSend=!0},form:{deep:!0,handler:function(s){s.safeMobile&&s.verifyCode?this.isClick=!1:this.isClick=!0}}},created:function(){},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()},verify:function(){if(!this.form.safeMobile)return this.formError=!0,void(this.formMsg="亲,请输入手机");var s=/^1[34578]\d{9}$/;return!!s.test(this.form.safeMobile)||(this.formError=!0,void(this.formMsg="亲,手机格式不正确"))},getCode:function(){this.verify()&&this.$store.dispatch({type:"smsVerifyActivate",mobile:this.form.safeMobile,imgCode:this.form.imgCode})},next:function(){if(!this.isClick&&this.verify()){if(!this.form.verifyCode)return this.formError=!0,void(this.formMsg="亲,请输入验证码");this.formError=!1,this.step1=!1,this.step2=!0}},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"]}},d=l,p=(t("2d58"),t("fc05")),v=Object(p["a"])(d,e,a,!1,null,"e21b99fc",null);o["default"]=v.exports},"71d7":function(s,o,t){var e=t("5b0f"),a=t("6c67"),r=t("78a6").f,i=t("38f8").f,n=t("e621"),m=t("7a14"),c=e.RegExp,f=c,l=c.prototype,d=/a/g,p=/a/g,v=new c(d)!==d;if(t("d9cf")&&(!v||t("03fd")(function(){return p[t("e1be")("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),r=void 0===o;return!t&&e&&s.constructor===c&&r?s:a(v?new f(e&&!r?s.source:s,o):f((e=s instanceof c)?s.source:s,e&&r?m.call(s):o),t?this:l,c)};for(var u=function(s){s in c||r(c,s,{configurable:!0,get:function(){return f[s]},set:function(o){f[s]=o}})},w=i(f),h=0;w.length>h;)u(w[h++]);l.constructor=c,c.prototype=l,t("c787")(e,"RegExp",c)}t("0384")("RegExp")},ef95:function(s,o,t){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-293f31d0"],{"0360":function(t,e,a){},"2d18":function(t,e,a){"use strict";a.r(e);var r=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(t._s(t.text)),a("van-icon",{staticClass:"va-m",staticStyle:{"font-size":"20px","margin-left":"5px"},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.walletRecordData.length>0?t._l(t.walletRecordData,function(e,r){return a("li",{key:r},[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){t.detail(e.amount)}}},[t._v("待支付")]):a("span",{staticClass:"successText"},[t._v("已完成")])]):t._e()])}):[t._m(0)]],2),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),t.dialog?a("div",{staticClass:"dialog-layer-shade"},[a("div",{staticClass:"dialog-layer"},[a("p",{staticClass:"tit"},[t._v("交易类型")]),a("ul",{staticClass:"tab boxsiz"},t._l(t.columns,function(e,r){return a("li",{key:r,class:{curr:t.active==r},on:{click:function(a){t.onTypeConfirm(e.keyId,r)}}},[t._v(t._s(e.text))])}),0),a("a",{staticClass:"btn",attrs:{href:"javascript:;"},on:{click:function(e){t.dialog=!1}}},[t._v("取消")])])]):t._e()],1)},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"no-data"},[a("p",{staticStyle:{color:"#333",width:"80%",margin:"0 auto","font-size":"13px","margin-top":"28px"}},[t._v("您的钱包当前还没有记录哦,去看看商品吧~ "),a("a",{staticStyle:{color:"#1080d0"},attrs:{href:"/v3/s"}},[t._v("去搜索")])])])}],o=(a("27fb"),a("ac74"),a("bd31")),s=(a("9f07"),a("0964"),a("1cc5")),c=a("52c1"),i=a("57af"),l=a("01c5");s["a"].use(l["e"]).use(l["j"]).use(l["c"]).use(l["i"]).use(l["p"]);var d={name:"walletRecord",data:function(){return{title:"充值提现记录",text:"全部",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:"",dialog:!1,active:0,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),r=function(t){return(t<10?"0":"")+t};return e.replace(/yyyy|MM|dd|HH|mm|ss/g,function(t){switch(t){case"yyyy":return r(a.getFullYear());case"MM":return r(a.getMonth()+1);case"mm":return r(a.getMinutes());case"dd":return r(a.getDate());case"HH":return r(a.getHours());case"ss":return r(a.getSeconds())}})}function e(){var t=new Date;return t.setDate(1),t}function a(){var t=new Date,e=t.getMonth(),a=++e,r=new Date(t.getFullYear(),a,1),n=864e5;return new Date(r-n)}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.dialog=!this.dialog},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),r=new Date(a.getTime());return r.getFullYear()+"-"+(Number(r.getMonth())+1)+"-"+r.getDate()}function e(t,e){var a=new Date(t,e,1),r=new Date(a.getTime()-864e5);return r.getFullYear()+"-"+(Number(r.getMonth())+1)+"-"+r.getDate()}this.dateShow=!1,this.recordYear=this.updateYear||this.recordYear,this.recordMonth=this.updateMonth||this.recordMonth,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),r=new Date(a.getTime());return r.getFullYear()+"-"+(Number(r.getMonth())+1)+"-"+r.getDate()}function r(t,e){var a=new Date(t,e,1),r=new Date(a.getTime()-864e5);return r.getFullYear()+"-"+(Number(r.getMonth())+1)+"-"+r.getDate()}this.dialog=!1,this.active=e,this.text=this.columns[e].text,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,stime:a(this.recordYear,this.recordMonth),etime:r(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"]}},u=d,h=(a("e615"),a("fc05")),p=Object(h["a"])(u,r,n,!1,null,"0d8095a0",null);e["default"]=p.exports},e615:function(t,e,a){"use strict";var r=a("0360"),n=a.n(r);n.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d46f0b5"],{"3b79":function(t,i,a){"use strict";var n=a("db41"),e=a.n(n);e.a},4835:function(t,i,a){"use strict";a.r(i);var n=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("div",{staticClass:"exchange"},[a("Header",{attrs:{title:"兑换记录"}}),a("ul",{staticClass:"point-list-head1"},t._l(t.navlist,function(i,n){return a("li",{class:{act:t.prize_type==i.prise_type},on:{click:function(a){t.tab(i.prise_type)}}},[t._v("\n "+t._s(i.prise_type_text)+"\n ")])}),0),a("div",{ref:"pointContent",staticClass:"exchange_content"},[a("div",{staticClass:"has_data"},[a("van-list",{attrs:{loading:t.loadStatus,finished:t.finished,offset:2,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(i){t.loading=i},expression:"loading"}},t._l(t.detaillist,function(i,n){return a("div",{key:n,staticClass:"data-group clr"},[a("div",{staticClass:"f-l"},[a("div",{staticClass:"imgbox"},[a("img",{attrs:{src:i.prize_img_url,alt:i.prize_name}})])]),a("div",{staticClass:"f-l infotext"},[a("div",{staticClass:"boxtextx"},[t._v(t._s(i.prize_name))]),a("span",[t._v(t._s(t._f("dateTimeFormate")(i.exchange_time)))])]),a("div",{staticClass:"f-r"},[t._v("支出"+t._s(i.prize_use_point)+"积分")])])}),0)],1)])],1)},e=[],s=a("bd31"),o=a("1cc5"),c=a("52c1"),l=a("01c5"),r=a("57af");o["a"].use(l["g"]);var f={name:"exchange",components:{Header:r["a"]},data:function(){return{page:1,loading:!1,limit:12,flow_type:1,detaillists:[],prize_type:1}},computed:Object(s["a"])({},Object(c["b"])({navlist:function(t){return t.pointmall.navlist},loadStatus:function(t){return t.exchange.loadStatus},finished:function(t){return t.exchange.finished},totalLimit:function(t){return t.exchange.totalLimit},detaillist:function(t){return t.exchange.detaillist}})),created:function(){this.$store.dispatch({type:"getPointPrize"}),this.getData()},watch:{loadStatus:function(t){this.loading=t}},methods:{getData:function(){this.$store.dispatch({type:"getUserPointExchangeList",page:this.page,limit:this.limit,prize_type:this.prize_type})},tab:function(t){if(t!=this.prize_type){this.prize_type=t,this.page=1;var i=this.$refs["pointContent"];i.scrollTo?i.scrollTo(0,0):i.scrollTop=0,this.getData()}},onLoad:function(){this.page<this.totalLimit&&(this.page++,this.getData())}}},u=f,p=(a("6c42"),a("fc05")),d=Object(p["a"])(u,n,e,!1,null,"05db62e6",null);i["default"]=d.exports},"57af":function(t,i,a){"use strict";var n=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("section",{staticClass:"head-dom"},[a("div",{staticClass:"header-page clr"},[a("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:t.historyback}}),a("h3",{staticClass:"title fl"},[t._v(t._s(t.title))]),t.meaushow?a("Menu",{attrs:{color:t.color}}):t._e()],1)])},e=[],s=a("7272"),o={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:s["a"]}},c=o,l=(a("7afb"),a("fc05")),r=Object(l["a"])(c,n,e,!1,null,"3efd14ca",null);i["a"]=r.exports},"62ad":function(t,i,a){},"6c42":function(t,i,a){"use strict";var n=a("b620"),e=a.n(n);e.a},7272:function(t,i,a){"use strict";var n=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("div",[t.flag?a("div",{staticClass:"menu-fade",on:{click:function(i){t.flag=!1}}}):t._e(),a("div",{staticClass:"menu clr"},[a("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(i){t.flag=!t.flag}}}),t.flag?a("div",[a("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},e=[function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("ul",{staticClass:"menu-view"},[a("li",[a("a",{attrs:{href:"/v3?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-shouye"}),t._v("首页")])]),a("li",[a("a",{attrs:{href:"/v3/lxshop?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-lianying"}),t._v("联营商城")])]),a("li",[a("a",{attrs:{href:"/v3/xianhuo?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-liexinziying"}),t._v("自营现货")])]),a("li",[a("a",{attrs:{href:"/v3/brand/map?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-pinpai"}),t._v("品牌之家")])]),a("li",{staticClass:"mui-table-view-cell "},[a("a",{staticClass:"zytabgo",attrs:{href:"/v3/joincart?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-gouwuche1"}),t._v("购物车")])]),a("li",[a("a",{attrs:{href:"/v3/user?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-huiyuanzhongxin"}),t._v("会员中心")])])])}],s={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},o=s,c=(a("3b79"),a("fc05")),l=Object(c["a"])(o,n,e,!1,null,null,null);i["a"]=l.exports},"7afb":function(t,i,a){"use strict";var n=a("62ad"),e=a.n(n);e.a},b620:function(t,i,a){},db41:function(t,i,a){}}]);
\ 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.
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