Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-06-09 23:10:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
007beb1d448eb0546e5f224d5c405a59645b9d28
007beb1d
1 parent
bb5a2e3d
🦄 refactor:
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
53 deletions
src/App.vue
src/router/routes/modules/client/action.js
src/views/client/privacyNotice.vue
src/views/client/verifyPage.vue
src/App.vue
View file @
007beb1
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-26 23:52:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-06-0
7 11:01
:34
* @LastEditTime: 2022-06-0
9 22:37
:34
* @FilePath: /tswj/src/App.vue
* @Description:
-->
...
...
@@ -15,7 +15,7 @@
</router-view>
</template>
<script setup
lang="ts"
>
<script setup>
import { mainStore, useTitle } from '@/utils/generatePackage'
import { computed, watchEffect } from 'vue';
import { useRoute } from 'vue-router'
...
...
@@ -28,17 +28,16 @@ import vConsole from '@/utils/vconsole'
const store = mainStore()
const keepPages = computed(() => store.getKeepPages)
// 设置页面标题
//
TAG: 全局
设置页面标题
const $route = useRoute();
watchEffect(
() => {
useTitle($route.meta.title)
}
() => useTitle($route.meta.title)
)
// TAG: 全局配置Toast
Toast.setDefaultOptions({
duration: 2000,
className: '
xx
x'
className: '
zInde
x'
});
</script>
...
...
@@ -78,7 +77,7 @@ body {
transform: translateY(-50%);
}
.
xx
x {
.
zInde
x {
z-index: 4500 !important;
}
</style>
...
...
src/router/routes/modules/client/action.js
View file @
007beb1
/*
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-25 18:09:09
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-06-09 23:04:12
* @FilePath: /tswj/src/router/routes/modules/client/action.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
const
action
=
[{
path
:
'/client/privacyNotice'
,
name
:
'客户端上传作品前须知'
,
...
...
@@ -7,14 +15,6 @@ const action = [{
},
children
:
[]
},
{
path
:
'/client/verifyPage'
,
name
:
'客户端上传作品/留言前实名认证'
,
component
:
()
=>
import
(
'@/views/client/verifyPage.vue'
),
meta
:
{
title
:
'实名认证'
},
children
:
[]
},
{
path
:
'/client/finishUpload'
,
name
:
'客户端上传作品成功跳转页面'
,
component
:
()
=>
import
(
'@/views/client/finishUpload.vue'
),
...
...
src/views/client/privacyNotice.vue
View file @
007beb1
...
...
@@ -11,7 +11,6 @@
<p>1、本次活动确保报名信息真实有效,包括手机联系方式、幼儿园名称、姓名等,以上信息仅用干短信验证、活动报备等环节。上海市儿童基金会、上海XX益基金会郑重承诺绝不会泄露用户信息给不相关方或用于商业目的。</p>
<p>2、免责申明:在活动过程中,组织方对参赛作品享有所有权,可用于主办方活动推广展示、媒体宣传、编辑出版等。视频创作者享有署名权。参加者一旦报名,即视为参加者(包括代他人报名者,被代报名参加者)已充分了解并自愿接受本免责条款,本免责条款自动生效。</p>
</div>
<div style="height: 5rem;" />
<div class="control-bar">
<div class="button">
<my-button type="plain" @on-click="disagree">不同意</my-button>
...
...
@@ -30,13 +29,11 @@
</template>
<script setup>
import graphical from '@/assets/images/graphical.png'
import Cookies from 'js-cookie'
import MyButton from '@/components/MyButton/index.vue'
import { ref } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import MuiVideo from '@/components/MuiVideo/index';
import { JSJ_FORM_C } from '@/constant'
const $route = useRoute();
...
...
@@ -47,7 +44,6 @@ const disagree = () => {
}
const show = ref(false); // 跳转等待提示
const agree = () => {
show.value = true;
Cookies.set('privacy_notice', '1');
...
...
@@ -81,7 +77,7 @@ const videoInfo = {
text-align: justify;
color: #231815;
font-size: 1.05rem;
margin-bottom: 5rem;
p {
padding-bottom: 1rem;
line-height: 1.75;
...
...
src/views/client/verifyPage.vue
deleted
100644 → 0
View file @
bb5a2e3
<template>
<div class="verify-page">
<p class="title">请录入真实的信息</p>
</div>
</template>
<script setup>
import { ref, reactive, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import axios from '@/utils/axios';
import $ from 'jquery'
import { Toast } from 'vant';
const $route = useRoute();
const $router = useRouter();
onMounted(() => {
})
</script>
<style lang="less" scoped>
.verify-page {
padding: 1rem;
.title {
text-align: center;
font-size: 1.25rem;
padding: 1rem 0;
color: #713610;
font-weight: bold;
}
}
</style>
Please
register
or
login
to post a comment