优化页面
This commit is contained in:
@@ -68,6 +68,21 @@ const _sfc_main = {
|
||||
this.userlist();
|
||||
},
|
||||
invite() {
|
||||
if (this.InvitingPartyEventindex === null) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请选择您要参与的PK信息",
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
return;
|
||||
}
|
||||
this.$refs.popups.open("center");
|
||||
},
|
||||
closeHint() {
|
||||
this.$refs.popups.close();
|
||||
},
|
||||
inviteHint() {
|
||||
this.$refs.popups.close();
|
||||
const conversationID = `C2C${this.item.senderId}`;
|
||||
const myitem = JSON.stringify(this.list[this.InvitingPartyEventindex]);
|
||||
const youritem = JSON.stringify(this.item);
|
||||
@@ -75,6 +90,7 @@ const _sfc_main = {
|
||||
url: `/TUIKit/components/TUIChat/index?conversationID=${conversationID}&myitem=${myitem}&youritem=${youritem}`
|
||||
});
|
||||
},
|
||||
// 打开邀请弹窗
|
||||
close() {
|
||||
this.$refs.popup.close();
|
||||
},
|
||||
@@ -184,7 +200,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
}),
|
||||
w: common_vendor.sr("createModule", "9639f721-2")
|
||||
w: common_vendor.sr("createModule", "9639f721-2"),
|
||||
x: common_vendor.o$1(($event) => $options.inviteHint()),
|
||||
y: common_vendor.o$1(($event) => $options.closeHint()),
|
||||
z: common_vendor.sr("popups", "9639f721-3"),
|
||||
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-9639f721"]]);
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -11,6 +11,18 @@
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);
|
||||
background-position: center;
|
||||
}
|
||||
.popup-Hintcontent.data-v-9639f721{
|
||||
width: 600rpx;
|
||||
height: 500rpx;
|
||||
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-9639f721 {
|
||||
font-size: 30rpx;
|
||||
margin-top: 50rpx;
|
||||
@@ -55,6 +67,14 @@
|
||||
font-weight: bold;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.popup-texts.data-v-9639f721{
|
||||
margin-left: 50rpx;
|
||||
color: #7e7e7e;
|
||||
font-size: 26rpx;
|
||||
margin-right: 50rpx;
|
||||
margin-top: 70rpx;
|
||||
margin-bottom: 70rpx;
|
||||
}
|
||||
.card-content.data-v-9639f721 {
|
||||
/* width: 445rpx; */
|
||||
width: 100%;
|
||||
@@ -311,7 +331,7 @@
|
||||
font-size: 28.63rpx;
|
||||
line-height: 77.29rpx;
|
||||
}
|
||||
.noData.data-v-9639f721{
|
||||
.noData.data-v-9639f721 {
|
||||
width: 500rpx;
|
||||
height: 400rpx;
|
||||
border-radius: 10px;
|
||||
|
||||
Reference in New Issue
Block a user