From c5a7b4f3aa888ea5ccf0c598e9a9210f98f9941e Mon Sep 17 00:00:00 2001 From: wk Date: 星期四, 13 六月 2024 16:19:18 +0800 Subject: [PATCH] feat:登录图标 --- pages/customer-page/customer-index/customer-index.vue | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 50 insertions(+), 2 deletions(-) diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue index 5bf9623..2f4bc85 100644 --- a/pages/customer-page/customer-index/customer-index.vue +++ b/pages/customer-page/customer-index/customer-index.vue @@ -2,9 +2,22 @@ <view class=""> <view class="customer-index"> <view class="customer-index-body"> + <!-- 寰呴鍙栧拰杞彂鎻愮叅鍗� --> <view class="wait-collection" style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/customerbanner.png') no-repeat;background-size:contain"> + </view> + <!-- 鑷富閰嶉�佺晫闈� --> + <view class="self-deliver"> + <view class="self-deliver_text"> + 鍒涘缓鏃ヨ鍒掕鍗� + </view> + <view class="self-deliver_btn"> + <u-button text="鍘诲垱寤�" + type="primary" + shape="cirle" + @click="selfDeliver"></u-button> + </view> </view> <view style="position: relative;top: -120px;"> <u-empty mode="data" @@ -37,7 +50,7 @@ </view> <view class="second-line"> <view class="coal-name"> - <view class="">{{ item.coalName }}</view> + <view class="">{{ item.productName }}</view> <view class="black-bar"></view> <view class="coal-type" v-if="item.orderType">{{ item.orderType }}</view> @@ -91,7 +104,7 @@ size="40"></u-icon></view> </view> <view class="second"> - <view class="coal-name">{{ item.coalName || '' }}</view> + <view class="coal-name">{{ item.coalName || item.productName }}</view> <view class="order-type">{{ item.orderType || '' }}</view> </view> <view class="third"> @@ -343,6 +356,12 @@ if (obj.cars2 == 0) return this.$u.toast('璇峰厛棰嗗彇鍚庡啀杞彂'); uni .navigateTo({ url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&carNumSurplus1=${obj.carNumSurplus1}&carNum=${obj.carNum}&cars2=${obj.cars2}` }); + }, + // 鑷富閰嶉�� + selfDeliver() { + uni.navigateTo({ + url: '/pages/customer-page/addDailyPlan/addDailyPlan' + }) } } }; @@ -350,11 +369,40 @@ <style lang="scss" scoped> + @mixin flex { display: flex; justify-content: space-between; align-items: center; } + // 鑷富閰嶉�� + .self-deliver { + position: relative; + top: vww(-150); + width: 88%; + height: vww(50); + margin: vww(8) auto; + padding: 0 vww(8); + background: #ffffff; + box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(73, 120, 240, 0.14), 0rpx 7rpx 45rpx 0rpx rgba(73, 120, 240, 0.12); + border-radius: 20rpx; + @include flex; + + + } + /deep/.u-button { + width: 100%; + height: 28px !important; + line-height: 40px; + padding: 0 12px; + font-size: 28rpx; + font-weight: 300; + color: #ffffff; + background: #497bfb !important; + letter-spacing: 4rpx; + border-radius: 37rpx 37rpx 37rpx 37rpx !important; + box-shadow: 2rpx 3rpx 13rpx 0rpx rgba(43, 98, 239, 0.5), 0rpx 0rpx 9rpx 0rpx rgba(247, 250, 253, 0.29); + } .wait-collection { width: 100%; -- Gitblit v1.9.1