优化
@ -7,14 +7,14 @@
|
|||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
"safearea" : {
|
"safearea" : {
|
||||||
//安全区域配置,仅ioS平台生效
|
//安全区域配置,仅ioS平台生效
|
||||||
"background" : "#F5F6F9", //安全区域外的背景颜色,默认值为"#FFFFFF"
|
"background" : "#F5F6F9", //安全区域外的背景颜色,默认值为"#FFFFFF"
|
||||||
"bottom" : {
|
"bottom" : {
|
||||||
// 底部安全区域配置
|
// 底部安全区域配置
|
||||||
"offset" : "none|auto" // 底部安全区域偏移,"none"表示不空出安全区域,"auto"自动计算空出安全区域,默认值为"none"
|
"offset" : "none|auto" // 底部安全区域偏移,"none"表示不空出安全区域,"auto"自动计算空出安全区域,默认值为"none"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"usingComponents" : true,
|
"usingComponents" : true,
|
||||||
"nvueStyleCompiler" : "uni-app",
|
"nvueStyleCompiler" : "uni-app",
|
||||||
"compilerVersion" : 3,
|
"compilerVersion" : 3,
|
||||||
@ -51,7 +51,39 @@
|
|||||||
/* ios打包配置 */
|
/* ios打包配置 */
|
||||||
"ios" : {},
|
"ios" : {},
|
||||||
/* SDK配置 */
|
/* SDK配置 */
|
||||||
"sdkConfigs" : {}
|
"sdkConfigs" : {},
|
||||||
|
"icons" : {
|
||||||
|
"android" : {
|
||||||
|
"hdpi" : "static/app_logo.png",
|
||||||
|
"xhdpi" : "static/app_logo.png",
|
||||||
|
"xxhdpi" : "static/app_logo.png",
|
||||||
|
"xxxhdpi" : "static/app_logo.png"
|
||||||
|
},
|
||||||
|
"ios" : {
|
||||||
|
"appstore" : "static/app_logo.png",
|
||||||
|
"iphone" : {
|
||||||
|
"app@2x" : "static/app_logo.png",
|
||||||
|
"app@3x" : "static/app_logo.png",
|
||||||
|
"spotlight@2x" : "static/app_logo.png",
|
||||||
|
"spotlight@3x" : "static/app_logo.png",
|
||||||
|
"settings@2x" : "static/app_logo.png",
|
||||||
|
"settings@3x" : "static/app_logo.png",
|
||||||
|
"notification@2x" : "static/app_logo.png",
|
||||||
|
"notification@3x" : "static/app_logo.png"
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"app" : "static/app_logo.png",
|
||||||
|
"app@2x" : "static/app_logo.png",
|
||||||
|
"proapp@2x" : "static/app_logo.png",
|
||||||
|
"spotlight" : "static/app_logo.png",
|
||||||
|
"spotlight@2x" : "static/app_logo.png",
|
||||||
|
"settings" : "static/app_logo.png",
|
||||||
|
"settings@2x" : "static/app_logo.png",
|
||||||
|
"notification@2x" : "static/app_logo.png",
|
||||||
|
"notification" : "static/app_logo.png"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/* 快应用特有相关 */
|
/* 快应用特有相关 */
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<view class="bookCity_content_body">
|
<view class="bookCity_content_body">
|
||||||
<scroll-view scroll-y="true" class="scroll_y">
|
<scroll-view scroll-y="true" class="scroll_y">
|
||||||
<view class="scroll_y_item">
|
<view class="scroll_y_item">
|
||||||
<Home v-if="navBarActive == '1'" />
|
<Home v-if="navBarActive == '1'" ref="bookCityHome" />
|
||||||
<Member v-if="navBarActive == '2'" />
|
<Member v-if="navBarActive == '2'" />
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
@ -44,6 +44,11 @@
|
|||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.$refs.bookCityHome.isGetIndex()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handelCommNavBar(event) {
|
handelCommNavBar(event) {
|
||||||
|
@ -130,51 +130,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
uni.showLoading({
|
|
||||||
title: '加载中...'
|
|
||||||
});
|
|
||||||
// 也可以直接通过uni.$u.post发出请求,注意此处需要写上接口地址
|
|
||||||
const parameter = {
|
|
||||||
custom: {
|
|
||||||
token: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
uni.$u.http.post('/Index', {}, parameter).then((res) => {
|
|
||||||
uni.hideLoading();
|
|
||||||
if (res.status == 1) {
|
|
||||||
const {
|
|
||||||
ads,
|
|
||||||
module1,
|
|
||||||
charts1,
|
|
||||||
charts2,
|
|
||||||
charts3,
|
|
||||||
charts4,
|
|
||||||
module3,
|
|
||||||
module4,
|
|
||||||
module5,
|
|
||||||
module6
|
|
||||||
} = res.data;
|
|
||||||
|
|
||||||
this.swiperList = baseUrlImage(ads);
|
|
||||||
this.explosiveDataList = baseUrlImage(module1);
|
|
||||||
this.explosiveDataList = baseUrlImage(module1);
|
|
||||||
const rankingDataObj = {
|
|
||||||
'1': baseUrlImage(charts1),
|
|
||||||
'2': baseUrlImage(charts2),
|
|
||||||
'3': baseUrlImage(charts3),
|
|
||||||
'4': baseUrlImage(charts4)
|
|
||||||
}
|
|
||||||
this.rankingDataList = rankingDataObj[this.headerListActive];
|
|
||||||
this.rankingDataObj = rankingDataObj;
|
|
||||||
this.popularityDataList = baseUrlImage(module3);
|
|
||||||
this.originalDataList = baseUrlImage(module4);
|
|
||||||
this.recommendDataList = baseUrlImage(module5);
|
|
||||||
this.moreBooksList = baseUrlImage(module6);
|
|
||||||
}
|
|
||||||
}).catch((err) => {
|
|
||||||
uni.hideLoading();
|
|
||||||
console.log(err, "========")
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
toGridItemPath(row) {
|
toGridItemPath(row) {
|
||||||
@ -188,6 +144,53 @@
|
|||||||
const id = event.currentTarget.dataset.id;
|
const id = event.currentTarget.dataset.id;
|
||||||
this.headerListActive = id;
|
this.headerListActive = id;
|
||||||
this.rankingDataList = this.rankingDataObj[id];
|
this.rankingDataList = this.rankingDataObj[id];
|
||||||
|
},
|
||||||
|
isGetIndex() {
|
||||||
|
uni.showLoading({
|
||||||
|
title: '加载中...'
|
||||||
|
});
|
||||||
|
// 也可以直接通过uni.$u.post发出请求,注意此处需要写上接口地址
|
||||||
|
const parameter = {
|
||||||
|
custom: {
|
||||||
|
token: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
uni.$u.http.post('/Index', {}, parameter).then((res) => {
|
||||||
|
uni.hideLoading();
|
||||||
|
if (res.status == 1) {
|
||||||
|
const {
|
||||||
|
ads,
|
||||||
|
module1,
|
||||||
|
charts1,
|
||||||
|
charts2,
|
||||||
|
charts3,
|
||||||
|
charts4,
|
||||||
|
module3,
|
||||||
|
module4,
|
||||||
|
module5,
|
||||||
|
module6
|
||||||
|
} = res.data;
|
||||||
|
|
||||||
|
this.swiperList = baseUrlImage(ads);
|
||||||
|
this.explosiveDataList = baseUrlImage(module1);
|
||||||
|
this.explosiveDataList = baseUrlImage(module1);
|
||||||
|
const rankingDataObj = {
|
||||||
|
'1': baseUrlImage(charts1),
|
||||||
|
'2': baseUrlImage(charts2),
|
||||||
|
'3': baseUrlImage(charts3),
|
||||||
|
'4': baseUrlImage(charts4)
|
||||||
|
}
|
||||||
|
this.rankingDataList = rankingDataObj[this.headerListActive];
|
||||||
|
this.rankingDataObj = rankingDataObj;
|
||||||
|
this.popularityDataList = baseUrlImage(module3);
|
||||||
|
this.originalDataList = baseUrlImage(module4);
|
||||||
|
this.recommendDataList = baseUrlImage(module5);
|
||||||
|
this.moreBooksList = baseUrlImage(module6);
|
||||||
|
}
|
||||||
|
}).catch((err) => {
|
||||||
|
uni.hideLoading();
|
||||||
|
console.log(err, "========")
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
删除
|
删除
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="_swipe_action_box" @longpress="swipeActionLongpress(m)" v-for="m in bookshelfList"
|
<!-- <view class="_swipe_action_box" @longpress="swipeActionLongpress(m)" v-for="m in bookshelfList"
|
||||||
:key="m.id">
|
:key="m.id">
|
||||||
<fui-swipe-action @click="onClick">
|
<fui-swipe-action @click="onClick">
|
||||||
<view class="_swipe_action_box_book_image">
|
<view class="_swipe_action_box_book_image">
|
||||||
@ -97,12 +97,15 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="bookshelf_checked_all_del" v-if="swipeActionBatch" @tap="checkedAllDel">
|
<u-popup :show="swipeActionBatch" mode="bottom" :overlay="false" bgColor="transparent" zIndex="999"
|
||||||
<view class="_all_del_button">
|
:safeAreaInsetBottom="false">
|
||||||
<image v-if="booksIds.length" class="is_image" src="/static/images/bookshelf/del_all.png" />
|
<view class="bookshelf_checked_all_del" @tap="checkedAllDel">
|
||||||
<image v-else class="is_image" src="/static/images/bookshelf/del_all_checked.png"></image>
|
<view class="_all_del_button">
|
||||||
|
<image v-if="booksIds.length" class="is_image" src="/static/images/bookshelf/del_all.png" />
|
||||||
|
<image v-else class="is_image" src="/static/images/bookshelf/del_all_checked.png"></image>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</u-popup>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -184,6 +187,9 @@
|
|||||||
},
|
},
|
||||||
// 批量选择
|
// 批量选择
|
||||||
handelSwipeBatch() {
|
handelSwipeBatch() {
|
||||||
|
uni.hideTabBar({
|
||||||
|
animation: true
|
||||||
|
})
|
||||||
this.swipeActionBatch = true;
|
this.swipeActionBatch = true;
|
||||||
this.swipeActionList = [];
|
this.swipeActionList = [];
|
||||||
this.$emit('bookshelfContentBodyZindexFn', 999);
|
this.$emit('bookshelfContentBodyZindexFn', 999);
|
||||||
@ -239,7 +245,7 @@
|
|||||||
if (res.status == 1) {
|
if (res.status == 1) {
|
||||||
this.getBooksData();
|
this.getBooksData();
|
||||||
if (allType) {
|
if (allType) {
|
||||||
this.bathComplete()
|
this.bathComplete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
@ -253,6 +259,9 @@
|
|||||||
// 选择全部之后完成
|
// 选择全部之后完成
|
||||||
bathComplete() {
|
bathComplete() {
|
||||||
this.swipeActionBatch = false;
|
this.swipeActionBatch = false;
|
||||||
|
uni.showTabBar({
|
||||||
|
animation: true
|
||||||
|
})
|
||||||
this.delCheckedAll = [];
|
this.delCheckedAll = [];
|
||||||
this.booksIds = [];
|
this.booksIds = [];
|
||||||
this.$emit('bookshelfContentBodyZindexFn', 2);
|
this.$emit('bookshelfContentBodyZindexFn', 2);
|
||||||
@ -263,6 +272,7 @@
|
|||||||
checkedFlag: [],
|
checkedFlag: [],
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
toNovelReading(row) {
|
toNovelReading(row) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
@ -292,6 +302,8 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
height: 40rpx;
|
||||||
|
|
||||||
._header_left {
|
._header_left {
|
||||||
._header_name {
|
._header_name {
|
||||||
@ -444,9 +456,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bookshelf_checked_all_del {
|
.bookshelf_checked_all_del {
|
||||||
position: fixed;
|
// position: fixed;
|
||||||
bottom: 0;
|
// bottom: 0;
|
||||||
left: 0;
|
// left: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -454,6 +466,10 @@
|
|||||||
height: 130rpx;
|
height: 130rpx;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
padding-bottom: constant(safe-area-inset-bottom);
|
||||||
|
/* 兼容 iOS 设备 */
|
||||||
|
padding-bottom: env(safe-area-inset-bottom);
|
||||||
|
|
||||||
|
|
||||||
._all_del_button {
|
._all_del_button {
|
||||||
width: 150rpx;
|
width: 150rpx;
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="novelReading_content">
|
<view class="novelReading_content">
|
||||||
<!-- <u-navbar :title="navbarTitle" @rightClick="rightClick" :autoBack="true" :fixed="true" :bgColor="mainBodyBg"
|
<!-- -->
|
||||||
:titleStyle="{ color: navigationBarTitleTextColor }" :leftIconColor="navigationBarTitleTextBackColor"
|
|
||||||
:shadow="true" :safeAreaInsetTop="true" :placeholder="true" /> -->
|
|
||||||
<!-- @tap="handelShowStepUp" -->
|
<!-- @tap="handelShowStepUp" -->
|
||||||
<view class="novelReading_body" :style="`background:${bodyReadingBg}`">
|
<view class="novelReading_body" :style="`background:${bodyReadingBg}`">
|
||||||
<!-- @change="currentChange" @setCatalog="setCatalog" @clickme="clickme" @clickher="clickher" @preload="preloadContent"-->
|
<!-- @change="currentChange" @setCatalog="setCatalog" @clickme="clickme" @clickher="clickher" @preload="preloadContent"-->
|
||||||
@ -51,6 +49,11 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="u_popup_all">
|
<view class="u_popup_all">
|
||||||
|
<u-popup :show="navbarPopupShow" @close="directoryPopupClose" mode="top" :overlay="false" bgColor="transparent" >
|
||||||
|
<u-navbar :title="navbarTitle" @rightClick="rightClick" :autoBack="true" :fixed="false" :bgColor="mainBodyBg"
|
||||||
|
:titleStyle="{ color: navigationBarTitleTextColor }" :leftIconColor="navigationBarTitleTextBackColor"
|
||||||
|
:shadow="true" :safeAreaInsetTop="true" :placeholder="true" />
|
||||||
|
</u-popup>
|
||||||
<u-popup :show="readingPopupshow" mode="bottom" :overlay="false" zIndex="4" bgColor="transparent" :safeAreaInsetBottom="false">
|
<u-popup :show="readingPopupshow" mode="bottom" :overlay="false" zIndex="4" bgColor="transparent" :safeAreaInsetBottom="false">
|
||||||
<view class="reading_schedule_box" :style="`background:${bodyReadingBg}`">
|
<view class="reading_schedule_box" :style="`background:${bodyReadingBg}`">
|
||||||
<view class="reading_schedule_body">
|
<view class="reading_schedule_body">
|
||||||
@ -119,7 +122,7 @@
|
|||||||
<view style="height: 140rpx" />
|
<view style="height: 140rpx" />
|
||||||
</view>
|
</view>
|
||||||
</u-popup>
|
</u-popup>
|
||||||
<u-popup :show="directoryPopupShow" @close="directoryPopupClose" mode="right" :safeAreaInsetTop="true">
|
<!-- <u-popup :show="directoryPopupShow" @close="directoryPopupClose" mode="right" :safeAreaInsetTop="true">
|
||||||
<view class="directory_popup_box">
|
<view class="directory_popup_box">
|
||||||
<scroll-view scroll-y="true" @scrolltoupper="directoryPopupUpper"
|
<scroll-view scroll-y="true" @scrolltoupper="directoryPopupUpper"
|
||||||
@scrolltolower="directoryPopupLower" :show-scrollbar="false" class="directory_scroll_y">
|
@scrolltolower="directoryPopupLower" :show-scrollbar="false" class="directory_scroll_y">
|
||||||
@ -133,20 +136,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
</u-popup>
|
|
||||||
<!-- <u-popup :show="purchaseFullShow" @close="purchaseFullClose" mode="bottom" overlayStyle="top:44px">
|
|
||||||
<view class="purchaseFull_popup_box" :style="`background:${bodyReadingBg}`">
|
|
||||||
<view>
|
|
||||||
<CommBookLeftRigth :bookTips="bookInfo.category_name" :bookName="bookInfo.title"
|
|
||||||
:bookImage="bookInfo.cover" :bookIntroduction="`${readChapterInfoObj.allprice}书币`" />
|
|
||||||
</view>
|
|
||||||
<view class="purchaseFull_popup_btn_box">
|
|
||||||
<view class="purchaseFull_popup_btn" @tap="handelPurchaseFull">需要全本购买</view>
|
|
||||||
</view>
|
|
||||||
</view>s
|
|
||||||
</u-popup> -->
|
</u-popup> -->
|
||||||
<!-- <u-modal :show="balanceShow" :title="balanceTitle" content='余额不足,请充值...'
|
|
||||||
:showCancelButton="!readChapterFlag" @confirm="balanceConfirm" @cancel="balanceCancel" /> -->
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -201,6 +191,7 @@
|
|||||||
stepUpPopupShow: false,
|
stepUpPopupShow: false,
|
||||||
purchaseFullShow: false,
|
purchaseFullShow: false,
|
||||||
balanceShow: false,
|
balanceShow: false,
|
||||||
|
navbarPopupShow:false,
|
||||||
balanceTitle: '下一章,付费章节',
|
balanceTitle: '下一章,付费章节',
|
||||||
// bar 的icon
|
// bar 的icon
|
||||||
barPopupIcon: {},
|
barPopupIcon: {},
|
||||||
@ -338,7 +329,6 @@
|
|||||||
custom,
|
custom,
|
||||||
content: ''
|
content: ''
|
||||||
}
|
}
|
||||||
console.log(obj, "objobj")
|
|
||||||
callback('success', obj)
|
callback('success', obj)
|
||||||
}
|
}
|
||||||
if (chapter > newReadDirectoryActive) {
|
if (chapter > newReadDirectoryActive) {
|
||||||
@ -374,7 +364,6 @@
|
|||||||
custom,
|
custom,
|
||||||
content: ''
|
content: ''
|
||||||
}
|
}
|
||||||
console.log(obj, "objobj")
|
|
||||||
callback('success', obj)
|
callback('success', obj)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -431,6 +420,7 @@
|
|||||||
handelDirectoryItem(row) {},
|
handelDirectoryItem(row) {},
|
||||||
handelShowStepUp() {
|
handelShowStepUp() {
|
||||||
this.readingPopupshow = !this.readingPopupshow;
|
this.readingPopupshow = !this.readingPopupshow;
|
||||||
|
this.navbarPopupShow = !this.navbarPopupShow;
|
||||||
this.stepUpPopupShow = false;
|
this.stepUpPopupShow = false;
|
||||||
},
|
},
|
||||||
handelDirectoryPopup() {
|
handelDirectoryPopup() {
|
||||||
@ -540,27 +530,27 @@
|
|||||||
}
|
}
|
||||||
mySetStorage('novelMainObj', JSON.stringify(obj));
|
mySetStorage('novelMainObj', JSON.stringify(obj));
|
||||||
},
|
},
|
||||||
// 目录划到了最上边
|
// // 目录划到了最上边
|
||||||
directoryPopupUpper() {
|
// directoryPopupUpper() {
|
||||||
const isBooksDirectoryPage = this.booksDirectoryPage;
|
// const isBooksDirectoryPage = this.booksDirectoryPage;
|
||||||
const newBooksDirectoryPage = this.newBooksDirectoryPage;
|
// const newBooksDirectoryPage = this.newBooksDirectoryPage;
|
||||||
if (isBooksDirectoryPage > 1 && newBooksDirectoryPage.indexOf(isBooksDirectoryPage) == -1) {
|
// if (isBooksDirectoryPage > 1 && newBooksDirectoryPage.indexOf(isBooksDirectoryPage) == -1) {
|
||||||
const booksDirectorySid = this.booksDirectorySid;
|
// const booksDirectorySid = this.booksDirectorySid;
|
||||||
const booksDirectoryPage = isBooksDirectoryPage - 1;
|
// const booksDirectoryPage = isBooksDirectoryPage - 1;
|
||||||
this.booksDirectoryPage = booksDirectoryPage;
|
// this.booksDirectoryPage = booksDirectoryPage;
|
||||||
this.isGetDirectory(booksDirectorySid, booksDirectoryPage, 'upper');
|
// this.isGetDirectory(booksDirectorySid, booksDirectoryPage, 'upper');
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
// 目录划到了最下边
|
// // 目录划到了最下边
|
||||||
directoryPopupLower() {
|
// directoryPopupLower() {
|
||||||
const isBooksDirectoryPage = this.booksDirectoryPage;
|
// const isBooksDirectoryPage = this.booksDirectoryPage;
|
||||||
const booksDirectorySid = this.booksDirectorySid;
|
// const booksDirectorySid = this.booksDirectorySid;
|
||||||
const booksDirectoryPage = isBooksDirectoryPage + 1;
|
// const booksDirectoryPage = isBooksDirectoryPage + 1;
|
||||||
const newBooksDirectoryPage = [...this.newBooksDirectoryPage, booksDirectoryPage];
|
// const newBooksDirectoryPage = [...this.newBooksDirectoryPage, booksDirectoryPage];
|
||||||
this.newBooksDirectoryPage = newBooksDirectoryPage;
|
// this.newBooksDirectoryPage = newBooksDirectoryPage;
|
||||||
this.booksDirectoryPage = booksDirectoryPage;
|
// this.booksDirectoryPage = booksDirectoryPage;
|
||||||
this.isGetDirectory(booksDirectorySid, booksDirectoryPage, 'lower');
|
// this.isGetDirectory(booksDirectorySid, booksDirectoryPage, 'lower');
|
||||||
},
|
// },
|
||||||
isGetDirectory(sid, page, type) {
|
isGetDirectory(sid, page, type) {
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
title: '加载中...'
|
title: '加载中...'
|
||||||
@ -724,7 +714,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.novelReading_content /deep/.u-navbar {
|
||||||
|
box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
.novelReading_content /deep/.u-navbar__content__title {
|
.novelReading_content /deep/.u-navbar__content__title {
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
}
|
}
|
||||||
|
17
unpackage/cache/appleConfig.ini
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[appleAppid]
|
||||||
|
appleAppid=com.qinjiu.guyanxiaoshuo
|
||||||
|
|
||||||
|
[iosStyle]
|
||||||
|
iosStyle=
|
||||||
|
|
||||||
|
[universalLinks]
|
||||||
|
universalLinks=
|
||||||
|
spaceid=
|
||||||
|
|
||||||
|
[universalLinks_qq]
|
||||||
|
universalLinks_qq=
|
||||||
|
spaceid_qq=
|
||||||
|
|
||||||
|
[universalLinks_weibo]
|
||||||
|
universalLinks_weibo=
|
||||||
|
spaceid_weibo=
|
3
unpackage/cache/certdataios
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
iosProfile=C:/Users/Administrator/Desktop/小说证书/古言小说证书/guyanxiaoshuo.mobileprovision
|
||||||
|
ioscertFile=C:/Users/Administrator/Desktop/小说证书/古言小说证书/guyanxiaoshuo.p12
|
||||||
|
ioscertPassword=ep/Tdjka4Y7WYqDB6/S7dw==
|
0
unpackage/dist/build/.automator/app-plus/.automator.json
vendored
Normal file
1
unpackage/dist/build/app-plus/__uniappchooselocation.js
vendored
Normal file
BIN
unpackage/dist/build/app-plus/__uniapperror.png
vendored
Normal file
After Width: | Height: | Size: 5.7 KiB |
1
unpackage/dist/build/app-plus/__uniappes6.js
vendored
Normal file
1
unpackage/dist/build/app-plus/__uniappopenlocation.js
vendored
Normal file
1
unpackage/dist/build/app-plus/__uniapppicker.js
vendored
Normal file
8
unpackage/dist/build/app-plus/__uniappquill.js
vendored
Normal file
1
unpackage/dist/build/app-plus/__uniappquillimageresize.js
vendored
Normal file
1
unpackage/dist/build/app-plus/__uniappscan.js
vendored
Normal file
BIN
unpackage/dist/build/app-plus/__uniappsuccess.png
vendored
Normal file
After Width: | Height: | Size: 2.0 KiB |
25
unpackage/dist/build/app-plus/__uniappview.html
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh-CN">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<script>
|
||||||
|
var __UniViewStartTime__ = Date.now();
|
||||||
|
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
|
||||||
|
CSS.supports('top: constant(a)'))
|
||||||
|
document.write(
|
||||||
|
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
|
||||||
|
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
|
||||||
|
</script>
|
||||||
|
<title>View</title>
|
||||||
|
<link rel="stylesheet" href="view.css" />
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
<script src="__uniappes6.js"></script>
|
||||||
|
<script src="view.umd.min.js"></script>
|
||||||
|
<script src="app-view.js"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
8
unpackage/dist/build/app-plus/app-config-service.js
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
var isReady=false;var onReadyCallbacks=[];
|
||||||
|
var isServiceReady=false;var onServiceReadyCallbacks=[];
|
||||||
|
var __uniConfig = {"pages":["pages/bookCity/bookCity/index","pages/bookshelf/bookshelf/index","pages/login/login","pages/loginMobile/loginMobile","pages/classification/classification/index","pages/myInfo/myInfo/index","pages/myInfo/aboutMy/index","pages/myInfo/mySetUp/index","pages/myInfo/problemList/index","pages/myInfo/problemDetail/index","pages/voucherCenter/index","pages/readingRecords/index","pages/signInBookCurrency/index","pages/booksListAll/index","pages/booksTheCharts/index","pages/voucherCenterDetail/index","pages/bookCoinDetail/bookCoinDetail","pages/giveCoinDetail/giveCoinDetail","pages/booksSearchList/booksSearchList","pages/novelReading/novelReading","pages/booksReadingDetail/booksReadingDetail","pages/bookRecommendList/bookRecommendList"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"tabBar":{"backgroundColor":"#FFFFFF","borderStyle":"#F5F5F5","selectedColor":"#FF5000","iconWidth":"24px","color":"#666666","fontSize":"10px","height":"68px","list":[{"pagePath":"pages/bookshelf/bookshelf/index","text":"书架","iconPath":"/static/images/tabbar/bookshelf.png","selectedIconPath":"/static/images/tabbar/bookshelfActive.png"},{"pagePath":"pages/bookCity/bookCity/index","text":"书城","iconPath":"/static/images/tabbar/bookCity.png","selectedIconPath":"/static/images/tabbar/bookCityActive.png"},{"pagePath":"pages/classification/classification/index","text":"分类","iconPath":"/static/images/tabbar/classification.png","selectedIconPath":"/static/images/tabbar/classificationActive.png"},{"pagePath":"pages/myInfo/myInfo/index","text":"我的","iconPath":"/static/images/tabbar/myInfo.png","selectedIconPath":"/static/images/tabbar/myInfoActive.png"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"app_ancientSayings","compilerVersion":"3.8.12","entryPagePath":"pages/bookCity/bookCity/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
|
||||||
|
var __uniRoutes = [{"path":"/pages/bookCity/bookCity/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"书城","navigationStyle":"custom"}},{"path":"/pages/bookshelf/bookshelf/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"书架","navigationStyle":"custom"}},{"path":"/pages/login/login","meta":{},"window":{"navigationBarTitleText":"","navigationStyle":"custom"}},{"path":"/pages/loginMobile/loginMobile","meta":{},"window":{"navigationBarTitleText":"","navigationStyle":"custom"}},{"path":"/pages/classification/classification/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"分类","navigationStyle":"custom"}},{"path":"/pages/myInfo/myInfo/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的"}},{"path":"/pages/myInfo/aboutMy/index","meta":{},"window":{"navigationBarTitleText":"关于我们"}},{"path":"/pages/myInfo/mySetUp/index","meta":{},"window":{"navigationBarTitleText":"设置"}},{"path":"/pages/myInfo/problemList/index","meta":{},"window":{"navigationBarTitleText":"常见问题"}},{"path":"/pages/myInfo/problemDetail/index","meta":{},"window":{"navigationBarTitleText":"常见问题"}},{"path":"/pages/voucherCenter/index","meta":{},"window":{"navigationBarTitleText":"充值中心"}},{"path":"/pages/readingRecords/index","meta":{},"window":{"navigationBarTitleText":"阅读记录"}},{"path":"/pages/signInBookCurrency/index","meta":{},"window":{"navigationBarTitleText":"签到领取书币","navigationStyle":"custom","navigationBarTextStyle":"white"}},{"path":"/pages/booksListAll/index","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/booksTheCharts/index","meta":{},"window":{"navigationBarTitleText":"排行榜","navigationBarBackgroundColor":"transparent","navigationStyle":"custom","titleNView":{"backgroundColor":"transparent","background":"transparent"}}},{"path":"/pages/voucherCenterDetail/index","meta":{},"window":{"navigationBarTitleText":"充值记录"}},{"path":"/pages/bookCoinDetail/bookCoinDetail","meta":{},"window":{"navigationBarTitleText":"书币明细"}},{"path":"/pages/giveCoinDetail/giveCoinDetail","meta":{},"window":{"navigationBarTitleText":"赠币明细"}},{"path":"/pages/booksSearchList/booksSearchList","meta":{},"window":{"navigationBarTitleText":"搜索"}},{"path":"/pages/novelReading/novelReading","meta":{},"window":{"navigationBarTitleText":"","navigationStyle":"custom","enablePullDownRefresh":false,"bounce":"none"}},{"path":"/pages/booksReadingDetail/booksReadingDetail","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/bookRecommendList/bookRecommendList","meta":{},"window":{"navigationBarTitleText":""}}];
|
||||||
|
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
||||||
|
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
||||||
|
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});
|
1
unpackage/dist/build/app-plus/app-config.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
(function(e){function r(r){for(var n,l,i=r[0],p=r[1],a=r[2],c=0,s=[];c<i.length;c++)l=i[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(e[n]=p[n]);f&&f(r);while(s.length)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var p=t[i];0!==o[p]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={"app-config":0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e["default"]}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var i=this["webpackJsonp"]=this["webpackJsonp"]||[],p=i.push.bind(i);i.push=r,i=i.slice();for(var a=0;a<i.length;a++)r(i[a]);var f=p;t()})([]);
|
11
unpackage/dist/build/app-plus/app-service.js
vendored
Normal file
1
unpackage/dist/build/app-plus/app-view.js
vendored
Normal file
1
unpackage/dist/build/app-plus/manifest.json
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__474F351","name":"app_ancientSayings","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"safearea":{"background":"#F5F6F9","bottom":{"offset":"none|auto"}},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{"dSYMs":false},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.8.12","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"backgroundColor":"#FFFFFF","borderStyle":"#F5F5F5","selectedColor":"#FF5000","iconWidth":"24px","color":"#666666","fontSize":"10px","height":"68px","list":[{"pagePath":"pages/bookshelf/bookshelf/index","text":"书架","iconPath":"/static/images/tabbar/bookshelf.png","selectedIconPath":"/static/images/tabbar/bookshelfActive.png"},{"pagePath":"pages/bookCity/bookCity/index","text":"书城","iconPath":"/static/images/tabbar/bookCity.png","selectedIconPath":"/static/images/tabbar/bookCityActive.png"},{"pagePath":"pages/classification/classification/index","text":"分类","iconPath":"/static/images/tabbar/classification.png","selectedIconPath":"/static/images/tabbar/classificationActive.png"},{"pagePath":"pages/myInfo/myInfo/index","text":"我的","iconPath":"/static/images/tabbar/myInfo.png","selectedIconPath":"/static/images/tabbar/myInfoActive.png"}],"child":["lauchwebview"],"selected":1},"launch_path":"__uniappview.html"}}
|
BIN
unpackage/dist/build/app-plus/static/app_logo.png
vendored
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
unpackage/dist/build/app-plus/static/app_logo_222.png
vendored
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
unpackage/dist/build/app-plus/static/app_logoww.png
vendored
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
unpackage/dist/build/app-plus/static/images/Rectangle_nav_bar.png
vendored
Normal file
After Width: | Height: | Size: 197 KiB |
BIN
unpackage/dist/build/app-plus/static/images/_coin.png
vendored
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
unpackage/dist/build/app-plus/static/images/bookCity/complete.png
vendored
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
unpackage/dist/build/app-plus/static/images/bookCity/new_book.png
vendored
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
unpackage/dist/build/app-plus/static/images/bookCity/ranking_four.png
vendored
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
unpackage/dist/build/app-plus/static/images/bookCity/ranking_one.png
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
unpackage/dist/build/app-plus/static/images/bookCity/ranking_three.png
vendored
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
unpackage/dist/build/app-plus/static/images/bookCity/ranking_two.png
vendored
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
unpackage/dist/build/app-plus/static/images/bookCity/recharge.png
vendored
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
unpackage/dist/build/app-plus/static/images/bookCity/the_charts.png
vendored
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
unpackage/dist/build/app-plus/static/images/book_111.png
vendored
Normal file
After Width: | Height: | Size: 83 KiB |
BIN
unpackage/dist/build/app-plus/static/images/bookshelf/_sign_in.png
vendored
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
unpackage/dist/build/app-plus/static/images/bookshelf/_swipe_add.png
vendored
Normal file
After Width: | Height: | Size: 438 B |
BIN
unpackage/dist/build/app-plus/static/images/bookshelf/del_all.png
vendored
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
unpackage/dist/build/app-plus/static/images/bookshelf/del_all_checked.png
vendored
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
unpackage/dist/build/app-plus/static/images/chapter_lock.png
vendored
Normal file
After Width: | Height: | Size: 436 B |
BIN
unpackage/dist/build/app-plus/static/images/delete_icon.png
vendored
Normal file
After Width: | Height: | Size: 646 B |
BIN
unpackage/dist/build/app-plus/static/images/login_bg.png
vendored
Normal file
After Width: | Height: | Size: 508 KiB |
BIN
unpackage/dist/build/app-plus/static/images/member_vip_bg.png
vendored
Normal file
After Width: | Height: | Size: 85 KiB |
BIN
unpackage/dist/build/app-plus/static/images/myInfo/VIP.png
vendored
Normal file
After Width: | Height: | Size: 565 B |
BIN
unpackage/dist/build/app-plus/static/images/myInfo/VIP_active.png
vendored
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
unpackage/dist/build/app-plus/static/images/myInfo/VIP_whether.png
vendored
Normal file
After Width: | Height: | Size: 577 B |
BIN
unpackage/dist/build/app-plus/static/images/myInfo/balance_bg.png
vendored
Normal file
After Width: | Height: | Size: 88 KiB |
BIN
unpackage/dist/build/app-plus/static/images/myInfo/bookCoinHistoryImage.png
vendored
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
unpackage/dist/build/app-plus/static/images/myInfo/browsingHistoryImage.png
vendored
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
unpackage/dist/build/app-plus/static/images/myInfo/default_sculpture.png
vendored
Normal file
After Width: | Height: | Size: 8.7 KiB |
BIN
unpackage/dist/build/app-plus/static/images/myInfo/rechargeHistoryImage.png
vendored
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
unpackage/dist/build/app-plus/static/images/myInfo/vip_tips_bg.png
vendored
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
unpackage/dist/build/app-plus/static/images/nav-bar_Vector.png
vendored
Normal file
After Width: | Height: | Size: 464 B |
BIN
unpackage/dist/build/app-plus/static/images/nav_bar_search.png
vendored
Normal file
After Width: | Height: | Size: 416 B |
BIN
unpackage/dist/build/app-plus/static/images/novelReading/bookshelf_333.png
vendored
Normal file
After Width: | Height: | Size: 709 B |
BIN
unpackage/dist/build/app-plus/static/images/novelReading/bookshelf_ccd9e2.png
vendored
Normal file
After Width: | Height: | Size: 860 B |
BIN
unpackage/dist/build/app-plus/static/images/novelReading/bookshelf_f3efe.png
vendored
Normal file
After Width: | Height: | Size: 853 B |
BIN
unpackage/dist/build/app-plus/static/images/novelReading/directory_333.png
vendored
Normal file
After Width: | Height: | Size: 500 B |
BIN
unpackage/dist/build/app-plus/static/images/novelReading/directory_ccd9e2.png
vendored
Normal file
After Width: | Height: | Size: 596 B |
BIN
unpackage/dist/build/app-plus/static/images/novelReading/directory_f3efe9.png
vendored
Normal file
After Width: | Height: | Size: 589 B |
BIN
unpackage/dist/build/app-plus/static/images/novelReading/set_up_mode_black.png
vendored
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
unpackage/dist/build/app-plus/static/images/novelReading/step_up_333.png
vendored
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
unpackage/dist/build/app-plus/static/images/novelReading/step_up_ccd9e2.png
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
unpackage/dist/build/app-plus/static/images/novelReading/step_up_f3efe.png
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
unpackage/dist/build/app-plus/static/images/readingRecords_add.png
vendored
Normal file
After Width: | Height: | Size: 197 B |
BIN
unpackage/dist/build/app-plus/static/images/readingRecords_add_sdelete.png
vendored
Normal file
After Width: | Height: | Size: 750 B |
BIN
unpackage/dist/build/app-plus/static/images/readingRecords_book.png
vendored
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
unpackage/dist/build/app-plus/static/images/readingRecords_have.png
vendored
Normal file
After Width: | Height: | Size: 339 B |
BIN
unpackage/dist/build/app-plus/static/images/recharge_empty.png
vendored
Normal file
After Width: | Height: | Size: 65 KiB |
BIN
unpackage/dist/build/app-plus/static/images/search_empty.png
vendored
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
unpackage/dist/build/app-plus/static/images/signInBookCurrency_header_bag.png
vendored
Normal file
After Width: | Height: | Size: 248 KiB |
BIN
unpackage/dist/build/app-plus/static/images/sign_in_calendar.png
vendored
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
unpackage/dist/build/app-plus/static/images/sign_in_success.png
vendored
Normal file
After Width: | Height: | Size: 315 B |
BIN
unpackage/dist/build/app-plus/static/images/tabbar/bookCity.png
vendored
Normal file
After Width: | Height: | Size: 996 B |
BIN
unpackage/dist/build/app-plus/static/images/tabbar/bookCityActive.png
vendored
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
unpackage/dist/build/app-plus/static/images/tabbar/bookshelf.png
vendored
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
unpackage/dist/build/app-plus/static/images/tabbar/bookshelfActive.png
vendored
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
unpackage/dist/build/app-plus/static/images/tabbar/classification.png
vendored
Normal file
After Width: | Height: | Size: 636 B |
BIN
unpackage/dist/build/app-plus/static/images/tabbar/classificationActive.png
vendored
Normal file
After Width: | Height: | Size: 675 B |
BIN
unpackage/dist/build/app-plus/static/images/tabbar/myInfo.png
vendored
Normal file
After Width: | Height: | Size: 998 B |
BIN
unpackage/dist/build/app-plus/static/images/tabbar/myInfoActive.png
vendored
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
unpackage/dist/build/app-plus/static/logo.png
vendored
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
unpackage/dist/build/app-plus/uni_modules/uni-icons/components/uni-icons/uniicons.ttf
vendored
Normal file
80
unpackage/dist/build/app-plus/uni_modules/yingbing-ReadPage/hybrid/html/richtext.html
vendored
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta
|
||||||
|
name="viewport"
|
||||||
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover"
|
||||||
|
/>
|
||||||
|
<title>富文本展示</title>
|
||||||
|
<style type="text/css">
|
||||||
|
html,body {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.content {
|
||||||
|
color: #333;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.content img {
|
||||||
|
max-width: 100%!important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p id="content" class="content"></p>
|
||||||
|
</body>
|
||||||
|
<script type="text/javascript" src="./js/uni-webview-js@1.5.4.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var obj = {}
|
||||||
|
window.onload = function () {
|
||||||
|
var search = window.location.search.slice(1);
|
||||||
|
var arr = search.split('&');
|
||||||
|
for ( var i = 0; i < arr.length; i++ ) {
|
||||||
|
var strs = arr[i].split('=');
|
||||||
|
obj[strs[0]] = strs[1];
|
||||||
|
}
|
||||||
|
if ( obj.rich ) {
|
||||||
|
setRichText(JSON.parse(decodeURIComponent(obj.rich)));
|
||||||
|
if ( obj.pageType == 'scroll' ) {
|
||||||
|
window.setTimeout(function () {
|
||||||
|
uni.postMessage({
|
||||||
|
data: {
|
||||||
|
height: document.getElementById('content').scrollHeight + 100
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}, 100)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function setStyle (attribute, value) {
|
||||||
|
document.getElementById('content').style[attribute] = value
|
||||||
|
}
|
||||||
|
function setRichText (richText) {
|
||||||
|
document.getElementById('content').innerHTML = richText
|
||||||
|
}
|
||||||
|
function setFontFace (fontList) {
|
||||||
|
let code = fontList.reduce((accumulator, currentValue) => {
|
||||||
|
return accumulator + `@font-face { font-family: ${currentValue.fontFamily};src: url('${currentValue.src}'); }`;
|
||||||
|
}, "");
|
||||||
|
var style = document.createElement("style");
|
||||||
|
style.type = "text/css";
|
||||||
|
style.rel = "stylesheet";
|
||||||
|
style.appendChild(document.createTextNode(code));
|
||||||
|
var head = document.getElementsByTagName("head")[0];
|
||||||
|
head.appendChild(style);
|
||||||
|
}
|
||||||
|
function triggerCustomClick (name, args) {
|
||||||
|
uni.postMessage({
|
||||||
|
data: {
|
||||||
|
customClick: {
|
||||||
|
name: name,
|
||||||
|
args: args
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</html>
|
1
unpackage/dist/build/app-plus/view.css
vendored
Normal file
6
unpackage/dist/build/app-plus/view.umd.min.js
vendored
Normal file
393
unpackage/dist/dev/app-plus/app-service.js
vendored
289
unpackage/dist/dev/app-plus/app-view.js
vendored
2
unpackage/dist/dev/app-plus/manifest.json
vendored
@ -1 +1 @@
|
|||||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__474F351","name":"app_ancientSayings","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"safearea":{"background":"#F5F6F9","bottom":{"offset":"none|auto"}},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.8.12","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"backgroundColor":"#FFFFFF","borderStyle":"#F5F5F5","selectedColor":"#FF5000","iconWidth":"24px","color":"#666666","fontSize":"10px","height":"68px","list":[{"pagePath":"pages/bookshelf/bookshelf/index","text":"书架","iconPath":"/static/images/tabbar/bookshelf.png","selectedIconPath":"/static/images/tabbar/bookshelfActive.png"},{"pagePath":"pages/bookCity/bookCity/index","text":"书城","iconPath":"/static/images/tabbar/bookCity.png","selectedIconPath":"/static/images/tabbar/bookCityActive.png"},{"pagePath":"pages/classification/classification/index","text":"分类","iconPath":"/static/images/tabbar/classification.png","selectedIconPath":"/static/images/tabbar/classificationActive.png"},{"pagePath":"pages/myInfo/myInfo/index","text":"我的","iconPath":"/static/images/tabbar/myInfo.png","selectedIconPath":"/static/images/tabbar/myInfoActive.png"}],"child":["lauchwebview"],"selected":1},"launch_path":"__uniappview.html"}}
|
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__474F351","name":"app_ancientSayings","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"safearea":{"background":"#F5F6F9","bottom":{"offset":"none|auto"}},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"static/app_logo.png","xhdpi":"static/app_logo.png","xxhdpi":"static/app_logo.png","xxxhdpi":"static/app_logo.png"},"ios":{"appstore":"static/app_logo.png","iphone":{"app@2x":"static/app_logo.png","app@3x":"static/app_logo.png","spotlight@2x":"static/app_logo.png","spotlight@3x":"static/app_logo.png","settings@2x":"static/app_logo.png","settings@3x":"static/app_logo.png","notification@2x":"static/app_logo.png","notification@3x":"static/app_logo.png"},"ipad":{"app":"static/app_logo.png","app@2x":"static/app_logo.png","proapp@2x":"static/app_logo.png","spotlight":"static/app_logo.png","spotlight@2x":"static/app_logo.png","settings":"static/app_logo.png","settings@2x":"static/app_logo.png","notification@2x":"static/app_logo.png","notification":"static/app_logo.png"}}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.8.12","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"backgroundColor":"#FFFFFF","borderStyle":"#F5F5F5","selectedColor":"#FF5000","iconWidth":"24px","color":"#666666","fontSize":"10px","height":"68px","list":[{"pagePath":"pages/bookshelf/bookshelf/index","text":"书架","iconPath":"/static/images/tabbar/bookshelf.png","selectedIconPath":"/static/images/tabbar/bookshelfActive.png"},{"pagePath":"pages/bookCity/bookCity/index","text":"书城","iconPath":"/static/images/tabbar/bookCity.png","selectedIconPath":"/static/images/tabbar/bookCityActive.png"},{"pagePath":"pages/classification/classification/index","text":"分类","iconPath":"/static/images/tabbar/classification.png","selectedIconPath":"/static/images/tabbar/classificationActive.png"},{"pagePath":"pages/myInfo/myInfo/index","text":"我的","iconPath":"/static/images/tabbar/myInfo.png","selectedIconPath":"/static/images/tabbar/myInfoActive.png"}],"child":["lauchwebview"],"selected":1},"launch_path":"__uniappview.html"}}
|