Fly il y a 2 ans
Parent
commit
04000947b0

+ 4 - 1
components/carousels/carousels.vue

@@ -43,8 +43,11 @@
 				this.current = e.detail.current;
 			},
 			lookDetails(item){
+				// uni.navigateTo({
+				// 	url: this.$path.articleDetails + `${item.id}`
+				// })
 				uni.navigateTo({
-					url: this.$path.articleDetails + `${item.id}`
+					url:`/pages/content/affiche?link=${item.link}`
 				})
 			}
 		}

+ 7 - 2
components/rollMessage/rollMessage.vue

@@ -41,9 +41,14 @@
 		},
 		methods:{
 			lookDetails(index){
-				const id = this.rollMsg[index]?.id;
+				// const id = this.rollMsg[index]?.id;
+				// uni.navigateTo({
+				// 	url: this.$path.articleDetails +  `${id}`
+				// })
+				
+				const link = this.rollMsg[index]?.link;
 				uni.navigateTo({
-					url: this.$path.articleDetails +  `${id}`
+					url:`/pages/content/affiche?link=${link}`
 				})
 			}
 		}

+ 9 - 0
pages.json

@@ -305,6 +305,15 @@
             }
             
         }
+        ,{
+            "path" : "pages/content/affiche",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "",
+                "enablePullDownRefresh": false
+            }
+            
+        }
     ],
 
 	"tabBar": {

+ 1 - 1
pages/content/About-Us.vue

@@ -11,7 +11,7 @@
 			</template>
 		</headContent>
 		<view class="iframe-box">
-			<iframe src="https://biking.zendesk.com/hc/zh-cn/sections/10626469683345" frameborder="0"></iframe>
+			<iframe src="https://biking.okenx.com/biking-help/3/index.html" frameborder="0"></iframe>
 		</view>
 	</view>
 </template>

+ 1 - 1
pages/content/activity-center.vue

@@ -11,7 +11,7 @@
 			</template>
 		</headContent>
 		<view class="iframe-box">
-			<iframe src="https://biking.zendesk.com/hc/zh-cn/sections/10621646474513-%E6%B4%BB%E5%8A%A8%E4%B8%AD%E5%BF%83" frameborder="0"></iframe>
+			<iframe src="https://biking.okenx.com/biking-help/1/index.html" frameborder="0"></iframe>
 		</view>
 	</view>
 </template>

+ 34 - 0
pages/content/affiche.vue

@@ -0,0 +1,34 @@
+<template>
+	<view class="iframe-content">
+		<headContent borderBottom>
+			<template #left>
+				<reverse-back />
+			</template>
+			<template #content>
+				<view class="haed-title">
+
+				</view>
+			</template>
+		</headContent>
+		<view class="iframe-box">
+			<iframe :src="iframeUrl" frameborder="0"></iframe>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				iframeUrl: ''
+			};
+		},
+		onLoad(opt) {
+			this.iframeUrl = opt.link
+		}
+	}
+</script>
+
+<style lang="scss">
+
+</style>

+ 4 - 30
pages/content/new-people.vue

@@ -1,30 +1,23 @@
 <template>
 	<view class="iframe-content">
-		<headContent statusBarBg="#191A2E" bgColor="#191A2E">
-
+		<headContent borderBottom>
 			<template #left>
-				<reverse-back iconColor="#fff" />
+				<reverse-back />
 			</template>
 			<template #content>
 				<view class="haed-title">
 					新人指南
 				</view>
 			</template>
-			<template #right>
-				<closeIocn iconColor="#fff" />
-			</template>
 		</headContent>
 		<view class="iframe-box">
-			<iframe
-				src="https://biking.zendesk.com/hc/zh-cn/sections/10621702835985-%E6%96%B0%E6%89%8B%E6%8C%87%E5%8D%97"
-				frameborder="0"></iframe>
+			<iframe src="https://biking.okenx.com/biking-help/4/index.html" frameborder="0"></iframe>
 		</view>
 	</view>
 </template>
 
 <script>
 	export default {
-		name: "new-people",
 		data() {
 			return {
 
@@ -33,25 +26,6 @@
 	}
 </script>
 
-<style lang="scss" scoped>
-	.haed-title {
-		color: #fff !important;
-	}
-
-	.iframe-content {
-		width: 100%;
-		height: 100vh;
-		display: flex;
-		flex-direction: column;
+<style lang="scss">
 
-		.iframe-box {
-			flex: 1;
-
-			iframe {
-				width: 100%;
-				height: 100%;
-			}
-		}
-
-	}
 </style>