123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <import src="../../wxParse/wxParse.wxml"/>
- <view class="container">
- <view class="swiper-container">
- <image src="{{imgurl+goodsDetail.goodsPic}}" width="355px" height="150px"></image>
- </view>
- <view class="goods-info">
- <view class="goods-title" >{{goodsDetail.goodsName}}
-
- <view bindtap='zan' style="float:right;">
- <image wx:if="{{zanstatus=='Y'}}" src="../../images/zan_com.png" style="width:15px;height: 15px;margin-right:25rpx;"/>
- <image wx:if="{{zanstatus=='N'}}" src="../../images/zan_normal.png" style="width:15px;height: 15px;margin-right:25rpx;"/>
- <text class='acount' style="margin-right:25rpx;" >{{znum}}</text>
- </view>
-
-
-
- </view>
- <view class="goods-price">¥{{goodsDetail.goodsShichangjia}}</view>
-
- </view>
- <view class="goods-des-info">
- <view class="goods-text">
- <template is="wxParse" data="{{wxParseData:article.nodes}}"></template>
- </view>
-
- </view>
- <view class='panel comments'>
- <view class='panel-heading base-padding'>
- <view class='panel-title pdt-30rpx strong font-lv2'>点评</view>
- </view>
- <view class='panel-body base-padding'>
- <block wx:if="{{comments.length>0}}">
- <view wx:for="{{comments}}" wx:key="index" wx:for-item="comment" class='row comment-list'>
-
- <view class='col-10 comment-right'>
- <view class='row comment-info'>
- {{comment.uname}}
- <view class='col'>
- <view class='score score-50'></view>
- </view>
- <view class='col'>
- <view class='pull-right font-lv4 color-grey'>{{common.relativeTime(comment.fbsj)}}</view>
- </view>
- </view>
- <view class='row comment-content color-grey font-lv3 mgt-15rpx'>{{comment.contents}}
- </view>
- <view wx:if="{{comment.huifu!=null && comment.huifu!=''}}" class='row comment-content color-grey font-lv3 mgt-15rpx'>
- 回复: {{comment.huifu}}
- </view>
- </view>
- </view>
- </block>
-
- </view>
- </view>
- <view class="footer-box">
-
- <view class="now-buy" bindtap="tobuy">立即预约</view>
- </view>
-
- <view class="show-popup" hidden="{{hideShopPopup}}" >
- <view class="popup-mask" bindtap="closePopupTap"></view>
- <view class="popup-contents">
- <view class="pop-goods-info">
- <view class="pop-img-box">
- <image src="{{goodsDetail.basicInfo.pic}}" class="goods-thumbnail"/>
- </view>
- <view class="pop-goods-des">
- <view class="pop-goods-title">{{goodsDetail.basicInfo.name}}</view>
- <view class="pop-goods-price">¥ {{selectSizePrice}}</view>
- </view>
- <view class="pop-goods-close" bindtap="closePopupTap"></view>
- </view>
- <view class="size-label-box">
- <block wx:for="{{goodsDetail.properties}}" wx:for-item="property" wx:for-index="idx">
- <view class="label">{{property.name}}</view>
- <view class="label-item-box">
- <view class="label-item {{item.active ? 'active' : '' }}" wx:for="{{property.childsCurGoods}}" bindtap="labelItemTap" data-propertyindex="{{idx}}" data-propertyid="{{property.id}}" data-propertyname="{{property.name}}" data-propertychildindex="{{index}}" data-propertychildid="{{item.id}}" data-propertychildname="{{item.name}}">
- {{item.name}}
- </view>
- </view>
- </block>
- </view>
- <view class="buy-num-box">
- <view class="num-label">购买数量</view>
- <view class="num-box">
- <view class="num-jian {{buyNumber == buyNumMin ? 'hui': ''}}" bindtap="numJianTap">-</view>
- <view class="num-input">
- <input type="number" value="{{buyNumber}}" disabled/>
- </view>
- <view class="num-jia {{buyNumber== buyNumMax ? 'hui': ''}}" bindtap="numJiaTap">+</view>
- </view>
- </view>
- <view class="popup-join-btn" bindtap="addShopCar">
- 加入购物车
- </view>
- </view>
- </view>
- </view>
|