Showing
2 changed files
with
8 additions
and
22 deletions
| ... | @@ -48,6 +48,8 @@ | ... | @@ -48,6 +48,8 @@ |
| 48 | </template> | 48 | </template> |
| 49 | 49 | ||
| 50 | <script setup> | 50 | <script setup> |
| 51 | +import { useTitle } from '@vueuse/core' | ||
| 52 | + | ||
| 51 | import Cookies from 'js-cookie' | 53 | import Cookies from 'js-cookie' |
| 52 | 54 | ||
| 53 | import no_image from '@images/que-shuju@2x.png' | 55 | import no_image from '@images/que-shuju@2x.png' |
| ... | @@ -63,11 +65,14 @@ import { ref, reactive, nextTick } from 'vue' | ... | @@ -63,11 +65,14 @@ import { ref, reactive, nextTick } from 'vue' |
| 63 | import { useRoute, useRouter } from 'vue-router' | 65 | import { useRoute, useRouter } from 'vue-router' |
| 64 | import _ from 'lodash' | 66 | import _ from 'lodash' |
| 65 | import axios from '@/utils/axios'; | 67 | import axios from '@/utils/axios'; |
| 66 | -import { Toast } from 'vant'; | 68 | +import { Toast } from 'vant' |
| 67 | 69 | ||
| 68 | const $route = useRoute(); | 70 | const $route = useRoute(); |
| 69 | const $router = useRouter(); | 71 | const $router = useRouter(); |
| 70 | 72 | ||
| 73 | +// 设置页面标题 | ||
| 74 | +useTitle($route.meta.title) | ||
| 75 | + | ||
| 71 | const { kg_id, kgInfo } = bookFn($route) | 76 | const { kg_id, kgInfo } = bookFn($route) |
| 72 | 77 | ||
| 73 | // 配置快捷跳转条 | 78 | // 配置快捷跳转条 |
| ... | @@ -121,25 +126,6 @@ const onClick = (item) => { | ... | @@ -121,25 +126,6 @@ const onClick = (item) => { |
| 121 | } | 126 | } |
| 122 | </script> | 127 | </script> |
| 123 | 128 | ||
| 124 | -<script> | ||
| 125 | -import mixin from 'common/mixin'; | ||
| 126 | - | ||
| 127 | -export default { | ||
| 128 | - mixins: [mixin.init], | ||
| 129 | - data() { | ||
| 130 | - return { | ||
| 131 | - | ||
| 132 | - } | ||
| 133 | - }, | ||
| 134 | - mounted() { | ||
| 135 | - | ||
| 136 | - }, | ||
| 137 | - methods: { | ||
| 138 | - | ||
| 139 | - } | ||
| 140 | -} | ||
| 141 | -</script> | ||
| 142 | - | ||
| 143 | <style lang="less" scoped> | 129 | <style lang="less" scoped> |
| 144 | @import url('@css/content-bg.less'); | 130 | @import url('@css/content-bg.less'); |
| 145 | :global(.custom-image .van-empty__image) { | 131 | :global(.custom-image .van-empty__image) { | ... | ... |
| ... | @@ -8,14 +8,14 @@ | ... | @@ -8,14 +8,14 @@ |
| 8 | </div> | 8 | </div> |
| 9 | <div class="entry-wrapper"> | 9 | <div class="entry-wrapper"> |
| 10 | <!-- TEMP:临时取消授权,正式需要删除 --> | 10 | <!-- TEMP:临时取消授权,正式需要删除 --> |
| 11 | - <div @click="cancelAuth">取消授权</div> | 11 | + <!-- <div @click="cancelAuth">取消授权</div> --> |
| 12 | <p class="text">请选择您的身份</p> | 12 | <p class="text">请选择您的身份</p> |
| 13 | <div class="control"> | 13 | <div class="control"> |
| 14 | <div class="plain"> | 14 | <div class="plain"> |
| 15 | <my-button type="custom" :custom-style="styleObject1" @on-click="goVisit">访客</my-button> | 15 | <my-button type="custom" :custom-style="styleObject1" @on-click="goVisit">访客</my-button> |
| 16 | </div> | 16 | </div> |
| 17 | <div class="primary"> | 17 | <div class="primary"> |
| 18 | - <my-button type="custom" :custom-style="styleObject2" @on-click="goSchool">我有所属幼儿园</my-button> | 18 | + <my-button type="custom" :custom-style="styleObject2" @on-click="goSchool">选择我的幼儿园</my-button> |
| 19 | </div> | 19 | </div> |
| 20 | </div> | 20 | </div> |
| 21 | </div> | 21 | </div> | ... | ... |
-
Please register or login to post a comment