Commit 4c81a2c0 by 肖康

Merge branch 'XK_carB20190624' into Development

parents 73e40e28 8a0ca2af
......@@ -10,7 +10,8 @@ import axios from 'axios'
* urlMarketing marketing营销系统接口
*/
var urlApi, url, urlPc, zyApi, lyApi;;
var urlApi, url, urlPc, zyApi, lyApi;
;
switch (window.location.hostname) {
case "m.ichunt.com":
urlPc = 'https://www.ichunt.com/v3/';
......@@ -194,6 +195,50 @@ export const apis = {
recvlist: productionUrlApi + 'address/recvlist',
/**
* *
* 新增收货地址api
* *
*/
createAddress: productionUrlApi + 'address/create',
/**
* *
* 编辑收货地址api
* *
*/
updateAddress: productionUrlApi + 'address/update',
/**
* *
* 选择兑换奖地址api
* *
*/
changeReceivePrizeAddress: productionUrlApi + 'point/changeReceivePrizeAddress',
/**
* *
* 收货地址api
* *
*/
setdefault: productionUrlApi + 'address/setdefault',
/**
* *
* 收货地址api
* *
*/
deleteAddress: productionUrlApi + 'address/delete',
/**
* *
*单个 收货地址api
* *
*/
infoAddress: productionUrlApi + 'address/info',
/**
* *
*获取港澳台地址选项
* *
*/
getOverseaMsgArea: productionUrlApi + '/reg/getOverseaMsgArea',
/**
* *
* 积分规则api
* *
*/
......@@ -311,9 +356,9 @@ export const apis = {
/****获取弹出商品信息 */
goodDetail: productionUrlApi + '/goods/detail',
/****获取zy默认class查询 */
defaultClass:productionUrl+'api/defaultClass',
defaultClass: productionUrl + 'api/defaultClass',
/******添加到购物车或者下单 */
addGood:productionUrlApi+'/cart/add',
addGood: productionUrlApi + '/cart/add',
/**
......@@ -323,38 +368,36 @@ export const apis = {
* **/
/**获取个人信息**/
getUserType:productionUrlApi+'/user/getUserType',
getUserType: productionUrlApi + '/user/getUserType',
/**获取个人订单数量**/
orderCount:productionUrlApi+'/order/count',
orderCount: productionUrlApi + '/order/count',
/**获取个人账号绑定信息**/
getBindInfo:productionUrlApi+'/user/getBindInfo',
getBindInfo: productionUrlApi + '/user/getBindInfo',
/**解绑个人账号绑定信息**/
unbindPhone:productionUrlApi+'/user/unbind',
unbindPhone: productionUrlApi + '/user/unbind',
/**退出当前账号**/
logout:productionUrlApi+'/login/logout',
/**获取省市区**/
allAddress:productionUrlApi+'/address/allpcd',
/**修改个人信息**/
changeUserInfo:productionUrlApi+'/user/changeUserInfo',
/**优惠券数量**/
ucouponCount:productionUrlApi+'/ucoupon/count',
/**优惠券列表**/
ucouponLists:productionUrlApi+'/ucoupon/lists',
logout: productionUrlApi + '/login/logout',
/**获取省市区**/
allAddress: productionUrlApi + '/address/allpcd',
/**修改个人信息**/
changeUserInfo: productionUrlApi + '/user/changeUserInfo',
/**优惠券数量**/
ucouponCount: productionUrlApi + '/ucoupon/count',
/**优惠券列表**/
ucouponLists: productionUrlApi + '/ucoupon/lists',
/**品牌分类**/
brandList: productionUrl + 'api/brandList',
/**品牌分类**/
brandList: productionUrl + 'api/brandList',
/**品牌详细**/
brandInfo: productionUrl + 'api/brandInfo',
/**SKU公用接口**/
skuList: productionUrlApi + 'sku/info',
brandInfo: productionUrl + 'api/brandInfo',
/**SKU公用接口**/
skuList: productionUrlApi + 'sku/info',
}
export const services = {
index(params) {
return axios.post(apis.index, params)
......@@ -437,6 +480,29 @@ export const services = {
recvlist(params) {
return axios.post(apis.recvlist, params)
},
createAddress(params) {
return axios.post(apis.createAddress, params)
},
updateAddress(params) {
return axios.post(apis.updateAddress, params)
},
changeReceivePrizeAddress(params) {
return axios.post(apis.changeReceivePrizeAddress, params)
},
setdefault(params) {
return axios.post(apis.setdefault, params)
},
deleteAddress(params) {
return axios.post(apis.deleteAddress, params)
},
infoAddress(params) {
return axios.post(apis.infoAddress, params)
},
getOverseaMsgArea(params) {
return axios.post(apis.getOverseaMsgArea, params)
},
getUserPointExchangeDetail(params) {
return axios.post(apis.getUserPointExchangeDetail, params)
},
......@@ -516,56 +582,56 @@ export const services = {
goodDetail(params) {
return axios.post(apis.goodDetail, params)
},
defaultClass(params){
return axios.post(apis.defaultClass,params)
defaultClass(params) {
return axios.post(apis.defaultClass, params)
},
addGood(params){
return axios.post(apis.addGood,params)
addGood(params) {
return axios.post(apis.addGood, params)
},
cartList(params){
return axios.post(apis.cartList,params)
cartList(params) {
return axios.post(apis.cartList, params)
},
cartDelete(params){
return axios.post(apis.cartDelete,params)
cartDelete(params) {
return axios.post(apis.cartDelete, params)
},
allcount(params){
return axios.post(apis.allcount,params)
allcount(params) {
return axios.post(apis.allcount, params)
},
confirmBehavior(params){
return axios.post(apis.confirmBehavior,params)
confirmBehavior(params) {
return axios.post(apis.confirmBehavior, params)
},
changenum(params){
return axios.post(apis.changenum,params)
changenum(params) {
return axios.post(apis.changenum, params)
},
getUserType(params){
return axios.post(apis.getUserType,params)
getUserType(params) {
return axios.post(apis.getUserType, params)
},
orderCount(params){
return axios.post(apis.orderCount,params)
orderCount(params) {
return axios.post(apis.orderCount, params)
},
getBindInfo(params){
return axios.post(apis.getBindInfo,params)
getBindInfo(params) {
return axios.post(apis.getBindInfo, params)
},
ucouponCount(params){
return axios.post(apis.ucouponCount,params)
ucouponCount(params) {
return axios.post(apis.ucouponCount, params)
},
ucouponLists(params){
return axios.post(apis.ucouponLists,params)
ucouponLists(params) {
return axios.post(apis.ucouponLists, params)
},
unbindPhone(params){
return axios.post(apis.unbindPhone,params)
unbindPhone(params) {
return axios.post(apis.unbindPhone, params)
},
logout(params){
return axios.post(apis.logout,params)
logout(params) {
return axios.post(apis.logout, params)
},
allAddress(params){
return axios.post(apis.allAddress,params)
allAddress(params) {
return axios.post(apis.allAddress, params)
},
changeUserInfo(params){
return axios.post(apis.changeUserInfo,params)
changeUserInfo(params) {
return axios.post(apis.changeUserInfo, params)
},
brandList(params){
return axios.post(apis.brandList,params)
brandList(params) {
return axios.post(apis.brandList, params)
},
brandInfo(params) {
return axios.get(apis.brandInfo, {
......@@ -574,8 +640,8 @@ export const services = {
}
})
},
skuList(params){
return axios.post(apis.skuList,params)
skuList(params) {
return axios.post(apis.skuList, params)
},
......
.addressp{
background: #f8f8f8;
height:100%;
/**收货地址列表**/
.list-box{
.hint{
background: #fff; padding: 2% 2%; margin-bottom: 10px;color:#999;font-size:14px;
.save-point-address{
float:right;border-radius: 5px;background:#1080d0;color:#fff;padding:3px 10px;margin-top: -3px;cursor: pointer;
}
}
.data-box{
padding-bottom: 44px;
.block-group{ font-size: 12px; color: #666666; background: #fff;padding-left: 3%; margin-bottom: 10px;
ul{
padding: 5px 0;
padding-right: 3%;
font-size: 14px;
line-height: 24px;
min-height:50px;
border-bottom: 1px solid #f8f8f8;
li {
p {
padding-left: 70px;
color: #666;
font-size: 14px;
}
span{
&.fl{
color: #666;
font-size: 14px;
}
}
}
}
.button{
font-size: 14px;
line-height: 30px;
padding-right: 3%;
div.fl{
margin-top: 5px;
}
p{
a{
font-size: 14px;
line-height: 30px;
color:#666;
i.icon-shanchu{font-size: 18px;position: relative;top:2px;}
}
}
}
}
}
.but-foot{
width: 100%;
display: block;
line-height: 44px;
height:44px;
position: fixed;
bottom:0px;
left:0px;
right:0px;
text-align: center;
color: #fff;
font-size: 15px;
background: #1080d0;
border: none;
.iconfont{
margin-top: 2px;
}
}
}
/**编辑新增地址**/
.edit-box{
.block{
background: #fff; padding-left: 2%;
margin-bottom: 10px;
.input-edit{ border-bottom: 1px solid #d6d7dc; padding-right: 2%; }
.input-edit:last-child{ border-bottom: none;}
.input-edit textarea{line-height: 22px; font-size: 14px; border: none; margin: 0; padding: 10px 0;width:100%;}
.input-edit dt{ color: #333; height: 45px; line-height: 45px; font-size: 14px;white-space: nowrap}
.input-edit dt.mui-col-sm-2{ width: 18%; }
.input-edit dd.mui-col-sm-10{ width: 82%; }
.input-edit dd{ color: #333333; }
.input-edit dd input{ font-size: 14px; border: none; height: 44px; margin: 0; padding: 10px 0;box-sizing: border-box; }
.input-edit dd input:focus{border: none; }
.input-edit dd button{ padding: 0; margin: 0; height: 44px; line-height: 44px; border: none; font-size: 14px; text-align: left; color: #666; }
.input-edit dd button:before{float: right; font-size: 16px; }
.input-edit .checkbox-input{ padding: 10px 0; }
.input-edit .mui-checkbox{ padding-top: 2px; padding-right: 5px; display: inline-block; margin-bottom: 2%; }
.input-edit .mui-checkbox label{ cursor: pointer; padding: 0; padding-left: 20px;}
.input-edit .mui-checkbox.mui-left input{ top: 3px; left: 0; font-size: 12px; width: 20px; height: 20px; text-align: center; padding: 0;}
}
/**下拉区号**/
.selectqu{position: relative;}
.selectqu .selectBoxqu{position: absolute;height:100%;text-align: center;z-index: 66;width:1.4rem;}
.selectqu .selectBoxqu i{color:#999;float: right; font-size: 14px; height: 22px; line-height: 22px; position: relative; top: 50%; margin-top: -10px; right: 10px;}
.selectqu .czselect{width:1.7rem;height:100%;cursor: pointer;}
.selectqu input{padding-left:1.85rem;}
.selectqu .selectquval{background: #fff;-webkit-box-shadow: 0px 0px 10px #ccc;box-shadow: 0px 0px 10px #ccc;padding:0.25rem 0.3rem;margin-top: -0.03rem;width:9.18rem;}
.selectqu .selectquval li{height:28px;line-height: 28px}
.selectqu .selectquval li:hover{background: #f3f3f3;cursor: pointer;}
.pr{position: relative;}
.gjBtn{position: absolute;color:#1080d0;cursor: pointer;float:right;right:0px;top:0.07rem;font-size: 14px;}
.tip-msg{
color:red;
font-size: 12px;
text-align: center;
height:28px;
line-height: 28px;
}
.add-btn{
width: 100%;
display: block;
height: 44px;
background: #0073c5;
line-height: 44px;
text-align: center;
color: #fff;
font-size: 15px;
text-decoration: none;
width:90%;
margin:0 auto;
border-radius: 5px;
margin-top: 10px;
}
}
}
.Router {
position: absolute;
height: 100%;
width:100%;
transition: all .377s ease;
will-change: transform;
top:0;
backface-visibility: hidden;
perspective: 1000;
padding-top: 44px;
box-sizing: border-box;
}
.slide-left-enter,
.slide-right-leave-active {
opacity: 0;
transform: translate3d(-100%, 0, 0);
}
.slide-left-leave-active,
.slide-right-enter {
opacity: 0;
transform: translate3d(100%, 0 ,0);
}
\ No newline at end of file
.addressp{background:#f8f8f8;height:100%}.addressp .list-box .hint{background:#fff;padding:2% 2%;margin-bottom:10px;color:#999;font-size:14px}.addressp .list-box .hint .save-point-address{float:right;border-radius:5px;background:#1080d0;color:#fff;padding:3px 10px;margin-top:-3px;cursor:pointer}.addressp .list-box .data-box{padding-bottom:44px}.addressp .list-box .data-box .block-group{font-size:12px;color:#666666;background:#fff;padding-left:3%;margin-bottom:10px}.addressp .list-box .data-box .block-group ul{padding:5px 0;padding-right:3%;font-size:14px;line-height:24px;min-height:50px;border-bottom:1px solid #f8f8f8}.addressp .list-box .data-box .block-group ul li p{padding-left:70px;color:#666;font-size:14px}.addressp .list-box .data-box .block-group ul li span.fl{color:#666;font-size:14px}.addressp .list-box .data-box .block-group .button{font-size:14px;line-height:30px;padding-right:3%}.addressp .list-box .data-box .block-group .button div.fl{margin-top:5px}.addressp .list-box .data-box .block-group .button p a{font-size:14px;line-height:30px;color:#666}.addressp .list-box .data-box .block-group .button p a i.icon-shanchu{font-size:18px;position:relative;top:2px}.addressp .list-box .but-foot{width:100%;display:block;line-height:44px;height:44px;position:fixed;bottom:0px;left:0px;right:0px;text-align:center;color:#fff;font-size:15px;background:#1080d0;border:none}.addressp .list-box .but-foot .iconfont{margin-top:2px}.addressp .edit-box .block{background:#fff;padding-left:2%;margin-bottom:10px}.addressp .edit-box .block .input-edit{border-bottom:1px solid #d6d7dc;padding-right:2%}.addressp .edit-box .block .input-edit:last-child{border-bottom:none}.addressp .edit-box .block .input-edit textarea{line-height:22px;font-size:14px;border:none;margin:0;padding:10px 0;width:100%}.addressp .edit-box .block .input-edit dt{color:#333;height:45px;line-height:45px;font-size:14px;white-space:nowrap}.addressp .edit-box .block .input-edit dt.mui-col-sm-2{width:18%}.addressp .edit-box .block .input-edit dd.mui-col-sm-10{width:82%}.addressp .edit-box .block .input-edit dd{color:#333333}.addressp .edit-box .block .input-edit dd input{font-size:14px;border:none;height:44px;margin:0;padding:10px 0;box-sizing:border-box}.addressp .edit-box .block .input-edit dd input:focus{border:none}.addressp .edit-box .block .input-edit dd button{padding:0;margin:0;height:44px;line-height:44px;border:none;font-size:14px;text-align:left;color:#666}.addressp .edit-box .block .input-edit dd button:before{float:right;font-size:16px}.addressp .edit-box .block .input-edit .checkbox-input{padding:10px 0}.addressp .edit-box .block .input-edit .mui-checkbox{padding-top:2px;padding-right:5px;display:inline-block;margin-bottom:2%}.addressp .edit-box .block .input-edit .mui-checkbox label{cursor:pointer;padding:0;padding-left:20px}.addressp .edit-box .block .input-edit .mui-checkbox.mui-left input{top:3px;left:0;font-size:12px;width:20px;height:20px;text-align:center;padding:0}.addressp .edit-box .selectqu{position:relative}.addressp .edit-box .selectqu .selectBoxqu{position:absolute;height:100%;text-align:center;z-index:66;width:1.4rem}.addressp .edit-box .selectqu .selectBoxqu i{color:#999;float:right;font-size:14px;height:22px;line-height:22px;position:relative;top:50%;margin-top:-10px;right:10px}.addressp .edit-box .selectqu .czselect{width:1.7rem;height:100%;cursor:pointer}.addressp .edit-box .selectqu input{padding-left:1.85rem}.addressp .edit-box .selectqu .selectquval{background:#fff;-webkit-box-shadow:0 0 10px #ccc;box-shadow:0 0 10px #ccc;padding:.25rem .3rem;margin-top:-0.03rem;width:9.18rem}.addressp .edit-box .selectqu .selectquval li{height:28px;line-height:28px}.addressp .edit-box .selectqu .selectquval li:hover{background:#f3f3f3;cursor:pointer}.addressp .edit-box .pr{position:relative}.addressp .edit-box .gjBtn{position:absolute;color:#1080d0;cursor:pointer;float:right;right:0px;top:.07rem;font-size:14px}.addressp .edit-box .tip-msg{color:red;font-size:12px;text-align:center;height:28px;line-height:28px}.addressp .edit-box .add-btn{width:100%;display:block;height:44px;background:#0073c5;line-height:44px;text-align:center;color:#fff;font-size:15px;text-decoration:none;width:90%;margin:0 auto;border-radius:5px;margin-top:10px}.Router{position:absolute;height:100%;width:100%;transition:all .377s ease;will-change:transform;top:0;backface-visibility:hidden;perspective:1000;padding-top:44px;box-sizing:border-box}.slide-left-enter,.slide-right-leave-active{opacity:0;transform:translate3d(-100%, 0, 0)}.slide-left-leave-active,.slide-right-enter{opacity:0;transform:translate3d(100%, 0, 0)}
\ No newline at end of file
......@@ -36,6 +36,7 @@ const joincart = resolve => require(['@/views/car/car'], resolve);
const user = resolve => require(['@/views/user/index'], resolve);
const userInfo = resolve => require(['@/views/user/userInfo'], resolve);
const userCoupon = resolve => require(['@/views/user/coupon'], resolve);
const userAddress = resolve => require(['@/views/user/address'], resolve);
const brand = resolve => require(['@/views/brand/brand'], resolve);
const brandList = resolve => require(['@/views/brand/brandList'], resolve);
Vue.use(Router);
......@@ -292,6 +293,14 @@ const routes = [{
}
},
{
path: '/userAddress',
component: userAddress,
meta: {
title: '收货地址',
back: true
}
},
{
path: '/userCoupon',
component: userCoupon,
meta: {
......
import Vue from 'vue'
import {Toast} from 'vant';
import {services as Services} from '../../../api/index'
import Util from "../../../util";
var qs = require('qs');
Vue.use(Toast);
const state = {
loading: false,
addressList:[],
addressInfo:{},
addressInfoState:false,
areaList:{},
}
const mutations = {
recvlistUser(state, payload) {
state.addressList=payload.data;
},
setdefault(state, payload) {
for(var i=0;i< state.addressList.length;i++){
state.addressList[i].is_default='0';
if(state.addressList[i].address_id==payload.address_id){
state.addressList[i].is_default='1';
}
}
},
deleteAddress(state, payload) {
for(var i=0;i< state.addressList.length;i++){
if(state.addressList[i].address_id==payload.address_id){
state.addressList.splice(i,1);
}
}
},
}
const actions = {
recvlistUser({commit}, payload) {
state.loading = true;
Services.recvlist().then((res) => {
let data = res.data;
state.loading = false;
if (data.err_code == 0) {
commit({
type: 'recvlistUser',
data: data.data
});
}else {
Toast({
message: data.err_msg,
duration: 3000
});
}
}).catch(function (err) {
state.loading = false;
});
},
setdefault({commit}, payload) {
state.loading = true;
var params = {
address_id:payload.address_id
}
Services.setdefault(qs.stringify(params)).then((res) => {
let data = res.data;
state.loading = false;
if (data.err_code == 0) {
commit({
type: 'setdefault',
data: data.data,
address_id:payload.address_id
});
Toast({
message: data.err_msg,
duration: 2000
});
}else {
Toast({
message: data.err_msg,
duration: 3000
});
}
}).catch(function (err) {
state.loading = false;
});
},
deleteAddress({commit}, payload) {
state.loading = true;
var params = {
address_id:payload.address_id
}
Services.deleteAddress(qs.stringify(params)).then((res) => {
let data = res.data;
state.loading = false;
if (data.err_code == 0) {
commit({
type: 'deleteAddress',
data: data.data,
address_id:payload.address_id
});
Toast({
message: "删除成功",
duration: 2000
});
}else {
Toast({
message: data.err_msg,
duration: 3000
});
}
}).catch(function (err) {
state.loading = false;
});
},
infoAddress({commit}, payload) {
state.loading = true;
state.addressInfoState=false;
var params = {
address_id:payload.address_id
}
Services.infoAddress(qs.stringify(params)).then((res) => {
let data = res.data;
state.loading = false;
if (data.err_code == 0) {
state.addressInfoState=true;
state.addressInfo=data.data;
}else {
Toast({
message: data.err_msg,
duration: 3000
});
}
}).catch(function (err) {
state.loading = false;
});
},
getOverseaMsgArea({commit}, payload) {
Services.getOverseaMsgArea().then((res) => {
let data = res.data;
if (data.err_code == 0) {
state.areaList=data.data;
}
})
},
createAddress({commit}, payload) {
state.loading = true;
var params = {
consignee:payload.consignee,
province: payload.province,
city: payload.city,
district: payload.district,
detail_address: payload.detail_address,
address_type: payload.address_type,
is_default:payload.is_default,
mobile: payload.mobile,
intl_code:payload.intl_code
}
Services.createAddress(qs.stringify(params)).then((res) => {
let data = res.data;
state.loading = false;
if (data.err_code == 0) {
Toast({
message: data.err_msg,
duration: 3000
});
if(payload.orderpg){
history.go(-1);
}else{
history.go(0);
}
}else {
Toast({
message: data.err_msg,
duration: 3000
});
}
}).catch(function (err) {
state.loading = false;
});
},
updateAddress({commit}, payload) {
state.loading = true;
var params = {
consignee:payload.consignee,
province: payload.province,
city: payload.city,
district: payload.district,
detail_address: payload.detail_address,
address_type: payload.address_type,
is_default:payload.is_default,
mobile: payload.mobile,
intl_code:payload.intl_code,
address_id:payload.address_id
}
Services.updateAddress(qs.stringify(params)).then((res) => {
let data = res.data;
state.loading = false;
if (data.err_code == 0) {
Toast({
message: data.err_msg,
duration: 3000
});
setTimeout(function(){
if(payload.orderpg){
history.go(-1);
}else{
history.go(0);
}
},1500)
}else {
Toast({
message: data.err_msg,
duration: 3000
});
}
}).catch(function (err) {
state.loading = false;
});
},
changeReceivePrizeAddress({commit}, payload) {
state.loading = true;
var params = {
point_exchange_id:payload.point_exchange_id,
user_id: Util.getCookie("Yo4teW_uid"),
address_id:payload.address_id
}
Services.changeReceivePrizeAddress(qs.stringify(params)).then((res) => {
let data = res.data;
state.loading = false;
if (data.errcode == 0) {
Toast({
message: data.errmsg,
duration: 3000
});
setTimeout(function(){
history.go(-1);
},1000)
}else {
Toast({
message: data.err_msg,
duration: 3000
});
}
}).catch(function (err) {
state.loading = false;
});
},
}
const getters = {}
export default {
state,
mutations,
actions,
getters
}
......@@ -23,6 +23,7 @@ import car from './modules/car/index'
import user from './modules/user/index'
import coupon from './modules/user/coupon'
import userInfo from './modules/user/userInfo'
import address from './modules/user/address'
import brand from './modules/brand/brand'
Vue.use(Vuex)
......@@ -53,6 +54,7 @@ export default new Vuex.Store({
user,
userInfo,
coupon,
address,
brand
}
})
......@@ -54,7 +54,7 @@
<div class="group-info">
<div class="group-left">公司地址</div>
<div class="group-right" v-if="userInfo.company_info">
<input type="text" :value="userInfo.company_info.province_name+userInfo.company_info.city_name+userInfo.company_info.area_name" readonly />
<input type="text" :value="(userInfo.company_info.province_name+userInfo.company_info.city_name+userInfo.company_info.area_name)||''" readonly />
</div>
</div>
<div class="group-info">
......@@ -265,11 +265,14 @@
this.xgslx=this.userInfo.company_info.type_name;
this.xgszj=this.userInfo.company_info.com_telphone;
this.xgsjj=this.userInfo.company_info.com_desc;
this.com_province=this.userInfo.company_info.province_name;
this.com_city=this.userInfo.company_info.city_name;
this.com_area=this.userInfo.company_info.area_name;
this.xgsdz=this.com_province+this.com_city+this.com_area;
this.com_province=this.userInfo.company_info.province_name||"北京";
this.com_city=this.userInfo.company_info.city_name||"北京";
this.com_area=this.userInfo.company_info.area_name||"东城区";
if(this.userInfo.company_info.province_name&&this.userInfo.company_info.city_name){
this.xgsdz=this.userInfo.company_info.province_name+this.userInfo.company_info.city_name+this.userInfo.company_info.area_name;
}else{
this.xgsdz="";
}
this.com_province_id=this.userInfo.company_info.com_province_id;
this.com_city_id=this.userInfo.company_info.com_city_id;
this.com_area_id=this.userInfo.company_info.com_area_id;
......
......@@ -32,7 +32,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lx
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.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\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 */ 34).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 */ 33).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: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_1__[\"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.0@vue-loader/lib??vue-loader-options");
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.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\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 */ 35).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 */ 34).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: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_1__[\"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.0@vue-loader/lib??vue-loader-options");
/***/ }),
......
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
......@@ -27,7 +27,7 @@
<script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js" type="text/javascript" charset="utf-8"></script>
<script src="//szh5static.ichunt.com/static/js/flexible.min.js" type="text/javascript" charset="utf-8"></script>
<script src="//szh5static.ichunt.com/static/js/shence.min.js" type="text/javascript" charset="utf-8"></script>
<link href="//szh5static.ichunt.com/0.js" rel="prefetch"><link href="//szh5static.ichunt.com/1.js" rel="prefetch"><link href="//szh5static.ichunt.com/10.js" rel="prefetch"><link href="//szh5static.ichunt.com/11.js" rel="prefetch"><link href="//szh5static.ichunt.com/12.js" rel="prefetch"><link href="//szh5static.ichunt.com/13.js" rel="prefetch"><link href="//szh5static.ichunt.com/14.js" rel="prefetch"><link href="//szh5static.ichunt.com/15.js" rel="prefetch"><link href="//szh5static.ichunt.com/16.js" rel="prefetch"><link href="//szh5static.ichunt.com/17.js" rel="prefetch"><link href="//szh5static.ichunt.com/18.js" rel="prefetch"><link href="//szh5static.ichunt.com/19.js" rel="prefetch"><link href="//szh5static.ichunt.com/2.js" rel="prefetch"><link href="//szh5static.ichunt.com/20.js" rel="prefetch"><link href="//szh5static.ichunt.com/21.js" rel="prefetch"><link href="//szh5static.ichunt.com/22.js" rel="prefetch"><link href="//szh5static.ichunt.com/23.js" rel="prefetch"><link href="//szh5static.ichunt.com/24.js" rel="prefetch"><link href="//szh5static.ichunt.com/25.js" rel="prefetch"><link href="//szh5static.ichunt.com/26.js" rel="prefetch"><link href="//szh5static.ichunt.com/27.js" rel="prefetch"><link href="//szh5static.ichunt.com/28.js" rel="prefetch"><link href="//szh5static.ichunt.com/29.js" rel="prefetch"><link href="//szh5static.ichunt.com/3.js" rel="prefetch"><link href="//szh5static.ichunt.com/30.js" rel="prefetch"><link href="//szh5static.ichunt.com/31.js" rel="prefetch"><link href="//szh5static.ichunt.com/32.js" rel="prefetch"><link href="//szh5static.ichunt.com/33.js" rel="prefetch"><link href="//szh5static.ichunt.com/34.js" rel="prefetch"><link href="//szh5static.ichunt.com/35.js" rel="prefetch"><link href="//szh5static.ichunt.com/36.js" rel="prefetch"><link href="//szh5static.ichunt.com/37.js" rel="prefetch"><link href="//szh5static.ichunt.com/38.js" rel="prefetch"><link href="//szh5static.ichunt.com/39.js" rel="prefetch"><link href="//szh5static.ichunt.com/4.js" rel="prefetch"><link href="//szh5static.ichunt.com/40.js" rel="prefetch"><link href="//szh5static.ichunt.com/41.js" rel="prefetch"><link href="//szh5static.ichunt.com/42.js" rel="prefetch"><link href="//szh5static.ichunt.com/5.js" rel="prefetch"><link href="//szh5static.ichunt.com/6.js" rel="prefetch"><link href="//szh5static.ichunt.com/7.js" rel="prefetch"><link href="//szh5static.ichunt.com/8.js" rel="prefetch"><link href="//szh5static.ichunt.com/9.js" rel="prefetch"><link href="//szh5static.ichunt.com/app.js" rel="preload" as="script"></head>
<link href="//szh5static.ichunt.com/0.js" rel="prefetch"><link href="//szh5static.ichunt.com/1.js" rel="prefetch"><link href="//szh5static.ichunt.com/10.js" rel="prefetch"><link href="//szh5static.ichunt.com/11.js" rel="prefetch"><link href="//szh5static.ichunt.com/12.js" rel="prefetch"><link href="//szh5static.ichunt.com/13.js" rel="prefetch"><link href="//szh5static.ichunt.com/14.js" rel="prefetch"><link href="//szh5static.ichunt.com/15.js" rel="prefetch"><link href="//szh5static.ichunt.com/16.js" rel="prefetch"><link href="//szh5static.ichunt.com/17.js" rel="prefetch"><link href="//szh5static.ichunt.com/18.js" rel="prefetch"><link href="//szh5static.ichunt.com/19.js" rel="prefetch"><link href="//szh5static.ichunt.com/2.js" rel="prefetch"><link href="//szh5static.ichunt.com/20.js" rel="prefetch"><link href="//szh5static.ichunt.com/21.js" rel="prefetch"><link href="//szh5static.ichunt.com/22.js" rel="prefetch"><link href="//szh5static.ichunt.com/23.js" rel="prefetch"><link href="//szh5static.ichunt.com/24.js" rel="prefetch"><link href="//szh5static.ichunt.com/25.js" rel="prefetch"><link href="//szh5static.ichunt.com/26.js" rel="prefetch"><link href="//szh5static.ichunt.com/27.js" rel="prefetch"><link href="//szh5static.ichunt.com/28.js" rel="prefetch"><link href="//szh5static.ichunt.com/29.js" rel="prefetch"><link href="//szh5static.ichunt.com/3.js" rel="prefetch"><link href="//szh5static.ichunt.com/30.js" rel="prefetch"><link href="//szh5static.ichunt.com/31.js" rel="prefetch"><link href="//szh5static.ichunt.com/32.js" rel="prefetch"><link href="//szh5static.ichunt.com/33.js" rel="prefetch"><link href="//szh5static.ichunt.com/34.js" rel="prefetch"><link href="//szh5static.ichunt.com/35.js" rel="prefetch"><link href="//szh5static.ichunt.com/36.js" rel="prefetch"><link href="//szh5static.ichunt.com/37.js" rel="prefetch"><link href="//szh5static.ichunt.com/38.js" rel="prefetch"><link href="//szh5static.ichunt.com/39.js" rel="prefetch"><link href="//szh5static.ichunt.com/4.js" rel="prefetch"><link href="//szh5static.ichunt.com/40.js" rel="prefetch"><link href="//szh5static.ichunt.com/41.js" rel="prefetch"><link href="//szh5static.ichunt.com/42.js" rel="prefetch"><link href="//szh5static.ichunt.com/43.js" rel="prefetch"><link href="//szh5static.ichunt.com/5.js" rel="prefetch"><link href="//szh5static.ichunt.com/6.js" rel="prefetch"><link href="//szh5static.ichunt.com/7.js" rel="prefetch"><link href="//szh5static.ichunt.com/8.js" rel="prefetch"><link href="//szh5static.ichunt.com/9.js" rel="prefetch"><link href="//szh5static.ichunt.com/app.js" rel="preload" as="script"></head>
<body class="boxsiz">
<noscript>
<strong>网站出现了一点小问题,正在紧急修复中.......</strong>
......
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