|
@@ -2,25 +2,62 @@
|
|
|
<import src="../../wxParse/wxParse.wxml" />
|
|
|
<view class="bacfff">
|
|
|
<view class="pos_rel">
|
|
|
- <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-color="rgba(208, 205, 209, 1)" circular="true" indicator-active-color="#eb4e4f" style="height:750rpx">
|
|
|
+ <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-color="#E8E8E8"
|
|
|
+ circular="true" indicator-active-color="##2B2B2B" style="height:750rpx">
|
|
|
<block wx:for="{{imgUrls}}" wx:key="*this">
|
|
|
<swiper-item>
|
|
|
<image src="{{item}}" class="slide-image" mode="widthFix" style="width: 100%;" />
|
|
|
</swiper-item>
|
|
|
</block>
|
|
|
</swiper>
|
|
|
- <view class="comment_swiper" wx:if="{{datas.comment.content}}">
|
|
|
+ <!-- <view class="comment_swiper" wx:if="{{datas.comment.content}}">
|
|
|
<navigator class="f0" url="/pages/comments/comments?common_id={{datas.comment.common_id}}">
|
|
|
<image src="{{datas.comment.member_avatar}}"></image>
|
|
|
<text class="comment_content one_line_hidden" decode="{{true}}"> {{datas.comment.nickname}}:{{datas.comment.content}}</text>
|
|
|
- <!-- <text class="nickname" decode="{{true}}"> {{datas.comment.nickname}}:</text>
|
|
|
- <text class="comment_content one_line_hidden">{{datas.comment.content}}</text> -->
|
|
|
</navigator>
|
|
|
</view>
|
|
|
- <view class="details_collection flex_center">已收藏人数 {{getOneSummary.goods_collect}}</view>
|
|
|
+ <view class="details_collection flex_center">已收藏人数 {{getOneSummary.goods_collect}}</view> -->
|
|
|
</view>
|
|
|
+ <view class="place-bacd9"></view>
|
|
|
+ <!-- <text decode="{{true}}">¥{{getOneSummary['act_type'] == 0?getOneSummary.bonus_price:getOneSummary['goods_promotion_price']}} </text> -->
|
|
|
+ <view class="n_goods_content">
|
|
|
+ <view class="n_price_content align_center">
|
|
|
+ <text class="f24 col333" wx:if="{{getOneSummary['act_type'] == 0}}">红包价:</text>
|
|
|
+ <text class="f34 col2B2B2B ft_bold">¥{{getOneSummary['act_type'] == 0?getOneSummary.bonus_price:getOneSummary['goods_promotion_price']}}</text>
|
|
|
+ <text class="f24 col999 ml10 line-through">专柜价:¥{{getOneSummary.goods_price}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="f24 col666 l_height34 mt4">库存:{{getOneSummary.goods_storage}}件</view>
|
|
|
+ <view class="n_goods_title">
|
|
|
+ <view class="brand_auth">{{getOneSummary.brand_author_desc}}</view>
|
|
|
+ <text decode="{{true}}">{{getOneSummary.goods_mobile_name}} {{getOneSummary.goods_jingle}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="place-bacd9"></view>
|
|
|
|
|
|
- <view class="goods_content">
|
|
|
+ <view class="ensure_desc">
|
|
|
+ <view class="stamps_list">
|
|
|
+ <view class="n_stamps_item" wx:if="{{getOneSummary.brand_country_logo}}">
|
|
|
+ <image class="stamp_pic" src="{{getOneSummary.brand_country_logo}}"></image>
|
|
|
+ {{getOneSummary.brand_country}}品牌
|
|
|
+ </view>
|
|
|
+ <view class="n_stamps_item">
|
|
|
+ <image class="stamp_pic" src="../../image/lrlz.png"></image>
|
|
|
+ 丽妆自营
|
|
|
+ </view>
|
|
|
+ <view class="n_stamps_item">
|
|
|
+ <image class="stamp_pic zg" src="../../image/zg.png"></image>
|
|
|
+ 线上专柜
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="ensure_desc_text" wx:if="{{datas.common_info.brand_tip}}">{{datas.common_info.brand_tip}} </view>
|
|
|
+ <view class="see_ensure_wrap">
|
|
|
+ <image class="see_ensure_desc" src="../../image/back.png"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="place-bac247"></view>
|
|
|
+
|
|
|
+ <!-- <view class="goods_content">
|
|
|
<view class="padLR30">
|
|
|
<view class="one_line_hidden goods_name_title">{{getOneSummary.goods_mobile_name}}</view>
|
|
|
<view class="one_line_hidden col333 f28">{{getOneSummary.goods_jingle}}</view>
|
|
@@ -34,10 +71,10 @@
|
|
|
<text wx:if="{{getOneSummary['act_type'] == 0}}" decode="{{true}}">红包抵{{getOneSummary.differencePrice}}元 /</text>
|
|
|
<text decode="{{true}}">已售{{getOneSummary.goods_salenum}}件 / 库存{{getOneSummary.goods_storage}}件</text>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
|
|
|
- <view wx:if="{{getOneSummary['act_type'] == 0}}" class="congratulation_text one_line_hidden">{{getOneSummary.gap_desc}}</view>
|
|
|
- <navigator url="/pages/special/special?title=F码专区&special_id=905" wx:if="{{getOneSummary['is_fcode']}}">
|
|
|
+ <!-- <view wx:if="{{getOneSummary['act_type'] == 0}}" class="congratulation_text one_line_hidden">{{getOneSummary.gap_desc}}</view> -->
|
|
|
+ <!-- <navigator url="/pages/special/special?title=F码专区&special_id=905" wx:if="{{getOneSummary['is_fcode']}}">
|
|
|
<view class="congratulation_text one_line_hidden colef524d">F码购买
|
|
|
<view class="tospecial">去看看 ></view>
|
|
|
</view>
|
|
@@ -61,70 +98,82 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="place-bac247"></view>
|
|
|
-
|
|
|
- <navigator url="/pages/special/special?title=N元任选&special_id=869&is_special=true" wx:if="{{getOneSummary.is_opgoods}}">
|
|
|
+ <view class="place-bac247"></view> -->
|
|
|
+ <!-- <view>{{countTime}}</view> -->
|
|
|
+ <!-- <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>
|
|
|
+ </navigator> -->
|
|
|
<block wx:if="{{datas.comment}}">
|
|
|
- <view class="comments_block">
|
|
|
- <view>用户评价
|
|
|
- <text class="colef524d">({{datas.common_info.comments}})</text>
|
|
|
+ <view class="comments_box">
|
|
|
+ <view class="comments_header">
|
|
|
+ -商品评价-
|
|
|
+ <!-- <navigator url="/pages/comments/comments?common_id={{datas.comment.common_id}}"></navigator> -->
|
|
|
+ <view class="all_comments" catchtap="allComments">
|
|
|
+ 查看全部
|
|
|
+ <image class="all_comments_icon" src="../../image/back.png"></image>
|
|
|
+ </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>
|
|
|
+ <view class="comments_basic_info">
|
|
|
+ <view class="f30 col333">商品评论
|
|
|
+ <text class="ft_bold ml8">({{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>
|
|
|
- </view>
|
|
|
- <view class="comment_time">{{datas.comment.comment_time}}</view>
|
|
|
+ <view class="align_center">
|
|
|
+ <text class="f24 col333 mr10">{{datas.common_info.comments_rate}}</text>
|
|
|
+ <block wx:for="{{starSrcs}}" wx:key="*this">
|
|
|
+ <image class="star" src="{{item}}"></image>
|
|
|
+ </block>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="spec">规格:{{datas.comment.goods_spec}}</view>
|
|
|
- <view class="content">{{datas.comment.content}}</view>
|
|
|
- <view class="content_img"></view>
|
|
|
+
|
|
|
+ <block wx:for="{{comments}}" wx:key="*this" wx:for-index="index">
|
|
|
+ <view class="comments_item">
|
|
|
+ <view>
|
|
|
+ <view class="align_center member_avatar">
|
|
|
+ <image src="{{item.member_avatar}}"></image>
|
|
|
+ <view class="f28 col333 ml20">{{item.nickname}}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="f24 col333 l_height34 mt20">{{item.content}}</view>
|
|
|
+ <view class="f24 col999 l_height34 mt10" wx:if="{{item['transform_addtime']}}">{{item['transform_addtime']}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="place-bacd9" wx:if="{{index < comments.length - 1}}"></view>
|
|
|
+ </block>
|
|
|
</view>
|
|
|
</block>
|
|
|
-
|
|
|
<view class="place-bac247"></view>
|
|
|
|
|
|
- <view class="comments_block">
|
|
|
- <view>产品参数</view>
|
|
|
+ <view class="comments_box">
|
|
|
+ <view class="comments_header mb20">-图文详情-</view>
|
|
|
+ <template is="wxParse" data="{{wxParseData:article.nodes}}" />
|
|
|
</view>
|
|
|
|
|
|
- <view class="vux-1px-b">
|
|
|
- <view class="attr_list_item" wx:for="{{datas.common_info.attrs}}" wx:index="attrindex" wx:key="attrindex">
|
|
|
- <text>{{item.name}}</text>
|
|
|
- <text class="col333">{{item.value}}</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
|
|
|
- <view class="place-bac247"></view>
|
|
|
- <template is="wxParse" data="{{wxParseData:article.nodes}}"/>
|
|
|
-<!-- <view class="see_more_details" bindtap="toWebView">查看更多详情</view> -->
|
|
|
+ <!-- <view class="see_more_details" bindtap="toWebView">查看更多详情</view> -->
|
|
|
<view class="place_details_tabbar"></view>
|
|
|
|
|
|
<view class="details_tabbar">
|
|
|
- <navigator class="details_tabbar_item" url="/pages/index/index" open-type="switchTab">
|
|
|
- <image class="details_tabbar_icon" src="../../image/home-icon.png"></image>
|
|
|
+ <navigator class="details_tabbar_item right_line" url="/pages/index/index" open-type="switchTab">
|
|
|
+ <view class="tabbar_icon_wrap flex_center">
|
|
|
+ <image class="home_icon" src="../../image/home-icon.png"></image>
|
|
|
+ </view>
|
|
|
<view class="details_tabbar_label">首页</view>
|
|
|
</navigator>
|
|
|
- <navigator class="details_tabbar_item" url="/pages/shopCart/shopCart" open-type="switchTab">
|
|
|
- <image class="details_tabbar_icon" src="../../image/shopcart-icon.png"></image>
|
|
|
+ <navigator class="details_tabbar_item right_line" url="/pages/shopCart/shopCart" open-type="switchTab">
|
|
|
+ <view class="tabbar_icon_wrap flex_center">
|
|
|
+ <image class="shopcart_icon" src="../../image/shopcart-icon.png"></image>
|
|
|
+ </view>
|
|
|
<view class="details_tabbar_label">购物车</view>
|
|
|
</navigator>
|
|
|
+ <view class="details_tabbar_item" session-from="weapp">
|
|
|
+ <contact-button session-from="weapp" style="opacity:0;position: absolute;left: 0;right:0;top: 0;bottom: 0;z-index:2;"></contact-button>
|
|
|
+ <view class="tabbar_icon_wrap flex_center">
|
|
|
+ <image class="shopcart_icon" src="../../image/details_customer.png"></image>
|
|
|
+ </view>
|
|
|
+ <view class="details_tabbar_label">客服</view>
|
|
|
+ </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>
|
|
@@ -157,7 +206,8 @@
|
|
|
<view class="simple_goods_spec vux-1px-b">
|
|
|
<view class="f24">选择{{datas.common_info.spec_name}}</view>
|
|
|
<view class="simple_sec_content">
|
|
|
- <view class="sec_content_btn {{sec_index==idx?'sec_active':''}}" wx:for="{{datas.common_info.skus}}" wx:for-index="idx" wx:key="idx" bindtap='secSku' data-secindex="{{idx}}" data-goodsid="{{item.goods_id}}">{{item.spv_name}}</view>
|
|
|
+ <view class="sec_content_btn {{sec_index==idx?'sec_active':''}}" wx:for="{{datas.common_info.skus}}" wx:for-index="idx" wx:key="idx"
|
|
|
+ bindtap='secSku' data-secindex="{{idx}}" data-goodsid="{{item.goods_id}}">{{item.spv_name}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -171,6 +221,5 @@
|
|
|
</view>
|
|
|
<view class="close_btn" bindtap='animation_flag' data-flag="false"></view>
|
|
|
<view class="simple_goods_buy" bindtap="checkSubmit">确定</view>
|
|
|
-
|
|
|
</view>
|
|
|
</view>
|