py 2 роки тому
батько
коміт
178c1288d3

+ 3 - 0
common/css/common.css

@@ -310,6 +310,9 @@ image {
 .mb-12{
 	margin-bottom: 12rpx;
 }
+.mb-16{
+	margin-bottom: 16rpx;
+}
 .mb-18{
 	margin-bottom: 18rpx;
 }

+ 7 - 3
components/en-utils/en-nav/en-nav.vue

@@ -9,9 +9,10 @@
 		  }"
         :style="[{'height': customBarH + 'px', 'padding-top': statusBarH + 'px','background':bgckgroundBox}]">
         <view @tap="goBack">
-          <text  class="iconfont" v-if="leftShow">
+   <!--       <text  class="iconfont" v-if="leftShow">
             &#xe60e;
-          </text>
+          </text> -->
+		  <uni-icons type="left" :color="leftColor" size="18"  v-if="leftShow"></uni-icons>
         </view>
 
         <view v-if="!customNav" class="title-text">{{title}}</view>
@@ -60,7 +61,10 @@
 		  type: Boolean,
 		  default: false
 	  },
-	  
+	  leftColor: {
+		  type: String,
+		  default: '#333'
+	  },
       leftShow: {
         type: Boolean,
         default: true

+ 76 - 0
pages-my/my-appraise.vue

@@ -0,0 +1,76 @@
+<template>
+	<view class="flex-common-css">
+		<Nav title="我的评价" titleColor="#333" bgckgroundBox='#fff'></Nav>
+		<view class="tab-box flex-justify-around bgc-f ">
+			<view class="tab-but flex-1 flex-direction align-items-center" @click="tabStitle(index)"
+				v-for="(item, index) in tabList" :key="index">
+				<view class="fs-32 mb-18" :class="tabNum==index?'fc-41ABF5':'fc-3'">
+					{{item}}
+				</view>
+				<view v-show="tabNum==index" class="tab-hr bgc-41ABF5"></view>
+			</view>
+		</view>
+		<scroll-view :scroll-y="true" class="scroll-view-css" @scrolltolower="scrolltolower">
+			<view class="list-box">
+				<view class="item-box bgc-f b-rad-20" v-for="(item,index) in itemData" :key="index">
+					<view class="fw-600 fs-32 fc-3 mb-16">
+						{{item.name}}
+					</view>
+				</view>
+			</view>
+		</scroll-view>
+	</view>
+</template>
+
+<script>
+	export default {
+		components: {},
+		data() {
+			return {
+				tabNum: 0,
+				tabOneNum: 0,
+				tabTwoNum: 0,
+				itemData: [{
+					name: '猪油拌饭猪油拌(回兴店)'
+				}]
+			};
+		},
+		computed: {
+			tabList() {
+				return ['待评价(' + this.tabOneNum + ')', '已评价(' + this.tabTwoNum + ')'];
+			}
+		},
+		onLoad(data) {},
+		mounted() {},
+		methods: {
+			tabStitle(index) {
+				this.tabNum = index
+			},
+			scrolltolower() {
+				console.log('触底');
+			},
+		},
+	}
+</script>
+
+<style lang="scss" scoped>
+	.tab-box {
+		padding: 22rpx 0 4rpx 0;
+	}
+
+	.tab-hr {
+		width: 40rpx;
+		height: 4rpx;
+		border-radius: 2rpx;
+	}
+
+	.list-box {
+		padding: 24rpx;
+		box-sizing: border-box;
+	}
+
+	.item-box {
+		padding: 24rpx;
+		box-sizing: border-box;
+	}
+</style>

+ 22 - 8
pages-my/my-ticket.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="my-ticket flex-common-css">
+	<view class="my-ticket flex-common-css iPhone-bottom">
 		<Nav title="我的优惠券" titleColor="#333" bgckgroundBox='#fff'></Nav>
 		<view class="tab-box flex-justify-around bgc-f ">
 			<view class="tab-but flex-1 flex-direction align-items-center" @click="tabStitle(index)"
@@ -31,24 +31,21 @@
 							:class="item.type == 0?'fc-3':'fc-9'">
 							{{item.name}}
 						</view>
-						<view class="fs-24 fc-FB3D03 mb-12" v-if="item.type == 0">
-							仅剩时间:01:59:32
-						</view>
-						<view class="fs-24 fc-9 mb-12" v-else>
+						<view class="fs-24 mb-12" :class="item.type == 0?'fc-FB3D03':'fc-9'">
 							2024.05.08-2024.05.24
 						</view>
 						<view class="flex-justify-space">
 							<view class="fs-24" :class="item.type == 0?'fc-3':'fc-9'">
 								券类型:外卖券
 							</view>
-							<view class="align-items-center">
+							<view class="align-items-center" @click="goToUrl(1)">
 								<view class="fs-24 fc-9">
 									规则
 								</view>
 								<image class="toRight" src="@/static/img/toRight.png" mode=""></image>
 							</view>
 						</view>
-						<view class="item-but fc-FB3D03" v-if="item.type == 0">
+						<view class="item-but fc-FB3D03" v-if="item.type == 0" @click="goToUrl(0)">
 							去使用
 						</view>
 						<image class="item-img" src="@/static/img/my/ysy.png" mode="" v-else-if="item.type == 1">
@@ -104,7 +101,24 @@
 			tabStitle(index) {
 				this.tabNum = index
 			},
-			scrolltolower() {}
+			scrolltolower() {
+				//触底
+			},
+			goToUrl(type) {
+				if(type == 0) {
+					// 去使用
+				}else if(type == 1) {
+					// 规则
+					uni.navigateTo({
+						url:'/pages-my/rule-info'
+					})
+				}else {
+					// 领券中心
+					uni.navigateTo({
+						url:'/pages-my/ticket-centre'
+					})
+				}
+			}
 		},
 	}
 </script>

