优化页面

This commit is contained in:
pengxiaolong
2025-06-19 22:27:00 +08:00
parent b73ddb0370
commit bcaa54bec8
115 changed files with 1273 additions and 353 deletions

View File

@@ -95,7 +95,7 @@ const _sfc_main = {
if (res.code == 200) {
this.AnchorList = res.data;
} else {
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:269", res.msg);
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:267", res.msg);
}
});
},
@@ -242,7 +242,7 @@ const _sfc_main = {
} else {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "发布失败",
title: res.msg,
icon: "none",
duration: 2e3
});

View File

@@ -55,8 +55,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
return (_ctx, _cache) => {
return {
a: common_vendor.t(common_vendor.unref(Title)),
b: common_vendor.o$1(Returnfunc)
a: common_vendor.o$1(Returnfunc),
b: common_vendor.t(common_vendor.unref(Title))
};
};
}

View File

@@ -1 +1 @@
<view class="Navigation"><view class="Navigation-name">{{a}}</view><image src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Navigationimg.png" mode="scaleToFill" class="Navigationimg"/><image bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill" class="Return"/></view>
<view class="Navigation"><view class="Navigationcontent"><image bindtap="{{a}}" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill" class="Navigation-return"/><view class="Navigation-name">{{b}}</view><view></view></view></view>

View File

@@ -1,34 +1,25 @@
.Return {
width: 46rpx;
height: 46rpx;
position: absolute;
top: 110rpx;
left: 40rpx;
z-index: 999;
font-weight: bold;
}
.Navigationimg {
width: 100%;
height: 240rpx;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.Navigation-name{
position: absolute;
top: 110rpx;
left: 320rpx;
.Navigation-name {
font-size: 36rpx;
color: #000000;
font-weight: bold;
}
.Navigation{
.Navigation {
position: fixed;
top: 0;
left: 0;
z-index: 999;
width: 100%;
height: 240rpx;
background-image: url("https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Navigationimg.png");
background-position: 100% 100%;
background-repeat: no-repeat;
}
.Navigationcontent{
width: 80%;
height: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 60rpx;
}

View File

@@ -0,0 +1,131 @@
"use strict";
const common_vendor = require("../../../../../common/vendor.js");
const TUIKit_components_TUIChat_config = require("../../config.js");
const common_assets = require("../../../../../common/assets.js");
require("../../offlinePushInfoManager/index.js");
const stores_counter = require("../../../../../stores/counter.js");
const components_request = require("../../../../../components/request.js");
if (!Array) {
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
_easycom_uni_popup2();
}
const _easycom_uni_popup = () => "../../../../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
if (!Math) {
(ToolbarItemContainer + _easycom_uni_popup)();
}
const ToolbarItemContainer = () => "../toolbar-item-container/index.js";
const _sfc_main = {
__name: "CustomMessage",
emits: ["onDialogPopupShowOrHide"],
setup(__props, { emit: __emit }) {
const counter = stores_counter.useCounterStore();
const evaluateIcon = TUIKit_components_TUIChat_config.ChatConfig.getTheme() === "dark" ? common_assets.InvitationDark : common_assets.InvitationLight;
const emits = __emit;
const onDialogShow = () => {
emits("onDialogPopupShowOrHide", true);
};
const onDialogClose = () => {
emits("onDialogPopupShowOrHide", false);
};
const currentConversation = common_vendor.ref();
const mylist = common_vendor.ref([]);
const youlist = common_vendor.ref([]);
common_vendor.Jt.watch(common_vendor.o.CONV, {
currentConversation: (conversation) => {
currentConversation.value = conversation;
components_request.request({
url: "pk/queryMyCanUsePkData",
method: "POST",
data: {
userId: counter.myitem.id
},
userInfo: true
}).then((res) => {
if (res.code === 200) {
mylist.value = res.data;
}
});
components_request.request({
url: "pk/listUninvitedPublishedAnchorsByUserId",
method: "POST",
data: {
userId: currentConversation.value.userProfile.userID
},
userInfo: true
}).then((res) => {
if (res.code === 200) {
youlist.value = res.data;
}
});
}
});
const container = common_vendor.ref();
const list = common_vendor.ref([]);
const popup = common_vendor.ref();
function onyourChoose() {
popup.value.open("center");
list.value = youlist.value;
}
function onmyChoose() {
popup.value.open("center");
list.value = mylist.value;
}
const selectedId = common_vendor.ref(null);
function Select(item, index) {
selectedId.value = item;
}
function invite() {
}
function close() {
popup.value.close();
}
const submitEvaluate = () => {
};
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.o$1(onyourChoose),
b: common_vendor.o$1(onmyChoose),
c: common_vendor.o$1(submitEvaluate),
d: common_vendor.sr(container, "241228dc-0", {
"k": "container"
}),
e: common_vendor.o$1(onDialogShow),
f: common_vendor.o$1(onDialogClose),
g: common_vendor.p({
iconFile: common_vendor.unref(evaluateIcon),
title: "邀请",
needBottomPopup: true,
iconWidth: _ctx.isUniFrameWork ? "36px" : "30px",
iconHeight: _ctx.isUniFrameWork ? "36px" : "30px"
}),
h: list.value.length !== 0
}, list.value.length !== 0 ? {
i: common_vendor.f(list.value, (item, index, i0) => {
return {
a: item.anchorIcon,
b: common_vendor.t(item.anchorId),
c: common_vendor.t(item.coin),
d: common_vendor.o$1(($event) => Select(item.id), index),
e: selectedId.value === item.id ? "#b8ff8c74" : "#ffffff",
f: index
};
})
} : {}, {
j: list.value.length === 0
}, list.value.length === 0 ? {} : {}, {
k: common_vendor.o$1(($event) => invite()),
l: common_vendor.o$1(($event) => close()),
m: common_vendor.sr(popup, "241228dc-1", {
"k": "popup"
}),
n: common_vendor.p({
type: "center",
["border-radius"]: "10px 10px 0 0"
})
});
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-241228dc"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/message-input-toolbar/evaluate/CustomMessage.js.map

View File

@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"uni-popup": "../../../../../uni_modules/uni-popup/components/uni-popup/uni-popup",
"toolbar-item-container": "../toolbar-item-container/index"
}
}

View File

@@ -0,0 +1 @@
<toolbar-item-container wx:if="{{g}}" class="r data-v-241228dc" u-s="{{['d']}}" u-r="container" bindonDialogShow="{{e}}" bindonDialogClose="{{f}}" u-i="241228dc-0" bind:__l="__l" u-p="{{g}}"><view class="popup data-v-241228dc"><view class="container data-v-241228dc"><view class="title data-v-241228dc">PK邀请</view><view class="yourChoose data-v-241228dc" bindtap="{{a}}"><view class="yourChoose-item data-v-241228dc">选择你要邀请的对手</view></view><view class="vstext data-v-241228dc"><view class="Vtext data-v-241228dc">V</view><view class="Stext data-v-241228dc">S</view></view><view class="myChoose data-v-241228dc" bindtap="{{b}}"><view class="yourChoose-item data-v-241228dc">选择你要参与PK的信息</view></view></view><button class="send-btn data-v-241228dc" bindtap="{{c}}">发送邀请</button></view></toolbar-item-container><uni-popup wx:if="{{n}}" class="r data-v-241228dc" u-s="{{['d']}}" u-r="popup" u-i="241228dc-1" bind:__l="__l" u-p="{{n}}"><view class="popup-content data-v-241228dc"><view class="popup-title data-v-241228dc"><view class="popup-text data-v-241228dc">点击选择您要参与的主播</view><view wx:if="{{h}}" class="data-v-241228dc"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-241228dc"><view wx:for="{{i}}" wx:for-item="item" wx:key="f" class="card data-v-241228dc"><view class="card-content data-v-241228dc" bindtap="{{item.d}}" style="{{'background:' + item.e}}"><view class="Avatarimg data-v-241228dc"><image class="avatar data-v-241228dc" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-241228dc"><view class="TimeMoney data-v-241228dc"><view class="NameMoney_Name data-v-241228dc">{{item.b}}</view></view><view class="TimeMoney_Time data-v-241228dc"><view class="pkTimeimg data-v-241228dc"><image class="data-v-241228dc" style="width:31.49rpx;height:31.49rpx;margin-top:3rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png" mode="scaleToFill"/></view><view class="goldimg data-v-241228dc"><image class="data-v-241228dc" style="width:31.49rpx;height:31.49rpx;margin-top:4rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png" mode="scaleToFill"/></view><view class="goldnb data-v-241228dc">{{item.c}}K</view></view></view></view></view></scroll-view></view><view wx:if="{{j}}" class="noData data-v-241228dc">您还没有可参与的主播PK快去新建一个吧</view></view><view class="popup-btn data-v-241228dc"><button class="invite data-v-241228dc" type="primary" bindtap="{{k}}">邀请</button><button class="cancel data-v-241228dc" type="default" bindtap="{{l}}">取消</button></view></view></uni-popup>

View File

@@ -0,0 +1,139 @@
.popup.data-v-241228dc{
height: 750rpx;
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);
background-position: center;
}
.container.data-v-241228dc {
height: 650rpx;
display: flex;
flex-direction: column;
align-items: center;
}
.title.data-v-241228dc{
font-size: 40rpx;
color: #313131;
text-align: center;
margin-top: 40rpx;
font-weight: bold;
}
.yourChoose.data-v-241228dc{
width: 80%;
height: 150rpx;
margin-top: 40rpx;
display: flex;
justify-content: center;
align-items: center;
border-radius: 10rpx;
background-color: #ffffff;
}
.myChoose.data-v-241228dc{
width: 80%;
height: 150rpx;
margin-top: 40rpx;
display: flex;
justify-content: center;
align-items: center;
border-radius: 10rpx;
background-color: #ffffff;
}
.yourChoose-item.data-v-241228dc{
font-size: 30rpx;
color: #313131;
font-weight: bold;
}
.vstext.data-v-241228dc {
display: flex;
justify-content: center;
align-items: center;
width: 90%;
margin-top: 40rpx;
}
.Vtext.data-v-241228dc {
font-size: 45.8rpx;
color: #f0836c;
font-weight: bold;
font-style: italic;
}
.Stext.data-v-241228dc {
font-size: 45.8rpx;
color: #58d8db;
font-weight: bold;
font-style: italic;
}
.send-btn.data-v-241228dc {
margin-bottom: 100rpx;
}
.popup-content.data-v-241228dc {
width: 750rpx;
height: 700rpx;
background-repeat: no-repeat;
border-radius: 10px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);
background-position: center;
}
.popup-title.data-v-241228dc {
font-size: 30rpx;
margin-top: 50rpx;
text-align: center;
}
.popup-btn.data-v-241228dc {
display: flex;
justify-content: space-around;
margin-top: 50rpx;
}
.popup-text.data-v-241228dc {
color: #161616;
font-size: 36.26rpx;
font-weight: bold;
margin-bottom: 30rpx;
}
.card-content.data-v-241228dc {
/* width: 445rpx; */
width: 100%;
height: 100rpx;
background-color: #ffffff;
/* border: 2px solid #afafaf; */
border-radius: 10rpx;
display: flex;
align-items: center;
font-size: 28rpx;
color: rgb(127, 127, 127);
margin-top: 20rpx;
}
.scroll.data-v-241228dc {
width: 500rpx;
height: 400rpx;
border-radius: 10px;
/* background-color: #fff; */
}
.popup-text.data-v-241228dc {
color: #161616;
font-size: 36.26rpx;
font-weight: bold;
margin-bottom: 30rpx;
}
.card-content.data-v-241228dc {
/* width: 445rpx; */
width: 100%;
height: 100rpx;
background-color: #ffffff;
/* border: 2px solid #afafaf; */
border-radius: 10rpx;
display: flex;
align-items: center;
font-size: 28rpx;
color: rgb(127, 127, 127);
margin-top: 20rpx;
}
.createModule.data-v-241228dc {
position: fixed;
bottom: 0;
right: 0;
z-index: 998;
width: 100vw;
}

