Procházet zdrojové kódy

添加领券页面及模拟数据

wangzizhong před 2 roky
rodič
revize
a264589b84
3 změnil soubory, kde provedl 182 přidání a 6 odebrání
  1. 9 2
      pages.json
  2. 8 3
      pages/taxationLesson/index.vue
  3. 165 1
      pages/taxationLesson/ticket.vue

+ 9 - 2
pages.json

@@ -7,7 +7,7 @@
 			}
 		},
 		{
-			"path": "pages/BBS/index",
+			"path": "pages/taxationLesson/index",
 			"style": {
 				"navigationBarTitleText": "干货分享"
 			}
@@ -256,6 +256,13 @@
 			}
 		},
 		{
+			"path" : "pages/BBS/index",
+			"style" : 
+			{
+				"navigationBarTitleText" : "社区活动"
+			}
+		},
+		{
 			"path" : "pages/BBS/activity",
 			"style" : 
 			{
@@ -278,7 +285,7 @@
 				"text": "首页"
 			},
 			{
-				"pagePath": "pages/BBS/index",
+				"pagePath": "pages/taxationLesson/index",
 				"iconPath": "/static/tabbar/honer.png",
 				"selectedIconPath": "/static/tabbar/honer-ed.png",
 				"text": "干货分享"

+ 8 - 3
pages/taxationLesson/index.vue

@@ -21,9 +21,9 @@
 				  <text>创业的五个思路</text>
 				  <text>创业经验少走两年弯路!</text>
 			 </view>
-			 <image class="title-img2" src="/static/taxation/poster2.png"></image>	 
+			 <image class="title-img2" src="/static/taxation/poster2.png" @click="goTicket()"></image>	 
 			 <view class="content-title display-flex-center items-center">
-			 	<view class="line"></view><view class="circle"></view>
+			 	<view class="line"></view><view class="circle"></view> 
 				<view class="title">创业干货</view>
 				<view class="circle"></view><view class="line"></view>
 			 </view>
@@ -106,7 +106,12 @@
 		methods: {
 			goDetail(){
 				uni.navigateTo({
-					url:'./active'
+					url:'active'
+				})
+			},
+			goTicket(){
+				uni.navigateTo({
+					url:'ticket'
 				})
 			}
 		}

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 165 - 1
pages/taxationLesson/ticket.vue