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-07-26 13:11:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c3371cc90553463b074a53677f420fd3eae23018
c3371cc9
1 parent
284fe770
爱心助力模块显示文字调整
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
src/views/client/bookDetail.vue
src/views/client/chooseBook.vue
src/views/client/bookDetail.vue
View file @
c3371cc
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-21 09:35:14
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-07-
12 14:35:22
* @LastEditTime: 2022-07-
26 13:09:53
* @FilePath: /tswj/src/views/client/bookDetail.vue
* @Description:
-->
...
...
@@ -102,7 +102,7 @@
<my-button type="plain" @on-click="uploadVideo">上传作品</my-button>
</div>
<div class="button">
<my-button type="primary" @on-click="showDonate=true">
爱心
助力</my-button>
<my-button type="primary" @on-click="showDonate=true">
为活动
助力</my-button>
</div>
</div>
<shortcut-fixed :type="USER_ROLE.CLIENT" :item="['home', 'me']" :custom-style="customStyle" />
...
...
@@ -153,7 +153,7 @@ const onClickLocalism = () => {
customBarStyle.value.zIndex = 0
}
const customStyle = ref({
bottom: '
8
rem'
bottom: '
10
rem'
})
const donateInfo = ref({})
...
...
@@ -196,7 +196,7 @@ window.onscroll = function () {
const height2 = scrollTop + windowHeight - 1; // 手机上微信高度少了1px
if (parseInt(height1) === scrollHeight || parseInt(height2) === scrollHeight){
// console.warn("距顶部"+scrollTop+"可视区高度"+windowHeight+"滚动条总高度"+scrollHeight);
customStyle.value.bottom = '
35
%'
customStyle.value.bottom = '
40
%'
} else {
customStyle.value.bottom = '8rem'
}
...
...
@@ -226,7 +226,7 @@ const onSubscribe = async () => {
const showDonate = ref(false);
/*******************************************/
// 校验用户状态判断条件
// 校验用户状态判断条件
const userStatusPass = status => status === USER_STATUS.PASS
const userStatusNoPass = status => status !== USER_STATUS.PASS
const userStatusNonVerified = status => status === USER_STATUS.NON_VERIFIED
...
...
src/views/client/chooseBook.vue
View file @
c3371cc
...
...
@@ -48,7 +48,7 @@
<van-empty v-if="emptyStatus" class="custom-image" :image="no_image" description="暂无书籍信息" />
</div>
<div style="height: 5rem" />
<donate-bar :kg-id="kg_id">
爱心
助力</donate-bar>
<donate-bar :kg-id="kg_id">
为幼儿园
助力</donate-bar>
<shortcut-fixed :type="USER_ROLE.CLIENT" :item="shortcutItem" :custom-style="customStyle" />
</div>
</template>
...
...
Please
register
or
login
to post a comment