|
@@ -61,33 +61,40 @@
|
|
|
|
|
|
<view class="place-bac247"></view>
|
|
|
|
|
|
- <view class="comments_block">
|
|
|
- <view>用户评价
|
|
|
- <text class="colef524d">({{datas.common_info.comments}})</text>
|
|
|
+ <navigator url="/pages/special/special?title=N元任选&special_id=869&is_special=true" wx:if="{{getOneSummary.is_opgoods}}">
|
|
|
+ <view class="congratulation_text one_line_hidden">{{getOneSummary.opgoods_desc}}
|
|
|
+ <view class="tospecial">去看看 ></view>
|
|
|
</view>
|
|
|
- <navigator url="/pages/comments/comments?common_id={{datas.comment.common_id}}">
|
|
|
- <view class="f24">查看全部评论 > </view>
|
|
|
- </navigator>
|
|
|
- </view>
|
|
|
-
|
|
|
- <view class="comment">
|
|
|
- <view class="user">
|
|
|
- <view class="member_avatar f_left">
|
|
|
- <image src="{{datas.comment.member_avatar}}">
|
|
|
- </image>
|
|
|
+ </navigator>
|
|
|
+ <block wx:if="{{datas.comment}}">
|
|
|
+ <view class="comments_block">
|
|
|
+ <view>用户评价
|
|
|
+ <text class="colef524d">({{datas.common_info.comments}})</text>
|
|
|
</view>
|
|
|
- <view class="f28 f_left">{{datas.comment.nickname}}</view>
|
|
|
- <view class="scores f_right">
|
|
|
- <view class="flex-stars">
|
|
|
- <image class="star" src="../../image/star.png" wx:for="{{datas.comment.scores}}" wx:index="starindex" wx:key="starindex"></image>
|
|
|
+ <navigator url="/pages/comments/comments?common_id={{datas.comment.common_id}}">
|
|
|
+ <view class="f24">查看全部评论 > </view>
|
|
|
+ </navigator>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="comment">
|
|
|
+ <view class="user">
|
|
|
+ <view class="member_avatar f_left">
|
|
|
+ <image src="{{datas.comment.member_avatar}}">
|
|
|
+ </image>
|
|
|
+ </view>
|
|
|
+ <view class="f28 f_left">{{datas.comment.nickname}}</view>
|
|
|
+ <view class="scores f_right">
|
|
|
+ <view class="flex-stars">
|
|
|
+ <image class="star" src="../../image/star.png" wx:for="{{datas.comment.scores}}" wx:index="starindex" wx:key="starindex"></image>
|
|
|
+ </view>
|
|
|
+ <view class="comment_time">{{datas.comment.comment_time}}</view>
|
|
|
</view>
|
|
|
- <view class="comment_time">{{datas.comment.comment_time}}</view>
|
|
|
</view>
|
|
|
+ <view class="spec">规格:{{datas.comment.goods_spec}}</view>
|
|
|
+ <view class="content">{{datas.comment.content}}</view>
|
|
|
+ <view class="content_img"></view>
|
|
|
</view>
|
|
|
- <view class="spec">规格:{{datas.comment.goods_spec}}</view>
|
|
|
- <view class="content">{{datas.comment.content}}</view>
|
|
|
- <view class="content_img"></view>
|
|
|
- </view>
|
|
|
+ </block>
|
|
|
|
|
|
<view class="place-bac247"></view>
|
|
|
|
|
@@ -116,8 +123,8 @@
|
|
|
<image class="details_tabbar_icon" src="../../image/shopcart-icon.png"></image>
|
|
|
<view class="details_tabbar_label">购物车</view>
|
|
|
</navigator>
|
|
|
- <view class="details_tabbar_simple" bindtap='animation_flag' data-flag="true" data-cartorbuy="isCart">加入购物车</view>
|
|
|
- <view class="details_tabbar_simple buy" bindtap='animation_flag' data-flag="true" data-cartorbuy="isBuy">立即购买</view>
|
|
|
+ <view class="details_tabbar_simple" bindtap='animation_flag' data-flag="true" data-cartorbuy="isCart">加入购物车</view>
|
|
|
+ <view class="details_tabbar_simple buy" bindtap='animation_flag' data-flag="true" data-cartorbuy="isBuy">立即购买</view>
|
|
|
</view>
|
|
|
|
|
|
|