+ 132 - 4
pages-my/rule-info.vue

@@ -1,7 +1,50 @@
 <template>
-	<view class="flex-common-css">
+	<view class="flex-common-css iPhone-bottom">
 		<Nav title="规则详情" titleColor="#333" bgckgroundBox='#fff'></Nav>
 		<scroll-view :scroll-y="true" class="scroll-view-css" @scrolltolower="scrolltolower">
+			<view class="contetn-box">
+				<view class="item-box display-flex mb-20">
+					<view class="item-left flex-direction align-items-center flex-justify-center"
+						:class="ticketData.type == 0?'bgc-FCE7E2':'bgc-E6E6E6'">
+						<view class="align-items-center">
+							<view class="fs-30 fw-600" :class="ticketData.type == 0?'fc-FB3D03':'fc-9'">¥</view>
+							<view class="fs-48 fw-600" :class="ticketData.type == 0?'fc-FB3D03':'fc-9'">10</view>
+						</view>
+						<view class="fs-24" :class="ticketData.type == 0?'fc-6':'fc-9'">
+							满90元可用
+						</view>
+						<view class="ball"></view>
+						<view class="ball-two"></view>
+					</view>
+					<view class="item-hr" :class="ticketData.type == 0?'':'item-hr-two'"></view>
+					<view class="item-right flex-1 bgc-f">
+						<view class="fs-28 mb-12 ticket-name text-overflow-ellipsis fw-600"
+							:class="ticketData.type == 0?'fc-3':'fc-9'">
+							{{ticketData.name}}
+						</view>
+						<view class="fs-24 mb-12" :class="ticketData.type == 0?'fc-FB3D03':'fc-9'">
+							2024.05.08-2024.05.24
+						</view>
+						<view class="flex-justify-space">
+							<view class="fs-24" :class="ticketData.type == 0?'fc-3':'fc-9'">
+								券类型:外卖券
+							</view>
+						</view>
+						<image class="item-img" src="@/static/img/my/ysy.png" mode="" v-if="ticketData.type == 1">
+						</image>
+						<image class="item-img" src="@/static/img/my/ysx.png" mode="" v-if="ticketData.type == 2"></image>
+					</view>
+				</view>
+				<view class="but-box" v-if="ticketData.type == 0">
+					<view class="but fs-32 fc-f fw-500" @click="goToUrl()">
+						去使用
+					</view>
+				</view>
+				<view class="fs-34 fw-600 fc-0 mb-12">
+					使用范围
+				</view>
+				<view class="describe fs-28 fc-6" v-html=""></view>
+			</view>
 		</scroll-view>
 	</view>
 </template>
