2025.03.26 工作代码提交

This commit is contained in:
sx 2025-03-27 08:52:10 +08:00
parent 9347f79c60
commit ea74ec8239
8 changed files with 15 additions and 13 deletions

View File

@ -569,7 +569,7 @@ const video = {
url: `/video/statistics/getStatisticsData/unlockStatistics`, url: `/video/statistics/getStatisticsData/unlockStatistics`,
load: true, load: true,
data: param.data, data: param.data,
method: 'GET', method: 'POST',
}) })
}, },

View File

@ -8,7 +8,7 @@ const config = {
// #ifndef H5 // #ifndef H5
// host: 'http://91f.xyz:8080', // host: 'http://91f.xyz:8080',
// host: 'http://liuyd.cpolar.top', // host: 'http://liuyd.cpolar.top',
host: 'http://p9k42a.natappfree.cc', host: 'http://pwpbxz.natappfree.cc',
// #endif // #endif
// 是否vivo显示 // 是否vivo显示
showVivo: true, showVivo: true,

View File

@ -62,7 +62,6 @@
// //
function handleCancel() { function handleCancel() {
console.log('versionCloud.value', versionCloud.value.isforce, versionCloud.value, )
// //
if (versionCloud.value.isForce == 1) plus.runtime.quit() if (versionCloud.value.isForce == 1) plus.runtime.quit()
else close() else close()

View File

@ -63,10 +63,6 @@
return config[props.unitKey] || {} return config[props.unitKey] || {}
}) })
onMounted(() => {
console.log('onMounted', keyboard, proxy.$refs)
})
// //
function open() { function open() {
// //

View File

@ -126,7 +126,11 @@
// //
function handleUnlock() { function handleUnlock() {
api.video.unlockStatistics({}).then(res => { api.video.unlockStatistics({
data: {
videoId: videoId.value,
}
}).then(res => {
if (res.code === 200) { if (res.code === 200) {
// //
getFlow() getFlow()
@ -154,7 +158,8 @@
<view class="app"> <view class="app">
<apex title="数据中心"> <apex title="数据中心">
<template #right> <template #right>
<view class="rows c999 f24" @click="link(util.setUrl('/pages/index/dataCenter/like',{videoId: videoId}))"> <view class="rows c999 f24"
@click="link(util.setUrl('/pages/index/dataCenter/like',{videoId: videoId}))">
<view class="ver mr10"> <view class="ver mr10">
<image class="wh26" src="/static/indexLike1.png" mode="aspectFit" /> <image class="wh26" src="/static/indexLike1.png" mode="aspectFit" />
<view>公开赞</view> <view>公开赞</view>

View File

@ -166,7 +166,7 @@
</view> </view>
<view class="info f1 ml20"> <view class="info f1 ml20">
<view class="nickname thd f30 c111">{{item.formatName}} {{typeCurrent.name}}了你</view> <view class="nickname thd f30 c111">{{item.formatName}} {{typeCurrent.name}}了你</view>
<view class="time mt10 c999 f28">2024.12.08 20:00</view> <view class="time mt10 c999 f28">{{item.likeTime}}</view>
</view> </view>
</view> </view>
</view> </view>

View File

@ -724,6 +724,8 @@
* 立即下单 * 立即下单
*/ */
function handlePay(event) { function handlePay(event) {
// 当前视频对象
const videoItem = tabCurrent.value.listData()[current[tabIndex.value]]
// 产生待付款订单 // 产生待付款订单
api.shop.addOrder({ api.shop.addOrder({
data: [{ data: [{
@ -738,7 +740,7 @@
// 0-普通订单1-视频号订单 // 0-普通订单1-视频号订单
orderType: 1, orderType: 1,
// 分享人id // 分享人id
// shareId: userinfo.id, shareId: videoItem.referrersId || '',
}], }],
}).then(rs => { }).then(rs => {
if (rs.code === 200) { if (rs.code === 200) {

View File

@ -5,7 +5,7 @@ import uni from '@dcloudio/vite-plugin-uni';
// let target = 'http://91f.xyz:8080' // let target = 'http://91f.xyz:8080'
// let target = 'http://liuyd.cpolar.top ' // let target = 'http://liuyd.cpolar.top '
let target = 'http://p9k42a.natappfree.cc' let target = 'http://pwpbxz.natappfree.cc'
export default defineConfig({ export default defineConfig({
plugins: [uni()], plugins: [uni()],