View File

@@ -6,7 +6,7 @@ const TUIKit_utils_enableSampleTaskStatus = require("../../../utils/enableSample
const TUIKit_components_TUIChat_offlinePushInfoManager_index = require("../offlinePushInfoManager/index.js");
const TUIKit_components_TUIChat_offlinePushInfoManager_const = require("../offlinePushInfoManager/const.js");
if (!Math) {
(EmojiPickerDialog + ImageUpload + VideoUpload + Words + ToolbarItemContainer + UserSelector)();
(EmojiPickerDialog + ImageUpload + VideoUpload + Words + CustomMessage + ToolbarItemContainer + UserSelector)();
}
const ImageUpload = () => "./image-upload/index.js";
const VideoUpload = () => "./video-upload/index.js";
@@ -14,6 +14,7 @@ const Words = () => "./words/index.js";
const ToolbarItemContainer = () => "./toolbar-item-container/index.js";
const EmojiPickerDialog = () => "./emoji-picker/emoji-picker-dialog.js";
const UserSelector = () => "./user-selector/index.js";
const CustomMessage = () => "./evaluate/CustomMessage.js";
const __default__ = {
options: {
styleIsolation: "shared"
@@ -191,18 +192,14 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
videoSourceType: "camera"
})
} : {}, {
j: common_vendor.unref(currentExtensionList).length > 0
}, common_vendor.unref(currentExtensionList).length > 0 ? {
k: common_vendor.f(common_vendor.unref(currentExtensionList).slice(0, common_vendor.unref(slicePos)), (extension, index, i0) => {
return {
a: index
};
})
} : {}, {
l: common_vendor.unref(neededCountFirstPage) === 1
j: common_vendor.unref(neededCountFirstPage) === 1
}, common_vendor.unref(neededCountFirstPage) === 1 ? common_vendor.e({
m: common_vendor.unref(featureConfig).InputQuickReplies
k: common_vendor.unref(featureConfig).InputQuickReplies
}, common_vendor.unref(featureConfig).InputQuickReplies ? {
l: common_vendor.o$1(handleSwiperDotShow)
} : {}, {
m: common_vendor.unref(featureConfig).InputCustomMessage
}, common_vendor.unref(featureConfig).InputCustomMessage ? {
n: common_vendor.o$1(handleSwiperDotShow)
} : {}) : {}, {
o: common_vendor.unref(neededCountFirstPage) > 1
@@ -210,15 +207,19 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
p: common_vendor.unref(featureConfig).InputQuickReplies
}, common_vendor.unref(featureConfig).InputQuickReplies ? {
q: common_vendor.o$1(handleSwiperDotShow)
} : {}, {
r: common_vendor.unref(featureConfig).InputCustomMessage
}, common_vendor.unref(featureConfig).InputCustomMessage ? {
s: common_vendor.o$1(handleSwiperDotShow)
} : {}) : {}, {
r: common_vendor.unref(neededCountFirstPage) <= 1
t: common_vendor.unref(neededCountFirstPage) <= 1
}, common_vendor.unref(neededCountFirstPage) <= 1 ? common_vendor.e({
s: common_vendor.f(common_vendor.unref(currentExtensionList).slice(common_vendor.unref(slicePos)), (extension, index, i0) => {
v: common_vendor.f(common_vendor.unref(currentExtensionList).slice(common_vendor.unref(slicePos)), (extension, index, i0) => {
return common_vendor.e({
a: extension
}, extension ? {
b: common_vendor.o$1(($event) => onExtensionClick(extension), index),
c: "76f68da4-7-" + i0,
c: "76f68da4-9-" + i0,
d: common_vendor.p({
iconFile: genExtensionIcon(extension),
title: genExtensionText(extension),
@@ -230,24 +231,28 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
e: index
});
}),
t: common_vendor.unref(neededCountFirstPage) === 1
w: common_vendor.unref(neededCountFirstPage) === 1
}, common_vendor.unref(neededCountFirstPage) === 1 ? common_vendor.e({
v: common_vendor.unref(featureConfig).InputQuickReplies
}, common_vendor.unref(featureConfig).InputQuickReplies ? {
w: common_vendor.o$1(handleSwiperDotShow)
} : {}) : common_vendor.e({
x: common_vendor.unref(featureConfig).InputQuickReplies
}, common_vendor.unref(featureConfig).InputQuickReplies ? {
y: common_vendor.o$1(handleSwiperDotShow)
} : {}) : common_vendor.e({
z: common_vendor.unref(featureConfig).InputQuickReplies
}, common_vendor.unref(featureConfig).InputQuickReplies ? {
A: common_vendor.o$1(handleSwiperDotShow)
} : {}, {
B: common_vendor.unref(featureConfig).InputCustomMessage
}, common_vendor.unref(featureConfig).InputCustomMessage ? {
C: common_vendor.o$1(handleSwiperDotShow)
} : {})) : {}, {
z: common_vendor.unref(isSwiperIndicatorDotsEnable)
D: common_vendor.unref(isSwiperIndicatorDotsEnable)
}), {
A: common_vendor.sr(userSelectorRef, "76f68da4-10", {
E: common_vendor.sr(userSelectorRef, "76f68da4-13", {
"k": "userSelectorRef"
}),
B: common_vendor.o$1(onUserSelectorSubmit),
C: common_vendor.o$1(onUserSelectorCancel),
D: common_vendor.p({
F: common_vendor.o$1(onUserSelectorSubmit),
G: common_vendor.o$1(onUserSelectorCancel),
H: common_vendor.p({
type: common_vendor.unref(selectorShowType),
currentConversation: common_vendor.unref(currentConversation),
isGroup: common_vendor.unref(isGroup)

View File

@@ -6,6 +6,7 @@
"words": "./words/index",
"toolbar-item-container": "./toolbar-item-container/index",
"emoji-picker-dialog": "./emoji-picker/emoji-picker-dialog",
"user-selector": "./user-selector/index"
"user-selector": "./user-selector/index",
"custom-message": "./evaluate/CustomMessage"
}
}

View File

@@ -1 +1 @@
<view class="{{['message-input-toolbar', 'message-input-toolbar-h5', 'message-input-toolbar-uni']}}"><view wx:if="{{a}}"><emoji-picker-dialog u-i="76f68da4-0" bind:__l="__l"/></view><view wx:else><swiper class="{{['message-input-toolbar-swiper']}}" indicator-dots="{{z}}" autoplay="{{false}}" circular="{{false}}"><swiper-item class="{{['message-input-toolbar-list', 'message-input-toolbar-h5-list', 'message-input-toolbar-uni-list']}}"><image-upload wx:if="{{b}}" u-i="76f68da4-1" bind:__l="__l" u-p="{{c}}"/><image-upload wx:if="{{d}}" u-i="76f68da4-2" bind:__l="__l" u-p="{{e}}"/><video-upload wx:if="{{f}}" u-i="76f68da4-3" bind:__l="__l" u-p="{{g}}"/><video-upload wx:if="{{h}}" u-i="76f68da4-4" bind:__l="__l" u-p="{{i}}"/><block wx:if="{{j}}"><view wx:for="{{k}}" wx:for-item="extension" wx:key="a"></view></block><block wx:if="{{l}}"><words wx:if="{{m}}" bindonDialogPopupShowOrHide="{{n}}" u-i="76f68da4-5" bind:__l="__l"/></block><block wx:if="{{o}}"><words wx:if="{{p}}" bindonDialogPopupShowOrHide="{{q}}" u-i="76f68da4-6" bind:__l="__l"/></block></swiper-item><swiper-item wx:if="{{r}}" class="{{['message-input-toolbar-list', 'message-input-toolbar-h5-list', 'message-input-toolbar-uni-list']}}"><view wx:for="{{s}}" wx:for-item="extension" wx:key="e"><toolbar-item-container wx:if="{{extension.a}}" bindonIconClick="{{extension.b}}" u-i="{{extension.c}}" bind:__l="__l" u-p="{{extension.d}}"/></view><block wx:if="{{t}}"><words wx:if="{{v}}" bindonDialogPopupShowOrHide="{{w}}" u-i="76f68da4-8" bind:__l="__l"/></block><block wx:else><words wx:if="{{x}}" bindonDialogPopupShowOrHide="{{y}}" u-i="76f68da4-9" bind:__l="__l"/></block></swiper-item></swiper></view><user-selector wx:if="{{D}}" class="r" u-r="userSelectorRef" bindsubmit="{{B}}" bindcancel="{{C}}" u-i="76f68da4-10" bind:__l="__l" u-p="{{D}}"/></view>
<view class="{{['message-input-toolbar', 'message-input-toolbar-h5', 'message-input-toolbar-uni']}}"><view wx:if="{{a}}"><emoji-picker-dialog u-i="76f68da4-0" bind:__l="__l"/></view><view wx:else><swiper class="{{['message-input-toolbar-swiper']}}" indicator-dots="{{D}}" autoplay="{{false}}" circular="{{false}}"><swiper-item class="{{['message-input-toolbar-list', 'message-input-toolbar-h5-list', 'message-input-toolbar-uni-list']}}"><image-upload wx:if="{{b}}" u-i="76f68da4-1" bind:__l="__l" u-p="{{c}}"/><image-upload wx:if="{{d}}" u-i="76f68da4-2" bind:__l="__l" u-p="{{e}}"/><video-upload wx:if="{{f}}" u-i="76f68da4-3" bind:__l="__l" u-p="{{g}}"/><video-upload wx:if="{{h}}" u-i="76f68da4-4" bind:__l="__l" u-p="{{i}}"/><block wx:if="{{j}}"><words wx:if="{{k}}" bindonDialogPopupShowOrHide="{{l}}" u-i="76f68da4-5" bind:__l="__l"/><custom-message wx:if="{{m}}" bindonDialogPopupShowOrHide="{{n}}" u-i="76f68da4-6" bind:__l="__l"/></block><block wx:if="{{o}}"><words wx:if="{{p}}" bindonDialogPopupShowOrHide="{{q}}" u-i="76f68da4-7" bind:__l="__l"/><custom-message wx:if="{{r}}" bindonDialogPopupShowOrHide="{{s}}" u-i="76f68da4-8" bind:__l="__l"/></block></swiper-item><swiper-item wx:if="{{t}}" class="{{['message-input-toolbar-list', 'message-input-toolbar-h5-list', 'message-input-toolbar-uni-list']}}"><view wx:for="{{v}}" wx:for-item="extension" wx:key="e"><toolbar-item-container wx:if="{{extension.a}}" bindonIconClick="{{extension.b}}" u-i="{{extension.c}}" bind:__l="__l" u-p="{{extension.d}}"/></view><block wx:if="{{w}}"><words wx:if="{{x}}" bindonDialogPopupShowOrHide="{{y}}" u-i="76f68da4-10" bind:__l="__l"/></block><block wx:else><words wx:if="{{z}}" bindonDialogPopupShowOrHide="{{A}}" u-i="76f68da4-11" bind:__l="__l"/><custom-message wx:if="{{B}}" bindonDialogPopupShowOrHide="{{C}}" u-i="76f68da4-12" bind:__l="__l"/></block></swiper-item></swiper></view><user-selector wx:if="{{H}}" class="r" u-r="userSelectorRef" bindsubmit="{{F}}" bindcancel="{{G}}" u-i="76f68da4-13" bind:__l="__l" u-p="{{H}}"/></view>

View File

@@ -19,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
stores_counter.useCounterStore();
function handleAccept(customData2) {
const customDatainfo = JSON.stringify(customData2);
common_vendor.index.redirectTo({
common_vendor.index.navigateTo({
url: `/pages/PKMessageprocessing/PKMessageprocessing?customData=${customDatainfo}`
});
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

View File

@@ -45,6 +45,8 @@ const wordsIconLight = "/assets/words-light.97e1bc17.svg";
const wordsIconDark = "/assets/words-dark.cda35c0a.svg";
const faceIconLight = "/assets/face-light.61678cbe.svg";
const faceIconDark = "/assets/face-dark.21e333dd.svg";
const InvitationDark = "/assets/InvitationDark.c8a31c9e.png";
const InvitationLight = "/assets/InvitationLight.ee30129f.png";
const SearchDefaultIcon = "/assets/search-default.4e6b7fca.svg";
const delIcon = "/assets/del-icon.c693da44.svg";
const plusSVG = "/assets/plus.f3b9aa49.svg";
@@ -66,6 +68,8 @@ exports.AddIcon = AddIcon;
exports.C2C = C2C;
exports.ForwardEachIcon = ForwardEachIcon;
exports.ForwardMergeIcon = ForwardMergeIcon;
exports.InvitationDark = InvitationDark;
exports.InvitationLight = InvitationLight;
exports.SearchDefaultIcon = SearchDefaultIcon;
exports.addSVG = addSVG;
exports.audioIcon = audioIcon$1;

View File

@@ -8010,9 +8010,9 @@ function isConsoleWritable() {
return isWritable;
}
function initRuntimeSocketService() {
const hosts = "192.168.0.116,127.0.0.1";
const hosts = "192.168.1.112,127.0.0.1";
const port = "8090";
const id = "mp-weixin_PIdUJZ";
const id = "mp-weixin_Hyt8Uj";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();

View File

@@ -3,7 +3,7 @@ const common_vendor = require("../common/vendor.js");
const components_addPrefixToHeaderIcon = require("./addPrefixToHeaderIcon.js");
function request(urldata) {
const { url, data, method, header, userInfo } = urldata;
const baseUrl = "http://192.168.0.218:8086/" + url;
const baseUrl = "http://120.26.251.180:8086/" + url;
if (userInfo) {
return new Promise((resolve, reject) => {
common_vendor.index.getStorage({

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="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="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 File

@@ -19,3 +19,26 @@
color: #100e0f;
font-weight: bold;
}
/* 建设中 */
.content.data-v-21360a99{
position: absolute;
top: 250rpx;
left: 0rpx;
right: 0rpx;
bottom: 100rpx;
}
.building.data-v-21360a99{
width: 100%;
height: 90%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.buildingTitle.data-v-21360a99{
font-size: 40rpx;
color: #999999;
font-weight: bold;
text-align: center;
margin-top: 50rpx;
}

View File

@@ -94,6 +94,15 @@ const _sfc_main = {
closePopup() {
this.$refs.popup.close();
},
//格式化日期
dateformat(date) {
const isoString = date.replace(" ", "T");
const timestamp = Date.parse(isoString);
if (isNaN(timestamp)) {
throw new Error(`Invalid date format: ${this.datetimesingle}`);
}
return Math.floor(timestamp / 1e3);
},
//确认弹窗
confirm() {
this.ConfirmStatus = true;
@@ -163,11 +172,11 @@ const _sfc_main = {
}
if (this.mindatetimesingle !== "") {
condition.pkTime = {
start: this.mindatetimesingle
start: this.dateformat(this.mindatetimesingle)
};
}
if (this.maxdatetimesingle !== "") {
condition.pkTime.end = this.maxdatetimesingle;
condition.pkTime.end = this.dateformat(this.maxdatetimesingle);
}
if (this.countrys !== "") {
condition.country = this.countrys;
@@ -281,7 +290,7 @@ const _sfc_main = {
},
formatDate: components_formatDate.formatDate,
async pkList(condition) {
common_vendor.index.__f__("log", "at pages/Home/Home.vue:485", condition);
common_vendor.index.__f__("log", "at pages/Home/Home.vue:494", "`````````````````````````````", condition);
const res = await components_request.request({
url: "pk/pkList",
method: "POST",
@@ -295,7 +304,7 @@ const _sfc_main = {
userInfo: false
});
if (res.code === 200) {
common_vendor.index.__f__("log", "at pages/Home/Home.vue:500", res.data);
common_vendor.index.__f__("log", "at pages/Home/Home.vue:509", "````````````````````````````````", res.data);
this.triggered = false;
if (condition.type === 1) {
this.MakeAppointmentPKlist.push(...res.data);
@@ -307,6 +316,9 @@ const _sfc_main = {
if (condition.type == this.listtype) {
this.list = this.RealTimePklist;
}
if (condition.type == null) {
this.list = this.RealTimePklist;
}
}
}
}

View File

@@ -34,7 +34,7 @@ const _sfc_main = {
this.getSignStatus();
this.getAnchorList();
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:254", res2.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:268", res2.msg);
}
});
}
@@ -55,7 +55,7 @@ const _sfc_main = {
this.userinfo = res.data;
common_vendor.index.setStorageSync("userinfo", res.data);
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:275", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:289", res.msg);
}
});
},
@@ -72,7 +72,7 @@ const _sfc_main = {
if (res.code == 200) {
this.AnchorList = res.data.slice(0, 4);
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:292", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:306", res.msg);
}
});
},
@@ -89,7 +89,7 @@ const _sfc_main = {
if (res.code == 200) {
this.SignStatus = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:310", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:323", res.msg);
}
});
},
@@ -112,7 +112,7 @@ const _sfc_main = {
this.getSignStatus();
this.getUserInfo();
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:333", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:346", res.msg);
}
});
},
@@ -133,7 +133,7 @@ const _sfc_main = {
if (res.code == 200) {
this.pkInformationdata = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:354", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:367", res.msg);
}
});
},
@@ -153,7 +153,7 @@ const _sfc_main = {
if (res.code == 200) {
this.myPkRecorddata = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:374", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:387", res.msg);
}
});
},
@@ -212,11 +212,19 @@ const _sfc_main = {
},
// 退出登录
logout() {
this.$refs.popupExpurgate.open("center");
},
//确认退出登录
onExpurgateConfirm() {
common_vendor.index.clearStorage();
common_vendor.A.logout();
common_vendor.index.reLaunch({
url: "/pages/login/login"
});
},
// 关闭弹窗
closePopupExpurgate() {
this.$refs.popupExpurgate.close();
}
},
components: {
@@ -225,11 +233,13 @@ const _sfc_main = {
};
if (!Array) {
const _easycom_tabBar2 = common_vendor.resolveComponent("tabBar");
_easycom_tabBar2();
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
(_easycom_tabBar2 + _easycom_uni_popup2)();
}
const _easycom_tabBar = () => "../../components/tabBar/tabBar.js";
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
if (!Math) {
_easycom_tabBar();
(_easycom_tabBar + _easycom_uni_popup)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
@@ -297,6 +307,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
z: common_vendor.o$1((...args) => $options.logout && $options.logout(...args)),
A: common_vendor.p({
tabIndex: 4
}),
B: common_vendor.o$1((...args) => $options.onExpurgateConfirm && $options.onExpurgateConfirm(...args)),
C: common_vendor.o$1((...args) => $options.closePopupExpurgate && $options.closePopupExpurgate(...args)),
D: common_vendor.sr("popupExpurgate", "402ad917-1"),
E: common_vendor.p({
type: "center",
["border-radius"]: "10px 10px 0 0"
})
});
}

