Merge branch 'v18' into dev

This commit is contained in:
LinCyJang
2025-11-15 01:35:14 +08:00
8 changed files with 51 additions and 11 deletions
+2 -2
View File
@@ -39,14 +39,14 @@
<view></view>
</view>
<view class="v12-mt-3 v12-weight-500 v12-font-28">
{{ record.desc }}
{{ record.intro }}
</view>
</view>
<view class="v12-mt-3 v12-align-center">
<view v-for="tag in record.tags" :key="tag" class="v12-primary-text v12-primary-border v12-radius-100 tag-item v12-mr-2">{{ tag }}</view>
</view>
<view class="v12-mt-2 v12-font-24" style="color: #666">
{{ record.intro }}
{{ record.desc }}
</view>
<view class="v12-mt-3 service-wrap v12-pa-3">
<view class="title-wrap" style="padding-left: 12rpx;">
+1 -1
View File
@@ -124,7 +124,7 @@
</view>
<view class="info-item">
<text class="label">支付状态</text>
<text class="value">{{orderInfo._status._type !== '0' && orderInfo._status._type !== '9' ? '已支付' : '未支付'}}</text>
<text class="value">{{ orderInfo.paid ? '已支付' : '未支付'}}</text>
</view>
<view class="info-item">
<text class="label">支付方式</text>
+13 -4
View File
@@ -19,8 +19,8 @@
>
<swiper-item v-for="(item, index) in store.banner" :key="index">
<video
v-if="item.includes('.mp4')"
:src="item"
v-if="item.type === 'video'"
:src="item.url"
style="width: 100%; height: 100%"
@play="videoPlay"
@ended="videoEnd"
@@ -28,7 +28,7 @@
></video>
<image
v-else
:src="item"
:src="item.url"
style="width: 100%; height: 100%"
></image>
</swiper-item>
@@ -678,8 +678,17 @@ export default {
getFarmerData() {
getJiaLouDetail(this.id).then(res => {
this.store = res.data || {}
this.store.banner = res.data.banner.map(img => {
return {
type: 'img',
url: img
}
})
if(res.data.video) {
this.store.banner.unshift(res.data.video)
this.store.banner.unshift({
type: 'video',
url: res.data.video
})
}
this.getNews()
this.getJiaLouProductList()
+1 -1
View File
@@ -206,7 +206,7 @@ export default {
contactMerchant() {
uni.showModal({
title: '商家电话',
content: this.form.merPhone || '暂无电话',
content: this.orderInfo.merPhone || '暂无电话',
confirmText: '立即拨打',
cancelText: '取消',
success: (res) => {