From 690562a397f84a21f6e18e7f8df9dccef09fd19a Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Fri, 17 Apr 2026 15:00:17 +0800
Subject: [PATCH] feat: 澜品优选提交

---
 pages/my/my.vue |  221 ++++++++++++++++++++++++++++++++++--------------------
 1 files changed, 138 insertions(+), 83 deletions(-)

diff --git a/pages/my/my.vue b/pages/my/my.vue
index 68d6f01..2e17da6 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -1,12 +1,13 @@
 <template>
-	<view class="my">
+	<view class="myView">
+		<image class="myView-bg" src="@/static/imgs/my-bg.png" mode="scaleToFill"></image>
 		<yk-authpup ref="authpup" type="top" @changeAuth="changeAuth" noticeTitle="便于您使用该功能上传您的照片用于核实身份场景中读取相册内容" permissionID="WRITE_EXTERNAL_STORAGE"></yk-authpup>
 		<yk-authpup ref="camears" type="top" @changeAuth="changeAuth2" noticeTitle="便于您使用该功能便于您拍摄上传用于核实身份场景" permissionID="CAMERA"></yk-authpup>
-		<view class="startBar" style="background-color: #e3b400;"></view>
-		<view class="myTop">
-			<view class="headimg">
-				<image :src="userInfo != null ? userInfo.avatar : '/static/imgs/headimg.png'" class="" mode="" @tap="setImg"></image>
-				<view class="">
+		<view class="startBar"></view>
+		<view class="myContent">
+			<view class="myHeader">
+				<image :src="userInfo != null ? userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" @tap="setImg"></image>
+				<view class="myNick">
 					<template>
 						<view v-if="userInfo == null" @tap="$util.goPages('/pages/login/login')">未登录</view>
 						<view v-else>{{userInfo.phone}}</view>
@@ -22,90 +23,90 @@
 						</template>
 					</template>
 					<template v-if="userInfo != null && userInfo.face_auth == 0">
-						<view class="edu" @tap="$util.checkGoPages('/pages/my/my')">未认证(去认证)</view>
+						<view class="edu" @tap="$util.checkGoPages('/pages/my/my')">未认证</view>
 					</template>
 				</view>
 			</view>
-		</view>	
-
-		<view class="myNavs">
-			<view class="myNavs-tips" @tap="$util.checkLogin('/pages/order/order')">
-				<text class="myNavs-tips-text">我的订单</text>
-				<view class="myNavs-tips-rgt">
-					<text>查看全部</text>
-					<image src="/static/imgs/right.png" mode=""></image>
+			
+			<view class="auth" v-if="userInfo && userInfo.over_auth != 1" @tap="$util.checkGoPages('/pages/my/my')">
+				<image src="@/static/imgs/notice.png" mode=""></image>
+				<text>您还未进行实名认证,点击前往实名认证</text>
+				<view class="">去认证</view>
+			</view>
+			
+			<!-- <view class="num-wrapper tui-skeleton-rect">
+			  <view class="num-item" style="display: flex;background: white;border-radius: 24rpx;padding: 22rpx;width: 48%;" @tap="$util.checkLogin('/pages/collect/collect')">
+				<view style="padding-right: 32rpx;">
+				  <image style="width: 48rpx;height: 48rpx;margin-top: 30rpx;" src="/static/imgs/Star.png"></image>
+				</view>
+				<view style="flex: 1">
+				  <view class="txt" style="color: #666;text-align:left">我的收藏</view>
+				  <view class="num" style="color: #333;text-align:left;margin-top: 8rpx;">0</view>
+			
+				</view>
+			  </view>
+			  <view style="display: flex;background: white;border-radius: 24rpx;padding: 22rpx;width: 48%;" class="num-item" @tap="$util.checkLogin('/pages/address/address')">
+				<view style="padding-right: 32rpx;">
+				  <image style="width: 48rpx;height: 48rpx;margin-top: 30rpx;" src="/static/imgs/History.png"></image>
+				</view>
+				<view style="flex: 1">
+				  <view class="txt" style="color: #666;text-align:left">我的地址</view>
+				  <view class="num" style="color: #333;text-align:left;margin-top: 5rpx;">0</view>
+			
+				</view>
+			
+			  </view>
+			</view> -->
+			
+			<view class="navs">
+				<view class="title" @tap="$util.checkLogin('/pages/order/order')">
+					<text>我的订单</text>
+					<view class="navs-rgt">
+						<text>查看全部</text>
+						<image src="/static/imgs/right.png" mode=""></image>
+					</view>
+				</view>
+				<view class="navCon">
+					<view class="navCon-v" v-for="(item, index) in navData" @tap="$util.checkLogin(item.url)">
+						<image :src="'../../static/imgs/nv' + item.index + '.png'" mode=""></image>
+						<view>{{item.text}}</view>
+					</view>
 				</view>
 			</view>
