From 2ec9370a36fa25b67f6d2bce8f5f5f91010813a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 22 Sep 2023 14:50:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 1 + pages/myinformation/myinformation.vue | 14 ++-- pagesB/CommodityOrder/CommodityOrder.scss | 85 ++++++++++++++-------- pagesB/CommodityOrder/CommodityOrder.vue | 71 ++++++++++++------ static/pagesB/fanhui.png | Bin 0 -> 368 bytes static/pagesB/sousuo.png | Bin 1512 -> 1229 bytes 6 files changed, 111 insertions(+), 60 deletions(-) create mode 100644 static/pagesB/fanhui.png diff --git a/pages.json b/pages.json index 467542d..df67051 100644 --- a/pages.json +++ b/pages.json @@ -176,6 +176,7 @@ }, { "path": "CommodityOrder/CommodityOrder", "style": { + "navigationStyle": "custom", // 隐藏系统导航栏 "navigationBarTitleText": "商品订单", "onReachBottomDistance": 40, //距离底部多远时触发 单位为px "enablePullDownRefresh": true //设置参数为true diff --git a/pages/myinformation/myinformation.vue b/pages/myinformation/myinformation.vue index 72adb9e..b3d91bd 100644 --- a/pages/myinformation/myinformation.vue +++ b/pages/myinformation/myinformation.vue @@ -54,30 +54,30 @@ 我的订单 - + 查看全部 - + 待付款 - + 待收货 - + 待评价 - + 已完成 @@ -156,12 +156,12 @@ }, methods: { //全部订单 - goorder() { + goorder(index, item) { const value = uni.getStorageSync('openid'); const value2 = uni.getStorageSync('patientId'); if (value && value2) { uni.navigateTo({ - url: '/pagesB/CommodityOrder/CommodityOrder' + url: `/pagesB/CommodityOrder/CommodityOrder?toindex=${index}&&orderStatus=${item}` }) } else { this.gologin(); diff --git a/pagesB/CommodityOrder/CommodityOrder.scss b/pagesB/CommodityOrder/CommodityOrder.scss index beae6f0..fd75565 100644 --- a/pagesB/CommodityOrder/CommodityOrder.scss +++ b/pagesB/CommodityOrder/CommodityOrder.scss @@ -1,10 +1,62 @@ +page{ + background-color: #F7F5F5; +} .app { width: 100%; padding: 3%; - padding: 3%; + ::v-deep .u-tabs{ + background-color: #F7F5F5 !important; + } .noorder{ margin-top: 20%; } + .u-navbar{ + image{ + margin:0 4% 0 4%; + width: 20rpx; + height: 30rpx; + } + .title{ + width: 31%; + font-size: 34rpx; + font-weight: 500; + color: #FFFFFF; + } + .inputs { + position: relative; + margin-left: 4%; + box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03); + width: 60%; + height: 65rpx; + border-radius: 20rpx; + z-index: 999; + background: #65c0a9; + color: #FFFFFF; + .placeholder{ + color: #FFFFFF; + } + .input { + margin: 0 auto; + position: absolute; + height: 65rpx; + // top: 8%; + left: 18%; + width: 80%; + font-size: 26rpx; + color: #FFFFFF; + } + + .icon { + background: url(@/static/pagesB/sousuo.png) no-repeat; + width: 30rpx; + height: 28rpx; + background-size: cover; + position: absolute; + top: 28%; + left: 4%; + } + } + } .submits { width: 501rpx; height: 71rpx; @@ -210,36 +262,5 @@ } } - .inputs { - box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03); - border: 1px solid #f0f0f0; - width: 100%; - height: 65rpx; - margin: 10rpx 0 10rpx 50%; - transform: translateX(-50%); - border-radius: 20rpx; - background-color: #Ffffff; - z-index: 999; - .input { - margin: 0 auto; - position: absolute; - height: 65rpx; - // top: 8%; - left: 10%; - width: 90%; - font-size: 26rpx; - color: #000000; - } - - .icon { - background: url(@/static/pagesB/sousuo.png) no-repeat; - width: 30rpx; - height: 28rpx; - background-size: cover; - position: absolute; - top: 30%; - left: 3%; - } - } } diff --git a/pagesB/CommodityOrder/CommodityOrder.vue b/pagesB/CommodityOrder/CommodityOrder.vue index b74a26f..912da7f 100644 --- a/pagesB/CommodityOrder/CommodityOrder.vue +++ b/pagesB/CommodityOrder/CommodityOrder.vue @@ -1,9 +1,18 @@