hookehuyr

fix

...@@ -122,7 +122,7 @@ import icon_unsubscribe from '@images/icon-dingyue02@2x.png' ...@@ -122,7 +122,7 @@ import icon_unsubscribe from '@images/icon-dingyue02@2x.png'
122 122
123 import ShortcutFixed from '@/components/ShortcutFixed/index.vue' 123 import ShortcutFixed from '@/components/ShortcutFixed/index.vue'
124 import tools from '@/common/tool' 124 import tools from '@/common/tool'
125 -import { ref, reactive, onMounted, nextTick, onActivated, triggerRef } from 'vue' 125 +import { ref, nextTick, onActivated } from 'vue'
126 import { useRoute, useRouter, onBeforeRouteLeave } from 'vue-router' 126 import { useRoute, useRouter, onBeforeRouteLeave } from 'vue-router'
127 import axios from '@/utils/axios'; 127 import axios from '@/utils/axios';
128 import $ from 'jquery' 128 import $ from 'jquery'
......
...@@ -3,11 +3,17 @@ ...@@ -3,11 +3,17 @@
3 <div class="modify-top"></div> 3 <div class="modify-top"></div>
4 <div class="belong-school"> 4 <div class="belong-school">
5 <template v-if="kg_id"> 5 <template v-if="kg_id">
6 - <van-image round width="2rem" height="2rem" lazy-load :src="kgInfo.logo" 6 + <van-row align="center" justify="center" style="position: relative; top: 50%; transform: translateY(-50%);">
7 - style="vertical-align: text-bottom;"> 7 + <van-col span="2">
8 - <template v-slot:error>加载失败</template> 8 + <van-image round width="2rem" height="2rem" lazy-load :src="kgInfo.logo"
9 - </van-image> 9 + style="vertical-align: text-bottom;">
10 - <p class="title">{{ kgInfo.name }}</p> 10 + <template v-slot:error>加载失败</template>
11 + </van-image>
12 + </van-col>
13 + <van-col span="22">
14 + <p class="title">{{ kgInfo.name }}</p>
15 + </van-col>
16 + </van-row>
11 </template> 17 </template>
12 </div> 18 </div>
13 <div style="position: relative;"> 19 <div style="position: relative;">
...@@ -139,7 +145,7 @@ export default { ...@@ -139,7 +145,7 @@ export default {
139 .choose-book-page { 145 .choose-book-page {
140 .belong-school { 146 .belong-school {
141 padding: 1.5rem; 147 padding: 1.5rem;
142 - 148 + height: 3rem;
143 .title { 149 .title {
144 color: #222222; 150 color: #222222;
145 display: inline-block; 151 display: inline-block;
......
...@@ -29,10 +29,8 @@ import DonateBook from '@/components/DonateBook/index.vue' ...@@ -29,10 +29,8 @@ import DonateBook from '@/components/DonateBook/index.vue'
29 29
30 import { useDefaultPerf } from '@/composables/useDefaultPerf.js' 30 import { useDefaultPerf } from '@/composables/useDefaultPerf.js'
31 31
32 -import { ref, reactive, onMounted } from 'vue' 32 +import { ref } from 'vue'
33 import { useRoute, useRouter } from 'vue-router' 33 import { useRoute, useRouter } from 'vue-router'
34 -import axios from '@/utils/axios';
35 -import $ from 'jquery'
36 import { Toast } from 'vant'; 34 import { Toast } from 'vant';
37 const $route = useRoute(); 35 const $route = useRoute();
38 const $router = useRouter(); 36 const $router = useRouter();
...@@ -66,11 +64,6 @@ const goBack = () => { ...@@ -66,11 +64,6 @@ const goBack = () => {
66 } 64 }
67 }) 65 })
68 } 66 }
69 -
70 -
71 -onMounted(() => {
72 -
73 -})
74 </script> 67 </script>
75 68
76 <script> 69 <script>
......