上传代码

This commit is contained in:
pengxiaolong
2025-07-01 21:30:08 +08:00
parent 89c9f8f1df
commit dc1fab2f90
48 changed files with 516 additions and 103 deletions

View File

@@ -8012,7 +8012,7 @@ function isConsoleWritable() {
function initRuntimeSocketService() {
const hosts = "192.168.1.112,127.0.0.1";
const port = "8090";
const id = "mp-weixin_UBq38n";
const id = "mp-weixin_-W7J16";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();

View File

@@ -59,7 +59,7 @@ const _sfc_main = {
{
iconPath: "https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forum.png",
selectedIconPath: "https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forumclick.png",
text: "论坛",
text: "站内信",
pagePath: "/pages/Forum/Forum",
middleClass: ""
},

View File

@@ -1,10 +1,14 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const components_request = require("../../components/request.js");
const tabBar = () => "../../components/tabBar/tabBar.js";
const _sfc_main = {
data() {
return {
title: "Hello"
list: [],
triggered: false,
page: 0,
pageSize: 10
};
},
onShareAppMessage(res) {
@@ -16,9 +20,39 @@ const _sfc_main = {
}
},
onLoad() {
this.getlist();
},
methods: {
// 方法定义
//获取列表数据
getlist() {
components_request.request({
url: "systemMessage/list",
data: {
page: this.page,
size: this.pageSize
},
method: "POST"
}).then((res) => {
this.triggered = false;
common_vendor.index.__f__("log", "at pages/Forum/Forum.vue:79", res);
if (res.code === 200) {
this.list.push(...res.data);
}
});
},
//下拉刷新
onRefresherRefresh() {
common_vendor.index.__f__("log", "at pages/Forum/Forum.vue:88", "下拉刷新");
this.triggered = true;
this.list = [];
this.page = 0;
this.getlist();
},
//上拉加载
onScrollToLower() {
this.page++;
this.getlist();
}
},
components: {
tabBar
@@ -34,7 +68,18 @@ if (!Math) {
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.p({
a: common_vendor.f($data.list, (item, index, i0) => {
return {
a: common_vendor.t(item.title),
b: common_vendor.t(item.content),
c: common_vendor.t(item.time),
d: index
};
}),
b: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
c: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
d: $data.triggered,
e: common_vendor.p({
tabIndex: 1
})
};

View File

@@ -1 +1 @@
<view class="forum data-v-21360a99"><view class="bg data-v-21360a99"><image class="bgImg data-v-21360a99" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="title data-v-21360a99">论坛</view></view><view class="content data-v-21360a99"><view class="building data-v-21360a99"><view class="data-v-21360a99"><image class="data-v-21360a99" style="width:500rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/building.png" mode="scaleToFill"/></view><view class="buildingTitle data-v-21360a99">建设中~</view></view></view><view class="tabBar data-v-21360a99"><tab-bar wx:if="{{a}}" class="data-v-21360a99" u-i="21360a99-0" bind:__l="__l" u-p="{{a}}"></tab-bar></view>
<view class="forum data-v-21360a99"><view class="bg data-v-21360a99"><image class="bgImg data-v-21360a99" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="title data-v-21360a99">站内信</view></view><view class="content data-v-21360a99"><view class="scrollView data-v-21360a99"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-21360a99" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{b}}" lower-threshold="100" bindscrolltolower="{{c}}" refresher-triggered="{{d}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="d" class="card data-v-21360a99"><view class="cardTitle data-v-21360a99">{{item.a}}</view><view class="cardContent data-v-21360a99">{{item.b}}</view><view class="cardTime data-v-21360a99"><view class="cardTimeTitle data-v-21360a99">{{item.c}}</view></view></view></scroll-view></view></view><view class="tabBar data-v-21360a99"><tab-bar wx:if="{{e}}" class="data-v-21360a99" u-i="21360a99-0" bind:__l="__l" u-p="{{e}}"></tab-bar></view>

View File

@@ -14,7 +14,7 @@
.title.data-v-21360a99 {
position: absolute;
top: 120rpx;
left: 345rpx;
left: 335rpx;
font-size: 34rpx;
color: #100e0f;
font-weight: bold;
@@ -42,3 +42,60 @@
text-align: center;
margin-top: 50rpx;
}
.scrollView.data-v-21360a99{
width: 100%;
height: 100%;
}
.scroll.data-v-21360a99{
width: 100%;
height: 93%;
}
.card.data-v-21360a99{
width: 570rpx;
background-color: #ffffff;
margin-top: 20rpx;
margin-left: 50rpx;
margin-right: 50rpx;
border-radius: 20rpx;
box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
align-items: center;
padding-left: 40rpx;
padding-right: 40rpx;
padding-bottom: 20rpx;
padding-top: 40rpx;
}
.cardTitle.data-v-21360a99{
width: 570rpx;
height: 60rpx;
margin-top: -10rpx;
font-size: 30rpx;
color: #333333;
font-weight: bold;
text-align: center;
border-bottom: 1px solid #e5e5e5;
overflow: hidden; /* 隐藏溢出 */
text-overflow: ellipsis; /* 显示省略号 */
white-space: nowrap;
}
.cardContent.data-v-21360a99{
width: 570rpx;
font-size: 28rpx;
color: #666666;
border-bottom: 1px solid #e5e5e5;
padding: 30rpx 0;
line-height: 50rpx;
}
.cardTime.data-v-21360a99{
width: 100%;
height: 60rpx;
display: flex;
flex-direction: row-reverse;
align-items: center;
}
.cardTimeTitle.data-v-21360a99{
font-size: 28rpx;
color: #999999;
margin-right: 20rpx;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,7 +3,8 @@ const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
data() {
return {
title: "Hello"
title: "Hello",
content: "PK@TikTok0.xyz"
};
},
onLoad() {
@@ -17,6 +18,23 @@ const _sfc_main = {
}
},
methods: {
//长按复制邮箱
handleCopy() {
common_vendor.index.setClipboardData({
data: this.content,
success: () => {
common_vendor.index.showToast({
title: "复制成功",
icon: "success",
duration: 1500
});
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/Mine/minecomponents/contact.vue:61", "复制失败:", err);
}
});
},
// 返回上一页
onBack() {
common_vendor.wx$1.navigateBack({
delta: 1
@@ -26,7 +44,9 @@ const _sfc_main = {
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args))
a: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
b: common_vendor.t($data.content),
c: common_vendor.o$1((...args) => $options.handleCopy && $options.handleCopy(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2f1f017b"]]);

View File

@@ -1 +1 @@
<view class="contact data-v-2f1f017b"><view class="bg data-v-2f1f017b"><image class="bgImg data-v-2f1f017b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-2f1f017b" bindtap="{{a}}"><image class="ReturnImg data-v-2f1f017b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-2f1f017b">联系客服</view><view class="content data-v-2f1f017b"><view class="building data-v-2f1f017b"><view class="data-v-2f1f017b"><image class="data-v-2f1f017b" style="width:500rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/building.png" mode="scaleToFill"/></view><view class="buildingTitle data-v-2f1f017b">建设中~</view></view></view></view>
<view class="contact data-v-2f1f017b"><view class="bg data-v-2f1f017b"><image class="bgImg data-v-2f1f017b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-2f1f017b" bindtap="{{a}}"><image class="ReturnImg data-v-2f1f017b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-2f1f017b">联系客服</view><view class="content data-v-2f1f017b"><view class="contactContent data-v-2f1f017b"><view class="Title data-v-2f1f017b">长按下方复制客服邮箱,即可直接发送邮件给客服,我们将竭诚为您服务!</view><text class="copy-text data-v-2f1f017b" bindlongpress="{{c}}">{{b}}</text></view></view></view>

View File

@@ -21,7 +21,7 @@
.title.data-v-2f1f017b {
position: absolute;
top: 120rpx;
left: 335rpx;
left: 325rpx;
font-size: 34rpx;
color: #100e0f;
font-weight: bold;
@@ -38,6 +38,14 @@
right: 0rpx;
bottom: 100rpx;
}
.contactContent.data-v-2f1f017b{
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.building.data-v-2f1f017b {
width: 100%;
height: 90%;
@@ -53,3 +61,25 @@
text-align: center;
margin-top: 50rpx;
}
.Title.data-v-2f1f017b{
width: 80%;
font-size: 30rpx;
color: #4fcacd;
font-weight: bold;
text-align: center;
margin-top: 50rpx;
line-height: 50rpx;
}
.copy-text.data-v-2f1f017b{
width: 60%;
height: 200rpx;
font-size: 28rpx;
color: #ffffff;
font-weight: bold;
text-align: center;
margin-top: 100rpx;
line-height: 200rpx;
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
border-radius:20rpx;
padding: 20rpx;
}

View File

@@ -1 +1 @@
<view class="service-protocol data-v-38749331"><view class="bg data-v-38749331"><image class="bgImg data-v-38749331" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-38749331" bindtap="{{a}}"><image class="ReturnImg data-v-38749331" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-38749331">服务协议</view><view class="content data-v-38749331"><view class="building data-v-38749331"><view class="data-v-38749331"><image class="data-v-38749331" style="width:500rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/building.png" mode="scaleToFill"/></view><view class="buildingTitle data-v-38749331">建设中~</view></view></view></view>
<view class="service-protocol data-v-38749331"><view class="bg data-v-38749331"><image class="bgImg data-v-38749331" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-38749331" bindtap="{{a}}"><image class="ReturnImg data-v-38749331" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-38749331">服务协议</view><view class="content data-v-38749331"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-38749331"><view class="serviceProtocolContent data-v-38749331"><view class="spctitlecss data-v-38749331">《PK 助手 Global》用户服务协议</view><view class="spccontent data-v-38749331">欢迎您使用《PK 助手 Global》以下简称“本小程序”。在使用本小程序提供的各项服务前请您务必认真阅读并充分理解本协议内容特别是免除或限制责任的条款。您的使用行为即视为对本协议全部内容的认可。</view><view class="spctitle data-v-38749331">一、服务内容</view><view class="spccontent data-v-38749331">本小程序为用户提供包括但不限于 TikTok PK 约战信息展示、约定、实时监控、排行榜、数据分析等辅助功能。所有服务仅供用户个人学习、交流或辅助使用,不构成商业承诺或担保。</view><view class="spctitle data-v-38749331"> 二、用户使用规范</view><view class="spccontent data-v-38749331"> 1. 用户不得利用本小程序进行任何违法、违规或侵害他人合法权益的行为;</view><view class="spccontent data-v-38749331"> 2. 不得试图干扰、破坏小程序正常运行;</view><view class="spccontent data-v-38749331"> 3. 不得逆向分析、复制、出售、转让或非法传播小程序内容与技术。</view><view class="spctitle data-v-38749331"> 三、隐私与数据保护</view><view class="spccontent data-v-38749331">我们高度重视您的隐私权,本小程序可能会收集部分必要的设备信息或行为数据(如使用频率、操作日志),仅用于优化产品功能。我们承诺不收集任何个人敏感信息(如身份证号、支付信息、联系人等),不对外披露或转让任何用户数据,除非法律法规要求。</view><view class="spctitle data-v-38749331"> 四、免责声明</view><view class="spccontent data-v-38749331">1. 本小程序作为辅助工具,不对第三方平台的可用性、稳定性、数据准确性做出保证;</view><view class="spccontent data-v-38749331">2. 如因网络、平台变动、设备问题等不可控因素造成服务中断或异常,开发者不承担责任;</view><view class="spccontent data-v-38749331">3. 对于用户因使用本程序产生的任何直接或间接损失,开发者不承担法律责任。</view><view class="spctitle data-v-38749331"> 五、知识产权</view><view class="spccontent data-v-38749331">本小程序及其所有内容(包括界面、图标、代码、文案等)归开发者所有,受相关法律保护。未经授权,禁止任何形式的复制、传播、修改或商业使用。</view><view class="spctitle data-v-38749331"> 六、协议修改与终止</view><view class="spccontent data-v-38749331">我们有权根据需要不时更新本协议,并以适当方式通知用户。修改后的协议一经公布即视为生效,若您继续使用本程序,则视为接受修改内容。如您不同意本协议或其任何修改内容,您应立即停止使用。</view><view class="spctitle data-v-38749331"> 七、适用法律与争议解决</view><view class="spccontent data-v-38749331">本协议的订立、执行与解释及争议的解决均应适用中华人民共和国法律。因本协议产生的任何争议,双方应友好协商解决,协商不成的,提交开发者所在地人民法院诉讼解决。</view></view></scroll-view></view></view>

View File

@@ -53,3 +53,35 @@
text-align: center;
margin-top: 50rpx;
}
.scroll.data-v-38749331{
width: 100%;
height: 100%;
}
.serviceProtocolContent.data-v-38749331{
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.spctitlecss.data-v-38749331{
font-size: 30rpx;
color: #100e0f;
font-weight: bold;
text-align: center;
margin-bottom: 40rpx;
}
.spctitle.data-v-38749331{
width: 650rpx;
font-size: 24rpx;
color: #100e0f;
font-weight: bold;
margin-top: 20rpx;
}
.spccontent.data-v-38749331{
width: 650rpx;
font-size: 20rpx;
color: #666666;
text-align: justify;
margin-top: 10rpx;
}

View File

@@ -43,6 +43,12 @@ const _sfc_main = {
});
},
methods: {
// 返回首页
Return() {
common_vendor.index.reLaunch({
url: "/pages/Home/Home"
});
},
// 输入昵称
inputName(e) {
this.name = e.detail.value;
@@ -99,7 +105,7 @@ const _sfc_main = {
}
});
}).catch((err) => {
common_vendor.index.__f__("log", "at pages/UserInformation/UserInformation.vue:126", err);
common_vendor.index.__f__("log", "at pages/UserInformation/UserInformation.vue:136", err);
});
} else {
common_vendor.index.showToast({
@@ -113,10 +119,11 @@ const _sfc_main = {
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: $data.userinfo,
b: common_vendor.o$1((...args) => $options.Userinfo && $options.Userinfo(...args)),
c: common_vendor.o$1((...args) => $options.inputName && $options.inputName(...args)),
d: common_vendor.o$1((...args) => $options.wxLogin && $options.wxLogin(...args))
a: common_vendor.o$1((...args) => $options.Return && $options.Return(...args)),
b: $data.userinfo,
c: common_vendor.o$1((...args) => $options.Userinfo && $options.Userinfo(...args)),
d: common_vendor.o$1((...args) => $options.inputName && $options.inputName(...args)),
e: common_vendor.o$1((...args) => $options.wxLogin && $options.wxLogin(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-35d730ef"]]);

View File

@@ -1 +1 @@
<view class="container data-v-35d730ef"><button class="login-btn data-v-35d730ef" open-type="chooseAvatar" bindchooseavatar="{{b}}"><image class="avatar data-v-35d730ef" src="{{a}}"></image></button><input type="nickname" class="weui-input data-v-35d730ef" placeholder="请输入昵称" bindblur="{{c}}"/><button class="weui-btn data-v-35d730ef" bindtap="{{d}}">登录</button></view>
<view class="return data-v-35d730ef" bindtap="{{a}}"><image class="data-v-35d730ef" style="width:40rpx;height:40rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="container data-v-35d730ef"><button class="login-btn data-v-35d730ef" open-type="chooseAvatar" bindchooseavatar="{{c}}"><image class="avatar data-v-35d730ef" src="{{b}}"></image></button><input type="nickname" class="weui-input data-v-35d730ef" placeholder="请输入昵称" bindblur="{{d}}"/><button class="weui-btn data-v-35d730ef" bindtap="{{e}}">登录</button></view>

View File

@@ -31,3 +31,9 @@
background-color: #11cb2a00;
color: #fff;
}
.return.data-v-35d730ef {
position: fixed;
top: 100rpx;
left: 80rpx;
z-index: 999;
}

View File

@@ -105,10 +105,10 @@ const _sfc_main = {
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: $data.userInfo.avatarUrl,
b: common_vendor.t($data.userInfo.nickName),
c: common_vendor.o$1((...args) => $options.getPhoneNumber && $options.getPhoneNumber(...args)),
d: common_vendor.o$1((...args) => $options.Return && $options.Return(...args))
a: common_vendor.o$1((...args) => $options.Return && $options.Return(...args)),
b: $data.userInfo.avatarUrl,
c: common_vendor.t($data.userInfo.nickName),
d: common_vendor.o$1((...args) => $options.getPhoneNumber && $options.getPhoneNumber(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);

View File

@@ -1 +1 @@
<view class="container"><image class="logo" src="{{a}}"></image><view class="nickname">{{b}}</view><button class="login-btn" open-type="getPhoneNumber" bindgetphonenumber="{{c}}"> 使用微信登录 </button><view class="return" bindtap="{{d}}">返回首页</view></view>
<view class="return" bindtap="{{a}}"><image style="width:40rpx;height:40rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="container"><image class="logo" src="{{b}}"></image><view class="nickname">{{c}}</view><button class="login-btn" open-type="getPhoneNumber" bindgetphonenumber="{{d}}"> 使用手机号快捷登录 </button></view>

View File

@@ -34,10 +34,8 @@
margin-top: 40rpx;
}
.return{
margin-top: 30rpx;
width: 300rpx;
height: 100rpx;
color: rgb(255, 255, 255);
text-align: center;
line-height: 100rpx;
position: fixed;
top: 100rpx;
left: 80rpx;
z-index: 999;
}