商品详情页更新结构
This commit is contained in:
parent
542e3b505d
commit
a43a4d0d78
|
@ -164,14 +164,13 @@
|
||||||
this.backAble=goodsCount>1;
|
this.backAble=goodsCount>1;
|
||||||
this.bgcolor = detailsConfig.button_color;
|
this.bgcolor = detailsConfig.button_color;
|
||||||
this.bgcolor = '#f00'
|
this.bgcolor = '#f00'
|
||||||
|
|
||||||
this.ftcolor = detailsConfig.font_color;
|
this.ftcolor = detailsConfig.font_color;
|
||||||
this.describe = detailsConfig.describe;
|
this.describe = detailsConfig.describe;
|
||||||
let goodsInform=JSON.parse(sessionStorage.getItem('goodsInfo'));//商品信息
|
let goodsInform=JSON.parse(sessionStorage.getItem('goodsInfo'));//商品信息
|
||||||
this.goodInfo = goodsInform;
|
this.goodInfo = goodsInform;
|
||||||
let goods_desc=goodsInform.describe_url.split(',');
|
let goods_desc=goodsInform.describe_url;
|
||||||
this.goodsShow = goods_desc.length>0?goods_desc:[JSON.parse(sessionStorage.getItem('goodsInfo')).show_url];
|
this.goodsShow = goods_desc.length>0?goods_desc:[JSON.parse(sessionStorage.getItem('goodsInfo')).show_url];
|
||||||
this.detailUrl=goodsInform.detail_url;
|
this.detailUrl=goodsInform.detail_url.length>0?goodsInform.detail_url[0]:'';
|
||||||
this.productType = JSON.parse(sessionStorage.getItem('goodsInfo')).account_type;
|
this.productType = JSON.parse(sessionStorage.getItem('goodsInfo')).account_type;
|
||||||
|
|
||||||
self.$nextTick(function () {
|
self.$nextTick(function () {
|
||||||
|
|
Loading…
Reference in New Issue