@@ -10,7 +53,12 @@
 	export default {
 		components: {},
 		data() {
-			return {};
+			return {
+				ticketData: {
+					type: 0,
+					name: '优惠券名称优惠券名称惠券名'
+				}
+			};
 		},
 		onLoad(data) {},
 		mounted() {},
@@ -23,5 +71,85 @@
 </script>
 
 <style lang="scss" scoped>
-
-</style>
+	.contetn-box {
+		padding: 24rpx;
+		box-sizing: border-box;
+	}
+	.item-hr {
+		width: 0px;
+		height: auto;
+		border-right: 1rpx dashed #FB7850;
+	}
+	
+	.item-hr-two {
+		width: 0px;
+		height: auto;
+		border-right: 1rpx dashed #999;
+	}
+	
+	.item-left {
+		width: 200rpx;
+		height: auto;
+		padding: 34rpx 36rpx 44rpx;
+		box-sizing: border-box;
+		position: relative;
+		border-radius: 20rpx 0 0 20rpx;
+	}
+	
+	.ball {
+		width: 24rpx;
+		height: 24rpx;
+		border-radius: 50%;
+		position: absolute;
+		top: -12rpx;
+		right: -12rpx;
+		background: #F5F5F5;
+		z-index: 10;
+	}
+	
+	.ball-two {
+		width: 24rpx;
+		height: 24rpx;
+		border-radius: 50%;
+		position: absolute;
+		background: #F5F5F5;
+		z-index: 10;
+		bottom: -12rpx;
+		right: -12rpx;
+	}
+	
+	.item-right {
+		padding: 24rpx;
+		box-sizing: border-box;
+		border-radius: 0 20rpx 20rpx 0;
+		position: relative;
+	}
+	
+	.ticket-name {
+		max-width: 280rpx;
+	}
+	
+	.item-img {
+		width: 88rpx;
+		height: 88rpx;
+		position: absolute;
+		bottom: 40%;
+		right: 24rpx;
+	}
+	.but-box{
+		padding: 12rpx 44rpx 46rpx;
+		box-sizing: border-box;
+		.but{
+			width: 100%;
+			height: 92rpx;
+			line-height: 92rpx;
+			text-align: center;
+			background: linear-gradient( 144deg, #57CAFF 0%, #41ABF5 100%);
+			border-radius: 380rpx;
+		}
+	}
+	.describe{
+		padding: 0 0 32rpx 0;
+		border-bottom: 2rpx solid #EEEEEE;
+	}
+</style>

+ 137 - 3
pages-my/ticket-centre.vue

@@ -1,7 +1,37 @@
 <template>
 	<view class="flex-common-css">
-		<Nav title="" leftIconColor="#333" titleColor="#333"></Nav>
+		<Nav title=" " titleColor="" bgckgroundBox='transparent' leftColor='#fff'></Nav>
+		<image class="lqzx-bg" src="@/static/img/my/lqzx-bg.png" mode=""></image>
+		<image @click="goToUrl" class="wdyhq" src="@/static/img/my/wdyhq.png" mode=""></image>
+		<view class="lqzx-blank"></view>
 		<scroll-view :scroll-y="true" class="scroll-view-css" @scrolltolower="scrolltolower">
+			<view class="liat-box ">
+				<view class="item-box display-flex mb-20" v-for="(item,index) in itemData" :key="index">
+					<view class="item-right flex-direction flex-justify-center flex-1 bgc-f">
+						<view class="fs-28 mb-12 ticket-name text-overflow-ellipsis fc-3 fw-600">
+							{{item.name}}
+						</view>
+						<view class="fs-24 fc-6">
+							有效时间:2024.05.08-2024.05.24
+						</view>
+					</view>
+					<view class="item-hr"></view>
+					<view class="item-left flex-direction align-items-center flex-justify-center bgc-FCE7E2">
+						<view class="align-items-center">
+							<view class="fs-30 fw-600 fc-FB3D03">¥</view>
+							<view class="fs-48 fw-600 fc-FB3D03">10</view>
+						</view>
+						<view class="fs-24 mb-18 fc-6">
+							满90元可用
+						</view>
+						<view class="but-box fs-28 fc-f" @click="receive">
+							立即领取
+						</view>
+						<view class="ball"></view>
+						<view class="ball-two"></view>
+					</view>
+				</view>
+			</view>
 		</scroll-view>
 	</view>
 </template>
@@ -10,18 +40,122 @@
 	export default {
 		components: {},
 		data() {
-			return {};
+			return {
+				itemData: [{
+						type: 0,
+						name: '优惠券名称优惠券名称惠券名名称惠券名'
+					},
+					{
+						type: 0,
+						name: '优惠券名称'
+					}
+				]
+			};
 		},
 		onLoad(data) {},
 		mounted() {},
 		methods: {
+			goToUrl() {
+				uni.navigateTo({
+					url:'/pages-my/my-ticket'
+				})
+			},
 			scrolltolower() {
 				console.log('触底');
 			},
+			receive() {
+				// 立即领取
+			}
 		},
 	}
 </script>
 
 <style lang="scss" scoped>
+	.lqzx-bg {
+		position: fixed;
+		left: 0;
+		top: 0;
+		width: 100%;
+		height: 489rpx;
+	}
+
+	.lqzx-blank {
+		width: 100%;
+		height: 272rpx;
+	}
+
+	.wdyhq {
+		position: fixed;
+		top: 204rpx;
+		right: 0;
+		width: 52rpx;
+		height: 152rpx;
+	}
 
-</style>
+	.liat-box {
+		border-radius: 50rpx 50rpx 0 0;
+		background: linear-gradient(180deg, #FBE9E4 0%, #F5F4F9 10%, #F5F4F9 100%);
+		border-image: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0)) 2 2;
+		padding: 24rpx;
+		box-sizing: border-box;
+	}
+
+	.item-hr {
+		width: 0px;
+		height: auto;
+		border-right: 1rpx dashed #FB7850;
+	}
+
+	.item-hr-two {
+		width: 0px;
+		height: auto;
+		border-right: 1rpx dashed #999;
+	}
+
+	.item-left {
+		width: 200rpx;
+		height: auto;
+		padding: 20rpx 24rpx;
+		box-sizing: border-box;
+		position: relative;
+		border-radius: 0 20rpx 20rpx 0;
+	}
+
+	.ball {
+		width: 24rpx;
+		height: 24rpx;
+		border-radius: 50%;
+		position: absolute;
+		top: -12rpx;
+		left: -12rpx;
+		background: #F5F5F5;
+		z-index: 2;
+	}
+
+	.ball-two {
+		width: 24rpx;
+		height: 24rpx;
+		border-radius: 50%;
+		position: absolute;
+		background: #F5F5F5;
+		z-index: 10;
+		bottom: -12rpx;
+		left: -12rpx;
+	}
+
+	.item-right {
+		padding: 24rpx;
+		box-sizing: border-box;
+		border-radius: 20rpx 0 0 20rpx;
+		position: relative;
+	}
+
+	.but-box {
+		width: 152rpx;
+		height: 52rpx;
+		line-height: 52rpx;
+		text-align: center;
+		background: linear-gradient(225deg, #FB3D03 0%, #FF6901 100%);
+		border-radius: 200rpx;
+	}
+</style>

+ 19 - 1
pages.json

@@ -74,6 +74,24 @@
 					"style": {
 						"navigationBarTitleText": "我的卡券"
 					}
+				},
+				{
+					"path": "rule-info",
+					"style": {
+						"navigationBarTitleText": "规则详情"
+					}
+				},
+				{
+					"path": "ticket-centre",
+					"style": {
+						"navigationBarTitleText": "领券中心"
+					}
+				},
+				{
+					"path": "my-appraise",
+					"style": {
+						"navigationBarTitleText": "我的评价"
+					}
 				}
 			]
 		}
