This commit is contained in:
lipnggao 2023-10-14 09:32:47 +08:00
parent 55e4f9715a
commit d30b1657ab
7 changed files with 167 additions and 42 deletions

View File

@ -1,9 +1,6 @@
import App from './App' import App from './App'
import uView from '@/uni_modules/uview-ui' import uView from '@/uni_modules/uview-ui'
Vue.use(uView) Vue.use(uView);
// import {
// initRequest
// } from './utils/request/index'
// #ifndef VUE3 // #ifndef VUE3
import Vue from 'vue' import Vue from 'vue'
@ -25,10 +22,6 @@ import {
export function createApp() { export function createApp() {
const app = createSSRApp(App); const app = createSSRApp(App);
// 引入请求封装
// initRequest(app)
// app.use(uviewUi)
return { return {
app app
} }

View File

@ -5,7 +5,7 @@
<view class="_header_title"> <view class="_header_title">
查看目录 查看目录
</view> </view>
<view class="_header_chapter"> <view class="_header_chapter" @tap="toBookRecommendList">
{{directoryCount}} {{directoryCount}}
<u-icon name="arrow-right" color="#666666" size="26rpx" /> <u-icon name="arrow-right" color="#666666" size="26rpx" />
</view> </view>

View File

@ -134,7 +134,7 @@
@tap="handelCharactersSize"> @tap="handelCharactersSize">
默认</view> 默认</view>
</view> </view>
<!-- <view class="step_up_item mt40rpx"> <view class="step_up_item mt40rpx">
<view class="step_up_item_name" :style="`color:${dialogTextColor}`">翻页</view> <view class="step_up_item_name" :style="`color:${dialogTextColor}`">翻页</view>
<view class="step_up_item_text_bg" <view class="step_up_item_text_bg"
:style="`color:${dialogTextColor};background:${dialogATextBg}`" :style="`color:${dialogTextColor};background:${dialogATextBg}`"
@ -143,7 +143,8 @@
:style="`color:${dialogTextColor};background:${dialogATextBg}`" :style="`color:${dialogTextColor};background:${dialogATextBg}`"
@tap="handelPageType('cover')">平移 @tap="handelPageType('cover')">平移
</view> </view>
</view> --> <view class="step_up_item_text_bg"></view>
</view>
</view> </view>
<view style="height: 140rpx" /> <view style="height: 140rpx" />
</view> </view>
@ -604,6 +605,9 @@
}, },
handelPageType(type) { handelPageType(type) {
this.charactersPageType = type; this.charactersPageType = type;
this.readingPopupshow = false;
this.navbarPopupShow = false;
this.stepUpPopupShow = false;
}, },
// // // //
// directoryPopupUpper() { // directoryPopupUpper() {
@ -704,7 +708,6 @@
stepUpPopupShow(newVal) { stepUpPopupShow(newVal) {
if (newVal) { if (newVal) {
this.mainReadTipsBottom = `${408}rpx`; this.mainReadTipsBottom = `${408}rpx`;
// this.mainReadTipsBottom = `calc(constant(safe-area-inset-bottom) + ${408}rpx)`;
} else { } else {
this.mainReadTipsBottom = 0; this.mainReadTipsBottom = 0;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -20530,12 +20530,60 @@ var render = function () {
], ],
1 1
), ),
_c(
"uni-view",
{ staticClass: _vm._$g(68, "sc"), attrs: { _i: 68 } },
[
_c(
"uni-view",
{
staticClass: _vm._$g(69, "sc"),
style: _vm._$g(69, "s"),
attrs: { _i: 69 },
},
[_vm._v("翻页")]
),
_c(
"uni-view",
{
staticClass: _vm._$g(70, "sc"),
style: _vm._$g(70, "s"),
attrs: { _i: 70 },
on: {
click: function ($event) {
return _vm.$handleViewEvent($event)
},
},
},
[_vm._v("仿真")]
),
_c(
"uni-view",
{
staticClass: _vm._$g(71, "sc"),
style: _vm._$g(71, "s"),
attrs: { _i: 71 },
on: {
click: function ($event) {
return _vm.$handleViewEvent($event)
},
},
},
[_vm._v("平移")]
),
_c("uni-view", {
staticClass: _vm._$g(72, "sc"),
attrs: { _i: 72 },
}),
],
1
),
], ],
1 1
), ),
_c("uni-view", { _c("uni-view", {
staticStyle: { height: "140rpx" }, staticStyle: { height: "140rpx" },
attrs: { _i: 68 }, attrs: { _i: 73 },
}), }),
], ],
1 1
@ -27096,7 +27144,15 @@ var render = function () {
), ),
_c( _c(
"uni-view", "uni-view",
{ staticClass: _vm._$g(4, "sc"), attrs: { _i: 4 } }, {
staticClass: _vm._$g(4, "sc"),
attrs: { _i: 4 },
on: {
click: function ($event) {
return _vm.$handleViewEvent($event)
},
},
},
[ [
_vm._v("共" + _vm._$g(4, "t0-0") + "章"), _vm._v("共" + _vm._$g(4, "t0-0") + "章"),
_c("u-icon", { attrs: { _i: 5 } }), _c("u-icon", { attrs: { _i: 5 } }),