From c5707aab243e8b9bea3c718bb0b37402a08d0fb2 Mon Sep 17 00:00:00 2001
From: sx <2427911852@qq.com>
Date: Sat, 22 Mar 2025 08:52:53 +0800
Subject: [PATCH] =?UTF-8?q?2025.03.21=20=E5=B7=A5=E4=BD=9C=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jiuyi2/common/js/config.js | 4 ++--
jiuyi2/pages/index/dataCenter/push.vue | 14 ++++++++------
jiuyi2/vite.config.js | 4 ++--
3 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/jiuyi2/common/js/config.js b/jiuyi2/common/js/config.js
index 87612b31..56dae703 100644
--- a/jiuyi2/common/js/config.js
+++ b/jiuyi2/common/js/config.js
@@ -6,8 +6,8 @@ const config = {
// host: 'h5api',
// #endif
// #ifndef H5
- // host: 'http://91f.xyz:8080',
- host: 'http://kiukjz.natappfree.cc',
+ host: 'http://91f.xyz:8080',
+ // host: 'http://liuyd.cpolar.top ',
// #endif
// 是否vivo显示
showVivo: true,
diff --git a/jiuyi2/pages/index/dataCenter/push.vue b/jiuyi2/pages/index/dataCenter/push.vue
index b03e0697..c0cf26d0 100644
--- a/jiuyi2/pages/index/dataCenter/push.vue
+++ b/jiuyi2/pages/index/dataCenter/push.vue
@@ -71,8 +71,10 @@
const viewCount = ref('')
// 播放量消耗的榴莲果
const viewTotal = computed(() => {
- let count = Number(viewCount.value) || 0
- return count * myVideoIds.length
+ let total = Number(viewCount.value) || 0
+ let count = myVideoIds.length
+ if (collectVideo.value.id) count++
+ return total * count
})
// 已选择的自己视频列表
const myVideos = computed(() => {
@@ -83,7 +85,7 @@
})
// 已选择的视频id
const videoIds = computed(() => {
- let result = [...myVideoIds, ]
+ let result = [...myVideoIds]
if (collectVideo.value.id) result.push(collectVideo.value.id)
return result
})
@@ -281,12 +283,12 @@
// 二级密码
secondPassword: ev,
// 视频id
- videoIds: videoIds.value.join(','),
+ videoIds: videoIds.value,
}
}).then(rs => {
if (rs.code === 200) {
- util.alert('申请成功,请等待后台审核')
util.getPurse()
+ uni.navigateBack()
return
}
@@ -399,7 +401,7 @@
-
+
diff --git a/jiuyi2/vite.config.js b/jiuyi2/vite.config.js
index 1e44f8c8..4cea80b8 100644
--- a/jiuyi2/vite.config.js
+++ b/jiuyi2/vite.config.js
@@ -3,8 +3,8 @@ import {
} from 'vite';
import uni from '@dcloudio/vite-plugin-uni';
-// let target = 'http://91f.xyz:8080'
-let target = 'http://kiukjz.natappfree.cc'
+let target = 'http://91f.xyz:8080'
+// let target = 'http://liuyd.cpolar.top '
export default defineConfig({
plugins: [uni()],