From 3f335074ea09a09a54f526e4e81280d8ad97232a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A7=A6=E6=98=9F=E6=98=9F?= <605893810@qq.com>
Date: Thu, 23 Jul 2026 13:56:21 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
common.scss | 1 +
components/choiceness/choiceness.vue | 47 +-
components/common/address-popup.vue | 31 +-
components/common_card.vue | 37 +-
components/shop/ping-item.vue | 9 +-
pages/active/limited-time/limited-time.vue | 63 +--
.../newcomer-exclusive/newcomer-exclusive.vue | 58 +--
pages/active/super-subsidy/super-subsidy.vue | 56 +--
pages/mine/mine.vue | 424 ++++++++++--------
.../mine_authentication.vue | 77 ++--
.../other_package/productInfo/evaluation.vue | 35 +-
.../other_package/productInfo/productInfo.vue | 8 +-
pages/rwa_package/account/withdraw.vue | 348 +++++++-------
13 files changed, 614 insertions(+), 580 deletions(-)
diff --git a/common.scss b/common.scss
index 69392de..5ff813f 100644
--- a/common.scss
+++ b/common.scss
@@ -67,6 +67,7 @@
border-radius: 30rpx;
padding: 30rpx;
margin-bottom: 30rpx;
+
}
.data_msg {
diff --git a/components/choiceness/choiceness.vue b/components/choiceness/choiceness.vue
index 3ff9438..11d644e 100644
--- a/components/choiceness/choiceness.vue
+++ b/components/choiceness/choiceness.vue
@@ -1,43 +1,20 @@
-
+
为您精选
-
+
-
-
-
+
+
+
{{ item.title }}
¥
{{ item.price }}
- 已售{{ item.sales }}件
+ 全网销量{{ limit999(item.sales) }}件
@@ -56,13 +33,20 @@ export default {
};
},
mounted() {
- /*#ifdef APP-PLUS*/
+ /*#ifdef APP-PLUS*/
const appUpdate = uni.getStorageSync("platform");
this.platformType = appUpdate == "android" ? "ANDROID" : "IOS";
- /*#endif*/
+ /*#endif*/
this.getSearchList();
},
methods: {
+ limit999(n) {
+ const num = Number(n);
+ if (isNaN(num) || num < 10000) {
+ return n != null && n !== '' ? String(n) : '0';
+ }
+ return `${Math.floor(num / 10000)}万+`;
+ },
//
jumpInfo(item) {
uni.navigateTo({
@@ -104,6 +88,7 @@ export default {
flex-wrap: wrap;
justify-content: space-between;
padding-bottom: calc(env(safe-area-inset-bottom) + 100rpx);
+
&.iosplatformType {
padding-bottom: 100rpx;
}
diff --git a/components/common/address-popup.vue b/components/common/address-popup.vue
index e66b946..2807f21 100644
--- a/components/common/address-popup.vue
+++ b/components/common/address-popup.vue
@@ -19,7 +19,8 @@
-
+
{{ item.zi }}
{
+ this.scrollTop = 0;
+ });
+ },
onClose() {
this.$emit('close')
},
@@ -83,6 +98,7 @@ export default {
},
onSelectItrm(item, index) {
if (index != this.curSelect) {
+ this.resetScroll();
this.$emit('select', item, index);
}
},
@@ -91,6 +107,7 @@ export default {
Func.debounce(() => this.onItemOne(item, xItem), 150);
},
onItemOne(item, xItem) {
+ this.resetScroll();
this.$emit('itemSelect', item, xItem);
}
}
@@ -127,8 +144,8 @@ export default {
.address-bottom-list {
width: 100%;
- height: calc(100% - 88rpx - 88rpx - 32rpx);
- margin-top: 32rpx;
+ height: calc(100% - 60rpx - 88rpx - 32rpx);
+ margin-top: 20rpx;
display: flex;
flex-direction: column;
overflow-y: auto;
@@ -153,8 +170,8 @@ export default {
.address-select-view {
width: 100%;
- height: 88rpx;
- min-height: 88rpx;
+ height: 60rpx;
+ min-height: 60rpx;
display: flex;
flex-direction: row;
align-items: center;
diff --git a/components/common_card.vue b/components/common_card.vue
index b00bf16..78c1e66 100644
--- a/components/common_card.vue
+++ b/components/common_card.vue
@@ -22,9 +22,9 @@
-
- {{ item.title }}
+
+ {{ item.title }}111
@@ -41,7 +41,7 @@ import { getStorageFun, TOKEN_NAME } from '@/utils/auth.js';
export default {
name: "common_card",
- props:['Fimg','Bimg'],
+ props: ['Fimg', 'Bimg'],
data() {
return {
uploadTemplList: [
@@ -54,7 +54,7 @@ export default {
id: 2,
title: "边框缺失",
isOk: false,
- url: "https://static.tbmall.xin/static/ID_error_1.png",
+ url: "https://static.tbmall.xin/static/ID_gq.png",
}, {
id: 3,
title: "照片模糊",
@@ -71,15 +71,15 @@ export default {
fileListF: {},// 身份反面照片
};
},
- watch:{
- Fimg(p,r){
- if(p){
- this.fileListZ = {accessUrl:p};
+ watch: {
+ Fimg(p, r) {
+ if (p) {
+ this.fileListZ = { accessUrl: p };
}
},
- Bimg(p,r){
- if(p){
- this.fileListF = {accessUrl:p};
+ Bimg(p, r) {
+ if (p) {
+ this.fileListF = { accessUrl: p };
}
},
},
@@ -176,4 +176,15 @@ export default {
}
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/components/shop/ping-item.vue b/components/shop/ping-item.vue
index 3de8c5c..68465ac 100644
--- a/components/shop/ping-item.vue
+++ b/components/shop/ping-item.vue
@@ -16,7 +16,7 @@
¥{{ obj.price }}
- 已售{{ obj.sales }}件
+ 全网销量{{ limit999(obj.sales) }}件
@@ -32,6 +32,13 @@ export default {
}
},
methods: {
+ limit999(n) {
+ const num = Number(n);
+ if (isNaN(num) || num < 10000) {
+ return n != null && n !== '' ? String(n) : '0';
+ }
+ return `${Math.floor(num / 10000)}万+`;
+ },
onClick() {
this.$emit('ok', this.obj.id);
}
diff --git a/pages/active/limited-time/limited-time.vue b/pages/active/limited-time/limited-time.vue
index 3f68712..d7fe6ea 100644
--- a/pages/active/limited-time/limited-time.vue
+++ b/pages/active/limited-time/limited-time.vue
@@ -24,32 +24,18 @@
{{ item.name }}
-
-
-
-
-
-
-
-
+
+
+
+
+
-
+
-
-
-
-
+
@@ -238,14 +224,18 @@ export default {
.content-two {
height: 100vh;
background-color: #fff;
- display: flex;
- flex-direction: column;
- overflow: hidden;
position: relative;
+ overflow: hidden;
}
.product_info_header_warp {
- position: relative;
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 660rpx;
+ z-index: 10;
+ background-color: #fff;
.product_info_header_swiper {
height: 660rpx !important;
@@ -379,9 +369,10 @@ export default {
box-sizing: border-box;
background-color: #fff;
overflow-x: auto;
- position: absolute;
+ position: fixed;
top: 600rpx;
left: 0;
+ z-index: 11;
.tab-list-container {
width: 100%;
@@ -406,28 +397,14 @@ export default {
}
.setting-view {
- margin-top: 0;
width: 100%;
- flex: 1;
- min-height: 0;
-
- display: flex;
- flex-direction: column;
- align-items: center;
- overflow-y: auto;
- padding: 0 32rpx;
+ padding: 0 32rpx 20rpx;
box-sizing: border-box;
position: relative;
- margin-top: 126rpx;
-
- /* #ifndef H5 || MP-WEIXIN */
- margin-bottom: calc(100rpx + env(safe-area-inset-bottom));
- /* #endif */
+ margin-top: 0;
.name-box {
width: 100%;
- flex: 1;
- min-height: 0;
display: flex;
flex-direction: column;
align-items: center;
diff --git a/pages/active/newcomer-exclusive/newcomer-exclusive.vue b/pages/active/newcomer-exclusive/newcomer-exclusive.vue
index 4737324..601b27b 100644
--- a/pages/active/newcomer-exclusive/newcomer-exclusive.vue
+++ b/pages/active/newcomer-exclusive/newcomer-exclusive.vue
@@ -17,26 +17,25 @@
-
-
- {{ item.name }}
-
+
+
+
+ {{ item.name }}
+
+
-
-
-
-
-
-
-
+
+
+
+
-
+
-
+
@@ -193,14 +192,18 @@ export default {
.content-two {
height: 100vh;
background-color: #fff;
- display: flex;
- flex-direction: column;
- overflow: hidden;
position: relative;
+ overflow: hidden;
}
.product_info_header_warp {
- position: relative;
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 660rpx;
+ z-index: 10;
+ background-color: #fff;
.product_info_header_swiper {
height: 660rpx !important;
@@ -323,25 +326,12 @@ export default {
.setting-view {
margin-top: 40rpx;
width: 100%;
- flex: 1;
- min-height: 0;
-
- display: flex;
- flex-direction: column;
- align-items: center;
- overflow-y: auto;
- padding: 0 32rpx;
+ padding: 0 32rpx 20rpx;
box-sizing: border-box;
position: relative;
- /* #ifndef H5 || MP-WEIXIN */
- margin-bottom: calc(100rpx + env(safe-area-inset-bottom));
- /* #endif */
-
.name-box {
width: 100%;
- flex: 1;
- min-height: 0;
display: flex;
flex-direction: column;
align-items: center;
diff --git a/pages/active/super-subsidy/super-subsidy.vue b/pages/active/super-subsidy/super-subsidy.vue
index a9449e2..8140ed0 100644
--- a/pages/active/super-subsidy/super-subsidy.vue
+++ b/pages/active/super-subsidy/super-subsidy.vue
@@ -17,29 +17,16 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
-
+
-
-
-
-
+
@@ -175,14 +162,18 @@ export default {
.content-two {
height: 100vh;
background-color: #fff;
- display: flex;
- flex-direction: column;
- overflow: hidden;
position: relative;
+ overflow: hidden;
}
.product_info_header_warp {
- position: relative;
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 660rpx;
+ z-index: 10;
+ background-color: #fff;
.product_info_header_swiper {
height: 660rpx !important;
@@ -305,25 +296,12 @@ export default {
.setting-view {
margin-top: 40rpx;
width: 100%;
- flex: 1;
- min-height: 0;
-
- display: flex;
- flex-direction: column;
- align-items: center;
- overflow-y: auto;
- padding: 0 32rpx;
+ padding: 0 32rpx 20rpx;
box-sizing: border-box;
position: relative;
- /* #ifndef H5 || MP-WEIXIN */
- margin-bottom: calc(100rpx + env(safe-area-inset-bottom));
- /* #endif */
-
.name-box {
width: 100%;
- flex: 1;
- min-height: 0;
display: flex;
flex-direction: column;
align-items: center;
diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue
index f352c55..571ed57 100644
--- a/pages/mine/mine.vue
+++ b/pages/mine/mine.vue
@@ -1,6 +1,6 @@
-