...
|
...
|
@@ -41,7 +41,8 @@ |
|
|
|
|
|
</view>
|
|
|
<!-- 请选择 -->
|
|
|
<view class="selectMain" bindtap="selectSku">
|
|
|
<view class="selectMain" bindtap="addCart">
|
|
|
<!-- <view class="selectMain" bindtap="selectSku"> -->
|
|
|
<view class="selectTitle">选择</view>
|
|
|
<view class="selectNum">
|
|
|
<view>{{}}</view>
|
...
|
...
|
@@ -65,10 +66,13 @@ |
|
|
<view class="noData" wx:if="{{infoList.length==0}}">暂时没有相关商品的更多评价~</view>
|
|
|
<view class="evaluateBox" wx:for="{{infoList}}" wx:if="{{infolist!==0}}">
|
|
|
<view class="evaluateInfo">
|
|
|
<view class="userImg" style="display:inline-block">
|
|
|
<view class="userImg" style="display:inline-block" wx:if="{{item.anonymous==0}}">
|
|
|
<image src="{{item.wxHeadImg}}"> </image>
|
|
|
</view>
|
|
|
<view class="userName" style="display:inline-block">{{item.wxName}}</view>
|
|
|
<view class="userImg" style="display:inline-block" wx:if="{{item.anonymous==1}}">
|
|
|
<image src="/images/nimingtouxiang.png"> </image>
|
|
|
</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}}">
|
...
|
...
|
@@ -124,7 +128,7 @@ |
|
|
<view class="Mask"></view>
|
|
|
</view>
|
|
|
<view class="bottom_right_two" wx:if="{{goodsData.type==1}}">
|
|
|
<view class="bottom_right_right_two" catchtap="immediatelyPay">立即兑换</view>
|
|
|
<view class="bottom_right_right_two" catchtap="immediatelyPay1">立即兑换</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 选择规格弹框 -->
|
...
|
...
|
@@ -137,7 +141,7 @@ |
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 加入购物车弹框 -->
|
|
|
<view class="mask" catchtap="closeMask" wx:if='{{showMask}}'>
|
|
|
<!-- <view class="mask" catchtap="closeMask" wx:if='{{showMask}}'>
|
|
|
<view class="diceng" catchtap="openMask">
|
|
|
<view class="info">
|
|
|
<image src="{{goodsData.goodsBanners[idx]}}"></image>
|
...
|
...
|
@@ -155,6 +159,8 @@ |
|
|
catchtap="changeAttrNum">{{cell.spec_value}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view>
|
|
|
</view>
|
|
|
<view class="pay_count">
|
|
|
<view>购买数量</view>
|
|
|
<view class="count_box">
|
...
|
...
|
@@ -167,6 +173,40 @@ |
|
|
<view class="btn" wx:if='{{type==1}}' catchtap="jiagou">加入购物车</view>
|
|
|
<view class="btn" wx:if='{{type==2}}' catchtap="lijigoumai">立即购买</view>
|
|
|
</view>
|
|
|
</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="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>
|
|
|
<!-- 立即购买弹框 -->
|
|
|
<view class="mask" catchtap="closeMaskTwo" wx:if='{{showMaskTwo}}'>
|
...
|
...
|
@@ -174,6 +214,7 @@ |
|
|
<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>
|
...
|
...
|
@@ -187,6 +228,18 @@ |
|
|
catchtap="changeAttrNum">{{cell.spec_value}}</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">
|
...
|
...
|
|