From ba4baca76d4476d0bad710a7d2816a5f6909a7fc Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期二, 14 三月 2023 18:43:46 +0800
Subject: [PATCH] (微信一键登录,登录界面完善)(注册,司机上传图片接口)(提煤单详情页的优化,呼叫客服测试环境完成)(称重详情的页面,以及接口对接)
---
pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue | 52 ++++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 42 insertions(+), 10 deletions(-)
diff --git a/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue b/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
index 01ac4c9..27b78fa 100644
--- a/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
+++ b/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
@@ -1,15 +1,17 @@
<template>
<view class="bill-of-lading-details">
<view class="bangDanMessage"><text>纾呭崟淇℃伅</text></view>
- <view class="timeLine" style="font-size: 16rpx;"><u-text v-for="(item, index) in dayRZ" :key="index" :text="item.taskStatusDes"></u-text></view>
+ <view class="timeLine" style="font-size: 16rpx;">
+ <u--text type="primary" size="30" plain text="涓昏壊" v-for="(item, index) in dayRZ" :key="index" :text="item.taskStatusDes"></u--text>
+ </view>
<view class="utilsBox">
<view class="utils_chil utils_chilTop">
- <u-button text="绛惧埌" type="primary" @click="arriveClick"></u-button>
- <u-button text="鍏ュ満鐢宠" type="primary" @click="rcsqClick"></u-button>
- <u-button text="鏀剧┖" type="primary"></u-button>
- <u-button text="鍛煎彨瀹㈡湇" type="primary"></u-button>
+ <u-button text="绛惧埌" type="primary" plain @click="arriveClick"></u-button>
+ <u-button text="鍏ュ満鐢宠" type="primary" plain @click="rcsqClick"></u-button>
+ <u-button text="鏀剧┖" type="primary" plain></u-button>
+ <u-button text="鍛煎彨瀹㈡湇" type="primary" plain></u-button>
</view>
- <view class="utils_chil"><u-button text="灞曠ず鎻愮叅鍗�" @click="showCaolPickUpBill" type="primary"></u-button></view>
+ <view class="utils_chil"><u-button text="灞曠ず鎻愮叅鍗�" @click="showCaolPickUpBill" type="primary" ></u-button></view>
<view class="utils_chil"><u-button text="涓婄璁¢噺" @click="cengZhongClick" type="primary"></u-button></view>
</view>
</view>
@@ -34,6 +36,14 @@
onShow() {
this.init();
},
+ computed:{
+ userName(){
+ return uni.getStorageSync('username')
+ },
+ openid(){
+ return uni.getStorageSync('openid')
+ }
+ },
methods: {
init() {
this.coalDayPage();
@@ -46,6 +56,7 @@
}
});
},
+ // 灞曠ず鎻愮叅鍗曡鎯�
showCaolPickUpBill() {
uni.navigateTo({
url: `/pages/driver-page/driver-index/bill-of-lading-details/coal-pick-up-bill/coal-pick-up-bill?orderPlanId=${this.orderPlanId}`
@@ -57,12 +68,27 @@
console.log(res, '绛惧埌');
});
},
+ // 鍏ュ満鐢宠
rcsqClick() {
uni.navigateTo({
url: `/pages/driver-page/appointment/appointment?takeCoalId=${this.orderPlanId}&type=鍏ュ満鐢宠&yyId=${this.yyId}`
});
},
- cengZhongClick() {}
+ // 鍛煎彨瀹㈡湇
+ callCustomerService(){
+ wx.join1v1Chat({
+ caller: { nickname:this.userName , openid: this.openid },
+ listener: { nickname: '瀹㈡湇', openid: 'orutI5YT0yEvARVngdsTmBpisWmw' }, // 杩欓噷鐨刼penid鏄痜yy鐨勶紝鍏呭綋鍥哄畾鐨勫鏈峯penid
+ backgroundType: 2,
+ roomType: 'voice'
+ });
+ },
+ // 绉伴噸
+ cengZhongClick() {
+ uni.navigateTo({
+ url:`/pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice?takeCoalId=${this.orderPlanId}`
+ })
+ }
/**
* @desc 绛夊緟鍙栫叅鍗曟帴鍙�
* */
@@ -81,7 +107,7 @@
.bangDanMessage {
font-size: vww(20);
font-weight: 500;
- border: vww(1) solid #dddddd;
+ border: vww(2) solid #dddddd;
border-radius: vww(20);
margin: vww(20);
margin-bottom: vww(10);
@@ -92,12 +118,18 @@
justify-content: center;
}
.timeLine {
+ height: 45%;
margin: vww(20);
margin-top: vww(10);
margin-bottom: vww(10);
- border: vww(1) solid #dddddd;
+ border: vww(2) solid #dddddd;
border-radius: vww(20);
- flex: 2;
+ padding: vww(20);
+ box-sizing: border-box;
+ overflow-y: overlay; //琛屼负涓� auto 鐩稿悓锛屼絾鏄粴鍔ㄦ潯缁樺埗鍦ㄥ唴瀹逛箣涓婏紝鑰屼笉鏄崰鎹┖闂淬��
+ .u-text{
+ margin-bottom: vww(5)!important;
+ }
}
.utilsBox {
padding: vww(20);
--
Gitblit v1.9.1