hookehuyr

🦄 refactor:

...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Author: hookehuyr hookehuyr@gmail.com 2 * @Author: hookehuyr hookehuyr@gmail.com
3 * @Date: 2022-05-26 23:52:36 3 * @Date: 2022-05-26 23:52:36
4 * @LastEditors: hookehuyr hookehuyr@gmail.com 4 * @LastEditors: hookehuyr hookehuyr@gmail.com
5 - * @LastEditTime: 2022-06-07 11:01:34 5 + * @LastEditTime: 2022-06-09 22:37:34
6 * @FilePath: /tswj/src/App.vue 6 * @FilePath: /tswj/src/App.vue
7 * @Description: 7 * @Description:
8 --> 8 -->
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
15 </router-view> 15 </router-view>
16 </template> 16 </template>
17 17
18 -<script setup lang="ts"> 18 +<script setup>
19 import { mainStore, useTitle } from '@/utils/generatePackage' 19 import { mainStore, useTitle } from '@/utils/generatePackage'
20 import { computed, watchEffect } from 'vue'; 20 import { computed, watchEffect } from 'vue';
21 import { useRoute } from 'vue-router' 21 import { useRoute } from 'vue-router'
...@@ -28,17 +28,16 @@ import vConsole from '@/utils/vconsole' ...@@ -28,17 +28,16 @@ import vConsole from '@/utils/vconsole'
28 const store = mainStore() 28 const store = mainStore()
29 const keepPages = computed(() => store.getKeepPages) 29 const keepPages = computed(() => store.getKeepPages)
30 30
31 -// 设置页面标题 31 +// TAG: 全局设置页面标题
32 const $route = useRoute(); 32 const $route = useRoute();
33 watchEffect( 33 watchEffect(
34 - () => { 34 + () => useTitle($route.meta.title)
35 - useTitle($route.meta.title)
36 - }
37 ) 35 )
38 36
37 +// TAG: 全局配置Toast
39 Toast.setDefaultOptions({ 38 Toast.setDefaultOptions({
40 duration: 2000, 39 duration: 2000,
41 - className: 'xxx' 40 + className: 'zIndex'
42 }); 41 });
43 42
44 </script> 43 </script>
...@@ -78,7 +77,7 @@ body { ...@@ -78,7 +77,7 @@ body {
78 transform: translateY(-50%); 77 transform: translateY(-50%);
79 } 78 }
80 79
81 -.xxx { 80 +.zIndex {
82 z-index: 4500 !important; 81 z-index: 4500 !important;
83 } 82 }
84 </style> 83 </style>
......
1 +/*
2 + * @Author: hookehuyr hookehuyr@gmail.com
3 + * @Date: 2022-05-25 18:09:09
4 + * @LastEditors: hookehuyr hookehuyr@gmail.com
5 + * @LastEditTime: 2022-06-09 23:04:12
6 + * @FilePath: /tswj/src/router/routes/modules/client/action.js
7 + * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8 + */
1 const action = [{ 9 const action = [{
2 path: '/client/privacyNotice', 10 path: '/client/privacyNotice',
3 name: '客户端上传作品前须知', 11 name: '客户端上传作品前须知',
...@@ -7,14 +15,6 @@ const action = [{ ...@@ -7,14 +15,6 @@ const action = [{
7 }, 15 },
8 children: [] 16 children: []
9 }, { 17 }, {
10 - path: '/client/verifyPage',
11 - name: '客户端上传作品/留言前实名认证',
12 - component: () => import('@/views/client/verifyPage.vue'),
13 - meta: {
14 - title: '实名认证'
15 - },
16 - children: []
17 -}, {
18 path: '/client/finishUpload', 18 path: '/client/finishUpload',
19 name: '客户端上传作品成功跳转页面', 19 name: '客户端上传作品成功跳转页面',
20 component: () => import('@/views/client/finishUpload.vue'), 20 component: () => import('@/views/client/finishUpload.vue'),
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
11 <p>1、本次活动确保报名信息真实有效,包括手机联系方式、幼儿园名称、姓名等,以上信息仅用干短信验证、活动报备等环节。上海市儿童基金会、上海XX益基金会郑重承诺绝不会泄露用户信息给不相关方或用于商业目的。</p> 11 <p>1、本次活动确保报名信息真实有效,包括手机联系方式、幼儿园名称、姓名等,以上信息仅用干短信验证、活动报备等环节。上海市儿童基金会、上海XX益基金会郑重承诺绝不会泄露用户信息给不相关方或用于商业目的。</p>
12 <p>2、免责申明:在活动过程中,组织方对参赛作品享有所有权,可用于主办方活动推广展示、媒体宣传、编辑出版等。视频创作者享有署名权。参加者一旦报名,即视为参加者(包括代他人报名者,被代报名参加者)已充分了解并自愿接受本免责条款,本免责条款自动生效。</p> 12 <p>2、免责申明:在活动过程中,组织方对参赛作品享有所有权,可用于主办方活动推广展示、媒体宣传、编辑出版等。视频创作者享有署名权。参加者一旦报名,即视为参加者(包括代他人报名者,被代报名参加者)已充分了解并自愿接受本免责条款,本免责条款自动生效。</p>
13 </div> 13 </div>
14 - <div style="height: 5rem;" />
15 <div class="control-bar"> 14 <div class="control-bar">
16 <div class="button"> 15 <div class="button">
17 <my-button type="plain" @on-click="disagree">不同意</my-button> 16 <my-button type="plain" @on-click="disagree">不同意</my-button>
...@@ -30,13 +29,11 @@ ...@@ -30,13 +29,11 @@
30 </template> 29 </template>
31 30
32 <script setup> 31 <script setup>
33 -import graphical from '@/assets/images/graphical.png'
34 import Cookies from 'js-cookie' 32 import Cookies from 'js-cookie'
35 import MyButton from '@/components/MyButton/index.vue' 33 import MyButton from '@/components/MyButton/index.vue'
36 import { ref } from 'vue' 34 import { ref } from 'vue'
37 import { useRoute, useRouter } from 'vue-router' 35 import { useRoute, useRouter } from 'vue-router'
38 import MuiVideo from '@/components/MuiVideo/index'; 36 import MuiVideo from '@/components/MuiVideo/index';
39 -
40 import { JSJ_FORM_C } from '@/constant' 37 import { JSJ_FORM_C } from '@/constant'
41 38
42 const $route = useRoute(); 39 const $route = useRoute();
...@@ -47,7 +44,6 @@ const disagree = () => { ...@@ -47,7 +44,6 @@ const disagree = () => {
47 } 44 }
48 45
49 const show = ref(false); // 跳转等待提示 46 const show = ref(false); // 跳转等待提示
50 -
51 const agree = () => { 47 const agree = () => {
52 show.value = true; 48 show.value = true;
53 Cookies.set('privacy_notice', '1'); 49 Cookies.set('privacy_notice', '1');
...@@ -81,7 +77,7 @@ const videoInfo = { ...@@ -81,7 +77,7 @@ const videoInfo = {
81 text-align: justify; 77 text-align: justify;
82 color: #231815; 78 color: #231815;
83 font-size: 1.05rem; 79 font-size: 1.05rem;
84 - 80 + margin-bottom: 5rem;
85 p { 81 p {
86 padding-bottom: 1rem; 82 padding-bottom: 1rem;
87 line-height: 1.75; 83 line-height: 1.75;
......
1 -<template>
2 - <div class="verify-page">
3 - <p class="title">请录入真实的信息</p>
4 - </div>
5 -</template>
6 -
7 -<script setup>
8 -import { ref, reactive, onMounted } from 'vue'
9 -import { useRoute, useRouter } from 'vue-router'
10 -import axios from '@/utils/axios';
11 -import $ from 'jquery'
12 -import { Toast } from 'vant';
13 -const $route = useRoute();
14 -const $router = useRouter();
15 -
16 - onMounted(() => {
17 -
18 - })
19 -</script>
20 -
21 -<style lang="less" scoped>
22 -.verify-page {
23 - padding: 1rem;
24 - .title {
25 - text-align: center;
26 - font-size: 1.25rem;
27 - padding: 1rem 0;
28 - color: #713610;
29 - font-weight: bold;
30 - }
31 -}
32 -</style>