hookehuyr

🌈 style: fix

......@@ -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();
/**
* 获取默认儿童信息
......
......@@ -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
......
......@@ -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) {
......
......@@ -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';
......
......@@ -271,7 +271,7 @@ onActivated(() => { // keepAlive 重置后执行回调
* 判断微信环境
*/
if (wxInfo().isiOS || wxInfo().isAndroid) {
// TODO: 手机微信浏览器位置变动了,需要手动调整位置,但是无刷新是起作用的
// TAG: 手机微信浏览器位置变动了,需要手动调整位置,但是无刷新是起作用的
const { scrollTop } = storeToRefs(store);
if (scrollTop.value) {
$("html,body").animate({ "scrollTop": scrollTop.value })
......
......@@ -8,8 +8,7 @@
<script>
import mixin from 'common/mixin'
import { mainStore } from '@/store'
import { storeToRefs } from 'pinia'
export default {
mixins: [mixin.init],
data () {
......