Browse Source

添加抽奖报名人员详情页

user5 2 years atrás
parent
commit
95119e5fa3

+ 4 - 0
pages.json

@@ -278,6 +278,10 @@
 		  {
 		      "path" : "pages/test/luckyDraw/LuckyDrawEvents_pc",
 		      "style" : {}
+		  },
+		  {
+		      "path" : "pages/test/luckyDraw/LuckyDrawMemberList",
+		      "style" : {}
 		  }
     ],
 	"globalStyle": {

+ 1 - 1
pages/test/luckyDraw/LuckyDrawEvents.vue

@@ -16,7 +16,7 @@
 					<view class="text-cut"> {{item.name}} </view>
 				</view>
 				<view class="content">
-					<image src="/static/lucky_draw_events.png"
+					<image src="/static/lucky_draw_events.jpg"
 					 mode="aspectFill"></image>
 					<view class="desc">
 						<view class="text-content"> {{item.detail}} </view>

+ 10 - 3
pages/test/luckyDraw/LuckyDrawEventsDetail.vue

@@ -25,7 +25,7 @@
 				</view>
 				<!-- 图片 -->
 				<view class="content">
-					<image style="width: 100%;" src="/static/lucky_draw_events.png" mode="widthFix"></image>
+					<image style="width: 100%;" src="/static/lucky_draw_events.jpg" mode="widthFix"></image>
 				</view>
 				
 				<view class=" padding-lr" :key="'00'" :id="'00'">
@@ -37,9 +37,10 @@
 							</text>
 						</view>
 						<view class="action">
-							<text class="text-grey" style="" @click="toLottery()">
-								活动详情
+							<text class="text-red" style="" @click="toLuckyDrawMember()">
+								报名详情
 							</text>
+							<text class="cuIcon-friend text-red"></text>
 						</view>
 					</view>
 				</view>
@@ -102,6 +103,12 @@
 				uni.navigateTo({
 				  url: '/pages/test/luckyDraw/LuckyDrawShowList?eventId='+this.dataDetail.id
 				})
+			},
+			// 跳转报名详情页面   参数eventId为活动id
+			toLuckyDrawMember() {
+				uni.navigateTo({
+				  url: '/pages/test/luckyDraw/LuckyDrawMemberList?eventId='+this.dataDetail.id
+				})
 			}
 		},
 	}

+ 1 - 1
pages/test/luckyDraw/LuckyDrawEvents_pc.vue

@@ -16,7 +16,7 @@
 					<view class="text-cut"> {{item.name}} </view>
 				</view>
 				<view class="content">
-					<image src="/static/lucky_draw_events.png"
+					<image src="/static/lucky_draw_events.jpg"
 					 mode="aspectFill"></image>
 					<view class="desc">
 						<view class="text-content"> {{item.detail}} </view>

+ 1 - 0
pages/test/luckyDraw/LuckyDrawMemberList.vue

@@ -3,6 +3,7 @@
 		<cu-custom bgColor="bg-blue" :isBack="true">
 			<block slot="backText">返回</block>
 			<block slot="content"> 报名信息</block>
+			<block slot="right" >已报名 {{dataList.length}} 人</block>
 		</cu-custom>
 		<view>
 			<view class="uni-container">

BIN
static/lucky_draw_events.jpg


static/lucky_draw_events.png → static/lucky_draw_events1.png