2025.03.26 工作代码提交
This commit is contained in:
parent
9347f79c60
commit
ea74ec8239
|
@ -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',
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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()
|
||||||
|
|
|
@ -63,10 +63,6 @@
|
||||||
return config[props.unitKey] || {}
|
return config[props.unitKey] || {}
|
||||||
})
|
})
|
||||||
|
|
||||||
onMounted(() => {
|
|
||||||
console.log('onMounted', keyboard, proxy.$refs)
|
|
||||||
})
|
|
||||||
|
|
||||||
// 打开弹窗
|
// 打开弹窗
|
||||||
function open() {
|
function open() {
|
||||||
// 如果用户没有二级密码
|
// 如果用户没有二级密码
|
||||||
|
|
|
@ -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>
|
||||||
|
@ -193,7 +198,7 @@
|
||||||
<view class="lock rows ptb5 plr20 bar cfff f28" :class="{'active': !isLock}">
|
<view class="lock rows ptb5 plr20 bar cfff f28" :class="{'active': !isLock}">
|
||||||
<image class="lockImg wh30" src="/static/dataLock.png" mode="aspectFit" />
|
<image class="lockImg wh30" src="/static/dataLock.png" mode="aspectFit" />
|
||||||
<image class="unlockImg wh30" src="/static/dataUnlock.png" mode="aspectFit" />
|
<image class="unlockImg wh30" src="/static/dataUnlock.png" mode="aspectFit" />
|
||||||
|
|
||||||
<view class="ml5" v-if="!isLock" @click="$refs.payPwdRef.open()">去解锁</view>
|
<view class="ml5" v-if="!isLock" @click="$refs.payPwdRef.open()">去解锁</view>
|
||||||
<view class="ml5" v-else>已解锁</view>
|
<view class="ml5" v-else>已解锁</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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()],
|
||||||
|
|
Loading…
Reference in New Issue