@@ -95,7 +113,7 @@
 		"current": 0,
 		"list": [{
 			"name": "列表调试",
-			"path": "pages-my/my-ticket",
+			"path": "pages/me/index",
 			"query": ""
 		}]
 	}

+ 132 - 86
pages/me/index.vue

@@ -5,7 +5,7 @@
 		<view class="user-box align-items-center">
 			<view class="user-img-box mr-24">
 				<image class="user-img" src="@/static/img/my/user-img.png" mode=""></image>
-				<image class="set-iimg" src="@/static/img/my/pen.png" mode=""></image>
+				<image @click="goToUrl(0)" class="set-iimg" src="@/static/img/my/pen.png" mode=""></image>
 			</view>
 			<view class="user-name text-overflow-ellipsis-one fs-34">
 				{{ name }}
@@ -13,32 +13,32 @@
 		</view>
 		<view class="function-one-box box-border-box">
 			<view class="function-one b-rad-20 bgc-f box-border-box mb-24 align-items-center flex-justify-space">
-				<view class="my-function-box flex-direction align-items-center" @click="goToUrl(0)">
+				<view class="my-function-box flex-direction align-items-center" @click="goToUrl(1)">
 					<image class="my-img" src="@/static/img/my/wdkq.png" mode=""></image>
 					<view class="fs-26">
 						我的卡券
 					</view>
 				</view>
