优化页面
This commit is contained in:
6
unpackage/dist/dev/mp-weixin/NewAddedPk.js
vendored
6
unpackage/dist/dev/mp-weixin/NewAddedPk.js
vendored
@@ -45,13 +45,15 @@ const _sfc_main = {
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
//性别
|
||||
gender(item) {
|
||||
this.genders = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:182", item);
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:183", item);
|
||||
},
|
||||
//国家
|
||||
country(item) {
|
||||
this.countrys = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:187", item);
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:188", item);
|
||||
},
|
||||
handleOverlayClick(event) {
|
||||
if (event.target === this.$el) {
|
||||
|
||||
@@ -8,11 +8,14 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
setup(__props, { emit: __emit }) {
|
||||
const currentConversation = common_vendor.ref();
|
||||
const typingStatus = common_vendor.ref(false);
|
||||
const setChatHeaderContent = (content) => {
|
||||
var _a;
|
||||
(_a = common_vendor.i) == null ? void 0 : _a.setNavigationBarTitle({
|
||||
title: content || "云通信 IM"
|
||||
const Title = common_vendor.ref("Global");
|
||||
function Returnfunc() {
|
||||
common_vendor.index.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
}
|
||||
const setChatHeaderContent = (content) => {
|
||||
Title.value = content || "Global";
|
||||
};
|
||||
common_vendor.onMounted(() => {
|
||||
common_vendor.Jt.watch(common_vendor.o.CONV, {
|
||||
@@ -45,13 +48,16 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
var _a;
|
||||
typingStatus.value = status;
|
||||
if (typingStatus.value) {
|
||||
setChatHeaderContent(common_vendor.Wt.t("TUIChat.对方正在输入"));
|
||||
setChatHeaderContent(common_vendor.Wt.t("TUIChat.对方正在输入..."));
|
||||
} else {
|
||||
setChatHeaderContent((_a = currentConversation.value) == null ? void 0 : _a.getShowName());
|
||||
}
|
||||
}
|
||||
return (_ctx, _cache) => {
|
||||
return {};
|
||||
return {
|
||||
a: common_vendor.t(common_vendor.unref(Title)),
|
||||
b: common_vendor.o$1(Returnfunc)
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view style="display:flex"/>
|
||||
<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>
|
||||
@@ -0,0 +1,34 @@
|
||||
|
||||
.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;
|
||||
font-size: 36rpx;
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.Navigation{
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 999;
|
||||
width: 100%;
|
||||
height: 240rpx;
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="dingweizhibox data-v-04dfedea"></view><view class="chat data-v-04dfedea"><view class="{{['data-v-04dfedea', 'tui-chat', O]}}"><view wx:if="{{a}}" class="{{['data-v-04dfedea', 'tui-chat-default', b]}}"><slot/></view><view wx:if="{{c}}" class="{{['data-v-04dfedea', 'tui-chat', K]}}"><chat-header wx:if="{{h}}" class="{{['data-v-04dfedea', 'tui-chat-header', d, e]}}" bindcloseChat="{{f}}" bindopenGroupManagement="{{g}}" u-i="04dfedea-0" bind:__l="__l" u-p="{{h}}"/><forward class="data-v-04dfedea" bindtoggleMultipleSelectMode="{{i}}" u-i="04dfedea-1" bind:__l="__l"/><message-list wx:if="{{o}}" u-r="messageListRef" class="{{['r', 'data-v-04dfedea', 'tui-chat-message-list', k]}}" bindhandleEditor="{{l}}" bindcloseInputToolBar="{{m}}" bindtoggleMultipleSelectMode="{{n}}" u-i="04dfedea-2" bind:__l="__l" u-p="{{o}}"/><view wx:if="{{p}}" class="{{['data-v-04dfedea', 'tui-chat-leave-group', r && 'tui-chat-leave-group-mobile']}}">{{q}}</view><multiple-select-panel wx:elif="{{s}}" class="data-v-04dfedea" bindoneByOneForwardMessage="{{t}}" bindmergeForwardMessage="{{v}}" bindtoggleMultipleSelectMode="{{w}}" u-i="04dfedea-3" bind:__l="__l"/><block wx:else><message-input-toolbar wx:if="{{x}}" class="{{['data-v-04dfedea', 'tui-chat-message-input-toolbar', y, z]}}" bindinsertEmoji="{{A}}" bindchangeToolbarDisplayType="{{B}}" bindscrollToLatestMessage="{{C}}" u-i="04dfedea-4" bind:__l="__l" u-p="{{D}}"/><message-input wx:if="{{J}}" u-r="messageInputRef" class="{{['r', 'data-v-04dfedea', 'tui-chat-message-input', F, G, H]}}" bindchangeToolbarDisplayType="{{I}}" u-i="04dfedea-5" bind:__l="__l" u-p="{{J}}"/></block></view><view wx:if="{{L}}" class="group-profile data-v-04dfedea" bindtap="{{N}}">{{M}}</view></view></view>
|
||||
<chat-header class="ChatHeadercss data-v-04dfedea" u-i="04dfedea-0" bind:__l="__l"/><view class="dingweizhibox data-v-04dfedea"></view><view class="chat data-v-04dfedea"><view class="{{['data-v-04dfedea', 'tui-chat', J]}}"><view wx:if="{{a}}" class="{{['data-v-04dfedea', 'tui-chat-default', b]}}"><slot/></view><view wx:if="{{c}}" class="{{['data-v-04dfedea', 'tui-chat', F]}}"><forward class="data-v-04dfedea" bindtoggleMultipleSelectMode="{{d}}" u-i="04dfedea-1" bind:__l="__l"/><message-list wx:if="{{j}}" u-r="messageListRef" class="{{['r', 'data-v-04dfedea', 'tui-chat-message-list', f]}}" bindhandleEditor="{{g}}" bindcloseInputToolBar="{{h}}" bindtoggleMultipleSelectMode="{{i}}" u-i="04dfedea-2" bind:__l="__l" u-p="{{j}}"/><view wx:if="{{k}}" class="{{['data-v-04dfedea', 'tui-chat-leave-group', m && 'tui-chat-leave-group-mobile']}}">{{l}}</view><multiple-select-panel wx:elif="{{n}}" class="data-v-04dfedea" bindoneByOneForwardMessage="{{o}}" bindmergeForwardMessage="{{p}}" bindtoggleMultipleSelectMode="{{q}}" u-i="04dfedea-3" bind:__l="__l"/><block wx:else><message-input-toolbar wx:if="{{r}}" class="{{['data-v-04dfedea', 'tui-chat-message-input-toolbar', s, t]}}" bindinsertEmoji="{{v}}" bindchangeToolbarDisplayType="{{w}}" bindscrollToLatestMessage="{{x}}" u-i="04dfedea-4" bind:__l="__l" u-p="{{y}}"/><message-input wx:if="{{E}}" u-r="messageInputRef" class="{{['r', 'data-v-04dfedea', 'tui-chat-message-input', A, B, C]}}" bindchangeToolbarDisplayType="{{D}}" u-i="04dfedea-5" bind:__l="__l" u-p="{{E}}"/></block></view><view wx:if="{{G}}" class="group-profile data-v-04dfedea" bindtap="{{I}}">{{H}}</view></view></view>
|
||||
@@ -650,58 +650,11 @@ input.data-v-04dfedea:focus, input.data-v-04dfedea:active, textarea.data-v-04dfe
|
||||
width: 100%;
|
||||
height: 15%;
|
||||
}
|
||||
.tui-chat{
|
||||
width: 100%;
|
||||
height: 15%;
|
||||
}
|
||||
.tui-chat-h5 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.tui-chat-uniapp-header{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.Navigation {
|
||||
width: 100%;
|
||||
height: 10%;
|
||||
.ChatHeadercss{
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 999;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.Navigationimg {
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.Navigation {
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
z-index: 999;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.Return {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
position: absolute;
|
||||
top: 100rpx;
|
||||
left: 40rpx;
|
||||
z-index: 999;
|
||||
}
|
||||
.Navigation-name{
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
position: absolute;
|
||||
top: 100rpx;
|
||||
left: 300rpx;
|
||||
z-index: 999;
|
||||
height: 15%;
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="Navigation-left data-v-40b33296"></view><view class="Navigation data-v-40b33296"><image src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Navigationimg.png" mode="scaleToFill" class="Navigationimg data-v-40b33296"/><view class="Return data-v-40b33296">消息</view></view><view class="tui-conversation data-v-40b33296" bindtap="{{g}}" bindtouchstart="{{h}}" bindtouchend="{{i}}"><t-u-i-search wx:if="{{a}}" class="data-v-40b33296" u-i="40b33296-0" bind:__l="__l" u-p="{{a}}"/><conversation-header wx:if="{{b}}" class="r data-v-40b33296" u-r="headerRef" u-i="40b33296-1" bind:__l="__l"/><conversation-network class="data-v-40b33296" u-i="40b33296-2" bind:__l="__l"/><conversation-list u-r="conversationListDomRef" class="tui-conversation-list r data-v-40b33296" bindhandleSwitchConversation="{{e}}" bindgetPassingRef="{{f}}" u-i="40b33296-3" bind:__l="__l"/></view><view class="data-v-40b33296"><tab-bar wx:if="{{j}}" class="data-v-40b33296" u-i="40b33296-4" bind:__l="__l" u-p="{{j}}"></tab-bar></view>
|
||||
<view class="Navigation data-v-40b33296"><image src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Navigationimg.png" mode="scaleToFill" class="Navigationimg data-v-40b33296"/><view class="Return data-v-40b33296">消息</view></view><view class="tui-conversation data-v-40b33296" bindtap="{{g}}" bindtouchstart="{{h}}" bindtouchend="{{i}}"><t-u-i-search wx:if="{{a}}" class="data-v-40b33296" u-i="40b33296-0" bind:__l="__l" u-p="{{a}}"/><conversation-header wx:if="{{b}}" class="r data-v-40b33296" u-r="headerRef" u-i="40b33296-1" bind:__l="__l"/><conversation-network class="data-v-40b33296" u-i="40b33296-2" bind:__l="__l"/><conversation-list u-r="conversationListDomRef" class="tui-conversation-list r data-v-40b33296" bindhandleSwitchConversation="{{e}}" bindgetPassingRef="{{f}}" u-i="40b33296-3" bind:__l="__l"/></view><view class="data-v-40b33296"><tab-bar wx:if="{{j}}" class="data-v-40b33296" u-i="40b33296-4" bind:__l="__l" u-p="{{j}}"></tab-bar></view>
|
||||
@@ -172,60 +172,13 @@ input.data-v-04dfedea:focus, input.data-v-04dfedea:active, textarea.data-v-04dfe
|
||||
width: 100%;
|
||||
height: 15%;
|
||||
}
|
||||
.tui-chat{
|
||||
width: 100%;
|
||||
height: 15%;
|
||||
}
|
||||
.tui-chat-h5 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.tui-chat-uniapp-header{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.Navigation {
|
||||
width: 100%;
|
||||
height: 10%;
|
||||
.ChatHeadercss{
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 999;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.Navigationimg {
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.Navigation {
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
z-index: 999;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.Return {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
position: absolute;
|
||||
top: 100rpx;
|
||||
left: 40rpx;
|
||||
z-index: 999;
|
||||
}
|
||||
.Navigation-name{
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
position: absolute;
|
||||
top: 100rpx;
|
||||
left: 300rpx;
|
||||
z-index: 999;
|
||||
height: 15%;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -33,24 +33,25 @@ const _sfc_main$4 = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
const counter = stores_counter.useCounterStore();
|
||||
let myitem = common_vendor.ref();
|
||||
let youritem = common_vendor.ref();
|
||||
common_vendor.ref();
|
||||
common_vendor.onLoad((options) => {
|
||||
TUIKit_components_TUIChat_entryChatOnly.initChat(options);
|
||||
myitem.value = JSON.parse(options.myitem);
|
||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/index.vue:152", myitem.value);
|
||||
youritem.value = JSON.parse(options.youritem);
|
||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/index.vue:154", youritem.value);
|
||||
counter.$patch({ youritem: youritem.value });
|
||||
setTimeout(() => {
|
||||
sendCustomMessage(myitem.value, youritem.value);
|
||||
}, 1e3);
|
||||
try {
|
||||
myitem.value = JSON.parse(options.myitem);
|
||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/index.vue:124", myitem.value);
|
||||
youritem.value = JSON.parse(options.youritem);
|
||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/index.vue:126", youritem.value);
|
||||
counter.$patch({ youritem: youritem.value });
|
||||
setTimeout(() => {
|
||||
sendCustomMessage(myitem.value, youritem.value);
|
||||
}, 1e3);
|
||||
} catch (e) {
|
||||
}
|
||||
});
|
||||
common_vendor.onUnload(() => {
|
||||
TUIKit_components_TUIChat_entryChatOnly.logout(false).then(() => {
|
||||
}).catch(() => {
|
||||
});
|
||||
});
|
||||
const emits = __emit;
|
||||
const groupID = common_vendor.ref(void 0);
|
||||
const isGroup = common_vendor.ref(false);
|
||||
const isNotInGroup = common_vendor.ref(false);
|
||||
@@ -62,6 +63,7 @@ const _sfc_main$4 = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
const messageListRef = common_vendor.ref();
|
||||
const headerExtensionList = common_vendor.ref([]);
|
||||
const featureConfig = TUIKit_components_TUIChat_config.ChatConfig.getFeatureConfig();
|
||||
common_vendor.ref("0px");
|
||||
common_vendor.onMounted(() => {
|
||||
common_vendor.Jt.watch(common_vendor.o.CONV, {
|
||||
currentConversation: onCurrentConversationUpdate
|
||||
@@ -101,7 +103,7 @@ const _sfc_main$4 = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
}).then((res) => {
|
||||
var _a, _b, _c, _d, _e;
|
||||
if (res.code === 200) {
|
||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/index.vue:230", "发送成功", res.data);
|
||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/index.vue:203", "发送成功", res.data);
|
||||
const keyid = components_generateMsgId.generateMsgId();
|
||||
const payload = {
|
||||
data: JSON.stringify({
|
||||
@@ -182,10 +184,6 @@ const _sfc_main$4 = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
const reset = () => {
|
||||
common_vendor.Xt.switchConversation("");
|
||||
};
|
||||
const closeChat = (conversationID) => {
|
||||
emits("closeChat", conversationID);
|
||||
reset();
|
||||
};
|
||||
const insertEmoji = (emojiObj) => {
|
||||
var _a;
|
||||
(_a = messageInputRef.value) == null ? void 0 : _a.insertEmoji(emojiObj);
|
||||
@@ -292,56 +290,48 @@ const _sfc_main$4 = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
} : {}, {
|
||||
c: common_vendor.unref(currentConversationID)
|
||||
}, common_vendor.unref(currentConversationID) ? common_vendor.e({
|
||||
d: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "tui-chat-H5-header"),
|
||||
e: common_vendor.n(common_vendor.unref(TUIKit_utils_env.isUniFrameWork) && "tui-chat-uniapp-header"),
|
||||
f: common_vendor.o$1(closeChat),
|
||||
g: common_vendor.o$1(handleGroup),
|
||||
h: common_vendor.p({
|
||||
isGroup: common_vendor.unref(isGroup),
|
||||
headerExtensionList: common_vendor.unref(headerExtensionList)
|
||||
}),
|
||||
i: common_vendor.o$1(toggleMultipleSelectMode),
|
||||
j: common_vendor.sr(messageListRef, "04dfedea-2", {
|
||||
d: common_vendor.o$1(toggleMultipleSelectMode),
|
||||
e: common_vendor.sr(messageListRef, "04dfedea-2", {
|
||||
"k": "messageListRef"
|
||||
}),
|
||||
k: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "tui-chat-h5-message-list"),
|
||||
l: common_vendor.o$1(handleEditor),
|
||||
m: common_vendor.o$1(() => changeToolbarDisplayType("none")),
|
||||
n: common_vendor.o$1(toggleMultipleSelectMode),
|
||||
o: common_vendor.p({
|
||||
f: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "tui-chat-h5-message-list"),
|
||||
g: common_vendor.o$1(handleEditor),
|
||||
h: common_vendor.o$1(() => changeToolbarDisplayType("none")),
|
||||
i: common_vendor.o$1(toggleMultipleSelectMode),
|
||||
j: common_vendor.p({
|
||||
isGroup: common_vendor.unref(isGroup),
|
||||
groupID: common_vendor.unref(groupID),
|
||||
isNotInGroup: common_vendor.unref(isNotInGroup),
|
||||
isMultipleSelectMode: common_vendor.unref(isMultipleSelectMode)
|
||||
}),
|
||||
p: common_vendor.unref(isNotInGroup)
|
||||
k: common_vendor.unref(isNotInGroup)
|
||||
}, common_vendor.unref(isNotInGroup) ? {
|
||||
q: common_vendor.t(common_vendor.unref(leaveGroupReasonText)),
|
||||
r: common_vendor.unref(TUIKit_utils_env.isMobile) ? 1 : ""
|
||||
l: common_vendor.t(common_vendor.unref(leaveGroupReasonText)),
|
||||
m: common_vendor.unref(TUIKit_utils_env.isMobile) ? 1 : ""
|
||||
} : common_vendor.unref(isMultipleSelectMode) ? {
|
||||
t: common_vendor.o$1(oneByOneForwardMessage),
|
||||
v: common_vendor.o$1(mergeForwardMessage),
|
||||
w: common_vendor.o$1(toggleMultipleSelectMode)
|
||||
o: common_vendor.o$1(oneByOneForwardMessage),
|
||||
p: common_vendor.o$1(mergeForwardMessage),
|
||||
q: common_vendor.o$1(toggleMultipleSelectMode)
|
||||
} : common_vendor.e({
|
||||
x: common_vendor.unref(isInputToolbarShow)
|
||||
r: common_vendor.unref(isInputToolbarShow)
|
||||
}, common_vendor.unref(isInputToolbarShow) ? {
|
||||
y: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "tui-chat-h5-message-input-toolbar"),
|
||||
z: common_vendor.n(common_vendor.unref(TUIKit_utils_env.isUniFrameWork) && "tui-chat-uni-message-input-toolbar"),
|
||||
A: common_vendor.o$1(insertEmoji),
|
||||
B: common_vendor.o$1(changeToolbarDisplayType),
|
||||
C: common_vendor.o$1(scrollToLatestMessage),
|
||||
D: common_vendor.p({
|
||||
s: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "tui-chat-h5-message-input-toolbar"),
|
||||
t: common_vendor.n(common_vendor.unref(TUIKit_utils_env.isUniFrameWork) && "tui-chat-uni-message-input-toolbar"),
|
||||
v: common_vendor.o$1(insertEmoji),
|
||||
w: common_vendor.o$1(changeToolbarDisplayType),
|
||||
x: common_vendor.o$1(scrollToLatestMessage),
|
||||
y: common_vendor.p({
|
||||
displayType: common_vendor.unref(inputToolbarDisplayType)
|
||||
})
|
||||
} : {}, {
|
||||
E: common_vendor.sr(messageInputRef, "04dfedea-5", {
|
||||
z: common_vendor.sr(messageInputRef, "04dfedea-5", {
|
||||
"k": "messageInputRef"
|
||||
}),
|
||||
F: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "tui-chat-h5-message-input"),
|
||||
G: common_vendor.n(common_vendor.unref(TUIKit_utils_env.isUniFrameWork) && "tui-chat-uni-message-input"),
|
||||
H: common_vendor.n(common_vendor.unref(TUIKit_utils_env.isWeChat) && "tui-chat-wx-message-input"),
|
||||
I: common_vendor.o$1(changeToolbarDisplayType),
|
||||
J: common_vendor.p({
|
||||
A: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "tui-chat-h5-message-input"),
|
||||
B: common_vendor.n(common_vendor.unref(TUIKit_utils_env.isUniFrameWork) && "tui-chat-uni-message-input"),
|
||||
C: common_vendor.n(common_vendor.unref(TUIKit_utils_env.isWeChat) && "tui-chat-wx-message-input"),
|
||||
D: common_vendor.o$1(changeToolbarDisplayType),
|
||||
E: common_vendor.p({
|
||||
enableAt: common_vendor.unref(featureConfig).InputMention,
|
||||
isMuted: false,
|
||||
muteText: common_vendor.unref(common_vendor.Wt).t("TUIChat.您已被管理员禁言"),
|
||||
@@ -349,15 +339,15 @@ const _sfc_main$4 = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
inputToolbarDisplayType: common_vendor.unref(inputToolbarDisplayType)
|
||||
})
|
||||
}), {
|
||||
s: common_vendor.unref(isMultipleSelectMode),
|
||||
K: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "tui-chat-h5")
|
||||
n: common_vendor.unref(isMultipleSelectMode),
|
||||
F: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "tui-chat-h5")
|
||||
}) : {}, {
|
||||
L: !common_vendor.unref(isNotInGroup) && !common_vendor.unref(TUIKit_utils_env.isApp) && common_vendor.unref(TUIKit_utils_env.isUniFrameWork) && common_vendor.unref(isGroup) && common_vendor.unref(headerExtensionList).length > 0
|
||||
G: !common_vendor.unref(isNotInGroup) && !common_vendor.unref(TUIKit_utils_env.isApp) && common_vendor.unref(TUIKit_utils_env.isUniFrameWork) && common_vendor.unref(isGroup) && common_vendor.unref(headerExtensionList).length > 0
|
||||
}, !common_vendor.unref(isNotInGroup) && !common_vendor.unref(TUIKit_utils_env.isApp) && common_vendor.unref(TUIKit_utils_env.isUniFrameWork) && common_vendor.unref(isGroup) && common_vendor.unref(headerExtensionList).length > 0 ? {
|
||||
M: common_vendor.t(common_vendor.unref(headerExtensionList)[0].text),
|
||||
N: common_vendor.o$1(handleGroup)
|
||||
H: common_vendor.t(common_vendor.unref(headerExtensionList)[0].text),
|
||||
I: common_vendor.o$1(handleGroup)
|
||||
} : {}, {
|
||||
O: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "tui-chat-h5")
|
||||
J: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "tui-chat-h5")
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
@@ -8012,7 +8012,7 @@ function isConsoleWritable() {
|
||||
function initRuntimeSocketService() {
|
||||
const hosts = "192.168.0.116,127.0.0.1";
|
||||
const port = "8090";
|
||||
const id = "mp-weixin_fSlzTk";
|
||||
const id = "mp-weixin_EIGcbG";
|
||||
const lazy = typeof swan !== "undefined";
|
||||
let restoreError = lazy ? () => {
|
||||
} : initOnError();
|
||||
|
||||
@@ -77,7 +77,7 @@ const _sfc_main = {
|
||||
if (index === 3) {
|
||||
components_VerifyLogin.VerifyLogin().then((res) => {
|
||||
if (res) {
|
||||
common_vendor.index.navigateTo({
|
||||
common_vendor.index.redirectTo({
|
||||
url: "/TUIKit/components/TUIConversation/index",
|
||||
animationType: "none"
|
||||
});
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
position: relative;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
z-index: 999;
|
||||
z-index: 2;
|
||||
background-size: contain;
|
||||
width: 100vw;
|
||||
background-color: #ffffff;
|
||||
|
||||
@@ -33,7 +33,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
c: $data.Select ? 1 : "",
|
||||
d: common_vendor.o$1((...args) => $options.RealTimePk && $options.RealTimePk(...args)),
|
||||
e: $data.Select ? 1 : "",
|
||||
f: !$data.Select ? 1 : ""
|
||||
f: !$data.Select ? 1 : "",
|
||||
g: common_vendor.o$1((...args) => $options.screening && $options.screening(...args))
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ce2f6748"]]);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="topNavigation data-v-ce2f6748"><view bindtap="{{a}}" class="{{[b && 'Selectcss', c && 'NoSelectcss', 'RealTime', 'data-v-ce2f6748']}}">今日PK</view><view bindtap="{{d}}" class="{{[e && 'Selectcss', f && 'NoSelectcss', 'MakeAppointment', 'data-v-ce2f6748']}}">PK大厅</view></view>
|
||||
<view class="topNavigation data-v-ce2f6748"><view bindtap="{{a}}" class="{{[b && 'Selectcss', c && 'NoSelectcss', 'RealTime', 'data-v-ce2f6748']}}">今日PK</view><view bindtap="{{d}}" class="{{[e && 'Selectcss', f && 'NoSelectcss', 'MakeAppointment', 'data-v-ce2f6748']}}">PK大厅</view><view bindtap="{{g}}" class="Screening data-v-ce2f6748">筛选</view></view>
|
||||
245
unpackage/dist/dev/mp-weixin/pages/Home/Home.js
vendored
245
unpackage/dist/dev/mp-weixin/pages/Home/Home.js
vendored
@@ -4,6 +4,7 @@ const components_TUILogin = require("../../components/TUILogin.js");
|
||||
const components_request = require("../../components/request.js");
|
||||
const components_formatDate = require("../../components/formatDate.js");
|
||||
const stores_counter = require("../../stores/counter.js");
|
||||
const components_NationalDictionary = require("../../components/NationalDictionary.js");
|
||||
const topNavigation = () => "../../components/topNavigation/topNavigation.js";
|
||||
const Advertisement = () => "../../components/Advertisement/Advertisement.js";
|
||||
const tabBar = () => "../../components/tabBar/tabBar.js";
|
||||
@@ -29,8 +30,33 @@ const _sfc_main = {
|
||||
// PK大厅列表数据
|
||||
MakeAppointmentPKlist: [],
|
||||
// 今日PK列表数据
|
||||
listtype: 1
|
||||
listtype: 1,
|
||||
// 列表类型 1 当天 2 大于当天
|
||||
filterable: true,
|
||||
//是否可搜索
|
||||
Country: components_NationalDictionary.optionsArray,
|
||||
countrys: "",
|
||||
//国家
|
||||
genders: 0,
|
||||
//性别
|
||||
Gender: [
|
||||
{ label: "男", value: 1 },
|
||||
{ label: "女", value: 2 }
|
||||
],
|
||||
minNumberCoins: "",
|
||||
//最小金币数
|
||||
maxNumberCoins: "",
|
||||
//最大金币数
|
||||
mindatetimesingle: "",
|
||||
//最小PK时间
|
||||
maxdatetimesingle: "",
|
||||
//最大PK时间
|
||||
HintCion: false,
|
||||
//金币提示信息
|
||||
HintTime: false,
|
||||
//时间提示信息
|
||||
ConfirmStatus: false
|
||||
//确认弹窗状态
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
@@ -51,7 +77,7 @@ const _sfc_main = {
|
||||
key: "chatInfo",
|
||||
success: (res3) => {
|
||||
this.chatInfo = res3.data;
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:111", "chatInfo", this.chatInfo);
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:241", "chatInfo", this.chatInfo);
|
||||
components_TUILogin.TUIlogin(this.chatInfo.appId, this.info.id, this.myuserSig.userSig);
|
||||
}
|
||||
});
|
||||
@@ -64,10 +90,100 @@ const _sfc_main = {
|
||||
}, 1e3);
|
||||
},
|
||||
methods: {
|
||||
//关闭弹窗(取消)
|
||||
closePopup() {
|
||||
this.$refs.popup.close();
|
||||
},
|
||||
//确认弹窗
|
||||
confirm() {
|
||||
this.ConfirmStatus = true;
|
||||
common_vendor.index.__f__(
|
||||
"log",
|
||||
"at pages/Home/Home.vue:262",
|
||||
this.minNumberCoins,
|
||||
this.maxNumberCoins,
|
||||
this.mindatetimesingle,
|
||||
this.maxdatetimesingle
|
||||
);
|
||||
if (this.minNumberCoins === "" && this.maxNumberCoins !== "" || this.minNumberCoins !== "" && this.maxNumberCoins === "") {
|
||||
this.HintCion = true;
|
||||
return;
|
||||
}
|
||||
if (this.mindatetimesingle === "" && this.maxdatetimesingle !== "" || this.mindatetimesingle !== "" && this.maxdatetimesingle === "") {
|
||||
this.HintTime = true;
|
||||
return;
|
||||
}
|
||||
if (this.genders === 0 && this.countrys === "" && this.minNumberCoins === "" && this.maxNumberCoins === "" && this.mindatetimesingle === "" && this.maxdatetimesingle === "") {
|
||||
if (this.listtype === 1) {
|
||||
this.MakeAppointmentPKlist = [];
|
||||
} else {
|
||||
this.RealTimePklist = [];
|
||||
}
|
||||
this.list = [];
|
||||
this.pkList({ type: this.listtype });
|
||||
this.closePopup();
|
||||
return;
|
||||
}
|
||||
this.closePopup();
|
||||
this.page = 0;
|
||||
this.list = [];
|
||||
if (this.listtype === 1) {
|
||||
this.MakeAppointmentPKlist = [];
|
||||
this.pkList({
|
||||
type: this.listtype,
|
||||
sex: this.genders,
|
||||
coin: {
|
||||
start: this.minNumberCoins,
|
||||
end: this.maxNumberCoins
|
||||
},
|
||||
country: this.countrys
|
||||
});
|
||||
} else {
|
||||
this.RealTimePklist = [];
|
||||
this.pkList({
|
||||
sex: this.genders,
|
||||
coin: {
|
||||
start: this.minNumberCoins,
|
||||
end: this.maxNumberCoins
|
||||
},
|
||||
country: this.countrys,
|
||||
pkTime: {
|
||||
start: this.mindatetimesingle,
|
||||
end: this.maxdatetimesingle
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
//清空弹窗
|
||||
clear() {
|
||||
this.genders = 0;
|
||||
this.countrys = "";
|
||||
this.minNumberCoins = "";
|
||||
this.maxNumberCoins = "";
|
||||
this.mindatetimesingle = "";
|
||||
this.maxdatetimesingle = "";
|
||||
this.ConfirmStatus = false;
|
||||
},
|
||||
//获取国家
|
||||
country(item) {
|
||||
this.countrys = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:343", item);
|
||||
},
|
||||
//获取性别
|
||||
gender(item) {
|
||||
this.genders = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:348", item);
|
||||
},
|
||||
// 打开弹窗(筛选条件)
|
||||
goScreening() {
|
||||
this.$refs.popup.open("right");
|
||||
},
|
||||
//今日
|
||||
goMakeAppointmentPK() {
|
||||
this.listtype = 1;
|
||||
this.list = this.MakeAppointmentPKlist;
|
||||
},
|
||||
//大厅
|
||||
goRealTimePk() {
|
||||
this.listtype = 2;
|
||||
this.list = this.RealTimePklist;
|
||||
@@ -84,14 +200,30 @@ const _sfc_main = {
|
||||
this.RealTimePklist = [];
|
||||
}
|
||||
this.triggered = true;
|
||||
this.pkList({ type: this.listtype });
|
||||
if (this.ConfirmStatus) {
|
||||
if (this.genders === 0 && this.countrys === "" && this.minNumberCoins === "" && this.maxNumberCoins === "" && this.mindatetimesingle === "" && this.maxdatetimesingle === "") {
|
||||
this.pkList({ type: this.listtype });
|
||||
} else {
|
||||
if (this.minNumberCoins === "" && this.maxNumberCoins !== "" || this.minNumberCoins !== "" && this.maxNumberCoins === "") {
|
||||
this.pkList({ type: this.listtype });
|
||||
return;
|
||||
}
|
||||
if (this.mindatetimesingle === "" && this.maxdatetimesingle !== "" || this.mindatetimesingle !== "" && this.maxdatetimesingle === "") {
|
||||
this.pkList({ type: this.listtype });
|
||||
return;
|
||||
}
|
||||
this.confirm();
|
||||
}
|
||||
} else {
|
||||
this.pkList({ type: this.listtype });
|
||||
}
|
||||
},
|
||||
async goDetail(item) {
|
||||
common_vendor.index.showLoading({
|
||||
title: "加载中...",
|
||||
mask: true
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:152", "id", item.id, this.info.id);
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:413", "id", item.id, this.info.id);
|
||||
const res = await components_request.request({
|
||||
url: "pk/pkInfoDetail",
|
||||
method: "POST",
|
||||
@@ -101,12 +233,12 @@ const _sfc_main = {
|
||||
},
|
||||
userInfo: true
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:163", "res", res);
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:424", "res", res);
|
||||
this.detailsdata = res.data;
|
||||
if (res.code === 200) {
|
||||
if (res.data.length !== 0) {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:168", "res.data", res.data);
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:429", "res.data", res.data);
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/pkDetail/pkDetail",
|
||||
success: (res2) => {
|
||||
@@ -142,7 +274,7 @@ const _sfc_main = {
|
||||
},
|
||||
userInfo: false
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:206", res);
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:467", res);
|
||||
if (res.code === 200) {
|
||||
this.triggered = false;
|
||||
if (condition.type === 1) {
|
||||
@@ -174,20 +306,29 @@ if (!Array) {
|
||||
const _component_advertisement = common_vendor.resolveComponent("advertisement");
|
||||
const _component_uni_card = common_vendor.resolveComponent("uni-card");
|
||||
const _easycom_tabBar2 = common_vendor.resolveComponent("tabBar");
|
||||
(_component_top_navigation + _component_advertisement + _component_uni_card + _easycom_tabBar2)();
|
||||
const _easycom_wht_select2 = common_vendor.resolveComponent("wht-select");
|
||||
const _easycom_uni_number_box2 = common_vendor.resolveComponent("uni-number-box");
|
||||
const _easycom_uni_datetime_picker2 = common_vendor.resolveComponent("uni-datetime-picker");
|
||||
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
|
||||
(_component_top_navigation + _component_advertisement + _component_uni_card + _easycom_tabBar2 + _easycom_wht_select2 + _easycom_uni_number_box2 + _easycom_uni_datetime_picker2 + _easycom_uni_popup2)();
|
||||
}
|
||||
const _easycom_tabBar = () => "../../components/tabBar/tabBar.js";
|
||||
const _easycom_wht_select = () => "../../uni_modules/wht-select/components/wht-select/wht-select.js";
|
||||
const _easycom_uni_number_box = () => "../../uni_modules/uni-number-box/components/uni-number-box/uni-number-box.js";
|
||||
const _easycom_uni_datetime_picker = () => "../../uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.js";
|
||||
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
|
||||
if (!Math) {
|
||||
_easycom_tabBar();
|
||||
(_easycom_tabBar + _easycom_wht_select + _easycom_uni_number_box + _easycom_uni_datetime_picker + _easycom_uni_popup)();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.o$1($options.goRealTimePk),
|
||||
b: common_vendor.o$1($options.goMakeAppointmentPK),
|
||||
c: common_vendor.o$1((...args) => $options.goAdvertisement && $options.goAdvertisement(...args)),
|
||||
d: $data.list.length !== 0
|
||||
c: common_vendor.o$1($options.goScreening),
|
||||
d: common_vendor.o$1((...args) => $options.goAdvertisement && $options.goAdvertisement(...args)),
|
||||
e: $data.list.length !== 0
|
||||
}, $data.list.length !== 0 ? {
|
||||
e: common_vendor.f($data.list, (item, index, i0) => {
|
||||
f: common_vendor.f($data.list, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.anchorIcon,
|
||||
b: common_vendor.t(item.disPlayId),
|
||||
@@ -204,13 +345,83 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
});
|
||||
})
|
||||
} : {}, {
|
||||
f: $data.list.length === 0
|
||||
g: $data.list.length === 0
|
||||
}, $data.list.length === 0 ? {} : {}, {
|
||||
g: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
h: common_vendor.o$1((...args) => _ctx.onScrollToLower && _ctx.onScrollToLower(...args)),
|
||||
i: $data.triggered,
|
||||
j: common_vendor.p({
|
||||
h: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
i: common_vendor.o$1((...args) => _ctx.onScrollToLower && _ctx.onScrollToLower(...args)),
|
||||
j: $data.triggered,
|
||||
k: common_vendor.p({
|
||||
tabIndex: 0
|
||||
}),
|
||||
l: common_vendor.o$1($options.country),
|
||||
m: common_vendor.p({
|
||||
backgroundColor: "#ffffff",
|
||||
placeholderColor: "#666666",
|
||||
textColor: "#666666",
|
||||
borderColor: "#a3a3a3",
|
||||
options: $data.Country,
|
||||
filterable: $data.filterable,
|
||||
placeholder: "请选择国家",
|
||||
value: $data.countrys
|
||||
}),
|
||||
n: common_vendor.o$1($options.gender),
|
||||
o: common_vendor.p({
|
||||
backgroundColor: "#ffffff",
|
||||
placeholderColor: "#666666",
|
||||
textColor: "#666666",
|
||||
borderColor: "#a3a3a3",
|
||||
options: $data.Gender,
|
||||
placeholder: "性别",
|
||||
value: $data.genders
|
||||
}),
|
||||
p: $data.genders === 0
|
||||
}, $data.genders === 0 ? {} : {}, {
|
||||
q: $data.genders === 1
|
||||
}, $data.genders === 1 ? {} : {}, {
|
||||
r: $data.genders === 2
|
||||
}, $data.genders === 2 ? {} : {}, {
|
||||
s: common_vendor.o$1(($event) => $data.minNumberCoins = $event),
|
||||
t: common_vendor.p({
|
||||
max: 9999999999,
|
||||
background: "ffffff",
|
||||
modelValue: $data.minNumberCoins
|
||||
}),
|
||||
v: $data.minNumberCoins == "" && $data.HintCion === true
|
||||
}, $data.minNumberCoins == "" && $data.HintCion === true ? {} : {}, {
|
||||
w: common_vendor.o$1(($event) => $data.maxNumberCoins = $event),
|
||||
x: common_vendor.p({
|
||||
max: 9999999999,
|
||||
background: "#ffffff",
|
||||
modelValue: $data.maxNumberCoins
|
||||
}),
|
||||
y: $data.maxNumberCoins == "" && $data.HintCion === true
|
||||
}, $data.maxNumberCoins == "" && $data.HintCion === true ? {} : {}, {
|
||||
z: $data.listtype === 2
|
||||
}, $data.listtype === 2 ? common_vendor.e({
|
||||
A: common_vendor.o$1(($event) => $data.mindatetimesingle = $event),
|
||||
B: common_vendor.p({
|
||||
type: "datetime",
|
||||
["hide-second"]: "true",
|
||||
modelValue: $data.mindatetimesingle
|
||||
}),
|
||||
C: $data.mindatetimesingle == "" && $data.HintTime === true
|
||||
}, $data.mindatetimesingle == "" && $data.HintTime === true ? {} : {}) : {}, {
|
||||
D: $data.listtype === 2
|
||||
}, $data.listtype === 2 ? common_vendor.e({
|
||||
E: common_vendor.o$1(($event) => $data.maxdatetimesingle = $event),
|
||||
F: common_vendor.p({
|
||||
type: "datetime",
|
||||
["hide-second"]: "true",
|
||||
modelValue: $data.maxdatetimesingle
|
||||
}),
|
||||
G: $data.maxdatetimesingle == "" && $data.HintTime === true
|
||||
}, $data.maxdatetimesingle == "" && $data.HintTime === true ? {} : {}) : {}, {
|
||||
H: common_vendor.o$1((...args) => $options.closePopup && $options.closePopup(...args)),
|
||||
I: common_vendor.o$1((...args) => $options.confirm && $options.confirm(...args)),
|
||||
J: common_vendor.o$1((...args) => $options.clear && $options.clear(...args)),
|
||||
K: common_vendor.sr("popup", "7ffebbf4-4"),
|
||||
L: common_vendor.p({
|
||||
position: "right"
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
"usingComponents": {
|
||||
"top-navigation": "../../components/topNavigation/topNavigation",
|
||||
"advertisement": "../../components/Advertisement/Advertisement",
|
||||
"tab-bar": "../../components/tabBar/tabBar"
|
||||
"tab-bar": "../../components/tabBar/tabBar",
|
||||
"wht-select": "../../uni_modules/wht-select/components/wht-select/wht-select",
|
||||
"uni-number-box": "../../uni_modules/uni-number-box/components/uni-number-box/uni-number-box",
|
||||
"uni-datetime-picker": "../../uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker",
|
||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
132
unpackage/dist/dev/mp-weixin/pages/Home/Home.wxss
vendored
132
unpackage/dist/dev/mp-weixin/pages/Home/Home.wxss
vendored
@@ -25,7 +25,7 @@
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
z-index: 100;
|
||||
z-index: 2;
|
||||
}
|
||||
.contentList.data-v-7ffebbf4 {
|
||||
position: fixed;
|
||||
@@ -79,7 +79,8 @@
|
||||
font-size: 14rpx;
|
||||
}
|
||||
.Gendermale.data-v-7ffebbf4 {
|
||||
background: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png) no-repeat center;
|
||||
background: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png)
|
||||
no-repeat center;
|
||||
width: 56.3rpx;
|
||||
height: 29.58rpx;
|
||||
background-size: 100% 100%;
|
||||
@@ -88,7 +89,8 @@
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.Genderfemale.data-v-7ffebbf4 {
|
||||
background: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png) no-repeat center;
|
||||
background: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png)
|
||||
no-repeat center;
|
||||
width: 56.3rpx;
|
||||
height: 29.58rpx;
|
||||
background-size: 100% 100%;
|
||||
@@ -114,7 +116,7 @@
|
||||
line-height: 38rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
.no-content.data-v-7ffebbf4{
|
||||
.no-content.data-v-7ffebbf4 {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
@@ -124,3 +126,125 @@
|
||||
line-height: 40rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.popup-container.data-v-7ffebbf4 {
|
||||
height: 1626px;
|
||||
width: 650rpx;
|
||||
background: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png);
|
||||
border-radius: 15rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.popup-title.data-v-7ffebbf4 {
|
||||
font-size: 50rpx;
|
||||
line-height: 50rpx;
|
||||
margin-top: 250rpx;
|
||||
font-weight: bold;
|
||||
background: linear-gradient(135deg, #00afb2, #4fcacd);
|
||||
-webkit-background-clip: text; /* 兼容 WebKit 内核 */
|
||||
background-clip: text;
|
||||
color: transparent; /* 隐藏原文字颜色 */
|
||||
-webkit-text-fill-color: transparent; /* Safari 兼容 */
|
||||
}
|
||||
.p-country.data-v-7ffebbf4 {
|
||||
width: 500rpx;
|
||||
height: 100rpx;
|
||||
margin-top: 80rpx;
|
||||
}
|
||||
.popup-sex.data-v-7ffebbf4 {
|
||||
width: 500rpx;
|
||||
height: 100rpx;
|
||||
margin-top: 40rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.p-sex.data-v-7ffebbf4 {
|
||||
width: 420rpx;
|
||||
height: 100rpx;
|
||||
}
|
||||
.Gendericoncss.data-v-7ffebbf4 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
border-radius: 50%;
|
||||
border: 1rpx solid #ff9d0067;
|
||||
margin-left: 20rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.Gendericon.data-v-7ffebbf4 {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
/* margin-top: 10rpx;
|
||||
margin-right: 40rpx; */
|
||||
}
|
||||
.popup-coin.data-v-7ffebbf4 {
|
||||
width: 500rpx;
|
||||
margin-top: 40rpx;
|
||||
display: flex;
|
||||
}
|
||||
.p-coin.data-v-7ffebbf4 {
|
||||
width: 500rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.p-coin-title.data-v-7ffebbf4 {
|
||||
font-size: 20rpx;
|
||||
color: #a3a3a3;
|
||||
}
|
||||
.p-time.data-v-7ffebbf4 {
|
||||
width: 500rpx;
|
||||
margin-top: 40rpx;
|
||||
}
|
||||
.popup-btn-cancel.data-v-7ffebbf4 {
|
||||
width: 170rpx;
|
||||
height: 60rpx;
|
||||
font-size: 30rpx;
|
||||
color: #ffffff;
|
||||
line-height: 60rpx;
|
||||
text-align: center;
|
||||
margin-right: 20rpx;
|
||||
border-top-left-radius: 50rpx;
|
||||
border-bottom-left-radius: 50rpx;
|
||||
border-bottom-right-radius: 50rpx;
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
}
|
||||
.popup-btn-confirm.data-v-7ffebbf4 {
|
||||
width: 170rpx;
|
||||
height: 60rpx;
|
||||
font-size: 30rpx;
|
||||
color: #ffffff;
|
||||
line-height: 60rpx;
|
||||
text-align: center;
|
||||
margin-right: 20rpx;
|
||||
border-top-left-radius: 50rpx;
|
||||
border-bottom-left-radius: 50rpx;
|
||||
border-bottom-right-radius: 50rpx;
|
||||
background-image: linear-gradient(135deg, #4fcd9d, #5fdeba);
|
||||
}
|
||||
.popup-btn-clear.data-v-7ffebbf4 {
|
||||
width: 170rpx;
|
||||
height: 60rpx;
|
||||
font-size: 30rpx;
|
||||
color: #ffffff;
|
||||
line-height: 60rpx;
|
||||
text-align: center;
|
||||
border-top-left-radius: 50rpx;
|
||||
border-bottom-left-radius: 50rpx;
|
||||
border-bottom-right-radius: 50rpx;
|
||||
background-image: linear-gradient(135deg, #cd924f, #debc5f);
|
||||
}
|
||||
.Hintcss.data-v-7ffebbf4 {
|
||||
font-size: 18rpx;
|
||||
color: #ff5555;
|
||||
}
|
||||
.popup-btn.data-v-7ffebbf4 {
|
||||
width: 600rpx;
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
margin-top: 400rpx;
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ const _sfc_main = {
|
||||
// 退出登录
|
||||
logout() {
|
||||
common_vendor.index.clearStorage();
|
||||
common_vendor.A.logout;
|
||||
common_vendor.A.logout();
|
||||
common_vendor.index.reLaunch({
|
||||
url: "/pages/login/login"
|
||||
});
|
||||
|
||||
@@ -48,7 +48,7 @@ const _sfc_main = {
|
||||
// 微信登录
|
||||
wxLogin(e) {
|
||||
common_vendor.index.showLoading({
|
||||
title: "登录中...",
|
||||
title: "修改中...",
|
||||
mask: true
|
||||
});
|
||||
components_postFile.uploadFile({
|
||||
|
||||
@@ -67,7 +67,7 @@ const _sfc_main = {
|
||||
path: this.userinfo,
|
||||
name: this.Filename
|
||||
}).then((ress) => {
|
||||
this.picture = ress;
|
||||
this.picture = ress.split("/").pop();
|
||||
components_request.request({
|
||||
url: "user/inputUserInfo",
|
||||
method: "POST",
|
||||
|
||||
Reference in New Issue
Block a user