Commit 5b17b64b by 肖康

Merge branch 'XK_carB20190624' into Development

parents f773316c 607a7e54
...@@ -336,6 +336,13 @@ export const apis = { ...@@ -336,6 +336,13 @@ export const apis = {
allAddress:productionUrlApi+'/address/allpcd', allAddress:productionUrlApi+'/address/allpcd',
/**修改个人信息**/ /**修改个人信息**/
changeUserInfo:productionUrlApi+'/user/changeUserInfo', changeUserInfo:productionUrlApi+'/user/changeUserInfo',
/**优惠券数量**/
ucouponCount:productionUrlApi+'/ucoupon/count',
/**优惠券列表**/
ucouponLists:productionUrlApi+'/ucoupon/lists',
/**品牌分类**/ /**品牌分类**/
brandList: productionUrl + 'api/brandList', brandList: productionUrl + 'api/brandList',
/**品牌详细**/ /**品牌详细**/
...@@ -539,6 +546,12 @@ export const services = { ...@@ -539,6 +546,12 @@ export const services = {
getBindInfo(params){ getBindInfo(params){
return axios.post(apis.getBindInfo,params) return axios.post(apis.getBindInfo,params)
}, },
ucouponCount(params){
return axios.post(apis.ucouponCount,params)
},
ucouponLists(params){
return axios.post(apis.ucouponLists,params)
},
unbindPhone(params){ unbindPhone(params){
return axios.post(apis.unbindPhone,params) return axios.post(apis.unbindPhone,params)
}, },
......
.coupon{
background: #f8f8f8;
.van-tab--active{
span { color:red!important;}
}
.van-tabs{
.van-tabs__wrap{
position: fixed;
top:44px;
left:0px;
right:0px;
}
}
/*优惠劵*/
.coupon-box{ padding: 0 5px; }
.coupon-box .block{overflow: hidden; margin-top: 15px; /*border-top: .1rem solid #fff;*/ border-radius: 5px; background: #fff;-webkit-box-shadow: 0 2px 5px #ddd;box-shadow: 0 2px 5px #ddd; }
.coupon-box .block dt{ width:125px; padding:10px 8px; float: left; }
.coupon-box .block dt h4{ font-size: 36px; font-family: Impact; height: 40px; line-height: 40px; text-align: center; }
.coupon-box .block dt h4 span{ font-size: 18px; position: relative; top: -15px; font-weight: 400;line-height:20px; }
.coupon-box .block dt h4 b{ font-size: 16px; font-weight: 400; line-height:20px; }
.coupon-box .block dt p{ text-align: center; font-size: 14px;padding-top: 2.5px; line-height: 16px; overflow: hidden; }
.coupon-box .block .text{ padding: 10px 8px 8px 125px; position: relative;}
.coupon-box .block .text .tag{ font-size: 12px; position: absolute;top: 0; right: 0; display: block; width: 50px; height: 50px;}
.coupon-box .block .text .tag span{-webkit-transform:rotate(45deg);transform:rotate(45deg); position: absolute; top: 8px; right:-3px; z-index: 2; color: #fff; overflow: hidden; display: block; width: 40px; text-align: center;}
.coupon-box .block .text .tag i{ position: absolute; top: 0;right: 0; z-index: 1; display: block; border-top:50px solid red; border-left: 50px solid transparent; }
.coupon-box .block .text h4{ padding-right: 50px; font-size: 12px; color: #666; font-weight: 400; line-height: 20px; height: 40px; overflow: hidden;}
.coupon-box .block .text h4 b{ position: relative; color: #fff;display: inline-block; height: 16px; font-weight: 400; line-height: 16px; padding: 0 5px; margin:5px 6px; }
.coupon-box .block .text h4 i{ float: left; position: absolute; top: 0; left: -12px; content:""; height:0; width: 0; pointer-events: none; border: solid transparent; border-width:8px 6px;}
.coupon-box .block .text p{ font-size: 12px; position: relative; }
.coupon-box .block .text p span{padding-top: 12px; display: block; color: #999;}
.coupon-box .block .text .but-bg{ height: 30px; line-height: 30px; font-size:14px; border-radius: 30px; padding: 0 12px; text-decoration: none; text-align: center; background: #fff; }
.coupon-box .block .text .but-bg:hover{color: #fff;}
.coupon-box .box-orange .text .but-bg{color:#ffa200;border: 1px solid #ffa200;}
.coupon-box .box-blue .text .but-bg{color:#1080d0;border: 1px solid #1080d0;}
.coupon-box .box-green .text .but-bg{color:#52bd61;border: 1px solid #52bd61;}
.coupon-box .box-gray .text .but-bg{color:#999999;border: 1px solid #999999;}
.coupon-box .block .number{ height: 33px; padding:8px; font-size: 12px; color: #666; background: url(https://m.ichunt.com/v3/dist/res/m/images/coupon/coupon_bg.png) repeat-x; background-size: 12px; }
.coupon-box .box-orange .text .tag i{ border-top-color: #ffa200; }
.coupon-box .box-orange dt,.coupon-box .box-orange dt p{color: #ffa200; }
.coupon-box .box-orange .text h4 b,.coupon-box .box-orange .text .but-bg:hover{background: #ffa200; }
.coupon-box .box-orange .text h4 i{border-right-color: #ffa200; }
.coupon-box .box-blue .text .tag i{ border-top-color: #1080d0; }
.coupon-box .box-blue dt,.coupon-box .box-blue dt p{ color: #1080d0; }
.coupon-box .box-blue .text h4 b,.coupon-box .box-blue .text .but-bg:hover{ background: #1080d0; }
.coupon-box .box-blue .text h4 i{ border-right-color: #1080d0; }
.coupon-box .box-green .text .tag i{ border-top-color: #52bd61; }
.coupon-box .box-green dt,.coupon-box .box-green dt p{ color: #52bd61; }
.coupon-box .box-green .text h4 b,.coupon-box .box-green .text .but-bg:hover{ background: #52bd61; }
.coupon-box .box-green .text h4 i{ border-right-color: #52bd61; }
.coupon-box .box-gray .text .tag i{ border-top-color: #999999; }
.coupon-box .box-gray dt,.coupon-box .box-gray dt p{ color: #999999; }
.coupon-box .box-gray .text h4 b,.coupon-box .box-gray .text .but-bg:hover{ background: #999999; }
.coupon-box .box-gray .text h4 i{ border-right-color: #999999; }
.coupon-box .box-orange .text h4 span{color:#ffa200; }
.coupon-box .box-blue .text h4 span{color:#1080d0; }
.coupon-box .box-green .text h4 span{color:#52bd61; }
.coupon-box i.icon-get{ font-size: 72px; position:absolute; right:10px; top:-50px; text-align: right;color:#999; }
.coupon-box .dangxuan{ height: 30px;}
.coupon-box .dangxuan span{ font-size: 12px; float: left; padding-top:13px; }
.coupon-box .dangxuan .mui-radio{ float: right; width: 28px;margin-top: 13px; }
.coupon-box .dangxuan .mui-radio input[type='radio']{ right: 0; top: 0; width: 18px; }
.coupon-box .nonuse{overflow: hidden; margin-top: 15px; height:30px; line-height:30px; font-size: 14px; border-radius: 5px; background: #fff;-webkit-box-shadow: 0 2px 3px #eeeeee;box-shadow: 0 2px 3px #eeeeee; }
.coupon-box .nonuse span{ font-size: 14px; float: left; padding-top: 0; padding-left: 5px; color: #666; }
.coupon-box .nonuse .dangxuan .mui-radio{margin: 8px 5px 0 0;}
.coupon_no{ text-align: center; padding: 25px 20px; }
.coupon_no dd{font-size: 12px;}
.coupon_no span{ width: 162px; height: 182px; padding-bottom: 20px; display: inline-block; background: url(https://m.ichunt.com/v3/dist/res/m/images/coupon/coupon_no.png); background-size: contain; background-repeat: no-repeat; }
}
\ No newline at end of file
.coupon{background:#f8f8f8}.coupon .van-tab--active span{color:red!important}.coupon .van-tabs .van-tabs__wrap{position:fixed;top:44px;left:0px;right:0px}.coupon .coupon-box{padding:0 5px}.coupon .coupon-box .block{overflow:hidden;margin-top:15px;border-radius:5px;background:#fff;-webkit-box-shadow:0 2px 5px #ddd;box-shadow:0 2px 5px #ddd}.coupon .coupon-box .block dt{width:125px;padding:10px 8px;float:left}.coupon .coupon-box .block dt h4{font-size:36px;font-family:Impact;height:40px;line-height:40px;text-align:center}.coupon .coupon-box .block dt h4 span{font-size:18px;position:relative;top:-15px;font-weight:400;line-height:20px}.coupon .coupon-box .block dt h4 b{font-size:16px;font-weight:400;line-height:20px}.coupon .coupon-box .block dt p{text-align:center;font-size:14px;padding-top:2.5px;line-height:16px;overflow:hidden}.coupon .coupon-box .block .text{padding:10px 8px 8px 125px;position:relative}.coupon .coupon-box .block .text .tag{font-size:12px;position:absolute;top:0;right:0;display:block;width:50px;height:50px}.coupon .coupon-box .block .text .tag span{-webkit-transform:rotate(45deg);transform:rotate(45deg);position:absolute;top:8px;right:-3px;z-index:2;color:#fff;overflow:hidden;display:block;width:40px;text-align:center}.coupon .coupon-box .block .text .tag i{position:absolute;top:0;right:0;z-index:1;display:block;border-top:50px solid red;border-left:50px solid transparent}.coupon .coupon-box .block .text h4{padding-right:50px;font-size:12px;color:#666;font-weight:400;line-height:20px;height:40px;overflow:hidden}.coupon .coupon-box .block .text h4 b{position:relative;color:#fff;display:inline-block;height:16px;font-weight:400;line-height:16px;padding:0 5px;margin:5px 6px}.coupon .coupon-box .block .text h4 i{float:left;position:absolute;top:0;left:-12px;content:"";height:0;width:0;pointer-events:none;border:solid transparent;border-width:8px 6px}.coupon .coupon-box .block .text p{font-size:12px;position:relative}.coupon .coupon-box .block .text p span{padding-top:12px;display:block;color:#999}.coupon .coupon-box .block .text .but-bg{height:30px;line-height:30px;font-size:14px;border-radius:30px;padding:0 12px;text-decoration:none;text-align:center;background:#fff}.coupon .coupon-box .block .text .but-bg:hover{color:#fff}.coupon .coupon-box .box-orange .text .but-bg{color:#ffa200;border:1px solid #ffa200}.coupon .coupon-box .box-blue .text .but-bg{color:#1080d0;border:1px solid #1080d0}.coupon .coupon-box .box-green .text .but-bg{color:#52bd61;border:1px solid #52bd61}.coupon .coupon-box .box-gray .text .but-bg{color:#999999;border:1px solid #999999}.coupon .coupon-box .block .number{height:33px;padding:8px;font-size:12px;color:#666;background:url(https://m.ichunt.com/v3/dist/res/m/images/coupon/coupon_bg.png) repeat-x;background-size:12px}.coupon .coupon-box .box-orange .text .tag i{border-top-color:#ffa200}.coupon .coupon-box .box-orange dt,.coupon .coupon-box .box-orange dt p{color:#ffa200}.coupon .coupon-box .box-orange .text h4 b,.coupon .coupon-box .box-orange .text .but-bg:hover{background:#ffa200}.coupon .coupon-box .box-orange .text h4 i{border-right-color:#ffa200}.coupon .coupon-box .box-blue .text .tag i{border-top-color:#1080d0}.coupon .coupon-box .box-blue dt,.coupon .coupon-box .box-blue dt p{color:#1080d0}.coupon .coupon-box .box-blue .text h4 b,.coupon .coupon-box .box-blue .text .but-bg:hover{background:#1080d0}.coupon .coupon-box .box-blue .text h4 i{border-right-color:#1080d0}.coupon .coupon-box .box-green .text .tag i{border-top-color:#52bd61}.coupon .coupon-box .box-green dt,.coupon .coupon-box .box-green dt p{color:#52bd61}.coupon .coupon-box .box-green .text h4 b,.coupon .coupon-box .box-green .text .but-bg:hover{background:#52bd61}.coupon .coupon-box .box-green .text h4 i{border-right-color:#52bd61}.coupon .coupon-box .box-gray .text .tag i{border-top-color:#999999}.coupon .coupon-box .box-gray dt,.coupon .coupon-box .box-gray dt p{color:#999999}.coupon .coupon-box .box-gray .text h4 b,.coupon .coupon-box .box-gray .text .but-bg:hover{background:#999999}.coupon .coupon-box .box-gray .text h4 i{border-right-color:#999999}.coupon .coupon-box .box-orange .text h4 span{color:#ffa200}.coupon .coupon-box .box-blue .text h4 span{color:#1080d0}.coupon .coupon-box .box-green .text h4 span{color:#52bd61}.coupon .coupon-box i.icon-get{font-size:72px;position:absolute;right:10px;top:-50px;text-align:right;color:#999}.coupon .coupon-box .dangxuan{height:30px}.coupon .coupon-box .dangxuan span{font-size:12px;float:left;padding-top:13px}.coupon .coupon-box .dangxuan .mui-radio{float:right;width:28px;margin-top:13px}.coupon .coupon-box .dangxuan .mui-radio input[type='radio']{right:0;top:0;width:18px}.coupon .coupon-box .nonuse{overflow:hidden;margin-top:15px;height:30px;line-height:30px;font-size:14px;border-radius:5px;background:#fff;-webkit-box-shadow:0 2px 3px #eeeeee;box-shadow:0 2px 3px #eeeeee}.coupon .coupon-box .nonuse span{font-size:14px;float:left;padding-top:0;padding-left:5px;color:#666}.coupon .coupon-box .nonuse .dangxuan .mui-radio{margin:8px 5px 0 0}.coupon .coupon_no{text-align:center;padding:25px 20px}.coupon .coupon_no dd{font-size:12px}.coupon .coupon_no span{width:162px;height:182px;padding-bottom:20px;display:inline-block;background:url(https://m.ichunt.com/v3/dist/res/m/images/coupon/coupon_no.png);background-size:contain;background-repeat:no-repeat}
\ No newline at end of file
...@@ -35,6 +35,7 @@ const lxshop = resolve => require(['@/views/lxshop/lxshop'], resolve); ...@@ -35,6 +35,7 @@ const lxshop = resolve => require(['@/views/lxshop/lxshop'], resolve);
const joincart = resolve => require(['@/views/car/car'], resolve); const joincart = resolve => require(['@/views/car/car'], resolve);
const user = resolve => require(['@/views/user/index'], resolve); const user = resolve => require(['@/views/user/index'], resolve);
const userInfo = resolve => require(['@/views/user/userInfo'], resolve); const userInfo = resolve => require(['@/views/user/userInfo'], resolve);
const userCoupon = resolve => require(['@/views/user/coupon'], resolve);
const brand = resolve => require(['@/views/brand/brand'], resolve); const brand = resolve => require(['@/views/brand/brand'], resolve);
const brandList = resolve => require(['@/views/brand/brandList'], resolve); const brandList = resolve => require(['@/views/brand/brandList'], resolve);
Vue.use(Router); Vue.use(Router);
...@@ -291,6 +292,14 @@ const routes = [{ ...@@ -291,6 +292,14 @@ const routes = [{
} }
}, },
{ {
path: '/userCoupon',
component: userCoupon,
meta: {
title: '优惠劵',
back: true
}
},
{
path: '/brand', path: '/brand',
component: brand, component: brand,
meta: { meta: {
......
import Vue from 'vue'
import {Toast} from 'vant';
import {services as Services} from '../../../api/index'
var qs = require('qs');
Vue.use(Toast);
const state = {
loading: false,
lists:[],
counts:{"0": "0", "1": "0", "-2": "0", "-1": "0"},
}
const mutations = {
}
const actions = {
ucouponLists({commit}, payload) {
var params = {
status:payload.status
}
Services.ucouponLists(qs.stringify(params)).then((res) => {
let data = res.data;
if (data.err_code == 0) {
state.lists=data.data;
}else {
Toast({
message: data.err_msg,
duration: 3000
});
}
}).catch(function (err) {
state.loading = false;
});
},
ucouponCount({commit}, payload) {
Services.ucouponCount().then((res) => {
let data = res.data;
if (data.err_code == 0) {
state.counts=data.data;
}else {
Toast({
message: data.err_msg,
duration: 3000
});
}
}).catch(function (err) {
state.loading = false;
});
},
}
const getters = {}
export default {
state,
mutations,
actions,
getters
}
...@@ -21,6 +21,7 @@ import lxshop from './modules/lxshop/lxshop' ...@@ -21,6 +21,7 @@ import lxshop from './modules/lxshop/lxshop'
import gooddetail from './modules/gooddetail/gooddetail' import gooddetail from './modules/gooddetail/gooddetail'
import car from './modules/car/index' import car from './modules/car/index'
import user from './modules/user/index' import user from './modules/user/index'
import coupon from './modules/user/coupon'
import userInfo from './modules/user/userInfo' import userInfo from './modules/user/userInfo'
import brand from './modules/brand/brand' import brand from './modules/brand/brand'
Vue.use(Vuex) Vue.use(Vuex)
...@@ -51,6 +52,7 @@ export default new Vuex.Store({ ...@@ -51,6 +52,7 @@ export default new Vuex.Store({
car, car,
user, user,
userInfo, userInfo,
coupon,
brand brand
} }
}) })
<template>
<section class="coupon">
<Header :title="title" ></Header>
<van-tabs @change="tabs" >
<van-tab :title="'未使用('+counts['-1']+')'"></van-tab>
<van-tab :title="'使用记录(('+counts['1']+')'"></van-tab>
<van-tab :title="'已过期('+counts['-2']+')'"></van-tab>
</van-tabs>
<div class="coupon-box clr coupon-user">
<dl class="block " :class="{'box-green':item.status==-1&&item.coupon_mall_type==1,'box-orange':item.status==-1&&item.coupon_mall_type==2,'box-blue':item.status==-1&&item.coupon_mall_type==3,'box-gray':item.status==1||item.status==-2}" v-for="item in lists">
<dt>
<h4>
<template v-if="item.coupon_type==1">
<span></span>{{item.sale_amount.toFixed(2)}}
</template>
<template v-else="item.coupon_type==1">
{{(item.sale_amount*10).toFixed(2)}}<b></b>
</template>
</h4>
<p>{{item.require_desc}}</p>
</dt>
<dd class="text">
<div class="tag">
<i></i>
<span>{{item.coupon_mall_type==1?'全站':(item.coupon_mall_type==2?'自营':'联营')}}</span>
</div>
<template v-if="item.coupon_goods_range==1">
<h4>适用于<span>{{item.coupon_mall_type==1?'全站':(item.coupon_mall_type==2?'全部自营':'全部联营')}}</span>商品</h4>
</template>
<template v-else>
<h4>适用于制造商<span>{{item.selected_brand}}</span>所有商品</h4>
</template>
<p class="clr">
<a :href="item.redirect_url" class="fr but-bg" v-if="item.status==-1">立即使用</a>
<i class="icon-get iconfont icon-yishiyong" v-if="item.status==1"></i>
<i class="icon-get iconfont icon-yiguoqi" v-if="item.status==-2"></i>
<span>{{item.start_time}} - {{item.end_time}}</span>
</p>
</dd>
</dl>
</div>
<van-loading type="spinner" color="#000" class="loading-background" v-if="loading"/>
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import { Loading ,Tab,Tabs} from 'vant';
import Header from '@/views/common/Header.vue';
Vue.use(Loading).use(Tab).use(Tabs);
export default {
name: 'coupon',
data() {
return {
title:"优惠劵",
active:0,
status:-1,
}
},
computed: {
...mapState({
loading: state => state.coupon.loading,
lists: state => state.coupon.lists,
counts: state => state.coupon.counts,
})
},
watch: {
},
created() {
this.getData();
this.$store.dispatch({
type: 'ucouponCount'
})
},
methods: {
getData(){
this.$store.dispatch({
type: 'ucouponLists',
status:this.status
})
},
tabs(index){
if(index==0){
this.status=-1;
}else if(index==1){
this.status=1;
}else if(index==2){
this.status=-2;
}
this.getData();
},
},
components: {
Header
}
}
</script>
<style scoped>
@import "../../assets/css/user/coupon.min.css";
</style>
\ No newline at end of file
...@@ -32,7 +32,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lx ...@@ -32,7 +32,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lx
/***/ (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 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 */ 33).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 */ 32).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 */ 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");
/***/ }), /***/ }),
......
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
...@@ -27,7 +27,7 @@ ...@@ -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="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/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> <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/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/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"> <body class="boxsiz">
<noscript> <noscript>
<strong>网站出现了一点小问题,正在紧急修复中.......</strong> <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