From 062d015c95e87bea60fa37ebf949304a9816a348 Mon Sep 17 00:00:00 2001
From: huliyong <2783385703@qq.com>
Date: Sat, 10 May 2025 22:51:48 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0=E7=8E=AF?=
=?UTF-8?q?=E5=A2=83=E9=85=8D=E7=BD=AE=E5=92=8CUI=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 将环境配置从 'dev' 改为 'test',以便在测试环境中运行
- 移除 `partner.vue` 中的 `flex-wrap` 样式,优化布局
- 修复 `submit.vue` 中的条件判断,使用 `detail.num` 替代 `item.num`
- 更新 `center.vue` 中的用户角色图片和角色名称顺序,提升用户体验
---
config.js | 2 +-
pages/index/center.vue | 8 ++++----
pages_order/components/product/submit.vue | 2 +-
pages_order/mine/partner.vue | 1 -
4 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/config.js b/config.js
index 8f1ec69..16ccf23 100644
--- a/config.js
+++ b/config.js
@@ -6,7 +6,7 @@ import uvUI from '@/uni_modules/uv-ui-tools'
Vue.use(uvUI);
// 当前环境
-const type = 'dev'
+const type = 'test'
// 环境配置
diff --git a/pages/index/center.vue b/pages/index/center.vue
index ff7e967..83c45c4 100644
--- a/pages/index/center.vue
+++ b/pages/index/center.vue
@@ -17,12 +17,12 @@
{{ userInfo.nickName}}
-
+
-
-
@@ -201,7 +201,7 @@
vipImage: ['vip_vip', 'vip_user', 'vip_shop'],
vipList: [],
showAdvertising: true,
- userRole: ['会员', '用户', '渠道'],
+ userRole: ['用户', '会员', '渠道'],
indicatorDots: true,
duration: 500
}
diff --git a/pages_order/components/product/submit.vue b/pages_order/components/product/submit.vue
index 858943f..5947363 100644
--- a/pages_order/components/product/submit.vue
+++ b/pages_order/components/product/submit.vue
@@ -41,7 +41,7 @@
{{ disabled ? '库存不足' : '加入购物车' }}
{{ disabled ? '库存不足' : submiitTitle }}
diff --git a/pages_order/mine/partner.vue b/pages_order/mine/partner.vue
index d2df8ac..c3bac40 100644
--- a/pages_order/mine/partner.vue
+++ b/pages_order/mine/partner.vue
@@ -258,7 +258,6 @@
.brokerage-item {
display: flex;
align-items: center;
- flex-wrap: wrap;
background: white;
margin: 20rpx 0rpx;
border-radius: 20rpx;