View File

@@ -1,6 +1,7 @@
{
"navigationBarTitleText": "我的",
"usingComponents": {
"tab-bar": "../../components/tabBar/tabBar"
"tab-bar": "../../components/tabBar/tabBar",
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

File diff suppressed because one or more lines are too long

View File

@@ -239,3 +239,50 @@
font-size: 28.63rpx;
color: #333333;
}
.popup-container-expurgate.data-v-402ad917 {
width: 500rpx;
height: 300rpx;
background-color: #ffffff;
border-radius: 30rpx;
display: flex;
flex-direction: column;
align-items: center;
padding: 30rpx;
}
.popup-title.data-v-402ad917 {
font-size: 40rpx;
color: #161616;
font-weight: bold;
margin-top: 30rpx;
text-align: center;
}
.popup-btn.data-v-402ad917 {
margin-top: 80rpx;
display: flex;
justify-content: center;
}
.uni-primary.data-v-402ad917 {
width: 200rpx;
height: 70rpx;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-bottom-right-radius: 50rpx;
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
font-size: 25rpx;
color: #ffffff;
text-align: center;
line-height: 70rpx;
margin-right: 35rpx;
}
.uni-default.data-v-402ad917 {
width: 200rpx;
height: 70rpx;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-bottom-right-radius: 50rpx;
background-image: linear-gradient(135deg, #cecece, #d6d6d6);
font-size: 25rpx;
color: #161616;
text-align: center;
line-height: 70rpx;
}

View File

@@ -68,7 +68,7 @@ const _sfc_main = {
if (res.code == 200) {
this.AnchorList = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/anchorLibrary.vue:161", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/anchorLibrary.vue:164", res.msg);
}
});
},
@@ -100,9 +100,11 @@ if (!Array) {
(_component_uni_card + _component_anchorLibrary + _component_modifyStreamer)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
return common_vendor.e({
a: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
b: common_vendor.f($data.AnchorList, (item, index, i0) => {
b: $data.AnchorList.length !== 0
}, $data.AnchorList.length !== 0 ? {
c: common_vendor.f($data.AnchorList, (item, index, i0) => {
return common_vendor.e({
a: item.headerIcon,
b: common_vendor.t(item.anchorId),
@@ -118,17 +120,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
k: "daea6b33-0-" + i0
});
}),
c: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
d: $data.triggered,
e: common_vendor.o$1(($event) => $options.openPopupQuantity()),
f: common_vendor.sr("createModule", "daea6b33-1"),
g: common_vendor.o$1($options.getAnchorList),
h: common_vendor.sr("modifyStreamer", "daea6b33-2"),
i: common_vendor.o$1($options.getAnchorList),
j: common_vendor.p({
d: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
e: $data.triggered
} : {}, {
f: common_vendor.o$1(($event) => $options.openPopupQuantity()),
g: common_vendor.sr("createModule", "daea6b33-1"),
h: common_vendor.o$1($options.getAnchorList),
i: common_vendor.sr("modifyStreamer", "daea6b33-2"),
j: common_vendor.o$1($options.getAnchorList),
k: common_vendor.p({
message: $data.modifyStreamerMessage
})
};
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-daea6b33"]]);
wx.createPage(MiniProgramPage);

View File

@@ -1 +1 @@
<view class="anchor-library data-v-daea6b33"><view class="bg data-v-daea6b33"><image class="bgImg data-v-daea6b33" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-daea6b33" bindtap="{{a}}"><image class="ReturnImg data-v-daea6b33" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-daea6b33">主播库</view><view class="content data-v-daea6b33"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-daea6b33" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{c}}" lower-threshold="100" refresher-triggered="{{d}}"><uni-card wx:for="{{b}}" wx:for-item="item" wx:key="j" u-s="{{['d']}}" class="card data-v-daea6b33" u-i="{{item.k}}" bind:__l="__l"><view class="Profile data-v-daea6b33"><image class="data-v-daea6b33" src="{{item.a}}" style="width:89.12rpx;height:89.12rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Individual data-v-daea6b33"><view class="Name data-v-daea6b33">{{item.b}}</view><view class="Label data-v-daea6b33"><view class="data-v-daea6b33"><view class="{{['data-v-daea6b33', item.e && 'Gendermale', item.f && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-daea6b33" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/><image wx:else class="Genderimg data-v-daea6b33" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/><view class="age data-v-daea6b33">{{item.d}}</view></view></view><view class="state data-v-daea6b33">{{item.g}}</view></view></view><view class="handle data-v-daea6b33"><view class="recompose data-v-daea6b33" bindtap="{{item.h}}"><image class="data-v-daea6b33" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/recompose.png" mode="scaleToFill"/></view><view class="expurgate data-v-daea6b33" bindtap="{{item.i}}"><image class="data-v-daea6b33" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/expurgate.png" mode="scaleToFill"/></view></view></uni-card></scroll-view></view><view class="addition data-v-daea6b33" bindtap="{{e}}"></view></view><anchor-library class="createModule r data-v-daea6b33" u-r="createModule" bindRefresh="{{g}}" u-i="daea6b33-1" bind:__l="__l"></anchor-library><modify-streamer wx:if="{{j}}" u-r="modifyStreamer" class="createModule r data-v-daea6b33" bindRefresh="{{i}}" u-i="daea6b33-2" bind:__l="__l" u-p="{{j}}"></modify-streamer>
<view class="anchor-library data-v-daea6b33"><view class="bg data-v-daea6b33"><image class="bgImg data-v-daea6b33" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-daea6b33" bindtap="{{a}}"><image class="ReturnImg data-v-daea6b33" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-daea6b33">主播库</view><view class="content data-v-daea6b33"><scroll-view wx:if="{{b}}" show-scrollbar="false" scroll-y="true" class="scroll data-v-daea6b33" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{d}}" lower-threshold="100" refresher-triggered="{{e}}"><uni-card wx:for="{{c}}" wx:for-item="item" wx:key="j" u-s="{{['d']}}" class="card data-v-daea6b33" u-i="{{item.k}}" bind:__l="__l"><view class="Profile data-v-daea6b33"><image class="data-v-daea6b33" src="{{item.a}}" style="width:89.12rpx;height:89.12rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Individual data-v-daea6b33"><view class="Name data-v-daea6b33">{{item.b}}</view><view class="Label data-v-daea6b33"><view class="data-v-daea6b33"><view class="{{['data-v-daea6b33', item.e && 'Gendermale', item.f && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-daea6b33" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/><image wx:else class="Genderimg data-v-daea6b33" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/><view class="age data-v-daea6b33">{{item.d}}</view></view></view><view class="state data-v-daea6b33">{{item.g}}</view></view></view><view class="handle data-v-daea6b33"><view class="recompose data-v-daea6b33" bindtap="{{item.h}}"><image class="data-v-daea6b33" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/recompose.png" mode="scaleToFill"/></view><view class="expurgate data-v-daea6b33" bindtap="{{item.i}}"><image class="data-v-daea6b33" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/expurgate.png" mode="scaleToFill"/></view></view></uni-card></scroll-view><view wx:else class="empty data-v-daea6b33">暂无内容</view></view><view class="addition data-v-daea6b33" bindtap="{{f}}"></view></view><anchor-library class="createModule r data-v-daea6b33" u-r="createModule" bindRefresh="{{h}}" u-i="daea6b33-1" bind:__l="__l"></anchor-library><modify-streamer wx:if="{{k}}" u-r="modifyStreamer" class="createModule r data-v-daea6b33" bindRefresh="{{j}}" u-i="daea6b33-2" bind:__l="__l" u-p="{{k}}"></modify-streamer>

View File

@@ -38,6 +38,18 @@
height: 1300rpx;
width: 100%;
}
.empty.data-v-daea6b33{
position: absolute;
top: 200rpx;
left: 0;
right: 0;
height: 1300rpx;
width: 100%;
line-height: 1300rpx;
text-align: center;
font-size: 30rpx;
color: #a3a3a3;
}
.card.data-v-daea6b33 {
width: 695rpx;
height: 180rpx;

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>
<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 File

@@ -30,3 +30,26 @@
width: 100%;
height: 100%;
}
/* 建设中 */
.content.data-v-2f1f017b{
position: absolute;
top: 250rpx;
left: 0rpx;
right: 0rpx;
bottom: 100rpx;
}
.building.data-v-2f1f017b{
width: 100%;
height: 90%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.buildingTitle.data-v-2f1f017b{
font-size: 40rpx;
color: #999999;
font-weight: bold;
text-align: center;
margin-top: 50rpx;
}

View File

@@ -70,7 +70,7 @@ const _sfc_main = {
this.pkList.push(...res.data);
this.triggered = false;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:214", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:217", res.msg);
}
});
},
@@ -95,11 +95,7 @@ const _sfc_main = {
this.topPinnedPersondata = {};
},
onTopConfirm() {
if (Math.ceil(Date.now() / 1e3 + Number(this.pickerArray[this.index]) * 3600) <= this.topPinnedPersondata.pkTime) {
this.Topdate = Math.ceil(Date.now() / 1e3 + Number(this.pickerArray[this.index]) * 3600);
} else {
this.Topdate = this.topPinnedPersondata.pkTime;
}
this.Topdate = Math.ceil(Date.now() / 1e3 + Number(this.pickerArray[this.index]) * 3600);
components_request.request({
url: "user/pinToTop",
method: "POST",
@@ -150,7 +146,7 @@ const _sfc_main = {
duration: 3e3
});
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:295", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:293", res.msg);
}
});
},
@@ -213,9 +209,11 @@ if (!Math) {
_easycom_uni_popup();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
return common_vendor.e({
a: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
b: common_vendor.f($data.pkList, (item, index, i0) => {
b: $data.pkList.length !== 0
}, $data.pkList.length !== 0 ? {
c: common_vendor.f($data.pkList, (item, index, i0) => {
return common_vendor.e({
a: item.anchorIcon,
b: common_vendor.t(item.anchorId),
@@ -244,40 +242,43 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
r: "36b7ee78-0-" + i0
});
}),
c: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
d: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
e: $data.triggered,
f: common_vendor.sr("createModule", "36b7ee78-1"),
g: common_vendor.o$1($options.onRefresherRefresh),
h: common_vendor.p({
d: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
e: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
f: $data.triggered
} : {}, {
g: $data.pkList.length === 0
}, $data.pkList.length === 0 ? {} : {}, {
h: common_vendor.sr("createModule", "36b7ee78-1"),
i: common_vendor.o$1($options.onRefresherRefresh),
j: common_vendor.p({
message: $data.parentMessage
}),
i: common_vendor.t($data.pickerArray[$data.index]),
j: $data.pickerArray,
k: $data.index,
l: common_vendor.o$1((...args) => $options.bindPickerChange && $options.bindPickerChange(...args)),
m: common_vendor.o$1((...args) => $options.onTopConfirm && $options.onTopConfirm(...args)),
n: common_vendor.o$1((...args) => $options.closePopup && $options.closePopup(...args)),
o: common_vendor.sr("popup", "36b7ee78-2"),
p: common_vendor.p({
k: common_vendor.t($data.pickerArray[$data.index]),
l: $data.pickerArray,
m: $data.index,
n: common_vendor.o$1((...args) => $options.bindPickerChange && $options.bindPickerChange(...args)),
o: common_vendor.o$1((...args) => $options.onTopConfirm && $options.onTopConfirm(...args)),
p: common_vendor.o$1((...args) => $options.closePopup && $options.closePopup(...args)),
q: common_vendor.sr("popup", "36b7ee78-2"),
r: common_vendor.p({
type: "center",
["border-radius"]: "10px 10px 0 0"
}),
q: common_vendor.o$1((...args) => $options.onOutTopConfirm && $options.onOutTopConfirm(...args)),
r: common_vendor.o$1((...args) => $options.closePopupOut && $options.closePopupOut(...args)),
s: common_vendor.sr("popupOut", "36b7ee78-3"),
t: common_vendor.p({
s: common_vendor.o$1((...args) => $options.onOutTopConfirm && $options.onOutTopConfirm(...args)),
t: common_vendor.o$1((...args) => $options.closePopupOut && $options.closePopupOut(...args)),
v: common_vendor.sr("popupOut", "36b7ee78-3"),
w: common_vendor.p({
type: "center",
["border-radius"]: "10px 10px 0 0"
}),
v: common_vendor.o$1((...args) => $options.onExpurgateConfirm && $options.onExpurgateConfirm(...args)),
w: common_vendor.o$1((...args) => $options.closePopupExpurgate && $options.closePopupExpurgate(...args)),
x: common_vendor.sr("popupExpurgate", "36b7ee78-4"),
y: common_vendor.p({
x: common_vendor.o$1((...args) => $options.onExpurgateConfirm && $options.onExpurgateConfirm(...args)),
y: common_vendor.o$1((...args) => $options.closePopupExpurgate && $options.closePopupExpurgate(...args)),
z: common_vendor.sr("popupExpurgate", "36b7ee78-4"),
A: common_vendor.p({
type: "center",
["border-radius"]: "10px 10px 0 0"
})
};
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-36b7ee78"]]);
wx.createPage(MiniProgramPage);

File diff suppressed because one or more lines are too long

View File

@@ -38,6 +38,18 @@
height: 1300rpx;
width: 100%;
}
.no-data.data-v-36b7ee78{
position: absolute;
top: 200rpx;
left: 0;
right: 0;
height: 1300rpx;
width: 100%;
line-height: 1300rpx;
text-align: center;
font-size: 30rpx;
color: #959595;
}
.card.data-v-36b7ee78 {
width: 695rpx;
height: 180rpx;
@@ -156,12 +168,13 @@
}
.popup-container.data-v-36b7ee78{
width: 500rpx;
height: 300rpx;
height: 500rpx;
background-color: #ffffff;
border-radius: 30rpx;
display: flex;
flex-direction: column;
align-items: center;
padding: 30rpx;
}
.popup-container-out.data-v-36b7ee78{
width: 500rpx;
@@ -193,32 +206,33 @@
font-size: 25rpx;
color: #959595;
margin-top: 30rpx;
width: 400rpx;
}
.popup-picker.data-v-36b7ee78{
margin-top: 30rpx;
width: 400rpx;
height: 50rpx;
margin-top: 60rpx;
width: 450rpx;
height: 60rpx;
border: #5bced1 solid 1rpx;
border-radius: 15rpx;
}
.uni-input.data-v-36b7ee78{
font-size: 30rpx;
color: #ffffff;
width: 400rpx;
height: 50rpx;
width: 450rpx;
height: 60rpx;
text-align: center;
line-height: 50rpx;
line-height: 60rpx;
background-color: #5bced1;
border-radius: 15rpx;
}
.popup-btn.data-v-36b7ee78{
margin-top: 30rpx;
margin-top: 60rpx;
display: flex;
justify-content: center;
}
.uni-primary.data-v-36b7ee78{
width: 150rpx;
height: 50rpx;
width: 200rpx;
height: 60rpx;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-bottom-right-radius: 50rpx;
@@ -226,12 +240,12 @@
font-size: 25rpx;
color: #ffffff;
text-align: center;
line-height: 50rpx;
margin-right: 20rpx;
line-height: 60rpx;
margin-right: 30rpx;
}
.uni-default.data-v-36b7ee78{
width: 150rpx;
height: 50rpx;
width: 200rpx;
height: 60rpx;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-bottom-right-radius: 50rpx;
@@ -239,5 +253,5 @@
font-size: 25rpx;
color: #161616;
text-align: center;
line-height: 50rpx;
line-height: 60rpx;
}

View File

@@ -106,7 +106,7 @@ const _sfc_main = {
}
}
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:190", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:192", res.msg);
}
});
},
@@ -127,7 +127,7 @@ if (!Array) {
_component_uni_card();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
return common_vendor.e({
a: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
b: common_vendor.o$1(($event) => $options.toggleActive(1)),
c: $data.current === 1 ? 1 : "",
@@ -135,7 +135,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
e: $data.current === 2 ? 1 : "",
f: common_vendor.t($data.slidetext),
g: $options.sliderPosition + "rpx",
h: common_vendor.f($data.pkRecordlist, (item, index, i0) => {
h: $data.pkRecordlist.length !== 0
}, $data.pkRecordlist.length !== 0 ? {
i: common_vendor.f($data.pkRecordlist, (item, index, i0) => {
return common_vendor.e({
a: item.anchorIconA,
b: item.winnerAnchorId == item.anchorIdA
@@ -160,10 +162,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
o: "6fa696de-0-" + i0
});
}),
i: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
j: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
k: $data.triggered
};
j: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
k: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
l: $data.triggered
} : {}, {
m: $data.pkRecordlist.length === 0
}, $data.pkRecordlist.length === 0 ? {} : {});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6fa696de"]]);
wx.createPage(MiniProgramPage);

View File

@@ -1 +1 @@
<view class="pkRecord data-v-6fa696de"><view class="bg data-v-6fa696de"><image class="bgImg data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-6fa696de" bindtap="{{a}}"><image class="ReturnImg data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-6fa696de">PK记录</view><view class="navigation data-v-6fa696de"><view class="navigationItem data-v-6fa696de"><view bindtap="{{b}}" class="{{['navigationItemTitle', 'data-v-6fa696de', c && 'active']}}">我发布的PK</view><view bindtap="{{d}}" class="{{['navigationItemTitle', 'data-v-6fa696de', e && 'active']}}">我邀请的PK</view></view><view class="slide data-v-6fa696de" style="{{'left:' + g + ';' + ('transition:' + 'left 0.3s ease-in-out')}}">{{f}}</view></view><view class="content data-v-6fa696de"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-6fa696de" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{i}}" lower-threshold="100" bindscrolltolower="{{j}}" refresher-triggered="{{k}}"><uni-card wx:for="{{h}}" wx:for-item="item" wx:key="n" class="data-v-6fa696de" u-s="{{['d']}}" u-i="{{item.o}}" bind:__l="__l"><view class="card data-v-6fa696de" bindtap="{{item.m}}"><view class="AnchorA data-v-6fa696de"><view class="AnchorAImg data-v-6fa696de"><image class="AnchorAImgcss data-v-6fa696de" src="{{item.a}}" mode="scaleToFill"/></view><image wx:if="{{item.b}}" class="Crown data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/><view class="AnchorAinfo data-v-6fa696de"><view class="AnchorAname data-v-6fa696de">{{item.c}}</view><view class="AnchorATime data-v-6fa696de">{{item.d}}</view><view wx:if="{{item.e}}" class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.f}}K</view></view></view></view><view class="vstext data-v-6fa696de"><view class="Vtext data-v-6fa696de">V</view><view class="Stext data-v-6fa696de">S</view></view><view class="AnchorB data-v-6fa696de"><view class="AnchorBinfo data-v-6fa696de"><view class="AnchorAname data-v-6fa696de">{{item.g}}</view><view class="AnchorATime data-v-6fa696de">{{item.h}}</view><view wx:if="{{item.i}}" class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际打金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.j}}K</view></view></view><view class="AnchorAImg data-v-6fa696de"><image class="AnchorBImgcss data-v-6fa696de" src="{{item.k}}" mode="scaleToFill"/></view><image wx:if="{{item.l}}" class="Crown data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view>
<view class="pkRecord data-v-6fa696de"><view class="bg data-v-6fa696de"><image class="bgImg data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-6fa696de" bindtap="{{a}}"><image class="ReturnImg data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-6fa696de">PK记录</view><view class="navigation data-v-6fa696de"><view class="navigationItem data-v-6fa696de"><view bindtap="{{b}}" class="{{['navigationItemTitle', 'data-v-6fa696de', c && 'active']}}">我发布的PK</view><view bindtap="{{d}}" class="{{['navigationItemTitle', 'data-v-6fa696de', e && 'active']}}">我邀请的PK</view></view><view class="slide data-v-6fa696de" style="{{'left:' + g + ';' + ('transition:' + 'left 0.3s ease-in-out')}}">{{f}}</view></view><view class="content data-v-6fa696de"><scroll-view wx:if="{{h}}" show-scrollbar="false" scroll-y="true" class="scroll data-v-6fa696de" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{j}}" lower-threshold="100" bindscrolltolower="{{k}}" refresher-triggered="{{l}}"><uni-card wx:for="{{i}}" wx:for-item="item" wx:key="n" class="data-v-6fa696de" u-s="{{['d']}}" u-i="{{item.o}}" bind:__l="__l"><view class="card data-v-6fa696de" bindtap="{{item.m}}"><view class="AnchorA data-v-6fa696de"><view class="AnchorAImg data-v-6fa696de"><image class="AnchorAImgcss data-v-6fa696de" src="{{item.a}}" mode="scaleToFill"/></view><image wx:if="{{item.b}}" class="Crown data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/><view class="AnchorAinfo data-v-6fa696de"><view class="AnchorAname data-v-6fa696de">{{item.c}}</view><view class="AnchorATime data-v-6fa696de">{{item.d}}</view><view wx:if="{{item.e}}" class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.f}}K</view></view></view></view><view class="vstext data-v-6fa696de"><view class="Vtext data-v-6fa696de">V</view><view class="Stext data-v-6fa696de">S</view></view><view class="AnchorB data-v-6fa696de"><view class="AnchorBinfo data-v-6fa696de"><view class="AnchorAname data-v-6fa696de">{{item.g}}</view><view class="AnchorATime data-v-6fa696de">{{item.h}}</view><view wx:if="{{item.i}}" class="AnchorAICon data-v-6fa696de"><view class="AnchorAIContext data-v-6fa696de">实际打金币:</view><view class="AnchorAIConNum data-v-6fa696de">{{item.j}}K</view></view></view><view class="AnchorAImg data-v-6fa696de"><image class="AnchorBImgcss data-v-6fa696de" src="{{item.k}}" mode="scaleToFill"/></view><image wx:if="{{item.l}}" class="Crown data-v-6fa696de" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view></view></uni-card></scroll-view><view wx:if="{{m}}" class="nodata data-v-6fa696de">暂无内容</view></view></view>

View File

@@ -82,6 +82,14 @@
flex-direction: column;
align-items: center;
}
.nodata.data-v-6fa696de {
width: 100%;
height: 100%;
line-height: 1300rpx;
text-align: center;
font-size: 30rpx;
color: #a3a3a3;
}
/* 卡片 */
.card.data-v-6fa696de {
width: 694.66rpx;

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>
<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 File

@@ -30,3 +30,26 @@
width: 100%;
height: 100%;
}
/* 建设中 */
.content.data-v-38749331{
position: absolute;
top: 250rpx;
left: 0rpx;
right: 0rpx;
bottom: 100rpx;
}
.building.data-v-38749331{
width: 100%;
height: 90%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.buildingTitle.data-v-38749331{
font-size: 40rpx;
color: #999999;
font-weight: bold;
text-align: center;
margin-top: 50rpx;
}

View File

@@ -64,6 +64,7 @@ const _sfc_main = {
this.ReceiverData = res.data;
});
},
//返回上一页
goBack() {
common_vendor.wx$1.navigateBack({
delta: 1

View File

@@ -84,7 +84,7 @@ const _sfc_main = {
}
});
}).catch((err) => {
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:108", err);
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:109", err);
});
}
}
@@ -94,8 +94,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
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)),
e: common_vendor.o$1((...args) => $options.cancel && $options.cancel(...args))
d: $data.name,
e: common_vendor.o$1(($event) => $data.name = $event.detail.value),
f: common_vendor.o$1((...args) => $options.wxLogin && $options.wxLogin(...args)),
g: common_vendor.o$1((...args) => $options.cancel && $options.cancel(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3c55a289"]]);

View File

@@ -1 +1 @@
<view class="container data-v-3c55a289"><button class="login-btn data-v-3c55a289" open-type="chooseAvatar" bindchooseavatar="{{b}}"><image class="avatar data-v-3c55a289" src="{{a}}"></image></button><input type="nickname" class="weui-input data-v-3c55a289" placeholder="请输入昵称" bindblur="{{c}}"/><button class="weui-btn data-v-3c55a289" bindtap="{{d}}">修改</button><button class="weui-btn data-v-3c55a289" bindtap="{{e}}">取消</button></view>
<view class="container data-v-3c55a289"><button class="login-btn data-v-3c55a289" open-type="chooseAvatar" bindchooseavatar="{{b}}"><image class="avatar data-v-3c55a289" src="{{a}}"></image></button><input type="nickname" class="weui-input data-v-3c55a289" placeholder="请输入昵称" bindblur="{{c}}" value="{{d}}" bindinput="{{e}}"/><button class="weui-btn data-v-3c55a289" bindtap="{{f}}">修改</button><button class="weui-btn data-v-3c55a289" bindtap="{{g}}">取消</button></view>

View File

@@ -68,13 +68,6 @@ const _sfc_main = {
this.userlist();
},
invite() {
if (this.item.pkTime !== this.list[this.InvitingPartyEventindex].pkTime) {
common_vendor.index.showToast({
icon: "none",
title: "请保持时间一致"
});
return;
}
const conversationID = `C2C${this.item.senderId}`;
const myitem = JSON.stringify(this.list[this.InvitingPartyEventindex]);
const youritem = JSON.stringify(this.item);
@@ -87,7 +80,7 @@ const _sfc_main = {
},
openChat() {
const conversationID = `C2C${this.item.senderId}`;
common_vendor.index.redirectTo({
common_vendor.index.navigateTo({
url: `/TUIKit/components/TUIChat/index?conversationID=${conversationID}`
});
},

View File

@@ -109,7 +109,7 @@ const _sfc_main = {
if (res.code == 200) {
this.AnchorList = res.data;
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:302", res.msg);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:300", res.msg);
}
});
},