自提订单取货码放到最上面

master
gongfuxiang 2025-08-12 19:50:00 +08:00
parent 4669c71eee
commit ad54882da2
6 changed files with 32 additions and 34 deletions

View File

@ -393,9 +393,8 @@
"41ty94": "Total pieces",
"xcj552": "element",
"7xtnjt": "Unconfigured data",
"7dikfm": "Pickup info",
"0876xf": "Express delivery info",
"o38952": "Pickup code:",
"o38952": "Pickup code",
"0f26j2": "Order Information",
"ct34n5": "Extended Data",
"y9woor": "Key Information",

View File

@ -383,9 +383,8 @@
"423rmr": "共",
"41ty94": "件 合计",
"7xtnjt": "未配置数据",
"7dikfm": "取货信息",
"0876xf": "快递信息",
"o38952": "取货码",
"o38952": "取货码",
"0f26j2": "订单信息",
"ct34n5": "扩展数据",
"y9woor": "密钥信息",

View File

@ -68,6 +68,6 @@
*
*/
.site-extraction .panel-content .qrcode {
width: 260rpx;
height: 260rpx;
width: 340rpx;
height: 340rpx;
}

View File

@ -1,7 +1,19 @@
<template>
<view :class="theme_view">
<block v-if="detail != null">
<view class="padding-horizontal-main padding-top-main">
<view class="padding-horizontal-main padding-top-main">
<!-- 自提信息 -->
<view v-if="(detail.extraction_data || null) != null" class="site-extraction panel-item padding-main border-radius-main bg-white spacing-mb">
<view class="br-b padding-bottom-main fw-b text-size">{{$t('user-order-detail.user-order-detail.o38952')}}</view>
<view class="panel-content oh tc padding-top-main">
<view :data-value="detail.extraction_data.code" @tap="text_copy_event">
<text class="fw-b cr-black text-size-xxl va-m">{{ detail.extraction_data.code || $t("user-order-detail.user-order-detail.hpq62x") }}</text>
<text class="bg-white br-green cr-green round padding-horizontal-sm text-size-xs va-m margin-left">{{$t('common.copy')}}</text>
</view>
<image v-if="(detail.extraction_data.images || null) != null" class="qrcode br radius margin-top-xs" :src="detail.extraction_data.images" mode="aspectFill"></image>
</view>
</view>
<!-- 地址 -->
<view v-if="(detail.order_type == 0 || detail.order_type == 1 || detail.order_type == 2) && (detail.address_data || null) != null" class="address bg-white padding-horizontal-main padding-top-main border-radius-main spacing-mb">
<view class="address-base oh">
@ -63,18 +75,6 @@
</view>
</view>
<!-- 自提信息 -->
<view v-if="(detail.extraction_data || null) != null" class="site-extraction panel-item padding-main border-radius-main bg-white spacing-mb">
<view class="br-b padding-bottom-main fw-b text-size">{{$t('user-order-detail.user-order-detail.7dikfm')}}</view>
<view class="panel-content oh padding-top-main">
<view>
<text>{{$t('user-order-detail.user-order-detail.o38952')}}</text>
<text class="radius bg-green cr-white padding-left-sm padding-right-sm">{{ detail.extraction_data.code || $t("user-order-detail.user-order-detail.hpq62x") }}</text>
</view>
<image v-if="(detail.extraction_data.images || null) != null" class="qrcode br radius margin-top-lg" :src="detail.extraction_data.images" mode="aspectFill"></image>
</view>
</view>
<!-- 订单基础数据 -->
<view v-if="detail_list.length > 0" class="panel-item padding-main border-radius-main bg-white spacing-mb">
<view class="br-b padding-bottom-main fw-b text-size">{{$t('user-order-detail.user-order-detail.0f26j2')}}</view>

View File

@ -61,6 +61,6 @@
*
*/
.site-extraction .panel-content .qrcode {
width: 260rpx;
height: 260rpx;
width: 340rpx;
height: 340rpx;
}

View File

@ -1,7 +1,19 @@
<template>
<view :class="theme_view">
<block v-if="detail != null">
<view class="padding-horizontal-main padding-top-main">
<view class="padding-horizontal-main padding-top-main">
<!-- 自提信息 -->
<view v-if="(detail.extraction_data || null) != null" class="site-extraction panel-item padding-main border-radius-main bg-white spacing-mb">
<view class="br-b padding-bottom-main fw-b text-size">{{$t('user-order-detail.user-order-detail.o38952')}}</view>
<view class="panel-content oh tc padding-top-main">
<view :data-value="detail.extraction_data.code" @tap="text_copy_event">
<text class="fw-b cr-black text-size-xxl va-m">{{ detail.extraction_data.code || $t("user-order-detail.user-order-detail.hpq62x") }}</text>
<text class="bg-white br-green cr-green round padding-horizontal-sm text-size-xs va-m margin-left">{{$t('common.copy')}}</text>
</view>
<image v-if="(detail.extraction_data.images || null) != null" class="qrcode br radius margin-top-xs" :src="detail.extraction_data.images" mode="aspectFill"></image>
</view>
</view>
<!-- 地址 -->
<view v-if="(detail.address_data || null) != null" class="address bg-white padding-horizontal-main padding-top-main border-radius-main spacing-mb">
<view class="address-base padding-top-xs padding-bottom oh">
@ -100,18 +112,6 @@
</view>
</view>
<!-- 自提信息 -->
<view v-if="(detail.extraction_data || null) != null" class="site-extraction panel-item padding-main border-radius-main bg-white spacing-mb">
<view class="br-b padding-bottom-main fw-b text-size">{{$t('user-order-detail.user-order-detail.7dikfm')}}</view>
<view class="panel-content oh padding-top-main">
<image v-if="(detail.extraction_data.images || null) != null" class="qrcode br radius margin-bottom-sm" :src="detail.extraction_data.images" mode="aspectFill"></image>
<view>
<text>{{$t('user-order-detail.user-order-detail.o38952')}}</text>
<text class="radius bg-green cr-white padding-left-sm padding-right-sm">{{ detail.extraction_data.code || $t('user-order-detail.user-order-detail.hpq62x') }}</text>
</view>
</view>
</view>
<!-- 订单基础数据 -->
<view v-if="detail_list.length > 0" class="panel-item padding-main border-radius-main bg-white spacing-mb">
<view class="br-b padding-bottom-main fw-b text-size">{{$t('user-order-detail.user-order-detail.0f26j2')}}</view>