-			<view class="myNavs-view">
-				<view class="myNavs-item" @tap="$util.checkLogin('/pages/order/order?status=1')">
-					<image class="myNavs-item-icon" src="/static/imgs/my-n-1.png" mode=""></image>
-					<text class="myNavs-item-text">待支付</text>
-				</view>
-				<view class="myNavs-item" @tap="$util.checkLogin('/pages/order/order?status=3')">
-					<image class="myNavs-item-icon" src="/static/imgs/my-n-5.png" mode=""></image>
-					<text class="myNavs-item-text">待签约</text>
-				</view>
-				<view class="myNavs-item" @tap="$util.checkLogin('/pages/order/order?status=4')">
-					<image class="myNavs-item-icon" src="/static/imgs/my-n-2.png" mode=""></image>
-					<text class="myNavs-item-text">待发货</text>
-				</view>
-				<view class="myNavs-item" @tap="$util.checkLogin('/pages/order/order?status=5')">
-					<image class="myNavs-item-icon" src="/static/imgs/my-n-3.png" mode=""></image>
-					<text class="myNavs-item-text">待收货</text>
-				</view>
-				<view class="myNavs-item" @tap="$util.checkLogin('/pages/order/order?status=8')">
-					<image class="myNavs-item-icon" src="/static/imgs/my-n-4.png" mode=""></image>
-					<text class="myNavs-item-text">已完成</text>
+			
+			<view class="mySer">
+				<view class="title">我的服务</view>
+				<view class="mySerCon">
+					<template v-for="(item, index) in mySerData">
+						<view class="mySerCon-v" @tap="$util.checkLogin(item.url)" v-if="item.index != 6">
+							<image :src="'../../static/imgs/mf' + item.index + '.png'" mode=""></image>
+							<view>{{item.text}}</view>
+						</view>
+						<view class="mySerCon-v" @tap="goKefu" v-else>
+							<image :src="'../../static/imgs/mf' + item.index + '.png'" mode=""></image>
+							<view>{{item.text}}</view>
+						</view>
+					</template>
 				</view>
 			</view>
-		</view>
-		
-		<view class="myServe">
-			<view class="myNavs-tips">
-				<text class="myNavs-tips-text">我的服务</text>
+			<!-- <view style="text-align: center;font-size: 24rpx;color: #666666;margin: 80rpx 0;">
+				客服电话:400-6229-771(8:00-20:00)
+			</view> -->
+			<view class="myBeiAn">
+				<view class="">
+					<text @tap="agreeDialog1">《用户协议》</text>
+					<text>|</text>
+					<text @tap="agreeDialog2">《隐私政策》</text>
+				</view>
+				<view @tap="goWebUrl('http://beian.miit.gov.cn')">APP备案号: {{Config.icp}}</view>
+				<view @tap="goWebUrl('http://beian.miit.gov.cn')">Copyright © 2025 数澜科技 All Rights Reserved.</view>
+				<!-- <view @tap="goWebUrl('http://beian.miit.gov.cn')">Copyright © 2025 {{Config.url}} All Rights Reserved.</view> -->
+				
 			</view>
