Commit ca77ccca by 张立顺

feat 样式bug修复

1 parent c0c818b7
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<!-- filter.replaceItemText(i.upgradeGoodsAlias) || --> <!-- filter.replaceItemText(i.upgradeGoodsAlias) || -->
<view>{{filter.replaceItemText(i.upgradeGoodsAlias) ||filter.replaceItemText(i.upgradeGoodsName) || filter.replaceItemText(i.goodsInfo.goodsName)}}</view> <view>{{filter.replaceItemText(i.upgradeGoodsAlias) ||filter.replaceItemText(i.upgradeGoodsName) || filter.replaceItemText(i.goodsInfo.goodsName)}}</view>
<!-- <text wx:if="{{i.merchantGoodsPosition && i.goodsInfo.goodsType == 1}}">{{'「' + i.positionStr+'」'}}</text> --> <!-- <text wx:if="{{i.merchantGoodsPosition && i.goodsInfo.goodsType == 1}}">{{'「' + i.positionStr+'」'}}</text> -->
<view class="serveName">(包含{{i.serveName}})</view> <view class="serveName" wx:if="{{i.serveName}}">(包含{{i.serveName}})</view>
<!-- <text class="warning_text" wx:if="{{!i.merchantGoodsPosition && i.goodsInfo.goodsType == 1}}">无部位</text> --> <!-- <text class="warning_text" wx:if="{{!i.merchantGoodsPosition && i.goodsInfo.goodsType == 1}}">无部位</text> -->
</view> </view>
<view class="last" > <view class="last" >
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<view class="name text-hide "> <view class="name text-hide ">
<view>{{filter.replaceItemText(i.goods.upgradeGoodsAlias) ||filter.replaceItemText(i.goods.upgradeGoodsName) || filter.replaceItemText(i.goods.goodsInfo.goodsName)}}</view> <view>{{filter.replaceItemText(i.goods.upgradeGoodsAlias) ||filter.replaceItemText(i.goods.upgradeGoodsName) || filter.replaceItemText(i.goods.goodsInfo.goodsName)}}</view>
<!-- <text wx:if="{{i.merchantGoodsPosition && i.goodsInfo.goodsType == 1}}">{{'「' + i.positionStr+'」'}}</text> --> <!-- <text wx:if="{{i.merchantGoodsPosition && i.goodsInfo.goodsType == 1}}">{{'「' + i.positionStr+'」'}}</text> -->
<view class="serveName">(包含{{i.goods.serveName}})</view> <view class="serveName" wx:if="{{i.goods.serveName}}">(包含{{i.goods.serveName}})</view>
<!-- <text class="warning_text" wx:if="{{!i.merchantGoodsPosition && i.goodsInfo.goodsType == 1}}">无部位</text> --> <!-- <text class="warning_text" wx:if="{{!i.merchantGoodsPosition && i.goodsInfo.goodsType == 1}}">无部位</text> -->
</view> </view>
<view class="last"> <view class="last">
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</view> </view>
</view> </view>
<view class="goodsChild" > <view class="goodsChild">
<view class="goodsItem" wx:for="{{i.packageGoods.goodsList}}" wx:key="childind" wx:for-index="childind" wx:for-item="child"> <view class="goodsItem" wx:for="{{i.packageGoods.goodsList}}" wx:key="childind" wx:for-index="childind" wx:for-item="child">
<view class="goodsListName">{{filter.replaceItemText(child.goodsAlias) ||filter.replaceItemText(child.upgradeGoodsName) || filter.replaceItemText(child.goodsInfo.goodsName)}}</view> <view class="goodsListName">{{filter.replaceItemText(child.goodsAlias) ||filter.replaceItemText(child.upgradeGoodsName) || filter.replaceItemText(child.goodsInfo.goodsName)}}</view>
<view class="goodsListPrice">¥{{child.sellPrice}}</view> <view class="goodsListPrice">¥{{child.sellPrice}}</view>
......
...@@ -468,6 +468,7 @@ Page({ ...@@ -468,6 +468,7 @@ Page({
let obj = { let obj = {
...item, ...item,
upgradeGoodsId: item.goodsId, upgradeGoodsId: item.goodsId,
merchantGoodsId: item.id,
price: this.divideByHundred(item.goodsPrice) price: this.divideByHundred(item.goodsPrice)
} }
pre.push({ goods: obj, packageGoods: null }) pre.push({ goods: obj, packageGoods: null })
...@@ -475,6 +476,7 @@ Page({ ...@@ -475,6 +476,7 @@ Page({
if (item.packageName) { if (item.packageName) {
let obj = { let obj = {
...item, ...item,
merchantGoodsId: item.goodsId,
upgradeGoodsId: item.goodsId, upgradeGoodsId: item.goodsId,
price: this.divideByHundred(item.goodsPrice) price: this.divideByHundred(item.goodsPrice)
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!