diff --git a/src/App.vue b/src/App.vue index f6104b5..3f52a5d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,40 +11,26 @@ import sl2 from './assets/s6.png' import sl3 from './assets/s7.png' import sl4 from './assets/s8.png' import { useRoute, useRouter } from 'vue-router' -// const route = useRoute() -// let routePath = ref(route.path) +const route = useRoute() +let routePath = ref(route.path) const router = useRouter() -let bt_data = reactive([{ btname: '优惠服务', imgurl: s1, simgurl: sl1 ,path:'/'}, { btname: '生活助手', imgurl: s2, simgurl: sl2 ,path:'/chat'}, { btname: '智能优推', imgurl: s3, simgurl: sl3,path:'/znyt' }, { btname: '大众点评', imgurl: s4, simgurl: sl4 ,path:'/comment'}]) +let bt_data = reactive([{ btname: '优惠服务', imgurl: s1, simgurl: sl1, path: '/' }, { btname: '生活助手', imgurl: s2, simgurl: sl2, path: '/chat' }, { btname: '智能优推', imgurl: s3, simgurl: sl3, path: '/znyt' }, { btname: '大众点评', imgurl: s4, simgurl: sl4, path: '/comment' }]) let selctdeNum = ref(0) -let clickNum = (num,path) => { +let clickNum = (num, path) => { selctdeNum.value = num + routePath.value = path router.push(path) } @@ -57,6 +43,7 @@ let clickNum = (num,path) => { .bottom { + z-index: 999; background-color: #fff !important; display: flex; align-items: center; @@ -65,8 +52,9 @@ let clickNum = (num,path) => { bottom: 0px; left: 0px; width: 100vw; - border: 1px solid red; + // border: 1px solid red; padding: 9px 0px; + .bt_itm { display: flex; flex-direction: column; diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 98d31b7..796eb56 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -30,6 +30,7 @@ round position="bottom" :style="{ height: '45%' }" + style="z-index: 10" > { map = new T.Map("mapDiv"); // map.setMapType(window.TMAP_SATELLITE_MAP); - map.centerAndZoom(new T.LngLat(121.88356,29.45144), 13); + map.centerAndZoom(new T.LngLat(121.88356, 29.45144), 13); control = new T.Control.Zoom(); //添加缩放平移控件 map.addControl(control); @@ -395,7 +396,7 @@ onMounted(() => { width: 100%; height: calc(100% - 102px); overflow: auto; - padding-bottom: 50px; + padding-bottom: 80px; .cardlist { background-color: #fff; padding: 14px 16px 0; diff --git a/src/views/IndexChat.vue b/src/views/IndexChat.vue index 11eaf6b..28fb464 100644 --- a/src/views/IndexChat.vue +++ b/src/views/IndexChat.vue @@ -162,14 +162,53 @@ -
+
{{ message.text }}
-
-
神经内科
-
预约
+
+
+
立即就诊
+
+
+
+
更多医生
+
+
+
+
+
+ 推荐指数:98 +
+
+
+ +
+
+ 白亮 + 主任医师 +
+
+ 象山县中医医院 +
+ 神经外科 +
+
+
剩余号源1
+
+
+
推荐理由:
+
离家近
+
主任医师
+
号源紧张
+ +
+ +
+
+
预约
+
@@ -218,7 +257,7 @@
- +
@@ -228,19 +267,23 @@