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-05-13 09:06:37 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
59da61f29de5f6f605c5669f4c797859a27c2323
59da61f2
1 parent
c4cb63ad
🌈 style: fix
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
23 deletions
src/App.vue
src/views/auth.vue
src/views/business/auditVideo.vue
src/views/business/index.vue
src/views/client/bookDetail.vue
src/views/index.vue
src/App.vue
View file @
59da61f
...
...
@@ -12,14 +12,7 @@
import Cookies from 'js-cookie'
import axios from '@/utils/axios'
import { useRoute, useRouter } from 'vue-router'
import { onMounted } from 'vue'
import { Toast } from 'vant'
// import _ from 'lodash';
import { mainStore } from './store';
const store = mainStore();
const $router = useRouter();
/**
* 获取默认儿童信息
...
...
src/views/auth.vue
View file @
59da61f
...
...
@@ -3,13 +3,10 @@
</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';
import { onMounted } from 'vue'
import { useRoute } from 'vue-router'
const $route = useRoute();
const $router = useRouter();
onMounted(() => {
// php需要先跳转链接获取openid
...
...
src/views/business/auditVideo.vue
View file @
59da61f
...
...
@@ -27,16 +27,12 @@
<script setup>
import BVideoCard from '@/components/BVideoCard/index.vue'
import { ref
, reactive, onMounted
} from 'vue'
import { ref } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import axios from '@/utils/axios';
import _ from 'lodash'
import { Toast } from 'vant';
const $route = useRoute();
const $router = useRouter();
const titleStyle = {
fontSize: '1rem'
}
...
...
@@ -55,7 +51,6 @@ const onReload = (v) => {
}
const active = ref(0)
let tabStatus = ref('PENDING')
const onClickTab = (v) => {
if (!v.name) {
...
...
src/views/business/index.vue
View file @
59da61f
...
...
@@ -58,7 +58,7 @@ import icon_book from '@images/shu@2x.png'
import BookCard from '@/components/BookCard/index.vue'
import ShortcutFixed from '@/components/ShortcutFixed/index.vue'
import { ref, reactive
, onMounted
} from 'vue'
import { ref, reactive } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import axios from '@/utils/axios';
import { Toast } from 'vant';
...
...
src/views/client/bookDetail.vue
View file @
59da61f
...
...
@@ -271,7 +271,7 @@ onActivated(() => { // keepAlive 重置后执行回调
* 判断微信环境
*/
if (wxInfo().isiOS || wxInfo().isAndroid) {
// T
ODO
: 手机微信浏览器位置变动了,需要手动调整位置,但是无刷新是起作用的
// T
AG
: 手机微信浏览器位置变动了,需要手动调整位置,但是无刷新是起作用的
const { scrollTop } = storeToRefs(store);
if (scrollTop.value) {
$("html,body").animate({ "scrollTop": scrollTop.value })
...
...
src/views/index.vue
View file @
59da61f
...
...
@@ -8,8 +8,7 @@
<script>
import mixin from 'common/mixin'
import { mainStore } from '@/store'
import { storeToRefs } from 'pinia'
export default {
mixins: [mixin.init],
data () {
...
...
Please
register
or
login
to post a comment