This commit is contained in:
@@ -393,7 +393,7 @@
|
|||||||
await new Promise((resolve) => {
|
await new Promise((resolve) => {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
content: '请先连接设备WiFi,否则无法访问后台管理',
|
content: '请先连接当前设备WiFi,否则无法访问后台管理',
|
||||||
cancelText: '取消',
|
cancelText: '取消',
|
||||||
confirmText: '我知道了',
|
confirmText: '我知道了',
|
||||||
success: (res) => res.confirm && resolve()
|
success: (res) => res.confirm && resolve()
|
||||||
|
|||||||
@@ -33,16 +33,24 @@
|
|||||||
<view class="card-body">
|
<view class="card-body">
|
||||||
<view class="info-grid">
|
<view class="info-grid">
|
||||||
<view class="info-item">
|
<view class="info-item">
|
||||||
<view class="info-label">订单时间</view>
|
<view class="info-label">套餐名称</view>
|
||||||
<view class="info-value">{{ item.created_at }}</view>
|
<view class="info-value">
|
||||||
|
<view class="package-item" v-for="(pkgName, pIndex) in item.package_names" :key="pIndex">
|
||||||
|
<text class="package-name">{{ pkgName }}</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item">
|
<view class="info-item">
|
||||||
<view class="info-label">订单金额</view>
|
<view class="info-label">订单金额</view>
|
||||||
<view class="info-value amount">¥{{ formatMoney(item.total_amount) }}</view>
|
<view class="info-value amount">¥{{ formatMoney(item.total_amount) }}</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="info-item">
|
||||||
|
<view class="info-label">下单时间</view>
|
||||||
|
<view class="info-value">{{ item.created_at }}</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="divider"></view>
|
<!-- <view class="divider"></view>
|
||||||
|
|
||||||
<view class="package-section">
|
<view class="package-section">
|
||||||
<view class="section-label">套餐名称</view>
|
<view class="section-label">套餐名称</view>
|
||||||
@@ -51,7 +59,7 @@
|
|||||||
<text class="package-name">{{ pkgName }}</text>
|
<text class="package-name">{{ pkgName }}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
|
|
||||||
<view v-if="item.payment_status === 1" class="card-footer">
|
<view v-if="item.payment_status === 1" class="card-footer">
|
||||||
<button class="btn-pay" @tap="handleOrderPayment(item)">立即支付</button>
|
<button class="btn-pay" @tap="handleOrderPayment(item)">立即支付</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user