|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234 |
- <template>
- <!-- OBU注销 -->
- <view class="wrapper">
- <!-- 背景颜色充满屏 -->
- <view class="bg-color"></view>
- <view class="total-info"><text>卡签注销:</text><text class="text-space">2条</text></view>
- <view class="detail-list-box">
- <view class="detail-box" v-for="item in list" :key="item.id">
- <view class="detail-header">
- <text class="detail-name">卡签信息</text>
- <view class="header-right"><text>单号:</text><text class="text-space">11020009001</text></view>
- </view>
- <view class="detail-content">
- <view class="d-row">
- <text class="d-label">用户名称:</text>
- <text class="d-value">李某</text>
- </view>
- <view class="d-row">
- <text class="d-label">证件类型:</text>
- <text class="d-value">居民身份证</text>
- </view>
- <view class="d-row">
- <text class="d-label">证件号码:</text>
- <text class="d-value">440305200101129001</text>
- </view>
- <view class="d-row">
- <text class="d-label">订单车牌号:</text>
- <text class="d-value">贵A12345</text>
- </view>
- <view class="d-row">
- <text class="d-label">收费车型:</text>
- <text class="d-value">一类车型</text>
- </view>
- <view class="d-row">
- <text class="d-label">OBU号:</text>
- <text class="d-value">2001029001</text>
- </view>
- <view class="d-row">
- <text class="d-label">OBU状态:</text>
- <text class="d-value">XXX</text>
- </view>
- <view class="d-row">
- <text class="d-label">质保期:</text>
- <text class="d-value">2023-04-12</text>
- </view>
- <view class="post-sale">
- <!-- 后续接数据,如果没有售后信息,就用v-if控制除业务员、业务类型、注销时间三个非售后字段展示不展示。 -->
- <view class="d-row">
- <text class="d-label">售后单号:</text>
- <text class="d-value">341253463500001</text>
- </view>
- <view class="d-row">
- <text class="d-label">业务类型:</text>
- <text class="d-value">XXXXXX</text>
- </view>
- <view class="d-row">
- <text class="d-label">申请进度:</text>
- <text class="d-value">审核中</text>
- </view>
- <view class="d-row">
- <text class="d-label">创建时间:</text>
- <text class="d-value">2023.01.21</text>
- </view>
- <view class="d-row">
- <text class="d-label">注销时间:</text>
- <text class="d-value">2023.01.21</text>
- </view>
- <view class="d-row">
- <text class="d-label">退费类型:</text>
- <text class="d-value">余额补领</text>
- </view>
- <view class="d-row">
- <text class="d-label">补领金额:</text>
- <text class="d-value val-orange">112.00</text>
- </view>
- <view class="d-row">
- <text class="d-label">业务员:</text>
- <text class="d-value">李想</text>
- </view>
- </view>
- <view class="btn-status">
- <view class="btn-green" @click="comfireSure" v-if="item.status === 1">确认完成</view>
- <view class="btn-green width-num-1" @click="toNext('/subpackage/orders/order-evaluate', item)" v-if="item.status === 2">去评价</view>
- </view>
- </view>
- </view>
- </view>
-
- </view>
- </template>
-
- <script setup lang="ts">
- import {
- reactive
- } from "vue";
- const list = reactive([
- {
- id: 3,
- status: 3 // 已完成
- },
- {
- id: 1,
- status: 1 // 待确认
- },
- {
- id: 2,
- status: 2 // 待评价
- },
- ])
- function toNext(url, item) {
- uni.navigateTo({
- url: url
- });
- }
- // 确认完成
- function comfireSure() {}
- </script>
- <style lang="scss" scoped>
- .bg-color {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: #F3F3F3;
- z-index: -1;
- }
-
- .total-info {
- margin-top: 35rpx;
- margin-left: 30rpx;
- color: #777777;
- font-size: 28rpx;
- display: flex;
- align-items: center;
-
- .text-space {
- margin-left: 26rpx;
- }
- }
-
- .detail-list-box {
- margin: 0 30rpx;
- padding-bottom: 30rpx;
- }
-
- .detail-box {
- background: #FFFFFF;
- box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
- border-radius: 20rpx;
- margin-top: 30rpx;
-
- .detail-header {
- display: flex;
- border-bottom: 1rpx solid #DCDCDC;
- padding: 30rpx;
- align-items: center;
- justify-content: space-between;
-
- .detail-name {
- font-size: 30rpx;
- font-weight: 400;
- color: #333333;
- }
-
- .header-right {
- color: #777777;
- font-size: 28rpx;
-
- .text-space {
- margin-left: 26rpx;
- }
- }
- }
-
- .detail-content {
- padding: 28rpx 29rpx 10rpx 29rpx;
-
- .post-sale {
- border-top: 1rpx solid #DCDCDC;
- padding-top: 38rpx
- }
-
- .d-row {
- display: flex;
- margin-bottom: 32rpx;
-
- .d-label {
- font-size: 26rpx;
- //width: 178rpx;
- color: #999999;
- text-align: right;
- }
-
- .d-value {
- font-size: 26rpx;
- color: #333333;
- flex: 1;
- overflow: hidden;
- margin-left: 25rpx;
- word-wrap: normal;
- word-wrap: break-word;
- }
- .val-orange {
- color: #FF8000;
- }
- }
-
- .btn-status {
- display: flex;
- justify-content: flex-end;
- padding: 20rpx 0;
- border-top: 1rpx solid #DCDCDC;
- }
-
- .btn-green {
- border: 1px solid #00B38B;
- border-radius: 30rpx;
- color: #00B38B;
- height: 61rpx;
- width: 141rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 26rpx;
- }
- .width-num {
- width: 121rpx;
- }
- }
-
-
- }
- </style>
|