0320- 翻页动画改进前

This commit is contained in:
@fawn-nine
2023-03-20 10:03:51 +08:00
parent 8aabbd6bf5
commit 262f2cf743
2 changed files with 11 additions and 3 deletions

View File

@@ -75,6 +75,7 @@
<script>
import $http from '@/config/requestConfig.js';
// 引入翻页效果动画
import {
setPay,
setPayAssign

View File

@@ -149,7 +149,7 @@
}" @touchstart="touchStart" @touchend="touchEnd" @touchmove="touchMove" @touchcancel="touchcancel">
<!-- 章节名 -->
<view class="chapter">{{ curPage.chapterName }}
<uni-icons v-if="newchapterImgList && newchapterImgList.length > 0" id="showImgs" @click="showImgHandle" class="showImgs" type="images" size="20"></uni-icons>
<uni-icons v-if="newchapterImgList && newchapterImgList.length > 0" id="showImgs" @click="showImgHandle" color="#6aa84f" class="showImgs" type="images" size="20"></uni-icons>
</view>
<view class="content">
<view class="inner-box" :style="{ height: `${innerHeight}px` }" v-if="curPage.canRead">
@@ -770,7 +770,7 @@
}
)
this.newchapterImgList = arr3
console.log(this.newchapterImgList, 'newchapterImgList')
// console.log(this.newchapterImgList, 'newchapterImgList')
copyBookText = arr
// console.log(copyBookText,'copyBookText')
this.getSizePage(NumCol)
@@ -2805,7 +2805,14 @@
<style lang="scss" scoped>
@import url("@/pages/yRead/iconfont.css");
.showImgs{ float: right; padding-right: 3px;}
.showImgs{ float: right; padding-right: 3px; margin-right: 10px;
width: 30px; font-size: 15px;
border: 1px solid #6aa84f;
height: 30px;
line-height: 30px;
/* color: red; */
border-radius: 15px;}
.chapterImgTitle{display: block; ;color: #636363; text-align: center; font-size: 30rpx; margin: 10px 0;}
.scroll-view_H {
white-space: nowrap;