功能(小程序):同步用户体验流程到小程序
This commit is contained in:
@@ -21,10 +21,25 @@
|
||||
<view class="shop-address" bindtap="handleCopyAddress">{{shopInfo.address || '门店地址待补充'}}</view>
|
||||
<view wx:if="{{distanceText}}" class="shop-distance">{{distanceText}}</view>
|
||||
|
||||
<view wx:if="{{trustProfile}}" class="trust-grid">
|
||||
<view class="trust-card">
|
||||
<text class="trust-value">{{trustProfile.ratingText}}</text>
|
||||
<text class="trust-label">{{trustProfile.reviewCount}} 条评价</text>
|
||||
</view>
|
||||
<view class="trust-card">
|
||||
<text class="trust-value">{{trustProfile.productCount}}</text>
|
||||
<text class="trust-label">在售作品</text>
|
||||
</view>
|
||||
<view class="trust-card">
|
||||
<text class="trust-value">{{trustProfile.businessStatusText || '可浏览'}}</text>
|
||||
<text class="trust-label">{{trustProfile.availabilityText}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="summary-strip shop-summary">
|
||||
<view class="summary-metric">
|
||||
<text class="summary-label">营业时间</text>
|
||||
<text class="summary-value shop-summary-value">{{shopInfo.businessHours || '待补充'}}</text>
|
||||
<text class="summary-value shop-summary-value">{{trustProfile.businessHoursText || shopInfo.businessHours || '待补充'}}</text>
|
||||
<text class="summary-note">以到店服务时间为准</text>
|
||||
</view>
|
||||
<view class="summary-metric">
|
||||
@@ -36,7 +51,7 @@
|
||||
|
||||
<view class="detail-group">
|
||||
<view class="detail-label">营业时间</view>
|
||||
<view class="detail-value">{{shopInfo.businessHours || '待补充'}}</view>
|
||||
<view class="detail-value">{{trustProfile.businessHoursText || shopInfo.businessHours || '待补充'}}</view>
|
||||
</view>
|
||||
|
||||
<view class="detail-group">
|
||||
@@ -63,6 +78,52 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view wx:if="{{trustProfile && trustProfile.featuredProducts.length}}" class="section-block">
|
||||
<view class="section-head">
|
||||
<view class="section-copy">
|
||||
<text class="section-kicker">可预约作品</text>
|
||||
<text class="section-title">先看看本店热门款</text>
|
||||
<text class="section-subtitle">{{trustProfile.availabilityText}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="featured-list">
|
||||
<view
|
||||
wx:for="{{trustProfile.featuredProducts}}"
|
||||
wx:key="id"
|
||||
class="featured-card"
|
||||
data-id="{{item.id}}"
|
||||
bindtap="handleOpenProduct"
|
||||
>
|
||||
<image wx:if="{{item.imageUrl}}" class="featured-cover" src="{{item.imageUrl}}" mode="aspectFill" lazy-load="{{true}}"></image>
|
||||
<view wx:else class="featured-cover placeholder">作</view>
|
||||
<view class="featured-info">
|
||||
<text class="featured-title">{{item.title || '美甲作品'}}</text>
|
||||
<text class="featured-price">¥{{item.priceText}}</text>
|
||||
<text class="featured-hint">{{item.bookingHint || '下单前选择美甲师和时间'}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view wx:if="{{trustProfile && trustProfile.recentReviews.length}}" class="section-block">
|
||||
<view class="section-head">
|
||||
<view class="section-copy">
|
||||
<text class="section-kicker">近期评价</text>
|
||||
<text class="section-title">真实体验反馈</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="review-list">
|
||||
<view wx:for="{{trustProfile.recentReviews}}" wx:key="id" class="review-card">
|
||||
<view class="review-head">
|
||||
<text>{{item.productTitle || '订单评价'}}</text>
|
||||
<text>{{item.ratingText}}</text>
|
||||
</view>
|
||||
<text class="review-content">{{item.content || '用户已完成评价'}}</text>
|
||||
<text class="review-time">{{item.submittedText}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="section-block">
|
||||
<view class="section-head">
|
||||
<view class="section-copy">
|
||||
|
||||
Reference in New Issue
Block a user