diff --git a/exchange.html b/exchange.html index c67c3eb..ebe2e70 100644 --- a/exchange.html +++ b/exchange.html @@ -164,14 +164,13 @@ this.backAble=goodsCount>1; this.bgcolor = detailsConfig.button_color; this.bgcolor = '#f00' - this.ftcolor = detailsConfig.font_color; this.describe = detailsConfig.describe; let goodsInform=JSON.parse(sessionStorage.getItem('goodsInfo'));//商品信息 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.detailUrl=goodsInform.detail_url; + this.detailUrl=goodsInform.detail_url.length>0?goodsInform.detail_url[0]:''; this.productType = JSON.parse(sessionStorage.getItem('goodsInfo')).account_type; self.$nextTick(function () {