12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <nav type="back" background-color="{{activeColor}}" title="购买详情" frontColor="#ffffff" />
- <image class="image" src="{{goods.image}}" />
- <view class="goods">
- <view class="goods-name">{{goods.name}}</view>
- <view class="goods-price">
- <view class="price">
- <view class="price1">¥</view>
- <view class="price-size">{{goods.price}}</view>
- <view class="original"> ¥{{goods.originalPrice}}</view>
- </view>
- <view class="security-number">已售{{goods.sales}}</view>
- </view>
- <block wx:for="{{goods.services}}" wx:key="index">
- <view class="instructions">
- <view class="instructions-txt">{{item.value}}</view>
- </view>
- </block>
- </view>
- <view class="package">
- <view class="package-name">
- <view class="name">特色详情</view>
- <rich-text nodes="{{goods.details}}" style="width: 92%;height: 100%; margin-right: 0 auto;"></rich-text>
- </view>
- </view>
- <view class="shopstore">
- <view class="store-name">适用商户</view>
- <view class="stores">
- <view class="stores-box">
- <image class="store-image" src="{{goods.shopStore.cover}}" />
- <view class="store-title">
- <view class="name">{{goods.shopStore.storeName}}</view>
- <view class="score">
- <van-rate readonly value="{{ goods.shopStore.score }}" allow-half void-icon="star" size="{{ 10 }}" void-color="#eee" color="#FF8936" />
- <view class="scores">{{goods.shopStore.score}}分</view>
- </view>
- <view class="time">营业时间:{{goods.shopStore.workingTime}}</view>
- </view>
- </view>
- <view class="phone" bindtap="phone">
- <view style="text-align: center;">
- <van-icon name="phone" size="30px" />
- </view>
- <view class="contact">联系商家</view>
- </view>
- </view>
- </view>
- <view class="evaluation-box">
- <comment-list comments="{{comments}}" title="评价" showMore="{{comments.length==10?true:false}}" bind:more="comment"></comment-list>
- </view>
- <!-- <view class="evaluation">评价</view>
- <block wx:if="{{comments.length ==0}}">
- <view class="evaluation-box">
- <van-empty description="暂无评论" />
- </view>
- </block>
- <block wx:for="{{comments}}" wx:key="index">
- <view class="evaluation-box">
- <view class="evaluation-name">
- <view class="name">
- <image class="images" src="{{item.user.avatar}}" />
- <view class="names">
- <view class="username">{{item.user.nickname}}</view>
- <van-rate readonly value="{{ item.score }}" allow-half void-icon="star" size="24rpx" void-color="#eee" color="#FF8936" />
- </view>
- </view>
- <view class="time">{{item.orderTime}}</view>
- </view>
- <view class="evaluation-describe">{{item.content}}</view>
- <view class="evaluation-image" wx:for="{{item.images}}" wx:for-item="img" wx:key="index">
- <image class="images" src="{{img}}" />
- </view>
- </view>
- </block> -->
- <view class="button" bindtap="submit">
- <view class="button-name" style="background-color: {{activeColor}};">立即购买</view>
- </view>
|