Commit 0494273d by 施宇

sy 自营样片

parent 4723a8c3
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
"vant": "^2.0.1", "vant": "^2.0.1",
"vue": "^2.5.21", "vue": "^2.5.21",
"vue-router": "^3.0.1", "vue-router": "^3.0.1",
"vuex": "^3.0.1" "vuex": "^3.0.1",
"weixin-js-sdk": "^1.4.0-test"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "^3.3.0", "@vue/cli-plugin-babel": "^3.3.0",
...@@ -36,4 +37,4 @@ ...@@ -36,4 +37,4 @@
"last 2 versions", "last 2 versions",
"not ie <= 8" "not ie <= 8"
] ]
} }
\ No newline at end of file
...@@ -362,7 +362,18 @@ export const apis = { ...@@ -362,7 +362,18 @@ export const apis = {
/******添加到购物车或者下单 */ /******添加到购物车或者下单 */
addGood: productionUrlApi + '/cart/add', addGood: productionUrlApi + '/cart/add',
/******自营样片订单提交接口 */ /******自营样片订单提交接口 */
selfSampleCreate: productionUrlApi + 'order/selfsamplecreate', selfSampleCreate: productionUrlApi + '/order/selfsamplecreate',
/** 获取用户领取机会、邀约人数*/
getusersampleinfo: productionUrlApi + '/user/getusersampleinfo',
/** 自营样片邀约登录接口*/
loginsampleaction: productionUrlApi + '/login/sampleaction',
/** 获取样片列表*/
samplelist: productionUrlApi + '/sample/list',
/** 获取样片分类列表*/
sampleclasslist: productionUrlApi + '/sample/class/list',
/** 获取单个样片信息*/
getsampleinfo: url + 'getsampleinfo',
/** /**
...@@ -400,7 +411,6 @@ export const apis = { ...@@ -400,7 +411,6 @@ export const apis = {
skuList: productionUrlApi + 'sku/info', skuList: productionUrlApi + 'sku/info',
/**获取排行榜接口**/ /**获取排行榜接口**/
getlxuserrank: productionUrlApi + 'activity/getlxuserrank', getlxuserrank: productionUrlApi + 'activity/getlxuserrank',
} }
...@@ -658,5 +668,29 @@ export const services = { ...@@ -658,5 +668,29 @@ export const services = {
selfSampleCreate(params) { selfSampleCreate(params) {
return axios.post(apis.selfSampleCreate, params) return axios.post(apis.selfSampleCreate, params)
}, },
sampleClassList(params) {
return axios.get(apis.sampleclasslist, {
params: {
...params
}
})
},
sampleList(params) {
return axios.get(apis.samplelist, {
params: {
...params
}
})
},
getUserSampleInfo(params) {
return axios.get(apis.getusersampleinfo, {
params: {
...params
}
})
},
getSampleInfo(params){
return axios.post(apis.getsampleinfo, params)
}
}; };
\ No newline at end of file
.sample {
padding-bottom: 50px;
}
.sample .ele {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.sample .banner {
height: 173px;
width: 100%;
background: url("../../images/sample/samplebanner.png") no-repeat;
background-size: 100% 100%;
}
.sample .zititle {
padding: 15px;
}
.sample .zititle span {
color: #333;
font-size: 16px;
}
.sample .zititle font {
font-size: 12px;
color: #999;
margin-left: 10px;
height: 20px;
line-height: 20px;
}
.sample .nav {
padding: 0 15px ;
}
.sample .nav .van-hairline--top-bottom::after {
border-width: 0 0 1px 0;
}
.sample .con .con-group {
padding: 15px;
padding-bottom: 0px;
}
.sample .con .con-group .img-box {
width: 2.933rem;
height: 2.933rem;
}
.sample .con .con-group .img-box img {
width: 100%;
height: 100%;
}
.sample .con .con-group .cb-box {
width: 6rem;
height: 2.933rem;
padding-bottom: 15px;
}
.sample .con .con-group .cb-box .title {
color: #333;
font-size: 16px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
margin-bottom: 0.15rem;
}
.sample .con .con-group .cb-box p {
color: #333;
font-size: 12px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
height: 0.45rem;
line-height: 0.45rem;
}
.sample .con .con-group .cb-box p span {
color: #666;
}
.sample .con .con-group .cb-box .btnx {
width: 3.5rem;
height: 0.7rem;
line-height: 0.7rem;
border-radius: 4px;
background: #1080d0;
color: #fff;
text-align: center;
cursor: pointer;
margin-top: 0.2rem;
}
@media screen and (max-width: 320px) {
.sample .con .con-group .cb-box {
width: 5.8rem;
height: 2.933rem;
}
.sample .con .con-group .cb-box .title {
margin-bottom: 0.05rem;
}
}
.sample .fix-btns {
position: fixed;
left: 0;
bottom: 0;
right: 0;
height: 50px;
line-height: 50px;
color: #fff;
font-size: 16px;
text-align: center;
background: #1080d0;
box-shadow: 0 0 10px #000;
cursor: pointer;
}
.sample .get-user-pop .get-user-con {
background: #fff;
width: 8.667rem;
height: 5.52rem;
border-radius: 3px;
position: fixed;
top: 50%;
left: 50%;
margin-left: -4.3335rem;
margin-top: -2.76rem;
box-shadow: 0 0 20px #e5e5e5;
z-index: 99999;
}
.sample .get-user-pop .get-user-con h3 {
color: #ffa200;
font-size: 16px;
height: 2.027rem;
line-height: 2.027rem;
text-align: center;
}
.sample .get-user-pop .get-user-con h3 i {
position: relative;
float: right;
top: -1.4rem;
color: #fff;
font-size: 20px;
}
.sample .get-user-pop .get-user-con h2 {
color: #000;
font-size: 14px;
text-align: center;
width: 60%;
margin: 0 auto;
}
.sample .get-user-pop .get-user-con span {
display: block;
cursor: pointer;
height: 30px;
line-height: 30px;
width: 150px;
text-align: center;
background: #1080d0;
color: #fff;
font-size: 14px;
border-radius: 30px;
margin: 0 auto;
margin-top: 50px;
}
.sample .get-user-pop .mask {
position: fixed;
bottom: 0;
top: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.3);
z-index: 999;
}
.sample{ .sample{
padding-bottom:50px;
.ele{text-overflow: ellipsis;overflow: hidden;white-space: nowrap;} .ele{text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}
.banner{ .banner{
height:173px;width:100%; height:173px;width:100%;
......
.sample .ele{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sample .banner{height:173px;width:100%;background:url("../../images/sample/samplebanner.png") no-repeat;background-size:100% 100%}.sample .zititle{padding:15px}.sample .zititle span{color:#333;font-size:16px}.sample .zititle font{font-size:12px;color:#999;margin-left:10px;height:20px;line-height:20px}.sample .nav{padding:0 15px }.sample .nav .van-hairline--top-bottom::after{border-width:0 0 1px 0}.sample .con .con-group{padding:15px;padding-bottom:0px}.sample .con .con-group .img-box{width:2.933rem;height:2.933rem}.sample .con .con-group .img-box img{width:100%;height:100%}.sample .con .con-group .cb-box{width:6rem;height:2.933rem;padding-bottom:15px}.sample .con .con-group .cb-box .title{color:#333;font-size:16px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-bottom:.15rem}.sample .con .con-group .cb-box p{color:#333;font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:.45rem;line-height:.45rem}.sample .con .con-group .cb-box p span{color:#666}.sample .con .con-group .cb-box .btnx{width:3.5rem;height:.7rem;line-height:.7rem;border-radius:4px;background:#1080d0;color:#fff;text-align:center;cursor:pointer;margin-top:.2rem}@media screen and (max-width:320px){.sample .con .con-group .cb-box{width:5.8rem;height:2.933rem}.sample .con .con-group .cb-box .title{margin-bottom:.05rem}}.sample .fix-btns{position:fixed;left:0;bottom:0;right:0;height:50px;line-height:50px;color:#fff;font-size:16px;text-align:center;background:#1080d0;box-shadow:0 0 10px #000;cursor:pointer}.sample .get-user-pop .get-user-con{background:#fff;width:8.667rem;height:5.52rem;border-radius:3px;position:fixed;top:50%;left:50%;margin-left:-4.3335rem;margin-top:-2.76rem;box-shadow:0 0 20px #e5e5e5;z-index:99999}.sample .get-user-pop .get-user-con h3{color:#ffa200;font-size:16px;height:2.027rem;line-height:2.027rem;text-align:center}.sample .get-user-pop .get-user-con h3 i{position:relative;float:right;top:-1.4rem;color:#fff;font-size:20px}.sample .get-user-pop .get-user-con h2{color:#000;font-size:14px;text-align:center;width:60%;margin:0 auto}.sample .get-user-pop .get-user-con span{display:block;cursor:pointer;height:30px;line-height:30px;width:150px;text-align:center;background:#1080d0;color:#fff;font-size:14px;border-radius:30px;margin:0 auto;margin-top:50px}.sample .get-user-pop .mask{position:fixed;bottom:0;top:0;left:0;right:0;background:rgba(0,0,0,0.3);z-index:999} .sample {padding-bottom: 50px;}.sample .ele{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sample .banner{height:173px;width:100%;background:url("../../images/sample/samplebanner.png") no-repeat;background-size:100% 100%}.sample .zititle{padding:15px}.sample .zititle span{color:#333;font-size:16px}.sample .zititle font{font-size:12px;color:#999;margin-left:10px;height:20px;line-height:20px}.sample .nav{padding:0 15px }.sample .nav .van-hairline--top-bottom::after{border-width:0 0 1px 0}.sample .con .con-group{padding:15px;padding-bottom:0px}.sample .con .con-group .img-box{width:2.933rem;height:2.933rem}.sample .con .con-group .img-box img{width:100%;height:100%}.sample .con .con-group .cb-box{width:6rem;height:2.933rem;padding-bottom:15px}.sample .con .con-group .cb-box .title{color:#333;font-size:16px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-bottom:.15rem}.sample .con .con-group .cb-box p{color:#333;font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:.45rem;line-height:.45rem}.sample .con .con-group .cb-box p span{color:#666}.sample .con .con-group .cb-box .btnx{width:3.5rem;height:.7rem;line-height:.7rem;border-radius:4px;background:#1080d0;color:#fff;text-align:center;cursor:pointer;margin-top:.2rem}@media screen and (max-width:320px){.sample .con .con-group .cb-box{width:5.8rem;height:2.933rem}.sample .con .con-group .cb-box .title{margin-bottom:.05rem}}.sample .fix-btns{position:fixed;left:0;bottom:0;right:0;height:50px;line-height:50px;color:#fff;font-size:16px;text-align:center;background:#1080d0;box-shadow:0 0 10px #000;cursor:pointer}.sample .get-user-pop .get-user-con{background:#fff;width:8.667rem;height:5.52rem;border-radius:3px;position:fixed;top:50%;left:50%;margin-left:-4.3335rem;margin-top:-2.76rem;box-shadow:0 0 20px #e5e5e5;z-index:99999}.sample .get-user-pop .get-user-con h3{color:#ffa200;font-size:16px;height:2.027rem;line-height:2.027rem;text-align:center}.sample .get-user-pop .get-user-con h3 i{position:relative;float:right;top:-1.4rem;color:#fff;font-size:20px}.sample .get-user-pop .get-user-con h2{color:#000;font-size:14px;text-align:center;width:60%;margin:0 auto}.sample .get-user-pop .get-user-con span{display:block;cursor:pointer;height:30px;line-height:30px;width:150px;text-align:center;background:#1080d0;color:#fff;font-size:14px;border-radius:30px;margin:0 auto;margin-top:50px}.sample .get-user-pop .mask{position:fixed;bottom:0;top:0;left:0;right:0;background:rgba(0,0,0,0.3);z-index:999}
\ No newline at end of file \ No newline at end of file
import Vue from 'vue'
import {
Toast
} from 'vant';
import {
services as Services
} from '../../../api/index'
Vue.use(Toast);
const state = {
classList: [],
goodList: [],
loading: false,
finished: false,
goodCount: 0
}
const mutations = {
classListM(state, payload) {
state.classList = payload.data
},
goodList(state, payload) {
let arr = [];
for(let k in payload.data){
arr.push(payload.data[k])
}
state.goodList = state.goodList.concat(arr)
}
}
const actions = {
getClasslist({
commit,
}) {
Services.sampleClassList().then((res) => {
let data = res.data;
if (data.err_code == 0) {
commit("classListM", {
data: data.data,
});
} else {
commit("classListM", {
data: [],
})
}
}).catch(function (err) {
commit("classListM", {
data: [],
})
});
},
getGoodList({
commit
}, payload) {
state.loading = true;
state.finished = false;
let p = payload.data.p;
if (p == 1) {
state.goodList = [];
}
let params ={
...payload.data,
limit: 10,
}
Services.sampleList(params).then((res) => {
state.loading = false;
let data = res.data;
if (data.err_code == 0) {
let totalPage = Math.ceil(data.data.total / 10);
if (p == totalPage) {
state.finished = true;
}
if (data.data.total) {
commit('goodList', {
data: data.data.data
})
}
} else {
state.loading = false;
state.finished = true;
}
}).catch(function (err) {
state.loading = false;
state.finished = true;
});
}
}
export default {
state,
actions,
mutations
}
\ No newline at end of file
...@@ -10,7 +10,8 @@ Vue.use(Toast); ...@@ -10,7 +10,8 @@ Vue.use(Toast);
const state = { const state = {
loading: false, loading: false,
addressInfo:"", addressInfo:"",
submitState:false submitState:false,
ypGoodDetail:{}
} }
const mutations = { const mutations = {
recvlistSample(state, payload) { recvlistSample(state, payload) {
...@@ -24,7 +25,7 @@ const actions = { ...@@ -24,7 +25,7 @@ const actions = {
recvlistSample({commit}, payload) { recvlistSample({commit}, payload) {
Services.recvlist().then((res) => { Services.recvlist().then((res) => {
let data = res.data; let data = res.data;
state.loading = false; // state.loading = false;
if (data.err_code == 0) { if (data.err_code == 0) {
commit({ commit({
type: 'recvlistSample', type: 'recvlistSample',
...@@ -35,7 +36,7 @@ const actions = { ...@@ -35,7 +36,7 @@ const actions = {
}); });
}, },
selfSampleCreate({commit}, payload) { selfSampleCreate({commit}, payload) {
state.loading = true; // state.loading = true;
var params = { var params = {
goods_id: payload.goods_id, goods_id: payload.goods_id,
apply_num: payload.apply_num, apply_num: payload.apply_num,
...@@ -46,13 +47,31 @@ const actions = { ...@@ -46,13 +47,31 @@ const actions = {
} }
Services.selfSampleCreate(qs.stringify(params)).then((res) => { Services.selfSampleCreate(qs.stringify(params)).then((res) => {
let data = res.data; let data = res.data;
state.loading = false; // state.loading = false;
if (data.err_code == 0) { if (data.err_code == 0) {
state.submitState=true; state.submitState=true;
}else{ }else{
Toast(data.err_msg); Toast(data.err_msg);
} }
}).catch(function (err) { }).catch(function (err) {
// state.loading = false;
});
},
getDetailYp({commit}, payload) {
state.loading = true;
let Params_ = {
id: payload.data.id,
}
let params = Util.getParams(Params_);
Services.getSampleInfo(params).then((res) => {
let data = res.data;
state.loading = false;
if (data.err_code == 0) {
state.ypGoodDetail = data.data
}else{
Toast(data.err_msg);
}
}).catch(function (err) {
state.loading = false; state.loading = false;
}); });
}, },
......
<template> <template>
<section class="sample" > <section class="sample">
<Header :title="title" :meaushow='meaushow' :bgcolor="bgcolor"></Header> <Header :title="title" :meaushow="meaushow" :bgcolor="bgcolor"></Header>
<wxShare :url="shareUrl"></wxShare> <wxShare :url="shareUrl"></wxShare>
<div class="banner"></div> <div class="banner"></div>
<div class="zititle"> <div class="zititle">
<span>猎芯自营</span> <span>猎芯自营</span>
<font>品现货 1片起订 3小时发货</font> <font>品现货 1片起订 3小时发货</font>
</div>
<div class="nav">
<van-tabs
v-model="active"
:color="color"
:swipe-threshold="swipeThreshold"
:title-active-color="color"
:title-inactive-color="defaultcolor"
@change="changeTab"
>
<van-tab v-for="(v,k) in classList" :title="v.class_name" :name="v.id"></van-tab>
</van-tabs>
</div>
<div class="con">
<van-list
v-model="loadingYp"
:finished="finished"
finished-text="我是有底线的噢"
@load="onLoad"
:immediate-check="false"
>
<div class="con-group clr" v-for="(v,k) in goodList">
<div class="fl img-box" v-lazy-container="{selector:'img'}">
<img
class="lazy img-lazy"
:alt="v.goods_info.goods_name"
:data-src="v.goods_info.goods_images"
data-error="https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png"
/>
</div>
<div class="fr cb-box van-hairline--bottom">
<div class="title">{{v.goods_info.goods_name}}</div>
<p>
<span>类别:</span>
{{v.goods_info.class_id1_name}}
</p>
<p>
<span>品牌:</span>
{{v.goods_info.brand_name}}
</p>
<p>
<span>最大可申请数量:</span>
{{v.max_number}}
</p>
<div class="btnx" @click="yaoqing(v.goods_id)">领取样品</div>
</div>
</div> </div>
<div class="nav"> </van-list>
<van-tabs v-model="active" :color="color" :swipe-threshold="swipeThreshold" :title-active-color="color" :title-inactive-color="defaultcolor"> </div>
<van-tab title="标签阿四"></van-tab> <div class="fix-btns" v-shareMask>立即分享</div>
<van-tab title="标签 2"></van-tab> <!--获得机会弹窗-->
<van-tab title="标签 3"></van-tab> <div class="get-user-pop" v-show="getPop">
<van-tab title="标签 3"></van-tab> <div class="mask"></div>
</van-tabs> <div class="get-user-con">
</div> <h3>
<div class="con"> 您已将所有样片机会用完
<div class="con-group clr"> <i class="icon iconfont icon-guanbi" @click="getuserf"></i>
<div class="fl img-box"> </h3>
<img src="static/images/news.png" alt=""> <h2>邀请好友注册可额外获得一次样品申请机会,多邀多得</h2>
</div> <span v-shareMask>点击邀请</span>
<div class="fr cb-box van-hairline--bottom"> </div>
<div class="title">TL431-DSFSDFSDFS-2ffF...</div> </div>
<p><span>类别:</span> 贴片电容贴片电容贴片电容贴电容...</p> </section>
<p><span>品牌:</span> EYANG(宇阳)EYANG(宇阳)...</p>
<p><span>最大可申请数量:</span>2</p>
<div class="btnx" @click="yaoqing">领取样品</div>
</div>
</div>
</div>
<div class="fix-btns" v-shareMask>立即分享</div>
<!--获得机会弹窗-->
<div class="get-user-pop" v-show="getPop">
<div class="mask"></div>
<div class="get-user-con">
<h3>您已将所有样片机会用完<i class="icon iconfont icon-guanbi" @click="getuserf"></i></h3>
<h2>邀请好友注册可额外获得一次样品申请机会,多邀多得</h2>
<span v-shareMask>点击邀请</span>
</div>
</div>
</section>
</template> </template>
<script> <script>
import Vue from "vue";
import Vue from 'vue' import { mapState } from "vuex";
import {mapState} from 'vuex' import Header from "@/views/common/Header.vue";
import Header from "@/views/common/Header.vue"; import wxShare from "@/views/common/wxShare.vue";
import wxShare from "@/views/common/wxShare.vue"; import { services as Services } from "../../api/index";
import util from "../../util/index" import util from "../../util/index";
import { Tab, Tabs } from 'vant'; import { Tab, Tabs, Lazyload, List, Toast } from "vant";
Vue.use(Tab).use(Tabs); Vue.use(Tab)
export default { .use(Tabs)
name: 'sample', .use(Lazyload)
data() { .use(Toast);
return { export default {
title:"猎芯网-自营样片", name: "sample",
meaushow:true, data() {
bgcolor:'#fafafa', return {
color:'#1080d0', title: "猎芯网-自营样片",
defaultcolor:'#333', meaushow: true,
swipeThreshold:4, bgcolor: "#fafafa",
active:0, color: "#1080d0",
getPop:false,//获得机会弹窗,没机会时展示 defaultcolor: "#333",
shareUrl:window.location.origin+"/v3/samplereg?uid="+util.getCookie("Yo4teW_uid") swipeThreshold: 4,
active: 0,
} getPop: false, //获得机会弹窗,没机会时展示
}, loadingYp: false,
computed: { p: 1,
...mapState({ classId: "",
shareUrl:
}) window.location.origin +
}, "/v3/samplereg?uid=" +
watch:{ util.getCookie("Yo4teW_uid")
};
}, },
created() { computed: {
...mapState({
}, classList: state => state.sample.classList,
methods: { goodList: state => state.sample.goodList,
getuserf(){ finished: state => state.sample.finished,
this.getPop=false; loading: state => state.sample.loading
}, })
yaoqing(){ },
watch: {
this.getPop=true; loading(now) {
} this.loadingYp = now;
}, },
components: { classList(now) {
Header, this.p = 1;
wxShare this.classId = now[0].id;
this.getGoodList();
}
},
created() {
this.$store.dispatch({
type: "getClasslist"
});
},
methods: {
getGoodList() {
this.$store.dispatch({
type: "getGoodList",
data: {
p: this.p,
class_id: this.classId
} }
});
},
changeTab(data) {
this.p = 1;
this.classId = data;
this.getGoodList();
},
onLoad() {
this.p++;
this.getGoodList();
},
getuserf() {
this.getPop = false;
},
yaoqing(id) {
let loginpta = util.isLogin() ? true : false;
let me = this;
if (!loginpta) {
window.location.href =
"/v3/login?referer=" + encodeURIComponent(window.location.href);
return;
} else {
const toast = Toast({
type: "loading",
message: "领取中",
forbidClick: true,
duration: 0
});
Services.getUserSampleInfo()
.then(res => {
let data = res.data;
if (data.err_code == 0) {
if (data.data.apply_count != 0) {
toast.clear();
me.$router.push({
path: "/sampleapply",
query: {
id: id
}
});
} else {
me.getPop = true;
}
} else {
toast.clear();
Toast.fail("领取失败");
}
})
.catch(function(err) {
toast.clear();
Toast.fail("领取失败");
});
}
} }
},
components: {
Header,
wxShare,
"van-list": List
}
};
</script> </script>
<style scoped> <style scoped>
@import "../../assets/css/sample/sample.min.css"; @import "../../assets/css/sample/sample.min.css";
</style> </style>
\ No newline at end of file
...@@ -6,20 +6,20 @@ ...@@ -6,20 +6,20 @@
<van-collapse-item title="商品信息" name="1" :border="noborder"> <van-collapse-item title="商品信息" name="1" :border="noborder">
<div class="info-con clr"> <div class="info-con clr">
<div class="fl img-box"> <div class="fl img-box">
<img :src="zygoodDetail.goods_images||'static/images/news.png'" alt=""> <img :src="ypGoodDetail.goods_images||'https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png'" alt="">
</div> </div>
<div class="fr cb-box"> <div class="fr cb-box" v-if="ypGoodDetail.goods_info">
<div class="title">{{zygoodDetail.goods_name}}</div> <div class="title">{{ypGoodDetail.goods_info.goods_name}}</div>
<p><span>类别:</span> {{zygoodDetail.class1_name}}</p> <p><span>类别:</span> {{ypGoodDetail.goods_info.class_id1_name}}</p>
<p><span>品牌:</span>{{zygoodDetail.brand_name}}</p> <p><span>品牌:</span>{{ypGoodDetail.goods_info.brand_name}}</p>
<p><span>最大可申请数量:</span>2</p> <p><span>最大可申请数量:</span>{{ypGoodDetail.max_number||1}}</p>
</div> </div>
</div> </div>
<div class="info-detail"> <div class="info-detail" v-if="ypGoodDetail.goods_info">
<p><span>型号: </span>{{zygoodDetail.sku_name}}</p> <p><span>型号: </span>{{ypGoodDetail.goods_info.sku_name}}</p>
<p class="canshudetail"> <p class="canshudetail">
<span>参数描述: </span> <span>参数描述: </span>
{{zygoodDetail.sku_name}}{{zygoodDetail.brand_name}}设计生产制造,在猎芯网自营现货销售。{{zygoodDetail.goods_name}}的封装/规格参数为:{{zygoodDetail.encap}};您可以选择下载{{zygoodDetail.sku_name}}中文资料等数据手册功能说明书,资料中有{{zygoodDetail.class_id1_name}}{{zygoodDetail.class_id2_name}}详细使用方法及教程。 {{ypGoodDetail.goods_info.sku_name}}{{ypGoodDetail.goods_info.brand_name}}设计生产制造,在猎芯网自营现货销售。{{ypGoodDetail.goods_info.goods_name}}的封装/规格参数为:{{ypGoodDetail.goods_info.encap}};您可以选择下载{{ypGoodDetail.goods_info.sku_name}}中文资料等数据手册功能说明书,资料中有{{ypGoodDetail.goods_info.class_id1_name}}{{ypGoodDetail.goods_info.class_id2_name}}详细使用方法及教程。
</p> </p>
</div> </div>
</van-collapse-item> </van-collapse-item>
...@@ -27,15 +27,15 @@ ...@@ -27,15 +27,15 @@
</van-collapse> </van-collapse>
<div class="form-info"> <div class="form-info">
<div class="form-group"> <div class="form-group">
<h3><span class="f-red">*</span>&nbsp;&nbsp;商品信息</h3> <h3><span class="f-red">*</span>&nbsp;&nbsp;申请数量</h3>
<input type="text" v-model="apply_num" placeholder="请输入申请数量,最多可申请2个" onkeyup="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39){if (!/^[\d]+$/ig.test(this.value)){this.value='';}}"/> <input type="text" v-model="apply_num" :placeholder="'请输入申请数量,最多可申请'+(ypGoodDetail.max_number||1)+'个'" onkeyup="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39){if (!/^[\d]+$/ig.test(this.value)){this.value='';}}"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<h3><span class="f-red">*</span>&nbsp;&nbsp;单位名称</h3> <h3><span class="f-red">*</span>&nbsp;&nbsp;单位名称</h3>
<input type="text" v-model="com_name" placeholder="请输入单位名称" /> <input type="text" v-model="com_name" placeholder="请输入单位名称" />
</div> </div>
<div class="form-group"> <div class="form-group">
<h3><span class="f-red">*</span>&nbsp;&nbsp;项目需求描述</h3> <h3>&nbsp;&nbsp;项目需求描述</h3>
<textarea name="" v-model="sample_demand_desc" placeholder="请输项目需求描述,如申请样品用于什么项目"></textarea> <textarea name="" v-model="sample_demand_desc" placeholder="请输项目需求描述,如申请样品用于什么项目"></textarea>
</div> </div>
<div class="form-group by"> <div class="form-group by">
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
loading: state => state.sampleapply.loading, loading: state => state.sampleapply.loading,
addressInfo: state => state.sampleapply.addressInfo, addressInfo: state => state.sampleapply.addressInfo,
zygoodDetail: state => state.gooddetail.zygoodDetail, ypGoodDetail: state => state.sampleapply.ypGoodDetail,
submitState: state => state.sampleapply.submitState, submitState: state => state.sampleapply.submitState,
}) })
}, },
...@@ -111,11 +111,19 @@ ...@@ -111,11 +111,19 @@
if(val){ if(val){
this.successPop=true; this.successPop=true;
} }
},
apply_num(val){
let num = this.ypGoodDetail.max_number;
if(!num){
this.apply_num = 1
}else if(val>num){
this.apply_num = num
}
} }
}, },
created() { created() {
this.$store.dispatch({ this.$store.dispatch({
type: "getDetailData", type: "getDetailYp",
data: { id: this.goods_id } data: { id: this.goods_id }
}); });
this.$store.dispatch({ this.$store.dispatch({
...@@ -127,7 +135,6 @@ ...@@ -127,7 +135,6 @@
this.successPop=false; this.successPop=false;
}, },
submitS(){ submitS(){
var self=this; var self=this;
if(!this.apply_num){ if(!this.apply_num){
Toast("请输入申请数量"); Toast("请输入申请数量");
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/views/common/Menu.vue */ \"./src/views/common/Menu.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"header-page\",\n props: {\n color: {\n type: String,\n default: \"\"\n },\n historyb: {\n type: Boolean,\n default: false\n },\n zy1Length: {\n type: Number,\n default: 0\n },\n ly1Length: {\n type: Number,\n default: 0\n },\n ly2Length: {\n type: Number,\n default: 0\n },\n bgcolor: {\n type: String,\n default: \"#f3f3f3\"\n },\n isCar: {\n type: Boolean,\n default: false\n },\n inputShow: {\n type: Boolean,\n default: false\n },\n title: {\n type: String,\n default: \"猎芯网\"\n },\n meaushow: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n type: 1,\n //自营2 //联营1,\n borderBottom: \"0px\"\n };\n },\n mounted: function mounted() {},\n created: function created() {\n if (this.bgcolor == \"#fff\") {\n this.borderBottom = \"1px solid #d6d7dc\";\n }\n },\n methods: {\n historyback: function historyback() {\n history.go(-1);\n },\n toSearch: function toSearch() {\n this.$emit('toSearch');\n },\n toSomeThing: function toSomeThing() {\n this.$emit('toSomeThing');\n },\n listTab: function listTab(type) {\n this.type = type;\n this.$emit('listTab', type);\n }\n },\n components: {\n \"van-field\": vant__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n \"van-icon\": vant__WEBPACK_IMPORTED_MODULE_2__[\"Icon\"],\n Menu: _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/Header.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/views/common/Menu.vue */ \"./src/views/common/Menu.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"header-page\",\n props: {\n color: {\n type: String,\n default: \"\"\n },\n historyb: {\n type: Boolean,\n default: false\n },\n zy1Length: {\n type: Number,\n default: 0\n },\n ly1Length: {\n type: Number,\n default: 0\n },\n ly2Length: {\n type: Number,\n default: 0\n },\n bgcolor: {\n type: String,\n default: \"#f3f3f3\"\n },\n isCar: {\n type: Boolean,\n default: false\n },\n inputShow: {\n type: Boolean,\n default: false\n },\n title: {\n type: String,\n default: \"猎芯网\"\n },\n meaushow: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n type: 1,\n //自营2 //联营1,\n borderBottom: \"0px\"\n };\n },\n mounted: function mounted() {},\n created: function created() {\n if (this.bgcolor == \"#fff\") {\n this.borderBottom = \"1px solid #d6d7dc\";\n }\n },\n methods: {\n historyback: function historyback() {\n history.go(-1);\n },\n toSearch: function toSearch() {\n this.$emit('toSearch');\n },\n toSomeThing: function toSomeThing() {\n this.$emit('toSomeThing');\n },\n listTab: function listTab(type) {\n this.type = type;\n this.$emit('listTab', type);\n }\n },\n components: {\n \"van-field\": vant__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n \"van-icon\": vant__WEBPACK_IMPORTED_MODULE_2__[\"Icon\"],\n Menu: _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/Header.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex ...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'seo',\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.findthing.loading;\n },\n form1ImgShow: function form1ImgShow(state) {\n return state.findthing.form1ImgShow;\n },\n form1CodeStatus: function form1CodeStatus(state) {\n return state.findthing.form1CodeStatus;\n },\n isRegLogin: function isRegLogin(state) {\n return state.findthing.isRegLogin;\n }\n }), {\n mobile: function mobile(val) {\n return this.form1.mobile;\n }\n }),\n data: function data() {\n return {\n loadings: false,\n isWindow: true,\n //右侧开启窗口监听滚动\n codeactive: false,\n //form1短信验证码禁用状态\n codetext: \"获取验证码\",\n //form1发短信按钮文案\n form1: {\n mobile: \"\",\n code: \"\",\n codestatus: false,\n imgcode: \"\",\n imgcodestatus: false,\n goodsNumber: \"\",\n num: \"\",\n msg: \"\"\n }\n };\n },\n methods: {\n //短信倒计时form1\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.codeactive = false;\n me.codetext = '获取验证码';\n wait = 60;\n }\n }\n },\n //获取验证码\n getCode: function getCode() {\n if (this['form1']['imgcodestatus']) {\n if (!this['form1']['imgcode']) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: \"请确认图片验证码\",\n duration: 3000\n });\n return;\n }\n }\n\n if (this.codeactive) {\n return;\n }\n\n this.$store.dispatch({\n type: 'smsVerify1',\n mobile: this['form1']['mobile'],\n verify: this['form1']['imgcode']\n });\n },\n //提交表单form1\n submitForm: function submitForm() {\n if (!this['form1']['goodsNumber']) {\n this['form1']['msg'] = \"型号不能为空\";\n return;\n } else {\n this['form1']['msg'] = \"\";\n }\n\n var r = /^1[3456789]\\d{9}$/;\n\n if (r.test(this['form1']['mobile'])) {\n this['form1']['msg'] = \"\";\n } else {\n this['form1']['msg'] = \"请输入正确格式的手机号码\";\n return;\n }\n\n if (!this['form1']['code']) {\n this['form1']['msg'] = \"验证码不能为空\";\n return;\n } else {\n this['form1']['msg'] = \"\";\n }\n\n this.$store.dispatch({\n type: 'actionLogin1',\n account: this['form1']['mobile'],\n sms_verify: this['form1']['code']\n });\n }\n },\n watch: {\n form1CodeStatus: function form1CodeStatus(val) {\n if (val) {\n this.timeNum();\n }\n },\n form1ImgShow: function form1ImgShow(val) {\n this.form1.imgcodestatus = val;\n },\n mobile: function mobile(val) {\n var r = /^1[3456789]\\d{9}$/;\n\n if (r.test(val)) {\n this.form1.msg = \"\";\n this.form1.codestatus = true;\n } else {\n this.form1.msg = \"请输入正确格式的手机号码\";\n this.form1.codestatus = false;\n }\n },\n isRegLogin: function isRegLogin(val) {\n if (val) {\n var datajson_ = {\n number: this.form1.num,\n type: this.form1.goodsNumber\n }; //登录成功调用反馈接口\n\n this.$store.dispatch({\n type: 'feedback1',\n types: 7,\n mobile: this.form1.mobile,\n content: JSON.stringify(datajson_)\n });\n }\n }\n },\n components: {\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/findthing/index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'seo',\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.findthing.loading;\n },\n form1ImgShow: function form1ImgShow(state) {\n return state.findthing.form1ImgShow;\n },\n form1CodeStatus: function form1CodeStatus(state) {\n return state.findthing.form1CodeStatus;\n },\n isRegLogin: function isRegLogin(state) {\n return state.findthing.isRegLogin;\n }\n }), {\n mobile: function mobile(val) {\n return this.form1.mobile;\n }\n }),\n data: function data() {\n return {\n loadings: false,\n isWindow: true,\n //右侧开启窗口监听滚动\n codeactive: false,\n //form1短信验证码禁用状态\n codetext: \"获取验证码\",\n //form1发短信按钮文案\n form1: {\n mobile: \"\",\n code: \"\",\n codestatus: false,\n imgcode: \"\",\n imgcodestatus: false,\n goodsNumber: \"\",\n num: \"\",\n msg: \"\"\n }\n };\n },\n methods: {\n //短信倒计时form1\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.codeactive = false;\n me.codetext = '获取验证码';\n wait = 60;\n }\n }\n },\n //获取验证码\n getCode: function getCode() {\n if (this['form1']['imgcodestatus']) {\n if (!this['form1']['imgcode']) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: \"请确认图片验证码\",\n duration: 3000\n });\n return;\n }\n }\n\n if (this.codeactive) {\n return;\n }\n\n this.$store.dispatch({\n type: 'smsVerify1',\n mobile: this['form1']['mobile'],\n verify: this['form1']['imgcode']\n });\n },\n //提交表单form1\n submitForm: function submitForm() {\n if (!this['form1']['goodsNumber']) {\n this['form1']['msg'] = \"型号不能为空\";\n return;\n } else {\n this['form1']['msg'] = \"\";\n }\n\n var r = /^1[3456789]\\d{9}$/;\n\n if (r.test(this['form1']['mobile'])) {\n this['form1']['msg'] = \"\";\n } else {\n this['form1']['msg'] = \"请输入正确格式的手机号码\";\n return;\n }\n\n if (!this['form1']['code']) {\n this['form1']['msg'] = \"验证码不能为空\";\n return;\n } else {\n this['form1']['msg'] = \"\";\n }\n\n this.$store.dispatch({\n type: 'actionLogin1',\n account: this['form1']['mobile'],\n sms_verify: this['form1']['code']\n });\n }\n },\n watch: {\n form1CodeStatus: function form1CodeStatus(val) {\n if (val) {\n this.timeNum();\n }\n },\n form1ImgShow: function form1ImgShow(val) {\n this.form1.imgcodestatus = val;\n },\n mobile: function mobile(val) {\n var r = /^1[3456789]\\d{9}$/;\n\n if (r.test(val)) {\n this.form1.msg = \"\";\n this.form1.codestatus = true;\n } else {\n this.form1.msg = \"请输入正确格式的手机号码\";\n this.form1.codestatus = false;\n }\n },\n isRegLogin: function isRegLogin(val) {\n if (val) {\n var datajson_ = {\n number: this.form1.num,\n type: this.form1.goodsNumber\n }; //登录成功调用反馈接口\n\n this.$store.dispatch({\n type: 'feedback1',\n types: 7,\n mobile: this.form1.mobile,\n content: JSON.stringify(datajson_)\n });\n }\n }\n },\n components: {\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/findthing/index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Menu.vue */ \"./src/views/common/Menu.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'smt',\n data: function data() {\n return {\n color: \"#fff\",\n active: 0,\n active_1: 0,\n itemtext: ['客户需要提供资料', '物料要求'],\n itemtext_1: ['售后服务', '免责条款'],\n isAvisible: 'block',\n isBvisible: 'none',\n isCvisible: 'block',\n isDvisible: 'none',\n formMsg: '',\n showButton: false,\n formError: false,\n verifyCodeFlag: false,\n codetext: '获取验证码',\n disabled: false,\n codeactive: false,\n layer_1: false,\n layer_2: false,\n layer_3: false,\n closeOnClickOverlay: true,\n firmNum: 0,\n form: {\n mobile: '',\n linkName: '',\n verifyCode: ''\n }\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.smt.loading;\n }\n }), {\n linkName: function linkName() {\n return this.form.linkName;\n },\n mobileVal: function mobileVal() {\n return this.form.mobile;\n }\n }),\n watch: {\n linkName: function linkName(val) {\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(val)) {\n this.formError = true;\n this.formMsg = '亲,称呼只能为英文和中文';\n } else {\n this.formError = false;\n this.formMsg = '';\n }\n },\n mobileVal: function mobileVal(val) {\n if (val.length >= 11) {\n this.verifyCodeFlag = true;\n this.formError = false;\n this.$store.dispatch({\n type: 'checkAccountExists',\n account: this.form.mobile\n });\n }\n }\n },\n methods: {\n tab: function tab(index, type) {\n if (type == 'a') {\n this.active = index;\n this.isAvisible = 'none';\n this.isBvisible = 'none';\n\n if (index == 0) {\n index == 0 ? this.isAvisible = 'block' : this.isAvisible = 'none';\n } else if (index == 1) {\n index == 1 ? this.isBvisible = 'block' : this.isBvisible = 'none';\n }\n } else if (type == 'b') {\n this.active_1 = index;\n this.isCvisible = 'none';\n this.isDvisible = 'none';\n\n if (index == 0) {\n index == 0 ? this.isCvisible = 'block' : this.isCvisible = 'none';\n } else if (index == 1) {\n index == 1 ? this.isDvisible = 'block' : this.isDvisible = 'none';\n }\n }\n },\n getCode: function getCode() {\n this.timeNum();\n this.$store.dispatch({\n type: 'customSmsVerify',\n mobile: this.form.mobile\n });\n },\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.disabled = true;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.disabled = false;\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n submit: function submit() {\n var character_reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n var tel_reg = /^1[3456789]\\d{9}$/;\n\n if (!this.form.linkName) {\n this.formError = true;\n this.formMsg = '亲,请输入您的称呼';\n return;\n }\n\n if (!character_reg.test(this.form.linkName)) {\n this.formError = true;\n this.formMsg = '亲,称呼只能为英文和中文';\n return;\n }\n\n if (!this.form.mobile) {\n this.formError = true;\n this.formMsg = '亲,请输入手机';\n return;\n }\n\n if (!tel_reg.test(this.form.mobile)) {\n this.formError = true;\n this.formMsg = '亲,手机格式不正确';\n return;\n }\n\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n } //提交\n\n\n this.$store.dispatch({\n type: 'chainFind',\n types: 3,\n mobile: this.form.mobile,\n linkName: this.form.linkName,\n verifyCode: this.form.verifyCode\n });\n },\n goAnchor: function goAnchor() {\n var anchor = this.$el.querySelector('#linkName');\n anchor.focus();\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n }\n },\n components: {\n Menu: _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/smt/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Menu.vue */ \"./src/views/common/Menu.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'smt',\n data: function data() {\n return {\n color: \"#fff\",\n active: 0,\n active_1: 0,\n itemtext: ['客户需要提供资料', '物料要求'],\n itemtext_1: ['售后服务', '免责条款'],\n isAvisible: 'block',\n isBvisible: 'none',\n isCvisible: 'block',\n isDvisible: 'none',\n formMsg: '',\n showButton: false,\n formError: false,\n verifyCodeFlag: false,\n codetext: '获取验证码',\n disabled: false,\n codeactive: false,\n layer_1: false,\n layer_2: false,\n layer_3: false,\n closeOnClickOverlay: true,\n firmNum: 0,\n form: {\n mobile: '',\n linkName: '',\n verifyCode: ''\n }\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.smt.loading;\n }\n }), {\n linkName: function linkName() {\n return this.form.linkName;\n },\n mobileVal: function mobileVal() {\n return this.form.mobile;\n }\n }),\n watch: {\n linkName: function linkName(val) {\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(val)) {\n this.formError = true;\n this.formMsg = '亲,称呼只能为英文和中文';\n } else {\n this.formError = false;\n this.formMsg = '';\n }\n },\n mobileVal: function mobileVal(val) {\n if (val.length >= 11) {\n this.verifyCodeFlag = true;\n this.formError = false;\n this.$store.dispatch({\n type: 'checkAccountExists',\n account: this.form.mobile\n });\n }\n }\n },\n methods: {\n tab: function tab(index, type) {\n if (type == 'a') {\n this.active = index;\n this.isAvisible = 'none';\n this.isBvisible = 'none';\n\n if (index == 0) {\n index == 0 ? this.isAvisible = 'block' : this.isAvisible = 'none';\n } else if (index == 1) {\n index == 1 ? this.isBvisible = 'block' : this.isBvisible = 'none';\n }\n } else if (type == 'b') {\n this.active_1 = index;\n this.isCvisible = 'none';\n this.isDvisible = 'none';\n\n if (index == 0) {\n index == 0 ? this.isCvisible = 'block' : this.isCvisible = 'none';\n } else if (index == 1) {\n index == 1 ? this.isDvisible = 'block' : this.isDvisible = 'none';\n }\n }\n },\n getCode: function getCode() {\n this.timeNum();\n this.$store.dispatch({\n type: 'customSmsVerify',\n mobile: this.form.mobile\n });\n },\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.disabled = true;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.disabled = false;\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n submit: function submit() {\n var character_reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n var tel_reg = /^1[3456789]\\d{9}$/;\n\n if (!this.form.linkName) {\n this.formError = true;\n this.formMsg = '亲,请输入您的称呼';\n return;\n }\n\n if (!character_reg.test(this.form.linkName)) {\n this.formError = true;\n this.formMsg = '亲,称呼只能为英文和中文';\n return;\n }\n\n if (!this.form.mobile) {\n this.formError = true;\n this.formMsg = '亲,请输入手机';\n return;\n }\n\n if (!tel_reg.test(this.form.mobile)) {\n this.formError = true;\n this.formMsg = '亲,手机格式不正确';\n return;\n }\n\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n } //提交\n\n\n this.$store.dispatch({\n type: 'chainFind',\n types: 3,\n mobile: this.form.mobile,\n linkName: this.form.linkName,\n verifyCode: this.form.verifyCode\n });\n },\n goAnchor: function goAnchor() {\n var anchor = this.$el.querySelector('#linkName');\n anchor.focus();\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n }\n },\n components: {\n Menu: _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/smt/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Menu.vue */ \"./src/views/common/Menu.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'supplier',\n data: function data() {\n return {\n color: '#fff',\n active: 0,\n supplierActive: 0,\n itemtext: ['自营供应商', '联营供应商'],\n isAvisible: 'block',\n isBvisible: 'none',\n numberFlag: false,\n verifyCodeFlag: false,\n codetext: '获取验证码',\n disabled: false,\n codeactive: false,\n firmNum: 0,\n secondNum: 0,\n max: 50,\n formMsg: '',\n formError: false,\n form: {\n com_name: '',\n linkName: '',\n mobile: '',\n verifyCode: '',\n supplier_type: '',\n main_brand: ''\n }\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.smt.loading;\n }\n }), {\n comName: function comName() {\n return this.form.com_name;\n },\n linkName: function linkName() {\n return this.form.linkName;\n },\n mainBrand: function mainBrand() {\n return this.form.main_brand;\n },\n verifyCode: function verifyCode() {\n return this.form.verifyCode;\n },\n mobileVal: function mobileVal() {\n return this.form.mobile;\n }\n }),\n watch: {\n mainBrand: function mainBrand(val) {\n if (val.length > this.max) {\n this.secondNum = this.max;\n } else {\n this.secondNum = val.length;\n }\n },\n linkName: function linkName(val) {\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(val)) {\n this.formError = true;\n this.formMsg = '亲,称呼只能为英文和中文';\n } else {\n this.formError = false;\n this.formMsg = '';\n }\n },\n verifyCode: function verifyCode(val) {\n if (val) {\n this.formError = false;\n }\n },\n comName: function comName(val) {\n if (val) {\n this.formError = false;\n\n if (val.length > this.max) {\n this.firmNum = this.max;\n } else {\n this.firmNum = val.length;\n }\n }\n },\n mobileVal: function mobileVal(val) {\n if (val.length >= 11) {\n this.verifyCodeFlag = true;\n this.formError = false;\n this.$store.dispatch({\n type: 'checkAccountExists',\n account: this.form.mobile\n });\n }\n }\n },\n methods: {\n tab: function tab(index) {\n this.active = index;\n this.isAvisible = 'none';\n this.isBvisible = 'none';\n\n if (index == 0) {\n index == 0 ? this.isAvisible = 'block' : this.isAvisible = 'none';\n } else if (index == 1) {\n index == 1 ? this.isBvisible = 'block' : this.isBvisible = 'none';\n }\n },\n submit: function submit() {\n var character_reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n var tel_reg = /^1[3456789]\\d{9}$/; // if (!this.form.com_name) {\n // this.formError = true;\n // this.formMsg = '亲,请输入公司名称';\n // return;\n // }\n //\n // if (!this.form.linkName) {\n // this.formError = true;\n // this.formMsg = '亲,请输入您的称呼';\n // return;\n // }\n //\n // if (!character_reg.test(this.form.linkName)) {\n // this.formError = true;\n // this.formMsg = '亲,称呼只能为英文和中文';\n // return;\n // }\n\n if (!this.form.mobile) {\n this.formError = true;\n this.formMsg = '亲,请输入手机';\n return;\n }\n\n if (!tel_reg.test(this.form.mobile)) {\n this.formError = true;\n this.formMsg = '亲,手机格式不正确';\n return;\n }\n\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n } //提交\n\n\n this.$store.dispatch({\n type: 'chainFind',\n types: 1,\n mobile: this.form.mobile,\n linkName: this.form.linkName,\n verifyCode: this.form.verifyCode,\n com_name: this.form.com_name,\n main_brand: this.form.main_brand,\n supplier_type: parseInt(this.supplierActive) + 1\n });\n },\n getCode: function getCode() {\n this.timeNum();\n this.$store.dispatch({\n type: 'customSmsVerify',\n mobile: this.form.mobile\n });\n },\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.disabled = true;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.disabled = false;\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n goAnchor: function goAnchor(type) {\n if (type === 1) {\n var anchor = this.$el.querySelector('#join-btn');\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n this.$el.querySelector('#com_name').focus();\n } else if (type === 2) {\n this.$el.querySelector('#com_name').focus();\n this.supplierActive = 0;\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n } else if (type === 3) {\n this.$el.querySelector('#com_name').focus();\n this.supplierActive = 1;\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n }\n }\n },\n components: {\n Menu: _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/supplier/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Menu.vue */ \"./src/views/common/Menu.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'supplier',\n data: function data() {\n return {\n color: '#fff',\n active: 0,\n supplierActive: 0,\n itemtext: ['自营供应商', '联营供应商'],\n isAvisible: 'block',\n isBvisible: 'none',\n numberFlag: false,\n verifyCodeFlag: false,\n codetext: '获取验证码',\n disabled: false,\n codeactive: false,\n firmNum: 0,\n secondNum: 0,\n max: 50,\n formMsg: '',\n formError: false,\n form: {\n com_name: '',\n linkName: '',\n mobile: '',\n verifyCode: '',\n supplier_type: '',\n main_brand: ''\n }\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.smt.loading;\n }\n }), {\n comName: function comName() {\n return this.form.com_name;\n },\n linkName: function linkName() {\n return this.form.linkName;\n },\n mainBrand: function mainBrand() {\n return this.form.main_brand;\n },\n verifyCode: function verifyCode() {\n return this.form.verifyCode;\n },\n mobileVal: function mobileVal() {\n return this.form.mobile;\n }\n }),\n watch: {\n mainBrand: function mainBrand(val) {\n if (val.length > this.max) {\n this.secondNum = this.max;\n } else {\n this.secondNum = val.length;\n }\n },\n linkName: function linkName(val) {\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(val)) {\n this.formError = true;\n this.formMsg = '亲,称呼只能为英文和中文';\n } else {\n this.formError = false;\n this.formMsg = '';\n }\n },\n verifyCode: function verifyCode(val) {\n if (val) {\n this.formError = false;\n }\n },\n comName: function comName(val) {\n if (val) {\n this.formError = false;\n\n if (val.length > this.max) {\n this.firmNum = this.max;\n } else {\n this.firmNum = val.length;\n }\n }\n },\n mobileVal: function mobileVal(val) {\n if (val.length >= 11) {\n this.verifyCodeFlag = true;\n this.formError = false;\n this.$store.dispatch({\n type: 'checkAccountExists',\n account: this.form.mobile\n });\n }\n }\n },\n methods: {\n tab: function tab(index) {\n this.active = index;\n this.isAvisible = 'none';\n this.isBvisible = 'none';\n\n if (index == 0) {\n index == 0 ? this.isAvisible = 'block' : this.isAvisible = 'none';\n } else if (index == 1) {\n index == 1 ? this.isBvisible = 'block' : this.isBvisible = 'none';\n }\n },\n submit: function submit() {\n var character_reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n var tel_reg = /^1[3456789]\\d{9}$/; // if (!this.form.com_name) {\n // this.formError = true;\n // this.formMsg = '亲,请输入公司名称';\n // return;\n // }\n //\n // if (!this.form.linkName) {\n // this.formError = true;\n // this.formMsg = '亲,请输入您的称呼';\n // return;\n // }\n //\n // if (!character_reg.test(this.form.linkName)) {\n // this.formError = true;\n // this.formMsg = '亲,称呼只能为英文和中文';\n // return;\n // }\n\n if (!this.form.mobile) {\n this.formError = true;\n this.formMsg = '亲,请输入手机';\n return;\n }\n\n if (!tel_reg.test(this.form.mobile)) {\n this.formError = true;\n this.formMsg = '亲,手机格式不正确';\n return;\n }\n\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n } //提交\n\n\n this.$store.dispatch({\n type: 'chainFind',\n types: 1,\n mobile: this.form.mobile,\n linkName: this.form.linkName,\n verifyCode: this.form.verifyCode,\n com_name: this.form.com_name,\n main_brand: this.form.main_brand,\n supplier_type: parseInt(this.supplierActive) + 1\n });\n },\n getCode: function getCode() {\n this.timeNum();\n this.$store.dispatch({\n type: 'customSmsVerify',\n mobile: this.form.mobile\n });\n },\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.disabled = true;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.disabled = false;\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n goAnchor: function goAnchor(type) {\n if (type === 1) {\n var anchor = this.$el.querySelector('#join-btn');\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n this.$el.querySelector('#com_name').focus();\n } else if (type === 2) {\n this.$el.querySelector('#com_name').focus();\n this.supplierActive = 0;\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n } else if (type === 3) {\n this.$el.querySelector('#com_name').focus();\n this.supplierActive = 1;\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n }\n }\n },\n components: {\n Menu: _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/supplier/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core ...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Navigator.vue */ \"./src/views/common/Navigator.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'userIndex',\n data: function data() {\n return {\n qqurl_: _api_index__WEBPACK_IMPORTED_MODULE_9__[\"productionUrlApi\"] + 'login/qq',\n typeVal: 5,\n ismini: true\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.user.loading;\n },\n userInfo: function userInfo(state) {\n return state.user.userInfo;\n },\n orderCounts: function orderCounts(state) {\n return state.user.orderCounts;\n },\n bindInfo: function bindInfo(state) {\n return state.user.bindInfo;\n },\n isLayout: function isLayout(state) {\n return state.user.isLayout;\n },\n isGetBindInfo: function isGetBindInfo(state) {\n return state.user.isGetBindInfo;\n }\n })),\n watch: {\n isLayout: function isLayout(val) {\n if (val) {\n this.goOut();\n }\n },\n isGetBindInfo: function isGetBindInfo(val) {\n if (val) {\n this.$store.dispatch({\n type: 'getBindInfo'\n });\n }\n }\n },\n created: function created() {\n this.getData();\n\n if (isMiniProgram) {\n this.ismini = false;\n }\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'getUserType'\n });\n this.$store.dispatch({\n type: 'orderCount'\n });\n this.$store.dispatch({\n type: 'getBindInfo'\n });\n },\n goOut: function goOut() {\n this.$store.dispatch({\n type: 'logout'\n });\n },\n jiebang: function jiebang() {\n var _this = this;\n\n vant__WEBPACK_IMPORTED_MODULE_7__[\"Dialog\"].confirm({\n message: '请确认是否要解绑当前账号?'\n }).then(function () {\n _this.$store.dispatch({\n type: 'unbindPhone'\n });\n }).catch(function () {// on cancel\n });\n }\n },\n components: {\n Navigator: _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Navigator.vue */ \"./src/views/common/Navigator.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'userIndex',\n data: function data() {\n return {\n qqurl_: _api_index__WEBPACK_IMPORTED_MODULE_9__[\"productionUrlApi\"] + 'login/qq',\n typeVal: 5,\n ismini: true\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.user.loading;\n },\n userInfo: function userInfo(state) {\n return state.user.userInfo;\n },\n orderCounts: function orderCounts(state) {\n return state.user.orderCounts;\n },\n bindInfo: function bindInfo(state) {\n return state.user.bindInfo;\n },\n isLayout: function isLayout(state) {\n return state.user.isLayout;\n },\n isGetBindInfo: function isGetBindInfo(state) {\n return state.user.isGetBindInfo;\n }\n })),\n watch: {\n isLayout: function isLayout(val) {\n if (val) {\n this.goOut();\n }\n },\n isGetBindInfo: function isGetBindInfo(val) {\n if (val) {\n this.$store.dispatch({\n type: 'getBindInfo'\n });\n }\n }\n },\n created: function created() {\n this.getData();\n\n if (isMiniProgram) {\n this.ismini = false;\n }\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'getUserType'\n });\n this.$store.dispatch({\n type: 'orderCount'\n });\n this.$store.dispatch({\n type: 'getBindInfo'\n });\n },\n goOut: function goOut() {\n this.$store.dispatch({\n type: 'logout'\n });\n },\n jiebang: function jiebang() {\n var _this = this;\n\n vant__WEBPACK_IMPORTED_MODULE_7__[\"Dialog\"].confirm({\n message: '请确认是否要解绑当前账号?'\n }).then(function () {\n _this.$store.dispatch({\n type: 'unbindPhone'\n });\n }).catch(function () {// on cancel\n });\n }\n },\n components: {\n Navigator: _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n\n\n\n\nvar wxjs = __webpack_require__(/*! weixin-js-sdk */ \"./node_modules/_weixin-js-sdk@1.4.0-test@weixin-js-sdk/index.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'wxShare',\n props: {\n url: {\n type: String,\n default: window.location.href\n }\n },\n data: function data() {\n return {\n shareObj: {\n title: \"好物分享给你,帮我助力,我们一起免费拿样品\",\n // 分享标题\n desc: \"在吗?拜托帮我点一下,你也能免费申请元器件样品~帮我助力 你拿样品\",\n // 分享描述\n link: this.url,\n // link: window.location.origin+\"/v3/samplereg?uid=\"+util.getCookie(\"Yo4teW_uid\"), // 分享链接\n imgUrl: \"http://img.ichunt.com/images/ichunt/self_sample/apply.png\",\n // 分享图标\n success: function success(resp) {},\n error: function error() {}\n }\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n wxShareInfo: function wxShareInfo(state) {\n return state.common.wxShareInfo;\n },\n wxShareState: function wxShareState(state) {\n return state.common.wxShareState;\n }\n })),\n watch: {\n wxShareState: function wxShareState(val) {\n if (val && _util_index__WEBPACK_IMPORTED_MODULE_7__[\"default\"].getCookie(\"Yo4teW_uid\")) {\n this.share();\n }\n }\n },\n created: function created() {\n if (_util_index__WEBPACK_IMPORTED_MODULE_7__[\"default\"].getCookie(\"Yo4teW_uid\")) {\n this.$store.dispatch({\n type: \"wxShare\",\n current_url: window.location.href\n });\n }\n },\n methods: {\n share: function share() {\n var self = this; // 微信配置\n\n console.log(self.wxShareInfo);\n wx.config({\n debug: false,\n appId: self.wxShareInfo.appId,\n timestamp: self.wxShareInfo.timestamp,\n nonceStr: self.wxShareInfo.nonceStr,\n signature: self.wxShareInfo.signature,\n jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo', 'onMenuShareQZone'] // 功能列表,我们要使用JS-SDK的什么功能\n\n }); // config信息验证后会执行ready方法,所有接口调用都必须在config接口获得结果之后,config是一个客户端的异步操作,所以如果需要在 页面加载时就调用相关接口,则须把相关接口放在ready函数中调用来确保正确执行。对于用户触发时才调用的接口,则可以直接调用,不需要放在ready 函数中。\n\n wx.ready(function () {\n wx.checkJsApi({\n jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo', 'onMenuShareQZone'],\n // 需要检测的JS接口列表,所有JS接口列表见附录2,\n success: function success(res) {// console.log(res);\n // 以键值对的形式返回,可用的api值true,不可用为false\n // 如:{\"checkResult\":{\"chooseImage\":true},\"errMsg\":\"checkJsApi:ok\"}\n }\n }); // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareTimeline(self.shareObj); // 获取“分享给朋友”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareAppMessage(self.shareObj); //获取“分享到QQ”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareQQ(self.shareObj); //获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareWeibo(self.shareObj); //获取“分享到QQ空间”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareQZone(self.shareObj);\n });\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/wxShare.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n\n\n\n\nvar wxjs = __webpack_require__(/*! weixin-js-sdk */ \"./node_modules/_weixin-js-sdk@1.4.0-test@weixin-js-sdk/index.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'wxShare',\n props: {\n url: {\n type: String,\n default: window.location.href\n }\n },\n data: function data() {\n return {\n shareObj: {\n title: \"好物分享给你,帮我助力,我们一起免费拿样品\",\n // 分享标题\n desc: \"在吗?拜托帮我点一下,你也能免费申请元器件样品~帮我助力 你拿样品\",\n // 分享描述\n link: this.url,\n // link: window.location.origin+\"/v3/samplereg?uid=\"+util.getCookie(\"Yo4teW_uid\"), // 分享链接\n imgUrl: \"http://img.ichunt.com/images/ichunt/self_sample/apply.png\",\n // 分享图标\n success: function success(resp) {},\n error: function error() {}\n }\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n wxShareInfo: function wxShareInfo(state) {\n return state.common.wxShareInfo;\n },\n wxShareState: function wxShareState(state) {\n return state.common.wxShareState;\n }\n })),\n watch: {\n wxShareState: function wxShareState(val) {\n if (val && _util_index__WEBPACK_IMPORTED_MODULE_7__[\"default\"].getCookie(\"Yo4teW_uid\")) {\n this.share();\n }\n }\n },\n created: function created() {\n if (_util_index__WEBPACK_IMPORTED_MODULE_7__[\"default\"].getCookie(\"Yo4teW_uid\")) {\n this.$store.dispatch({\n type: \"wxShare\",\n current_url: window.location.href\n });\n }\n },\n methods: {\n share: function share() {\n var self = this; // 微信配置\n\n console.log(self.wxShareInfo);\n wx.config({\n debug: false,\n appId: self.wxShareInfo.appId,\n timestamp: self.wxShareInfo.timestamp,\n nonceStr: self.wxShareInfo.nonceStr,\n signature: self.wxShareInfo.signature,\n jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo', 'onMenuShareQZone'] // 功能列表,我们要使用JS-SDK的什么功能\n\n }); // config信息验证后会执行ready方法,所有接口调用都必须在config接口获得结果之后,config是一个客户端的异步操作,所以如果需要在 页面加载时就调用相关接口,则须把相关接口放在ready函数中调用来确保正确执行。对于用户触发时才调用的接口,则可以直接调用,不需要放在ready 函数中。\n\n wx.ready(function () {\n wx.checkJsApi({\n jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo', 'onMenuShareQZone'],\n // 需要检测的JS接口列表,所有JS接口列表见附录2,\n success: function success(res) {// console.log(res);\n // 以键值对的形式返回,可用的api值true,不可用为false\n // 如:{\"checkResult\":{\"chooseImage\":true},\"errMsg\":\"checkJsApi:ok\"}\n }\n }); // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareTimeline(self.shareObj); // 获取“分享给朋友”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareAppMessage(self.shareObj); //获取“分享到QQ”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareQQ(self.shareObj); //获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareWeibo(self.shareObj); //获取“分享到QQ空间”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareQZone(self.shareObj);\n });\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/wxShare.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core ...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _views_common_wxShare_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/wxShare.vue */ \"./src/views/common/wxShare.vue\");\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Tab\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Tabs\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'sample',\n data: function data() {\n return {\n title: \"猎芯网-自营样片\",\n meaushow: true,\n bgcolor: '#fafafa',\n color: '#1080d0',\n defaultcolor: '#333',\n swipeThreshold: 4,\n active: 0,\n getPop: false,\n //获得机会弹窗,没机会时展示\n shareUrl: window.location.origin + \"/v3/samplereg?uid=\" + _util_index__WEBPACK_IMPORTED_MODULE_9__[\"default\"].getCookie(\"Yo4teW_uid\")\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({})),\n watch: {},\n created: function created() {},\n methods: {\n getuserf: function getuserf() {\n this.getPop = false;\n },\n yaoqing: function yaoqing() {\n this.getPop = true;\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n wxShare: _views_common_wxShare_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/sample/sample.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _views_common_wxShare_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/wxShare.vue */ \"./src/views/common/wxShare.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Tab\"]).use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Tabs\"]).use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Lazyload\"]).use(vant__WEBPACK_IMPORTED_MODULE_11__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sample\",\n data: function data() {\n return {\n title: \"猎芯网-自营样片\",\n meaushow: true,\n bgcolor: \"#fafafa\",\n color: \"#1080d0\",\n defaultcolor: \"#333\",\n swipeThreshold: 4,\n active: 0,\n getPop: false,\n //获得机会弹窗,没机会时展示\n loadingYp: false,\n p: 1,\n classId: \"\",\n shareUrl: window.location.origin + \"/v3/samplereg?uid=\" + _util_index__WEBPACK_IMPORTED_MODULE_10__[\"default\"].getCookie(\"Yo4teW_uid\")\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n classList: function classList(state) {\n return state.sample.classList;\n },\n goodList: function goodList(state) {\n return state.sample.goodList;\n },\n finished: function finished(state) {\n return state.sample.finished;\n },\n loading: function loading(state) {\n return state.sample.loading;\n }\n })),\n watch: {\n loading: function loading(now) {\n this.loadingYp = now;\n },\n classList: function classList(now) {\n this.p = 1;\n this.classId = now[0].id;\n this.getGoodList();\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: \"getClasslist\"\n });\n },\n methods: {\n getGoodList: function getGoodList() {\n this.$store.dispatch({\n type: \"getGoodList\",\n data: {\n p: this.p,\n class_id: this.classId\n }\n });\n },\n changeTab: function changeTab(data) {\n this.p = 1;\n this.classId = data;\n this.getGoodList();\n },\n onLoad: function onLoad() {\n this.p++;\n this.getGoodList();\n },\n getuserf: function getuserf() {\n this.getPop = false;\n },\n yaoqing: function yaoqing(id) {\n var loginpta = _util_index__WEBPACK_IMPORTED_MODULE_10__[\"default\"].isLogin() ? true : false;\n var me = this;\n\n if (!loginpta) {\n window.location.href = \"/v3/login?referer=\" + encodeURIComponent(window.location.href);\n return;\n } else {\n var toast = Object(vant__WEBPACK_IMPORTED_MODULE_11__[\"Toast\"])({\n type: \"loading\",\n message: \"领取中\",\n forbidClick: true,\n duration: 0\n });\n _api_index__WEBPACK_IMPORTED_MODULE_9__[\"services\"].getUserSampleInfo().then(function (res) {\n var data = res.data;\n\n if (data.err_code == 0) {\n if (data.data.apply_count != 0) {\n toast.clear();\n me.$router.push({\n path: \"/sampleapply\",\n query: {\n id: id\n }\n });\n } else {\n me.getPop = true;\n }\n } else {\n toast.clear();\n vant__WEBPACK_IMPORTED_MODULE_11__[\"Toast\"].fail(\"领取失败\");\n }\n }).catch(function (err) {\n toast.clear();\n vant__WEBPACK_IMPORTED_MODULE_11__[\"Toast\"].fail(\"领取失败\");\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n wxShare: _views_common_wxShare_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n \"van-list\": vant__WEBPACK_IMPORTED_MODULE_11__[\"List\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/sample/sample.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -44,7 +44,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) * ...@@ -44,7 +44,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"section\",\n { staticClass: \"sample\" },\n [\n _c(\"Header\", {\n attrs: {\n title: _vm.title,\n meaushow: _vm.meaushow,\n bgcolor: _vm.bgcolor\n }\n }),\n _c(\"wxShare\", { attrs: { url: _vm.shareUrl } }),\n _c(\"div\", { staticClass: \"banner\" }),\n _c(\n \"div\",\n { staticClass: \"zititle\" },\n [\n _c(\"span\", [_vm._v(\"猎芯自营\")]),\n _c(\"font\", [_vm._v(\"品现货 1片起订 3小时发货\")])\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"nav\" },\n [\n _c(\n \"van-tabs\",\n {\n attrs: {\n color: _vm.color,\n \"swipe-threshold\": _vm.swipeThreshold,\n \"title-active-color\": _vm.color,\n \"title-inactive-color\": _vm.defaultcolor\n },\n model: {\n value: _vm.active,\n callback: function($$v) {\n _vm.active = $$v\n },\n expression: \"active\"\n }\n },\n [\n _c(\"van-tab\", { attrs: { title: \"标签阿四\" } }),\n _c(\"van-tab\", { attrs: { title: \"标签 2\" } }),\n _c(\"van-tab\", { attrs: { title: \"标签 3\" } }),\n _c(\"van-tab\", { attrs: { title: \"标签 3\" } })\n ],\n 1\n )\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"con\" }, [\n _c(\"div\", { staticClass: \"con-group clr\" }, [\n _vm._m(0),\n _c(\"div\", { staticClass: \"fr cb-box van-hairline--bottom\" }, [\n _c(\"div\", { staticClass: \"title\" }, [\n _vm._v(\"TL431-DSFSDFSDFS-2ffF...\")\n ]),\n _vm._m(1),\n _vm._m(2),\n _vm._m(3),\n _c(\"div\", { staticClass: \"btnx\", on: { click: _vm.yaoqing } }, [\n _vm._v(\"领取样品\")\n ])\n ])\n ])\n ]),\n _c(\n \"div\",\n {\n directives: [{ name: \"shareMask\", rawName: \"v-shareMask\" }],\n staticClass: \"fix-btns\"\n },\n [_vm._v(\"立即分享\")]\n ),\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.getPop,\n expression: \"getPop\"\n }\n ],\n staticClass: \"get-user-pop\"\n },\n [\n _c(\"div\", { staticClass: \"mask\" }),\n _c(\"div\", { staticClass: \"get-user-con\" }, [\n _c(\"h3\", [\n _vm._v(\"您已将所有样片机会用完\"),\n _c(\"i\", {\n staticClass: \"icon iconfont icon-guanbi\",\n on: { click: _vm.getuserf }\n })\n ]),\n _c(\"h2\", [\n _vm._v(\"邀请好友注册可额外获得一次样品申请机会,多邀多得\")\n ]),\n _c(\n \"span\",\n { directives: [{ name: \"shareMask\", rawName: \"v-shareMask\" }] },\n [_vm._v(\"点击邀请\")]\n )\n ])\n ]\n )\n ],\n 1\n )\n}\nvar staticRenderFns = [\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"fl img-box\" }, [\n _c(\"img\", { attrs: { src: \"static/images/news.png\", alt: \"\" } })\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"p\", [\n _c(\"span\", [_vm._v(\"类别:\")]),\n _vm._v(\" 贴片电容贴片电容贴片电容贴电容...\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"p\", [\n _c(\"span\", [_vm._v(\"品牌:\")]),\n _vm._v(\" EYANG(宇阳)EYANG(宇阳)...\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"p\", [_c(\"span\", [_vm._v(\"最大可申请数量:\")]), _vm._v(\"2\")])\n }\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/sample/sample.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%229bbfdd84-vue-loader-template%22%7D!./node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"section\",\n { staticClass: \"sample\" },\n [\n _c(\"Header\", {\n attrs: {\n title: _vm.title,\n meaushow: _vm.meaushow,\n bgcolor: _vm.bgcolor\n }\n }),\n _c(\"wxShare\", { attrs: { url: _vm.shareUrl } }),\n _c(\"div\", { staticClass: \"banner\" }),\n _c(\n \"div\",\n { staticClass: \"zititle\" },\n [\n _c(\"span\", [_vm._v(\"猎芯自营\")]),\n _c(\"font\", [_vm._v(\"品现货 1片起订 3小时发货\")])\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"nav\" },\n [\n _c(\n \"van-tabs\",\n {\n attrs: {\n color: _vm.color,\n \"swipe-threshold\": _vm.swipeThreshold,\n \"title-active-color\": _vm.color,\n \"title-inactive-color\": _vm.defaultcolor\n },\n on: { change: _vm.changeTab },\n model: {\n value: _vm.active,\n callback: function($$v) {\n _vm.active = $$v\n },\n expression: \"active\"\n }\n },\n _vm._l(_vm.classList, function(v, k) {\n return _c(\"van-tab\", {\n attrs: { title: v.class_name, name: v.id }\n })\n }),\n 1\n )\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"con\" },\n [\n _c(\n \"van-list\",\n {\n attrs: {\n finished: _vm.finished,\n \"finished-text\": \"我是有底线的噢\",\n \"immediate-check\": false\n },\n on: { load: _vm.onLoad },\n model: {\n value: _vm.loadingYp,\n callback: function($$v) {\n _vm.loadingYp = $$v\n },\n expression: \"loadingYp\"\n }\n },\n _vm._l(_vm.goodList, function(v, k) {\n return _c(\"div\", { staticClass: \"con-group clr\" }, [\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"lazy-container\",\n rawName: \"v-lazy-container\",\n value: { selector: \"img\" },\n expression: \"{selector:'img'}\"\n }\n ],\n staticClass: \"fl img-box\"\n },\n [\n _c(\"img\", {\n staticClass: \"lazy img-lazy\",\n attrs: {\n alt: v.goods_info.goods_name,\n \"data-src\": v.goods_info.goods_images,\n \"data-error\":\n \"https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png\"\n }\n })\n ]\n ),\n _c(\"div\", { staticClass: \"fr cb-box van-hairline--bottom\" }, [\n _c(\"div\", { staticClass: \"title\" }, [\n _vm._v(_vm._s(v.goods_info.goods_name))\n ]),\n _c(\"p\", [\n _c(\"span\", [_vm._v(\"类别:\")]),\n _vm._v(\n \"\\n \" +\n _vm._s(v.goods_info.class_id1_name) +\n \"\\n \"\n )\n ]),\n _c(\"p\", [\n _c(\"span\", [_vm._v(\"品牌:\")]),\n _vm._v(\n \"\\n \" +\n _vm._s(v.goods_info.brand_name) +\n \"\\n \"\n )\n ]),\n _c(\"p\", [\n _c(\"span\", [_vm._v(\"最大可申请数量:\")]),\n _vm._v(\n \"\\n \" + _vm._s(v.max_number) + \"\\n \"\n )\n ]),\n _c(\n \"div\",\n {\n staticClass: \"btnx\",\n on: {\n click: function($event) {\n return _vm.yaoqing(v.goods_id)\n }\n }\n },\n [_vm._v(\"领取样品\")]\n )\n ])\n ])\n }),\n 0\n )\n ],\n 1\n ),\n _c(\n \"div\",\n {\n directives: [{ name: \"shareMask\", rawName: \"v-shareMask\" }],\n staticClass: \"fix-btns\"\n },\n [_vm._v(\"立即分享\")]\n ),\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.getPop,\n expression: \"getPop\"\n }\n ],\n staticClass: \"get-user-pop\"\n },\n [\n _c(\"div\", { staticClass: \"mask\" }),\n _c(\"div\", { staticClass: \"get-user-con\" }, [\n _c(\"h3\", [\n _vm._v(\"\\n 您已将所有样片机会用完\\n \"),\n _c(\"i\", {\n staticClass: \"icon iconfont icon-guanbi\",\n on: { click: _vm.getuserf }\n })\n ]),\n _c(\"h2\", [\n _vm._v(\"邀请好友注册可额外获得一次样品申请机会,多邀多得\")\n ]),\n _c(\n \"span\",\n { directives: [{ name: \"shareMask\", rawName: \"v-shareMask\" }] },\n [_vm._v(\"点击邀请\")]\n )\n ])\n ]\n )\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/sample/sample.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%229bbfdd84-vue-loader-template%22%7D!./node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -55,18 +55,18 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) * ...@@ -55,18 +55,18 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
/*! no static exports found */ /*! no static exports found */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
eval("exports = module.exports = __webpack_require__(/*! ../../../node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js */ \"./node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(/*! -!../../../node_modules/_css-loader@1.0.1@css-loader??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src??ref--6-oneOf-1-2!../../assets/css/sample/sample.min.css */ \"./node_modules/_css-loader@1.0.1@css-loader/index.js?!./node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js?!./src/assets/css/sample/sample.min.css\"), \"\");\n\n// module\nexports.push([module.i, \"\\n\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/views/sample/sample.vue?./node_modules/_css-loader@1.0.1@css-loader??ref--6-oneOf-1-1!./node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@3.0.0@postcss-loader/src??ref--6-oneOf-1-2!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("exports = module.exports = __webpack_require__(/*! ../../../node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js */ \"./node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(/*! -!../../../node_modules/_css-loader@1.0.1@css-loader??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src??ref--6-oneOf-1-2!../../assets/css/sample/sample.css */ \"./node_modules/_css-loader@1.0.1@css-loader/index.js?!./node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js?!./src/assets/css/sample/sample.css\"), \"\");\n\n// module\nexports.push([module.i, \"\\r\\n\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/views/sample/sample.vue?./node_modules/_css-loader@1.0.1@css-loader??ref--6-oneOf-1-1!./node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@3.0.0@postcss-loader/src??ref--6-oneOf-1-2!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
/***/ "./node_modules/_css-loader@1.0.1@css-loader/index.js?!./node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js?!./src/assets/css/sample/sample.min.css": /***/ "./node_modules/_css-loader@1.0.1@css-loader/index.js?!./node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js?!./src/assets/css/sample/sample.css":
/*!******************************************************************************************************************************************************************************************************************************************************************!*\ /*!**************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/_css-loader@1.0.1@css-loader??ref--6-oneOf-1-1!./node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@3.0.0@postcss-loader/src??ref--6-oneOf-1-2!./src/assets/css/sample/sample.min.css ***! !*** ./node_modules/_css-loader@1.0.1@css-loader??ref--6-oneOf-1-1!./node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@3.0.0@postcss-loader/src??ref--6-oneOf-1-2!./src/assets/css/sample/sample.css ***!
\******************************************************************************************************************************************************************************************************************************************************************/ \**************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */ /*! no static exports found */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
eval("var escape = __webpack_require__(/*! ../../../../node_modules/_css-loader@1.0.1@css-loader/lib/url/escape.js */ \"./node_modules/_css-loader@1.0.1@css-loader/lib/url/escape.js\");\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js */ \"./node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".sample .ele{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sample .banner{height:173px;width:100%;background:url(\" + escape(__webpack_require__(/*! ../../images/sample/samplebanner.png */ \"./src/assets/images/sample/samplebanner.png\")) + \") no-repeat;background-size:100% 100%}.sample .zititle{padding:15px}.sample .zititle span{color:#333;font-size:16px}.sample .zititle font{font-size:12px;color:#999;margin-left:10px;height:20px;line-height:20px}.sample .nav{padding:0 15px\\n}.sample .nav .van-hairline--top-bottom::after{border-width:0 0 1px 0}.sample .con .con-group{padding:15px;padding-bottom:0px}.sample .con .con-group .img-box{width:2.933rem;height:2.933rem}.sample .con .con-group .img-box img{width:100%;height:100%}.sample .con .con-group .cb-box{width:6rem;height:2.933rem;padding-bottom:15px}.sample .con .con-group .cb-box .title{color:#333;font-size:16px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-bottom:.15rem}.sample .con .con-group .cb-box p{color:#333;font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:.45rem;line-height:.45rem}.sample .con .con-group .cb-box p span{color:#666}.sample .con .con-group .cb-box .btnx{width:3.5rem;height:.7rem;line-height:.7rem;border-radius:4px;background:#1080d0;color:#fff;text-align:center;cursor:pointer;margin-top:.2rem}@media screen and (max-width:320px){.sample .con .con-group .cb-box{width:5.8rem;height:2.933rem}.sample .con .con-group .cb-box .title{margin-bottom:.05rem}}.sample .fix-btns{position:fixed;left:0;bottom:0;right:0;height:50px;line-height:50px;color:#fff;font-size:16px;text-align:center;background:#1080d0;-webkit-box-shadow:0 0 10px #000;box-shadow:0 0 10px #000;cursor:pointer}.sample .get-user-pop .get-user-con{background:#fff;width:8.667rem;height:5.52rem;border-radius:3px;position:fixed;top:50%;left:50%;margin-left:-4.3335rem;margin-top:-2.76rem;-webkit-box-shadow:0 0 20px #e5e5e5;box-shadow:0 0 20px #e5e5e5;z-index:99999}.sample .get-user-pop .get-user-con h3{color:#ffa200;font-size:16px;height:2.027rem;line-height:2.027rem;text-align:center}.sample .get-user-pop .get-user-con h3 i{position:relative;float:right;top:-1.4rem;color:#fff;font-size:20px}.sample .get-user-pop .get-user-con h2{color:#000;font-size:14px;text-align:center;width:60%;margin:0 auto}.sample .get-user-pop .get-user-con span{display:block;cursor:pointer;height:30px;line-height:30px;width:150px;text-align:center;background:#1080d0;color:#fff;font-size:14px;border-radius:30px;margin:0 auto;margin-top:50px}.sample .get-user-pop .mask{position:fixed;bottom:0;top:0;left:0;right:0;background:rgba(0,0,0,0.3);z-index:999}\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/assets/css/sample/sample.min.css?./node_modules/_css-loader@1.0.1@css-loader??ref--6-oneOf-1-1!./node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@3.0.0@postcss-loader/src??ref--6-oneOf-1-2"); eval("var escape = __webpack_require__(/*! ../../../../node_modules/_css-loader@1.0.1@css-loader/lib/url/escape.js */ \"./node_modules/_css-loader@1.0.1@css-loader/lib/url/escape.js\");\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js */ \"./node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".sample {\\n padding-bottom: 50px;\\n}\\n.sample .ele {\\n text-overflow: ellipsis;\\n overflow: hidden;\\n white-space: nowrap;\\n}\\n.sample .banner {\\n height: 173px;\\n width: 100%;\\n background: url(\" + escape(__webpack_require__(/*! ../../images/sample/samplebanner.png */ \"./src/assets/images/sample/samplebanner.png\")) + \") no-repeat;\\n background-size: 100% 100%;\\n}\\n.sample .zititle {\\n padding: 15px;\\n}\\n.sample .zititle span {\\n color: #333;\\n font-size: 16px;\\n}\\n.sample .zititle font {\\n font-size: 12px;\\n color: #999;\\n margin-left: 10px;\\n height: 20px;\\n line-height: 20px;\\n}\\n.sample .nav {\\n padding: 0 15px ;\\n}\\n.sample .nav .van-hairline--top-bottom::after {\\n border-width: 0 0 1px 0;\\n}\\n.sample .con .con-group {\\n padding: 15px;\\n padding-bottom: 0px;\\n}\\n.sample .con .con-group .img-box {\\n width: 2.933rem;\\n height: 2.933rem;\\n}\\n.sample .con .con-group .img-box img {\\n width: 100%;\\n height: 100%;\\n}\\n.sample .con .con-group .cb-box {\\n width: 6rem;\\n height: 2.933rem;\\n padding-bottom: 15px;\\n}\\n.sample .con .con-group .cb-box .title {\\n color: #333;\\n font-size: 16px;\\n text-overflow: ellipsis;\\n overflow: hidden;\\n white-space: nowrap;\\n margin-bottom: 0.15rem;\\n}\\n.sample .con .con-group .cb-box p {\\n color: #333;\\n font-size: 12px;\\n text-overflow: ellipsis;\\n overflow: hidden;\\n white-space: nowrap;\\n height: 0.45rem;\\n line-height: 0.45rem;\\n}\\n.sample .con .con-group .cb-box p span {\\n color: #666;\\n}\\n.sample .con .con-group .cb-box .btnx {\\n width: 3.5rem;\\n height: 0.7rem;\\n line-height: 0.7rem;\\n border-radius: 4px;\\n background: #1080d0;\\n color: #fff;\\n text-align: center;\\n cursor: pointer;\\n margin-top: 0.2rem;\\n}\\n@media screen and (max-width: 320px) {\\n.sample .con .con-group .cb-box {\\n width: 5.8rem;\\n height: 2.933rem;\\n}\\n.sample .con .con-group .cb-box .title {\\n margin-bottom: 0.05rem;\\n}\\n}\\n.sample .fix-btns {\\n position: fixed;\\n left: 0;\\n bottom: 0;\\n right: 0;\\n height: 50px;\\n line-height: 50px;\\n color: #fff;\\n font-size: 16px;\\n text-align: center;\\n background: #1080d0;\\n -webkit-box-shadow: 0 0 10px #000;\\n box-shadow: 0 0 10px #000;\\n cursor: pointer;\\n}\\n.sample .get-user-pop .get-user-con {\\n background: #fff;\\n width: 8.667rem;\\n height: 5.52rem;\\n border-radius: 3px;\\n position: fixed;\\n top: 50%;\\n left: 50%;\\n margin-left: -4.3335rem;\\n margin-top: -2.76rem;\\n -webkit-box-shadow: 0 0 20px #e5e5e5;\\n box-shadow: 0 0 20px #e5e5e5;\\n z-index: 99999;\\n}\\n.sample .get-user-pop .get-user-con h3 {\\n color: #ffa200;\\n font-size: 16px;\\n height: 2.027rem;\\n line-height: 2.027rem;\\n text-align: center;\\n}\\n.sample .get-user-pop .get-user-con h3 i {\\n position: relative;\\n float: right;\\n top: -1.4rem;\\n color: #fff;\\n font-size: 20px;\\n}\\n.sample .get-user-pop .get-user-con h2 {\\n color: #000;\\n font-size: 14px;\\n text-align: center;\\n width: 60%;\\n margin: 0 auto;\\n}\\n.sample .get-user-pop .get-user-con span {\\n display: block;\\n cursor: pointer;\\n height: 30px;\\n line-height: 30px;\\n width: 150px;\\n text-align: center;\\n background: #1080d0;\\n color: #fff;\\n font-size: 14px;\\n border-radius: 30px;\\n margin: 0 auto;\\n margin-top: 50px;\\n}\\n.sample .get-user-pop .mask {\\n position: fixed;\\n bottom: 0;\\n top: 0;\\n left: 0;\\n right: 0;\\n background: rgba(0, 0, 0, 0.3);\\n z-index: 999;\\n}\\n\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/assets/css/sample/sample.css?./node_modules/_css-loader@1.0.1@css-loader??ref--6-oneOf-1-1!./node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@3.0.0@postcss-loader/src??ref--6-oneOf-1-2");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'ranking',\n data: function data() {\n return {\n title: \"猎芯网-京东战投电子元器件商城_一站式解决电子元器件采购难题\"\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n rankList: function rankList(state) {\n return state.rank.rankList;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'getlxuserrank'\n });\n },\n methods: {\n trackShece: function trackShece() {\n sensors.track('ImmediateImpact', {\n url: window.location.href,\n pf: window.lxpf\n });\n }\n },\n components: {}\n});\n\n//# sourceURL=webpack:///./src/views/rank/ranking.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'ranking',\n data: function data() {\n return {\n title: \"猎芯网-京东战投电子元器件商城_一站式解决电子元器件采购难题\"\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n rankList: function rankList(state) {\n return state.rank.rankList;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'getlxuserrank'\n });\n },\n methods: {\n trackShece: function trackShece() {\n sensors.track('ImmediateImpact', {\n url: window.location.href,\n pf: window.lxpf\n });\n }\n },\n components: {}\n});\n\n//# sourceURL=webpack:///./src/views/rank/ranking.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex ...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.function.name */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.function.name.js\");\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es6.regexp.split */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.split.js\");\n/* harmony import */ var core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/views/common/GoodsOne.vue */ \"./src/views/common/GoodsOne.vue\");\n/* harmony import */ var _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/views/common/goodsDetail.vue */ \"./src/views/common/goodsDetail.vue\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/views/common/addCarAlert */ \"./src/views/common/addCarAlert.vue\");\n\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"lxshop\",\n data: function data() {\n return {\n detailsData: {\n isShow: false,\n id: \"\"\n },\n carshow: true,\n isWindow: true,\n inputShow: true,\n meaushow: true,\n supplierShow: false,\n confirmSupplierNames: \"全部供应商\",\n confirmSuppliers: \"\",\n supplierListLocal: [],\n supplierIsBlue: false,\n popdetailbool: false\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_8__[\"mapState\"])({\n loading: function loading(state) {\n return state.lxshop.loading;\n },\n supplierList: function supplierList(state) {\n return state.lxshop.supplierList;\n },\n supplierIds: function supplierIds(state) {\n return state.lxshop.supplierIds;\n },\n isLyData: function isLyData(state) {\n return state.lxshop.isLyData;\n },\n lyData: function lyData(state) {\n return state.lxshop.lyData;\n },\n isHaveData: function isHaveData(state) {\n return state.lxshop.isHaveData;\n },\n isShowAlert: function isShowAlert(state) {\n return state.gooddetail.isShowAlert;\n }\n })),\n watch: {\n isShowAlert: function isShowAlert(now) {\n if (now) {\n this.detailsData = {\n isShow: false,\n id: \"\"\n };\n this.$store.dispatch({\n type: \"cartCount\"\n });\n }\n },\n supplierList: function supplierList(val) {\n this.supplierListLocal = val;\n },\n supplierIds: function supplierIds(val) {\n this.confirmSuppliers = val;\n },\n isLyData: function isLyData(val) {\n if (val) {\n this.getData();\n }\n }\n },\n created: function created() {\n this.allSUpplier();\n this.scrollFns();\n },\n mounted: function mounted() {},\n methods: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_8__[\"mapMutations\"])([\"resetData\"]), {\n //所有供应商\n allSUpplier: function allSUpplier() {\n this.$store.dispatch({\n type: \"supplierApi\"\n });\n },\n getData: function getData(reset) {\n var ids_ = [];\n\n if (this.confirmSuppliers) {\n ids_ = this.confirmSuppliers.split(\",\");\n }\n\n if (reset) {\n this.resetData();\n }\n\n if (ids_.length > 0) {\n for (var i = 0; i < ids_.length; i++) {\n this.$store.dispatch({\n type: \"searchLyEsData\",\n k: ids_[i]\n });\n }\n }\n },\n toSearchp: function toSearchp() {\n window.location.href = \"/v3/search/search_index.html\";\n },\n supplierShit: function supplierShit() {\n this.supplierShow = !this.supplierShow;\n },\n supplierCheck: function supplierCheck(ids) {\n var self = this;\n\n for (var i = 0; i < self.supplierListLocal.length; i++) {\n if (self.supplierListLocal[i].ids == ids) {\n self.supplierListLocal[i].isCheck = !self.supplierListLocal[i].isCheck;\n }\n }\n },\n reset: function reset() {\n var self = this;\n\n for (var i = 0; i < self.supplierListLocal.length; i++) {\n self.supplierListLocal[i].isCheck = false;\n }\n },\n confirm: function confirm() {\n var self = this;\n self.confirmSuppliers = \"\";\n self.confirmSupplierNames = \"\";\n\n for (var i = 0; i < self.supplierListLocal.length; i++) {\n if (self.supplierListLocal[i].isCheck) {\n self.confirmSuppliers += \",\" + self.supplierListLocal[i].ids;\n self.confirmSupplierNames += \",\" + self.supplierListLocal[i].name;\n }\n }\n\n self.confirmSuppliers = self.confirmSuppliers.slice(1);\n self.confirmSupplierNames = self.confirmSupplierNames.slice(1);\n\n if (!self.confirmSupplierNames) {\n self.confirmSupplierNames = \"全部供应商\";\n this.supplierIsBlue = false;\n } else {\n this.supplierIsBlue = true;\n }\n\n this.supplierShow = !this.supplierShow;\n\n if (this.confirmSuppliers == \"\") {\n this.confirmSuppliers = this.supplierIds;\n }\n\n this.getData(1);\n },\n moreData: function moreData(id_, p) {\n console.log(id_);\n this.$store.dispatch({\n type: \"searchLyEsData\",\n k: id_,\n p: p,\n isMore: 1\n });\n },\n placeOrder: function placeOrder(id) {\n this.detailsData = {\n isShow: true,\n id: id\n };\n },\n scrollFns: function scrollFns() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 200) {\n if (self.confirmSupplierNames != \"全部供应商\") {\n self.popdetailbool = true;\n }\n } else {\n self.popdetailbool = false;\n }\n };\n }\n }),\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n GoodsOne: _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_13__[\"default\"],\n goodsDetail: _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n addCarAlert: _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_14__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/lxshop/lxshop.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.function.name */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.function.name.js\");\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es6.regexp.split */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.split.js\");\n/* harmony import */ var core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/views/common/GoodsOne.vue */ \"./src/views/common/GoodsOne.vue\");\n/* harmony import */ var _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/views/common/goodsDetail.vue */ \"./src/views/common/goodsDetail.vue\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/views/common/addCarAlert */ \"./src/views/common/addCarAlert.vue\");\n\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"lxshop\",\n data: function data() {\n return {\n detailsData: {\n isShow: false,\n id: \"\"\n },\n carshow: true,\n isWindow: true,\n inputShow: true,\n meaushow: true,\n supplierShow: false,\n confirmSupplierNames: \"全部供应商\",\n confirmSuppliers: \"\",\n supplierListLocal: [],\n supplierIsBlue: false,\n popdetailbool: false\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_8__[\"mapState\"])({\n loading: function loading(state) {\n return state.lxshop.loading;\n },\n supplierList: function supplierList(state) {\n return state.lxshop.supplierList;\n },\n supplierIds: function supplierIds(state) {\n return state.lxshop.supplierIds;\n },\n isLyData: function isLyData(state) {\n return state.lxshop.isLyData;\n },\n lyData: function lyData(state) {\n return state.lxshop.lyData;\n },\n isHaveData: function isHaveData(state) {\n return state.lxshop.isHaveData;\n },\n isShowAlert: function isShowAlert(state) {\n return state.gooddetail.isShowAlert;\n }\n })),\n watch: {\n isShowAlert: function isShowAlert(now) {\n if (now) {\n this.detailsData = {\n isShow: false,\n id: \"\"\n };\n this.$store.dispatch({\n type: \"cartCount\"\n });\n }\n },\n supplierList: function supplierList(val) {\n this.supplierListLocal = val;\n },\n supplierIds: function supplierIds(val) {\n this.confirmSuppliers = val;\n },\n isLyData: function isLyData(val) {\n if (val) {\n this.getData();\n }\n }\n },\n created: function created() {\n this.allSUpplier();\n this.scrollFns();\n },\n mounted: function mounted() {},\n methods: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_8__[\"mapMutations\"])([\"resetData\"]), {\n //所有供应商\n allSUpplier: function allSUpplier() {\n this.$store.dispatch({\n type: \"supplierApi\"\n });\n },\n getData: function getData(reset) {\n var ids_ = [];\n\n if (this.confirmSuppliers) {\n ids_ = this.confirmSuppliers.split(\",\");\n }\n\n if (reset) {\n this.resetData();\n }\n\n if (ids_.length > 0) {\n for (var i = 0; i < ids_.length; i++) {\n this.$store.dispatch({\n type: \"searchLyEsData\",\n k: ids_[i]\n });\n }\n }\n },\n toSearchp: function toSearchp() {\n window.location.href = \"/v3/search/search_index.html\";\n },\n supplierShit: function supplierShit() {\n this.supplierShow = !this.supplierShow;\n },\n supplierCheck: function supplierCheck(ids) {\n var self = this;\n\n for (var i = 0; i < self.supplierListLocal.length; i++) {\n if (self.supplierListLocal[i].ids == ids) {\n self.supplierListLocal[i].isCheck = !self.supplierListLocal[i].isCheck;\n }\n }\n },\n reset: function reset() {\n var self = this;\n\n for (var i = 0; i < self.supplierListLocal.length; i++) {\n self.supplierListLocal[i].isCheck = false;\n }\n },\n confirm: function confirm() {\n var self = this;\n self.confirmSuppliers = \"\";\n self.confirmSupplierNames = \"\";\n\n for (var i = 0; i < self.supplierListLocal.length; i++) {\n if (self.supplierListLocal[i].isCheck) {\n self.confirmSuppliers += \",\" + self.supplierListLocal[i].ids;\n self.confirmSupplierNames += \",\" + self.supplierListLocal[i].name;\n }\n }\n\n self.confirmSuppliers = self.confirmSuppliers.slice(1);\n self.confirmSupplierNames = self.confirmSupplierNames.slice(1);\n\n if (!self.confirmSupplierNames) {\n self.confirmSupplierNames = \"全部供应商\";\n this.supplierIsBlue = false;\n } else {\n this.supplierIsBlue = true;\n }\n\n this.supplierShow = !this.supplierShow;\n\n if (this.confirmSuppliers == \"\") {\n this.confirmSuppliers = this.supplierIds;\n }\n\n this.getData(1);\n },\n moreData: function moreData(id_, p) {\n console.log(id_);\n this.$store.dispatch({\n type: \"searchLyEsData\",\n k: id_,\n p: p,\n isMore: 1\n });\n },\n placeOrder: function placeOrder(id) {\n this.detailsData = {\n isShow: true,\n id: id\n };\n },\n scrollFns: function scrollFns() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 200) {\n if (self.confirmSupplierNames != \"全部供应商\") {\n self.popdetailbool = true;\n }\n } else {\n self.popdetailbool = false;\n }\n };\n }\n }),\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n GoodsOne: _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_13__[\"default\"],\n goodsDetail: _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n addCarAlert: _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_14__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/lxshop/lxshop.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n\n\n\n\nvar wxjs = __webpack_require__(/*! weixin-js-sdk */ \"./node_modules/_weixin-js-sdk@1.4.0-test@weixin-js-sdk/index.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'wxShare',\n props: {\n url: {\n type: String,\n default: window.location.href\n }\n },\n data: function data() {\n return {\n shareObj: {\n title: \"好物分享给你,帮我助力,我们一起免费拿样品\",\n // 分享标题\n desc: \"在吗?拜托帮我点一下,你也能免费申请元器件样品~帮我助力 你拿样品\",\n // 分享描述\n link: this.url,\n // link: window.location.origin+\"/v3/samplereg?uid=\"+util.getCookie(\"Yo4teW_uid\"), // 分享链接\n imgUrl: \"http://img.ichunt.com/images/ichunt/self_sample/apply.png\",\n // 分享图标\n success: function success(resp) {},\n error: function error() {}\n }\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n wxShareInfo: function wxShareInfo(state) {\n return state.common.wxShareInfo;\n },\n wxShareState: function wxShareState(state) {\n return state.common.wxShareState;\n }\n })),\n watch: {\n wxShareState: function wxShareState(val) {\n if (val && _util_index__WEBPACK_IMPORTED_MODULE_7__[\"default\"].getCookie(\"Yo4teW_uid\")) {\n this.share();\n }\n }\n },\n created: function created() {\n if (_util_index__WEBPACK_IMPORTED_MODULE_7__[\"default\"].getCookie(\"Yo4teW_uid\")) {\n this.$store.dispatch({\n type: \"wxShare\",\n current_url: window.location.href\n });\n }\n },\n methods: {\n share: function share() {\n var self = this; // 微信配置\n\n console.log(self.wxShareInfo);\n wx.config({\n debug: false,\n appId: self.wxShareInfo.appId,\n timestamp: self.wxShareInfo.timestamp,\n nonceStr: self.wxShareInfo.nonceStr,\n signature: self.wxShareInfo.signature,\n jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo', 'onMenuShareQZone'] // 功能列表,我们要使用JS-SDK的什么功能\n\n }); // config信息验证后会执行ready方法,所有接口调用都必须在config接口获得结果之后,config是一个客户端的异步操作,所以如果需要在 页面加载时就调用相关接口,则须把相关接口放在ready函数中调用来确保正确执行。对于用户触发时才调用的接口,则可以直接调用,不需要放在ready 函数中。\n\n wx.ready(function () {\n wx.checkJsApi({\n jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo', 'onMenuShareQZone'],\n // 需要检测的JS接口列表,所有JS接口列表见附录2,\n success: function success(res) {// console.log(res);\n // 以键值对的形式返回,可用的api值true,不可用为false\n // 如:{\"checkResult\":{\"chooseImage\":true},\"errMsg\":\"checkJsApi:ok\"}\n }\n }); // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareTimeline(self.shareObj); // 获取“分享给朋友”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareAppMessage(self.shareObj); //获取“分享到QQ”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareQQ(self.shareObj); //获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareWeibo(self.shareObj); //获取“分享到QQ空间”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareQZone(self.shareObj);\n });\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/wxShare.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n\n\n\n\nvar wxjs = __webpack_require__(/*! weixin-js-sdk */ \"./node_modules/_weixin-js-sdk@1.4.0-test@weixin-js-sdk/index.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'wxShare',\n props: {\n url: {\n type: String,\n default: window.location.href\n }\n },\n data: function data() {\n return {\n shareObj: {\n title: \"好物分享给你,帮我助力,我们一起免费拿样品\",\n // 分享标题\n desc: \"在吗?拜托帮我点一下,你也能免费申请元器件样品~帮我助力 你拿样品\",\n // 分享描述\n link: this.url,\n // link: window.location.origin+\"/v3/samplereg?uid=\"+util.getCookie(\"Yo4teW_uid\"), // 分享链接\n imgUrl: \"http://img.ichunt.com/images/ichunt/self_sample/apply.png\",\n // 分享图标\n success: function success(resp) {},\n error: function error() {}\n }\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n wxShareInfo: function wxShareInfo(state) {\n return state.common.wxShareInfo;\n },\n wxShareState: function wxShareState(state) {\n return state.common.wxShareState;\n }\n })),\n watch: {\n wxShareState: function wxShareState(val) {\n if (val && _util_index__WEBPACK_IMPORTED_MODULE_7__[\"default\"].getCookie(\"Yo4teW_uid\")) {\n this.share();\n }\n }\n },\n created: function created() {\n if (_util_index__WEBPACK_IMPORTED_MODULE_7__[\"default\"].getCookie(\"Yo4teW_uid\")) {\n this.$store.dispatch({\n type: \"wxShare\",\n current_url: window.location.href\n });\n }\n },\n methods: {\n share: function share() {\n var self = this; // 微信配置\n\n console.log(self.wxShareInfo);\n wx.config({\n debug: false,\n appId: self.wxShareInfo.appId,\n timestamp: self.wxShareInfo.timestamp,\n nonceStr: self.wxShareInfo.nonceStr,\n signature: self.wxShareInfo.signature,\n jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo', 'onMenuShareQZone'] // 功能列表,我们要使用JS-SDK的什么功能\n\n }); // config信息验证后会执行ready方法,所有接口调用都必须在config接口获得结果之后,config是一个客户端的异步操作,所以如果需要在 页面加载时就调用相关接口,则须把相关接口放在ready函数中调用来确保正确执行。对于用户触发时才调用的接口,则可以直接调用,不需要放在ready 函数中。\n\n wx.ready(function () {\n wx.checkJsApi({\n jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo', 'onMenuShareQZone'],\n // 需要检测的JS接口列表,所有JS接口列表见附录2,\n success: function success(res) {// console.log(res);\n // 以键值对的形式返回,可用的api值true,不可用为false\n // 如:{\"checkResult\":{\"chooseImage\":true},\"errMsg\":\"checkJsApi:ok\"}\n }\n }); // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareTimeline(self.shareObj); // 获取“分享给朋友”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareAppMessage(self.shareObj); //获取“分享到QQ”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareQQ(self.shareObj); //获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareWeibo(self.shareObj); //获取“分享到QQ空间”按钮点击状态及自定义分享内容接口\n\n wx.onMenuShareQZone(self.shareObj);\n });\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/wxShare.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core ...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _views_common_wxShare_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/wxShare.vue */ \"./src/views/common/wxShare.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Collapse\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"CollapseItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'sampleapply',\n data: function data() {\n return {\n title: \"样片申请\",\n meaushow: true,\n bgcolor: '#fafafa',\n color: '#1080d0',\n activeName: '1',\n noborder: false,\n successPop: false,\n //申请成功弹窗显示\n goods_id: this.$route.query.id,\n apply_num: \"\",\n com_name: \"\",\n sample_demand_desc: \"\",\n shareUrl: window.location.origin + \"/v3/samplereg?uid=\" + _util_index__WEBPACK_IMPORTED_MODULE_10__[\"default\"].getCookie(\"Yo4teW_uid\")\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.sampleapply.loading;\n },\n addressInfo: function addressInfo(state) {\n return state.sampleapply.addressInfo;\n },\n zygoodDetail: function zygoodDetail(state) {\n return state.gooddetail.zygoodDetail;\n },\n submitState: function submitState(state) {\n return state.sampleapply.submitState;\n }\n })),\n watch: {\n submitState: function submitState(val) {\n if (val) {\n this.successPop = true;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: \"getDetailData\",\n data: {\n id: this.goods_id\n }\n });\n this.$store.dispatch({\n type: 'recvlistSample'\n });\n },\n methods: {\n getuserf: function getuserf() {\n this.successPop = false;\n },\n submitS: function submitS() {\n var self = this;\n\n if (!this.apply_num) {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])(\"请输入申请数量\");\n return;\n }\n\n if (!this.com_name) {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])(\"请输入单位名称\");\n return;\n }\n\n this.$store.dispatch({\n type: 'selfSampleCreate',\n goods_id: self.goods_id,\n apply_num: self.apply_num,\n com_name: self.com_name,\n sample_demand_desc: self.sample_demand_desc,\n address_id: self.addressInfo.address_id\n });\n },\n addressSample: function addressSample(adderssId) {\n window.location.href = '/h5/view/#/userAddress?points=' + adderssId;\n },\n adderssAdd: function adderssAdd() {\n window.location.href = '/h5/view/#/userAddress?fp=5';\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n wxShare: _views_common_wxShare_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/sample/sampleapply.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _views_common_wxShare_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/wxShare.vue */ \"./src/views/common/wxShare.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Collapse\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"CollapseItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'sampleapply',\n data: function data() {\n return {\n title: \"样片申请\",\n meaushow: true,\n bgcolor: '#fafafa',\n color: '#1080d0',\n activeName: '1',\n noborder: false,\n successPop: false,\n //申请成功弹窗显示\n goods_id: this.$route.query.id,\n apply_num: \"\",\n com_name: \"\",\n sample_demand_desc: \"\",\n shareUrl: window.location.origin + \"/v3/samplereg?uid=\" + _util_index__WEBPACK_IMPORTED_MODULE_10__[\"default\"].getCookie(\"Yo4teW_uid\")\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.sampleapply.loading;\n },\n addressInfo: function addressInfo(state) {\n return state.sampleapply.addressInfo;\n },\n ypGoodDetail: function ypGoodDetail(state) {\n return state.sampleapply.ypGoodDetail;\n },\n submitState: function submitState(state) {\n return state.sampleapply.submitState;\n }\n })),\n watch: {\n submitState: function submitState(val) {\n if (val) {\n this.successPop = true;\n }\n },\n apply_num: function apply_num(val) {\n var num = this.ypGoodDetail.max_number;\n\n if (!num) {\n this.apply_num = 1;\n } else if (val > num) {\n this.apply_num = num;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: \"getDetailYp\",\n data: {\n id: this.goods_id\n }\n });\n this.$store.dispatch({\n type: 'recvlistSample'\n });\n },\n methods: {\n getuserf: function getuserf() {\n this.successPop = false;\n },\n submitS: function submitS() {\n var self = this;\n\n if (!this.apply_num) {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])(\"请输入申请数量\");\n return;\n }\n\n if (!this.com_name) {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])(\"请输入单位名称\");\n return;\n }\n\n this.$store.dispatch({\n type: 'selfSampleCreate',\n goods_id: self.goods_id,\n apply_num: self.apply_num,\n com_name: self.com_name,\n sample_demand_desc: self.sample_demand_desc,\n address_id: self.addressInfo.address_id\n });\n },\n addressSample: function addressSample(adderssId) {\n window.location.href = '/h5/view/#/userAddress?points=' + adderssId;\n },\n adderssAdd: function adderssAdd() {\n window.location.href = '/h5/view/#/userAddress?fp=5';\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n wxShare: _views_common_wxShare_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/sample/sampleapply.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -44,7 +44,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) * ...@@ -44,7 +44,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"section\",\n { staticClass: \"sample-apply\" },\n [\n _c(\"Header\", {\n attrs: {\n title: _vm.title,\n meaushow: _vm.meaushow,\n bgcolor: _vm.bgcolor\n }\n }),\n _c(\"wxShare\", { attrs: { url: _vm.shareUrl } }),\n _c(\n \"van-collapse\",\n {\n attrs: { accordion: \"\", border: _vm.noborder },\n model: {\n value: _vm.activeName,\n callback: function($$v) {\n _vm.activeName = $$v\n },\n expression: \"activeName\"\n }\n },\n [\n _c(\n \"van-collapse-item\",\n { attrs: { title: \"商品信息\", name: \"1\", border: _vm.noborder } },\n [\n _c(\"div\", { staticClass: \"info-con clr\" }, [\n _c(\"div\", { staticClass: \"fl img-box\" }, [\n _c(\"img\", {\n attrs: {\n src:\n _vm.zygoodDetail.goods_images ||\n \"static/images/news.png\",\n alt: \"\"\n }\n })\n ]),\n _c(\"div\", { staticClass: \"fr cb-box\" }, [\n _c(\"div\", { staticClass: \"title\" }, [\n _vm._v(_vm._s(_vm.zygoodDetail.goods_name))\n ]),\n _c(\"p\", [\n _c(\"span\", [_vm._v(\"类别:\")]),\n _vm._v(\" \" + _vm._s(_vm.zygoodDetail.class1_name))\n ]),\n _c(\"p\", [\n _c(\"span\", [_vm._v(\"品牌:\")]),\n _vm._v(_vm._s(_vm.zygoodDetail.brand_name))\n ]),\n _c(\"p\", [\n _c(\"span\", [_vm._v(\"最大可申请数量:\")]),\n _vm._v(\"2\")\n ])\n ])\n ]),\n _c(\"div\", { staticClass: \"info-detail\" }, [\n _c(\"p\", [\n _c(\"span\", [_vm._v(\"型号: \")]),\n _vm._v(_vm._s(_vm.zygoodDetail.sku_name))\n ]),\n _c(\"p\", { staticClass: \"canshudetail\" }, [\n _c(\"span\", [_vm._v(\"参数描述: \")]),\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.zygoodDetail.sku_name) +\n \"由\" +\n _vm._s(_vm.zygoodDetail.brand_name) +\n \"设计生产制造,在猎芯网自营现货销售。\" +\n _vm._s(_vm.zygoodDetail.goods_name) +\n \"的封装/规格参数为:\" +\n _vm._s(_vm.zygoodDetail.encap) +\n \";您可以选择下载\" +\n _vm._s(_vm.zygoodDetail.sku_name) +\n \"中文资料等数据手册功能说明书,资料中有\" +\n _vm._s(_vm.zygoodDetail.class_id1_name) +\n \"、\" +\n _vm._s(_vm.zygoodDetail.class_id2_name) +\n \"详细使用方法及教程。\\n \"\n )\n ])\n ])\n ]\n )\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"form-info\" }, [\n _c(\"div\", { staticClass: \"form-group\" }, [\n _vm._m(0),\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.apply_num,\n expression: \"apply_num\"\n }\n ],\n attrs: {\n type: \"text\",\n placeholder: \"请输入申请数量,最多可申请2个\",\n onkeyup:\n \"if(event.keyCode !=37 && event.keyCode != 39){if (!/^[\\\\d]+$/ig.test(this.value)){this.value='';}}\"\n },\n domProps: { value: _vm.apply_num },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.apply_num = $event.target.value\n }\n }\n })\n ]),\n _c(\"div\", { staticClass: \"form-group\" }, [\n _vm._m(1),\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.com_name,\n expression: \"com_name\"\n }\n ],\n attrs: { type: \"text\", placeholder: \"请输入单位名称\" },\n domProps: { value: _vm.com_name },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.com_name = $event.target.value\n }\n }\n })\n ]),\n _c(\"div\", { staticClass: \"form-group\" }, [\n _vm._m(2),\n _c(\"textarea\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.sample_demand_desc,\n expression: \"sample_demand_desc\"\n }\n ],\n attrs: {\n name: \"\",\n placeholder: \"请输项目需求描述,如申请样品用于什么项目\"\n },\n domProps: { value: _vm.sample_demand_desc },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.sample_demand_desc = $event.target.value\n }\n }\n })\n ]),\n _vm._m(3),\n _vm.addressInfo\n ? _c(\n \"div\",\n {\n staticClass: \"form-group adderss-sample\",\n on: {\n click: function($event) {\n return _vm.addressSample(_vm.addressInfo.address_id)\n }\n }\n },\n [\n _c(\"h3\", [\n _c(\"p\", [\n _vm._v(\n _vm._s(_vm.addressInfo.consignee) +\n \"   \" +\n _vm._s(_vm.addressInfo.mobile)\n )\n ]),\n _c(\"p\", [\n _vm._v(\n _vm._s(\n _vm.addressInfo.province_val +\n \" \" +\n _vm.addressInfo.district_val +\n \" \" +\n _vm.addressInfo.city_val +\n \" \" +\n _vm.addressInfo.detail_address\n )\n )\n ]),\n _c(\"span\", {\n staticClass: \"fr icon iconfont icon-xiangyoujiankuohao\"\n })\n ])\n ]\n )\n : _c(\n \"div\",\n { staticClass: \"form-group by\", on: { click: _vm.adderssAdd } },\n [_vm._m(4)]\n ),\n _c(\"div\", { staticClass: \"line\" })\n ]),\n _c(\"div\", { staticClass: \"fix-btns\", on: { click: _vm.submitS } }, [\n _vm._v(\"确认提交\")\n ]),\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.successPop,\n expression: \"successPop\"\n }\n ],\n staticClass: \"submit-success-pop\"\n },\n [\n _c(\"div\", { staticClass: \"mask\" }),\n _c(\"div\", { staticClass: \"get-user-con\" }, [\n _c(\"h3\", [\n _vm._v(\"恭喜获得1次免费申请样品机会\"),\n _c(\"i\", {\n staticClass: \"icon iconfont icon-guanbi\",\n on: { click: _vm.getuserf }\n })\n ]),\n _c(\"p\", [_vm._v(\"样品订单编号:12019071090943\")]),\n _c(\"h2\", [\n _vm._v(\"邀请好友注册可额外获得一次样品申请机会,多邀多得\")\n ]),\n _c(\n \"span\",\n { directives: [{ name: \"shareMask\", rawName: \"v-shareMask\" }] },\n [_vm._v(\"点击邀请\")]\n ),\n _c(\"div\", { staticClass: \"tips\" }, [\n _vm._v(\"重要提醒:审核结果​​将以短信通知给您\")\n ])\n ])\n ]\n ),\n _vm.loading\n ? _c(\"van-loading\", {\n staticClass: \"loading-background\",\n attrs: { type: \"spinner\", color: \"#000\" }\n })\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = [\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"h3\", [\n _c(\"span\", { staticClass: \"f-red\" }, [_vm._v(\"*\")]),\n _vm._v(\"  商品信息\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"h3\", [\n _c(\"span\", { staticClass: \"f-red\" }, [_vm._v(\"*\")]),\n _vm._v(\"  单位名称\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"h3\", [\n _c(\"span\", { staticClass: \"f-red\" }, [_vm._v(\"*\")]),\n _vm._v(\"  项目需求描述\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"form-group by\" }, [\n _c(\"h3\", [\n _vm._v(\"运费信息 \"),\n _c(\"span\", { staticClass: \"fr\" }, [_vm._v(\"包邮\")])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"h3\", [\n _vm._v(\"新增收货地址 \"),\n _c(\"span\", { staticClass: \"fr icon iconfont icon-xiangyoujiankuohao\" })\n ])\n }\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/sample/sampleapply.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%229bbfdd84-vue-loader-template%22%7D!./node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"section\",\n { staticClass: \"sample-apply\" },\n [\n _c(\"Header\", {\n attrs: {\n title: _vm.title,\n meaushow: _vm.meaushow,\n bgcolor: _vm.bgcolor\n }\n }),\n _c(\"wxShare\", { attrs: { url: _vm.shareUrl } }),\n _c(\n \"van-collapse\",\n {\n attrs: { accordion: \"\", border: _vm.noborder },\n model: {\n value: _vm.activeName,\n callback: function($$v) {\n _vm.activeName = $$v\n },\n expression: \"activeName\"\n }\n },\n [\n _c(\n \"van-collapse-item\",\n { attrs: { title: \"商品信息\", name: \"1\", border: _vm.noborder } },\n [\n _c(\"div\", { staticClass: \"info-con clr\" }, [\n _c(\"div\", { staticClass: \"fl img-box\" }, [\n _c(\"img\", {\n attrs: {\n src:\n _vm.ypGoodDetail.goods_images ||\n \"https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png\",\n alt: \"\"\n }\n })\n ]),\n _vm.ypGoodDetail.goods_info\n ? _c(\"div\", { staticClass: \"fr cb-box\" }, [\n _c(\"div\", { staticClass: \"title\" }, [\n _vm._v(_vm._s(_vm.ypGoodDetail.goods_info.goods_name))\n ]),\n _c(\"p\", [\n _c(\"span\", [_vm._v(\"类别:\")]),\n _vm._v(\n \" \" +\n _vm._s(_vm.ypGoodDetail.goods_info.class_id1_name)\n )\n ]),\n _c(\"p\", [\n _c(\"span\", [_vm._v(\"品牌:\")]),\n _vm._v(_vm._s(_vm.ypGoodDetail.goods_info.brand_name))\n ]),\n _c(\"p\", [\n _c(\"span\", [_vm._v(\"最大可申请数量:\")]),\n _vm._v(_vm._s(_vm.ypGoodDetail.max_number || 1))\n ])\n ])\n : _vm._e()\n ]),\n _vm.ypGoodDetail.goods_info\n ? _c(\"div\", { staticClass: \"info-detail\" }, [\n _c(\"p\", [\n _c(\"span\", [_vm._v(\"型号: \")]),\n _vm._v(_vm._s(_vm.ypGoodDetail.goods_info.sku_name))\n ]),\n _c(\"p\", { staticClass: \"canshudetail\" }, [\n _c(\"span\", [_vm._v(\"参数描述: \")]),\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.ypGoodDetail.goods_info.sku_name) +\n \"由\" +\n _vm._s(_vm.ypGoodDetail.goods_info.brand_name) +\n \"设计生产制造,在猎芯网自营现货销售。\" +\n _vm._s(_vm.ypGoodDetail.goods_info.goods_name) +\n \"的封装/规格参数为:\" +\n _vm._s(_vm.ypGoodDetail.goods_info.encap) +\n \";您可以选择下载\" +\n _vm._s(_vm.ypGoodDetail.goods_info.sku_name) +\n \"中文资料等数据手册功能说明书,资料中有\" +\n _vm._s(_vm.ypGoodDetail.goods_info.class_id1_name) +\n \"、\" +\n _vm._s(_vm.ypGoodDetail.goods_info.class_id2_name) +\n \"详细使用方法及教程。\\n \"\n )\n ])\n ])\n : _vm._e()\n ]\n )\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"form-info\" }, [\n _c(\"div\", { staticClass: \"form-group\" }, [\n _vm._m(0),\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.apply_num,\n expression: \"apply_num\"\n }\n ],\n attrs: {\n type: \"text\",\n placeholder:\n \"请输入申请数量,最多可申请\" +\n (_vm.ypGoodDetail.max_number || 1) +\n \"个\",\n onkeyup:\n \"if(event.keyCode !=37 && event.keyCode != 39){if (!/^[\\\\d]+$/ig.test(this.value)){this.value='';}}\"\n },\n domProps: { value: _vm.apply_num },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.apply_num = $event.target.value\n }\n }\n })\n ]),\n _c(\"div\", { staticClass: \"form-group\" }, [\n _vm._m(1),\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.com_name,\n expression: \"com_name\"\n }\n ],\n attrs: { type: \"text\", placeholder: \"请输入单位名称\" },\n domProps: { value: _vm.com_name },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.com_name = $event.target.value\n }\n }\n })\n ]),\n _c(\"div\", { staticClass: \"form-group\" }, [\n _c(\"h3\", [_vm._v(\"  项目需求描述\")]),\n _c(\"textarea\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.sample_demand_desc,\n expression: \"sample_demand_desc\"\n }\n ],\n attrs: {\n name: \"\",\n placeholder: \"请输项目需求描述,如申请样品用于什么项目\"\n },\n domProps: { value: _vm.sample_demand_desc },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.sample_demand_desc = $event.target.value\n }\n }\n })\n ]),\n _vm._m(2),\n _vm.addressInfo\n ? _c(\n \"div\",\n {\n staticClass: \"form-group adderss-sample\",\n on: {\n click: function($event) {\n return _vm.addressSample(_vm.addressInfo.address_id)\n }\n }\n },\n [\n _c(\"h3\", [\n _c(\"p\", [\n _vm._v(\n _vm._s(_vm.addressInfo.consignee) +\n \"   \" +\n _vm._s(_vm.addressInfo.mobile)\n )\n ]),\n _c(\"p\", [\n _vm._v(\n _vm._s(\n _vm.addressInfo.province_val +\n \" \" +\n _vm.addressInfo.district_val +\n \" \" +\n _vm.addressInfo.city_val +\n \" \" +\n _vm.addressInfo.detail_address\n )\n )\n ]),\n _c(\"span\", {\n staticClass: \"fr icon iconfont icon-xiangyoujiankuohao\"\n })\n ])\n ]\n )\n : _c(\n \"div\",\n { staticClass: \"form-group by\", on: { click: _vm.adderssAdd } },\n [_vm._m(3)]\n ),\n _c(\"div\", { staticClass: \"line\" })\n ]),\n _c(\"div\", { staticClass: \"fix-btns\", on: { click: _vm.submitS } }, [\n _vm._v(\"确认提交\")\n ]),\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.successPop,\n expression: \"successPop\"\n }\n ],\n staticClass: \"submit-success-pop\"\n },\n [\n _c(\"div\", { staticClass: \"mask\" }),\n _c(\"div\", { staticClass: \"get-user-con\" }, [\n _c(\"h3\", [\n _vm._v(\"恭喜获得1次免费申请样品机会\"),\n _c(\"i\", {\n staticClass: \"icon iconfont icon-guanbi\",\n on: { click: _vm.getuserf }\n })\n ]),\n _c(\"p\", [_vm._v(\"样品订单编号:12019071090943\")]),\n _c(\"h2\", [\n _vm._v(\"邀请好友注册可额外获得一次样品申请机会,多邀多得\")\n ]),\n _c(\n \"span\",\n { directives: [{ name: \"shareMask\", rawName: \"v-shareMask\" }] },\n [_vm._v(\"点击邀请\")]\n ),\n _c(\"div\", { staticClass: \"tips\" }, [\n _vm._v(\"重要提醒:审核结果​​将以短信通知给您\")\n ])\n ])\n ]\n ),\n _vm.loading\n ? _c(\"van-loading\", {\n staticClass: \"loading-background\",\n attrs: { type: \"spinner\", color: \"#000\" }\n })\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = [\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"h3\", [\n _c(\"span\", { staticClass: \"f-red\" }, [_vm._v(\"*\")]),\n _vm._v(\"  申请数量\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"h3\", [\n _c(\"span\", { staticClass: \"f-red\" }, [_vm._v(\"*\")]),\n _vm._v(\"  单位名称\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"form-group by\" }, [\n _c(\"h3\", [\n _vm._v(\"运费信息 \"),\n _c(\"span\", { staticClass: \"fr\" }, [_vm._v(\"包邮\")])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"h3\", [\n _vm._v(\"新增收货地址 \"),\n _c(\"span\", { staticClass: \"fr icon iconfont icon-xiangyoujiankuohao\" })\n ])\n }\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/sample/sampleapply.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%229bbfdd84-vue-loader-template%22%7D!./node_modules/_vue-loader@15.7.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'wallet',\n data: function data() {\n return {\n title: \"我的钱包\",\n meaushow: true\n };\n },\n beforeRouteEnter: function beforeRouteEnter(to, from, next) {\n next(function (vm) {\n vm.$store.dispatch({\n type: 'loginCheck',\n is_jump: true\n });\n });\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n }\n })),\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n withdraw: function withdraw() {\n var _this = this;\n\n if (this.walletInfoData.wallet_status == 1 && !(this.walletInfoData.bank_account === null)) {\n //钱包状态:1启用,-1未启用,-2锁定\n this.$router.push({\n path: '/wallet/withdraw'\n });\n } else {\n vant__WEBPACK_IMPORTED_MODULE_8__[\"Dialog\"].confirm({\n title: '提醒',\n message: '请先去绑卡'\n }).then(function () {\n _this.$router.push({\n path: '/wallet/verify'\n });\n }).catch(function () {// on cancel\n });\n }\n },\n activate: function activate() {\n this.$router.push({\n path: '/wallet/activate'\n });\n },\n recharge: function recharge() {\n this.$router.push({\n path: '/wallet/recharge'\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'wallet',\n data: function data() {\n return {\n title: \"我的钱包\",\n meaushow: true\n };\n },\n beforeRouteEnter: function beforeRouteEnter(to, from, next) {\n next(function (vm) {\n vm.$store.dispatch({\n type: 'loginCheck',\n is_jump: true\n });\n });\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n }\n })),\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n withdraw: function withdraw() {\n var _this = this;\n\n if (this.walletInfoData.wallet_status == 1 && !(this.walletInfoData.bank_account === null)) {\n //钱包状态:1启用,-1未启用,-2锁定\n this.$router.push({\n path: '/wallet/withdraw'\n });\n } else {\n vant__WEBPACK_IMPORTED_MODULE_8__[\"Dialog\"].confirm({\n title: '提醒',\n message: '请先去绑卡'\n }).then(function () {\n _this.$router.push({\n path: '/wallet/verify'\n });\n }).catch(function () {// on cancel\n });\n }\n },\n activate: function activate() {\n this.$router.push({\n path: '/wallet/activate'\n });\n },\n recharge: function recharge() {\n this.$router.push({\n path: '/wallet/recharge'\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _util_check_bank_no_min__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../util/check_bank_no.min */ \"./src/util/check_bank_no.min.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util */ \"./src/util/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletBind',\n data: function data() {\n return {\n title: \"绑定银行账号\",\n meaushow: true,\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n form: {\n userName: '',\n userBankID: '',\n userBankNum: '',\n userID: '',\n userMobile: '',\n verifyCode: ''\n },\n formError: false,\n formMsg: '',\n userBankIDList: {\n \"邮政储蓄银行\": 100,\n \"中国工商银行\": 102,\n \"中国农业银行\": 103,\n \"中国银行\": 104,\n \"中国建设银行\": 105,\n \"交通银行\": 301,\n \"中信银行\": 302,\n \"中国光大银行\": 303,\n \"中国民生银行\": 305,\n \"广发银行\": 306,\n \"平安银行\": 307,\n \"招商银行\": 308,\n \"兴业银行\": 309,\n \"上海浦东发展银行\": 310,\n \"浙商银行\": 316,\n \"上海银行\": 401,\n \"北京银行\": 403,\n \"徽商银行\": 440,\n \"银联在线-中金网银无卡\": 888,\n \"银联在线中金网银\": 889\n }\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n bankPasswordToken: function bankPasswordToken(state) {\n return state.wallet.bankPasswordToken;\n },\n bankCountDownFlag: function bankCountDownFlag(state) {\n return state.wallet.bankCountDownFlag;\n },\n bindBankKey: function bindBankKey(state) {\n return state.wallet.bindBankKey;\n },\n bindBankData: function bindBankData(state) {\n return state.wallet.bindBankData;\n }\n })),\n watch: {\n bankCountDownFlag: function bankCountDownFlag(value) {\n if (value == true) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n verify: function verify() {\n if (!this.form.userName) {\n this.formError = true;\n this.formMsg = '亲,请输入真实姓名';\n return false;\n }\n\n if (!this.form.userBankNum) {\n this.formError = true;\n this.formMsg = '亲,请输入银行账号';\n return false;\n }\n\n if (!this.form.userID) {\n this.formError = true;\n this.formMsg = '亲,请输入身份证号码';\n return false;\n }\n\n if (!this.form.userMobile) {\n this.formError = true;\n this.formMsg = '亲,请输入银行预留手机';\n return false;\n }\n\n var tel_reg = /^1[3456789]\\d{9}$/;\n\n if (!tel_reg.test(this.form.userMobile)) {\n this.formError = true;\n this.formMsg = '亲,银行预留手机格式不正确';\n return false;\n }\n\n return true;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n getCode: function getCode() {\n if (this.verify()) {\n var infox = Object(_util_check_bank_no_min__WEBPACK_IMPORTED_MODULE_8__[\"bankCardAttribution\"])(this.form.userBankNum);\n\n for (var key in this.userBankIDList) {\n if (key == infox.bankName) {\n this.form.userBankID = this.userBankIDList[key];\n } // else{\n // Toast({\n // message: \"银行卡格式有误\",\n // duration: 2000\n // });\n // }\n\n }\n\n this.formError = false;\n this.$store.dispatch({\n //actions分发\n type: 'getBindBankmsg',\n bank_user: this.form.userName,\n bank_id: this.form.userBankID,\n bank_account: this.form.userBankNum,\n id_type: 0,\n id_number: this.form.userID,\n account_type: 1,\n mobile: this.form.userMobile\n });\n }\n },\n confirm: function confirm() {\n //确认\n if (this.verify()) {\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false; //绑定银行卡\n\n this.$store.dispatch({\n type: 'bindBankCard',\n token: this.bankPasswordToken || _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].getCookie(\"bankPasswordToken\"),\n wallet_bank_id: '',\n sms_code: this.form.verifyCode,\n access_key: this.bindBankKey,\n access_data: this.bindBankData\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Bind.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _util_check_bank_no_min__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../util/check_bank_no.min */ \"./src/util/check_bank_no.min.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util */ \"./src/util/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletBind',\n data: function data() {\n return {\n title: \"绑定银行账号\",\n meaushow: true,\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n form: {\n userName: '',\n userBankID: '',\n userBankNum: '',\n userID: '',\n userMobile: '',\n verifyCode: ''\n },\n formError: false,\n formMsg: '',\n userBankIDList: {\n \"邮政储蓄银行\": 100,\n \"中国工商银行\": 102,\n \"中国农业银行\": 103,\n \"中国银行\": 104,\n \"中国建设银行\": 105,\n \"交通银行\": 301,\n \"中信银行\": 302,\n \"中国光大银行\": 303,\n \"中国民生银行\": 305,\n \"广发银行\": 306,\n \"平安银行\": 307,\n \"招商银行\": 308,\n \"兴业银行\": 309,\n \"上海浦东发展银行\": 310,\n \"浙商银行\": 316,\n \"上海银行\": 401,\n \"北京银行\": 403,\n \"徽商银行\": 440,\n \"银联在线-中金网银无卡\": 888,\n \"银联在线中金网银\": 889\n }\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n bankPasswordToken: function bankPasswordToken(state) {\n return state.wallet.bankPasswordToken;\n },\n bankCountDownFlag: function bankCountDownFlag(state) {\n return state.wallet.bankCountDownFlag;\n },\n bindBankKey: function bindBankKey(state) {\n return state.wallet.bindBankKey;\n },\n bindBankData: function bindBankData(state) {\n return state.wallet.bindBankData;\n }\n })),\n watch: {\n bankCountDownFlag: function bankCountDownFlag(value) {\n if (value == true) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n verify: function verify() {\n if (!this.form.userName) {\n this.formError = true;\n this.formMsg = '亲,请输入真实姓名';\n return false;\n }\n\n if (!this.form.userBankNum) {\n this.formError = true;\n this.formMsg = '亲,请输入银行账号';\n return false;\n }\n\n if (!this.form.userID) {\n this.formError = true;\n this.formMsg = '亲,请输入身份证号码';\n return false;\n }\n\n if (!this.form.userMobile) {\n this.formError = true;\n this.formMsg = '亲,请输入银行预留手机';\n return false;\n }\n\n var tel_reg = /^1[3456789]\\d{9}$/;\n\n if (!tel_reg.test(this.form.userMobile)) {\n this.formError = true;\n this.formMsg = '亲,银行预留手机格式不正确';\n return false;\n }\n\n return true;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n getCode: function getCode() {\n if (this.verify()) {\n var infox = Object(_util_check_bank_no_min__WEBPACK_IMPORTED_MODULE_8__[\"bankCardAttribution\"])(this.form.userBankNum);\n\n for (var key in this.userBankIDList) {\n if (key == infox.bankName) {\n this.form.userBankID = this.userBankIDList[key];\n } // else{\n // Toast({\n // message: \"银行卡格式有误\",\n // duration: 2000\n // });\n // }\n\n }\n\n this.formError = false;\n this.$store.dispatch({\n //actions分发\n type: 'getBindBankmsg',\n bank_user: this.form.userName,\n bank_id: this.form.userBankID,\n bank_account: this.form.userBankNum,\n id_type: 0,\n id_number: this.form.userID,\n account_type: 1,\n mobile: this.form.userMobile\n });\n }\n },\n confirm: function confirm() {\n //确认\n if (this.verify()) {\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false; //绑定银行卡\n\n this.$store.dispatch({\n type: 'bindBankCard',\n token: this.bankPasswordToken || _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].getCookie(\"bankPasswordToken\"),\n wallet_bank_id: '',\n sms_code: this.form.verifyCode,\n access_key: this.bindBankKey,\n access_data: this.bindBankData\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Bind.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'wxlist',\n data: function data() {\n return {\n page: 0,\n limit: 6,\n loading: false\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n wechatArticle: function wechatArticle(state) {\n return state.wxlist.wechatArticle;\n },\n wechatArticleList: function wechatArticleList(state) {\n return state.wxlist.wechatArticleList;\n },\n limits: function limits(state) {\n return state.wxlist.limits;\n },\n loadStatus: function loadStatus(state) {\n return state.wxlist.loadStatus;\n },\n finished: function finished(state) {\n return state.wxlist.finished;\n }\n })),\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n created: function created() {},\n methods: {\n getData: function getData(type_id) {\n this.$store.dispatch({\n type: 'wechatArticle',\n type_id: type_id,\n page: this.page,\n limit: this.limit\n });\n },\n onLoad: function onLoad() {\n if (this.page < this.limits) {\n this.page++;\n this.getData(this.$route.query.type_id);\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wxlist/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'wxlist',\n data: function data() {\n return {\n page: 0,\n limit: 6,\n loading: false\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n wechatArticle: function wechatArticle(state) {\n return state.wxlist.wechatArticle;\n },\n wechatArticleList: function wechatArticleList(state) {\n return state.wxlist.wechatArticleList;\n },\n limits: function limits(state) {\n return state.wxlist.limits;\n },\n loadStatus: function loadStatus(state) {\n return state.wxlist.loadStatus;\n },\n finished: function finished(state) {\n return state.wxlist.finished;\n }\n })),\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n created: function created() {},\n methods: {\n getData: function getData(type_id) {\n this.$store.dispatch({\n type: 'wechatArticle',\n type_id: type_id,\n page: this.page,\n limit: this.limit\n });\n },\n onLoad: function onLoad() {\n if (this.page < this.limits) {\n this.page++;\n this.getData(this.$route.query.type_id);\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wxlist/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"IndexBar\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"IndexAnchor\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tab\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tabs\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'brand',\n data: function data() {\n return {\n title: \"品牌分类\",\n meaushow: true,\n highlight: \"red\",\n selecto: \"\",\n xiding: true,\n tabs: [{\n brand_area: \"\",\n text: \"全部\"\n }, {\n brand_area: 1,\n text: \"欧美\"\n }, {\n brand_area: 2,\n text: \"日韩\"\n }, {\n brand_area: 3,\n text: \"台湾\"\n }, {\n brand_area: 4,\n text: \"中国内地\"\n }]\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.brand.loading;\n },\n indexList: function indexList(state) {\n return state.brand.indexList;\n },\n brandMapData: function brandMapData(state) {\n return state.brand.brandMapData;\n }\n })),\n watch: {},\n created: function created() {\n this.getData();\n },\n mounted: function mounted() {\n this.scrollFns();\n },\n methods: {\n getData: function getData(index) {\n var brand_area = index == 0 ? \"\" : index;\n this.$store.dispatch({\n type: 'brandList',\n brand_area: brand_area\n });\n },\n indexSelect: function indexSelect(index) {\n this.selecto = index;\n\n if (index) {\n this.xiding = false;\n } else {\n this.xiding = true;\n }\n },\n scrollFns: function scrollFns() {\n var self = this;\n\n window.onscroll = function () {\n var ele = document.querySelector('div.van-index-anchor--sticky');\n\n if (ele) {\n self.xiding = false;\n } else {\n self.xiding = true;\n }\n };\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/brand/brand.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"IndexBar\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"IndexAnchor\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tab\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tabs\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'brand',\n data: function data() {\n return {\n title: \"品牌分类\",\n meaushow: true,\n highlight: \"red\",\n selecto: \"\",\n xiding: true,\n tabs: [{\n brand_area: \"\",\n text: \"全部\"\n }, {\n brand_area: 1,\n text: \"欧美\"\n }, {\n brand_area: 2,\n text: \"日韩\"\n }, {\n brand_area: 3,\n text: \"台湾\"\n }, {\n brand_area: 4,\n text: \"中国内地\"\n }]\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.brand.loading;\n },\n indexList: function indexList(state) {\n return state.brand.indexList;\n },\n brandMapData: function brandMapData(state) {\n return state.brand.brandMapData;\n }\n })),\n watch: {},\n created: function created() {\n this.getData();\n },\n mounted: function mounted() {\n this.scrollFns();\n },\n methods: {\n getData: function getData(index) {\n var brand_area = index == 0 ? \"\" : index;\n this.$store.dispatch({\n type: 'brandList',\n brand_area: brand_area\n });\n },\n indexSelect: function indexSelect(index) {\n this.selecto = index;\n\n if (index) {\n this.xiding = false;\n } else {\n this.xiding = true;\n }\n },\n scrollFns: function scrollFns() {\n var self = this;\n\n window.onscroll = function () {\n var ele = document.querySelector('div.van-index-anchor--sticky');\n\n if (ele) {\n self.xiding = false;\n } else {\n self.xiding = true;\n }\n };\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/brand/brand.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/common/GoodsOne.vue */ \"./src/views/common/GoodsOne.vue\");\n/* harmony import */ var _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/views/common/goodsDetail.vue */ \"./src/views/common/goodsDetail.vue\");\n/* harmony import */ var _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/views/common/addCarAlert */ \"./src/views/common/addCarAlert.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'brandList',\n data: function data() {\n return {\n detailsData: {\n isShow: false,\n id: \"\"\n },\n meaushow: true,\n stockRank: \"\",\n priceRank: \"\",\n stock: \"gte,0\",\n p: 1,\n loading1: false,\n offset: 10,\n type: 1 //排序选中 1 2 3\n\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.brand.loading;\n },\n listData: function listData(state) {\n return state.brand.listData;\n },\n finished: function finished(state) {\n return state.brand.finished;\n },\n loadStatus: function loadStatus(state) {\n return state.brand.loadStatus;\n },\n brandDetail: function brandDetail(state) {\n return state.brand.brandDetail;\n },\n totalLimit: function totalLimit(state) {\n return state.brand.totalLimit;\n },\n isShowAlert: function isShowAlert(state) {\n return state.gooddetail.isShowAlert;\n }\n })),\n watch: {\n isShowAlert: function isShowAlert(now) {\n if (now) {\n this.detailsData = {\n isShow: false,\n id: \"\"\n };\n this.$store.dispatch({\n type: \"cartCount\"\n });\n }\n },\n loadStatus: function loadStatus(val) {\n this.loading1 = val;\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'brandInfo',\n brand_id: this.$route.params.brand_id\n });\n this.getData();\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'skuList',\n 'stock/order': this.stockRank,\n 'single_price/order': this.priceRank,\n 'stock/sr': this.stock,\n 'brand_id/condition': this.$route.params.brand_id,\n p: this.p,\n offset: this.offset\n });\n },\n tab: function tab(type) {\n if (type != 4) {\n this.type = type;\n }\n\n if (type == 1) {\n //综合排序\n this.stockRank = \"\";\n this.priceRank = \"\";\n } else if (type == 2) {\n this.priceRank = \"\";\n\n if (this.stockRank == 'desc') {\n this.stockRank = \"asc\";\n } else {\n this.stockRank = \"desc\";\n }\n } else if (type == 3) {\n this.stockRank = \"\";\n\n if (this.priceRank == 'desc') {\n this.priceRank = \"asc\";\n } else {\n this.priceRank = \"desc\";\n }\n } else {\n if (this.stock == \"gte,0\") {\n this.stock = \"gte,2\";\n } else {\n this.stock = \"gte,0\";\n }\n }\n\n this.p = 1;\n this.getData();\n },\n onLoad: function onLoad() {\n if (this.p < this.totalLimit) {\n this.p++;\n this.getData();\n }\n },\n placeOrder: function placeOrder(id) {\n this.detailsData = {\n isShow: true,\n id: id\n };\n },\n toSearch: function toSearch() {\n window.location.href = \"/v3/search/search_index.html\";\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n GoodsOne: _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n goodsDetail: _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n addCarAlert: _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_11__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/brand/brandList.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/common/GoodsOne.vue */ \"./src/views/common/GoodsOne.vue\");\n/* harmony import */ var _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/views/common/goodsDetail.vue */ \"./src/views/common/goodsDetail.vue\");\n/* harmony import */ var _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/views/common/addCarAlert */ \"./src/views/common/addCarAlert.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'brandList',\n data: function data() {\n return {\n detailsData: {\n isShow: false,\n id: \"\"\n },\n meaushow: true,\n stockRank: \"\",\n priceRank: \"\",\n stock: \"gte,0\",\n p: 1,\n loading1: false,\n offset: 10,\n type: 1 //排序选中 1 2 3\n\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.brand.loading;\n },\n listData: function listData(state) {\n return state.brand.listData;\n },\n finished: function finished(state) {\n return state.brand.finished;\n },\n loadStatus: function loadStatus(state) {\n return state.brand.loadStatus;\n },\n brandDetail: function brandDetail(state) {\n return state.brand.brandDetail;\n },\n totalLimit: function totalLimit(state) {\n return state.brand.totalLimit;\n },\n isShowAlert: function isShowAlert(state) {\n return state.gooddetail.isShowAlert;\n }\n })),\n watch: {\n isShowAlert: function isShowAlert(now) {\n if (now) {\n this.detailsData = {\n isShow: false,\n id: \"\"\n };\n this.$store.dispatch({\n type: \"cartCount\"\n });\n }\n },\n loadStatus: function loadStatus(val) {\n this.loading1 = val;\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'brandInfo',\n brand_id: this.$route.params.brand_id\n });\n this.getData();\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'skuList',\n 'stock/order': this.stockRank,\n 'single_price/order': this.priceRank,\n 'stock/sr': this.stock,\n 'brand_id/condition': this.$route.params.brand_id,\n p: this.p,\n offset: this.offset\n });\n },\n tab: function tab(type) {\n if (type != 4) {\n this.type = type;\n }\n\n if (type == 1) {\n //综合排序\n this.stockRank = \"\";\n this.priceRank = \"\";\n } else if (type == 2) {\n this.priceRank = \"\";\n\n if (this.stockRank == 'desc') {\n this.stockRank = \"asc\";\n } else {\n this.stockRank = \"desc\";\n }\n } else if (type == 3) {\n this.stockRank = \"\";\n\n if (this.priceRank == 'desc') {\n this.priceRank = \"asc\";\n } else {\n this.priceRank = \"desc\";\n }\n } else {\n if (this.stock == \"gte,0\") {\n this.stock = \"gte,2\";\n } else {\n this.stock = \"gte,0\";\n }\n }\n\n this.p = 1;\n this.getData();\n },\n onLoad: function onLoad() {\n if (this.p < this.totalLimit) {\n this.p++;\n this.getData();\n }\n },\n placeOrder: function placeOrder(id) {\n this.detailsData = {\n isShow: true,\n id: id\n };\n },\n toSearch: function toSearch() {\n window.location.href = \"/v3/search/search_index.html\";\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n GoodsOne: _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n goodsDetail: _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n addCarAlert: _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_11__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/brand/brandList.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util */ \"./src/util/index.js\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Checkbox\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"car\",\n data: function data() {\n return {\n isCar: true,\n meaushow: true,\n bgcolor: \"#fff\",\n defaultBtn: '更多梯度价格<i class=\"icon-bot\"></i>',\n loginUrl: '/v3/login?referer=' + encodeURIComponent(window.location.href),\n //登录地址\n type: 1,\n //联营 1 //自营2\n delivery: 1,\n //大陆1 //香港2,\n paddingTop: 88,\n //控制登录提示条\n isEdit: false,\n //是否是编辑状态\n isLogingo: _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].isLogin() == 1 ? true : false,\n //强登录太\n zy1DataIsCheck: true,\n //现货全部选中状态\n zy2DataIsCheck: false,\n //期货全部选中状态\n isAll: true,\n //商品全部选中\n totalMoney: 0,\n //总金额\n totalNum: 0,\n //总数量\n isNoContent: false //没有数据展示\n\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_7__[\"mapState\"])({\n loading: function loading(state) {\n return state.car.loading;\n },\n loading1: function loading1(state) {\n return state.car.loading1;\n },\n ly1: function ly1(state) {\n return state.car.ly1;\n },\n ly2: function ly2(state) {\n return state.car.ly2;\n },\n zy1: function zy1(state) {\n return state.car.zy1;\n },\n ly1Data: function ly1Data(state) {\n return state.car.ly1Data;\n },\n ly2Data: function ly2Data(state) {\n return state.car.ly2Data;\n },\n zy1Data: function zy1Data(state) {\n return state.car.zy1Data;\n },\n zy2Data: function zy2Data(state) {\n return state.car.zy2Data;\n },\n ly1Length: function ly1Length(state) {\n return state.car.ly1Length;\n },\n ly2Length: function ly2Length(state) {\n return state.car.ly2Length;\n },\n zy1Length: function zy1Length(state) {\n return state.car.zy1Length;\n },\n ly1LoseData: function ly1LoseData(state) {\n return state.car.ly1LoseData;\n },\n ly2LoseData: function ly2LoseData(state) {\n return state.car.ly2LoseData;\n },\n zy1LoseData: function zy1LoseData(state) {\n return state.car.zy1LoseData;\n },\n totlaMState: function totlaMState(state) {\n return state.car.totlaMState;\n }\n })),\n created: function created() {\n this.loginTip();\n this.getCarCount();\n this.getData();\n this.priceInit();\n },\n watch: {\n totlaMState: function totlaMState(val) {\n if (val) {\n this.priceInit();\n }\n },\n loading1: function loading1(val) {\n this.isNoContent = false;\n\n if (!val) {\n this.priceInit();\n this.isNOD();\n }\n },\n isEdit: function isEdit(val) {\n var list_1 = this.ly1Data,\n list_2 = this.ly2Data,\n list_3 = this.zy1Data,\n list_4 = this.zy2Data;\n\n for (var i = 0; i < list_1.length; i++) {\n list_1[i].editState = val;\n }\n\n for (var i = 0; i < list_2.length; i++) {\n list_2[i].editState = val;\n }\n\n for (var i = 0; i < list_3.length; i++) {\n list_3[i].editState = val;\n }\n\n for (var i = 0; i < list_4.length; i++) {\n list_4[i].editState = val;\n }\n },\n ly1Data: function ly1Data(val) {\n this.priceInit();\n\n if (val.length == 0) {\n this.isNOD();\n }\n },\n ly2Data: function ly2Data(val) {\n this.priceInit();\n\n if (val.length == 0) {\n this.isNOD();\n }\n },\n zy1Data: function zy1Data(val) {\n this.priceInit();\n this.checkWatch();\n\n if (val.length == 0) {\n this.isNOD();\n }\n },\n zy2Data: function zy2Data(val) {\n this.priceInit();\n this.checkWatch();\n\n if (val.length == 0) {\n this.isNOD();\n }\n },\n ly1LoseData: function ly1LoseData(val) {\n if (val.length == 0) {\n this.isNOD();\n }\n },\n ly2LoseData: function ly2LoseData(val) {\n if (val.length == 0) {\n this.isNOD();\n }\n },\n zy1LoseData: function zy1LoseData(val) {\n if (val.length == 0) {\n this.isNOD();\n }\n }\n },\n methods: {\n isNOD: function isNOD() {\n //没数据展示\n if (this.type == 1) {\n //联营\n if (this.delivery == 1) {\n //大陆\n if (this.ly1Data.length == 0 && this.ly1LoseData.length == 0) {\n this.isNoContent = true;\n } else {\n this.isNoContent = false;\n }\n } else {\n //香港\n if (this.ly2Data.length == 0 && this.ly2LoseData.length == 0) {\n this.isNoContent = true;\n } else {\n this.isNoContent = false;\n }\n }\n } else {\n //自营\n if (this.zy1Data.length == 0 && this.zy2Data.length == 0 && this.zy1LoseData.length == 0) {\n this.isNoContent = true;\n } else {\n this.isNoContent = false;\n }\n }\n },\n //是否登录UI\n loginTip: function loginTip() {\n if (this.isLogingo) {\n this.paddingTop = 44;\n } else {\n this.paddingTop = 88;\n }\n },\n //友情提示\n tipLy: function tipLy() {\n vant__WEBPACK_IMPORTED_MODULE_9__[\"Dialog\"].alert({\n messageAlign: \"left\",\n title: '友情提醒',\n message: '<div class=\"remind-content\">\\n' + '1.国际运费补差情况<br>' + '(1)由于部分型号(如风扇、线缆、模块等)采购数量较多、体积较大或重量较重等原因出现超重情况时,视供应商不同可能需要客户补交超出部分的运费;<br>' + '(2)出现超重情况时,我们客服人员会第一时间与您取得联系,提醒您补交运费事项。<br><br>' + '2.关税、商检、3C费用<br>' + '(1)根据国家海关规定:集成电路(IC)类的进口免关税;<br>' + '(2)非集成电路类的元器件(如继电器、带通滤波器、衰减器、各类模块、线缆等)可能需要额外增收3%-12%的关税;<br>' + '(3)开关、保险丝、气体放电管等需要商检和3C认证费用;<br>' + '(4)如果您所提交的订单中包含需要缴纳关税或其他报关费用的型号,我们客服人员会第一时间与您取得联系,并告知补款相关事宜。<br><br>\\n' + '3.关于禁运型号<br>' + '(1)猎芯网严格遵守海外供应商的相关出口限制规定,但凡涉及出口限制/禁运的型号均不予下单采购,具体情况需根据供应商的出货情况而定;<br>' + '(2)有时可能会发生在发货前临时被告知属于出口限制/禁运范围,需要撤单退款的情况。由此而产生的损失,猎芯网将不承担责任。给您带来不便我们深表歉意,敬请谅解。<br><br>\\n' + '4.订单审核机制<br>' + '(1)由于货物可能存在的关税、禁运等情况,猎芯网设置订单审核机制。用户成功提交订单后,需要由猎芯网客服人员确认订单,没有问题后再进行付款。订单审核的具体状态可登陆会员中心查看,或者联系在线客服了解详情。<br><br>\\n' + '5.型号数据更新延迟问题<br>' + '(1)猎芯网部分数据来源于供应商,基本保证实时更新。但是由于供应商库存数据对全球开放或者供应商网站本身数据存在少量更新不及时的情况,您在采购时所看到的现货价格和库存数等信息有可能存在些许误差;<br>' + '(2)成功下单后,若订单状态更新为“已确认订单”,请尽快付款,以免价格和库存数量发生变动。如有特殊情况发生,我们客服人员会第一时间与您取得联系。<br><br>客服热线:0755-82560956<br>企业QQ:800158432\\n' + '</div>'\n }).then(function () {// on close\n });\n },\n //自营联营切换\n listTab: function listTab(type) {\n this.type = type;\n this.checkWatch();\n this.priceInit();\n this.isNOD();\n this.isEdit = false;\n\n if (type == 2 && this.zy1) {\n return;\n }\n\n if (type == 1) {\n if (this.delivery == 1 && this.ly1) {\n return;\n }\n\n if (this.delivery == 2 && this.ly2) {\n return;\n }\n }\n\n this.getData();\n },\n //获取数据\n getData: function getData() {\n this.$store.dispatch({\n type: 'cartList',\n delivery_place: this.delivery,\n order_goods_type: this.type\n });\n },\n //获取购物车数量\n getCarCount: function getCarCount() {\n this.$store.dispatch({\n type: 'allcount'\n });\n },\n //大陆香港切换\n deliveryTab: function deliveryTab(delivery) {\n this.delivery = delivery;\n this.checkWatch();\n this.priceInit();\n this.isNOD();\n this.isEdit = false;\n\n if (this.delivery == 1 && this.ly1) {\n return;\n }\n\n if (this.delivery == 2 && this.ly2) {\n return;\n }\n\n this.getData();\n },\n //阶梯价格处理\n priceRow: function priceRow(dataList, index, id) {\n var dom = document.getElementById(\"priceContent\" + id);\n var arrLength = dataList[index].tiered.length;\n\n if (dataList[index][\"priceCheck\"]) {\n console.log(1);\n dom.style.height = \"54px\";\n this.$set(dataList[index], \"priceCheck\", false);\n this.$set(dataList[index], \"checkBtn\", '更多梯度价格<i class=\"icon-bot\"></i>');\n } else {\n console.log(2);\n dom.style.height = 18 * arrLength + \"px\";\n dom.style.transition = \"height \".concat((arrLength - 3) * 0.125, \"s linear\");\n dom.style.webkitTransition = \"height \".concat((arrLength - 3) * 0.125, \"s linear\");\n this.$set(dataList[index], \"priceCheck\", true);\n this.$set(dataList[index], \"checkBtn\", '收起梯度价格<i class=\"icon-top\"></i>');\n }\n },\n //编辑\n isEditf: function isEditf() {\n this.isEdit = !this.isEdit;\n },\n //基础复选框\n checkWatch: function checkWatch() {\n var self = this;\n\n if (self.type == 1) {\n //联营\n var list_ = self.delivery == 1 ? this.ly1Data : this.ly2Data;\n self.isAll = true;\n\n for (var i = 0; i < list_.length; i++) {\n if (!list_[i].check) {\n self.isAll = false;\n }\n }\n } else {\n self.isAll = true; //自营\n\n var list_1 = this.zy1Data;\n self.zy1DataIsCheck = true;\n\n for (var i = 0; i < list_1.length; i++) {\n if (!list_1[i].check) {\n self.zy1DataIsCheck = false;\n self.isAll = false;\n }\n }\n\n var list_2 = this.zy2Data;\n self.zy2DataIsCheck = true;\n\n for (var j = 0; j < list_2.length; j++) {\n if (!list_2[j].check) {\n self.zy2DataIsCheck = false;\n self.isAll = false;\n }\n }\n }\n\n this.priceInit();\n },\n //期货现货复选框\n checkWatchZy: function checkWatchZy(tp) {\n var self = this;\n var list_1 = this.zy1Data;\n var list_2 = this.zy2Data;\n\n if (tp == 1) {\n //现货\n for (var i = 0; i < list_1.length; i++) {\n if (!self.zy1DataIsCheck) {\n list_1[i].check = true;\n } else {\n list_1[i].check = false;\n }\n }\n } else {\n //期货\n for (var i = 0; i < list_2.length; i++) {\n if (!self.zy2DataIsCheck) {\n list_2[i].check = true;\n } else {\n list_2[i].check = false;\n }\n }\n }\n\n this.priceInit();\n },\n //全选\n checkAll: function checkAll() {\n var self = this;\n\n if (self.type == 1) {\n //联营\n var list_ = self.delivery == 1 ? this.ly1Data : this.ly2Data;\n\n if (list_.length <= 0) {\n return;\n }\n\n for (var i = 0; i < list_.length; i++) {\n if (!self.isAll) {\n list_[i].check = true;\n } else {\n list_[i].check = false;\n }\n }\n } else {\n //自营\n var list_1 = this.zy1Data;\n var list_2 = this.zy2Data;\n\n if (!self.isAll) {\n self.zy1DataIsCheck = true;\n self.zy2DataIsCheck = true;\n\n for (var i = 0; i < list_1.length; i++) {\n list_1[i].check = true;\n }\n\n for (var i = 0; i < list_2.length; i++) {\n list_2[i].check = true;\n }\n } else {\n self.zy1DataIsCheck = false;\n self.zy2DataIsCheck = false;\n\n for (var i = 0; i < list_1.length; i++) {\n list_1[i].check = false;\n }\n\n for (var i = 0; i < list_2.length; i++) {\n list_2[i].check = false;\n }\n }\n }\n\n this.priceInit();\n },\n //渲染价格\n priceInit: function priceInit() {\n if (this.type == 1) {\n //联营\n var list_ = this.delivery == 1 ? this.ly1Data : this.ly2Data,\n num = 0,\n totalnum = 0;\n\n for (var i = 0; i < list_.length; i++) {\n if (list_[i].check) {\n num += Number(Number(list_[i].goods_amount_format.slice(1)).toFixed(4));\n totalnum++;\n }\n }\n\n this.totalNum = totalnum;\n this.totalMoney = (this.delivery == 1 ? \"¥\" : \"$\") + num.toFixed(4);\n } else {\n //自营\n var list_1 = this.zy1Data,\n list_2 = this.zy2Data,\n num = 0,\n totalnum = 0;\n\n for (var i = 0; i < list_1.length; i++) {\n if (list_1[i].check) {\n num += Number(Number(list_1[i].goods_amount_format.slice(1)).toFixed(4));\n totalnum++;\n }\n }\n\n for (var i = 0; i < list_2.length; i++) {\n if (list_2[i].check) {\n num += Number(Number(list_2[i].goods_amount_format.slice(1)).toFixed(4));\n totalnum++;\n }\n }\n\n this.totalNum = totalnum;\n this.totalMoney = \"¥\" + num.toFixed(4);\n }\n },\n //删除\n deleteGoods: function deleteGoods(arr, act) {\n var cart_id,\n self = this;\n var act = act ? 'faild' : 'normal';\n\n if (act == 'normal') {\n //删除\n if (arr == 0) {\n //多个删除逻辑\n var arrp = this.getIDs();\n cart_id = arrp.join(\",\");\n } else {\n //单个删除\n cart_id = arr;\n }\n\n if (cart_id == \"\") {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"请选中至少一个商品\",\n duration: 1500\n });\n return;\n }\n } else {\n //清除\n var arrp = [];\n\n if (self.type == 1) {\n var list_ = self.delivery == 1 ? this.ly1LoseData : this.ly2LoseData;\n\n for (var i = 0; i < list_.length; i++) {\n arrp.push(list_[i].cart_id);\n }\n } else {\n var list_ = this.zy1LoseData;\n\n for (var i = 0; i < list_.length; i++) {\n arrp.push(list_[i].cart_id);\n }\n }\n\n cart_id = arrp.join(\",\");\n\n if (cart_id == \"\") {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"当前没有要清除的商品\",\n duration: 1500\n });\n return;\n }\n }\n\n vant__WEBPACK_IMPORTED_MODULE_9__[\"Dialog\"].confirm({\n message: '您确定要' + (act ? '清除' : '删除') + '当前商品吗',\n cancelButtonText: '再看看'\n }).then(function () {\n self.$store.dispatch({\n type: 'cartDelete',\n cart_id: cart_id,\n act: act,\n types: self.type,\n delivery: self.delivery\n });\n }).catch(function () {});\n },\n //获取当前选中ID数组f\n getIDs: function getIDs() {\n var self = this;\n var arrp = [];\n\n if (this.type == 1) {\n var list_ = self.delivery == 1 ? this.ly1Data : this.ly2Data;\n\n for (var i = 0; i < list_.length; i++) {\n if (list_[i].check) {\n arrp.push(list_[i].cart_id);\n }\n }\n } else {\n //自营\n var list_1 = this.zy1Data,\n list_2 = this.zy2Data;\n\n if (list_1.length > 0) {\n for (var i = 0; i < list_1.length; i++) {\n if (list_1[i].check) {\n arrp.push(list_1[i].cart_id);\n }\n }\n }\n\n if (list_2.length > 0) {\n for (var l = 0; l < list_2.length; l++) {\n if (list_2[l].check) {\n arrp.push(list_2[l].cart_id);\n }\n }\n }\n }\n\n return arrp;\n },\n //结算提交\n goSubmit: function goSubmit() {\n var self = this;\n var arrp = self.getIDs();\n\n if (arrp.length == 0) {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"当前没有选中商品\",\n duration: 1500\n });\n return;\n }\n\n if (self.type == 2) {\n var arr1 = self.zy1Data,\n arr2 = self.zy2Data,\n arr3 = [];\n\n for (var i = 0; i < arrp.length; i++) {\n var indeval = arrp[i];\n\n for (var p = 0; p < arr1.length; p++) {\n if (indeval == arr1[p].cart_id) {\n arr3.push(arr1[p].sale_type);\n }\n }\n\n for (var j = 0; j < arr2.length; j++) {\n if (indeval == arr2[j].cart_id) {\n arr3.push(arr2[j].sale_type);\n }\n }\n }\n\n if (arr3.indexOf('1') != -1 && arr3.indexOf('2') != -1) {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"请分开结算期货订单和现货订单\",\n duration: 1500\n });\n return;\n }\n }\n\n var confirm_ = self.type == 2 ? window.location.origin + \"/v3/order/confirm?type=zy\" : window.location.origin + \"/v3/order/confirm?type=other\";\n window.sessionStorage.setItem(\"car_xk\", arrp.join(\",\"));\n self.$store.dispatch({\n type: 'confirmBehavior',\n url_: confirm_\n });\n },\n changeNumber: function changeNumber(number, mpq, min, stock, cart_id, type) {\n var self = this;\n var num = _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].aggxde(number),\n mpq = _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].aggxde(mpq),\n //包装数或者倍数\n min = _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].aggxde(min),\n //最小购买数量\n stock = _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].aggxde(stock),\n //最大购买数量\n summitNum = num;\n\n if (min > mpq) {\n if (min % mpq) {\n min = Math.ceil(min / mpq) * mpq;\n }\n } else {\n min = mpq;\n }\n\n if (stock % mpq) {\n stock = Math.floor(stock / mpq) * mpq;\n }\n\n if (type == 1) {\n //减小\n summitNum = summitNum - mpq;\n\n if (summitNum < min) {\n summitNum = min;\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"购买数量不能小于最小购买数量!\",\n duration: 1500\n });\n return;\n }\n } else if (type == 2) {\n //增加\n summitNum = summitNum + mpq;\n\n if (summitNum > stock && self.type == 1) {\n summitNum = stock;\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"购买数量不能大于最大购买数量!\",\n duration: 1500\n });\n return;\n }\n } else {\n //失去焦点改变\n var thisNum = Number(document.getElementById('test' + cart_id).value);\n summitNum = Math.ceil(thisNum / mpq) * mpq;\n document.getElementById('test' + cart_id).value = summitNum;\n\n if (summitNum < min) {\n summitNum = min;\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"购买数量不能小于最小购买数量!\",\n duration: 1500\n });\n document.getElementById('test' + cart_id).value = summitNum;\n return;\n }\n\n if (summitNum > stock && self.type == 1) {\n summitNum = stock;\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"购买数量不能大于最大购买数量!\",\n duration: 1500\n });\n document.getElementById('test' + cart_id).value = summitNum;\n return;\n }\n }\n\n this.$store.dispatch({\n type: 'changenum',\n cart_id: cart_id,\n num: summitNum,\n delivery_place: self.type == 1 ? self.delivery : \"\",\n types: type\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/car/car.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util */ \"./src/util/index.js\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Checkbox\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"car\",\n data: function data() {\n return {\n isCar: true,\n meaushow: true,\n bgcolor: \"#fff\",\n defaultBtn: '更多梯度价格<i class=\"icon-bot\"></i>',\n loginUrl: '/v3/login?referer=' + encodeURIComponent(window.location.href),\n //登录地址\n type: 1,\n //联营 1 //自营2\n delivery: 1,\n //大陆1 //香港2,\n paddingTop: 88,\n //控制登录提示条\n isEdit: false,\n //是否是编辑状态\n isLogingo: _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].isLogin() == 1 ? true : false,\n //强登录太\n zy1DataIsCheck: true,\n //现货全部选中状态\n zy2DataIsCheck: false,\n //期货全部选中状态\n isAll: true,\n //商品全部选中\n totalMoney: 0,\n //总金额\n totalNum: 0,\n //总数量\n isNoContent: false //没有数据展示\n\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_7__[\"mapState\"])({\n loading: function loading(state) {\n return state.car.loading;\n },\n loading1: function loading1(state) {\n return state.car.loading1;\n },\n ly1: function ly1(state) {\n return state.car.ly1;\n },\n ly2: function ly2(state) {\n return state.car.ly2;\n },\n zy1: function zy1(state) {\n return state.car.zy1;\n },\n ly1Data: function ly1Data(state) {\n return state.car.ly1Data;\n },\n ly2Data: function ly2Data(state) {\n return state.car.ly2Data;\n },\n zy1Data: function zy1Data(state) {\n return state.car.zy1Data;\n },\n zy2Data: function zy2Data(state) {\n return state.car.zy2Data;\n },\n ly1Length: function ly1Length(state) {\n return state.car.ly1Length;\n },\n ly2Length: function ly2Length(state) {\n return state.car.ly2Length;\n },\n zy1Length: function zy1Length(state) {\n return state.car.zy1Length;\n },\n ly1LoseData: function ly1LoseData(state) {\n return state.car.ly1LoseData;\n },\n ly2LoseData: function ly2LoseData(state) {\n return state.car.ly2LoseData;\n },\n zy1LoseData: function zy1LoseData(state) {\n return state.car.zy1LoseData;\n },\n totlaMState: function totlaMState(state) {\n return state.car.totlaMState;\n }\n })),\n created: function created() {\n this.loginTip();\n this.getCarCount();\n this.getData();\n this.priceInit();\n },\n watch: {\n totlaMState: function totlaMState(val) {\n if (val) {\n this.priceInit();\n }\n },\n loading1: function loading1(val) {\n this.isNoContent = false;\n\n if (!val) {\n this.priceInit();\n this.isNOD();\n }\n },\n isEdit: function isEdit(val) {\n var list_1 = this.ly1Data,\n list_2 = this.ly2Data,\n list_3 = this.zy1Data,\n list_4 = this.zy2Data;\n\n for (var i = 0; i < list_1.length; i++) {\n list_1[i].editState = val;\n }\n\n for (var i = 0; i < list_2.length; i++) {\n list_2[i].editState = val;\n }\n\n for (var i = 0; i < list_3.length; i++) {\n list_3[i].editState = val;\n }\n\n for (var i = 0; i < list_4.length; i++) {\n list_4[i].editState = val;\n }\n },\n ly1Data: function ly1Data(val) {\n this.priceInit();\n\n if (val.length == 0) {\n this.isNOD();\n }\n },\n ly2Data: function ly2Data(val) {\n this.priceInit();\n\n if (val.length == 0) {\n this.isNOD();\n }\n },\n zy1Data: function zy1Data(val) {\n this.priceInit();\n this.checkWatch();\n\n if (val.length == 0) {\n this.isNOD();\n }\n },\n zy2Data: function zy2Data(val) {\n this.priceInit();\n this.checkWatch();\n\n if (val.length == 0) {\n this.isNOD();\n }\n },\n ly1LoseData: function ly1LoseData(val) {\n if (val.length == 0) {\n this.isNOD();\n }\n },\n ly2LoseData: function ly2LoseData(val) {\n if (val.length == 0) {\n this.isNOD();\n }\n },\n zy1LoseData: function zy1LoseData(val) {\n if (val.length == 0) {\n this.isNOD();\n }\n }\n },\n methods: {\n isNOD: function isNOD() {\n //没数据展示\n if (this.type == 1) {\n //联营\n if (this.delivery == 1) {\n //大陆\n if (this.ly1Data.length == 0 && this.ly1LoseData.length == 0) {\n this.isNoContent = true;\n } else {\n this.isNoContent = false;\n }\n } else {\n //香港\n if (this.ly2Data.length == 0 && this.ly2LoseData.length == 0) {\n this.isNoContent = true;\n } else {\n this.isNoContent = false;\n }\n }\n } else {\n //自营\n if (this.zy1Data.length == 0 && this.zy2Data.length == 0 && this.zy1LoseData.length == 0) {\n this.isNoContent = true;\n } else {\n this.isNoContent = false;\n }\n }\n },\n //是否登录UI\n loginTip: function loginTip() {\n if (this.isLogingo) {\n this.paddingTop = 44;\n } else {\n this.paddingTop = 88;\n }\n },\n //友情提示\n tipLy: function tipLy() {\n vant__WEBPACK_IMPORTED_MODULE_9__[\"Dialog\"].alert({\n messageAlign: \"left\",\n title: '友情提醒',\n message: '<div class=\"remind-content\">\\n' + '1.国际运费补差情况<br>' + '(1)由于部分型号(如风扇、线缆、模块等)采购数量较多、体积较大或重量较重等原因出现超重情况时,视供应商不同可能需要客户补交超出部分的运费;<br>' + '(2)出现超重情况时,我们客服人员会第一时间与您取得联系,提醒您补交运费事项。<br><br>' + '2.关税、商检、3C费用<br>' + '(1)根据国家海关规定:集成电路(IC)类的进口免关税;<br>' + '(2)非集成电路类的元器件(如继电器、带通滤波器、衰减器、各类模块、线缆等)可能需要额外增收3%-12%的关税;<br>' + '(3)开关、保险丝、气体放电管等需要商检和3C认证费用;<br>' + '(4)如果您所提交的订单中包含需要缴纳关税或其他报关费用的型号,我们客服人员会第一时间与您取得联系,并告知补款相关事宜。<br><br>\\n' + '3.关于禁运型号<br>' + '(1)猎芯网严格遵守海外供应商的相关出口限制规定,但凡涉及出口限制/禁运的型号均不予下单采购,具体情况需根据供应商的出货情况而定;<br>' + '(2)有时可能会发生在发货前临时被告知属于出口限制/禁运范围,需要撤单退款的情况。由此而产生的损失,猎芯网将不承担责任。给您带来不便我们深表歉意,敬请谅解。<br><br>\\n' + '4.订单审核机制<br>' + '(1)由于货物可能存在的关税、禁运等情况,猎芯网设置订单审核机制。用户成功提交订单后,需要由猎芯网客服人员确认订单,没有问题后再进行付款。订单审核的具体状态可登陆会员中心查看,或者联系在线客服了解详情。<br><br>\\n' + '5.型号数据更新延迟问题<br>' + '(1)猎芯网部分数据来源于供应商,基本保证实时更新。但是由于供应商库存数据对全球开放或者供应商网站本身数据存在少量更新不及时的情况,您在采购时所看到的现货价格和库存数等信息有可能存在些许误差;<br>' + '(2)成功下单后,若订单状态更新为“已确认订单”,请尽快付款,以免价格和库存数量发生变动。如有特殊情况发生,我们客服人员会第一时间与您取得联系。<br><br>客服热线:0755-82560956<br>企业QQ:800158432\\n' + '</div>'\n }).then(function () {// on close\n });\n },\n //自营联营切换\n listTab: function listTab(type) {\n this.type = type;\n this.checkWatch();\n this.priceInit();\n this.isNOD();\n this.isEdit = false;\n\n if (type == 2 && this.zy1) {\n return;\n }\n\n if (type == 1) {\n if (this.delivery == 1 && this.ly1) {\n return;\n }\n\n if (this.delivery == 2 && this.ly2) {\n return;\n }\n }\n\n this.getData();\n },\n //获取数据\n getData: function getData() {\n this.$store.dispatch({\n type: 'cartList',\n delivery_place: this.delivery,\n order_goods_type: this.type\n });\n },\n //获取购物车数量\n getCarCount: function getCarCount() {\n this.$store.dispatch({\n type: 'allcount'\n });\n },\n //大陆香港切换\n deliveryTab: function deliveryTab(delivery) {\n this.delivery = delivery;\n this.checkWatch();\n this.priceInit();\n this.isNOD();\n this.isEdit = false;\n\n if (this.delivery == 1 && this.ly1) {\n return;\n }\n\n if (this.delivery == 2 && this.ly2) {\n return;\n }\n\n this.getData();\n },\n //阶梯价格处理\n priceRow: function priceRow(dataList, index, id) {\n var dom = document.getElementById(\"priceContent\" + id);\n var arrLength = dataList[index].tiered.length;\n\n if (dataList[index][\"priceCheck\"]) {\n console.log(1);\n dom.style.height = \"54px\";\n this.$set(dataList[index], \"priceCheck\", false);\n this.$set(dataList[index], \"checkBtn\", '更多梯度价格<i class=\"icon-bot\"></i>');\n } else {\n console.log(2);\n dom.style.height = 18 * arrLength + \"px\";\n dom.style.transition = \"height \".concat((arrLength - 3) * 0.125, \"s linear\");\n dom.style.webkitTransition = \"height \".concat((arrLength - 3) * 0.125, \"s linear\");\n this.$set(dataList[index], \"priceCheck\", true);\n this.$set(dataList[index], \"checkBtn\", '收起梯度价格<i class=\"icon-top\"></i>');\n }\n },\n //编辑\n isEditf: function isEditf() {\n this.isEdit = !this.isEdit;\n },\n //基础复选框\n checkWatch: function checkWatch() {\n var self = this;\n\n if (self.type == 1) {\n //联营\n var list_ = self.delivery == 1 ? this.ly1Data : this.ly2Data;\n self.isAll = true;\n\n for (var i = 0; i < list_.length; i++) {\n if (!list_[i].check) {\n self.isAll = false;\n }\n }\n } else {\n self.isAll = true; //自营\n\n var list_1 = this.zy1Data;\n self.zy1DataIsCheck = true;\n\n for (var i = 0; i < list_1.length; i++) {\n if (!list_1[i].check) {\n self.zy1DataIsCheck = false;\n self.isAll = false;\n }\n }\n\n var list_2 = this.zy2Data;\n self.zy2DataIsCheck = true;\n\n for (var j = 0; j < list_2.length; j++) {\n if (!list_2[j].check) {\n self.zy2DataIsCheck = false;\n self.isAll = false;\n }\n }\n }\n\n this.priceInit();\n },\n //期货现货复选框\n checkWatchZy: function checkWatchZy(tp) {\n var self = this;\n var list_1 = this.zy1Data;\n var list_2 = this.zy2Data;\n\n if (tp == 1) {\n //现货\n for (var i = 0; i < list_1.length; i++) {\n if (!self.zy1DataIsCheck) {\n list_1[i].check = true;\n } else {\n list_1[i].check = false;\n }\n }\n } else {\n //期货\n for (var i = 0; i < list_2.length; i++) {\n if (!self.zy2DataIsCheck) {\n list_2[i].check = true;\n } else {\n list_2[i].check = false;\n }\n }\n }\n\n this.priceInit();\n },\n //全选\n checkAll: function checkAll() {\n var self = this;\n\n if (self.type == 1) {\n //联营\n var list_ = self.delivery == 1 ? this.ly1Data : this.ly2Data;\n\n if (list_.length <= 0) {\n return;\n }\n\n for (var i = 0; i < list_.length; i++) {\n if (!self.isAll) {\n list_[i].check = true;\n } else {\n list_[i].check = false;\n }\n }\n } else {\n //自营\n var list_1 = this.zy1Data;\n var list_2 = this.zy2Data;\n\n if (!self.isAll) {\n self.zy1DataIsCheck = true;\n self.zy2DataIsCheck = true;\n\n for (var i = 0; i < list_1.length; i++) {\n list_1[i].check = true;\n }\n\n for (var i = 0; i < list_2.length; i++) {\n list_2[i].check = true;\n }\n } else {\n self.zy1DataIsCheck = false;\n self.zy2DataIsCheck = false;\n\n for (var i = 0; i < list_1.length; i++) {\n list_1[i].check = false;\n }\n\n for (var i = 0; i < list_2.length; i++) {\n list_2[i].check = false;\n }\n }\n }\n\n this.priceInit();\n },\n //渲染价格\n priceInit: function priceInit() {\n if (this.type == 1) {\n //联营\n var list_ = this.delivery == 1 ? this.ly1Data : this.ly2Data,\n num = 0,\n totalnum = 0;\n\n for (var i = 0; i < list_.length; i++) {\n if (list_[i].check) {\n num += Number(Number(list_[i].goods_amount_format.slice(1)).toFixed(4));\n totalnum++;\n }\n }\n\n this.totalNum = totalnum;\n this.totalMoney = (this.delivery == 1 ? \"¥\" : \"$\") + num.toFixed(4);\n } else {\n //自营\n var list_1 = this.zy1Data,\n list_2 = this.zy2Data,\n num = 0,\n totalnum = 0;\n\n for (var i = 0; i < list_1.length; i++) {\n if (list_1[i].check) {\n num += Number(Number(list_1[i].goods_amount_format.slice(1)).toFixed(4));\n totalnum++;\n }\n }\n\n for (var i = 0; i < list_2.length; i++) {\n if (list_2[i].check) {\n num += Number(Number(list_2[i].goods_amount_format.slice(1)).toFixed(4));\n totalnum++;\n }\n }\n\n this.totalNum = totalnum;\n this.totalMoney = \"¥\" + num.toFixed(4);\n }\n },\n //删除\n deleteGoods: function deleteGoods(arr, act) {\n var cart_id,\n self = this;\n var act = act ? 'faild' : 'normal';\n\n if (act == 'normal') {\n //删除\n if (arr == 0) {\n //多个删除逻辑\n var arrp = this.getIDs();\n cart_id = arrp.join(\",\");\n } else {\n //单个删除\n cart_id = arr;\n }\n\n if (cart_id == \"\") {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"请选中至少一个商品\",\n duration: 1500\n });\n return;\n }\n } else {\n //清除\n var arrp = [];\n\n if (self.type == 1) {\n var list_ = self.delivery == 1 ? this.ly1LoseData : this.ly2LoseData;\n\n for (var i = 0; i < list_.length; i++) {\n arrp.push(list_[i].cart_id);\n }\n } else {\n var list_ = this.zy1LoseData;\n\n for (var i = 0; i < list_.length; i++) {\n arrp.push(list_[i].cart_id);\n }\n }\n\n cart_id = arrp.join(\",\");\n\n if (cart_id == \"\") {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"当前没有要清除的商品\",\n duration: 1500\n });\n return;\n }\n }\n\n vant__WEBPACK_IMPORTED_MODULE_9__[\"Dialog\"].confirm({\n message: '您确定要' + (act ? '清除' : '删除') + '当前商品吗',\n cancelButtonText: '再看看'\n }).then(function () {\n self.$store.dispatch({\n type: 'cartDelete',\n cart_id: cart_id,\n act: act,\n types: self.type,\n delivery: self.delivery\n });\n }).catch(function () {});\n },\n //获取当前选中ID数组f\n getIDs: function getIDs() {\n var self = this;\n var arrp = [];\n\n if (this.type == 1) {\n var list_ = self.delivery == 1 ? this.ly1Data : this.ly2Data;\n\n for (var i = 0; i < list_.length; i++) {\n if (list_[i].check) {\n arrp.push(list_[i].cart_id);\n }\n }\n } else {\n //自营\n var list_1 = this.zy1Data,\n list_2 = this.zy2Data;\n\n if (list_1.length > 0) {\n for (var i = 0; i < list_1.length; i++) {\n if (list_1[i].check) {\n arrp.push(list_1[i].cart_id);\n }\n }\n }\n\n if (list_2.length > 0) {\n for (var l = 0; l < list_2.length; l++) {\n if (list_2[l].check) {\n arrp.push(list_2[l].cart_id);\n }\n }\n }\n }\n\n return arrp;\n },\n //结算提交\n goSubmit: function goSubmit() {\n var self = this;\n var arrp = self.getIDs();\n\n if (arrp.length == 0) {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"当前没有选中商品\",\n duration: 1500\n });\n return;\n }\n\n if (self.type == 2) {\n var arr1 = self.zy1Data,\n arr2 = self.zy2Data,\n arr3 = [];\n\n for (var i = 0; i < arrp.length; i++) {\n var indeval = arrp[i];\n\n for (var p = 0; p < arr1.length; p++) {\n if (indeval == arr1[p].cart_id) {\n arr3.push(arr1[p].sale_type);\n }\n }\n\n for (var j = 0; j < arr2.length; j++) {\n if (indeval == arr2[j].cart_id) {\n arr3.push(arr2[j].sale_type);\n }\n }\n }\n\n if (arr3.indexOf('1') != -1 && arr3.indexOf('2') != -1) {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"请分开结算期货订单和现货订单\",\n duration: 1500\n });\n return;\n }\n }\n\n var confirm_ = self.type == 2 ? window.location.origin + \"/v3/order/confirm?type=zy\" : window.location.origin + \"/v3/order/confirm?type=other\";\n window.sessionStorage.setItem(\"car_xk\", arrp.join(\",\"));\n self.$store.dispatch({\n type: 'confirmBehavior',\n url_: confirm_\n });\n },\n changeNumber: function changeNumber(number, mpq, min, stock, cart_id, type) {\n var self = this;\n var num = _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].aggxde(number),\n mpq = _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].aggxde(mpq),\n //包装数或者倍数\n min = _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].aggxde(min),\n //最小购买数量\n stock = _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].aggxde(stock),\n //最大购买数量\n summitNum = num;\n\n if (min > mpq) {\n if (min % mpq) {\n min = Math.ceil(min / mpq) * mpq;\n }\n } else {\n min = mpq;\n }\n\n if (stock % mpq) {\n stock = Math.floor(stock / mpq) * mpq;\n }\n\n if (type == 1) {\n //减小\n summitNum = summitNum - mpq;\n\n if (summitNum < min) {\n summitNum = min;\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"购买数量不能小于最小购买数量!\",\n duration: 1500\n });\n return;\n }\n } else if (type == 2) {\n //增加\n summitNum = summitNum + mpq;\n\n if (summitNum > stock && self.type == 1) {\n summitNum = stock;\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"购买数量不能大于最大购买数量!\",\n duration: 1500\n });\n return;\n }\n } else {\n //失去焦点改变\n var thisNum = Number(document.getElementById('test' + cart_id).value);\n summitNum = Math.ceil(thisNum / mpq) * mpq;\n document.getElementById('test' + cart_id).value = summitNum;\n\n if (summitNum < min) {\n summitNum = min;\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"购买数量不能小于最小购买数量!\",\n duration: 1500\n });\n document.getElementById('test' + cart_id).value = summitNum;\n return;\n }\n\n if (summitNum > stock && self.type == 1) {\n summitNum = stock;\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: \"购买数量不能大于最大购买数量!\",\n duration: 1500\n });\n document.getElementById('test' + cart_id).value = summitNum;\n return;\n }\n }\n\n this.$store.dispatch({\n type: 'changenum',\n cart_id: cart_id,\n num: summitNum,\n delivery_place: self.type == 1 ? self.delivery : \"\",\n types: type\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/car/car.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Lazyload\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'news',\n data: function data() {\n return {\n title: \"猎芯网-新闻列表\",\n p: 1,\n cat_id: '',\n bannerHeight: 180,\n meaushow: true,\n loading: false,\n limit: 10,\n act: 0,\n navListfixed: false\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n rollbanner: function rollbanner(state) {\n return state.news.rollbanner;\n },\n cat_list: function cat_list(state) {\n return state.news.cat_list;\n },\n content_list: function content_list(state) {\n return state.news.content_list;\n },\n loadStatus: function loadStatus(state) {\n return state.news.loadStatus;\n },\n finished: function finished(state) {\n return state.news.finished;\n },\n totalLimit: function totalLimit(state) {\n return state.news.totalLimit;\n }\n })),\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n created: function created() {\n this.getData();\n },\n mounted: function mounted() {\n this.scrollFns();\n },\n methods: {\n getData: function getData() {\n var catid = \"\";\n\n if (this.cat_id) {\n catid = this.cat_id;\n } else {\n if (this.cat_list.length > 0) {\n catid = this.cat_list[0].cat_id;\n }\n }\n\n this.$store.dispatch({\n type: 'newsArticle',\n cat_id: catid,\n p: this.p,\n limit: this.limit\n });\n },\n tab: function tab(index) {\n if (this.act == index) {\n return;\n }\n\n this.act = index;\n this.p = 1;\n this.cat_id = this.cat_list[index].cat_id;\n this.getData();\n },\n onLoad: function onLoad() {\n if (this.p < this.totalLimit) {\n this.p++;\n this.getData();\n }\n },\n scrollFns: function scrollFns() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.navListfixed = true;\n } else {\n self.navListfixed = false;\n }\n };\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/news/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Lazyload\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'news',\n data: function data() {\n return {\n title: \"猎芯网-新闻列表\",\n p: 1,\n cat_id: '',\n bannerHeight: 180,\n meaushow: true,\n loading: false,\n limit: 10,\n act: 0,\n navListfixed: false\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n rollbanner: function rollbanner(state) {\n return state.news.rollbanner;\n },\n cat_list: function cat_list(state) {\n return state.news.cat_list;\n },\n content_list: function content_list(state) {\n return state.news.content_list;\n },\n loadStatus: function loadStatus(state) {\n return state.news.loadStatus;\n },\n finished: function finished(state) {\n return state.news.finished;\n },\n totalLimit: function totalLimit(state) {\n return state.news.totalLimit;\n }\n })),\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n created: function created() {\n this.getData();\n },\n mounted: function mounted() {\n this.scrollFns();\n },\n methods: {\n getData: function getData() {\n var catid = \"\";\n\n if (this.cat_id) {\n catid = this.cat_id;\n } else {\n if (this.cat_list.length > 0) {\n catid = this.cat_list[0].cat_id;\n }\n }\n\n this.$store.dispatch({\n type: 'newsArticle',\n cat_id: catid,\n p: this.p,\n limit: this.limit\n });\n },\n tab: function tab(index) {\n if (this.act == index) {\n return;\n }\n\n this.act = index;\n this.p = 1;\n this.cat_id = this.cat_list[index].cat_id;\n this.getData();\n },\n onLoad: function onLoad() {\n if (this.p < this.totalLimit) {\n this.p++;\n this.getData();\n }\n },\n scrollFns: function scrollFns() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.navListfixed = true;\n } else {\n self.navListfixed = false;\n }\n };\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/news/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util */ \"./src/util/index.js\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'Pointmall',\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_7__[\"mapState\"])({\n loading: function loading(state) {\n return state.pointmall.loading;\n },\n userInfo: function userInfo(state) {\n return state.pointmall.userInfo;\n },\n getUserCurrentPoint: function getUserCurrentPoint(state) {\n return state.pointmall.getUserCurrentPoint;\n },\n isSignInToday: function isSignInToday(state) {\n return state.pointmall.isSignInToday;\n },\n isSignInTodayStateGo: function isSignInTodayStateGo(state) {\n return state.pointmall.isSignInTodayStateGo;\n },\n checkInfoState: function checkInfoState(state) {\n return state.pointmall.checkInfoState;\n },\n navlist: function navlist(state) {\n return state.pointmall.navlist;\n },\n listdata: function listdata(state) {\n return state.pointmall.listdata;\n }\n })),\n data: function data() {\n return {\n loginUrl: '/v3/login?referer=' + encodeURIComponent(window.location.href),\n //登录地址\n title: \"积分商城\",\n act: 0,\n addPointState: false,\n isLogingo: _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].isLogin() == 1 ? true : false,\n //强登录太\n isLogin: _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].isLogin() ? true : false //强弱登录太\n\n };\n },\n created: function created() {\n this.loginstate();\n },\n methods: {\n loginstate: function loginstate() {\n this.$store.dispatch({\n type: 'getPointPrize'\n });\n\n if (this.isLogin) {\n this.check();\n this.$store.dispatch({\n type: 'getUserCurrentPoint'\n });\n this.$store.dispatch({\n type: 'isSignInToday'\n });\n }\n },\n tab: function tab(index) {\n if (this.act == index) {\n return;\n }\n\n this.act = index;\n },\n check: function check() {\n this.$store.dispatch({\n type: 'loginCheckp'\n });\n },\n qiandao: function qiandao() {\n if (this.isSignInToday) {\n return;\n }\n\n if (this.isLogingo) {\n this.$store.dispatch({\n type: 'signIn'\n });\n } else {\n window.location.href = this.loginUrl;\n }\n },\n zhuanjifen: function zhuanjifen() {\n if (_util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].isLogin() == 1) {\n this.addPointState = true;\n this.$store.dispatch({\n type: 'checkMktScore'\n });\n } else {\n window.location.href = this.loginUrl;\n }\n },\n changePrize: function changePrize(prize_id, prize_point, prize_name) {\n var _this = this;\n\n if (this.isLogingo) {\n if (this.getUserCurrentPoint == 0) {\n Object(vant__WEBPACK_IMPORTED_MODULE_8__[\"Toast\"])({\n message: '当前没有积分噢',\n duration: 3000\n });\n return;\n }\n\n if (this.getUserCurrentPoint < Number(prize_point)) {\n vant__WEBPACK_IMPORTED_MODULE_8__[\"Dialog\"].confirm({\n title: '温馨提示',\n message: '您当前拥有' + this.getUserCurrentPoint + '积分,还差' + (Number(prize_point) - this.getUserCurrentPoint) + '积分可以兑换此奖品,立即去赚取积分吧',\n confirmButtonText: '赚取积分'\n }).then(function () {\n _this.zhuanjifen();\n }).catch(function () {// on cancel\n });\n return;\n }\n\n vant__WEBPACK_IMPORTED_MODULE_8__[\"Dialog\"].confirm({\n title: '温馨提示',\n message: '你确定要以' + prize_point + '积分兑换' + prize_name + '吗?'\n }).then(function () {\n _this.$store.dispatch({\n type: 'exchangePrize',\n point_prize_id: prize_id\n });\n }).catch(function () {// on cancel\n });\n } else {\n window.location.href = this.loginUrl;\n }\n }\n },\n watch: {\n isSignInTodayStateGo: function isSignInTodayStateGo(val) {\n if (val) {\n this.$store.dispatch({\n type: 'getUserCurrentPoint'\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util */ \"./src/util/index.js\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'Pointmall',\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_7__[\"mapState\"])({\n loading: function loading(state) {\n return state.pointmall.loading;\n },\n userInfo: function userInfo(state) {\n return state.pointmall.userInfo;\n },\n getUserCurrentPoint: function getUserCurrentPoint(state) {\n return state.pointmall.getUserCurrentPoint;\n },\n isSignInToday: function isSignInToday(state) {\n return state.pointmall.isSignInToday;\n },\n isSignInTodayStateGo: function isSignInTodayStateGo(state) {\n return state.pointmall.isSignInTodayStateGo;\n },\n checkInfoState: function checkInfoState(state) {\n return state.pointmall.checkInfoState;\n },\n navlist: function navlist(state) {\n return state.pointmall.navlist;\n },\n listdata: function listdata(state) {\n return state.pointmall.listdata;\n }\n })),\n data: function data() {\n return {\n loginUrl: '/v3/login?referer=' + encodeURIComponent(window.location.href),\n //登录地址\n title: \"积分商城\",\n act: 0,\n addPointState: false,\n isLogingo: _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].isLogin() == 1 ? true : false,\n //强登录太\n isLogin: _util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].isLogin() ? true : false //强弱登录太\n\n };\n },\n created: function created() {\n this.loginstate();\n },\n methods: {\n loginstate: function loginstate() {\n this.$store.dispatch({\n type: 'getPointPrize'\n });\n\n if (this.isLogin) {\n this.check();\n this.$store.dispatch({\n type: 'getUserCurrentPoint'\n });\n this.$store.dispatch({\n type: 'isSignInToday'\n });\n }\n },\n tab: function tab(index) {\n if (this.act == index) {\n return;\n }\n\n this.act = index;\n },\n check: function check() {\n this.$store.dispatch({\n type: 'loginCheckp'\n });\n },\n qiandao: function qiandao() {\n if (this.isSignInToday) {\n return;\n }\n\n if (this.isLogingo) {\n this.$store.dispatch({\n type: 'signIn'\n });\n } else {\n window.location.href = this.loginUrl;\n }\n },\n zhuanjifen: function zhuanjifen() {\n if (_util__WEBPACK_IMPORTED_MODULE_10__[\"default\"].isLogin() == 1) {\n this.addPointState = true;\n this.$store.dispatch({\n type: 'checkMktScore'\n });\n } else {\n window.location.href = this.loginUrl;\n }\n },\n changePrize: function changePrize(prize_id, prize_point, prize_name) {\n var _this = this;\n\n if (this.isLogingo) {\n if (this.getUserCurrentPoint == 0) {\n Object(vant__WEBPACK_IMPORTED_MODULE_8__[\"Toast\"])({\n message: '当前没有积分噢',\n duration: 3000\n });\n return;\n }\n\n if (this.getUserCurrentPoint < Number(prize_point)) {\n vant__WEBPACK_IMPORTED_MODULE_8__[\"Dialog\"].confirm({\n title: '温馨提示',\n message: '您当前拥有' + this.getUserCurrentPoint + '积分,还差' + (Number(prize_point) - this.getUserCurrentPoint) + '积分可以兑换此奖品,立即去赚取积分吧',\n confirmButtonText: '赚取积分'\n }).then(function () {\n _this.zhuanjifen();\n }).catch(function () {// on cancel\n });\n return;\n }\n\n vant__WEBPACK_IMPORTED_MODULE_8__[\"Dialog\"].confirm({\n title: '温馨提示',\n message: '你确定要以' + prize_point + '积分兑换' + prize_name + '吗?'\n }).then(function () {\n _this.$store.dispatch({\n type: 'exchangePrize',\n point_prize_id: prize_id\n });\n }).catch(function () {// on cancel\n });\n } else {\n window.location.href = this.loginUrl;\n }\n }\n },\n watch: {\n isSignInTodayStateGo: function isSignInTodayStateGo(val) {\n if (val) {\n this.$store.dispatch({\n type: 'getUserCurrentPoint'\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"exchange\",\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n },\n data: function data() {\n return {\n page: 1,\n loading: false,\n limit: 12,\n flow_type: 1,\n detaillists: [],\n prize_type: 1\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n navlist: function navlist(state) {\n return state.pointmall.navlist;\n },\n loadStatus: function loadStatus(state) {\n return state.exchange.loadStatus;\n },\n finished: function finished(state) {\n return state.exchange.finished;\n },\n totalLimit: function totalLimit(state) {\n return state.exchange.totalLimit;\n },\n detaillist: function detaillist(state) {\n return state.exchange.detaillist;\n }\n })),\n created: function created() {\n this.$store.dispatch({\n type: 'getPointPrize'\n });\n this.getData();\n },\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'getUserPointExchangeList',\n page: this.page,\n limit: this.limit,\n prize_type: this.prize_type\n });\n },\n tab: function tab(prize_type) {\n if (prize_type == this.prize_type) {\n return;\n }\n\n this.prize_type = prize_type;\n this.page = 1;\n var pointDom = this.$refs['pointContent'];\n\n if (!pointDom.scrollTo) {\n pointDom.scrollTop = 0;\n } else {\n pointDom.scrollTo(0, 0);\n }\n\n this.getData();\n },\n onLoad: function onLoad() {\n if (this.page < this.totalLimit) {\n this.page++;\n this.getData();\n }\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/exchange.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"exchange\",\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n },\n data: function data() {\n return {\n page: 1,\n loading: false,\n limit: 12,\n flow_type: 1,\n detaillists: [],\n prize_type: 1\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n navlist: function navlist(state) {\n return state.pointmall.navlist;\n },\n loadStatus: function loadStatus(state) {\n return state.exchange.loadStatus;\n },\n finished: function finished(state) {\n return state.exchange.finished;\n },\n totalLimit: function totalLimit(state) {\n return state.exchange.totalLimit;\n },\n detaillist: function detaillist(state) {\n return state.exchange.detaillist;\n }\n })),\n created: function created() {\n this.$store.dispatch({\n type: 'getPointPrize'\n });\n this.getData();\n },\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'getUserPointExchangeList',\n page: this.page,\n limit: this.limit,\n prize_type: this.prize_type\n });\n },\n tab: function tab(prize_type) {\n if (prize_type == this.prize_type) {\n return;\n }\n\n this.prize_type = prize_type;\n this.page = 1;\n var pointDom = this.$refs['pointContent'];\n\n if (!pointDom.scrollTo) {\n pointDom.scrollTop = 0;\n } else {\n pointDom.scrollTo(0, 0);\n }\n\n this.getData();\n },\n onLoad: function onLoad() {\n if (this.page < this.totalLimit) {\n this.page++;\n this.getData();\n }\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/exchange.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'pointdetail',\n data: function data() {\n return {\n finishedtext: \" \",\n page: 1,\n loading: false,\n limit: 12,\n flow_type: 1,\n detaillists: []\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n getUserCurrentPoint: function getUserCurrentPoint(state) {\n return state.pointdetail.getUserCurrentPoint;\n },\n loadStatus: function loadStatus(state) {\n return state.pointdetail.loadStatus;\n },\n finished: function finished(state) {\n return state.pointdetail.finished;\n },\n totalLimit: function totalLimit(state) {\n return state.pointdetail.totalLimit;\n },\n detaillist: function detaillist(state) {\n return state.pointdetail.detaillist;\n }\n })),\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getUserCurrentPointdetail'\n });\n this.getData();\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'getUserPointDetail',\n page: this.page,\n limit: this.limit,\n flow_type: this.flow_type\n });\n },\n tab: function tab(flow_type) {\n if (this.flow_type == flow_type) {\n return;\n }\n\n var pointDom = this.$refs['pointContent'];\n this.flow_type = flow_type;\n this.page = 1;\n\n if (!pointDom.scrollTo) {\n pointDom.scrollTop = 0;\n } else {\n pointDom.scrollTo(0, 0);\n }\n\n this.getData();\n },\n onLoad: function onLoad() {\n if (this.page < this.totalLimit) {\n this.page++;\n this.getData();\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/pointDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'pointdetail',\n data: function data() {\n return {\n finishedtext: \" \",\n page: 1,\n loading: false,\n limit: 12,\n flow_type: 1,\n detaillists: []\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n getUserCurrentPoint: function getUserCurrentPoint(state) {\n return state.pointdetail.getUserCurrentPoint;\n },\n loadStatus: function loadStatus(state) {\n return state.pointdetail.loadStatus;\n },\n finished: function finished(state) {\n return state.pointdetail.finished;\n },\n totalLimit: function totalLimit(state) {\n return state.pointdetail.totalLimit;\n },\n detaillist: function detaillist(state) {\n return state.pointdetail.detaillist;\n }\n })),\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getUserCurrentPointdetail'\n });\n this.getData();\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'getUserPointDetail',\n page: this.page,\n limit: this.limit,\n flow_type: this.flow_type\n });\n },\n tab: function tab(flow_type) {\n if (this.flow_type == flow_type) {\n return;\n }\n\n var pointDom = this.$refs['pointContent'];\n this.flow_type = flow_type;\n this.page = 1;\n\n if (!pointDom.scrollTo) {\n pointDom.scrollTop = 0;\n } else {\n pointDom.scrollTo(0, 0);\n }\n\n this.getData();\n },\n onLoad: function onLoad() {\n if (this.page < this.totalLimit) {\n this.page++;\n this.getData();\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/pointDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"pointchange\",\n data: function data() {\n return {\n prize_type: this.$route.query.prize_type,\n point_exchange_id: this.$route.query.point_exchange_id\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.pointchange.loading;\n },\n prize_info: function prize_info(state) {\n return state.pointchange.prize_info;\n },\n prize_types: function prize_types(state) {\n return state.pointchange.prize_types;\n },\n adressApiState: function adressApiState(state) {\n return state.pointchange.adressApiState;\n },\n address_info: function address_info(state) {\n return state.pointchange.address_info;\n }\n })),\n created: function created() {\n this.getPrizeInfo();\n },\n methods: {\n getPrizeInfo: function getPrizeInfo() {\n this.$store.dispatch({\n type: 'getUserPointExchangeDetail',\n point_exchange_id: this.$route.query.point_exchange_id\n });\n }\n },\n watch: {\n prize_types: function prize_types(val) {\n this.prize_type = val;\n },\n adressApiState: function adressApiState(val) {\n if (val) {\n this.$store.dispatch({\n type: 'recvlist'\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/pointchange.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"pointchange\",\n data: function data() {\n return {\n prize_type: this.$route.query.prize_type,\n point_exchange_id: this.$route.query.point_exchange_id\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.pointchange.loading;\n },\n prize_info: function prize_info(state) {\n return state.pointchange.prize_info;\n },\n prize_types: function prize_types(state) {\n return state.pointchange.prize_types;\n },\n adressApiState: function adressApiState(state) {\n return state.pointchange.adressApiState;\n },\n address_info: function address_info(state) {\n return state.pointchange.address_info;\n }\n })),\n created: function created() {\n this.getPrizeInfo();\n },\n methods: {\n getPrizeInfo: function getPrizeInfo() {\n this.$store.dispatch({\n type: 'getUserPointExchangeDetail',\n point_exchange_id: this.$route.query.point_exchange_id\n });\n }\n },\n watch: {\n prize_types: function prize_types(val) {\n this.prize_type = val;\n },\n adressApiState: function adressApiState(val) {\n if (val) {\n this.$store.dispatch({\n type: 'recvlist'\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/pointchange.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"pointrule\",\n data: function data() {\n return {};\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.pointrule.loading;\n },\n ruledata: function ruledata(state) {\n return state.pointrule.ruledata;\n }\n })),\n created: function created() {\n this.$store.dispatch({\n type: 'pointruleApi'\n });\n },\n methods: {},\n watch: {},\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/pointrule.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"pointrule\",\n data: function data() {\n return {};\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.pointrule.loading;\n },\n ruledata: function ruledata(state) {\n return state.pointrule.ruledata;\n }\n })),\n created: function created() {\n this.$store.dispatch({\n type: 'pointruleApi'\n });\n },\n methods: {},\n watch: {},\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/pointrule.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Lazyload\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"GoodsOne\",\n props: {\n dataList: {\n //数组数据\n type: Array,\n default: []\n },\n isZy: {\n //是否自营\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n hostName: window.location.origin,\n limitLength: 3,\n defaultBtn: '更多梯度价格<i class=\"icon-bot\"></i>'\n };\n },\n watch: {},\n mounted: function mounted() {},\n methods: {\n priceRow: function priceRow(index, id) {\n var dom = document.getElementById(\"priceContent\" + id);\n var arrLength = this.dataList[index].ladder_price.length;\n\n if (this.dataList[index][\"check\"]) {\n dom.style.height = \"57px\";\n this.$set(this.dataList[index], \"check\", false);\n this.$set(this.dataList[index], \"checkBtn\", '更多梯度价格<i class=\"icon-bot\"></i>');\n } else {\n dom.style.height = 19 * arrLength + \"px\";\n dom.style.transition = \"height \".concat((arrLength - 3) * 0.125, \"s linear\");\n dom.style.webkitTransition = \"height \".concat((arrLength - 3) * 0.125, \"s linear\");\n this.$set(this.dataList[index], \"check\", true);\n this.$set(this.dataList[index], \"checkBtn\", '收起梯度价格<i class=\"icon-top\"></i>');\n }\n },\n placeOrder: function placeOrder(id) {\n this.$emit(\"placeOrder\", id);\n },\n xunjia: function xunjia() {\n _util_bus_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].$emit(\"xunjia\");\n }\n },\n components: {}\n});\n\n//# sourceURL=webpack:///./src/views/common/GoodsOne.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Lazyload\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"GoodsOne\",\n props: {\n dataList: {\n //数组数据\n type: Array,\n default: []\n },\n isZy: {\n //是否自营\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n hostName: window.location.origin,\n limitLength: 3,\n defaultBtn: '更多梯度价格<i class=\"icon-bot\"></i>'\n };\n },\n watch: {},\n mounted: function mounted() {},\n methods: {\n priceRow: function priceRow(index, id) {\n var dom = document.getElementById(\"priceContent\" + id);\n var arrLength = this.dataList[index].ladder_price.length;\n\n if (this.dataList[index][\"check\"]) {\n dom.style.height = \"57px\";\n this.$set(this.dataList[index], \"check\", false);\n this.$set(this.dataList[index], \"checkBtn\", '更多梯度价格<i class=\"icon-bot\"></i>');\n } else {\n dom.style.height = 19 * arrLength + \"px\";\n dom.style.transition = \"height \".concat((arrLength - 3) * 0.125, \"s linear\");\n dom.style.webkitTransition = \"height \".concat((arrLength - 3) * 0.125, \"s linear\");\n this.$set(this.dataList[index], \"check\", true);\n this.$set(this.dataList[index], \"checkBtn\", '收起梯度价格<i class=\"icon-top\"></i>');\n }\n },\n placeOrder: function placeOrder(id) {\n this.$emit(\"placeOrder\", id);\n },\n xunjia: function xunjia() {\n _util_bus_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].$emit(\"xunjia\");\n }\n },\n components: {}\n});\n\n//# sourceURL=webpack:///./src/views/common/GoodsOne.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_ ...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_5__[\"mapState\"])({\n isShowAlert: function isShowAlert(state) {\n return state.gooddetail.isShowAlert;\n },\n tipText: function tipText(state) {\n return state.gooddetail.tipText;\n }\n })),\n methods: {\n closeAlert: function closeAlert() {\n this.$store.commit(\"closeAlert\");\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/addCarAlert.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_5__[\"mapState\"])({\n isShowAlert: function isShowAlert(state) {\n return state.gooddetail.isShowAlert;\n },\n tipText: function tipText(state) {\n return state.gooddetail.tipText;\n }\n })),\n methods: {\n closeAlert: function closeAlert() {\n this.$store.commit(\"closeAlert\");\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/addCarAlert.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -32,7 +32,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core ...@@ -32,7 +32,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n props: {\n detailsData: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n components: {\n zy: function zy(resolve) {\n __webpack_require__.e(/*! AMD require */ 39).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! @/views/common/zyDetail */ \"./src/views/common/zyDetail.vue\")]; (resolve).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}.bind(this)).catch(__webpack_require__.oe);\n },\n //懒加载\n ly: function ly(resolve) {\n __webpack_require__.e(/*! AMD require */ 38).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! @/views/common/lyDetail */ \"./src/views/common/lyDetail.vue\")]; (resolve).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}.bind(this)).catch(__webpack_require__.oe);\n } //懒加载\n\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_5__[\"mapState\"])({\n zygoodDetail: function zygoodDetail(state) {\n return state.gooddetail.zygoodDetail;\n },\n lygoodDetail: function lygoodDetail(state) {\n return state.gooddetail.lygoodDetail;\n }\n })),\n watch: {\n detailsData: {\n handler: function handler(newV, oldV) {\n if (newV.isShow) {\n document.body.style.overflow = \"hidden\";\n this.$store.dispatch({\n type: \"getDetailData\",\n data: {\n id: newV.id\n }\n });\n } else {\n document.body.style.overflow = \"auto\";\n }\n },\n deep: true\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/goodsDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n props: {\n detailsData: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n components: {\n zy: function zy(resolve) {\n __webpack_require__.e(/*! AMD require */ 39).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! @/views/common/zyDetail */ \"./src/views/common/zyDetail.vue\")]; (resolve).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}.bind(this)).catch(__webpack_require__.oe);\n },\n //懒加载\n ly: function ly(resolve) {\n __webpack_require__.e(/*! AMD require */ 38).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! @/views/common/lyDetail */ \"./src/views/common/lyDetail.vue\")]; (resolve).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}.bind(this)).catch(__webpack_require__.oe);\n } //懒加载\n\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_5__[\"mapState\"])({\n zygoodDetail: function zygoodDetail(state) {\n return state.gooddetail.zygoodDetail;\n },\n lygoodDetail: function lygoodDetail(state) {\n return state.gooddetail.lygoodDetail;\n }\n })),\n watch: {\n detailsData: {\n handler: function handler(newV, oldV) {\n if (newV.isShow) {\n document.body.style.overflow = \"hidden\";\n this.$store.dispatch({\n type: \"getDetailData\",\n data: {\n id: newV.id\n }\n });\n } else {\n document.body.style.overflow = \"auto\";\n }\n },\n deep: true\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/goodsDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Picker\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Popup\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Checkbox\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Dialog\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Switch\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"SwitchCell\"]);\nvar province = [];\nvar city = {};\nvar area = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'addressp',\n data: function data() {\n return {\n title: \"收货地址列表\",\n isEdit: false,\n historyb: true,\n //开启自定义回跳\n pointS: this.$route.query.points,\n //是否从积分过来\n iso: this.$route.query.fp,\n //是否开启新增\n address_id_p: this.$route.query.address_id,\n zytp: this.$route.query.zyType,\n //编辑\n tips: \"\",\n edOrAdd: false,\n edid: \"\",\n selectState: false,\n //区号选择\n selectVal: '0086',\n //默认区号\n consignee: \"\",\n mobile: \"\",\n detail_address: \"\",\n is_default: false,\n showPicker: false,\n columns: [],\n com_province: \"北京\",\n com_city: \"北京\",\n com_area: \"东城区\",\n xgsdz: \"\",\n com_province_id: 2,\n com_city_id: 52,\n com_area_id: 500\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.address.loading;\n },\n addressList: function addressList(state) {\n return state.address.addressList;\n },\n addressInfo: function addressInfo(state) {\n return state.address.addressInfo;\n },\n addressInfoState: function addressInfoState(state) {\n return state.address.addressInfoState;\n },\n areaList: function areaList(state) {\n return state.address.areaList;\n },\n addressAllInfo: function addressAllInfo(state) {\n return state.userInfo.addressInfo;\n }\n })),\n watch: {\n addressInfoState: function addressInfoState(val) {\n if (val) {\n this.consignee = this.addressInfo.consignee;\n this.mobile = this.addressInfo.mobile;\n this.detail_address = this.addressInfo.detail_address;\n this.is_default = this.addressInfo.is_default == 1 ? true : false;\n this.selectVal = this.addressInfo.intl_code;\n this.com_province = this.addressInfo.province_val;\n this.com_city = this.addressInfo.district_val;\n this.com_area = this.addressInfo.city_val;\n this.xgsdz = this.com_province + this.com_city + this.com_area;\n this.com_province_id = this.addressInfo.province;\n this.com_city_id = this.addressInfo.district;\n this.com_area_id = this.addressInfo.city;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'recvlistUser'\n });\n this.$store.dispatch({\n type: 'getOverseaMsgArea'\n });\n this.$store.dispatch({\n type: 'allAddressInfo'\n }); //是否从订单过来\n\n this.isOrder();\n },\n methods: {\n isOrder: function isOrder() {\n if (this.iso) {\n if (this.address_id_p) {\n //编辑\n this.editAdress(this.address_id_p, 1);\n } else {\n //新增\n this.addAssress();\n }\n }\n },\n editUi: function editUi() {\n if (this.isEdit) {\n this.title = \"收货地址列表\";\n this.isEdit = false;\n } else {\n this.title = \"编辑收货地址\";\n this.isEdit = true;\n }\n },\n toSomeThingGo: function toSomeThingGo() {\n if (this.isEdit) {\n this.editUi();\n } else {\n history.go(-1);\n }\n },\n addAssress: function addAssress() {\n if (this.addressList.length == 20) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: \"最多只能设置20个收货地址\",\n duration: 2000\n });\n return;\n }\n\n this.editUi();\n this.edOrAdd = false;\n this.consignee = \"\";\n this.mobile = \"\";\n this.detail_address = \"\";\n this.xgsdz = \"\";\n this.is_default = true;\n this.selectVal = \"0086\";\n this.com_province_id = 2;\n this.com_city_id = 52;\n this.com_area_id = 500;\n this.com_province = \"北京\";\n this.com_city = \"北京\";\n this.com_area = \"东城区\";\n },\n deleteAdress: function deleteAdress(id_) {\n var _this = this;\n\n vant__WEBPACK_IMPORTED_MODULE_7__[\"Dialog\"].confirm({\n message: '请确认是否要删除当前地址吗?'\n }).then(function () {\n _this.$store.dispatch({\n type: 'deleteAddress',\n address_id: id_\n });\n }).catch(function () {// on cancel\n });\n },\n editAdress: function editAdress(id_) {\n this.editUi();\n this.edOrAdd = true;\n this.edid = id_;\n this.$store.dispatch({\n type: 'infoAddress',\n address_id: id_\n });\n },\n sectUi: function sectUi(quVal) {\n this.selectState = false;\n this.selectVal = quVal;\n },\n setDefault: function setDefault(id_, is_default) {\n if (is_default == 1) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: \"当前地址已经是默认地址,请选择其他地址\",\n duration: 2000\n });\n } else {\n this.$store.dispatch({\n type: 'setdefault',\n address_id: id_\n });\n }\n },\n showp: function showp() {\n var _this2 = this;\n\n this.showPicker = !this.showPicker;\n var obj_ = this.addressAllInfo;\n\n for (var i = 0; i < obj_.length; i++) {\n province.push({\n value: obj_[i].value,\n text: obj_[i].text\n });\n city[obj_[i].text] = obj_[i].children;\n var list2 = obj_[i].children;\n\n for (var j = 0; j < list2.length; j++) {\n area[list2[j].text] = list2[j].children;\n }\n }\n\n console.log(this.com_province);\n console.log(this.com_city);\n this.columns = [{\n values: province,\n //可以是数组,或者对象数组\n className: 'column1' //选择器的第一列\n\n }, {\n values: city[this.com_province],\n //默认选中country对象中的第一项\n className: 'column2' //选择器的第二列\n\n }, {\n values: area[this.com_city],\n //默认选中country对象中的第一项\n className: 'column3' //选择器的第二列\n\n }];\n this.$nextTick(function () {\n _this2.$refs['test123'].setColumnValue(0, _this2.com_province);\n\n _this2.$refs['test123'].setColumnValue(1, _this2.com_city);\n\n _this2.$refs['test123'].setColumnValue(2, _this2.com_area);\n });\n },\n onConfirm: function onConfirm(value) {\n this.showPicker = false;\n this.com_province = value[0]['text'];\n this.com_city = value[1]['text'];\n this.com_area = value[2]['text'];\n this.xgsdz = this.com_province + this.com_city + this.com_area;\n this.com_province_id = value[0]['value'];\n this.com_city_id = value[1]['value'];\n this.com_area_id = value[2]['value'];\n console.log(this.com_province_id);\n console.log(this.com_city_id);\n console.log(this.com_area_id);\n },\n onChange: function onChange(picker, values) {\n this.columns = [{\n values: province,\n //可以是数组,或者对象数组\n className: 'column1' //选择器的第一列\n\n }, {\n values: city[values[0]['text']],\n //默认选中country对象中的第一项\n className: 'column2' //选择器的第二列\n\n }, {\n values: area[values[1]['text']],\n //默认选中country对象中的第一项\n className: 'column3' //选择器的第二列\n\n }];\n picker.setColumnValue(0, values[0]['text']);\n picker.setColumnValue(1, values[1]['text']);\n picker.setColumnValue(2, values[2]['text']);\n },\n pointFunc: function pointFunc() {\n var list_ = this.addressList;\n var adderss_id_ = \"\";\n\n for (var i = 0; i < list_.length; i++) {\n if (list_[i].is_default == 1) {\n adderss_id_ = list_[i].address_id;\n }\n }\n\n if (!adderss_id_) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: \"请选择一个地址\",\n duration: 2000\n });\n }\n\n this.$store.dispatch({\n type: 'changeReceivePrizeAddress',\n point_exchange_id: this.pointS,\n address_id: adderss_id_\n });\n },\n submitGo: function submitGo() {\n if (this.consignee) {\n this.tips = \"\";\n } else {\n this.tips = \"请输入收货人\";\n return;\n }\n\n if (!this.mobile) {\n this.tips = \"请输入手机号\";\n return;\n } else {\n if (this.mobile.length < 5 || this.mobile.length > 11) {\n this.tips = \"手机号格式不正确\";\n return;\n } else {\n var r = /^[+]?\\d*$/;\n\n if (r.test(this.mobile)) {\n this.tips = \"\";\n } else {\n this.tips = \"手机号格式不正确\";\n return;\n }\n }\n }\n\n if (!this.com_province_id && !this.com_city_id) {\n this.tips = \"请选择省市区\";\n return;\n } else {\n this.tips = \"\";\n }\n\n if (this.detail_address) {\n this.tips = \"\";\n } else {\n this.tips = \"请输入详细收货地址\";\n return;\n }\n\n var idt_ = this.edid;\n\n if (this.iso && this.address_id_p) {\n idt_ = this.address_id_p;\n }\n\n if (this.edOrAdd) {\n //编辑\n this.$store.dispatch({\n type: 'updateAddress',\n consignee: this.consignee,\n province: this.com_province_id,\n city: this.com_city_id,\n district: this.com_area_id,\n detail_address: this.detail_address,\n address_type: 0,\n is_default: this.is_default ? '1' : 0,\n mobile: this.mobile,\n intl_code: this.selectVal,\n address_id: idt_,\n orderpg: this.iso ? true : false\n });\n } else {\n //新增\n this.$store.dispatch({\n type: 'createAddress',\n consignee: this.consignee,\n province: this.com_province_id,\n city: this.com_city_id,\n district: this.com_area_id,\n detail_address: this.detail_address,\n address_type: 0,\n is_default: this.is_default ? '1' : 0,\n mobile: this.mobile,\n intl_code: this.selectVal,\n orderpg: this.iso ? true : false\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/address.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Picker\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Popup\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Checkbox\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Dialog\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Switch\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"SwitchCell\"]);\nvar province = [];\nvar city = {};\nvar area = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'addressp',\n data: function data() {\n return {\n title: \"收货地址列表\",\n isEdit: false,\n historyb: true,\n //开启自定义回跳\n pointS: this.$route.query.points,\n //是否从积分过来\n iso: this.$route.query.fp,\n //是否开启新增\n address_id_p: this.$route.query.address_id,\n zytp: this.$route.query.zyType,\n //编辑\n tips: \"\",\n edOrAdd: false,\n edid: \"\",\n selectState: false,\n //区号选择\n selectVal: '0086',\n //默认区号\n consignee: \"\",\n mobile: \"\",\n detail_address: \"\",\n is_default: false,\n showPicker: false,\n columns: [],\n com_province: \"北京\",\n com_city: \"北京\",\n com_area: \"东城区\",\n xgsdz: \"\",\n com_province_id: 2,\n com_city_id: 52,\n com_area_id: 500\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.address.loading;\n },\n addressList: function addressList(state) {\n return state.address.addressList;\n },\n addressInfo: function addressInfo(state) {\n return state.address.addressInfo;\n },\n addressInfoState: function addressInfoState(state) {\n return state.address.addressInfoState;\n },\n areaList: function areaList(state) {\n return state.address.areaList;\n },\n addressAllInfo: function addressAllInfo(state) {\n return state.userInfo.addressInfo;\n }\n })),\n watch: {\n addressInfoState: function addressInfoState(val) {\n if (val) {\n this.consignee = this.addressInfo.consignee;\n this.mobile = this.addressInfo.mobile;\n this.detail_address = this.addressInfo.detail_address;\n this.is_default = this.addressInfo.is_default == 1 ? true : false;\n this.selectVal = this.addressInfo.intl_code;\n this.com_province = this.addressInfo.province_val;\n this.com_city = this.addressInfo.district_val;\n this.com_area = this.addressInfo.city_val;\n this.xgsdz = this.com_province + this.com_city + this.com_area;\n this.com_province_id = this.addressInfo.province;\n this.com_city_id = this.addressInfo.district;\n this.com_area_id = this.addressInfo.city;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'recvlistUser'\n });\n this.$store.dispatch({\n type: 'getOverseaMsgArea'\n });\n this.$store.dispatch({\n type: 'allAddressInfo'\n }); //是否从订单过来\n\n this.isOrder();\n },\n methods: {\n isOrder: function isOrder() {\n if (this.iso) {\n if (this.address_id_p) {\n //编辑\n this.editAdress(this.address_id_p, 1);\n } else {\n //新增\n this.addAssress();\n }\n }\n },\n editUi: function editUi() {\n if (this.isEdit) {\n this.title = \"收货地址列表\";\n this.isEdit = false;\n } else {\n this.title = \"编辑收货地址\";\n this.isEdit = true;\n }\n },\n toSomeThingGo: function toSomeThingGo() {\n if (this.isEdit) {\n this.editUi();\n } else {\n history.go(-1);\n }\n },\n addAssress: function addAssress() {\n if (this.addressList.length == 20) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: \"最多只能设置20个收货地址\",\n duration: 2000\n });\n return;\n }\n\n this.editUi();\n this.edOrAdd = false;\n this.consignee = \"\";\n this.mobile = \"\";\n this.detail_address = \"\";\n this.xgsdz = \"\";\n this.is_default = true;\n this.selectVal = \"0086\";\n this.com_province_id = 2;\n this.com_city_id = 52;\n this.com_area_id = 500;\n this.com_province = \"北京\";\n this.com_city = \"北京\";\n this.com_area = \"东城区\";\n },\n deleteAdress: function deleteAdress(id_) {\n var _this = this;\n\n vant__WEBPACK_IMPORTED_MODULE_7__[\"Dialog\"].confirm({\n message: '请确认是否要删除当前地址吗?'\n }).then(function () {\n _this.$store.dispatch({\n type: 'deleteAddress',\n address_id: id_\n });\n }).catch(function () {// on cancel\n });\n },\n editAdress: function editAdress(id_) {\n this.editUi();\n this.edOrAdd = true;\n this.edid = id_;\n this.$store.dispatch({\n type: 'infoAddress',\n address_id: id_\n });\n },\n sectUi: function sectUi(quVal) {\n this.selectState = false;\n this.selectVal = quVal;\n },\n setDefault: function setDefault(id_, is_default) {\n if (is_default == 1) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: \"当前地址已经是默认地址,请选择其他地址\",\n duration: 2000\n });\n } else {\n this.$store.dispatch({\n type: 'setdefault',\n address_id: id_\n });\n }\n },\n showp: function showp() {\n var _this2 = this;\n\n this.showPicker = !this.showPicker;\n var obj_ = this.addressAllInfo;\n\n for (var i = 0; i < obj_.length; i++) {\n province.push({\n value: obj_[i].value,\n text: obj_[i].text\n });\n city[obj_[i].text] = obj_[i].children;\n var list2 = obj_[i].children;\n\n for (var j = 0; j < list2.length; j++) {\n area[list2[j].text] = list2[j].children;\n }\n }\n\n console.log(this.com_province);\n console.log(this.com_city);\n this.columns = [{\n values: province,\n //可以是数组,或者对象数组\n className: 'column1' //选择器的第一列\n\n }, {\n values: city[this.com_province],\n //默认选中country对象中的第一项\n className: 'column2' //选择器的第二列\n\n }, {\n values: area[this.com_city],\n //默认选中country对象中的第一项\n className: 'column3' //选择器的第二列\n\n }];\n this.$nextTick(function () {\n _this2.$refs['test123'].setColumnValue(0, _this2.com_province);\n\n _this2.$refs['test123'].setColumnValue(1, _this2.com_city);\n\n _this2.$refs['test123'].setColumnValue(2, _this2.com_area);\n });\n },\n onConfirm: function onConfirm(value) {\n this.showPicker = false;\n this.com_province = value[0]['text'];\n this.com_city = value[1]['text'];\n this.com_area = value[2]['text'];\n this.xgsdz = this.com_province + this.com_city + this.com_area;\n this.com_province_id = value[0]['value'];\n this.com_city_id = value[1]['value'];\n this.com_area_id = value[2]['value'];\n console.log(this.com_province_id);\n console.log(this.com_city_id);\n console.log(this.com_area_id);\n },\n onChange: function onChange(picker, values) {\n this.columns = [{\n values: province,\n //可以是数组,或者对象数组\n className: 'column1' //选择器的第一列\n\n }, {\n values: city[values[0]['text']],\n //默认选中country对象中的第一项\n className: 'column2' //选择器的第二列\n\n }, {\n values: area[values[1]['text']],\n //默认选中country对象中的第一项\n className: 'column3' //选择器的第二列\n\n }];\n picker.setColumnValue(0, values[0]['text']);\n picker.setColumnValue(1, values[1]['text']);\n picker.setColumnValue(2, values[2]['text']);\n },\n pointFunc: function pointFunc() {\n var list_ = this.addressList;\n var adderss_id_ = \"\";\n\n for (var i = 0; i < list_.length; i++) {\n if (list_[i].is_default == 1) {\n adderss_id_ = list_[i].address_id;\n }\n }\n\n if (!adderss_id_) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: \"请选择一个地址\",\n duration: 2000\n });\n }\n\n this.$store.dispatch({\n type: 'changeReceivePrizeAddress',\n point_exchange_id: this.pointS,\n address_id: adderss_id_\n });\n },\n submitGo: function submitGo() {\n if (this.consignee) {\n this.tips = \"\";\n } else {\n this.tips = \"请输入收货人\";\n return;\n }\n\n if (!this.mobile) {\n this.tips = \"请输入手机号\";\n return;\n } else {\n if (this.mobile.length < 5 || this.mobile.length > 11) {\n this.tips = \"手机号格式不正确\";\n return;\n } else {\n var r = /^[+]?\\d*$/;\n\n if (r.test(this.mobile)) {\n this.tips = \"\";\n } else {\n this.tips = \"手机号格式不正确\";\n return;\n }\n }\n }\n\n if (!this.com_province_id && !this.com_city_id) {\n this.tips = \"请选择省市区\";\n return;\n } else {\n this.tips = \"\";\n }\n\n if (this.detail_address) {\n this.tips = \"\";\n } else {\n this.tips = \"请输入详细收货地址\";\n return;\n }\n\n var idt_ = this.edid;\n\n if (this.iso && this.address_id_p) {\n idt_ = this.address_id_p;\n }\n\n if (this.edOrAdd) {\n //编辑\n this.$store.dispatch({\n type: 'updateAddress',\n consignee: this.consignee,\n province: this.com_province_id,\n city: this.com_city_id,\n district: this.com_area_id,\n detail_address: this.detail_address,\n address_type: 0,\n is_default: this.is_default ? '1' : 0,\n mobile: this.mobile,\n intl_code: this.selectVal,\n address_id: idt_,\n orderpg: this.iso ? true : false\n });\n } else {\n //新增\n this.$store.dispatch({\n type: 'createAddress',\n consignee: this.consignee,\n province: this.com_province_id,\n city: this.com_city_id,\n district: this.com_area_id,\n detail_address: this.detail_address,\n address_type: 0,\n is_default: this.is_default ? '1' : 0,\n mobile: this.mobile,\n intl_code: this.selectVal,\n orderpg: this.iso ? true : false\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/address.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tab\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tabs\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'coupon',\n data: function data() {\n return {\n title: \"优惠劵\",\n active: 0,\n status: -1\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.coupon.loading;\n },\n lists: function lists(state) {\n return state.coupon.lists;\n },\n counts: function counts(state) {\n return state.coupon.counts;\n }\n })),\n watch: {},\n created: function created() {\n this.getData();\n this.$store.dispatch({\n type: 'ucouponCount'\n });\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'ucouponLists',\n status: this.status\n });\n },\n tabs: function tabs(index) {\n if (index == 0) {\n this.status = -1;\n } else if (index == 1) {\n this.status = 1;\n } else if (index == 2) {\n this.status = -2;\n }\n\n this.getData();\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/coupon.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tab\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tabs\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'coupon',\n data: function data() {\n return {\n title: \"优惠劵\",\n active: 0,\n status: -1\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.coupon.loading;\n },\n lists: function lists(state) {\n return state.coupon.lists;\n },\n counts: function counts(state) {\n return state.coupon.counts;\n }\n })),\n watch: {},\n created: function created() {\n this.getData();\n this.$store.dispatch({\n type: 'ucouponCount'\n });\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'ucouponLists',\n status: this.status\n });\n },\n tabs: function tabs(index) {\n if (index == 0) {\n this.status = -1;\n } else if (index == 1) {\n this.status = 1;\n } else if (index == 2) {\n this.status = -2;\n }\n\n this.getData();\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/coupon.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.function.name */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.function.name.js\");\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"ActionSheet\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Picker\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Popup\"]);\nvar province = [];\nvar city = {};\nvar area = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'userInfo',\n data: function data() {\n return {\n title: \"基本信息\",\n isEdit: false,\n historyb: true,\n //开启自定义回跳\n actions: [{\n name: \"男\",\n value: 1\n }, {\n name: \"女\",\n value: 2\n }],\n showPicker: false,\n columns: [],\n actShow: false,\n actShow1: false,\n actions1: [{\n value: 3,\n name: '授权分销商'\n }, {\n value: 1,\n name: '终端采购商'\n }, {\n value: 2,\n name: '原厂制造商'\n }, {\n value: 4,\n name: '学校、科研机构'\n }, {\n value: 5,\n name: '贸易商'\n }, {\n value: 0,\n name: '个体经营者'\n }, {\n value: 0,\n name: '其他'\n }],\n xlxr: \"\",\n xxb: \"\",\n xxbVal: \"\",\n xsj: \"\",\n xyx: \"\",\n xgsmc: \"\",\n xgslx: \"\",\n xgslxVal: \"\",\n xgszj: \"\",\n xgsjj: \"\",\n xgsdz: \"\",\n com_province: \"\",\n com_city: \"\",\n com_area: \"\",\n com_province_id: \"\",\n com_city_id: \"\",\n com_area_id: \"\",\n xxxdz: \"\"\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_7__[\"mapState\"])({\n loading: function loading(state) {\n return state.userInfo.loading;\n },\n userInfo: function userInfo(state) {\n return state.userInfo.userInfo;\n },\n addressInfo: function addressInfo(state) {\n return state.userInfo.addressInfo;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'getUserType2'\n });\n this.$store.dispatch({\n type: 'allAddressInfo'\n });\n },\n methods: {\n editUi: function editUi() {\n if (this.isEdit) {\n this.title = \"基本信息\";\n this.isEdit = false;\n } else {\n this.title = \"基本信息编辑\";\n this.isEdit = true;\n this.xlxr = this.userInfo.user_info.nike_name;\n this.xxb = this.userInfo.user_info.sex == 2 ? '女' : '男';\n this.xxbVal = this.userInfo.user_info.sex;\n this.xsj = this.userInfo.user_info.mobile;\n this.xyx = this.userInfo.user_info.email;\n this.xgsmc = this.userInfo.company_info.com_name;\n this.xgslx = this.userInfo.company_info.type_name;\n this.xgszj = this.userInfo.company_info.com_telphone;\n this.xgsjj = this.userInfo.company_info.com_desc;\n this.com_province = this.userInfo.company_info.province_name || \"北京\";\n this.com_city = this.userInfo.company_info.city_name || \"北京\";\n this.com_area = this.userInfo.company_info.area_name || \"东城区\";\n\n if (this.userInfo.company_info.province_name && this.userInfo.company_info.city_name) {\n this.xgsdz = this.userInfo.company_info.province_name + this.userInfo.company_info.city_name + this.userInfo.company_info.area_name;\n } else {\n this.xgsdz = \"\";\n }\n\n this.com_province_id = this.userInfo.company_info.com_province_id;\n this.com_city_id = this.userInfo.company_info.com_city_id;\n this.com_area_id = this.userInfo.company_info.com_area_id;\n this.xxxdz = this.userInfo.company_info.com_address;\n }\n },\n toSomeThingGo: function toSomeThingGo() {\n if (this.isEdit) {\n this.editUi();\n } else {\n history.go(-1);\n }\n },\n onSelect: function onSelect(item) {\n // 点击选项时默认不会关闭菜单,可以手动关闭\n this.actShow = false;\n this.xxb = item.name;\n this.xxbVal = item.value;\n },\n onSelect1: function onSelect1(item) {\n this.actShow1 = false;\n this.xgslx = item.name;\n this.xgslxVal = item.value;\n },\n showp: function showp() {\n var _this = this;\n\n this.showPicker = !this.showPicker;\n var obj_ = this.addressInfo;\n\n for (var i = 0; i < obj_.length; i++) {\n province.push({\n value: obj_[i].value,\n text: obj_[i].text\n });\n city[obj_[i].text] = obj_[i].children;\n var list2 = obj_[i].children;\n\n for (var j = 0; j < list2.length; j++) {\n area[list2[j].text] = list2[j].children;\n }\n }\n\n this.columns = [{\n values: province,\n //可以是数组,或者对象数组\n className: 'column1' //选择器的第一列\n\n }, {\n values: city[this.com_province],\n //默认选中country对象中的第一项\n className: 'column2' //选择器的第二列\n\n }, {\n values: area[this.com_city],\n //默认选中country对象中的第一项\n className: 'column3' //选择器的第二列\n\n }];\n this.$nextTick(function () {\n _this.$refs['test123'].setColumnValue(0, _this.com_province);\n\n _this.$refs['test123'].setColumnValue(1, _this.com_city);\n\n _this.$refs['test123'].setColumnValue(2, _this.com_area);\n });\n },\n onConfirm: function onConfirm(value) {\n this.showPicker = false;\n this.com_province = value[0]['text'];\n this.com_city = value[1]['text'];\n this.com_area = value[2]['text'];\n this.xgsdz = this.com_province + this.com_city + this.com_area;\n this.com_province_id = value[0]['value'];\n this.com_city_id = value[1]['value'];\n this.com_area_id = value[2]['value'];\n console.log(value);\n },\n onChange: function onChange(picker, values) {\n this.columns = [{\n values: province,\n //可以是数组,或者对象数组\n className: 'column1' //选择器的第一列\n\n }, {\n values: city[values[0]['text']],\n //默认选中country对象中的第一项\n className: 'column2' //选择器的第二列\n\n }, {\n values: area[values[1]['text']],\n //默认选中country对象中的第一项\n className: 'column3' //选择器的第二列\n\n }];\n picker.setColumnValue(0, values[0]['text']);\n picker.setColumnValue(1, values[1]['text']);\n picker.setColumnValue(2, values[2]['text']);\n },\n submitG: function submitG() {\n this.$store.dispatch({\n type: 'changeUserInfo',\n nike_name: this.xlxr,\n com_name: this.xgsmc,\n type_id: this.xgslxVal,\n sex: this.xxbVal,\n com_telphone: this.xgszj,\n com_desc: this.xgsjj,\n com_province_id: this.com_province_id,\n com_city_id: this.com_city_id,\n com_area_id: this.com_area_id,\n com_address: this.xxxdz,\n com_mobile: this.xsj,\n urlback: this.$route.query.orderPage || \"\"\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/userInfo.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.function.name */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.function.name.js\");\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"ActionSheet\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Picker\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Popup\"]);\nvar province = [];\nvar city = {};\nvar area = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'userInfo',\n data: function data() {\n return {\n title: \"基本信息\",\n isEdit: false,\n historyb: true,\n //开启自定义回跳\n actions: [{\n name: \"男\",\n value: 1\n }, {\n name: \"女\",\n value: 2\n }],\n showPicker: false,\n columns: [],\n actShow: false,\n actShow1: false,\n actions1: [{\n value: 3,\n name: '授权分销商'\n }, {\n value: 1,\n name: '终端采购商'\n }, {\n value: 2,\n name: '原厂制造商'\n }, {\n value: 4,\n name: '学校、科研机构'\n }, {\n value: 5,\n name: '贸易商'\n }, {\n value: 0,\n name: '个体经营者'\n }, {\n value: 0,\n name: '其他'\n }],\n xlxr: \"\",\n xxb: \"\",\n xxbVal: \"\",\n xsj: \"\",\n xyx: \"\",\n xgsmc: \"\",\n xgslx: \"\",\n xgslxVal: \"\",\n xgszj: \"\",\n xgsjj: \"\",\n xgsdz: \"\",\n com_province: \"\",\n com_city: \"\",\n com_area: \"\",\n com_province_id: \"\",\n com_city_id: \"\",\n com_area_id: \"\",\n xxxdz: \"\"\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_7__[\"mapState\"])({\n loading: function loading(state) {\n return state.userInfo.loading;\n },\n userInfo: function userInfo(state) {\n return state.userInfo.userInfo;\n },\n addressInfo: function addressInfo(state) {\n return state.userInfo.addressInfo;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'getUserType2'\n });\n this.$store.dispatch({\n type: 'allAddressInfo'\n });\n },\n methods: {\n editUi: function editUi() {\n if (this.isEdit) {\n this.title = \"基本信息\";\n this.isEdit = false;\n } else {\n this.title = \"基本信息编辑\";\n this.isEdit = true;\n this.xlxr = this.userInfo.user_info.nike_name;\n this.xxb = this.userInfo.user_info.sex == 2 ? '女' : '男';\n this.xxbVal = this.userInfo.user_info.sex;\n this.xsj = this.userInfo.user_info.mobile;\n this.xyx = this.userInfo.user_info.email;\n this.xgsmc = this.userInfo.company_info.com_name;\n this.xgslx = this.userInfo.company_info.type_name;\n this.xgszj = this.userInfo.company_info.com_telphone;\n this.xgsjj = this.userInfo.company_info.com_desc;\n this.com_province = this.userInfo.company_info.province_name || \"北京\";\n this.com_city = this.userInfo.company_info.city_name || \"北京\";\n this.com_area = this.userInfo.company_info.area_name || \"东城区\";\n\n if (this.userInfo.company_info.province_name && this.userInfo.company_info.city_name) {\n this.xgsdz = this.userInfo.company_info.province_name + this.userInfo.company_info.city_name + this.userInfo.company_info.area_name;\n } else {\n this.xgsdz = \"\";\n }\n\n this.com_province_id = this.userInfo.company_info.com_province_id;\n this.com_city_id = this.userInfo.company_info.com_city_id;\n this.com_area_id = this.userInfo.company_info.com_area_id;\n this.xxxdz = this.userInfo.company_info.com_address;\n }\n },\n toSomeThingGo: function toSomeThingGo() {\n if (this.isEdit) {\n this.editUi();\n } else {\n history.go(-1);\n }\n },\n onSelect: function onSelect(item) {\n // 点击选项时默认不会关闭菜单,可以手动关闭\n this.actShow = false;\n this.xxb = item.name;\n this.xxbVal = item.value;\n },\n onSelect1: function onSelect1(item) {\n this.actShow1 = false;\n this.xgslx = item.name;\n this.xgslxVal = item.value;\n },\n showp: function showp() {\n var _this = this;\n\n this.showPicker = !this.showPicker;\n var obj_ = this.addressInfo;\n\n for (var i = 0; i < obj_.length; i++) {\n province.push({\n value: obj_[i].value,\n text: obj_[i].text\n });\n city[obj_[i].text] = obj_[i].children;\n var list2 = obj_[i].children;\n\n for (var j = 0; j < list2.length; j++) {\n area[list2[j].text] = list2[j].children;\n }\n }\n\n this.columns = [{\n values: province,\n //可以是数组,或者对象数组\n className: 'column1' //选择器的第一列\n\n }, {\n values: city[this.com_province],\n //默认选中country对象中的第一项\n className: 'column2' //选择器的第二列\n\n }, {\n values: area[this.com_city],\n //默认选中country对象中的第一项\n className: 'column3' //选择器的第二列\n\n }];\n this.$nextTick(function () {\n _this.$refs['test123'].setColumnValue(0, _this.com_province);\n\n _this.$refs['test123'].setColumnValue(1, _this.com_city);\n\n _this.$refs['test123'].setColumnValue(2, _this.com_area);\n });\n },\n onConfirm: function onConfirm(value) {\n this.showPicker = false;\n this.com_province = value[0]['text'];\n this.com_city = value[1]['text'];\n this.com_area = value[2]['text'];\n this.xgsdz = this.com_province + this.com_city + this.com_area;\n this.com_province_id = value[0]['value'];\n this.com_city_id = value[1]['value'];\n this.com_area_id = value[2]['value'];\n console.log(value);\n },\n onChange: function onChange(picker, values) {\n this.columns = [{\n values: province,\n //可以是数组,或者对象数组\n className: 'column1' //选择器的第一列\n\n }, {\n values: city[values[0]['text']],\n //默认选中country对象中的第一项\n className: 'column2' //选择器的第二列\n\n }, {\n values: area[values[1]['text']],\n //默认选中country对象中的第一项\n className: 'column3' //选择器的第二列\n\n }];\n picker.setColumnValue(0, values[0]['text']);\n picker.setColumnValue(1, values[1]['text']);\n picker.setColumnValue(2, values[2]['text']);\n },\n submitG: function submitG() {\n this.$store.dispatch({\n type: 'changeUserInfo',\n nike_name: this.xlxr,\n com_name: this.xgsmc,\n type_id: this.xgslxVal,\n sex: this.xxbVal,\n com_telphone: this.xgszj,\n com_desc: this.xgsjj,\n com_province_id: this.com_province_id,\n com_city_id: this.com_city_id,\n com_area_id: this.com_area_id,\n com_address: this.xxxdz,\n com_mobile: this.xsj,\n urlback: this.$route.query.orderPage || \"\"\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/userInfo.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'AccountDetail',\n data: function data() {\n return {\n title: \"账单详情\",\n meaushow: true,\n payType: \"订单支付\",\n payAmount: 1256.00,\n payStatus: \"交易完成\",\n payFlow: 1201811123491734912,\n payTime: \"2019-04-05 17:03:01\",\n payMethod: \"微信\",\n payBalance: 1200.00\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({})),\n watch: {},\n created: function created() {},\n methods: {},\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/AccountDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'AccountDetail',\n data: function data() {\n return {\n title: \"账单详情\",\n meaushow: true,\n payType: \"订单支付\",\n payAmount: 1256.00,\n payStatus: \"交易完成\",\n payFlow: 1201811123491734912,\n payTime: \"2019-04-05 17:03:01\",\n payMethod: \"微信\",\n payBalance: 1200.00\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({})),\n watch: {},\n created: function created() {},\n methods: {},\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/AccountDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.regexp.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletActivate',\n data: function data() {\n return {\n title: \"激活钱包\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n showPasswordConfirm: true,\n //是否显示密码确认\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n step1: true,\n step2: false,\n form: {\n safeMobile: '',\n verifyCode: '',\n imgCode: '',\n password: '',\n passwordConfirm: ''\n },\n formError: false,\n formMsg: '',\n imgCodeVal: _api_index__WEBPACK_IMPORTED_MODULE_10__[\"productionUrlPc\"] + \"public/verify\",\n isClick: true\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_7__[\"mapState\"])({\n activateShowImgCode: function activateShowImgCode(state) {\n return state.wallet.activateShowImgCode;\n },\n activateCountDownFlag: function activateCountDownFlag(state) {\n return state.wallet.activateCountDownFlag;\n }\n })),\n watch: {\n activateCountDownFlag: function activateCountDownFlag(value) {\n if (value) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n },\n form: {\n deep: true,\n handler: function handler(val) {\n if (val.safeMobile && val.verifyCode) {\n this.isClick = false;\n } else {\n this.isClick = true;\n }\n }\n }\n },\n created: function created() {},\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n changeShowConfirm: function changeShowConfirm() {\n this.showPasswordConfirm = !this.showPasswordConfirm;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n //获取图片验证码\n changeImgCode: function changeImgCode() {\n this.imgCodeVal = _api_index__WEBPACK_IMPORTED_MODULE_10__[\"productionUrlPc\"] + \"public/verify?\" + new Date().getTime();\n },\n verify: function verify() {\n if (!this.form.safeMobile) {\n this.formError = true;\n this.formMsg = '亲,请输入手机';\n return;\n }\n\n var tel_reg = /^1[3456789]\\d{9}$/;\n\n if (!tel_reg.test(this.form.safeMobile)) {\n this.formError = true;\n this.formMsg = '亲,手机格式不正确';\n return;\n }\n\n return true;\n },\n getCode: function getCode() {\n if (this.verify()) {\n this.$store.dispatch({\n //actions分发\n type: 'smsVerifyActivate',\n mobile: this.form.safeMobile,\n imgCode: this.form.imgCode\n });\n }\n },\n next: function next() {\n //下一步\n if (this.isClick) {\n return;\n }\n\n if (this.verify()) {\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false; //下一步\n\n this.step1 = false;\n this.step2 = true;\n }\n },\n confirm: function confirm() {\n //确认\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合\n\n if (!this.form.password) {\n this.formError = true;\n this.formMsg = '亲,请输入支付密码';\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n this.formError = true;\n this.formMsg = '亲,密码由6~20位字母、数字组合';\n return;\n }\n\n if (!this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,请再次输入支付密码';\n return;\n }\n\n if (this.form.password !== this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,两次输入支付密码不一致';\n return;\n }\n\n this.formError = false; //提交\n\n this.$store.dispatch({\n type: 'activateWallet',\n mobile: this.form.safeMobile,\n verifyCode: this.form.verifyCode,\n password: this.form.password,\n passwordConfirm: this.form.passwordConfirm,\n referer: this.$route.query.referer\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Activate.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.regexp.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletActivate',\n data: function data() {\n return {\n title: \"激活钱包\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n showPasswordConfirm: true,\n //是否显示密码确认\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n step1: true,\n step2: false,\n form: {\n safeMobile: '',\n verifyCode: '',\n imgCode: '',\n password: '',\n passwordConfirm: ''\n },\n formError: false,\n formMsg: '',\n imgCodeVal: _api_index__WEBPACK_IMPORTED_MODULE_10__[\"productionUrlPc\"] + \"public/verify\",\n isClick: true\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_7__[\"mapState\"])({\n activateShowImgCode: function activateShowImgCode(state) {\n return state.wallet.activateShowImgCode;\n },\n activateCountDownFlag: function activateCountDownFlag(state) {\n return state.wallet.activateCountDownFlag;\n }\n })),\n watch: {\n activateCountDownFlag: function activateCountDownFlag(value) {\n if (value) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n },\n form: {\n deep: true,\n handler: function handler(val) {\n if (val.safeMobile && val.verifyCode) {\n this.isClick = false;\n } else {\n this.isClick = true;\n }\n }\n }\n },\n created: function created() {},\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n changeShowConfirm: function changeShowConfirm() {\n this.showPasswordConfirm = !this.showPasswordConfirm;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n //获取图片验证码\n changeImgCode: function changeImgCode() {\n this.imgCodeVal = _api_index__WEBPACK_IMPORTED_MODULE_10__[\"productionUrlPc\"] + \"public/verify?\" + new Date().getTime();\n },\n verify: function verify() {\n if (!this.form.safeMobile) {\n this.formError = true;\n this.formMsg = '亲,请输入手机';\n return;\n }\n\n var tel_reg = /^1[3456789]\\d{9}$/;\n\n if (!tel_reg.test(this.form.safeMobile)) {\n this.formError = true;\n this.formMsg = '亲,手机格式不正确';\n return;\n }\n\n return true;\n },\n getCode: function getCode() {\n if (this.verify()) {\n this.$store.dispatch({\n //actions分发\n type: 'smsVerifyActivate',\n mobile: this.form.safeMobile,\n imgCode: this.form.imgCode\n });\n }\n },\n next: function next() {\n //下一步\n if (this.isClick) {\n return;\n }\n\n if (this.verify()) {\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false; //下一步\n\n this.step1 = false;\n this.step2 = true;\n }\n },\n confirm: function confirm() {\n //确认\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合\n\n if (!this.form.password) {\n this.formError = true;\n this.formMsg = '亲,请输入支付密码';\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n this.formError = true;\n this.formMsg = '亲,密码由6~20位字母、数字组合';\n return;\n }\n\n if (!this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,请再次输入支付密码';\n return;\n }\n\n if (this.form.password !== this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,两次输入支付密码不一致';\n return;\n }\n\n this.formError = false; //提交\n\n this.$store.dispatch({\n type: 'activateWallet',\n mobile: this.form.safeMobile,\n verifyCode: this.form.verifyCode,\n password: this.form.password,\n passwordConfirm: this.form.passwordConfirm,\n referer: this.$route.query.referer\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Activate.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_8__[\"RadioGroup\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Radio\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Cell\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"CellGroup\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletRecharge',\n data: function data() {\n return {\n title: \"钱包充值\",\n meaushow: true,\n inputNum: this.$route.query.amount || '',\n radio: '1'\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n amountRechargeID: function amountRechargeID(state) {\n return state.wallet.amountRechargeID;\n }\n })),\n watch: {\n amountRechargeID: function amountRechargeID(value) {\n if (value) {\n if (this.radio == 1) {\n //微信支付\n this.$store.dispatch({\n type: 'payTodo',\n pay_code: 'wxpay',\n // rescue: 1,\n types: 1,\n site_type: 2,\n order_id: value\n });\n } // else if (this.radio == 2) { //支付宝支付\n // window.location.href = productionUrlApi + \"pay/todo?pay_code=alipay&rescue=1&types=1&pay_mode=2&site_type=2&order_id=\" + value;\n // } else if (this.radio == 3) { //中国银联\n // window.location.href = productionUrlApi + \"pay/todo?pay_code=unionpay&rescue=1&types=1&site_type=2&order_id=\" + value;\n // }\n\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n recharge: function recharge() {\n //充值\n if (this.inputNum !== '') {\n console.log(this.radio); //充值申请\n\n this.$store.dispatch({\n type: 'walletRecharge',\n amount: this.inputNum\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Recharge.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_8__[\"RadioGroup\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Radio\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Cell\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"CellGroup\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletRecharge',\n data: function data() {\n return {\n title: \"钱包充值\",\n meaushow: true,\n inputNum: this.$route.query.amount || '',\n radio: '1'\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n amountRechargeID: function amountRechargeID(state) {\n return state.wallet.amountRechargeID;\n }\n })),\n watch: {\n amountRechargeID: function amountRechargeID(value) {\n if (value) {\n if (this.radio == 1) {\n //微信支付\n this.$store.dispatch({\n type: 'payTodo',\n pay_code: 'wxpay',\n // rescue: 1,\n types: 1,\n site_type: 2,\n order_id: value\n });\n } // else if (this.radio == 2) { //支付宝支付\n // window.location.href = productionUrlApi + \"pay/todo?pay_code=alipay&rescue=1&types=1&pay_mode=2&site_type=2&order_id=\" + value;\n // } else if (this.radio == 3) { //中国银联\n // window.location.href = productionUrlApi + \"pay/todo?pay_code=unionpay&rescue=1&types=1&site_type=2&order_id=\" + value;\n // }\n\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n recharge: function recharge() {\n //充值\n if (this.inputNum !== '') {\n console.log(this.radio); //充值申请\n\n this.$store.dispatch({\n type: 'walletRecharge',\n amount: this.inputNum\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Recharge.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.regexp.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletRetrieve',\n data: function data() {\n return {\n title: \"找回密码\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n showPasswordConfirm: true,\n //是否显示密码确认\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n step1: true,\n step2: false,\n form: {\n verifyCode: '',\n imgCode: '',\n password: '',\n passwordConfirm: ''\n },\n formError: false,\n formMsg: '',\n imgCodeVal: _api_index__WEBPACK_IMPORTED_MODULE_10__[\"productionUrlPc\"] + \"public/verify\"\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_7__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n retieveShowImgCode: function retieveShowImgCode(state) {\n return state.wallet.retieveShowImgCode;\n },\n retieveCountDownFlag: function retieveCountDownFlag(state) {\n return state.wallet.retieveCountDownFlag;\n },\n passwordToken: function passwordToken(state) {\n return state.wallet.passwordToken;\n }\n })),\n watch: {\n retieveCountDownFlag: function retieveCountDownFlag(value) {\n if (value) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n },\n passwordToken: function passwordToken(value) {\n if (value) {\n //返回token则验证成功,下一步\n this.step1 = false;\n this.step2 = true;\n } else {\n this.step1 = true;\n this.step2 = false;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n changeShowConfirm: function changeShowConfirm() {\n this.showPasswordConfirm = !this.showPasswordConfirm;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n //获取图片验证码\n changeImgCode: function changeImgCode() {\n this.imgCodeVal = _api_index__WEBPACK_IMPORTED_MODULE_10__[\"productionUrlPc\"] + \"public/verify?\" + new Date().getTime();\n },\n getCode: function getCode() {\n this.$store.dispatch({\n //actions分发\n type: 'smsVerifyRetrieve',\n imgCode: this.form.imgCode\n });\n },\n next: function next() {\n //下一步\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false;\n this.$store.dispatch({\n type: 'verifyResetsms',\n verify_code: this.form.verifyCode\n });\n },\n confirm: function confirm() {\n //确认\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 6~20位字母和数字组合\n\n if (!this.form.password) {\n this.formError = true;\n this.formMsg = '亲,请输入支付密码';\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n this.formError = true;\n this.formMsg = '亲,密码由6~20位字母、数字组合';\n return;\n }\n\n if (!this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,请再次输入支付密码';\n return;\n }\n\n if (this.form.password !== this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,两次输入支付密码不一致';\n return;\n }\n\n this.formError = false; //提交\n\n this.$store.dispatch({\n type: 'changeWalletpwd',\n token: this.passwordToken,\n pay_password: this.form.password,\n reconfirm: this.form.passwordConfirm,\n mode: 'forget'\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Retrieve.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.regexp.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletRetrieve',\n data: function data() {\n return {\n title: \"找回密码\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n showPasswordConfirm: true,\n //是否显示密码确认\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n step1: true,\n step2: false,\n form: {\n verifyCode: '',\n imgCode: '',\n password: '',\n passwordConfirm: ''\n },\n formError: false,\n formMsg: '',\n imgCodeVal: _api_index__WEBPACK_IMPORTED_MODULE_10__[\"productionUrlPc\"] + \"public/verify\"\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_7__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n retieveShowImgCode: function retieveShowImgCode(state) {\n return state.wallet.retieveShowImgCode;\n },\n retieveCountDownFlag: function retieveCountDownFlag(state) {\n return state.wallet.retieveCountDownFlag;\n },\n passwordToken: function passwordToken(state) {\n return state.wallet.passwordToken;\n }\n })),\n watch: {\n retieveCountDownFlag: function retieveCountDownFlag(value) {\n if (value) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n },\n passwordToken: function passwordToken(value) {\n if (value) {\n //返回token则验证成功,下一步\n this.step1 = false;\n this.step2 = true;\n } else {\n this.step1 = true;\n this.step2 = false;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n changeShowConfirm: function changeShowConfirm() {\n this.showPasswordConfirm = !this.showPasswordConfirm;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n //获取图片验证码\n changeImgCode: function changeImgCode() {\n this.imgCodeVal = _api_index__WEBPACK_IMPORTED_MODULE_10__[\"productionUrlPc\"] + \"public/verify?\" + new Date().getTime();\n },\n getCode: function getCode() {\n this.$store.dispatch({\n //actions分发\n type: 'smsVerifyRetrieve',\n imgCode: this.form.imgCode\n });\n },\n next: function next() {\n //下一步\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false;\n this.$store.dispatch({\n type: 'verifyResetsms',\n verify_code: this.form.verifyCode\n });\n },\n confirm: function confirm() {\n //确认\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 6~20位字母和数字组合\n\n if (!this.form.password) {\n this.formError = true;\n this.formMsg = '亲,请输入支付密码';\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n this.formError = true;\n this.formMsg = '亲,密码由6~20位字母、数字组合';\n return;\n }\n\n if (!this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,请再次输入支付密码';\n return;\n }\n\n if (this.form.password !== this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,两次输入支付密码不一致';\n return;\n }\n\n this.formError = false; //提交\n\n this.$store.dispatch({\n type: 'changeWalletpwd',\n token: this.passwordToken,\n pay_password: this.form.password,\n reconfirm: this.form.passwordConfirm,\n mode: 'forget'\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Retrieve.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.regexp.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletVerify',\n data: function data() {\n return {\n title: \"验证身份\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n form: {\n verifyCode: '',\n imgCode: '',\n password: ''\n },\n formError: false,\n formMsg: '',\n imgCodeVal: _api_index__WEBPACK_IMPORTED_MODULE_10__[\"productionUrlPc\"] + \"public/verify\"\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_7__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n verifyShowImgCode: function verifyShowImgCode(state) {\n return state.wallet.verifyShowImgCode;\n },\n verifyCountDownFlag: function verifyCountDownFlag(state) {\n return state.wallet.verifyCountDownFlag;\n }\n })),\n watch: {\n verifyCountDownFlag: function verifyCountDownFlag(value) {\n if (value) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n //获取图片验证码\n changeImgCode: function changeImgCode() {\n this.imgCodeVal = _api_index__WEBPACK_IMPORTED_MODULE_10__[\"productionUrlPc\"] + \"public/verify?\" + new Date().getTime();\n },\n getCode: function getCode() {\n //下一步\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合\n\n if (!this.form.password) {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: '亲,请输入支付密码',\n duration: 2000\n });\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: '亲,密码由6~20位字母、数字组合',\n duration: 2000\n });\n return;\n }\n\n this.$store.dispatch({\n //actions分发\n type: 'sendSafesms',\n imgCode: this.form.imgCode\n });\n },\n next: function next() {\n //下一步\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合\n\n if (!this.form.password) {\n this.formError = true;\n this.formMsg = '亲,请输入支付密码';\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n this.formError = true;\n this.formMsg = '亲,密码由6~20位字母、数字组合';\n return;\n }\n\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false;\n this.$store.dispatch({\n type: 'verifySafeMobile',\n verify_code: this.form.verifyCode,\n pay_password: this.form.password\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Verify.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.regexp.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletVerify',\n data: function data() {\n return {\n title: \"验证身份\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n form: {\n verifyCode: '',\n imgCode: '',\n password: ''\n },\n formError: false,\n formMsg: '',\n imgCodeVal: _api_index__WEBPACK_IMPORTED_MODULE_10__[\"productionUrlPc\"] + \"public/verify\"\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_7__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n verifyShowImgCode: function verifyShowImgCode(state) {\n return state.wallet.verifyShowImgCode;\n },\n verifyCountDownFlag: function verifyCountDownFlag(state) {\n return state.wallet.verifyCountDownFlag;\n }\n })),\n watch: {\n verifyCountDownFlag: function verifyCountDownFlag(value) {\n if (value) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n //获取图片验证码\n changeImgCode: function changeImgCode() {\n this.imgCodeVal = _api_index__WEBPACK_IMPORTED_MODULE_10__[\"productionUrlPc\"] + \"public/verify?\" + new Date().getTime();\n },\n getCode: function getCode() {\n //下一步\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合\n\n if (!this.form.password) {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: '亲,请输入支付密码',\n duration: 2000\n });\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: '亲,密码由6~20位字母、数字组合',\n duration: 2000\n });\n return;\n }\n\n this.$store.dispatch({\n //actions分发\n type: 'sendSafesms',\n imgCode: this.form.imgCode\n });\n },\n next: function next() {\n //下一步\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合\n\n if (!this.form.password) {\n this.formError = true;\n this.formMsg = '亲,请输入支付密码';\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n this.formError = true;\n this.formMsg = '亲,密码由6~20位字母、数字组合';\n return;\n }\n\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false;\n this.$store.dispatch({\n type: 'verifySafeMobile',\n verify_code: this.form.verifyCode,\n pay_password: this.form.password\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Verify.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_3__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n props: {\n goodDetail: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n isShowMore: false,\n singlePriceCn: 0,\n //国内单价\n singlePriceUs: 0,\n //香港单价\n navInit: 0,\n startNum: 0,\n //起订量\n multipleNum: 0,\n //倍数\n aggregateNum: 0,\n //一组的数量\n stockNum: 0,\n //库存,\n zyladderArr: [],\n //阶梯价\n zySingleInit: 0,\n //自营数量初始值\n goodsNum: 0 //商品数量\n\n };\n },\n computed: {\n total: function total() {\n if (this.navInit == 1) {\n //香港\n return \"$\" + (this.goodsNum * this.singlePriceUs).toFixed(4);\n } else {\n //国内\n return \"¥\" + (this.goodsNum * this.singlePriceCn).toFixed(4);\n }\n }\n },\n watch: {\n \"goodDetail.goods_id\": function goodDetailGoods_id() {\n var data = this.goodDetail;\n\n if (JSON.stringify(data) != \"{}\") {\n if (this.goodDetail.goods_type == 1 || this.goodDetail.goods_type == 2) {\n if (data.min_buy) {\n this.startNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_buy);\n }\n\n if (data.multiple) {\n this.multipleNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.multiple);\n }\n\n if (data.min_mpq) {\n this.aggregateNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_mpq);\n }\n\n if (data.goods_number) {\n this.stockNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.goods_number);\n }\n\n if (this.startNum == this.multipleNum) {\n //倍数和起订量相等\n this.zySingleInit = this.startNum;\n } else if (this.startNum > this.multipleNum) {\n //起订量大于倍数\n if (this.startNum % this.multipleNum) {\n //起订量跟倍数的比值为小数\n this.zySingleInit = Math.ceil(this.startNum / this.multipleNum) * this.multipleNum;\n } else {\n //起订量跟倍数的比值为整数时取起订量\n this.zySingleInit = this.startNum;\n }\n } else {\n //起订量小于倍数\n this.zySingleInit = this.multipleNum;\n }\n\n if (data.tiered) {\n for (var i = 0; i < data.tiered.length; i++) {\n var singleData = data.tiered[i];\n this.zyladderArr.push({\n pricecn: Number(singleData.price_cn).toFixed(4),\n num: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(singleData.purchases),\n priceus: Number(singleData.price_us).toFixed(4)\n });\n }\n }\n }\n }\n },\n goodsNum: function goodsNum(now) {\n if (String(now).indexOf(\".\") > 0) this.goodsNum = \"\";\n this.goodsNum = String(now).replace(/\\D/g, \"\");\n this.ladderComputer(now);\n\n if (Number(now) > this.stockNum) {\n this.$toast(\"购买数量不能大于库存!\");\n this.goodsNum = this.stockNum;\n }\n },\n zySingleInit: function zySingleInit(now) {\n this.goodsNum = now;\n }\n },\n methods: {\n showImagePreview: function showImagePreview(position, timer) {\n var images = [this.goodDetail.brand_logo || 'https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png'];\n var instance = Object(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"])({\n images: images,\n asyncClose: !!timer,\n showIndex: false\n });\n\n if (timer) {\n setTimeout(function () {\n instance.close();\n }, timer);\n }\n },\n imgErr: function imgErr() {\n this.goodDetail.brand_logo = \"https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png\";\n },\n changeNav: function changeNav(i) {\n this.navInit = i;\n },\n ladderComputer: function ladderComputer(v) {\n var length = this.zyladderArr.length; //阶梯价计算价格v\n\n if (!length) {\n //阶梯价的数据为空\n this.singlePriceCn = 0;\n this.singlePriceUs = 0;\n return;\n } else {\n //阶梯价的数据不为空\n if (length == 1) {\n //阶梯价的数据为1\n this.singlePriceCn = this.zyladderArr[0].pricecn;\n this.singlePriceUs = this.zyladderArr[0].priceus;\n return;\n } else {\n //阶梯价的数据不为1\n if (v <= this.zyladderArr[0].num) {\n //输入数量小于等于最小值\n this.singlePriceCn = this.zyladderArr[0].pricecn;\n this.singlePriceUs = this.zyladderArr[0].priceus;\n return;\n } else if (v >= this.zyladderArr[length - 1].num) {\n //输入数量大于等于最大值\n this.singlePriceCn = this.zyladderArr[length - 1].pricecn;\n this.singlePriceUs = this.zyladderArr[length - 1].priceus;\n return;\n } else {\n for (var i = 0; i < this.zyladderArr.length; i++) {\n if (v >= this.zyladderArr[i].num && v < this.zyladderArr[i + 1].num) {\n this.singlePriceCn = this.zyladderArr[i].pricecn;\n this.singlePriceUs = this.zyladderArr[i].priceus;\n break;\n }\n }\n }\n }\n }\n },\n blurSingle: function blurSingle() {\n //购买数量为0\n if (!Number(this.goodsNum)) {\n this.$toast(\"购买数量不能少于起订量!\");\n this.goodsNum = this.zySingleInit;\n } else {\n //购买数量不为0\n if (Number(this.goodsNum) % this.multipleNum) {\n //当购买数量不是倍数的整数倍\n var num = Math.ceil(Number(this.goodsNum) / this.multipleNum) * this.multipleNum;\n\n if (num < this.startNum) {\n //取倍数的整数后小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n } else {\n //取倍数的整数后不小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\uFF0C\\u6211\\u4EEC\\u5DF2\\u4E3A\\u60A8\\u8C03\\u6574\\u8D2D\\u4E70\\u6570\\u91CF\\u3002\"));\n this.goodsNum = num;\n }\n } else {\n if (Number(this.goodsNum) < this.zySingleInit) {\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n }\n }\n }\n },\n reduceSingle: function reduceSingle() {\n if (Number(this.goodsNum) <= this.startNum) {\n //购买数量小于等于起订量\n this.$toast(\"购买数量不能少于起订量!\");\n } else {\n //购买数量大于起订量\n if (Number(this.goodsNum) - this.multipleNum < this.startNum) {\n //购买数量减倍数小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n } else {\n this.goodsNum = Number(this.goodsNum) - this.multipleNum;\n }\n }\n },\n addSingle: function addSingle() {\n this.goodsNum = Number(this.goodsNum) + this.multipleNum;\n },\n xdOrAdd: function xdOrAdd(type) {\n //1购买 2加入购物车\n var datax = {\n id: this.goodDetail.goods_id,\n num: this.goodsNum,\n buy: type == 1 ? 1 : -1,\n delivery_place: this.navInit == 0 ? 1 : 2,\n searchModel: this.$route.query.k || \"\",\n module_name: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n click_ptag: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getCookie(\"ptag\") || \"\"\n };\n _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].setCookie(\"ptag\", \"pop-\" + window.location.href, 1);\n\n if (type == 1) {\n //立即购买\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"立即购买\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n } else {\n //加入购物车\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"加入购物车\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n }\n\n this.$store.dispatch({\n type: \"addGoods\",\n data: {\n datax: datax,\n type: 2,\n k: this.$route.query.k || \"\"\n } //1表示自营 2表示联营\n\n });\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/lyDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_3__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n props: {\n goodDetail: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n isShowMore: false,\n singlePriceCn: 0,\n //国内单价\n singlePriceUs: 0,\n //香港单价\n navInit: 0,\n startNum: 0,\n //起订量\n multipleNum: 0,\n //倍数\n aggregateNum: 0,\n //一组的数量\n stockNum: 0,\n //库存,\n zyladderArr: [],\n //阶梯价\n zySingleInit: 0,\n //自营数量初始值\n goodsNum: 0 //商品数量\n\n };\n },\n computed: {\n total: function total() {\n if (this.navInit == 1) {\n //香港\n return \"$\" + (this.goodsNum * this.singlePriceUs).toFixed(4);\n } else {\n //国内\n return \"¥\" + (this.goodsNum * this.singlePriceCn).toFixed(4);\n }\n }\n },\n watch: {\n \"goodDetail.goods_id\": function goodDetailGoods_id() {\n var data = this.goodDetail;\n\n if (JSON.stringify(data) != \"{}\") {\n if (this.goodDetail.goods_type == 1 || this.goodDetail.goods_type == 2) {\n if (data.min_buy) {\n this.startNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_buy);\n }\n\n if (data.multiple) {\n this.multipleNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.multiple);\n }\n\n if (data.min_mpq) {\n this.aggregateNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_mpq);\n }\n\n if (data.goods_number) {\n this.stockNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.goods_number);\n }\n\n if (this.startNum == this.multipleNum) {\n //倍数和起订量相等\n this.zySingleInit = this.startNum;\n } else if (this.startNum > this.multipleNum) {\n //起订量大于倍数\n if (this.startNum % this.multipleNum) {\n //起订量跟倍数的比值为小数\n this.zySingleInit = Math.ceil(this.startNum / this.multipleNum) * this.multipleNum;\n } else {\n //起订量跟倍数的比值为整数时取起订量\n this.zySingleInit = this.startNum;\n }\n } else {\n //起订量小于倍数\n this.zySingleInit = this.multipleNum;\n }\n\n if (data.tiered) {\n for (var i = 0; i < data.tiered.length; i++) {\n var singleData = data.tiered[i];\n this.zyladderArr.push({\n pricecn: Number(singleData.price_cn).toFixed(4),\n num: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(singleData.purchases),\n priceus: Number(singleData.price_us).toFixed(4)\n });\n }\n }\n }\n }\n },\n goodsNum: function goodsNum(now) {\n if (String(now).indexOf(\".\") > 0) this.goodsNum = \"\";\n this.goodsNum = String(now).replace(/\\D/g, \"\");\n this.ladderComputer(now);\n\n if (Number(now) > this.stockNum) {\n this.$toast(\"购买数量不能大于库存!\");\n this.goodsNum = this.stockNum;\n }\n },\n zySingleInit: function zySingleInit(now) {\n this.goodsNum = now;\n }\n },\n methods: {\n showImagePreview: function showImagePreview(position, timer) {\n var images = [this.goodDetail.brand_logo || 'https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png'];\n var instance = Object(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"])({\n images: images,\n asyncClose: !!timer,\n showIndex: false\n });\n\n if (timer) {\n setTimeout(function () {\n instance.close();\n }, timer);\n }\n },\n imgErr: function imgErr() {\n this.goodDetail.brand_logo = \"https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png\";\n },\n changeNav: function changeNav(i) {\n this.navInit = i;\n },\n ladderComputer: function ladderComputer(v) {\n var length = this.zyladderArr.length; //阶梯价计算价格v\n\n if (!length) {\n //阶梯价的数据为空\n this.singlePriceCn = 0;\n this.singlePriceUs = 0;\n return;\n } else {\n //阶梯价的数据不为空\n if (length == 1) {\n //阶梯价的数据为1\n this.singlePriceCn = this.zyladderArr[0].pricecn;\n this.singlePriceUs = this.zyladderArr[0].priceus;\n return;\n } else {\n //阶梯价的数据不为1\n if (v <= this.zyladderArr[0].num) {\n //输入数量小于等于最小值\n this.singlePriceCn = this.zyladderArr[0].pricecn;\n this.singlePriceUs = this.zyladderArr[0].priceus;\n return;\n } else if (v >= this.zyladderArr[length - 1].num) {\n //输入数量大于等于最大值\n this.singlePriceCn = this.zyladderArr[length - 1].pricecn;\n this.singlePriceUs = this.zyladderArr[length - 1].priceus;\n return;\n } else {\n for (var i = 0; i < this.zyladderArr.length; i++) {\n if (v >= this.zyladderArr[i].num && v < this.zyladderArr[i + 1].num) {\n this.singlePriceCn = this.zyladderArr[i].pricecn;\n this.singlePriceUs = this.zyladderArr[i].priceus;\n break;\n }\n }\n }\n }\n }\n },\n blurSingle: function blurSingle() {\n //购买数量为0\n if (!Number(this.goodsNum)) {\n this.$toast(\"购买数量不能少于起订量!\");\n this.goodsNum = this.zySingleInit;\n } else {\n //购买数量不为0\n if (Number(this.goodsNum) % this.multipleNum) {\n //当购买数量不是倍数的整数倍\n var num = Math.ceil(Number(this.goodsNum) / this.multipleNum) * this.multipleNum;\n\n if (num < this.startNum) {\n //取倍数的整数后小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n } else {\n //取倍数的整数后不小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\uFF0C\\u6211\\u4EEC\\u5DF2\\u4E3A\\u60A8\\u8C03\\u6574\\u8D2D\\u4E70\\u6570\\u91CF\\u3002\"));\n this.goodsNum = num;\n }\n } else {\n if (Number(this.goodsNum) < this.zySingleInit) {\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n }\n }\n }\n },\n reduceSingle: function reduceSingle() {\n if (Number(this.goodsNum) <= this.startNum) {\n //购买数量小于等于起订量\n this.$toast(\"购买数量不能少于起订量!\");\n } else {\n //购买数量大于起订量\n if (Number(this.goodsNum) - this.multipleNum < this.startNum) {\n //购买数量减倍数小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n } else {\n this.goodsNum = Number(this.goodsNum) - this.multipleNum;\n }\n }\n },\n addSingle: function addSingle() {\n this.goodsNum = Number(this.goodsNum) + this.multipleNum;\n },\n xdOrAdd: function xdOrAdd(type) {\n //1购买 2加入购物车\n var datax = {\n id: this.goodDetail.goods_id,\n num: this.goodsNum,\n buy: type == 1 ? 1 : -1,\n delivery_place: this.navInit == 0 ? 1 : 2,\n searchModel: this.$route.query.k || \"\",\n module_name: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n click_ptag: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getCookie(\"ptag\") || \"\"\n };\n _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].setCookie(\"ptag\", \"pop-\" + window.location.href, 1);\n\n if (type == 1) {\n //立即购买\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"立即购买\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n } else {\n //加入购物车\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"加入购物车\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n }\n\n this.$store.dispatch({\n type: \"addGoods\",\n data: {\n datax: datax,\n type: 2,\n k: this.$route.query.k || \"\"\n } //1表示自营 2表示联营\n\n });\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/lyDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_3__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n props: {\n goodDetail: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n images: [],\n isShowMore: false,\n ypNum: 0,\n //组\n singlePrice: 0,\n //单价\n tipText: \"\",\n btnText: \"\",\n navInit: 0,\n startNum: 0,\n //起订量\n multipleNum: 0,\n //倍数\n aggregateNum: 0,\n //一组的数量\n stockNum: 0,\n //库存,\n zyladderArr: [],\n //阶梯价\n zySingleInit: 0,\n //自营数量初始值\n goodsNum: 0 //商品数量\n\n };\n },\n computed: {\n total: function total() {\n return (this.goodsNum * this.singlePrice).toFixed(4);\n }\n },\n watch: {\n ypNum: function ypNum(now) {\n if (String(now).indexOf(\".\") > 0) this.ypNum = \"\";\n this.ypNum = String(now).replace(/\\D/g, \"\");\n this.goodsNum = now * this.aggregateNum;\n },\n \"goodDetail.goods_id\": function goodDetailGoods_id() {\n var data = this.goodDetail;\n\n if (JSON.stringify(data) != \"{}\") {\n if (this.goodDetail.goods_type == 3 || this.goodDetail.goods_type == 4) {\n if (data.min_buy) {\n this.startNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_buy);\n }\n\n if (data.mpl) {\n this.multipleNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.mpl);\n }\n\n if (data.min_mpq) {\n this.aggregateNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_mpq);\n }\n\n if (data.goods_number) {\n this.stockNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.goods_number);\n }\n\n if (this.startNum == this.multipleNum) {\n //倍数和起订量相等\n this.zySingleInit = this.startNum;\n } else if (this.startNum > this.multipleNum) {\n //起订量大于倍数\n if (this.startNum % this.multipleNum) {\n //起订量跟倍数的比值为小数\n this.zySingleInit = Math.ceil(this.startNum / this.multipleNum) * this.multipleNum;\n } else {\n //起订量跟倍数的比值为整数时取起订量\n this.zySingleInit = this.startNum;\n }\n } else {\n //起订量小于倍数\n this.zySingleInit = this.multipleNum;\n }\n\n if (data.tiered) {\n for (var i = 0; i < data.tiered.length; i++) {\n var singleData = data.tiered[i];\n this.zyladderArr.push({\n price: Number(singleData.price_cn).toFixed(4),\n num: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(singleData.purchases)\n });\n }\n }\n }\n }\n },\n goodsNum: function goodsNum(now) {\n if (String(now).indexOf(\".\") > 0) this.goodsNum = \"\";\n this.goodsNum = String(now).replace(/\\D/g, \"\");\n this.ladderComputer(now);\n\n if (Number(now) > this.stockNum) {\n this.tipText = \"库存不足,下单后我们将帮您订货\";\n this.btnText = \"预售订货\";\n } else {\n this.tipText = \"想要购买更多?直接下单,我们帮您订货\";\n this.btnText = \"立即购买\";\n }\n },\n zySingleInit: function zySingleInit(now) {\n this.goodsNum = now;\n }\n },\n methods: {\n showImagePreview: function showImagePreview(position, timer) {\n var images = [this.goodDetail.brand_logo || 'https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png'];\n var instance = Object(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"])({\n images: images,\n asyncClose: !!timer,\n showIndex: false\n });\n\n if (timer) {\n setTimeout(function () {\n instance.close();\n }, timer);\n }\n },\n imgErr: function imgErr() {\n this.goodDetail.brand_logo = \"https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png\";\n },\n changeNav: function changeNav(i) {\n this.navInit = i;\n\n if (i == 1) {\n if (this.goodsNum % this.aggregateNum) {\n //如果商品数量除以组数不为整数\n this.ypNum = Math.ceil(this.goodsNum / this.aggregateNum);\n } else {\n //如果商品数量除以组数为整数\n this.ypNum = Number(this.goodsNum) / this.aggregateNum;\n }\n }\n },\n ladderComputer: function ladderComputer(v) {\n //阶梯价计算价格v\n var length = this.zyladderArr.length;\n\n if (!length) {\n //阶梯价的数据为空\n this.singlePrice = 0;\n return;\n } else {\n //阶梯价的数据不为空\n if (length == 1) {\n //阶梯价的数据为1\n this.singlePrice = this.zyladderArr[0].price;\n return;\n } else {\n //阶梯价的数据不为1\n if (v <= this.zyladderArr[0].num) {\n //输入数量小于等于最小值\n this.singlePrice = this.zyladderArr[0].price;\n return;\n } else if (v >= this.zyladderArr[length - 1].num) {\n //输入数量大于等于最大值\n this.singlePrice = this.zyladderArr[length - 1].price;\n return;\n } else {\n for (var i = 0; i < this.zyladderArr.length; i++) {\n if (v >= this.zyladderArr[i].num && v < this.zyladderArr[i + 1].num) {\n this.singlePrice = this.zyladderArr[i].price;\n break;\n }\n }\n }\n }\n }\n },\n blurSingle: function blurSingle() {\n //购买数量为0\n if (!Number(this.goodsNum)) {\n this.$toast(\"购买数量不能少于起订量!\");\n this.goodsNum = this.zySingleInit;\n } else {\n //购买数量不为0\n if (Number(this.goodsNum) % this.multipleNum) {\n //当购买数量不是倍数的整数倍\n var num = Math.ceil(Number(this.goodsNum) / this.multipleNum) * this.multipleNum;\n\n if (num < this.startNum) {\n //取倍数的整数后小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n } else {\n //取倍数的整数后不小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\uFF0C\\u6211\\u4EEC\\u5DF2\\u4E3A\\u60A8\\u8C03\\u6574\\u8D2D\\u4E70\\u6570\\u91CF\\u3002\"));\n this.goodsNum = num;\n }\n } else {\n if (Number(this.goodsNum) < this.zySingleInit) {\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n }\n }\n }\n },\n blurZu: function blurZu() {\n if (Number(this.goodsNum) * Number(this.aggregateNum) < this.startNum) {\n this.$toast(\"购买数量不能少于起订量!\");\n this.ypNum = Math.ceil(this.startNum / this.aggregateNum);\n }\n },\n reduceSingle: function reduceSingle() {\n if (Number(this.goodsNum) <= this.startNum) {\n //购买数量小于等于起订量\n this.$toast(\"购买数量不能少于起订量!\");\n } else {\n //购买数量大于起订量\n if (Number(this.goodsNum) - this.multipleNum < this.startNum) {\n //购买数量减倍数小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n } else {\n this.goodsNum = Number(this.goodsNum) - this.multipleNum;\n }\n }\n },\n addSingle: function addSingle() {\n this.goodsNum = Number(this.goodsNum) + this.multipleNum;\n },\n reduceZu: function reduceZu() {\n if (Number(this.goodsNum) <= this.startNum) {\n return;\n } else {\n this.ypNum = Number(this.ypNum) - 1;\n }\n },\n addZu: function addZu() {\n this.ypNum = Number(this.ypNum) + 1;\n },\n xdOrAdd: function xdOrAdd(type) {\n var datax = {\n id: this.goodDetail.goods_id,\n num: this.goodsNum,\n buy: type == 1 ? 1 : -1,\n searchModel: this.$route.query.k || \"\",\n module_name: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n click_ptag: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getCookie(\"ptag\") || \"\"\n };\n _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].setCookie(\"ptag\", \"pop-\" + window.location.href, 1);\n\n if (type == 1) {\n //立即购买\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"立即购买\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n } else {\n //加入购物车\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"加入购物车\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n }\n\n this.$store.dispatch({\n type: \"addGoods\",\n data: {\n datax: datax,\n type: 1,\n k: this.$route.query.k || \"\"\n } //1表示自营 2表示联营\n\n });\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/zyDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_3__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n props: {\n goodDetail: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n images: [],\n isShowMore: false,\n ypNum: 0,\n //组\n singlePrice: 0,\n //单价\n tipText: \"\",\n btnText: \"\",\n navInit: 0,\n startNum: 0,\n //起订量\n multipleNum: 0,\n //倍数\n aggregateNum: 0,\n //一组的数量\n stockNum: 0,\n //库存,\n zyladderArr: [],\n //阶梯价\n zySingleInit: 0,\n //自营数量初始值\n goodsNum: 0 //商品数量\n\n };\n },\n computed: {\n total: function total() {\n return (this.goodsNum * this.singlePrice).toFixed(4);\n }\n },\n watch: {\n ypNum: function ypNum(now) {\n if (String(now).indexOf(\".\") > 0) this.ypNum = \"\";\n this.ypNum = String(now).replace(/\\D/g, \"\");\n this.goodsNum = now * this.aggregateNum;\n },\n \"goodDetail.goods_id\": function goodDetailGoods_id() {\n var data = this.goodDetail;\n\n if (JSON.stringify(data) != \"{}\") {\n if (this.goodDetail.goods_type == 3 || this.goodDetail.goods_type == 4) {\n if (data.min_buy) {\n this.startNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_buy);\n }\n\n if (data.mpl) {\n this.multipleNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.mpl);\n }\n\n if (data.min_mpq) {\n this.aggregateNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_mpq);\n }\n\n if (data.goods_number) {\n this.stockNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.goods_number);\n }\n\n if (this.startNum == this.multipleNum) {\n //倍数和起订量相等\n this.zySingleInit = this.startNum;\n } else if (this.startNum > this.multipleNum) {\n //起订量大于倍数\n if (this.startNum % this.multipleNum) {\n //起订量跟倍数的比值为小数\n this.zySingleInit = Math.ceil(this.startNum / this.multipleNum) * this.multipleNum;\n } else {\n //起订量跟倍数的比值为整数时取起订量\n this.zySingleInit = this.startNum;\n }\n } else {\n //起订量小于倍数\n this.zySingleInit = this.multipleNum;\n }\n\n if (data.tiered) {\n for (var i = 0; i < data.tiered.length; i++) {\n var singleData = data.tiered[i];\n this.zyladderArr.push({\n price: Number(singleData.price_cn).toFixed(4),\n num: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(singleData.purchases)\n });\n }\n }\n }\n }\n },\n goodsNum: function goodsNum(now) {\n if (String(now).indexOf(\".\") > 0) this.goodsNum = \"\";\n this.goodsNum = String(now).replace(/\\D/g, \"\");\n this.ladderComputer(now);\n\n if (Number(now) > this.stockNum) {\n this.tipText = \"库存不足,下单后我们将帮您订货\";\n this.btnText = \"预售订货\";\n } else {\n this.tipText = \"想要购买更多?直接下单,我们帮您订货\";\n this.btnText = \"立即购买\";\n }\n },\n zySingleInit: function zySingleInit(now) {\n this.goodsNum = now;\n }\n },\n methods: {\n showImagePreview: function showImagePreview(position, timer) {\n var images = [this.goodDetail.brand_logo || 'https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png'];\n var instance = Object(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"])({\n images: images,\n asyncClose: !!timer,\n showIndex: false\n });\n\n if (timer) {\n setTimeout(function () {\n instance.close();\n }, timer);\n }\n },\n imgErr: function imgErr() {\n this.goodDetail.brand_logo = \"https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png\";\n },\n changeNav: function changeNav(i) {\n this.navInit = i;\n\n if (i == 1) {\n if (this.goodsNum % this.aggregateNum) {\n //如果商品数量除以组数不为整数\n this.ypNum = Math.ceil(this.goodsNum / this.aggregateNum);\n } else {\n //如果商品数量除以组数为整数\n this.ypNum = Number(this.goodsNum) / this.aggregateNum;\n }\n }\n },\n ladderComputer: function ladderComputer(v) {\n //阶梯价计算价格v\n var length = this.zyladderArr.length;\n\n if (!length) {\n //阶梯价的数据为空\n this.singlePrice = 0;\n return;\n } else {\n //阶梯价的数据不为空\n if (length == 1) {\n //阶梯价的数据为1\n this.singlePrice = this.zyladderArr[0].price;\n return;\n } else {\n //阶梯价的数据不为1\n if (v <= this.zyladderArr[0].num) {\n //输入数量小于等于最小值\n this.singlePrice = this.zyladderArr[0].price;\n return;\n } else if (v >= this.zyladderArr[length - 1].num) {\n //输入数量大于等于最大值\n this.singlePrice = this.zyladderArr[length - 1].price;\n return;\n } else {\n for (var i = 0; i < this.zyladderArr.length; i++) {\n if (v >= this.zyladderArr[i].num && v < this.zyladderArr[i + 1].num) {\n this.singlePrice = this.zyladderArr[i].price;\n break;\n }\n }\n }\n }\n }\n },\n blurSingle: function blurSingle() {\n //购买数量为0\n if (!Number(this.goodsNum)) {\n this.$toast(\"购买数量不能少于起订量!\");\n this.goodsNum = this.zySingleInit;\n } else {\n //购买数量不为0\n if (Number(this.goodsNum) % this.multipleNum) {\n //当购买数量不是倍数的整数倍\n var num = Math.ceil(Number(this.goodsNum) / this.multipleNum) * this.multipleNum;\n\n if (num < this.startNum) {\n //取倍数的整数后小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n } else {\n //取倍数的整数后不小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\uFF0C\\u6211\\u4EEC\\u5DF2\\u4E3A\\u60A8\\u8C03\\u6574\\u8D2D\\u4E70\\u6570\\u91CF\\u3002\"));\n this.goodsNum = num;\n }\n } else {\n if (Number(this.goodsNum) < this.zySingleInit) {\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n }\n }\n }\n },\n blurZu: function blurZu() {\n if (Number(this.goodsNum) * Number(this.aggregateNum) < this.startNum) {\n this.$toast(\"购买数量不能少于起订量!\");\n this.ypNum = Math.ceil(this.startNum / this.aggregateNum);\n }\n },\n reduceSingle: function reduceSingle() {\n if (Number(this.goodsNum) <= this.startNum) {\n //购买数量小于等于起订量\n this.$toast(\"购买数量不能少于起订量!\");\n } else {\n //购买数量大于起订量\n if (Number(this.goodsNum) - this.multipleNum < this.startNum) {\n //购买数量减倍数小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n } else {\n this.goodsNum = Number(this.goodsNum) - this.multipleNum;\n }\n }\n },\n addSingle: function addSingle() {\n this.goodsNum = Number(this.goodsNum) + this.multipleNum;\n },\n reduceZu: function reduceZu() {\n if (Number(this.goodsNum) <= this.startNum) {\n return;\n } else {\n this.ypNum = Number(this.ypNum) - 1;\n }\n },\n addZu: function addZu() {\n this.ypNum = Number(this.ypNum) + 1;\n },\n xdOrAdd: function xdOrAdd(type) {\n var datax = {\n id: this.goodDetail.goods_id,\n num: this.goodsNum,\n buy: type == 1 ? 1 : -1,\n searchModel: this.$route.query.k || \"\",\n module_name: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n click_ptag: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getCookie(\"ptag\") || \"\"\n };\n _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].setCookie(\"ptag\", \"pop-\" + window.location.href, 1);\n\n if (type == 1) {\n //立即购买\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"立即购买\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n } else {\n //加入购物车\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"加入购物车\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n }\n\n this.$store.dispatch({\n type: \"addGoods\",\n data: {\n datax: datax,\n type: 1,\n k: this.$route.query.k || \"\"\n } //1表示自营 2表示联营\n\n });\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/zyDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'newsDetail',\n data: function data() {\n return {\n title: \"猎芯网-新闻列表详情\",\n p: 1,\n meaushow: true,\n popdetailbool: false\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n newsDetailObj: function newsDetailObj(state) {\n return state.newsdetail.newsDetailObj;\n },\n loadStatus: function loadStatus(state) {\n return state.newsdetail.loadStatus;\n },\n newsDetailAd: function newsDetailAd(state) {\n return state.newsdetail.newsDetailAd;\n }\n })),\n watch: {\n newsDetailObj: function newsDetailObj(val) {\n if (JSON.stringify(val) != \"{}\") {\n this.title = val.current_info.title;\n window.document.title = val.current_info.title;\n }\n }\n },\n created: function created() {\n this.getDataAd();\n this.getData();\n this.scrollFns();\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'newsArticleDetail',\n art_id: this.$route.params.art_id\n });\n },\n getDataAd: function getDataAd() {\n this.$store.dispatch({\n type: 'newsArticleDetailAd',\n cat_id: this.$route.params.cat_id\n });\n },\n popdetailact: function popdetailact() {\n this.popdetailbool = false;\n this.newsDetailAd.h5_news_ad_pop = \"\";\n },\n scrollFns: function scrollFns() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 100) {\n self.popdetailbool = true;\n }\n };\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/news/Detail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'newsDetail',\n data: function data() {\n return {\n title: \"猎芯网-新闻列表详情\",\n p: 1,\n meaushow: true,\n popdetailbool: false\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n newsDetailObj: function newsDetailObj(state) {\n return state.newsdetail.newsDetailObj;\n },\n loadStatus: function loadStatus(state) {\n return state.newsdetail.loadStatus;\n },\n newsDetailAd: function newsDetailAd(state) {\n return state.newsdetail.newsDetailAd;\n }\n })),\n watch: {\n newsDetailObj: function newsDetailObj(val) {\n if (JSON.stringify(val) != \"{}\") {\n this.title = val.current_info.title;\n window.document.title = val.current_info.title;\n }\n }\n },\n created: function created() {\n this.getDataAd();\n this.getData();\n this.scrollFns();\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'newsArticleDetail',\n art_id: this.$route.params.art_id\n });\n },\n getDataAd: function getDataAd() {\n this.$store.dispatch({\n type: 'newsArticleDetailAd',\n cat_id: this.$route.params.cat_id\n });\n },\n popdetailact: function popdetailact() {\n this.popdetailbool = false;\n this.newsDetailAd.h5_news_ad_pop = \"\";\n },\n scrollFns: function scrollFns() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 100) {\n self.popdetailbool = true;\n }\n };\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/news/Detail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletCashier',\n data: function data() {\n return {\n title: \"猎芯网收银台\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n password: ''\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n orderInfoData: function orderInfoData(state) {\n return state.wallet.orderInfoData;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'orderInfo',\n order_id: this.$route.query.order_id || ''\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n forget: function forget() {\n this.$router.push({\n path: '/wallet/retrieve'\n });\n },\n pay: function pay() {\n this.$store.dispatch({\n type: 'walletPayTodo',\n pay_code: 'wallet',\n pay_password: this.password,\n //支付密码 pay_code=wallet时传入\n rescue: 1,\n types: 0,\n site_type: 2,\n order_id: this.$route.query.order_id || ''\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Cashier.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletCashier',\n data: function data() {\n return {\n title: \"猎芯网收银台\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n password: ''\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n orderInfoData: function orderInfoData(state) {\n return state.wallet.orderInfoData;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'orderInfo',\n order_id: this.$route.query.order_id || ''\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n forget: function forget() {\n this.$router.push({\n path: '/wallet/retrieve'\n });\n },\n pay: function pay() {\n this.$store.dispatch({\n type: 'walletPayTodo',\n pay_code: 'wallet',\n pay_password: this.password,\n //支付密码 pay_code=wallet时传入\n rescue: 1,\n types: 0,\n site_type: 2,\n order_id: this.$route.query.order_id || ''\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Cashier.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletQuestion',\n data: function data() {\n return {\n title: \"常见问题\",\n meaushow: true\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({})),\n watch: {},\n created: function created() {},\n methods: {},\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Question.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletQuestion',\n data: function data() {\n return {\n title: \"常见问题\",\n meaushow: true\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({})),\n watch: {},\n created: function created() {},\n methods: {},\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Question.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Popup\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"DatetimePicker\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Picker\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletRecord',\n data: function data() {\n return {\n title: \"充值提现记录\",\n text: '全部',\n meaushow: true,\n recordYear: new Date().getFullYear(),\n recordMonth: new Date().getMonth() + 1 < 10 ? \"0\" + (new Date().getMonth() + 1) : new Date().getMonth() + 1,\n updateYear: '',\n updateMonth: '',\n dateShow: false,\n //年月弹出层\n typeShow: false,\n //类型弹出层\n currentDate: new Date(),\n //目前年月\n typeCheckedkeyId: '',\n typeCheckedText: '',\n dialog: false,\n active: 0,\n columns: [{\n \"keyId\": '',\n \"text\": \"全部\"\n }, {\n \"keyId\": 1,\n \"text\": \"钱包充值\"\n }, {\n \"keyId\": 2,\n \"text\": \"钱包提现\"\n }]\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_8__[\"mapState\"])({\n walletRecordData: function walletRecordData(state) {\n return state.wallet.walletRecordData;\n }\n })),\n watch: {},\n created: function created() {\n //格式化日期\n function setDate(date) {\n y = date.getFullYear();\n m = date.getMonth() + 1;\n d = date.getDate();\n m = m < 10 ? \"0\" + m : m;\n d = d < 10 ? \"0\" + d : d;\n return y + \"-\" + m + \"-\" + d;\n } //封装时间格式\n\n\n function format(time, format) {\n var t = new Date(time);\n\n var tf = function tf(i) {\n return (i < 10 ? '0' : '') + i;\n };\n\n return format.replace(/yyyy|MM|dd|HH|mm|ss/g, function (a) {\n switch (a) {\n case 'yyyy':\n return tf(t.getFullYear());\n break;\n\n case 'MM':\n return tf(t.getMonth() + 1);\n break;\n\n case 'mm':\n return tf(t.getMinutes());\n break;\n\n case 'dd':\n return tf(t.getDate());\n break;\n\n case 'HH':\n return tf(t.getHours());\n break;\n\n case 'ss':\n return tf(t.getSeconds());\n break;\n }\n });\n } //获取当前月的第一天\n\n\n function getCurrentMonthFirst() {\n var date = new Date();\n date.setDate(1);\n return date;\n } //获取当前月的最后一天\n\n\n function getCurrentMonthLast() {\n var date = new Date();\n var currentMonth = date.getMonth();\n var nextMonth = ++currentMonth;\n var nextMonthFirstDay = new Date(date.getFullYear(), nextMonth, 1);\n var oneDay = 1000 * 60 * 60 * 24;\n return new Date(nextMonthFirstDay - oneDay);\n }\n\n this.$store.dispatch({\n type: 'walletRecordList',\n wallet_type: '',\n stime: format(getCurrentMonthFirst(), 'yyyy-MM-dd'),\n etime: format(getCurrentMonthLast(), 'yyyy-MM-dd')\n });\n },\n methods: {\n showPopDate: function showPopDate() {\n if (!this.dateShow) {\n this.dateShow = true;\n } else {\n this.dateShow = false;\n }\n },\n showPopType: function showPopType() {\n this.dialog = !this.dialog;\n },\n formatter: function formatter(type, value) {\n if (type === 'year') {\n return \"\".concat(value);\n } else if (type === 'month') {\n return \"\".concat(value);\n }\n\n return value;\n },\n dateChange: function dateChange(value) {\n this.updateYear = value.getValues()[0];\n this.updateMonth = value.getValues()[1];\n },\n onDateCancel: function onDateCancel() {\n this.dateShow = false;\n this.recordYear = this.recordYear;\n this.recordMonth = this.recordMonth;\n },\n onDateConfirm: function onDateConfirm() {\n this.dateShow = false;\n this.recordYear = this.updateYear || this.recordYear;\n this.recordMonth = this.updateMonth || this.recordMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletRecordList',\n wallet_type: this.typeCheckedkeyId || '',\n stime: getMonthFirstDay(this.recordYear, this.recordMonth),\n etime: getMonthLastDay(this.recordYear, this.recordMonth)\n });\n },\n onTypeConfirm: function onTypeConfirm(value, index) {\n this.dialog = false;\n this.active = index;\n this.text = this.columns[index].text;\n this.typeCheckedkeyId = value;\n this.recordYear = this.updateYear || this.recordYear;\n this.recordMonth = this.updateMonth || this.recordMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletRecordList',\n wallet_type: value,\n stime: getMonthFirstDay(this.recordYear, this.recordMonth),\n etime: getMonthLastDay(this.recordYear, this.recordMonth)\n });\n },\n onTypeCancel: function onTypeCancel() {\n this.typeShow = false;\n },\n detail: function detail(amount) {\n //待支付的钱包充值订单,可跳去查看详情\n //直接调用$router.push实现携带参数的跳转\n this.$router.push({\n path: '/wallet/recharge',\n query: {\n amount: amount\n }\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Record.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Popup\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"DatetimePicker\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Picker\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletRecord',\n data: function data() {\n return {\n title: \"充值提现记录\",\n text: '全部',\n meaushow: true,\n recordYear: new Date().getFullYear(),\n recordMonth: new Date().getMonth() + 1 < 10 ? \"0\" + (new Date().getMonth() + 1) : new Date().getMonth() + 1,\n updateYear: '',\n updateMonth: '',\n dateShow: false,\n //年月弹出层\n typeShow: false,\n //类型弹出层\n currentDate: new Date(),\n //目前年月\n typeCheckedkeyId: '',\n typeCheckedText: '',\n dialog: false,\n active: 0,\n columns: [{\n \"keyId\": '',\n \"text\": \"全部\"\n }, {\n \"keyId\": 1,\n \"text\": \"钱包充值\"\n }, {\n \"keyId\": 2,\n \"text\": \"钱包提现\"\n }]\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_8__[\"mapState\"])({\n walletRecordData: function walletRecordData(state) {\n return state.wallet.walletRecordData;\n }\n })),\n watch: {},\n created: function created() {\n //格式化日期\n function setDate(date) {\n y = date.getFullYear();\n m = date.getMonth() + 1;\n d = date.getDate();\n m = m < 10 ? \"0\" + m : m;\n d = d < 10 ? \"0\" + d : d;\n return y + \"-\" + m + \"-\" + d;\n } //封装时间格式\n\n\n function format(time, format) {\n var t = new Date(time);\n\n var tf = function tf(i) {\n return (i < 10 ? '0' : '') + i;\n };\n\n return format.replace(/yyyy|MM|dd|HH|mm|ss/g, function (a) {\n switch (a) {\n case 'yyyy':\n return tf(t.getFullYear());\n break;\n\n case 'MM':\n return tf(t.getMonth() + 1);\n break;\n\n case 'mm':\n return tf(t.getMinutes());\n break;\n\n case 'dd':\n return tf(t.getDate());\n break;\n\n case 'HH':\n return tf(t.getHours());\n break;\n\n case 'ss':\n return tf(t.getSeconds());\n break;\n }\n });\n } //获取当前月的第一天\n\n\n function getCurrentMonthFirst() {\n var date = new Date();\n date.setDate(1);\n return date;\n } //获取当前月的最后一天\n\n\n function getCurrentMonthLast() {\n var date = new Date();\n var currentMonth = date.getMonth();\n var nextMonth = ++currentMonth;\n var nextMonthFirstDay = new Date(date.getFullYear(), nextMonth, 1);\n var oneDay = 1000 * 60 * 60 * 24;\n return new Date(nextMonthFirstDay - oneDay);\n }\n\n this.$store.dispatch({\n type: 'walletRecordList',\n wallet_type: '',\n stime: format(getCurrentMonthFirst(), 'yyyy-MM-dd'),\n etime: format(getCurrentMonthLast(), 'yyyy-MM-dd')\n });\n },\n methods: {\n showPopDate: function showPopDate() {\n if (!this.dateShow) {\n this.dateShow = true;\n } else {\n this.dateShow = false;\n }\n },\n showPopType: function showPopType() {\n this.dialog = !this.dialog;\n },\n formatter: function formatter(type, value) {\n if (type === 'year') {\n return \"\".concat(value);\n } else if (type === 'month') {\n return \"\".concat(value);\n }\n\n return value;\n },\n dateChange: function dateChange(value) {\n this.updateYear = value.getValues()[0];\n this.updateMonth = value.getValues()[1];\n },\n onDateCancel: function onDateCancel() {\n this.dateShow = false;\n this.recordYear = this.recordYear;\n this.recordMonth = this.recordMonth;\n },\n onDateConfirm: function onDateConfirm() {\n this.dateShow = false;\n this.recordYear = this.updateYear || this.recordYear;\n this.recordMonth = this.updateMonth || this.recordMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletRecordList',\n wallet_type: this.typeCheckedkeyId || '',\n stime: getMonthFirstDay(this.recordYear, this.recordMonth),\n etime: getMonthLastDay(this.recordYear, this.recordMonth)\n });\n },\n onTypeConfirm: function onTypeConfirm(value, index) {\n this.dialog = false;\n this.active = index;\n this.text = this.columns[index].text;\n this.typeCheckedkeyId = value;\n this.recordYear = this.updateYear || this.recordYear;\n this.recordMonth = this.updateMonth || this.recordMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletRecordList',\n wallet_type: value,\n stime: getMonthFirstDay(this.recordYear, this.recordMonth),\n etime: getMonthLastDay(this.recordYear, this.recordMonth)\n });\n },\n onTypeCancel: function onTypeCancel() {\n this.typeShow = false;\n },\n detail: function detail(amount) {\n //待支付的钱包充值订单,可跳去查看详情\n //直接调用$router.push实现携带参数的跳转\n this.$router.push({\n path: '/wallet/recharge',\n query: {\n amount: amount\n }\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Record.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletStatus',\n data: function data() {\n return {\n title: \"钱包状态\",\n meaushow: true\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n dialogTips: function dialogTips() {\n vant__WEBPACK_IMPORTED_MODULE_8__[\"Dialog\"].alert({\n 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>'\n }).then(function () {// on close\n });\n },\n submit: function submit() {\n this.$router.push({\n path: '/wallet/activate'\n });\n },\n forgetPassword: function forgetPassword() {\n this.$router.push({\n path: '/wallet/retrieve'\n });\n },\n bindBank: function bindBank() {\n this.$router.push({\n path: '/wallet/verify'\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Status.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_8__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletStatus',\n data: function data() {\n return {\n title: \"钱包状态\",\n meaushow: true\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n dialogTips: function dialogTips() {\n vant__WEBPACK_IMPORTED_MODULE_8__[\"Dialog\"].alert({\n 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>'\n }).then(function () {// on close\n });\n },\n submit: function submit() {\n this.$router.push({\n path: '/wallet/activate'\n });\n },\n forgetPassword: function forgetPassword() {\n this.$router.push({\n path: '/wallet/retrieve'\n });\n },\n bindBank: function bindBank() {\n this.$router.push({\n path: '/wallet/verify'\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Status.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Popup\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"DatetimePicker\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Picker\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletDetail',\n data: function data() {\n return {\n title: \"钱包明细\",\n meaushow: true,\n dateYear: new Date().getFullYear(),\n //初始化当前年\n dateMonth: new Date().getMonth() + 1 < 10 ? \"0\" + (new Date().getMonth() + 1) : new Date().getMonth() + 1,\n //初始化当前月\n updateYear: '',\n updateMonth: '',\n dateShow: false,\n //年月弹出层\n typeShow: false,\n //类型弹出层\n currentDate: new Date(),\n //目前年月\n typeCheckedkeyId: '',\n typeCheckedText: '',\n text: '全部交易类型',\n dialog: false,\n active: 0,\n columns: [{\n \"keyId\": '',\n \"text\": \"全部交易类型\"\n }, {\n \"keyId\": 21,\n \"text\": \"订单支付\"\n }, {\n \"keyId\": 10,\n \"text\": \"钱包充值\"\n }, {\n \"keyId\": 20,\n \"text\": \"钱包提现\"\n }, {\n \"keyId\": 12,\n \"text\": \"活动返现\"\n }, {\n \"keyId\": 100,\n \"text\": \"余额调整\"\n }]\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_8__[\"mapState\"])({\n walletListData: function walletListData(state) {\n return state.wallet.walletListData;\n }\n })),\n watch: {},\n created: function created() {\n //格式化日期\n function setDate(date) {\n y = date.getFullYear();\n m = date.getMonth() + 1;\n d = date.getDate();\n m = m < 10 ? \"0\" + m : m;\n d = d < 10 ? \"0\" + d : d;\n return y + \"-\" + m + \"-\" + d;\n } //封装时间格式\n\n\n function format(time, format) {\n var t = new Date(time);\n\n var tf = function tf(i) {\n return (i < 10 ? '0' : '') + i;\n };\n\n return format.replace(/yyyy|MM|dd|HH|mm|ss/g, function (a) {\n switch (a) {\n case 'yyyy':\n return tf(t.getFullYear());\n break;\n\n case 'MM':\n return tf(t.getMonth() + 1);\n break;\n\n case 'mm':\n return tf(t.getMinutes());\n break;\n\n case 'dd':\n return tf(t.getDate());\n break;\n\n case 'HH':\n return tf(t.getHours());\n break;\n\n case 'ss':\n return tf(t.getSeconds());\n break;\n }\n });\n } //获取当前月的第一天\n\n\n function getCurrentMonthFirst() {\n var date = new Date();\n date.setDate(1);\n return date;\n } //获取当前月的最后一天\n\n\n function getCurrentMonthLast() {\n var date = new Date();\n var currentMonth = date.getMonth();\n var nextMonth = ++currentMonth;\n var nextMonthFirstDay = new Date(date.getFullYear(), nextMonth, 1);\n var oneDay = 1000 * 60 * 60 * 24;\n return new Date(nextMonthFirstDay - oneDay);\n }\n\n this.$store.dispatch({\n type: 'walletListLog',\n log_type: '',\n stime: format(getCurrentMonthFirst(), 'yyyy-MM-dd'),\n etime: format(getCurrentMonthLast(), 'yyyy-MM-dd')\n });\n },\n methods: {\n showPopDate: function showPopDate() {\n if (!this.dateShow) {\n this.dateShow = true;\n } else {\n this.dateShow = false;\n }\n },\n showPopType: function showPopType() {\n this.dialog = !this.dialog;\n },\n formatter: function formatter(type, value) {\n if (type === 'year') {\n return \"\".concat(value);\n } else if (type === 'month') {\n return \"\".concat(value);\n }\n\n return value;\n },\n dateChange: function dateChange(value) {\n this.updateYear = value.getValues()[0];\n this.updateMonth = value.getValues()[1];\n },\n onDateCancel: function onDateCancel() {\n this.dateShow = false;\n this.dateYear = this.dateYear;\n this.dateMonth = this.dateMonth;\n },\n onDateConfirm: function onDateConfirm() {\n this.dateShow = false;\n this.dateYear = this.updateYear || this.dateYear;\n this.dateMonth = this.updateMonth || this.dateMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletListLog',\n log_type: this.typeCheckedkeyId || '',\n stime: getMonthFirstDay(this.dateYear, this.dateMonth),\n etime: getMonthLastDay(this.dateYear, this.dateMonth)\n });\n },\n onTypeConfirm: function onTypeConfirm(value, index) {\n this.dialog = false;\n this.active = index;\n this.text = this.columns[index].text;\n this.typeCheckedkeyId = value;\n this.dateYear = this.updateYear || this.dateYear;\n this.dateMonth = this.updateMonth || this.dateMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletListLog',\n log_type: value,\n stime: getMonthFirstDay(this.dateYear, this.dateMonth),\n etime: getMonthLastDay(this.dateYear, this.dateMonth)\n });\n },\n onTypeCancel: function onTypeCancel() {\n this.typeShow = false;\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/WalletDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Popup\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"DatetimePicker\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Picker\"]).use(vant__WEBPACK_IMPORTED_MODULE_10__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletDetail',\n data: function data() {\n return {\n title: \"钱包明细\",\n meaushow: true,\n dateYear: new Date().getFullYear(),\n //初始化当前年\n dateMonth: new Date().getMonth() + 1 < 10 ? \"0\" + (new Date().getMonth() + 1) : new Date().getMonth() + 1,\n //初始化当前月\n updateYear: '',\n updateMonth: '',\n dateShow: false,\n //年月弹出层\n typeShow: false,\n //类型弹出层\n currentDate: new Date(),\n //目前年月\n typeCheckedkeyId: '',\n typeCheckedText: '',\n text: '全部交易类型',\n dialog: false,\n active: 0,\n columns: [{\n \"keyId\": '',\n \"text\": \"全部交易类型\"\n }, {\n \"keyId\": 21,\n \"text\": \"订单支付\"\n }, {\n \"keyId\": 10,\n \"text\": \"钱包充值\"\n }, {\n \"keyId\": 20,\n \"text\": \"钱包提现\"\n }, {\n \"keyId\": 12,\n \"text\": \"活动返现\"\n }, {\n \"keyId\": 100,\n \"text\": \"余额调整\"\n }]\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_8__[\"mapState\"])({\n walletListData: function walletListData(state) {\n return state.wallet.walletListData;\n }\n })),\n watch: {},\n created: function created() {\n //格式化日期\n function setDate(date) {\n y = date.getFullYear();\n m = date.getMonth() + 1;\n d = date.getDate();\n m = m < 10 ? \"0\" + m : m;\n d = d < 10 ? \"0\" + d : d;\n return y + \"-\" + m + \"-\" + d;\n } //封装时间格式\n\n\n function format(time, format) {\n var t = new Date(time);\n\n var tf = function tf(i) {\n return (i < 10 ? '0' : '') + i;\n };\n\n return format.replace(/yyyy|MM|dd|HH|mm|ss/g, function (a) {\n switch (a) {\n case 'yyyy':\n return tf(t.getFullYear());\n break;\n\n case 'MM':\n return tf(t.getMonth() + 1);\n break;\n\n case 'mm':\n return tf(t.getMinutes());\n break;\n\n case 'dd':\n return tf(t.getDate());\n break;\n\n case 'HH':\n return tf(t.getHours());\n break;\n\n case 'ss':\n return tf(t.getSeconds());\n break;\n }\n });\n } //获取当前月的第一天\n\n\n function getCurrentMonthFirst() {\n var date = new Date();\n date.setDate(1);\n return date;\n } //获取当前月的最后一天\n\n\n function getCurrentMonthLast() {\n var date = new Date();\n var currentMonth = date.getMonth();\n var nextMonth = ++currentMonth;\n var nextMonthFirstDay = new Date(date.getFullYear(), nextMonth, 1);\n var oneDay = 1000 * 60 * 60 * 24;\n return new Date(nextMonthFirstDay - oneDay);\n }\n\n this.$store.dispatch({\n type: 'walletListLog',\n log_type: '',\n stime: format(getCurrentMonthFirst(), 'yyyy-MM-dd'),\n etime: format(getCurrentMonthLast(), 'yyyy-MM-dd')\n });\n },\n methods: {\n showPopDate: function showPopDate() {\n if (!this.dateShow) {\n this.dateShow = true;\n } else {\n this.dateShow = false;\n }\n },\n showPopType: function showPopType() {\n this.dialog = !this.dialog;\n },\n formatter: function formatter(type, value) {\n if (type === 'year') {\n return \"\".concat(value);\n } else if (type === 'month') {\n return \"\".concat(value);\n }\n\n return value;\n },\n dateChange: function dateChange(value) {\n this.updateYear = value.getValues()[0];\n this.updateMonth = value.getValues()[1];\n },\n onDateCancel: function onDateCancel() {\n this.dateShow = false;\n this.dateYear = this.dateYear;\n this.dateMonth = this.dateMonth;\n },\n onDateConfirm: function onDateConfirm() {\n this.dateShow = false;\n this.dateYear = this.updateYear || this.dateYear;\n this.dateMonth = this.updateMonth || this.dateMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletListLog',\n log_type: this.typeCheckedkeyId || '',\n stime: getMonthFirstDay(this.dateYear, this.dateMonth),\n etime: getMonthLastDay(this.dateYear, this.dateMonth)\n });\n },\n onTypeConfirm: function onTypeConfirm(value, index) {\n this.dialog = false;\n this.active = index;\n this.text = this.columns[index].text;\n this.typeCheckedkeyId = value;\n this.dateYear = this.updateYear || this.dateYear;\n this.dateMonth = this.updateMonth || this.dateMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletListLog',\n log_type: value,\n stime: getMonthFirstDay(this.dateYear, this.dateMonth),\n etime: getMonthLastDay(this.dateYear, this.dateMonth)\n });\n },\n onTypeCancel: function onTypeCancel() {\n this.typeShow = false;\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/WalletDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"NumberKeyboard\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletWithdraw',\n data: function data() {\n return {\n title: \"钱包提现\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n amountNum: true,\n password: '',\n withdrawNum: '',\n clickFlag: true,\n moneyBtn: false,\n zIndex: 999999\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_7__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n amountWithdrawFlag: function amountWithdrawFlag(state) {\n return state.wallet.amountWithdrawFlag;\n }\n })),\n watch: {\n withdrawNum: function withdrawNum(val) {\n if (Number(val) > Number(this.walletInfoData.wallet_usable)) {\n this.amountNum = false;\n } else {\n this.amountNum = true;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n withdraw: function withdraw() {\n //全部提现\n this.withdrawNum = this.walletInfoData.wallet_usable;\n },\n submit: function submit() {\n if (this.withdrawNum !== '') {\n if (this.password) {\n //提现申请\n this.$store.dispatch({\n type: 'walletWithdraw',\n amount: this.withdrawNum,\n pay_password: this.password\n });\n } else {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: '请输入提现密码'\n });\n }\n }\n },\n onInput: function onInput(key) {\n this.withdrawNum = this.withdrawNum + key;\n },\n onDelete: function onDelete(key) {\n this.withdrawNum = this.withdrawNum.slice(0, this.withdrawNum.length - 1);\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Withdraw.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"NumberKeyboard\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletWithdraw',\n data: function data() {\n return {\n title: \"钱包提现\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n amountNum: true,\n password: '',\n withdrawNum: '',\n clickFlag: true,\n moneyBtn: false,\n zIndex: 999999\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_7__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n amountWithdrawFlag: function amountWithdrawFlag(state) {\n return state.wallet.amountWithdrawFlag;\n }\n })),\n watch: {\n withdrawNum: function withdrawNum(val) {\n if (Number(val) > Number(this.walletInfoData.wallet_usable)) {\n this.amountNum = false;\n } else {\n this.amountNum = true;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n withdraw: function withdraw() {\n //全部提现\n this.withdrawNum = this.walletInfoData.wallet_usable;\n },\n submit: function submit() {\n if (this.withdrawNum !== '') {\n if (this.password) {\n //提现申请\n this.$store.dispatch({\n type: 'walletWithdraw',\n amount: this.withdrawNum,\n pay_password: this.password\n });\n } else {\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])({\n message: '请输入提现密码'\n });\n }\n }\n },\n onInput: function onInput(key) {\n this.withdrawNum = this.withdrawNum + key;\n },\n onDelete: function onDelete(key) {\n this.withdrawNum = this.withdrawNum.slice(0, this.withdrawNum.length - 1);\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Withdraw.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WithdrawDetail',\n data: function data() {\n return {\n title: \"充值提现详情\",\n meaushow: true,\n withdrawAmount: -1256.00,\n withdrawStatus: \"待支付\",\n withdrawType: \"提现单\",\n withdrawTime: \"2019-04-05 17:03:01\",\n withdrawNum: \"猎芯钱包\",\n withdrawBalance: 1200.00\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n rechargeWithdrawOrderDetail: function rechargeWithdrawOrderDetail(state) {\n return state.wallet.rechargeWithdrawOrderDetail;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'rechargeWithdrawOrderIfo',\n wallet_id: this.$route.params.id\n });\n },\n methods: {\n goCashier: function goCashier() {\n this.$router.push({\n path: '/wallet/recharge/' + this.$route.params.id\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/WithdrawDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WithdrawDetail',\n data: function data() {\n return {\n title: \"充值提现详情\",\n meaushow: true,\n withdrawAmount: -1256.00,\n withdrawStatus: \"待支付\",\n withdrawType: \"提现单\",\n withdrawTime: \"2019-04-05 17:03:01\",\n withdrawNum: \"猎芯钱包\",\n withdrawBalance: 1200.00\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n rechargeWithdrawOrderDetail: function rechargeWithdrawOrderDetail(state) {\n return state.wallet.rechargeWithdrawOrderDetail;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'rechargeWithdrawOrderIfo',\n wallet_id: this.$route.params.id\n });\n },\n methods: {\n goCashier: function goCashier() {\n this.$router.push({\n path: '/wallet/recharge/' + this.$route.params.id\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/WithdrawDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"aboutUs\",\n components: {\n \"van-swipe\": vant__WEBPACK_IMPORTED_MODULE_5__[\"Swipe\"],\n \"van-swipe-item\": vant__WEBPACK_IMPORTED_MODULE_5__[\"SwipeItem\"]\n },\n data: function data() {\n return {\n current: 0\n };\n },\n created: function created() {\n this.$store.dispatch({\n type: \"getAboutUsData\"\n });\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.aboutus.loading;\n },\n aboutdata: function aboutdata(state) {\n return state.aboutus.aboutdata;\n }\n })),\n methods: {\n onChange: function onChange(index) {\n var self = this;\n setTimeout(function () {\n self.current = index;\n }, 300);\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/aboutUs/index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"aboutUs\",\n components: {\n \"van-swipe\": vant__WEBPACK_IMPORTED_MODULE_5__[\"Swipe\"],\n \"van-swipe-item\": vant__WEBPACK_IMPORTED_MODULE_5__[\"SwipeItem\"]\n },\n data: function data() {\n return {\n current: 0\n };\n },\n created: function created() {\n this.$store.dispatch({\n type: \"getAboutUsData\"\n });\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.aboutus.loading;\n },\n aboutdata: function aboutdata(state) {\n return state.aboutus.aboutdata;\n }\n })),\n methods: {\n onChange: function onChange(index) {\n var self = this;\n setTimeout(function () {\n self.current = index;\n }, 300);\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/aboutUs/index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core ...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -32,7 +32,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex ...@@ -32,7 +32,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_1__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Lazyload\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'slide',\n props: {\n slidedata: Array\n },\n methods: {\n recordFn: function recordFn(index, url) {\n try {\n sensors.track('bannerClick', {\n page_type: 'h5-index',\n banner_location: 'h5-index-banner-' + index,\n url: url\n });\n } catch (e) {}\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/Slide.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_1__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Lazyload\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'slide',\n props: {\n slidedata: Array\n },\n methods: {\n recordFn: function recordFn(index, url) {\n try {\n sensors.track('bannerClick', {\n page_type: 'h5-index',\n banner_location: 'h5-index-banner-' + index,\n url: url\n });\n } catch (e) {}\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/Slide.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -44,7 +44,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_ ...@@ -44,7 +44,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Navigator.vue */ \"./src/views/common/Navigator.vue\");\n/* harmony import */ var _views_common_Slide_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Slide.vue */ \"./src/views/common/Slide.vue\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"PullRefresh\"]).use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Lazyload\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'index',\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_1__[\"mapState\"])({\n index: function index(state) {\n return state.home.index;\n },\n loading: function loading(state) {\n return state.home.loading;\n },\n loginCheck: function loginCheck(state) {\n return state.common.loginCheck;\n }\n }),\n data: function data() {\n return {\n ptag: 'index',\n isLoading: false,\n height: 33\n };\n },\n beforeRouteEnter: function beforeRouteEnter(to, from, next) {\n next(function (vm) {\n vm.getData();\n });\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'index'\n });\n },\n onRefresh: function onRefresh() {\n var _this = this;\n\n setTimeout(function () {\n _this.isLoading = false;\n\n _this.$store.dispatch({\n type: 'index'\n });\n }, 1000);\n },\n recordFn: function recordFn(type) {// if (type == 'login') {\n // sensors.track('TopNavClick', {\n // top_nav_click: \"h5-登录\"\n // });\n // } else if (type == 'search') {\n // sensors.track('TopNavClick', {\n // top_nav_click: \"h5-搜索\"\n // });\n // } else if (type == 'member') {\n // sensors.track('TopNavClick', {\n // top_nav_click: \"h5-会员中心\"\n // });\n // }\n },\n recordFloorFn: function recordFloorFn(type) {//神策预留\n },\n jump: function jump() {\n this.recordFn('search');\n window.location.href = '/v3/search/search_index.html';\n }\n },\n components: {\n Navigator: _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n Slide: _views_common_Slide_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/home/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Navigator.vue */ \"./src/views/common/Navigator.vue\");\n/* harmony import */ var _views_common_Slide_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Slide.vue */ \"./src/views/common/Slide.vue\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"PullRefresh\"]).use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Lazyload\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'index',\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_1__[\"mapState\"])({\n index: function index(state) {\n return state.home.index;\n },\n loading: function loading(state) {\n return state.home.loading;\n },\n loginCheck: function loginCheck(state) {\n return state.common.loginCheck;\n }\n }),\n data: function data() {\n return {\n ptag: 'index',\n isLoading: false,\n height: 33\n };\n },\n beforeRouteEnter: function beforeRouteEnter(to, from, next) {\n next(function (vm) {\n vm.getData();\n });\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'index'\n });\n },\n onRefresh: function onRefresh() {\n var _this = this;\n\n setTimeout(function () {\n _this.isLoading = false;\n\n _this.$store.dispatch({\n type: 'index'\n });\n }, 1000);\n },\n recordFn: function recordFn(type) {// if (type == 'login') {\n // sensors.track('TopNavClick', {\n // top_nav_click: \"h5-登录\"\n // });\n // } else if (type == 'search') {\n // sensors.track('TopNavClick', {\n // top_nav_click: \"h5-搜索\"\n // });\n // } else if (type == 'member') {\n // sensors.track('TopNavClick', {\n // top_nav_click: \"h5-会员中心\"\n // });\n // }\n },\n recordFloorFn: function recordFloorFn(type) {//神策预留\n },\n jump: function jump() {\n this.recordFn('search');\n window.location.href = '/v3/search/search_index.html';\n }\n },\n components: {\n Navigator: _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n Slide: _views_common_Slide_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/home/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -32,7 +32,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core ...@@ -32,7 +32,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.function.name */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.function.name.js\");\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es6_array_find_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es6.array.find-index */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.find-index.js\");\n/* harmony import */ var core_js_modules_es6_array_find_index__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_find_index__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _rightSelect__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./rightSelect */ \"./src/views/xianhuo/rightSelect.vue\");\n/* harmony import */ var _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/views/common/GoodsOne.vue */ \"./src/views/common/GoodsOne.vue\");\n/* harmony import */ var _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/views/common/goodsDetail.vue */ \"./src/views/common/goodsDetail.vue\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/views/common/addCarAlert */ \"./src/views/common/addCarAlert.vue\");\n\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"xianhuo\",\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n \"van-icon\": vant__WEBPACK_IMPORTED_MODULE_8__[\"Icon\"],\n rightSelect: _rightSelect__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n \"van-list\": vant__WEBPACK_IMPORTED_MODULE_8__[\"List\"],\n GoodsOne: _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n goodsDetail: _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_13__[\"default\"],\n addCarAlert: _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_15__[\"default\"]\n },\n data: function data() {\n return {\n detailsData: {\n isShow: false,\n id: \"\"\n },\n isWindow: true,\n carshow: true,\n isZy: true,\n zyFilterInit: -1,\n zyRankInit: 0,\n //0综合 1库存多到少 2//库存少到多 3//价格高到低 4//价格低到高\n classFilter: \"\",\n brand: \"\",\n encap: \"\",\n packing: \"\",\n classStr: \"\",\n brandStr: \"\",\n encapStr: \"\",\n packingStr: \"\",\n secondClass: [],\n //二级分类的数组\n addClassStr: \"\",\n //点击确定生成的分类id\n firstCheckId: \"\",\n //当二级数据存在时判断一级数据的id\n firstClassName: \"\",\n //第一级数据的name,\n secondClassName: \"\",\n //第二级数据的name\n isResetData: false,\n //是否重置数据\n isShowRight: false,\n //是否展示右侧\n list: [],\n loadingXh: false,\n p: 1,\n rightFilterData: {},\n navTopStr: {\n classStr: \"\",\n brandStr: \"\",\n encapStr: \"\",\n packingStr: \"\",\n rightStr: \"\"\n },\n isScrollShow: false\n };\n },\n created: function created() {\n this.getDefaultClass();\n this.$store.commit(\"closeAlert\");\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_9__[\"mapState\"])({\n zyFilter: function zyFilter(state) {\n return state.xianhuo.zyFilter;\n },\n zyClass: function zyClass(state) {\n return state.xianhuo.zyClass;\n },\n zyRank: function zyRank(state) {\n return state.xianhuo.zyRank;\n },\n classData: function classData(state) {\n return state.xianhuo.classData;\n },\n classLight: function classLight(state) {\n return state.xianhuo.classLight;\n },\n zyFilterData: function zyFilterData(state) {\n return state.xianhuo.zyFilterData;\n },\n zyData: function zyData(state) {\n return state.xianhuo.zyData;\n },\n total: function total(state) {\n return state.xianhuo.total;\n },\n loading: function loading(state) {\n return state.xianhuo.loading;\n },\n finished: function finished(state) {\n return state.xianhuo.finished;\n },\n isShowAlert: function isShowAlert(state) {\n return state.gooddetail.isShowAlert;\n }\n })),\n watch: {\n isShowAlert: function isShowAlert(now) {\n if (now) {\n this.detailsData = {\n isShow: false,\n id: \"\"\n };\n this.$store.dispatch({\n type: \"cartCount\"\n });\n }\n },\n loading: function loading(now) {\n this.loadingXh = now;\n },\n zyRankInit: function zyRankInit(now) {\n this.p = 1;\n this.getZyData();\n },\n classLight: function classLight(now) {\n this.secondClass = now.class_id2_list || [];\n this.firstCheckId = now.class_id1;\n this.firstClassName = now.class_id1_name;\n var index = this.secondClass.findIndex(function (val, index, arr) {\n if (val.flag) {\n return val;\n }\n });\n\n if (index == -1) {\n this.classFilter = this.firstClassName;\n } else {\n this.classFilter = this.firstClassName + \",\" + this.secondClass[index].class_id2_name;\n }\n\n this.navTopStr.classStr = this.classFilter;\n }\n },\n methods: {\n getDefaultClass: function getDefaultClass() {\n var _this = this;\n\n _api_index__WEBPACK_IMPORTED_MODULE_14__[\"services\"].defaultClass().then(function (res) {\n if (res.data.err_code == 0) {\n _this.classStr = _this.$route.query.list_id || res.data.data;\n _this.addClassStr = _this.$route.query.list_id || res.data.data;\n\n _this.getZyData();\n } else {}\n }).catch(function (err) {});\n },\n placeOrder: function placeOrder(id) {\n this.detailsData = {\n isShow: true,\n id: id\n };\n },\n scrollEvent: function scrollEvent(e) {\n if (this.navTopStr.classStr || this.navTopStr.brandStr || this.navTopStr.encapStr || this.navTopStr.packingStr || this.navTopStr.rightStr) {\n if (e.target.scrollTop > 40) {\n this.isScrollShow = true;\n } else {\n this.isScrollShow = false;\n }\n }\n },\n onLoad: function onLoad() {\n this.p++;\n this.getZyData();\n },\n toSearch: function toSearch() {\n window.location.href = \"/v3/search/search_index.html\";\n },\n resetRight: function resetRight() {\n this.getZyData();\n },\n filterRight: function filterRight(v) {\n this.isShowRight = false;\n this.p = 1;\n this.rightFilterData = v;\n this.getZyData();\n },\n openRight: function openRight() {\n this.isShowRight = true;\n this.zyFilterInit = -1;\n },\n closeRight: function closeRight() {\n if (this.isShowRight) {\n this.isShowRight = false;\n }\n\n if (this.zyFilterInit != -1) {\n this.zyFilterInit = -1;\n }\n },\n getClassSecond: function getClassSecond(v) {\n //第一级数据选中\n this.firstCheckId = \"\";\n this.classStr = v.class_id1;\n this.firstClassName = v.class_id1_name;\n this.isResetData = false;\n\n for (var i = 0; i < this.classData.length; i++) {\n if (this.classData[i].class_id1 == v.class_id1) {\n this.classData[i].flag = true;\n this.secondClass = this.classData[i].class_id2_list;\n this.getSecondData({}, \"2\");\n } else {\n this.classData[i].flag = false;\n }\n }\n },\n getSecondData: function getSecondData(v) {\n var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"1\";\n\n //第二级数据选中\n if (type == \"1\") {\n this.classStr = v.class_id2;\n this.secondClassName = v.class_id2_name;\n this.isResetData = false;\n }\n\n for (var i = 0; i < this.secondClass.length; i++) {\n if (this.secondClass[i].class_id2 == v.class_id2) {\n this.secondClass[i].flag = true;\n } else {\n this.secondClass[i].flag = false;\n }\n }\n },\n getZyData: function getZyData() {\n var params = {\n p: this.p,\n offset: 10\n };\n this.navTopStr.rightStr = \"\";\n var rightFilterStr = JSON.stringify(this.rightFilterData);\n\n if (this.addClassStr) {\n params[\"class_id/condition\"] = this.addClassStr;\n }\n\n if (this.brandStr) {\n params[\"brand_id/condition\"] = this.brandStr;\n }\n\n if (this.encapStr) {\n params[\"encap/condition\"] = this.encapStr;\n }\n\n if (this.packingStr) {\n params[\"packing/condition\"] = this.packingStr;\n }\n\n if (this.zyRankInit == 0) {\n params[\"com_rank\"] = 1;\n } else if (this.zyRankInit == 1) {\n params[\"stock_rank\"] = 2;\n } else if (this.zyRankInit == 2) {\n params[\"stock_rank\"] = 1;\n } else if (this.zyRankInit == 3) {\n params[\"single_rank\"] = 1;\n } else if (this.zyRankInit == 4) {\n params[\"single_rank\"] = 2;\n }\n\n if (rightFilterStr !== \"{}\") {\n if (JSON.stringify(this.rightFilterData.filterData) !== \"{}\") {\n params[\"attrs/nested\"] = JSON.stringify(this.rightFilterData.filterData);\n var str = \"\";\n\n for (var k in this.rightFilterData.filterData) {\n var singData = this.rightFilterData.filterData[k];\n\n if (singData.length) {\n str += \".\" + singData.join();\n }\n }\n\n str = str.slice(1);\n console.log(str);\n this.navTopStr.rightStr = str;\n }\n\n if (this.rightFilterData.isyh) {\n params[\"avail_rank\"] = 1;\n }\n }\n\n this.$store.dispatch({\n type: \"getZyData\",\n data: params\n });\n },\n changezyRankInit: function changezyRankInit(i) {\n if (i == \"kc\") {\n if (this.zyRankInit == 1) {\n this.zyRankInit = 2;\n } else {\n this.zyRankInit = 1;\n }\n } else if (i == \"jg\") {\n if (this.zyRankInit == 3) {\n this.zyRankInit = 4;\n } else {\n this.zyRankInit = 3;\n }\n } else {\n this.zyRankInit = i;\n }\n },\n changeZyFilterInit: function changeZyFilterInit(i) {\n if (this.zyFilterInit == i) {\n this.zyFilterInit = -1;\n } else {\n this.zyFilterInit = i;\n }\n },\n addFilterData: function addFilterData(k, type) {\n this.isResetData = false;\n\n if (!this.zyFilterData[type].list[k].check) {\n this.$set(this.zyFilterData[type].list[k], \"check\", true);\n } else {\n this.$set(this.zyFilterData[type].list[k], \"check\", false);\n }\n },\n reset: function reset(type) {\n //重置筛选数据\n this.isResetData = true;\n var str = \"\";\n\n if (type == \"class\") {\n this.firstCheckId = \"\";\n\n for (var i = 0; i < this.classData.length; i++) {\n this.classData[i].flag = 0;\n }\n\n for (var _i = 0; _i < this.secondClass.length; _i++) {\n this.secondClass[_i].flag = 0;\n }\n } else {\n if (type == \"brand\") {\n str = \"brand_id\";\n } else if (type == \"encap\") {\n str = \"encap\";\n } else if (type == \"packing\") {\n str = \"packing\";\n }\n\n for (var _i2 = 0; _i2 < this.zyFilterData[str].list.length; _i2++) {\n if (this.zyFilterData[str].list[_i2].check) {\n this.zyFilterData[str].list[_i2].check = false;\n }\n }\n }\n },\n addPostData: function addPostData(type) {\n //添加筛选数据\n this.zyFilterInit = -1;\n\n if (type == \"class\") {\n //分类筛选\n this.brand = \"\";\n this.encap = \"\";\n this.packing = \"\";\n this.brandStr = \"\";\n this.encapStr = \"\";\n this.packingStr = \"\";\n\n if (this.isResetData) {\n this.addClassStr = this.$route.query.list_id || \"\";\n this.firstClassName = \"\";\n this.secondClassName = \"\";\n this.classFilter = \"\";\n this.navTopStr.classStr = \"\";\n } else {\n this.addClassStr = this.classStr;\n this.classFilter = this.secondClassName ? this.firstClassName + \",\" + this.secondClassName : this.firstClassName;\n this.navTopStr.classStr = this.classFilter;\n }\n } else if (type == \"brand\") {\n //制造商\n this.brandStr = \"\";\n this.brand = \"\";\n\n if (this.isResetData) {\n this.navTopStr.brandStr = \"\";\n } else {\n for (var i = 0; i < this.zyFilterData[\"brand_id\"].list.length; i++) {\n if (this.zyFilterData[\"brand_id\"].list[i].check) {\n this.brandStr += this.zyFilterData[\"brand_id\"].list[i].id + \",\";\n this.brand += this.zyFilterData[\"brand_id\"].list[i].name + \",\";\n }\n }\n }\n\n this.brandStr = this.brandStr.slice(0, -1);\n this.brand = this.brand.slice(0, -1);\n this.navTopStr.brandStr = this.brand;\n } else if (type == \"encap\") {\n //封装规格\n this.encapStr = \"\";\n this.encap = \"\";\n\n if (this.isResetData) {\n this.navTopStr.encapStr = \"\";\n } else {\n for (var _i3 = 0; _i3 < this.zyFilterData[\"encap\"].list.length; _i3++) {\n if (this.zyFilterData[\"encap\"].list[_i3].check) {\n this.encapStr += this.zyFilterData[\"encap\"].list[_i3].id + \",\";\n this.encap += this.zyFilterData[\"encap\"].list[_i3].name + \",\";\n }\n }\n }\n\n this.encapStr = this.encapStr.slice(0, -1);\n this.encap = this.encap.slice(0, -1);\n this.navTopStr.encapStr = this.encap;\n } else if (type == \"packing\") {\n //包装筛选\n this.packingStr = \"\";\n this.packing = \"\";\n\n if (this.isResetData) {\n this.navTopStr.packingStr = \"\";\n } else {\n for (var _i4 = 0; _i4 < this.zyFilterData[\"packing\"].list.length; _i4++) {\n if (this.zyFilterData[\"packing\"].list[_i4].check) {\n this.packingStr += this.zyFilterData[\"packing\"].list[_i4].id + \",\";\n this.packing += this.zyFilterData[\"packing\"].list[_i4].name + \",\";\n }\n }\n }\n\n this.packingStr = this.packingStr.slice(0, -1);\n this.packing = this.packing.slice(0, -1);\n this.navTopStr.packingStr = this.packing;\n }\n\n this.p = 1;\n this.getZyData();\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/xianhuo/xianhuo.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.function.name */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.function.name.js\");\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es6_array_find_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es6.array.find-index */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.find-index.js\");\n/* harmony import */ var core_js_modules_es6_array_find_index__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_find_index__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _rightSelect__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./rightSelect */ \"./src/views/xianhuo/rightSelect.vue\");\n/* harmony import */ var _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/views/common/GoodsOne.vue */ \"./src/views/common/GoodsOne.vue\");\n/* harmony import */ var _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/views/common/goodsDetail.vue */ \"./src/views/common/goodsDetail.vue\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/views/common/addCarAlert */ \"./src/views/common/addCarAlert.vue\");\n\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"xianhuo\",\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n \"van-icon\": vant__WEBPACK_IMPORTED_MODULE_8__[\"Icon\"],\n rightSelect: _rightSelect__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n \"van-list\": vant__WEBPACK_IMPORTED_MODULE_8__[\"List\"],\n GoodsOne: _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n goodsDetail: _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_13__[\"default\"],\n addCarAlert: _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_15__[\"default\"]\n },\n data: function data() {\n return {\n detailsData: {\n isShow: false,\n id: \"\"\n },\n isWindow: true,\n carshow: true,\n isZy: true,\n zyFilterInit: -1,\n zyRankInit: 0,\n //0综合 1库存多到少 2//库存少到多 3//价格高到低 4//价格低到高\n classFilter: \"\",\n brand: \"\",\n encap: \"\",\n packing: \"\",\n classStr: \"\",\n brandStr: \"\",\n encapStr: \"\",\n packingStr: \"\",\n secondClass: [],\n //二级分类的数组\n addClassStr: \"\",\n //点击确定生成的分类id\n firstCheckId: \"\",\n //当二级数据存在时判断一级数据的id\n firstClassName: \"\",\n //第一级数据的name,\n secondClassName: \"\",\n //第二级数据的name\n isResetData: false,\n //是否重置数据\n isShowRight: false,\n //是否展示右侧\n list: [],\n loadingXh: false,\n p: 1,\n rightFilterData: {},\n navTopStr: {\n classStr: \"\",\n brandStr: \"\",\n encapStr: \"\",\n packingStr: \"\",\n rightStr: \"\"\n },\n isScrollShow: false\n };\n },\n created: function created() {\n this.getDefaultClass();\n this.$store.commit(\"closeAlert\");\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_9__[\"mapState\"])({\n zyFilter: function zyFilter(state) {\n return state.xianhuo.zyFilter;\n },\n zyClass: function zyClass(state) {\n return state.xianhuo.zyClass;\n },\n zyRank: function zyRank(state) {\n return state.xianhuo.zyRank;\n },\n classData: function classData(state) {\n return state.xianhuo.classData;\n },\n classLight: function classLight(state) {\n return state.xianhuo.classLight;\n },\n zyFilterData: function zyFilterData(state) {\n return state.xianhuo.zyFilterData;\n },\n zyData: function zyData(state) {\n return state.xianhuo.zyData;\n },\n total: function total(state) {\n return state.xianhuo.total;\n },\n loading: function loading(state) {\n return state.xianhuo.loading;\n },\n finished: function finished(state) {\n return state.xianhuo.finished;\n },\n isShowAlert: function isShowAlert(state) {\n return state.gooddetail.isShowAlert;\n }\n })),\n watch: {\n isShowAlert: function isShowAlert(now) {\n if (now) {\n this.detailsData = {\n isShow: false,\n id: \"\"\n };\n this.$store.dispatch({\n type: \"cartCount\"\n });\n }\n },\n loading: function loading(now) {\n this.loadingXh = now;\n },\n zyRankInit: function zyRankInit(now) {\n this.p = 1;\n this.getZyData();\n },\n classLight: function classLight(now) {\n this.secondClass = now.class_id2_list || [];\n this.firstCheckId = now.class_id1;\n this.firstClassName = now.class_id1_name;\n var index = this.secondClass.findIndex(function (val, index, arr) {\n if (val.flag) {\n return val;\n }\n });\n\n if (index == -1) {\n this.classFilter = this.firstClassName;\n } else {\n this.classFilter = this.firstClassName + \",\" + this.secondClass[index].class_id2_name;\n }\n\n this.navTopStr.classStr = this.classFilter;\n }\n },\n methods: {\n getDefaultClass: function getDefaultClass() {\n var _this = this;\n\n _api_index__WEBPACK_IMPORTED_MODULE_14__[\"services\"].defaultClass().then(function (res) {\n if (res.data.err_code == 0) {\n _this.classStr = _this.$route.query.list_id || res.data.data;\n _this.addClassStr = _this.$route.query.list_id || res.data.data;\n\n _this.getZyData();\n } else {}\n }).catch(function (err) {});\n },\n placeOrder: function placeOrder(id) {\n this.detailsData = {\n isShow: true,\n id: id\n };\n },\n scrollEvent: function scrollEvent(e) {\n if (this.navTopStr.classStr || this.navTopStr.brandStr || this.navTopStr.encapStr || this.navTopStr.packingStr || this.navTopStr.rightStr) {\n if (e.target.scrollTop > 40) {\n this.isScrollShow = true;\n } else {\n this.isScrollShow = false;\n }\n }\n },\n onLoad: function onLoad() {\n this.p++;\n this.getZyData();\n },\n toSearch: function toSearch() {\n window.location.href = \"/v3/search/search_index.html\";\n },\n resetRight: function resetRight() {\n this.getZyData();\n },\n filterRight: function filterRight(v) {\n this.isShowRight = false;\n this.p = 1;\n this.rightFilterData = v;\n this.getZyData();\n },\n openRight: function openRight() {\n this.isShowRight = true;\n this.zyFilterInit = -1;\n },\n closeRight: function closeRight() {\n if (this.isShowRight) {\n this.isShowRight = false;\n }\n\n if (this.zyFilterInit != -1) {\n this.zyFilterInit = -1;\n }\n },\n getClassSecond: function getClassSecond(v) {\n //第一级数据选中\n this.firstCheckId = \"\";\n this.classStr = v.class_id1;\n this.firstClassName = v.class_id1_name;\n this.isResetData = false;\n\n for (var i = 0; i < this.classData.length; i++) {\n if (this.classData[i].class_id1 == v.class_id1) {\n this.classData[i].flag = true;\n this.secondClass = this.classData[i].class_id2_list;\n this.getSecondData({}, \"2\");\n } else {\n this.classData[i].flag = false;\n }\n }\n },\n getSecondData: function getSecondData(v) {\n var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"1\";\n\n //第二级数据选中\n if (type == \"1\") {\n this.classStr = v.class_id2;\n this.secondClassName = v.class_id2_name;\n this.isResetData = false;\n }\n\n for (var i = 0; i < this.secondClass.length; i++) {\n if (this.secondClass[i].class_id2 == v.class_id2) {\n this.secondClass[i].flag = true;\n } else {\n this.secondClass[i].flag = false;\n }\n }\n },\n getZyData: function getZyData() {\n var params = {\n p: this.p,\n offset: 10\n };\n this.navTopStr.rightStr = \"\";\n var rightFilterStr = JSON.stringify(this.rightFilterData);\n\n if (this.addClassStr) {\n params[\"class_id/condition\"] = this.addClassStr;\n }\n\n if (this.brandStr) {\n params[\"brand_id/condition\"] = this.brandStr;\n }\n\n if (this.encapStr) {\n params[\"encap/condition\"] = this.encapStr;\n }\n\n if (this.packingStr) {\n params[\"packing/condition\"] = this.packingStr;\n }\n\n if (this.zyRankInit == 0) {\n params[\"com_rank\"] = 1;\n } else if (this.zyRankInit == 1) {\n params[\"stock_rank\"] = 2;\n } else if (this.zyRankInit == 2) {\n params[\"stock_rank\"] = 1;\n } else if (this.zyRankInit == 3) {\n params[\"single_rank\"] = 1;\n } else if (this.zyRankInit == 4) {\n params[\"single_rank\"] = 2;\n }\n\n if (rightFilterStr !== \"{}\") {\n if (JSON.stringify(this.rightFilterData.filterData) !== \"{}\") {\n params[\"attrs/nested\"] = JSON.stringify(this.rightFilterData.filterData);\n var str = \"\";\n\n for (var k in this.rightFilterData.filterData) {\n var singData = this.rightFilterData.filterData[k];\n\n if (singData.length) {\n str += \".\" + singData.join();\n }\n }\n\n str = str.slice(1);\n console.log(str);\n this.navTopStr.rightStr = str;\n }\n\n if (this.rightFilterData.isyh) {\n params[\"avail_rank\"] = 1;\n }\n }\n\n this.$store.dispatch({\n type: \"getZyData\",\n data: params\n });\n },\n changezyRankInit: function changezyRankInit(i) {\n if (i == \"kc\") {\n if (this.zyRankInit == 1) {\n this.zyRankInit = 2;\n } else {\n this.zyRankInit = 1;\n }\n } else if (i == \"jg\") {\n if (this.zyRankInit == 3) {\n this.zyRankInit = 4;\n } else {\n this.zyRankInit = 3;\n }\n } else {\n this.zyRankInit = i;\n }\n },\n changeZyFilterInit: function changeZyFilterInit(i) {\n if (this.zyFilterInit == i) {\n this.zyFilterInit = -1;\n } else {\n this.zyFilterInit = i;\n }\n },\n addFilterData: function addFilterData(k, type) {\n this.isResetData = false;\n\n if (!this.zyFilterData[type].list[k].check) {\n this.$set(this.zyFilterData[type].list[k], \"check\", true);\n } else {\n this.$set(this.zyFilterData[type].list[k], \"check\", false);\n }\n },\n reset: function reset(type) {\n //重置筛选数据\n this.isResetData = true;\n var str = \"\";\n\n if (type == \"class\") {\n this.firstCheckId = \"\";\n\n for (var i = 0; i < this.classData.length; i++) {\n this.classData[i].flag = 0;\n }\n\n for (var _i = 0; _i < this.secondClass.length; _i++) {\n this.secondClass[_i].flag = 0;\n }\n } else {\n if (type == \"brand\") {\n str = \"brand_id\";\n } else if (type == \"encap\") {\n str = \"encap\";\n } else if (type == \"packing\") {\n str = \"packing\";\n }\n\n for (var _i2 = 0; _i2 < this.zyFilterData[str].list.length; _i2++) {\n if (this.zyFilterData[str].list[_i2].check) {\n this.zyFilterData[str].list[_i2].check = false;\n }\n }\n }\n },\n addPostData: function addPostData(type) {\n //添加筛选数据\n this.zyFilterInit = -1;\n\n if (type == \"class\") {\n //分类筛选\n this.brand = \"\";\n this.encap = \"\";\n this.packing = \"\";\n this.brandStr = \"\";\n this.encapStr = \"\";\n this.packingStr = \"\";\n\n if (this.isResetData) {\n this.addClassStr = this.$route.query.list_id || \"\";\n this.firstClassName = \"\";\n this.secondClassName = \"\";\n this.classFilter = \"\";\n this.navTopStr.classStr = \"\";\n } else {\n this.addClassStr = this.classStr;\n this.classFilter = this.secondClassName ? this.firstClassName + \",\" + this.secondClassName : this.firstClassName;\n this.navTopStr.classStr = this.classFilter;\n }\n } else if (type == \"brand\") {\n //制造商\n this.brandStr = \"\";\n this.brand = \"\";\n\n if (this.isResetData) {\n this.navTopStr.brandStr = \"\";\n } else {\n for (var i = 0; i < this.zyFilterData[\"brand_id\"].list.length; i++) {\n if (this.zyFilterData[\"brand_id\"].list[i].check) {\n this.brandStr += this.zyFilterData[\"brand_id\"].list[i].id + \",\";\n this.brand += this.zyFilterData[\"brand_id\"].list[i].name + \",\";\n }\n }\n }\n\n this.brandStr = this.brandStr.slice(0, -1);\n this.brand = this.brand.slice(0, -1);\n this.navTopStr.brandStr = this.brand;\n } else if (type == \"encap\") {\n //封装规格\n this.encapStr = \"\";\n this.encap = \"\";\n\n if (this.isResetData) {\n this.navTopStr.encapStr = \"\";\n } else {\n for (var _i3 = 0; _i3 < this.zyFilterData[\"encap\"].list.length; _i3++) {\n if (this.zyFilterData[\"encap\"].list[_i3].check) {\n this.encapStr += this.zyFilterData[\"encap\"].list[_i3].id + \",\";\n this.encap += this.zyFilterData[\"encap\"].list[_i3].name + \",\";\n }\n }\n }\n\n this.encapStr = this.encapStr.slice(0, -1);\n this.encap = this.encap.slice(0, -1);\n this.navTopStr.encapStr = this.encap;\n } else if (type == \"packing\") {\n //包装筛选\n this.packingStr = \"\";\n this.packing = \"\";\n\n if (this.isResetData) {\n this.navTopStr.packingStr = \"\";\n } else {\n for (var _i4 = 0; _i4 < this.zyFilterData[\"packing\"].list.length; _i4++) {\n if (this.zyFilterData[\"packing\"].list[_i4].check) {\n this.packingStr += this.zyFilterData[\"packing\"].list[_i4].id + \",\";\n this.packing += this.zyFilterData[\"packing\"].list[_i4].name + \",\";\n }\n }\n }\n\n this.packingStr = this.packingStr.slice(0, -1);\n this.packing = this.packing.slice(0, -1);\n this.navTopStr.packingStr = this.packing;\n }\n\n this.p = 1;\n this.getZyData();\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/xianhuo/xianhuo.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"chain\",\n data: function data() {\n return {\n bannerHeight: 220,\n needVal: \"\",\n needValLength: 0,\n tipMsg: \"\",\n linkName: \"\",\n mobile: \"\",\n codetext: \"获取验证码\",\n codeactive: false,\n codestatus: false,\n imgcodestatus: false,\n imgcodeval: \"\",\n codeval: \"\"\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.chain.loading;\n },\n formImgShow: function formImgShow(state) {\n return state.chain.formImgShow;\n },\n formCodeStatus: function formCodeStatus(state) {\n return state.chain.formCodeStatus;\n }\n })),\n created: function created() {},\n methods: {\n //短信倒计时form1\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n getCode: function getCode() {\n if (this['imgcodestatus']) {\n if (!this['imgcodeval']) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: \"请确认图片验证码\",\n duration: 3000\n });\n return;\n }\n }\n\n if (this.codeactive) {\n return;\n }\n\n this.$store.dispatch({\n type: 'chainSmsVerify',\n mobile: this['mobile'],\n verify: this['imgcodeval']\n });\n },\n submitForm: function submitForm() {\n if (this.needVal.length < 10) {\n console.log(55);\n this.tipMsg = '亲,您的详细需求最少10个字';\n return;\n } else {\n this.tipMsg = \"\";\n }\n\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(this.linkName)) {\n this.tipMsg = '亲,称呼只能为英文和中文';\n return;\n } else {\n this.tipMsg = '';\n }\n\n var r = /^1[3456789]\\d{9}$/;\n\n if (r.test(this['mobile'])) {\n this['tipMsg'] = \"\";\n } else {\n this['tipMsg'] = \"请输入正确格式的手机号码\";\n return;\n }\n\n if (!this['codeval']) {\n this['tipMsg'] = \"验证码不能为空\";\n return;\n } else {\n this['tipMsg'] = \"\";\n }\n\n this.$store.dispatch({\n type: 'chainFindBg',\n need: this['needVal'],\n mobile: this['mobile'],\n linkName: this['linkName'],\n verifyCode: this['codeval']\n });\n }\n },\n watch: {\n needVal: function needVal(val) {\n this.needValLength = val.length;\n\n if (val.length < 10) {\n this.tipMsg = '亲,您的详细需求最少10个字';\n } else {\n this.tipMsg = \"\";\n }\n },\n linkName: function linkName(val) {\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(val)) {\n this.tipMsg = '亲,称呼只能为英文和中文';\n } else {\n this.tipMsg = '';\n }\n },\n mobile: function mobile(val) {\n var r = /^1[3456789]\\d{9}$/;\n\n if (r.test(val)) {\n this.tipMsg = \"\";\n this.codestatus = true;\n } else {\n this.tipMsg = \"请输入正确格式的手机号码\";\n this.codestatus = false;\n }\n },\n formCodeStatus: function formCodeStatus(val) {\n if (val) {\n this.timeNum();\n }\n },\n formImgShow: function formImgShow(val) {\n this.imgcodestatus = val;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/chain/chain.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"chain\",\n data: function data() {\n return {\n bannerHeight: 220,\n needVal: \"\",\n needValLength: 0,\n tipMsg: \"\",\n linkName: \"\",\n mobile: \"\",\n codetext: \"获取验证码\",\n codeactive: false,\n codestatus: false,\n imgcodestatus: false,\n imgcodeval: \"\",\n codeval: \"\"\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.chain.loading;\n },\n formImgShow: function formImgShow(state) {\n return state.chain.formImgShow;\n },\n formCodeStatus: function formCodeStatus(state) {\n return state.chain.formCodeStatus;\n }\n })),\n created: function created() {},\n methods: {\n //短信倒计时form1\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n getCode: function getCode() {\n if (this['imgcodestatus']) {\n if (!this['imgcodeval']) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: \"请确认图片验证码\",\n duration: 3000\n });\n return;\n }\n }\n\n if (this.codeactive) {\n return;\n }\n\n this.$store.dispatch({\n type: 'chainSmsVerify',\n mobile: this['mobile'],\n verify: this['imgcodeval']\n });\n },\n submitForm: function submitForm() {\n if (this.needVal.length < 10) {\n console.log(55);\n this.tipMsg = '亲,您的详细需求最少10个字';\n return;\n } else {\n this.tipMsg = \"\";\n }\n\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(this.linkName)) {\n this.tipMsg = '亲,称呼只能为英文和中文';\n return;\n } else {\n this.tipMsg = '';\n }\n\n var r = /^1[3456789]\\d{9}$/;\n\n if (r.test(this['mobile'])) {\n this['tipMsg'] = \"\";\n } else {\n this['tipMsg'] = \"请输入正确格式的手机号码\";\n return;\n }\n\n if (!this['codeval']) {\n this['tipMsg'] = \"验证码不能为空\";\n return;\n } else {\n this['tipMsg'] = \"\";\n }\n\n this.$store.dispatch({\n type: 'chainFindBg',\n need: this['needVal'],\n mobile: this['mobile'],\n linkName: this['linkName'],\n verifyCode: this['codeval']\n });\n }\n },\n watch: {\n needVal: function needVal(val) {\n this.needValLength = val.length;\n\n if (val.length < 10) {\n this.tipMsg = '亲,您的详细需求最少10个字';\n } else {\n this.tipMsg = \"\";\n }\n },\n linkName: function linkName(val) {\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(val)) {\n this.tipMsg = '亲,称呼只能为英文和中文';\n } else {\n this.tipMsg = '';\n }\n },\n mobile: function mobile(val) {\n var r = /^1[3456789]\\d{9}$/;\n\n if (r.test(val)) {\n this.tipMsg = \"\";\n this.codestatus = true;\n } else {\n this.tipMsg = \"请输入正确格式的手机号码\";\n this.codestatus = false;\n }\n },\n formCodeStatus: function formCodeStatus(val) {\n if (val) {\n this.timeNum();\n }\n },\n formImgShow: function formImgShow(val) {\n this.imgcodestatus = val;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/chain/chain.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex ...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.3@vant/es/index.js\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'seo',\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.seo.loading;\n },\n form1ImgShow: function form1ImgShow(state) {\n return state.seo.form1ImgShow;\n },\n form2ImgShow: function form2ImgShow(state) {\n return state.seo.form2ImgShow;\n },\n form1CodeStatus: function form1CodeStatus(state) {\n return state.seo.form1CodeStatus;\n },\n form2CodeStatus: function form2CodeStatus(state) {\n return state.seo.form2CodeStatus;\n },\n isRegLogin: function isRegLogin(state) {\n return state.seo.isRegLogin;\n }\n }), {\n mobile: function mobile(val) {\n return this.form1.mobile;\n },\n mobile2: function mobile2(val) {\n return this.form2.mobile;\n }\n }),\n data: function data() {\n return {\n loadings: false,\n isWindow: true,\n //右侧开启窗口监听滚动\n codeactive: false,\n //form1短信验证码禁用状态\n codeactive2: false,\n //form2短信验证码禁用状态\n codetext: \"获取验证码\",\n //form1发短信按钮文案\n codetext2: \"获取验证码\",\n //form2发短信按钮文案\n form1: {\n mobile: \"\",\n code: \"\",\n codestatus: false,\n imgcode: \"\",\n imgcodestatus: false,\n msg: \"\"\n },\n form2: {\n mobile: \"\",\n code: \"\",\n codestatus: false,\n imgcode: \"\",\n imgcodestatus: false,\n msg: \"\",\n goods_name: \"\",\n brand_name: \"\"\n }\n };\n },\n methods: {\n //短信倒计时form1\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n //短信倒计时form1\n timeNum2: function timeNum2() {\n var me = this;\n var wait = 60;\n me.codeactive2 = true;\n me.codetext2 = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext2 = wait + '秒后获取';\n me.codeactive2 = true;\n } else {\n clearInterval(clock);\n me.codeactive2 = false;\n me.codetext2 = '重新获取';\n wait = 60;\n }\n }\n },\n //获取验证码\n getCode: function getCode(type_) {\n var form_ = type_ == 2 ? \"form2\" : \"form1\";\n\n if (this[form_]['imgcodestatus']) {\n if (!this[form_]['imgcode']) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: \"请确认图片验证码\",\n duration: 3000\n });\n return;\n }\n }\n\n var codeactive = type_ == 2 ? \"codeactive2\" : \"codeactive\";\n\n if (this[codeactive]) {\n return;\n }\n\n this.$store.dispatch({\n type: 'smsVerify',\n mobile: this[form_]['mobile'],\n verify: this[form_]['imgcode'],\n types: form_\n });\n },\n //提交表单form1\n submitForm: function submitForm(type_) {\n var form_ = type_ == 2 ? \"form2\" : \"form1\";\n var r = /^1[3456789]\\d{9}$/;\n\n if (r.test(this[form_]['mobile'])) {\n this[form_]['msg'] = \"\";\n } else {\n this[form_]['msg'] = \"请输入正确格式的手机号码\";\n return;\n }\n\n if (!this[form_]['code']) {\n this[form_]['msg'] = \"验证码不能为空\";\n return;\n } else {\n this[form_]['msg'] = \"\";\n }\n\n this.$store.dispatch({\n type: 'actionLogin',\n account: this[form_]['mobile'],\n sms_verify: this[form_]['code'],\n form_name: form_\n });\n }\n },\n watch: {\n form2CodeStatus: function form2CodeStatus(val) {\n if (val) {\n this.timeNum2();\n }\n },\n form1CodeStatus: function form1CodeStatus(val) {\n if (val) {\n this.timeNum();\n }\n },\n form1ImgShow: function form1ImgShow(val) {\n this.form1.imgcodestatus = val;\n },\n form2ImgShow: function form2ImgShow(val) {\n this.form2.imgcodestatus = val;\n },\n mobile: function mobile(val) {\n var r = /^1[3456789]\\d{9}$/;\n\n if (r.test(val)) {\n this.form1.msg = \"\";\n this.form1.codestatus = true;\n } else {\n this.form1.msg = \"请输入正确格式的手机号码\";\n this.form1.codestatus = false;\n }\n },\n mobile2: function mobile2(val) {\n var r = /^1[3456789]\\d{9}$/;\n\n if (r.test(val)) {\n this.form2.msg = \"\";\n this.form2.codestatus = true;\n } else {\n this.form2.msg = \"请输入正确格式的手机号码\";\n this.form2.codestatus = false;\n }\n },\n isRegLogin: function isRegLogin(val) {\n if (val) {\n var datajson_ = {\n brand: this.form2.brand_name,\n type: this.form2.goods_name\n }; //登录成功调用反馈接口\n\n this.$store.dispatch({\n type: 'feedback',\n types: 8,\n mobile: this.form2.mobile,\n content: JSON.stringify(datajson_)\n });\n }\n }\n },\n components: {\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/seo/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.9@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.9@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.6.2@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.2.5@vant/es/index.js\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { Object(E_h5_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'seo',\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.seo.loading;\n },\n form1ImgShow: function form1ImgShow(state) {\n return state.seo.form1ImgShow;\n },\n form2ImgShow: function form2ImgShow(state) {\n return state.seo.form2ImgShow;\n },\n form1CodeStatus: function form1CodeStatus(state) {\n return state.seo.form1CodeStatus;\n },\n form2CodeStatus: function form2CodeStatus(state) {\n return state.seo.form2CodeStatus;\n },\n isRegLogin: function isRegLogin(state) {\n return state.seo.isRegLogin;\n }\n }), {\n mobile: function mobile(val) {\n return this.form1.mobile;\n },\n mobile2: function mobile2(val) {\n return this.form2.mobile;\n }\n }),\n data: function data() {\n return {\n loadings: false,\n isWindow: true,\n //右侧开启窗口监听滚动\n codeactive: false,\n //form1短信验证码禁用状态\n codeactive2: false,\n //form2短信验证码禁用状态\n codetext: \"获取验证码\",\n //form1发短信按钮文案\n codetext2: \"获取验证码\",\n //form2发短信按钮文案\n form1: {\n mobile: \"\",\n code: \"\",\n codestatus: false,\n imgcode: \"\",\n imgcodestatus: false,\n msg: \"\"\n },\n form2: {\n mobile: \"\",\n code: \"\",\n codestatus: false,\n imgcode: \"\",\n imgcodestatus: false,\n msg: \"\",\n goods_name: \"\",\n brand_name: \"\"\n }\n };\n },\n methods: {\n //短信倒计时form1\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n //短信倒计时form1\n timeNum2: function timeNum2() {\n var me = this;\n var wait = 60;\n me.codeactive2 = true;\n me.codetext2 = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext2 = wait + '秒后获取';\n me.codeactive2 = true;\n } else {\n clearInterval(clock);\n me.codeactive2 = false;\n me.codetext2 = '重新获取';\n wait = 60;\n }\n }\n },\n //获取验证码\n getCode: function getCode(type_) {\n var form_ = type_ == 2 ? \"form2\" : \"form1\";\n\n if (this[form_]['imgcodestatus']) {\n if (!this[form_]['imgcode']) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: \"请确认图片验证码\",\n duration: 3000\n });\n return;\n }\n }\n\n var codeactive = type_ == 2 ? \"codeactive2\" : \"codeactive\";\n\n if (this[codeactive]) {\n return;\n }\n\n this.$store.dispatch({\n type: 'smsVerify',\n mobile: this[form_]['mobile'],\n verify: this[form_]['imgcode'],\n types: form_\n });\n },\n //提交表单form1\n submitForm: function submitForm(type_) {\n var form_ = type_ == 2 ? \"form2\" : \"form1\";\n var r = /^1[3456789]\\d{9}$/;\n\n if (r.test(this[form_]['mobile'])) {\n this[form_]['msg'] = \"\";\n } else {\n this[form_]['msg'] = \"请输入正确格式的手机号码\";\n return;\n }\n\n if (!this[form_]['code']) {\n this[form_]['msg'] = \"验证码不能为空\";\n return;\n } else {\n this[form_]['msg'] = \"\";\n }\n\n this.$store.dispatch({\n type: 'actionLogin',\n account: this[form_]['mobile'],\n sms_verify: this[form_]['code'],\n form_name: form_\n });\n }\n },\n watch: {\n form2CodeStatus: function form2CodeStatus(val) {\n if (val) {\n this.timeNum2();\n }\n },\n form1CodeStatus: function form1CodeStatus(val) {\n if (val) {\n this.timeNum();\n }\n },\n form1ImgShow: function form1ImgShow(val) {\n this.form1.imgcodestatus = val;\n },\n form2ImgShow: function form2ImgShow(val) {\n this.form2.imgcodestatus = val;\n },\n mobile: function mobile(val) {\n var r = /^1[3456789]\\d{9}$/;\n\n if (r.test(val)) {\n this.form1.msg = \"\";\n this.form1.codestatus = true;\n } else {\n this.form1.msg = \"请输入正确格式的手机号码\";\n this.form1.codestatus = false;\n }\n },\n mobile2: function mobile2(val) {\n var r = /^1[3456789]\\d{9}$/;\n\n if (r.test(val)) {\n this.form2.msg = \"\";\n this.form2.codestatus = true;\n } else {\n this.form2.msg = \"请输入正确格式的手机号码\";\n this.form2.codestatus = false;\n }\n },\n isRegLogin: function isRegLogin(val) {\n if (val) {\n var datajson_ = {\n brand: this.form2.brand_name,\n type: this.form2.goods_name\n }; //登录成功调用反馈接口\n\n this.$store.dispatch({\n type: 'feedback',\n types: 8,\n mobile: this.form2.mobile,\n content: JSON.stringify(datajson_)\n });\n }\n }\n },\n components: {\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/seo/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.1@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
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