zhang 2 gadi atpakaļ
vecāks
revīzija
9a53a10aca
3 mainītis faili ar 161 papildinājumiem un 1 dzēšanām
  1. 9 0
      pages.json
  2. 144 0
      pages/details/details.vue
  3. 8 1
      pages/tabulation/tabulation.vue

+ 9 - 0
pages.json

@@ -273,6 +273,15 @@
             }
             
         }
+        ,{
+            "path" : "pages/details/details",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "他的粉絲",
+                "enablePullDownRefresh": false
+            }
+            
+        }
     ],
 	"tabBar": {
 		"color": "#C0C4CC",

+ 144 - 0
pages/details/details.vue

@@ -0,0 +1,144 @@
+<template>
+	<view class="">
+		<view class="list" v-for="item in 12" :key="item">
+			<view class="top">
+				<view class="nc">123****032@qq.com</view>
+				<view class="">
+					<image class="img" src="../../static/shouye/huiyuan.png" mode=""></image>
+				</view>
+			</view>
+			<view class="center" @click="navX">
+				<view class="sj">2023.05.05 15:00</view>
+				<view class="xq">詳情</view>
+				<view class="">
+					<image class="ima" src="../../static/icon/jt.png" mode=""></image>
+				</view>
+			</view>
+			<view class="xian"></view>
+			<view class="last">
+				<view class="left">互娛金額:</view>
+				<view class="leftT">5000U</view>
+				<view class="right">推廣數:</view>
+				<view class="rightT">50</view>
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			};
+		}
+	}
+</script>
+
+<style lang="scss">
+.list {
+	width: 684rpx;
+	height: 262rpx;
+	background: #191A1F;
+	border-radius: 16rpx;
+	margin-left: 36rpx;
+	margin-top: 25rpx;
+}
+.top {
+	display: flex;
+	justify-content: start;
+}
+.nc {
+	height: 31rpx;
+	font-size: 32rpx;
+	font-family: PingFang SC;
+	font-weight: bold;
+	color: #FFFFFF;
+	margin-left: 35rpx;
+	padding-top: 40rpx;
+}
+.img {
+	width: 100rpx;
+	height: 32rpx;
+	margin-left: 20rpx;
+	margin-top: 46rpx;
+	object-fit: cover;
+}
+
+.center {
+	display: flex;
+	justify-content: start;
+}
+.sj {
+	margin-left: 34rpx;
+	margin-top: 25rpx;
+	height: 22rpx;
+	float: length($list: 231rpx);
+	font-size: 28rpx;
+	font-family: PingFang SC;
+	font-weight: 500;
+	color: #999999;
+}
+.xq {
+	margin-top: 25rpx;
+	margin-left: 290rpx;
+	height: 26rpx;
+	font-size: 28rpx;
+	font-family: PingFang SC;
+	font-weight: 500;
+	color: #999999;
+	float: length($list: 54rpx);
+}
+.ima {
+	width: 13rpx;
+	height: 19rpx;
+	// background: #FFFFFF;
+	margin-top: 35rpx;
+	margin-left: 20rpx;
+}
+.xian {
+	width: 618rpx;
+	height: 1rpx;
+	background: #DDE1EB;
+	opacity: 0.2;
+	margin-left: 20rpx;
+	margin-top: 30rpx;
+}
+.last {
+	display: flex;
+	// 
+	justify-content: start;
+}
+.left {
+	font-size: 28rpx;
+	font-family: PingFang SC;
+	font-weight: 500;
+	color: #999999;
+	margin-left: 36rpx;
+	margin-top: 30rpx;
+}
+.leftT {
+	font-size: 28rpx;
+	font-family: PingFang SC;
+	font-weight: 500;
+	color: #b98134;
+	// margin-left: 10rpx;
+	margin-top: 30rpx;
+}
+.right {
+	font-size: 28rpx;
+	font-family: PingFang SC;
+	font-weight: 500;
+	color: #999999;
+	margin-left: 220rpx;
+	margin-top: 30rpx;
+}
+.rightT {
+	font-size: 28rpx;
+	font-family: PingFang SC;
+	font-weight: 500;
+	color: #ffffff;
+	margin-top: 30rpx;
+	
+}
+</style>

+ 8 - 1
pages/tabulation/tabulation.vue

@@ -29,7 +29,7 @@
 					<image class="img" src="../../static/shouye/huiyuan.png" mode=""></image>
 				</view>
 			</view>
-			<view class="center">
+			<view class="center"  @click="navX">
 				<view class="sj">2023.05.05 15:00</view>
 				<view class="xq">詳情</view>
 				<view class="">
@@ -53,6 +53,13 @@
 			return {
 				
 			};
+		},
+		methods: {
+			navX() {
+				uni.navigateTo({
+					url: '/pages/details/details'
+				})
+			},
 		}
 	}
 </script>