8.15提交

This commit is contained in:
zoujiandong
2025-08-15 09:18:09 +08:00
parent 61584a5d20
commit c7eb7ed879
425 changed files with 191 additions and 44642 deletions
+27 -4
View File
@@ -96,6 +96,7 @@
item.exchange_content_video.length > 0
"
>
<view class="videomask"></view>
<video
:key="index"
v-for="(videoCell, index) in item.exchange_content_video.slice(0,1)"
@@ -160,12 +161,12 @@
import navTo from "@/utils/navTo.js";
import api from "@/api/api";
import { reactive,ref } from 'vue';
import { onShow } from "@dcloudio/uni-app";
import { onShow,onLoad } from "@dcloudio/uni-app";
const numInfo=reactive({})
const most_read_articles=ref([]);
const new_articles=ref([]);
const hasUse=ref(false);
const formatdate = (date) => {
return dayjs(date).format('YYYY-MM-DD')
};
@@ -206,7 +207,7 @@ const goDetail = (id) => {
const searchList = async () => {
let searchForm = {
page: 1,
page_size: 10,
page_size: 20,
order:{
push_date:'desc'
}
@@ -255,6 +256,21 @@ const goPublish=()=>{
url:'/pages/publish/publish'
})
}
onLoad((options)=>{
console.log(options.from && !hasUse.value)
if(options.from && !hasUse.value){
setTimeout(()=>{
uni.showToast({
duration:2000,
title: "提交成功,请耐心等待审核",
icon: "none",
})
hasUse.value=true;
},300)
}
})
onShow(()=>{
getStatic();
goodList();
@@ -380,7 +396,13 @@ onShow(()=>{
.imgbox {
display: flex;
margin-top: 24rpx;
position: relative;
.videomask{
position: absolute;
width:100%;
height:100%;
z-index:2;
}
.imgcell {
width: 220rpx;
height: 220rpx;
@@ -396,6 +418,7 @@ onShow(()=>{
}
.special {
background-color: #fff;
padding-top: 30rpx;
.list {