Jelajahi Sumber

添加规则

hwb0 3 tahun lalu
induk
melakukan
15e6310e43
3 mengubah file dengan 23 tambahan dan 5 penghapusan
  1. 11 0
      pages/about/rule.vue
  2. 5 4
      pages/choice/index.vue
  3. 7 1
      pages/index/index.vue

File diff ditekan karena terlalu besar
+ 11 - 0
pages/about/rule.vue


+ 5 - 4
pages/choice/index.vue

@@ -206,7 +206,6 @@
 			justify-content: space-around;
 			flex-wrap: wrap;
 			padding: 60rpx;
-			margin-bottom: 60rpx;
 
 			&-item {
 				position: relative;
@@ -215,7 +214,7 @@
 				margin-bottom: 40rpx;
 				background-color: #FFFFFF;
 				border-radius: 10rpx;
-				
+
 				.item-info {
 					height: 100%;
 					display: flex;
@@ -229,8 +228,8 @@
 					background: none;
 					box-shadow: none;
 				}
-				
-				.action-icon{
+
+				.action-icon {
 					position: absolute;
 					bottom: -15rpx;
 					right: -15rpx;
@@ -282,6 +281,8 @@
 		}
 
 		.btn {
+			margin-top: 200rpx;
+
 			.confirm {
 				width: 400rpx;
 				height: 80rpx;

+ 7 - 1
pages/index/index.vue

@@ -18,7 +18,7 @@
 						<view class="box-top-action-item-txt">奖品库</view>
 					</view>
 				</view>
-				<view class="box-top-tip">
+				<view class="box-top-tip" @click="toRule">
 					<view class="flex box-top-tip-txt">
 						<u-icon name="file-text" color="#fff" size="20"></u-icon>
 						<text>规则说明</text>
@@ -155,6 +155,12 @@
 					url: '/pages/prize/index'
 				})
 			},
+			
+			toRule(){
+				uni.navigateTo({
+					url: '/pages/about/rule'
+				})
+			}
 		}
 	}
 </script>

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini