瀏覽代碼

添加规则

hwb0 3 年之前
父節點
當前提交
15e6310e43
共有 3 個文件被更改,包括 23 次插入5 次删除
  1. 11 0
      pages/about/rule.vue
  2. 5 4
      pages/choice/index.vue
  3. 7 1
      pages/index/index.vue

File diff suppressed because it is too large
+ 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>

Some files were not shown because too many files changed in this diff