feat(companion): 全面扩展同城生活陪伴体系(陪吃·陪喝·陪玩),完成TDD测试与安全核销闭环
这个提交包含在:
@@ -25,6 +25,11 @@
|
||||
<text class="rank-tag">{{ expert.rankTag }}</text>
|
||||
</view>
|
||||
|
||||
<view class="city-row" v-if="expert.city">
|
||||
<image class="city-pin-svg" :src="ICONS.mapPin" mode="aspectFit" />
|
||||
<text class="city-text">{{ expert.city }}</text>
|
||||
</view>
|
||||
|
||||
<view class="data-row">
|
||||
<view class="rating-box">
|
||||
<image class="star-svg" :src="ICONS.star" mode="aspectFit" />
|
||||
@@ -82,6 +87,15 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 线下安全守则提示卡 -->
|
||||
<view class="offline-safety-card" v-if="expert.city">
|
||||
<image class="safety-icon-svg" :src="ICONS.shield" mode="aspectFit" />
|
||||
<view class="safety-content">
|
||||
<text class="safety-title">绿色合规陪伴服务承诺</text>
|
||||
<text class="safety-desc">该大神已完成公安实名联网比对与健康认证。同城陪玩/陪吃/陪喝仅限在公开正规商业场所履约,到场出示4位核销码现场签到。</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 战绩与生活照片 -->
|
||||
@@ -322,6 +336,23 @@ const goToOrder = () => {
|
||||
}
|
||||
}
|
||||
|
||||
.city-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6rpx;
|
||||
margin-bottom: 8rpx;
|
||||
|
||||
.city-pin-svg {
|
||||
width: 22rpx;
|
||||
height: 22rpx;
|
||||
}
|
||||
.city-text {
|
||||
font-size: 20rpx;
|
||||
color: #38BDF8;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
|
||||
.data-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -494,6 +525,41 @@ const goToOrder = () => {
|
||||
}
|
||||
}
|
||||
|
||||
.offline-safety-card {
|
||||
margin-top: 20rpx;
|
||||
background: rgba(16, 185, 129, 0.08);
|
||||
border: 1px solid rgba(16, 185, 129, 0.2);
|
||||
border-radius: 16rpx;
|
||||
padding: 16rpx 20rpx;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 12rpx;
|
||||
|
||||
.safety-icon-svg {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
flex-shrink: 0;
|
||||
margin-top: 4rpx;
|
||||
}
|
||||
.safety-content {
|
||||
flex: 1;
|
||||
|
||||
.safety-title {
|
||||
font-size: 22rpx;
|
||||
font-weight: 600;
|
||||
color: #10B981;
|
||||
display: block;
|
||||
margin-bottom: 4rpx;
|
||||
}
|
||||
.safety-desc {
|
||||
font-size: 20rpx;
|
||||
color: #94A3B8;
|
||||
line-height: 1.4;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.gallery-scroll {
|
||||
white-space: nowrap;
|
||||
|
||||
|
||||
@@ -235,6 +235,13 @@ const poolOrders = ref([
|
||||
price: 45,
|
||||
desc: '微信区/四排海岛/刚枪上分/kd保4以上',
|
||||
countdown: 32
|
||||
},
|
||||
{
|
||||
id: 'pool_103',
|
||||
game: '美食陪吃',
|
||||
price: 68,
|
||||
desc: '朝阳大悦城海底捞/周末饭搭子/消费现场AA/需守时礼貌',
|
||||
countdown: 56
|
||||
}
|
||||
]);
|
||||
|
||||
@@ -247,6 +254,15 @@ const activeOrders = ref([
|
||||
hours: 2,
|
||||
totalAmount: 70,
|
||||
statusText: '正在开黑连麦对局中'
|
||||
},
|
||||
{
|
||||
id: 'ord_active_2',
|
||||
buyerName: '北京吃货小张',
|
||||
buyerAvatar: 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=150&h=150&fit=crop',
|
||||
serviceTitle: '火锅探店饭搭子',
|
||||
hours: 2,
|
||||
totalAmount: 136,
|
||||
statusText: '已核销4位码入座,服务中'
|
||||
}
|
||||
]);
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户