一懒众山小 3 rokov pred
rodič
commit
6b09a34ed5

+ 31 - 1
src/pages.json

xqd xqd
@@ -100,7 +100,17 @@
 			}
 
 		}
-	],
+	    ,{
+            "path" : "pages/index/hot_sale_project",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "热销方案",
+                "enablePullDownRefresh": false,
+				"navigationStyle":"custom"
+            }
+            
+        }
+    ],
 	"globalStyle": {
 		"navigationBarTextStyle": "black",
 		"navigationBarTitleText": "",
@@ -114,6 +124,26 @@
 	"navigateToMiniProgramAppIdList": [
 		"wx3efb95b9c5579418"
 	],
+	"condition": { //模式配置,仅开发期间生效
+		"current": 0, //当前激活的模式(list 的索引项)
+		"list": [
+			{
+				"name": "我的评价列表", //模式名称
+				"path": "pages/user-center/evaluate/list", //启动页面
+				"query": "" //启动参数
+			},
+			{
+				"name": "发表评论", //模式名称
+				"path": "pages/user-center/evaluate/evaluate", //启动页面
+				"query": "" //启动参数
+			},
+			{
+				"name": "热销方案", //模式名称
+				"path": "pages/index/hot_sale_project", //启动页面
+				"query": "" //启动参数
+			}
+		]
+	},
 	"subPackages": [{
 			"root": "plugins/fission",
 			"pages": [{

+ 90 - 0
src/pages/index/hot_sale_project.vue

xqd
@@ -0,0 +1,90 @@
+<template>
+	<view>
+		<image class="tpbg" src="../../static/image/index/3.png" mode=""></image>
+		<view class="center">
+			<view class="item" v-for="(item,index) in 2" :key="index">
+				<view class="main-between img">
+					<view style="width: 419rpx;height: 281rpx;">
+						<image style="width: 419rpx;height: 281rpx;" src="../../static/image/index/2.png" mode=""></image>
+					</view>
+					<view style="width: 206rpx;">
+						<image style="width: 206rpx;height: 136rpx;" src="../../static/image/index/2.png" mode=""></image>
+						<image style="width: 206rpx;height: 136rpx;" src="../../static/image/index/2.png" mode=""></image>
+					</view>
+				</view>
+				<view class="main-between pl">
+					<view class="main-between-y">
+						<view class="title t-omit">兴城人居ins软陶简洁大气套餐软陶简洁大气套餐软陶简洁大气套餐软陶简洁大气套餐软陶简洁大气套餐软陶简洁大气套餐</view>
+						<view class="desc">已售:110套 | 266人收藏</view>
+						<view class="price"><text>¥</text>299.00</view>
+					</view>
+					<view class="cross-bottom arrow-right">
+						<image src="../../static/image/index/arrow-right-gray.png" mode=""></image>
+					</view>
+				</view>
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			};
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	.tpbg{
+		width: 750rpx;
+		height: 368rpx;
+	}
+	.center{
+		width: 750rpx;
+		height: auto;
+		background: #F8F8F8;
+		border-radius: 20rpx;
+		padding: 36rpx;
+		.item{
+			width: 678rpx;
+			height: 477rpx;
+			background: #FFFFFF;
+			border-radius: 8rpx;
+			margin:0 auto 24rpx;
+			padding: 27rpx 22rpx;
+			.img{
+				height: 281rpx;
+				border-radius: 10rpx;
+				overflow: hidden;
+			}
+			.pl{
+				margin-top: 25rpx;
+				.title{
+					width: 620rpx;
+					font-size: 32rpx;
+					font-weight: bold;
+					color: #222222;
+				}
+				.desc{
+					font-size: 22rpx;
+					font-weight: 500;
+					color: #999999;
+				}
+				.price{
+					font-size: 28rpx;
+					font-weight: 500;
+					color: #F93F3F;
+				}
+				.arrow-right{
+					image{
+						width: 15rpx;
+						height: 26rpx;
+					}
+				}
+			}
+		}
+	}
+</style>

+ 165 - 31
src/pages/user-center/evaluate/list.vue

xqd xqd xqd
@@ -2,7 +2,49 @@
 	<view class="page">
 		<view class="box">
 			<view class="main-between cross-center header">
-				<view class="cross-center head"><image src="../../../static/image/sale/1.png" mode=""></image>周先生</view>
+				<view class="cross-center head">
+					<image src="../../../static/image/sale/1.png" mode=""></image>
+					周先生
+				</view>
+				<view class="main-between cross-center">
+					<view class="date">2021-11-17</view>
+					<image class="del" src="../../../static/image/user-center/del.png" mode=""></image>
+				</view>
+			</view>
+			<view class="center">
+				<view class="main-between cross-center">
+					<view class="title">整体评价</view>
+					<view class="isopen cross-center">
+						展开
+						<image src="../../../static/image/user-center/arrow-bottom.png" mode=""></image>
+					</view>
+				</view>
+				<view class="center-text">基本上任何一件服装都包含了来自可能多达数十位供应商的零部件和服务</view>
+				<view class="center-img" v-if="false"><image v-for="(item, index) in 5" :key="index" src="../../../static/image/user-center/1.png" mode=""></image></view>
+				<view class="main-between goods" v-if="false">
+					<view class="main-left desc">
+						<image class="goods-img" src="../../../static/image/user-center/1.png" mode=""></image>
+						<view>
+							<view class="title">兴城人居ins居家占位套餐</view>
+							<view class="price">
+								<text class="company">¥</text>
+								2466.00
+							</view>
+						</view>
+					</view>
+					<view class="isopen cross-center">
+						收起
+						<image src="../../../static/image/user-center/arrow-top.png" mode=""></image>
+					</view>
+				</view>
+			</view>
+		</view>
+		<view class="box">
+			<view class="main-between cross-center header">
+				<view class="cross-center head">
+					<image src="../../../static/image/sale/1.png" mode=""></image>
+					周先生
+				</view>
 				<view class="main-between cross-center">
 					<view class="date">2021-11-17</view>
 					<image class="del" src="../../../static/image/user-center/del.png" mode=""></image>
@@ -10,50 +52,67 @@
 			</view>
 			<view class="center">
 				<view class="main-between cross-center">
-					<view>整体评价</view>
-					<!-- <view>展开<image src="../../../static/image/user-center/arrow-bottom.png" mode=""></image></view> -->
+					<view class="title">整体评价</view>
+					<view class="isopen cross-center">
+						展开
+						<image src="../../../static/image/user-center/arrow-bottom.png" mode=""></image>
+					</view>
 				</view>
-				<view class="centerVal">
-					
+				<view class="center-text">基本上任何一件服装都包含了来自可能多达数十位供应商的零部件和服务</view>
+				<view class="center-img"><image v-for="(item, index) in 5" :key="index" src="../../../static/image/user-center/1.png" mode=""></image></view>
+				<view class="main-between goods">
+					<view class="main-left desc">
+						<image class="goods-img" src="../../../static/image/user-center/1.png" mode=""></image>
+						<view>
+							<view class="title">兴城人居ins居家占位套餐</view>
+							<view class="price">
+								<text class="company">¥</text>
+								2466.00
+							</view>
+						</view>
+					</view>
+					<view class="isopen cross-center">
+						收起
+						<image src="../../../static/image/user-center/arrow-top.png" mode=""></image>
+					</view>
 				</view>
 			</view>
 		</view>
+		<view class="no-more">没有更多了...</view>
 	</view>
 </template>
 
 <script>
-	export default {
-		data() {
-			return {
-				
-			};
-		}
+export default {
+	data() {
+		return {};
 	}
+};
 </script>
 
 <style lang="scss" scoped>
-	.page{
-		padding-top: 22rpx;	
-background: #F6F6F6;
-	}
-	.box{
-		width: 678rpx;
-		height: auto;
-		background: #FFFFFF;
-		border-radius: 6rpx;
-		padding: 26rpx 31rpx;
-		margin: 0 auto;
-	}
-	.header{
+.page {
+	padding-top: 22rpx;
+	background: #f6f6f6;
+}
+.box {
+	width: 678rpx;
+	height: auto;
+	background: #ffffff;
+	border-radius: 6rpx;
+	padding: 26rpx 31rpx;
+	margin: 0 auto 20rpx;
+
+	.header {
 		padding-bottom: 21rpx;
-border-bottom: 1px solid #EAEAEA;
-		.head{
+		border-bottom: 1px solid #eaeaea;
+		.head {
 			width: auto;
 			height: 48rpx;
-			background: #F6F6F6;
+			background: #f6f6f6;
 			border-radius: 24rpx;
 			padding: 0 17rpx;
-			image{
+			image {
 				width: 32rpx;
 				height: 32rpx;
 				margin-right: 14rpx;
@@ -63,15 +122,90 @@ border-bottom: 1px solid #EAEAEA;
 			font-weight: 500;
 			color: #666666;
 		}
-		.date{
+		.date {
 			font-size: 22rpx;
 			font-weight: 500;
 			color: #222222;
+			margin-right: 30rpx;
 		}
-		.del{
+		.del {
 			width: 36rpx;
 			height: 36rpx;
 		}
-		
 	}
+	.center {
+		padding: 37rpx 0 10rpx;
+		.title {
+			font-size: 30rpx;
+			font-weight: bold;
+			color: #222222;
+		}
+		.isopen {
+			font-size: 24rpx;
+			font-weight: bold;
+			color: #a18353;
+			image {
+				width: 19rpx;
+				height: 12rpx;
+				margin-left: 8rpx;
+			}
+		}
+		.center-text {
+			margin-top: 20rpx;
+			font-size: 24rpx;
+			font-weight: 500;
+			color: #999999;
+			line-height: 34rpx;
+		}
+		.center-img {
+			margin-top: 28rpx;
+			image {
+				width: 146rpx;
+				height: 96rpx;
+				border-radius: 12rpx;
+				margin-right: 15rpx;
+			}
+		}
+		.goods{
+			padding-top: 42rpx;
+			border-top: 1rpx solid #EAEAEA;
+			.desc{
+				width: 511rpx;
+				height: 141rpx;
+				background: #F8F8F8;
+				border-radius: 6rpx;
+				padding: 18rpx 24rpx;
+				.goods-img{
+					width: 101rpx;
+					height: 99rpx;
+					border-radius: 8rpx;
+					margin-right: 21rpx;
+				}
+				.title{
+					font-size: 26rpx;
+					font-weight: 500;
+					color: #222222;
+					line-height: 46rpx;
+				}
+				.price{
+					font-size: 24rpx;
+					font-weight: 500;
+					color: #FC3737;
+					line-height: 36rpx;
+					.company{
+						
+					}
+				}
+			}
+			
+		}
+	}
+}
+.no-more{
+	font-size: 24rpx;
+	font-weight: 500;
+	color: #666666;
+	margin-top: 37rpx;
+	text-align: center;
+}
 </style>

BIN
src/static/image/index/arrow-right-gray.png


BIN
src/static/image/user-center/1.png


BIN
src/static/image/user-center/arrow-top.png