Jelajahi Sumber

首页专业支持跳转;样式优化

htc 23 jam lalu
induk
melakukan
9b7b593170

+ 1 - 1
components/CusNumberBox/index.vue

@@ -75,7 +75,7 @@
 			}
 		}
 		&-input{
-			width: 70rpx;
+			width: 40rpx;
 			padding: 0 20rpx;
 		}
 	}

+ 1 - 1
components/QuestionItem/index3.vue

@@ -2,7 +2,7 @@
 	<view class="li_box">
 		<view class="lb_title">
 			{{index+1}}. {{item.question}}<br>
-			<span style="color: #536387;font-size: 28rpx;line-height: 36rpx;margin-top: 12rpx;">{{item.questionEnglish||''}}</span>
+			<span style="color: #536387;font-size: 28rpx;line-height: 36rpx;margin-top: 12rpx;font-weight: 400;">{{item.questionEnglish||''}}</span>
 		</view>
 		<view class="lb_card">
 			<view class="lb_box" v-for="(ua,ui) in item[arrayKey]" :key="ui">

+ 12 - 0
pages.json

@@ -6,6 +6,18 @@
 				"navigationStyle": "custom"
 			}
 		},
+		{
+			"path": "pages/support",
+			"style": {
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path": "pages/webView",
+			"style": {
+				"navigationStyle": "custom"
+			}
+		},
 		{
 			"path": "pages/publish",
 			"style": {

+ 4 - 2
pages/home.vue

@@ -49,8 +49,8 @@
 				<view class="boxs-pre-title">AI督导对话</view>
 				<view class="boxs-pre-tip adfac">点击开始<image :src="imgBase+'home_arrow_right.png'"></image></view>
 			</view>
-			<view class="boxs-pre bp2">
-				<view class="boxs-pre-title">人工报告解读</view>
+			<view class="boxs-pre bp2" @click="toTurn('/pages/support')">
+				<view class="boxs-pre-title">专业支持</view>
 				<view class="boxs-pre-tip adfac">添加客服微信预约<image :src="imgBase+'home_arrow_right.png'"></image></view>
 			</view>
 		</view>
@@ -412,6 +412,8 @@
 				line-height: 48rpx;
 			}
 			&-menu{
+				width: calc(100% + 48rpx);
+				margin-left: -24rpx;
 				margin-top: 45rpx;
 				&-pre{
 					width: calc(100% / 3);

+ 27 - 0
pages/support.vue

@@ -0,0 +1,27 @@
+<template>
+	<view class="default_page" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
+		<cus-header title='专业支持'></cus-header>
+		<image style="width: 100%;" :src="imgBase+'support.png'" mode="widthFix" @click="handleTurn"></image>
+	</view>
+</template>
+
+<script>
+	export default {
+		data(){
+			return {
+				imgBase:this.$imgBase
+			}
+		},
+		methods:{
+			handleTurn(){
+				uni.navigateTo({
+					url:'/pages/webView?src=https://appyf7rnhyg7811.h5.xiaoeknow.com'
+				})
+			}
+		}
+	}
+</script>
+
+<style scoped lang="scss">
+	
+</style>

+ 23 - 0
pages/webView.vue

@@ -0,0 +1,23 @@
+<template>
+	<web-view :src="src" v-if="src"></web-view>
+</template>
+
+<script>
+	export default {
+		data(){
+			return {
+				src:''
+			}
+		},
+		onLoad(options) {
+			this.src = options.src;
+		},
+		methods:{
+			
+		}
+	}
+</script>
+
+<style scoped lang="less">
+	
+</style>