hookehuyr

爱心助力模块显示文字调整

...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Author: hookehuyr hookehuyr@gmail.com 2 * @Author: hookehuyr hookehuyr@gmail.com
3 * @Date: 2022-05-21 09:35:14 3 * @Date: 2022-05-21 09:35:14
4 * @LastEditors: hookehuyr hookehuyr@gmail.com 4 * @LastEditors: hookehuyr hookehuyr@gmail.com
5 - * @LastEditTime: 2022-07-12 14:35:22 5 + * @LastEditTime: 2022-07-26 13:09:53
6 * @FilePath: /tswj/src/views/client/bookDetail.vue 6 * @FilePath: /tswj/src/views/client/bookDetail.vue
7 * @Description: 7 * @Description:
8 --> 8 -->
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
102 <my-button type="plain" @on-click="uploadVideo">上传作品</my-button> 102 <my-button type="plain" @on-click="uploadVideo">上传作品</my-button>
103 </div> 103 </div>
104 <div class="button"> 104 <div class="button">
105 - <my-button type="primary" @on-click="showDonate=true">爱心助力</my-button> 105 + <my-button type="primary" @on-click="showDonate=true">为活动助力</my-button>
106 </div> 106 </div>
107 </div> 107 </div>
108 <shortcut-fixed :type="USER_ROLE.CLIENT" :item="['home', 'me']" :custom-style="customStyle" /> 108 <shortcut-fixed :type="USER_ROLE.CLIENT" :item="['home', 'me']" :custom-style="customStyle" />
...@@ -153,7 +153,7 @@ const onClickLocalism = () => { ...@@ -153,7 +153,7 @@ const onClickLocalism = () => {
153 customBarStyle.value.zIndex = 0 153 customBarStyle.value.zIndex = 0
154 } 154 }
155 const customStyle = ref({ 155 const customStyle = ref({
156 - bottom: '8rem' 156 + bottom: '10rem'
157 }) 157 })
158 158
159 const donateInfo = ref({}) 159 const donateInfo = ref({})
...@@ -196,7 +196,7 @@ window.onscroll = function () { ...@@ -196,7 +196,7 @@ window.onscroll = function () {
196 const height2 = scrollTop + windowHeight - 1; // 手机上微信高度少了1px 196 const height2 = scrollTop + windowHeight - 1; // 手机上微信高度少了1px
197 if (parseInt(height1) === scrollHeight || parseInt(height2) === scrollHeight){ 197 if (parseInt(height1) === scrollHeight || parseInt(height2) === scrollHeight){
198 // console.warn("距顶部"+scrollTop+"可视区高度"+windowHeight+"滚动条总高度"+scrollHeight); 198 // console.warn("距顶部"+scrollTop+"可视区高度"+windowHeight+"滚动条总高度"+scrollHeight);
199 - customStyle.value.bottom = '35%' 199 + customStyle.value.bottom = '40%'
200 } else { 200 } else {
201 customStyle.value.bottom = '8rem' 201 customStyle.value.bottom = '8rem'
202 } 202 }
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
48 <van-empty v-if="emptyStatus" class="custom-image" :image="no_image" description="暂无书籍信息" /> 48 <van-empty v-if="emptyStatus" class="custom-image" :image="no_image" description="暂无书籍信息" />
49 </div> 49 </div>
50 <div style="height: 5rem" /> 50 <div style="height: 5rem" />
51 - <donate-bar :kg-id="kg_id">爱心助力</donate-bar> 51 + <donate-bar :kg-id="kg_id">为幼儿园助力</donate-bar>
52 <shortcut-fixed :type="USER_ROLE.CLIENT" :item="shortcutItem" :custom-style="customStyle" /> 52 <shortcut-fixed :type="USER_ROLE.CLIENT" :item="shortcutItem" :custom-style="customStyle" />
53 </div> 53 </div>
54 </template> 54 </template>
......