From 546863eae7d337d47260d63a4b3733f7313ce52d Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期一, 16 十月 2023 15:30:20 +0800 Subject: [PATCH] 登录页调整样式 增加重置密码 --- pages/customer-page/customer-index/customer-index.vue | 32 +++++++++++++++++++++++++++++--- 1 files changed, 29 insertions(+), 3 deletions(-) diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue index ccfc926..3f52405 100644 --- a/pages/customer-page/customer-index/customer-index.vue +++ b/pages/customer-page/customer-index/customer-index.vue @@ -21,6 +21,8 @@ @click="cardBodyClick(item)"> <view class="first-line"> <view class="dispatch-receive"> + <view class="dispatch-dept">{{ item.deptName }}</view> + <view class="black-bar"></view> <view class="dispatch">{{ item.filedName }}</view> </view> <view class="point-number"> @@ -140,7 +142,8 @@ <view class="receiverPopup__btn"><u-button text="纭畾" type="primary" @click="popupDetermineClick" - :disabled="canClick"></u-button></view> + :disabled="canClick" + :loading="popupDetermineClickLoading"></u-button></view> </view> </u-popup> </view> @@ -201,7 +204,8 @@ carNum: "", // 鍓╀綑鐨勬彁鐓ゅ崟鏁伴噺 carNumSurplus: '', - canClick: false + canClick: false, + popupDetermineClickLoading: false }; }, onLoad() { @@ -258,11 +262,13 @@ }, popupDetermineClick() { if (this.receiveNum > 0) { + this.popupDetermineClickLoading = true; this.getOrderNum.num = this.receiveNum; uni.showLoading({ title: '鍔犺浇涓�...' }); this.$reqPost('customerGet', this.getOrderNum, 'params').then(res => { uni.hideLoading(); if (res.code == 0) { + this.popupDetermineClickLoading = false; this.getOrderNum.num = ''; this.GetOrderPlan(); this.show = false; @@ -272,6 +278,7 @@ duration: 1000 }); } else { + this.popupDetermineClickLoading = false; this.$u.toast(res.msg ? res.msg : '棰嗗彇澶辫触'); } }); @@ -495,8 +502,27 @@ .dispatch-receive { width: 70%; display: flex; - justify-content: space-between; + justify-content: flex-start; align-items: center; + + .dispatch-dept { + + display: flex; + align-items: center; + } + + .black-bar { + width: 2rpx; + height: 30rpx; + background: #515151; + margin-left: vww(12); + } + + .dispatch { + margin-left: vww(12); + min-width: vww(50); + } + } .point-number { -- Gitblit v1.9.1