diff --git a/src/pages/index/home/index.vue b/src/pages/index/home/index.vue index b622afa..b82b7e0 100755 --- a/src/pages/index/home/index.vue +++ b/src/pages/index/home/index.vue @@ -91,23 +91,11 @@ import { onShow } from '@dcloudio/uni-app' import Order from '../order/index.vue' -const { $Router, $api, $store } = getCurrentInstance().proxy +const { $Router, $api, $store, $dialog } = getCurrentInstance().proxy const userRole = computed(() => $store.user.userInfo.roleName ?? 'simple') const isLogin = computed(() => !!$store.user.token) const searchVal = ref('') const swiperList = ref([]) -// { -// images: 'https://cdn.uviewui.com/uview/swiper/1.jpg', -// title: '昨夜西风凋碧树' -// }, -// { -// images: 'https://cdn.uviewui.com/uview/swiper/2.jpg', -// title: '行色匆匆' -// }, -// { -// images: 'https://cdn.uviewui.com/uview/swiper/3.jpg', -// title: '更上一层楼' -// } // 半天陪诊 全天陪诊 遵享服务 代办约号 取送报告 代取送药 上门检测护理 在线咨询 const gridList = ref([ { @@ -175,7 +163,7 @@ const gridList = ref([ title: '成为陪诊师', // icon: '/personal/qiehuan.png', iconPath: 'https://pei-zhen.oss-cn-shanghai.aliyuncs.com/h-icon-11.png', - path: '' + path: '/pages/other/switch' } ])