...
|
...
|
@@ -30,9 +30,9 @@ |
|
|
<view class="productPrice">
|
|
|
<view class="price" wx:if="{{goodsData.type==2}}">
|
|
|
<text class="moneyIcon">¥</text>
|
|
|
<text class="moneyNum">{{jifenNum}}</text>
|
|
|
<text class="moneyIcon" wx:if="{{addZero}}">.00</text>
|
|
|
</view>
|
|
|
<text class="moneyNum">{{jifenNum}}</text>
|
|
|
<text class="moneyIcon" wx:if="{{addZero}}">.00</text>
|
|
|
</view>
|
|
|
<view class="jifen" wx:if="{{goodsData.type==1}}">积分{{jifenNum}}</view>
|
|
|
<view class="share" data-id="{{goodsId}}">
|
|
|
<view class="shareIcon">
|
...
|
...
|
@@ -46,7 +46,7 @@ |
|
|
</view>
|
|
|
<!-- 请选择 -->
|
|
|
<view class="selectMain" bindtap="addCart">
|
|
|
<!-- <view class="selectMain" bindtap="selectSku"> -->
|
|
|
<!-- <view class="selectMain" bindtap="selectSku"> -->
|
|
|
<view class="selectTitle">选择</view>
|
|
|
<view class="selectNum">
|
|
|
<view>{{}}</view>
|
...
|
...
|
@@ -76,7 +76,7 @@ |
|
|
<view class="userImg" style="display:inline-block" wx:if="{{item.anonymous==1}}">
|
|
|
<image src="/images/nimingtouxiang.png" mode="aspectFill"> </image>
|
|
|
</view>
|
|
|
<view class="userName" style="display:inline-block" >{{item.wxName}}</view>
|
|
|
<view class="userName" style="display:inline-block">{{item.wxName}}</view>
|
|
|
</view>
|
|
|
<view class="evaluateDetails">{{item.content}}</view>
|
|
|
<view class="evaluatePic" wx:if="{{item.images}}">
|
...
|
...
|
@@ -94,7 +94,7 @@ |
|
|
</view> -->
|
|
|
</view>
|
|
|
<view class="bottomHint" wx:if="{{bottomHint}}">
|
|
|
我是有底线的~
|
|
|
我是有底线的~
|
|
|
</view>
|
|
|
</view>
|
|
|
<!--底部 -->
|
...
|
...
|
@@ -107,7 +107,7 @@ |
|
|
<van-goods-action-button type="danger" text="立即购买" />
|
|
|
</van-goods-action>
|
|
|
</view> -->
|
|
|
<view class="bottom">
|
|
|
<view class="{{iphone?'bottom1':'bottom'}}">
|
|
|
<view class="bottom_left">
|
|
|
<view class="bottom_left_item" catchtap="myKefu">
|
|
|
<image src="/images/01-03/kefu.png"></image>
|
...
|
...
|
@@ -123,10 +123,6 @@ |
|
|
<image src='{{goodsData.keep==false?"/images/01-03/unshoucang.png":"/images/01-03/shoucang.png"}}'></image>
|
|
|
<view class="collecttext">{{goodsData.keep==false?"收藏":"已收藏"}}</view>
|
|
|
</view>
|
|
|
<!-- <view wx:if="{{goodsData.keep==true}}">
|
|
|
<image src="/images/01-03/shoucang.png"></image>
|
|
|
<view>已收藏</view>
|
|
|
</view> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="bottom_right" wx:if="{{goodsData.type==2}}">
|
...
|
...
|
@@ -149,42 +145,42 @@ |
|
|
</view>
|
|
|
<!-- 加入购物车弹框 -->
|
|
|
<view class="mask" catchtap="closeMask" wx:if='{{showMask}}'>
|
|
|
<view class="diceng" catchtap="openMask">
|
|
|
<view class="info">
|
|
|
<image src="{{goodsData.goodsBanners[0]}}"></image>
|
|
|
<view class="info_right">
|
|
|
<view class="diceng" catchtap="openMask" id="{{iphone?'bottom40':''}}">
|
|
|
<view class="info">
|
|
|
<image src="{{goodsData.goodsBanners[0]}}"></image>
|
|
|
<view class="info_right">
|
|
|
<view class="info_name">{{goodsData.goodsName}}</view>
|
|
|
<view class="info_price">¥{{goodsData.list[idx].goodsPrice}}</view>
|
|
|
<view class="info_stock">库存:{{goodsData.list[idx].goodsStock}}件</view>
|
|
|
<view class="info_stock" wx:if='{{info.detai.spec_type=="20"}}'>请选择规格</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="attr" wx:if='{{info.detail.spec_type=="20"}}' wx:for='{{info.specData.spec_attr}}' wx:key='index'>
|
|
|
<view>{{item.group_name}}</view>
|
|
|
<view class="attr_main">
|
|
|
<view class="attr_item {{cell.flag?'activity':''}}" wx:for='{{item.spec_items}}' wx:for-item='cell'
|
|
|
wx:for-index='cellindex' wx:key='{{cellindex}}' data-index='{{index}}' data-cellindex='{{cellindex}}'
|
|
|
catchtap="changeAttrNum">{{cell.spec_value}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="spec">
|
|
|
<view class="{{idx==index?'specItem1':'specItem'}}" wx:for="{{goodsData.list}}" bindtap="check"
|
|
|
data-index="{{index}}" data-id="{{item.goodsSkuId}}">{{item.goodsSkuName}}</view>
|
|
|
</view>
|
|
|
<view class="pay_count">
|
|
|
<view>购买数量</view>
|
|
|
<view class="count_box">
|
|
|
<view class="count_jian" catchtap="decNum">-</view>
|
|
|
<view class="real_count">{{count}}</view>
|
|
|
<view class="count_jian" catchtap="addNum">+</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="confrimBtn" catchtap="confrimCart">确定</view>
|
|
|
</view>
|
|
|
<view class="info_price">¥{{goodsData.list[idx].goodsPrice}}</view>
|
|
|
<view class="info_stock">库存:{{goodsData.list[idx].goodsStock}}件</view>
|
|
|
<view class="info_stock" wx:if='{{info.detai.spec_type=="20"}}'>请选择规格</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="attr" wx:if='{{info.detail.spec_type=="20"}}' wx:for='{{info.specData.spec_attr}}' wx:key='index'>
|
|
|
<view>{{item.group_name}}</view>
|
|
|
<view class="attr_main">
|
|
|
<view class="attr_item {{cell.flag?'activity':''}}" wx:for='{{item.spec_items}}' wx:for-item='cell'
|
|
|
wx:for-index='cellindex' wx:key='{{cellindex}}' data-index='{{index}}' data-cellindex='{{cellindex}}'
|
|
|
catchtap="changeAttrNum">{{cell.spec_value}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="spec">
|
|
|
<view class="{{idx==index?'specItem1':'specItem'}}" wx:for="{{goodsData.list}}" bindtap="check"
|
|
|
data-index="{{index}}" data-id="{{item.goodsSkuId}}">{{item.goodsSkuName}}</view>
|
|
|
</view>
|
|
|
<view class="pay_count">
|
|
|
<view>购买数量</view>
|
|
|
<view class="count_box">
|
|
|
<view class="count_jian" catchtap="decNum">-</view>
|
|
|
<view class="real_count">{{count}}</view>
|
|
|
<view class="count_jian" catchtap="addNum">+</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="confrimBtn" catchtap="confrimCart">确定</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 立即购买弹框 -->
|
|
|
<view class="mask" catchtap="closeMaskTwo" wx:if='{{showMaskTwo}}'>
|
|
|
<view class="diceng" catchtap="openMask">
|
|
|
<view class="diceng" catchtap="openMask" id="{{iphone?'bottom40':''}}">
|
|
|
<view class="info">
|
|
|
<image src="{{goodsData.goodsBanners[0]}}"></image>
|
|
|
<view class="info_right">
|
...
|
...
|
@@ -203,17 +199,17 @@ |
|
|
</view>
|
|
|
</view>
|
|
|
<view class="attr" wx:if='{{info.detail.spec_type=="20"}}' wx:for='{{info.specData.spec_attr}}' wx:key='index'>
|
|
|
<view>{{item.group_name}}</view>
|
|
|
<view class="attr_main">
|
|
|
<view class="attr_item {{cell.flag?'activity':''}}" wx:for='{{item.spec_items}}' wx:for-item='cell'
|
|
|
wx:for-index='cellindex' wx:key='{{cellindex}}' data-index='{{index}}' data-cellindex='{{cellindex}}'
|
|
|
catchtap="changeAttrNum">{{cell.spec_value}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="spec">
|
|
|
<view class="{{idx==index?'specItem1':'specItem'}}" wx:for="{{goodsData.list}}" bindtap="check"
|
|
|
data-index="{{index}}" data-id="{{item.goodsSkuId}}">{{item.goodsSkuName}}</view>
|
|
|
</view>
|
|
|
<view>{{item.group_name}}</view>
|
|
|
<view class="attr_main">
|
|
|
<view class="attr_item {{cell.flag?'activity':''}}" wx:for='{{item.spec_items}}' wx:for-item='cell'
|
|
|
wx:for-index='cellindex' wx:key='{{cellindex}}' data-index='{{index}}' data-cellindex='{{cellindex}}'
|
|
|
catchtap="changeAttrNum">{{cell.spec_value}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="spec">
|
|
|
<view class="{{idx==index?'specItem1':'specItem'}}" wx:for="{{goodsData.list}}" bindtap="check"
|
|
|
data-index="{{index}}" data-id="{{item.goodsSkuId}}">{{item.goodsSkuName}}</view>
|
|
|
</view>
|
|
|
<view class="pay_count">
|
|
|
<view>购买数量</view>
|
|
|
<view class="count_box">
|
...
|
...
|
|