-			<view class="myServe-view">
-				<view class="myServe-item" @tap="$util.checkLogin('/pages/profile/profile')">
-					<image src="/static/imgs/my-s-1.png" mode=""></image>
-					<text>个人信息</text>
-				</view>
-				<view class="myServe-item" @tap="$util.checkLogin('/pages/logs/logs')" v-if="Config && Config.put_open == 2">
-					<image src="/static/imgs/my-s-2.png" mode=""></image>
-					<text>账单信息</text>
-				</view>
-				<view class="myServe-item" @tap="$util.checkLogin('/pages/bank/bank')">
-					<image src="/static/imgs/my-s-3.png" mode=""></image>
-					<text>银行卡</text>
-				</view>
-				<view class="myServe-item" @tap="$util.checkLogin('/pages/address/address')">
-					<image src="/static/imgs/my-s-4.png" mode=""></image>
-					<text>我的地址</text>
-				</view>
-				<view class="myServe-item" @tap="$util.checkLogin('/pages/collect/collect')">
-					<image src="/static/imgs/my-s-5.png" mode=""></image>
-					<text>我的收藏</text>
-				</view>
-				<view class="myServe-item" @tap="goKefu">
-					<image src="/static/imgs/my-s-6.png" mode=""></image>
-					<text>联系客服</text>
-				</view>
-				<view class="myServe-item" v-if="Config.put_open == 1">
-					
-				</view>
-			</view>
-		</view>
-		<view class="myBeiAn">
-			<view class="">
-				<text @tap="agreeDialog1">《用户协议》</text>
-				<text>|</text>
-				<text @tap="agreeDialog2">《隐私政策》</text>
-			</view>
-			<view @tap="goWebUrl('http://beian.miit.gov.cn')">APP备案号: {{Config.icp}}</view>
-			<view @tap="goWebUrl('http://beian.miit.gov.cn')">Copyright © 2025 {{Config.url}} All Rights Reserved.</view>
+			<agreePup ref="agreePup1" :gp="1" title="注册协议"></agreePup>
+			<agreePup ref="agreePup2" :gp="2" title="隐私政策"></agreePup>
 			
 		</view>
-		<agreePup ref="agreePup1" :gp="1" title="注册协议"></agreePup>
-		<agreePup ref="agreePup2" :gp="2" title="隐私政策"></agreePup>
 	</view>
 </template>
 
@@ -120,6 +121,22 @@
 			return {
 				userInfo: this.$util.getUserInfo(),
 				Config: {put_open: 1},
+				navData: [
+					{index: 1, text: '待支付', url: '/pages/order/order?status=1'},
+					{index: 3, text: '待发货', url: '/pages/order/order?status=4'},
+					{index: 4, text: '待收货', url: '/pages/order/order?status=5'},
+					{index: 2, text: '待签约', url: '/pages/order/order?status=3'},
+					{index: 5, text: '已完成', url: '/pages/order/order?status=8'}
+				],
+				mySerData: [
+					{index: 1, text: '个人信息', url: '/pages/profile/profile'},
+					// {index: 2, text: '账单信息', url: '/pages/logs/logs'},
+					// {index: 3, text: '银行卡', url: '/pages/bank/bank'},
+					{index: 2, text: '我的地址', url: '/pages/address/address'},
+					{index: 3, text: '我的收藏', url: '/pages/collect/collect'},
+					// {index: 4, text: '会员权收', url: '/pages/quanshou/index'},
+					{index: 6, text: '联系客服'},
+				]
 			}
 		},
 		onLoad() {
@@ -129,6 +146,16 @@
 			this.getUserInfo()
 		},
 		methods: {
+			// 收藏+浏览记录
+			goMenuPage(url) {
+			  if (this.userInfo) {
+				uni.navigateTo({
+				  animationType: 'zoom-fade-out',
+				  animationDuration: 200,
+				  url
+				})
+			  }
+			},
 			goKefu() {
 				if(this.Config && this.Config.kefu_open == 1) {
 					this.wechatWork()
@@ -240,7 +267,35 @@
 		}
 	}
 </script>
-
 <style>
-	@import url(/static/css/my.css);
-</style>
+	@import url(/static/css/my2.css);
+	
+	.num-wrapper {
+		width: 650rpx;
+		margin: 30rpx auto;
+		z-index: 30;
+		position: relative;
+		display: flex;
+		align-items: center;
+		justify-content: space-between;
+		color: #fff;
+		gap: 20rpx;
+		
+	  }
+	  .num-wrapper .num-item {
+	    width: 33.33%;
+	    text-align: center;
+	  
+	    
+	  }
+	  .num-wrapper .num {
+	  	font-size: 42rpx;
+	  	font-weight: bold;
+	}
+	  
+	.num-wrapper .txt {
+		margin-top: 10rpx;
+		font-size: 26rpx;
+		color: rgba(255, 255, 255, 0.6);
+	}
+</style>
\ No newline at end of file

--
Gitblit v1.9.3