-				<view class="my-function-box flex-direction align-items-center">
+				<view class="my-function-box flex-direction align-items-center" @click="goToUrl(2)">
 					<image class="my-img" src="@/static/img/my/wdfb.png" mode=""></image>
 					<view class="fs-26">
 						我的发布
 					</view>
 				</view>
-				<view class="my-function-box flex-direction align-items-center">
+				<view class="my-function-box flex-direction align-items-center" @click="goToUrl(3)">
 					<image class="my-img" src="@/static/img/my/wdpj.png" mode=""></image>
 					<view class="fs-26">
 						我的评价
 					</view>
 				</view>
-				<view class="my-function-box flex-direction align-items-center">
+				<view class="my-function-box flex-direction align-items-center" @click="goToUrl(4)">
 					<image class="my-img" src="@/static/img/my/dzgl.png" mode=""></image>
 					<view class="fs-26">
 						地址管理
 					</view>
 				</view>
 			</view>
-			<view class="function-two b-rad-20 box-border-box flex-justify-space mb-22">
+			<view class="function-two b-rad-20 box-border-box flex-justify-space mb-22" @click="goToUrl(5)">
 				<view class="function-two-left">
 					<view class="align-items-center mb-12 p-t-10">
 						<image class="lqzx-img" src="@/static/img/my/lqzx.png" mode=""></image>
@@ -54,7 +54,7 @@
 		<scroll-view class="" :scroll-y="true" class="scroll-view-css" @scrolltolower="scrolltolower">
 			<view class="list-box function-one-box box-border-box">
 				<view class="list bgc-f b-rad-20">
-					<view class="item-box align-items-center flex-justify-space mb-64">
+					<view class="item-box align-items-center flex-justify-space mb-64" @click="goToUrl(6)">
 						<view class="item-left align-items-center">
 							<image class="item-img" src="@/static/img/my/xxzx.png" mode=""></image>
 							<view class="fs-32 fc-3">
@@ -68,7 +68,7 @@
 							<image class="to-right" src="@/static/img/toRight.png" mode=""></image>
 						</view>
 					</view>
-					<view class="item-box align-items-center flex-justify-space mb-64">
+					<view class="item-box align-items-center flex-justify-space mb-64" @click="goToUrl(7)">
 						<view class="item-left align-items-center">
 							<image class="item-img" src="@/static/img/my/lxkf.png" mode=""></image>
 							<view class="fs-32 fc-3">
