hookehuyr

fix

......@@ -15,6 +15,7 @@
"publish": "npm run build && npm run rm && npm run mv && npm run git && npm run update"
},
"dependencies": {
"@vueuse/core": "^8.4.2",
"animate.css": "^4.1.1",
"html2canvas": "^1.4.1",
"jquery": "^3.6.0",
......
......@@ -46,7 +46,7 @@ const onUpload = (v) => {
show.value = true;
// x_field_1是金数据表单传入的参数,老师上传的格式为:user_id-book_id-perf_id,perf_id 为 0
let str = `${props.user_id}-${v.id}-0`;
location.href = `http://jsj.onwall.cn/f/g7D0MT?x_field_1=${str}`;
location.href = `https://jsj.onwall.cn/f/g7D0MT?x_field_1=${str}`;
// BUG: 关闭loading临时处理
setTimeout(() => {
show.value = false;
......
......@@ -5,8 +5,10 @@
<template v-if="kg_id">
<van-row align="center" justify="center" style="position: relative; top: 50%; transform: translateY(-50%);">
<van-col span="2">
<van-image round width="2rem" height="2rem" lazy-load :src="kgInfo.logo"
style="vertical-align: text-bottom;">
<van-image v-if="kgInfo.logo" round width="2rem" height="2rem" lazy-load :src="kgInfo.logo" style="vertical-align: text-bottom;">
<template v-slot:error>加载失败</template>
</van-image>
<van-image v-else round width="2rem" height="2rem" lazy-load :src="icon_avatar" style="vertical-align: text-bottom;">
<template v-slot:error>加载失败</template>
</van-image>
</van-col>
......@@ -49,6 +51,7 @@
import Cookies from 'js-cookie'
import no_image from '@images/que-shuju@2x.png'
import icon_avatar from '@images/que-logo@2x.png'
import MyButton from '@/components/MyButton/index.vue'
import BookCard from '@/components/BookCard/index.vue'
......@@ -56,7 +59,7 @@ import ShortcutFixed from '@/components/ShortcutFixed/index.vue'
import { bookFn } from '@/composables/useBookList.js'
import { ref, reactive } from 'vue'
import { ref, reactive, nextTick } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import _ from 'lodash'
import axios from '@/utils/axios';
......
......@@ -233,6 +233,27 @@
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.33.tgz#69a8c99ceb37c1b031d5cc4aec2ff1dc77e1161e"
integrity sha512-UBc1Pg1T3yZ97vsA2ueER0F6GbJebLHYlEi4ou1H5YL4KWvMOOWwpYo9/QpWq93wxKG6Wo13IY74Hcn/f7c7Bg==
"@vueuse/core@^8.4.2":
version "8.4.2"
resolved "https://registry.yarnpkg.com/@vueuse/core/-/core-8.4.2.tgz#e5be73f40394150e6a1b6abd59e5adb7c6bb6c1f"
integrity sha512-dUVU96lii1ZdWoNJXauQNt+4QrHz1DKbuW+y6pDR2N10q7rGZJMDU7pQeMcC2XeosX7kMODfaBuqsF03NozzLg==
dependencies:
"@vueuse/metadata" "8.4.2"
"@vueuse/shared" "8.4.2"
vue-demi "*"
"@vueuse/metadata@8.4.2":
version "8.4.2"
resolved "https://registry.yarnpkg.com/@vueuse/metadata/-/metadata-8.4.2.tgz#b33e6b7bd5ca69e3f24ea41b149267118bcd566f"
integrity sha512-2BIj++7P0/I5dfMsEe8q7Kw0HqVAjVcyNOd9+G22/ILUC9TVLTeYOuJ1kwa1Gpr+0LWKHc6GqHiLWNL33+exoQ==
"@vueuse/shared@8.4.2":
version "8.4.2"
resolved "https://registry.yarnpkg.com/@vueuse/shared/-/shared-8.4.2.tgz#5900f06ff78bd8b6df4cbf48f8ca82dd6d9747d1"
integrity sha512-hILXMEjL8YQhj1LHN/HZ49UThyfk8irTjhele2nW+L3N55ElFUBGB/f4w0rg8EW+/suhqv7kJJPTZzvHCqxlIw==
dependencies:
vue-demi "*"
animate.css@^4.1.1:
version "4.1.1"
resolved "https://registry.npmjs.org/animate.css/-/animate.css-4.1.1.tgz"
......