update
This commit is contained in:
@@ -33,7 +33,7 @@ const list = computed(() => data.children.material[current.value].comment?.flatM
|
|||||||
|
|
||||||
<template v-if="true">
|
<template v-if="true">
|
||||||
<view class="block"
|
<view class="block"
|
||||||
v-if="data.material_type?.title_limit > 0 && data.children.material[current].title.length > 0">
|
v-if="data.material_type?.title_limit > 0 && data.children.material[current].title?.length > 0">
|
||||||
<view class="block-title">
|
<view class="block-title">
|
||||||
标题:
|
标题:
|
||||||
</view>
|
</view>
|
||||||
@@ -67,7 +67,7 @@ const list = computed(() => data.children.material[current.value].comment?.flatM
|
|||||||
:show-s-y="home"></x-square-carousel-image>
|
:show-s-y="home"></x-square-carousel-image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="block" v-if="list.length > 0">
|
<view class="block" v-if="list?.length > 0">
|
||||||
<view class="block-title">
|
<view class="block-title">
|
||||||
评论区案例:
|
评论区案例:
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -112,24 +112,26 @@ onLoad((options) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const init = () => {
|
const init = () => {
|
||||||
let ALGL = 0;
|
nextTick(() => {
|
||||||
let HTYQ = 0;
|
let ALGL = 0;
|
||||||
let SJYQ = 0;
|
let HTYQ = 0;
|
||||||
|
let SJYQ = 0;
|
||||||
|
|
||||||
const mainDetailBox = document.querySelector('#mainDetailBox');
|
const mainDetailBox = document.querySelector('#mainDetailBox');
|
||||||
const taskHeader = document.querySelector('#taskHeader');
|
const taskHeader = document.querySelector('#taskHeader');
|
||||||
const fbyq = document.querySelector('#FBYQ');
|
const fbyq = document.querySelector('#FBYQ');
|
||||||
const htyq = document.querySelector('#HTYQ');
|
const htyq = document.querySelector('#HTYQ');
|
||||||
mainDetailWidth.value = mainDetailBox.clientWidth;
|
mainDetailWidth.value = mainDetailBox.clientWidth;
|
||||||
ALGL += taskHeader.clientHeight + 12.5;
|
ALGL += taskHeader.clientHeight + 12.5;
|
||||||
HTYQ += ALGL + mainDetailBox.clientHeight + fbyq.clientHeight + 25;
|
HTYQ += ALGL + mainDetailBox.clientHeight + fbyq.clientHeight + 25;
|
||||||
SJYQ += HTYQ + htyq.clientHeight + 12.5;
|
SJYQ += HTYQ + htyq.clientHeight + 12.5;
|
||||||
|
|
||||||
menuTabs[0].value = ALGL;
|
menuTabs[0].value = ALGL;
|
||||||
menuTabs[1].value = HTYQ;
|
menuTabs[1].value = HTYQ;
|
||||||
menuTabs[2].value = SJYQ;
|
menuTabs[2].value = SJYQ;
|
||||||
|
|
||||||
if (home.value) showInitModal.value = true;
|
if (home.value) showInitModal.value = true;
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const scrollState = reactive({
|
const scrollState = reactive({
|
||||||
|
|||||||
Reference in New Issue
Block a user