@@ -79,7 +79,7 @@
 							<image class="to-right" src="@/static/img/toRight.png" mode=""></image>
 						</view>
 					</view>
-					<view class="item-box align-items-center flex-justify-space mb-64">
+					<view class="item-box align-items-center flex-justify-space mb-64" @click="goToUrl(8)">
 						<view class="item-left align-items-center">
 							<image class="item-img" src="@/static/img/my/swhz.png" mode=""></image>
 							<view class="fs-32 fc-3">
@@ -90,7 +90,7 @@
 							<image class="to-right" src="@/static/img/toRight.png" mode=""></image>
 						</view>
 					</view>
-					<view class="item-box align-items-center flex-justify-space mb-64">
+					<view class="item-box align-items-center flex-justify-space mb-64" @click="goToUrl(9)">
 						<view class="item-left align-items-center">
 							<image class="item-img" src="@/static/img/my/qszp.png" mode=""></image>
 							<view class="fs-32 fc-3">
@@ -101,7 +101,7 @@
 							<image class="to-right" src="@/static/img/toRight.png" mode=""></image>
 						</view>
 					</view>
-					<view class="item-box align-items-center flex-justify-space mb-64">
+					<view class="item-box align-items-center flex-justify-space mb-64" @click="goToUrl(10)">
 						<view class="item-left align-items-center">
 							<image class="item-img" src="@/static/img/my/wtfk.png" mode=""></image>
 							<view class="fs-32 fc-3">
@@ -112,7 +112,7 @@
 							<image class="to-right" src="@/static/img/toRight.png" mode=""></image>
 						</view>
 					</view>
-					<view class="item-box align-items-center flex-justify-space">
+					<view class="item-box align-items-center flex-justify-space" @click="goToUrl(11)">
 						<view class="item-left align-items-center">
 							<image class="item-img" src="@/static/img/my/gywm.png" mode=""></image>
 							<view class="fs-32 fc-3">
@@ -135,7 +135,7 @@
 		components: {},
 		data() {
 			return {
-				name:'仰看辉煌煌煌煌煌1111煌...仰看辉煌煌煌煌煌1111煌...仰看辉煌煌煌煌煌1111煌...',
+				name: '仰看辉煌煌煌煌煌1111煌...仰看辉煌煌煌煌煌1111煌...仰看辉煌煌煌煌煌1111煌...',
 				newsNum: 24
 			};
 		},
@@ -146,82 +146,128 @@
 				console.log('触底');
 			},
 			goToUrl(type) {
-				uni.navigateTo({
-					url:'/pages-my/my-ticket'
-				})
+				if (type == 0) {
+					// 修改个人信息
+				} else if (type == 1) {
+					// 我的卡券
+					uni.navigateTo({
+						url: '/pages-my/my-ticket'
+					})
+				} else if (type == 2) {
+					// 我的发布
+				} else if (type == 3) {
+					// 我的评价
+					uni.navigateTo({
+						url:'/pages-my/my-appraise'
+					})
+				} else if (type == 4) {
+					// 地址管理
+				} else if (type == 5) {
+					// 领券中心
+					uni.navigateTo({
+						url:'/pages-my/ticket-centre'
+					})
+				} else if (type == 6) {
+					// 消息中心
+				} else if (type == 7) {
+					// 联系客服
+				} else if (type == 8) {
+					// 商务合作
+				} else if (type == 9) {
+					// 骑手招聘
+				} else if (type == 10) {
+					// 问题反馈
+				} else if (type == 11) {
+					// 关于我们
+				}
 			}
 		},
 	}
 </script>
 
 <style lang="scss" scoped>
-.my-box{}
-.bg-box{
-	width: 100%;
-	height: 476rpx;
-	position: fixed;
-	top: 0;
-	z-index: -1;
-}
-.user-img-box{
-	width: 112rpx;
-	height: 112rpx;
-	position: relative;
-}
-.user-box{
-	padding: 54rpx 32rpx;
-}
-.user-img{
-	width: 100%;
-	height: 100%;
-}
-.set-iimg{
-	position: absolute;
-	right: 4rpx;
-	bottom: 0;
-	width: 33rpx;
-	height: 33rpx;
-}
-.user-name{
-	max-width: 388rpx;
-}
-.function-one-box{
-	padding: 0 24rpx;
-}
-.function-one{
-	padding: 24rpx 34rpx;
-}
-.function-two{
-	padding: 22rpx 40rpx 22rpx 32rpx;
-	background: linear-gradient( 90deg, #FFFFFF 47%, #FFF7E5 100%);
-}
-.my-img{
-	width: 80rpx;
-	height: 80rpx;
-	margin: 0 0 8rpx 0;
-}
-.function-two-right{
-	width: 96rpx;
-	height: 96rpx;
-}
-.lqzx-img{
-	width: 137rpx;
-	height: 30rpx;
-	margin: 0 8rpx 0 0;
-}
-.to-right {
-	width: 32rpx;
-	height: 32rpx;
-}
-// .list-box{
-// 	padding: 0 24rpx 20rpx;
-// }
-.list{
-	padding: 32rpx 28rpx 32rpx 32rpx;
-}
-.item-img{
-	width: 48rpx;
-	height: 48rpx;
-	margin: 0 20rpx 0 0;
-}
-</style>
+	.my-box {}
+
+	.bg-box {
+		width: 100%;
+		height: 476rpx;
+		position: fixed;
+		top: 0;
+		z-index: -1;
+	}
+
+	.user-img-box {
+		width: 112rpx;
+		height: 112rpx;
+		position: relative;
+	}
+
+	.user-box {
+		padding: 54rpx 32rpx;
+	}
+
+	.user-img {
+		width: 100%;
+		height: 100%;
+	}
+
+	.set-iimg {
+		position: absolute;
+		right: 4rpx;
+		bottom: 0;
+		width: 33rpx;
+		height: 33rpx;
+	}
+
+	.user-name {
+		max-width: 388rpx;
+	}
+
+	.function-one-box {
+		padding: 0 24rpx;
+	}
+
+	.function-one {
+		padding: 24rpx 34rpx;
+	}
+
+	.function-two {
+		padding: 22rpx 40rpx 22rpx 32rpx;
+		background: linear-gradient(90deg, #FFFFFF 47%, #FFF7E5 100%);
+	}
+
+	.my-img {
+		width: 80rpx;
+		height: 80rpx;
+		margin: 0 0 8rpx 0;
+	}
+
+	.function-two-right {
+		width: 96rpx;
+		height: 96rpx;
+	}
+
+	.lqzx-img {
+		width: 137rpx;
+		height: 30rpx;
+		margin: 0 8rpx 0 0;
+	}
+
+	.to-right {
+		width: 32rpx;
+		height: 32rpx;
+	}
+
+	// .list-box{
+	// 	padding: 0 24rpx 20rpx;
+	// }
+	.list {
+		padding: 32rpx 28rpx 32rpx 32rpx;
+	}
+
+	.item-img {
+		width: 48rpx;
+		height: 48rpx;
+		margin: 0 20rpx 0 0;
+	}
+</style>

+ 15 - 0
service/tools.js

@@ -97,6 +97,21 @@ tools.getTime = function () {
 }
 
 
+// 返回上级
+tools.leftClick = function () {
+    let pages = getCurrentPages();
+    if (pages.length > 1) {
+        uni.navigateBack({
+            delta: 1
+        })
+    } else {
+        uni.reLaunch({
+            url: '/pages/index/index'
+        });
+    }
+}
+
+
 tools.updateVersion = function (sysVersion, appUrl) {
     let app_version = plus.runtime.version;
     console.log('版本号信息对比------------------------------' + app_version + '---------' + sysVersion)

BIN
static/img/my/lqzx-bg.png


BIN
static/img/my/wdyhq.png