优化页面
@@ -204,13 +204,16 @@ function sendCustomMessage(myitem, youritem) {
|
|||||||
const payload = {
|
const payload = {
|
||||||
data: JSON.stringify({
|
data: JSON.stringify({
|
||||||
businessID: "pk",
|
businessID: "pk",
|
||||||
title: "PK邀请",
|
|
||||||
buttonText1: "接受邀请",
|
|
||||||
buttonText2: "拒绝邀请",
|
|
||||||
keyid: keyid,
|
keyid: keyid,
|
||||||
myitem: counter.myitem.id,
|
myitem: counter.myitem.id,
|
||||||
|
pkIdA: youritem.id,
|
||||||
|
pkIdB: myitem.id,
|
||||||
|
userIdA: youritem.senderId,
|
||||||
|
userIdB: myitem.senderId,
|
||||||
|
pkTime: youritem.pkTime,
|
||||||
|
pkNumber: youritem.pkNumber,
|
||||||
|
link:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/pk.png",
|
||||||
btnDisplay: true,
|
btnDisplay: true,
|
||||||
mytitle: "等待对方接受邀请",
|
|
||||||
}),
|
}),
|
||||||
description: "邀请参加PK",
|
description: "邀请参加PK",
|
||||||
extension: "邀请参加PK",
|
extension: "邀请参加PK",
|
||||||
@@ -252,6 +255,7 @@ function sendCustomMessage(myitem, youritem) {
|
|||||||
userIdA: youritem.senderId,
|
userIdA: youritem.senderId,
|
||||||
userIdB: myitem.senderId,
|
userIdB: myitem.senderId,
|
||||||
pkTime: youritem.pkTime,
|
pkTime: youritem.pkTime,
|
||||||
|
pkNumber: youritem.pkNumber,
|
||||||
status: 0,
|
status: 0,
|
||||||
},
|
},
|
||||||
userInfo: false,
|
userInfo: false,
|
||||||
|
|||||||
@@ -63,20 +63,12 @@
|
|||||||
</template>
|
</template>
|
||||||
<!-- `························································标记······················································ -->
|
<!-- `························································标记······················································ -->
|
||||||
<template v-else-if="customData.businessID === CHAT_MSG_CUSTOM_TYPE.PK">
|
<template v-else-if="customData.businessID === CHAT_MSG_CUSTOM_TYPE.PK">
|
||||||
<div class="pk" v-if="customData.myitem !== counter.myitem.id">
|
<div class="pk" @click="handleAccept(customData)">
|
||||||
<h1>{{ customData.title }}</h1>
|
<image
|
||||||
<div class="button-group" v-if="customData.btnDisplay === true">
|
class="Custommessageimage"
|
||||||
<button @click="handleAccept(status.agree, customData)" class="buttonAccept">
|
:src="customData.link"
|
||||||
{{ customData.buttonText1 }}
|
mode="scaleToFill"
|
||||||
</button>
|
/>
|
||||||
<button @click="handleAccept(status.refuse, customData)" class="buttonRefuse">
|
|
||||||
{{ customData.buttonText2 }}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="pk" v-else>
|
|
||||||
<h1>{{ customData.mytitle }}</h1>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<!-- ``````````````````````````````````````````````````````````````````````````````````````````````````````````````` -->
|
<!-- ``````````````````````````````````````````````````````````````````````````````````````````````````````````````` -->
|
||||||
@@ -104,26 +96,21 @@ import TUIChatEngine, {
|
|||||||
import { useCounterStore } from "@/stores/counter";
|
import { useCounterStore } from "@/stores/counter";
|
||||||
import request from "@/components/request";
|
import request from "@/components/request";
|
||||||
import { Message } from "@tencentcloud/chat";
|
import { Message } from "@tencentcloud/chat";
|
||||||
|
import TencentCloudChat from "@tencentcloud/chat";
|
||||||
// import message from '@tencentcloud/chat-uikit-uniapp/locales/en/message';
|
// import message from '@tencentcloud/chat-uikit-uniapp/locales/en/message';
|
||||||
const counter = useCounterStore();
|
const counter = useCounterStore();
|
||||||
|
|
||||||
const status = { agree: 1, refuse: 2 };
|
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
messageItem: IMessageModel;
|
messageItem: IMessageModel;
|
||||||
content: any;
|
content: any;
|
||||||
}
|
}
|
||||||
//```````````````````````````````````````````````````
|
//```````````````````````````````````````````````````标记
|
||||||
|
|
||||||
|
function handleAccept(customData: ICustomMessagePayload) {
|
||||||
function handleAccept(status: number, customData: ICustomMessagePayload) {
|
const customDatainfo = JSON.stringify(customData);
|
||||||
console.log(custom.value);
|
uni.redirectTo({
|
||||||
console.log(message.value);
|
url: `/pages/PKMessageprocessing/PKMessageprocessing?customData=${customDatainfo}`,
|
||||||
message.value.payload.title = "Hello Tencent";
|
|
||||||
TUIChatService.modifyMessage(message.value).then((res) => {
|
|
||||||
console.log(res);
|
|
||||||
}).catch((err) => {
|
|
||||||
console.log(err);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
//```````````````````````````````````````````````````
|
//```````````````````````````````````````````````````
|
||||||
@@ -226,7 +213,7 @@ a {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #f5f5f5;
|
background-color: #ffffff;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@@ -270,4 +257,8 @@ a {
|
|||||||
}
|
}
|
||||||
//``````````````````````````````````````````````````````````````````````````````````
|
//``````````````````````````````````````````````````````````````````````````````````
|
||||||
}
|
}
|
||||||
|
.Custommessageimage{
|
||||||
|
width: 385rpx;
|
||||||
|
height: 195rpx;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -30,6 +30,12 @@
|
|||||||
"navigationBarTitleText": "PK信息"
|
"navigationBarTitleText": "PK信息"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/PKMessageprocessing/PKMessageprocessing",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "PK信息处理"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/index",
|
"path": "pages/index/index",
|
||||||
"style": {
|
"style": {
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ import Advertisement from "../../components/Advertisement/Advertisement";
|
|||||||
import contentList from "../../components/contentList/contentList";
|
import contentList from "../../components/contentList/contentList";
|
||||||
import tabBar from "../../components/tabBar/tabBar";
|
import tabBar from "../../components/tabBar/tabBar";
|
||||||
import TUIlogin from "../../components/TUILogin.js";
|
import TUIlogin from "../../components/TUILogin.js";
|
||||||
import TencentCloudChat from "@tencentcloud/chat";
|
|
||||||
import { useCounterStore } from '@/stores/counter'
|
import { useCounterStore } from '@/stores/counter'
|
||||||
const counter = useCounterStore()
|
const counter = useCounterStore()
|
||||||
export default {
|
export default {
|
||||||
@@ -62,6 +61,7 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
goAdvertisement() {
|
goAdvertisement() {
|
||||||
|
|||||||
@@ -8,13 +8,18 @@
|
|||||||
src="../../static/Fork.png"
|
src="../../static/Fork.png"
|
||||||
mode="scaleToFill"
|
mode="scaleToFill"
|
||||||
/>
|
/>
|
||||||
<view class="Title">发布新PK</view>
|
<view class="Titlecss">
|
||||||
|
<view class="Star"></view>
|
||||||
|
<view class="Title"></view>
|
||||||
|
<view class="Star"></view>
|
||||||
|
</view>
|
||||||
|
|
||||||
<!-- <view class="Individual"> -->
|
<!-- <view class="Individual"> -->
|
||||||
<view class="NameAnchor">
|
<view class="NameAnchor">
|
||||||
<input
|
<input
|
||||||
class="NameAnchorcss"
|
class="NameAnchorcss"
|
||||||
cursor-color="#ffffff"
|
cursor-color="#666666"
|
||||||
placeholder-style="color:#ffffff"
|
placeholder-style="color:#666666"
|
||||||
@input="NameAnchor"
|
@input="NameAnchor"
|
||||||
placeholder="主播名称"
|
placeholder="主播名称"
|
||||||
/>
|
/>
|
||||||
@@ -30,10 +35,9 @@
|
|||||||
<view class="Coins country">
|
<view class="Coins country">
|
||||||
<wht-select
|
<wht-select
|
||||||
style="width: 350rpx"
|
style="width: 350rpx"
|
||||||
backgroundColor="#fff70065"
|
backgroundColor="#ffffff"
|
||||||
borderRadius="20"
|
|
||||||
placeholderColor="#ffffff"
|
placeholderColor="#ffffff"
|
||||||
textColor="#7cba59"
|
textColor="#666666"
|
||||||
borderColor="#ffffff"
|
borderColor="#ffffff"
|
||||||
@change="country"
|
@change="country"
|
||||||
:options="Country"
|
:options="Country"
|
||||||
@@ -47,10 +51,9 @@
|
|||||||
<view class="Gendercss">
|
<view class="Gendercss">
|
||||||
<wht-select
|
<wht-select
|
||||||
style="width: 300rpx"
|
style="width: 300rpx"
|
||||||
backgroundColor="#ffaa0082"
|
backgroundColor="#ffffff"
|
||||||
borderRadius="20"
|
placeholderColor="#666666"
|
||||||
placeholderColor="#ffffff"
|
textColor="#666666"
|
||||||
textColor="#ffffff"
|
|
||||||
borderColor="#ffffff"
|
borderColor="#ffffff"
|
||||||
@change="gender"
|
@change="gender"
|
||||||
:options="Gender"
|
:options="Gender"
|
||||||
@@ -86,7 +89,7 @@
|
|||||||
<view class="goldCoin">
|
<view class="goldCoin">
|
||||||
<view class="number-box">
|
<view class="number-box">
|
||||||
<view class="number-box-title">金币数量:</view>
|
<view class="number-box-title">金币数量:</view>
|
||||||
<uni-number-box background="#2bff001e" v-model="numberCoins"></uni-number-box>
|
<uni-number-box background="#03ABA8" v-model="numberCoins"></uni-number-box>
|
||||||
<view class="number-box-title">单位:</view>
|
<view class="number-box-title">单位:</view>
|
||||||
<view class="number-box-unit">K</view>
|
<view class="number-box-unit">K</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -110,7 +113,7 @@
|
|||||||
<view class="goldCoin">
|
<view class="goldCoin">
|
||||||
<view class="number-box">
|
<view class="number-box">
|
||||||
<view class="number-box-title">选择场数:</view>
|
<view class="number-box-title">选择场数:</view>
|
||||||
<uni-number-box background="#2bff001e" v-model="numberCoins"></uni-number-box>
|
<uni-number-box background="#03ABA8" v-model="numberCoins"></uni-number-box>
|
||||||
<view class="number-box-title">次</view>
|
<view class="number-box-title">次</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="numberCoins === '' && Hint === true" class="Hint"
|
<view v-if="numberCoins === '' && Hint === true" class="Hint"
|
||||||
@@ -120,8 +123,6 @@
|
|||||||
<!-- ··························································································· -->
|
<!-- ··························································································· -->
|
||||||
<view class="Remarkscss">
|
<view class="Remarkscss">
|
||||||
<uni-easyinput
|
<uni-easyinput
|
||||||
:styles="styles"
|
|
||||||
:placeholderStyle="placeholderStyle"
|
|
||||||
type="textarea"
|
type="textarea"
|
||||||
v-model="remarks"
|
v-model="remarks"
|
||||||
placeholder="备注"
|
placeholder="备注"
|
||||||
@@ -157,12 +158,6 @@ export default {
|
|||||||
datetimesingle: "", //日期
|
datetimesingle: "", //日期
|
||||||
id: null, //用户id
|
id: null, //用户id
|
||||||
sendingTime: "", //发送时间
|
sendingTime: "", //发送时间
|
||||||
placeholderStyle: "color:#ffffff;font-size:14px",
|
|
||||||
styles: {
|
|
||||||
backgroundColor: "#2bff001e",
|
|
||||||
color: "#ffffff",
|
|
||||||
borderColor: "#00bd069d",
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -335,7 +330,8 @@ export default {
|
|||||||
}
|
}
|
||||||
.container {
|
.container {
|
||||||
display: flex;
|
display: flex;
|
||||||
background-image: linear-gradient(135deg, #00ff4025, #00d5ff3b);
|
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/bgv.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 1300rpx;
|
height: 1300rpx;
|
||||||
@@ -343,31 +339,33 @@ export default {
|
|||||||
box-shadow: 0 0 10rpx #ccc;
|
box-shadow: 0 0 10rpx #ccc;
|
||||||
}
|
}
|
||||||
.Fork {
|
.Fork {
|
||||||
width: 50rpx;
|
width: 46rpx;
|
||||||
height: 50rpx;
|
height: 46rpx;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
/* margin-bottom: 40rpx; */
|
/* margin-bottom: 40rpx; */
|
||||||
margin-left: 90%;
|
margin-left: 90%;
|
||||||
}
|
}
|
||||||
.Title {
|
.Titlecss{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 80rpx;
|
height: 70rpx;
|
||||||
font-size: 70rpx;
|
display: flex;
|
||||||
font-weight: bold;
|
justify-content: center;
|
||||||
text-align: center;
|
align-items: center;
|
||||||
margin-top: 40rpx;
|
}
|
||||||
margin-bottom: 40rpx;
|
.Star{
|
||||||
/* 设置渐变背景 */
|
width: 50rpx;
|
||||||
background-image: linear-gradient(135deg, #ffff00, #00d9ff);
|
height: 50rpx;
|
||||||
/* 关键属性组合 */
|
background-image: url(../../static/star.png);
|
||||||
-webkit-background-clip: text; /* 兼容 iOS/Android */
|
background-size: 100% 100%;
|
||||||
background-clip: text;
|
}
|
||||||
/* 文字颜色设为透明 */
|
.Title {
|
||||||
color: transparent;
|
width: 430rpx;
|
||||||
/* 防止背景溢出 */
|
height: 70rpx;
|
||||||
display: inline-block;
|
background-image: url(../../static/Publishpk.png);
|
||||||
padding: 8rpx 16rpx;
|
background-size: 100% 200%;
|
||||||
text-shadow: 0 6rpx 8rpx rgba(0, 0, 0, 0.2);
|
background-position: 0 100%;
|
||||||
|
margin-left: 26rpx;
|
||||||
|
margin-right: 26rpx;
|
||||||
}
|
}
|
||||||
.Individual {
|
.Individual {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -385,12 +383,9 @@ export default {
|
|||||||
.NameAnchorcss {
|
.NameAnchorcss {
|
||||||
width: 99%;
|
width: 99%;
|
||||||
height: 85rpx;
|
height: 85rpx;
|
||||||
background-image: linear-gradient(135deg, #d9ff007a, #00ffb364);
|
background-color: #ffffff;
|
||||||
border-top: 2rpx solid #ffbf0049;
|
border: 1rpx solid #BFBFBF;
|
||||||
border-bottom: 2rpx solid #125b003a;
|
border-radius: 10rpx;
|
||||||
border-left: 2rpx solid #ffbf0050;
|
|
||||||
border-right: 2rpx solid #125b0036;
|
|
||||||
border-radius: 30rpx;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color:#ffffff;
|
color:#ffffff;
|
||||||
}
|
}
|
||||||
@@ -455,23 +450,16 @@ export default {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.number-box-title {
|
.number-box-title {
|
||||||
/* margin-right: 20rpx; */
|
color: #191919;
|
||||||
/* 设置渐变背景 */
|
font-size: 30rpx;
|
||||||
background-image: linear-gradient(135deg, #00ff227a, #a200ff64);
|
margin-right: 22rpx;
|
||||||
/* 关键属性组合 */
|
margin-left: 17rpx;
|
||||||
-webkit-background-clip: text; /* 兼容 iOS/Android */
|
|
||||||
background-clip: text;
|
|
||||||
/* 文字颜色设为透明 */
|
|
||||||
color: transparent;
|
|
||||||
/* 防止背景溢出 */
|
|
||||||
display: inline-block;
|
|
||||||
padding: 8rpx 16rpx;
|
|
||||||
}
|
}
|
||||||
.number-box-unit {
|
.number-box-unit {
|
||||||
color: #ffb30067;
|
color: #03ABA8;
|
||||||
width: 48rpx;
|
width: 48rpx;
|
||||||
height: 48rpx;
|
height: 48rpx;
|
||||||
border: 1rpx solid #ff9d006f;
|
border: 1rpx solid #03ABA8;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
line-height: 48rpx;
|
line-height: 48rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -492,13 +480,9 @@ export default {
|
|||||||
margin-left: 5%;
|
margin-left: 5%;
|
||||||
}
|
}
|
||||||
.Publishcss {
|
.Publishcss {
|
||||||
background-image: linear-gradient(135deg, #00ffb354, #c300ff37);
|
background-image: linear-gradient(135deg, #4FCACD, #5FDBDE);
|
||||||
/* color: #33ff00; */
|
/* color: #33ff00; */
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
border-bottom: 2rpx solid #c300ff37;
|
|
||||||
border-top: 2rpx solid #00ffb354;
|
|
||||||
border-right: 2rpx solid #c300ff37;
|
|
||||||
border-left: 2rpx solid #00ffb354;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border-radius: 50rpx;
|
border-radius: 50rpx;
|
||||||
}
|
}
|
||||||
|
|||||||
416
pages/PKMessageprocessing/PKMessageprocessing.vue
Normal file
@@ -0,0 +1,416 @@
|
|||||||
|
<template>
|
||||||
|
<view class="container">
|
||||||
|
<view class="background">
|
||||||
|
<image
|
||||||
|
style="width: 100%; height: 100%"
|
||||||
|
src="../../static/HomeBackground.png"
|
||||||
|
mode="scaleToFill"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
<view class="Navigation">
|
||||||
|
<view class="Return" @click="goBack">
|
||||||
|
<image class="Return" src="../../static/Return.png" mode="scaleToFill" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="Content">
|
||||||
|
<!-- 发布者 -->
|
||||||
|
<view class="sender">
|
||||||
|
<view class="sengderIcon">
|
||||||
|
<image class="Icon" :src="SenderData.anchorIcon" mode="scaleToFill" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="Individual">
|
||||||
|
<view class="name">{{ SenderData.anchorId }}</view>
|
||||||
|
|
||||||
|
<view class="GenderAndAge">
|
||||||
|
<view class="male" v-if="SenderData.sex === '1'">
|
||||||
|
<view>
|
||||||
|
<image
|
||||||
|
style="width: 20rpx; height: 20rpx"
|
||||||
|
src="../../static/male.png"
|
||||||
|
mode="scaleToFill"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
<view class="age"> 21 </view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="female" v-else>
|
||||||
|
<view>
|
||||||
|
<image
|
||||||
|
style="width: 20rpx; height: 20rpx"
|
||||||
|
src="../../static/female.png"
|
||||||
|
mode="scaleToFill"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
<view class="age"> 21 </view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="nation">{{ SenderData.country }}</view>
|
||||||
|
</view>
|
||||||
|
<view class="Time">PK时间:{{ formatDate(SenderData.pkTime) }}</view>
|
||||||
|
<view class="SessionAndGoldCoin">
|
||||||
|
<view class="goldCoin">
|
||||||
|
<image
|
||||||
|
style="width: 72rpx; height: 72rpx; margin-left: 36rpx; margin-right: 32rpx"
|
||||||
|
src="../../static/gold.png"
|
||||||
|
mode="scaleToFill"
|
||||||
|
/>
|
||||||
|
<view class="goldcard">
|
||||||
|
<view class="goldnumber">{{ SenderData.coin }}</view>
|
||||||
|
<view class="goldtext">金币</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="Session">
|
||||||
|
<image
|
||||||
|
style="width: 72rpx; height: 72rpx; margin-left: 36rpx; margin-right: 32rpx"
|
||||||
|
src="../../static/session.png"
|
||||||
|
mode="scaleToFill"
|
||||||
|
/>
|
||||||
|
<view class="goldcard">
|
||||||
|
<view class="goldnumber">{{ SenderData.pkNumber }}</view>
|
||||||
|
<view class="goldtext">PK场数</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 被邀请者 -->
|
||||||
|
<view class="sender">
|
||||||
|
<view class="sengderIcon">
|
||||||
|
<image class="Icon" :src="ReceiverData.anchorIcon" mode="scaleToFill" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="Individual">
|
||||||
|
<view class="name">{{ ReceiverData.anchorId }}</view>
|
||||||
|
|
||||||
|
<view class="GenderAndAge">
|
||||||
|
<view class="male" v-if="ReceiverData.sex === '1'">
|
||||||
|
<view>
|
||||||
|
<image
|
||||||
|
style="width: 20rpx; height: 20rpx"
|
||||||
|
src="../../static/male.png"
|
||||||
|
mode="scaleToFill"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
<view class="age"> 21 </view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="female" v-else>
|
||||||
|
<view>
|
||||||
|
<image
|
||||||
|
style="width: 20rpx; height: 20rpx"
|
||||||
|
src="../../static/female.png"
|
||||||
|
mode="scaleToFill"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
<view class="age"> 21 </view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="nation">{{ ReceiverData.country }}</view>
|
||||||
|
</view>
|
||||||
|
<view class="Time">PK时间:{{ formatDate(ReceiverData.pkTime) }}</view>
|
||||||
|
<view class="SessionAndGoldCoin">
|
||||||
|
<view class="goldCoin">
|
||||||
|
<image
|
||||||
|
style="width: 72rpx; height: 72rpx; margin-left: 36rpx; margin-right: 32rpx"
|
||||||
|
src="../../static/gold.png"
|
||||||
|
mode="scaleToFill"
|
||||||
|
/>
|
||||||
|
<view>
|
||||||
|
<view class="goldnumber">{{ ReceiverData.coin }}</view>
|
||||||
|
<view class="goldtext">金币</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="Session">
|
||||||
|
<image
|
||||||
|
style="width: 72rpx; height: 72rpx; margin-left: 36rpx; margin-right: 32rpx"
|
||||||
|
src="../../static/session.png"
|
||||||
|
mode="scaleToFill"
|
||||||
|
/>
|
||||||
|
<view>
|
||||||
|
<view class="goldnumber">{{ ReceiverData.pkNumber }}</view>
|
||||||
|
<view class="goldtext">PK场数</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="button">
|
||||||
|
<button class="accept" @click="operation(1)">接受邀请</button>
|
||||||
|
<button class="reject" @click="operation(2)">拒绝邀请</button>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import request from "../../components/request.js";
|
||||||
|
import formatDate from "../../components/formatDate.js";
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
customData: {},
|
||||||
|
SenderData: {},
|
||||||
|
ReceiverData: {},
|
||||||
|
};
|
||||||
|
},
|
||||||
|
onLoad(options) {
|
||||||
|
this.customData = JSON.parse(options.customData);
|
||||||
|
this.getPkyourInfo();
|
||||||
|
this.getPkmineInfo();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
//发布者
|
||||||
|
async getPkyourInfo() {
|
||||||
|
const res = await request({
|
||||||
|
url: "pk/pkInfoDetail",
|
||||||
|
method: "POST",
|
||||||
|
data: {
|
||||||
|
id: this.customData.pkIdA,
|
||||||
|
},
|
||||||
|
userInfo: false,
|
||||||
|
}).then((res) => {
|
||||||
|
this.SenderData = res.data;
|
||||||
|
console.log(this.SenderData);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//被邀请者
|
||||||
|
async getPkmineInfo() {
|
||||||
|
const res = await request({
|
||||||
|
url: "pk/pkInfoDetail",
|
||||||
|
method: "POST",
|
||||||
|
data: {
|
||||||
|
id: this.customData.pkIdB,
|
||||||
|
},
|
||||||
|
userInfo: false,
|
||||||
|
}).then((res) => {
|
||||||
|
this.ReceiverData = res.data;
|
||||||
|
console.log(this.ReceiverData);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
goBack() {
|
||||||
|
wx.navigateBack({
|
||||||
|
delta: 1,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
formatDate: formatDate,
|
||||||
|
async operation(status) {
|
||||||
|
console.log("``````", this.customData);
|
||||||
|
console.log(status);
|
||||||
|
|
||||||
|
const res = await request({
|
||||||
|
url: "pk/pkInfoDetail",
|
||||||
|
method: "POST",
|
||||||
|
data: {
|
||||||
|
pkIdA: this.customData.pkIdA,
|
||||||
|
pkIdB: this.customData.pkIdB,
|
||||||
|
userIdA: this.customData.userIdA,
|
||||||
|
userIdB: this.customData.userIdB,
|
||||||
|
pkTime: this.customData.pkTime,
|
||||||
|
pkNumber: this.customData.pkNumber,
|
||||||
|
status: status,
|
||||||
|
},
|
||||||
|
userInfo: false,
|
||||||
|
}).then((res) => {
|
||||||
|
console.log(res.data);
|
||||||
|
const Hinttext = status === 1 ? "接受邀请成功" : "拒绝邀请成功";
|
||||||
|
if (res.code === 200) {
|
||||||
|
wx.showToast({
|
||||||
|
title: Hinttext,
|
||||||
|
icon: "success",
|
||||||
|
duration: 2000,
|
||||||
|
});
|
||||||
|
wx.navigateBack({
|
||||||
|
delta: 1,
|
||||||
|
});
|
||||||
|
}else {
|
||||||
|
wx.showToast({
|
||||||
|
title: "操作失败",
|
||||||
|
icon: "none",
|
||||||
|
duration: 2000,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.background {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
.Navigation {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 200rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 0 60rpx;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
.Return {
|
||||||
|
width: 60rpx;
|
||||||
|
height: 60rpx;
|
||||||
|
margin-top: 20rpx;
|
||||||
|
}
|
||||||
|
.Content {
|
||||||
|
position: absolute;
|
||||||
|
top: 200rpx;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.sender {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 80rpx;
|
||||||
|
}
|
||||||
|
.sengderIcon {
|
||||||
|
width: 150rpx;
|
||||||
|
height: 150rpx;
|
||||||
|
border-radius: 50%;
|
||||||
|
background-color: #fff;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.Icon {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
.Individual {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 34.35rpx;
|
||||||
|
}
|
||||||
|
.name {
|
||||||
|
font-size: 30.53rpx;
|
||||||
|
color: #161616;
|
||||||
|
margin-right: 16.22rpx;
|
||||||
|
}
|
||||||
|
.nation {
|
||||||
|
width: 56.3rpx;
|
||||||
|
height: 29.58rpx;
|
||||||
|
font-size: 17.18rpx;
|
||||||
|
color: #666666;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 29.58rpx;
|
||||||
|
background-color: #fff;
|
||||||
|
border-radius: 50rpx;
|
||||||
|
padding: 6rpx 12rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.male {
|
||||||
|
width: 56.3rpx;
|
||||||
|
height: 29.58rpx;
|
||||||
|
background-color: #5bced1;
|
||||||
|
border-radius: 50rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
padding: 6rpx 12rpx;
|
||||||
|
margin-right: 12rpx;
|
||||||
|
}
|
||||||
|
.female {
|
||||||
|
width: 56.3rpx;
|
||||||
|
height: 29.58rpx;
|
||||||
|
background-color: #f3876f;
|
||||||
|
border-radius: 50rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
padding: 6rpx 12rpx;
|
||||||
|
margin-right: 12rpx;
|
||||||
|
}
|
||||||
|
.age {
|
||||||
|
font-size: 17.18rpx;
|
||||||
|
color: #fff;
|
||||||
|
margin-left: 4rpx;
|
||||||
|
}
|
||||||
|
.Time {
|
||||||
|
color: #666666;
|
||||||
|
font-size: 26.72rpx;
|
||||||
|
margin-top: 48.7rpx;
|
||||||
|
}
|
||||||
|
.goldCoin {
|
||||||
|
background-image: url("../../static/Backgroundofgoldcoins.png");
|
||||||
|
width: 334.83rpx;
|
||||||
|
height: 124.05rpx;
|
||||||
|
margin-right: 21rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.Session {
|
||||||
|
background-image: url("../../static/Fieldnumberbackground.png");
|
||||||
|
width: 334.83rpx;
|
||||||
|
height: 124.05rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.SessionAndGoldCoin {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 60rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.goldtext {
|
||||||
|
font-size: 28.63rpx;
|
||||||
|
color: #929292;
|
||||||
|
}
|
||||||
|
.goldnumber {
|
||||||
|
font-size: 34.35rpx;
|
||||||
|
color: #161616;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.goldcard {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.button {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 150rpx;
|
||||||
|
}
|
||||||
|
.accept {
|
||||||
|
width: 325.38rpx;
|
||||||
|
height: 77.29rpx;
|
||||||
|
margin-right: 35.5rpx;
|
||||||
|
border-radius: 50rpx;
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1rpx solid #03aba8;
|
||||||
|
color: #03aba8;
|
||||||
|
font-size: 28.63rpx;
|
||||||
|
line-height: 77.29rpx;
|
||||||
|
}
|
||||||
|
.reject {
|
||||||
|
width: 325.38rpx;
|
||||||
|
height: 77.29rpx;
|
||||||
|
border-radius: 50rpx;
|
||||||
|
background-color: #03aba8;
|
||||||
|
border: 1rpx solid #03aba8;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 28.63rpx;
|
||||||
|
line-height: 77.29rpx;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -1,39 +1,83 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="Navigation">
|
|
||||||
<image
|
|
||||||
src="../../static/Navigationimg.png"
|
|
||||||
mode="scaleToFill"
|
|
||||||
class="Navigationimg"
|
|
||||||
/>
|
|
||||||
<image
|
|
||||||
@click="Returnfunc"
|
|
||||||
src="../../static/Return.png"
|
|
||||||
mode="scaleToFill"
|
|
||||||
class="Return"
|
|
||||||
/>
|
|
||||||
</view>
|
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<view class="individual">
|
<view class="background">
|
||||||
<view class="anchor">
|
<image
|
||||||
<!-- <image
|
style="width: 100%; height: 100%"
|
||||||
src="{{item.anchorIcon}}"
|
src="../../static/HomeBackground.png"
|
||||||
mode="scaleToFill"
|
mode="scaleToFill"
|
||||||
/> -->
|
/>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view class="Navigation">
|
||||||
<view>主播名称{{ item.anchorId }}</view>
|
<view class="Return" @click="Returnfunc">
|
||||||
<view>主播性别{{ item.sex === 1 ? "男" : "女" }}</view>
|
<image class="Return" src="../../static/Return.png" mode="scaleToFill" />
|
||||||
<view> 国家{{ item.country }}</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view>pk场数:3场</view>
|
<view class="Content">
|
||||||
<view>金币{{ item.coin }}</view>
|
<!-- 发布者 -->
|
||||||
<view>PK时间{{ formatDate(item.pkTime) }}</view>
|
<view class="sender">
|
||||||
<view>pk场数</view>
|
<view class="sengderIcon">
|
||||||
|
<image class="Icon" :src="item.anchorIcon" mode="scaleToFill" />
|
||||||
|
</view>
|
||||||
|
|
||||||
<view>主播备注{{ item.remark }}</view>
|
<view class="Individual">
|
||||||
<button @click="openChat()">聊了个天</button>
|
<view class="name">{{ item.anchorId }}</view>
|
||||||
<button @click="open()">立即邀请PK</button>
|
|
||||||
|
<view class="GenderAndAge">
|
||||||
|
<view class="male" v-if="item.sex === '1'">
|
||||||
|
<view>
|
||||||
|
<image
|
||||||
|
style="width: 20rpx; height: 20rpx"
|
||||||
|
src="../../static/male.png"
|
||||||
|
mode="scaleToFill"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
<view class="age"> 21 </view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="female" v-else>
|
||||||
|
<view>
|
||||||
|
<image
|
||||||
|
style="width: 20rpx; height: 20rpx"
|
||||||
|
src="../../static/female.png"
|
||||||
|
mode="scaleToFill"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
<view class="age"> 21 </view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="nation">{{ item.country }}</view>
|
||||||
|
</view>
|
||||||
|
<view class="Time">PK时间:{{ formatDate(item.pkTime) }}</view>
|
||||||
|
<view class="SessionAndGoldCoin">
|
||||||
|
<view class="goldCoin">
|
||||||
|
<image
|
||||||
|
style="width: 72rpx; height: 72rpx; margin-left: 36rpx; margin-right: 32rpx"
|
||||||
|
src="../../static/gold.png"
|
||||||
|
mode="scaleToFill"
|
||||||
|
/>
|
||||||
|
<view class="goldcard">
|
||||||
|
<view class="goldnumber">{{ item.coin }}</view>
|
||||||
|
<view class="goldtext">金币</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="Session">
|
||||||
|
<image
|
||||||
|
style="width: 72rpx; height: 72rpx; margin-left: 36rpx; margin-right: 32rpx"
|
||||||
|
src="../../static/session.png"
|
||||||
|
mode="scaleToFill"
|
||||||
|
/>
|
||||||
|
<view class="goldcard">
|
||||||
|
<view class="goldnumber">{{ item.pkNumber }}</view>
|
||||||
|
<view class="goldtext">PK场数</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="button">
|
||||||
|
<button class="accept" @click="openChat()">聊了个天</button>
|
||||||
|
<button class="reject" @click="open()">立即邀请</button>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 弹窗 -->
|
<!-- 弹窗 -->
|
||||||
<uni-popup ref="popup" type="center" border-radius="10px 10px 0 0">
|
<uni-popup ref="popup" type="center" border-radius="10px 10px 0 0">
|
||||||
@@ -145,7 +189,6 @@ export default {
|
|||||||
this.userlist();
|
this.userlist();
|
||||||
},
|
},
|
||||||
invite() {
|
invite() {
|
||||||
|
|
||||||
// if (this.item.pkTime !== this.list[this.InvitingPartyEventindex].pkTime) {
|
// if (this.item.pkTime !== this.list[this.InvitingPartyEventindex].pkTime) {
|
||||||
// uni.showToast({
|
// uni.showToast({
|
||||||
// icon: "none",
|
// icon: "none",
|
||||||
@@ -216,43 +259,6 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
/* 样式定义 */
|
|
||||||
.Navigation {
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
height: 200rpx;
|
|
||||||
}
|
|
||||||
.Navigationimg {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.Return {
|
|
||||||
position: absolute;
|
|
||||||
left: 60rpx;
|
|
||||||
bottom: 40rpx;
|
|
||||||
width: 60rpx;
|
|
||||||
height: 60rpx;
|
|
||||||
}
|
|
||||||
.container {
|
|
||||||
position: absolute;
|
|
||||||
top: 200rpx;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
|
||||||
.individual {
|
|
||||||
display: flex;
|
|
||||||
/* justify-content: center; */
|
|
||||||
margin-top: 50rpx;
|
|
||||||
}
|
|
||||||
.anchor {
|
|
||||||
width: 200rpx;
|
|
||||||
height: 200rpx;
|
|
||||||
background-color: rgba(0, 0, 255, 0.369);
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
|
||||||
.popup-content {
|
.popup-content {
|
||||||
width: 500rpx;
|
width: 500rpx;
|
||||||
height: 700rpx;
|
height: 700rpx;
|
||||||
@@ -332,4 +338,180 @@ export default {
|
|||||||
.NameMoney_Name {
|
.NameMoney_Name {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
.background {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
.Navigation {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 200rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 0 60rpx;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
.Return {
|
||||||
|
width: 60rpx;
|
||||||
|
height: 60rpx;
|
||||||
|
margin-top: 20rpx;
|
||||||
|
}
|
||||||
|
.Content {
|
||||||
|
position: absolute;
|
||||||
|
top: 200rpx;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.sender {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 80rpx;
|
||||||
|
}
|
||||||
|
.sengderIcon {
|
||||||
|
width: 150rpx;
|
||||||
|
height: 150rpx;
|
||||||
|
border-radius: 50%;
|
||||||
|
background-color: #fff;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.Icon {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
.Individual {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 34.35rpx;
|
||||||
|
}
|
||||||
|
.name {
|
||||||
|
font-size: 30.53rpx;
|
||||||
|
color: #161616;
|
||||||
|
margin-right: 16.22rpx;
|
||||||
|
}
|
||||||
|
.nation {
|
||||||
|
width: 56.3rpx;
|
||||||
|
height: 29.58rpx;
|
||||||
|
font-size: 17.18rpx;
|
||||||
|
color: #666666;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 29.58rpx;
|
||||||
|
background-color: #fff;
|
||||||
|
border-radius: 50rpx;
|
||||||
|
padding: 6rpx 12rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.male {
|
||||||
|
width: 56.3rpx;
|
||||||
|
height: 29.58rpx;
|
||||||
|
background-color: #5bced1;
|
||||||
|
border-radius: 50rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
padding: 6rpx 12rpx;
|
||||||
|
margin-right: 12rpx;
|
||||||
|
}
|
||||||
|
.female {
|
||||||
|
width: 56.3rpx;
|
||||||
|
height: 29.58rpx;
|
||||||
|
background-color: #f3876f;
|
||||||
|
border-radius: 50rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
padding: 6rpx 12rpx;
|
||||||
|
margin-right: 12rpx;
|
||||||
|
}
|
||||||
|
.age {
|
||||||
|
font-size: 17.18rpx;
|
||||||
|
color: #fff;
|
||||||
|
margin-left: 4rpx;
|
||||||
|
}
|
||||||
|
.Time {
|
||||||
|
color: #666666;
|
||||||
|
font-size: 26.72rpx;
|
||||||
|
margin-top: 48.7rpx;
|
||||||
|
}
|
||||||
|
.goldCoin {
|
||||||
|
background-image: url("../../static/Backgroundofgoldcoins.png");
|
||||||
|
width: 334.83rpx;
|
||||||
|
height: 124.05rpx;
|
||||||
|
margin-right: 21rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.Session {
|
||||||
|
background-image: url("../../static/Fieldnumberbackground.png");
|
||||||
|
width: 334.83rpx;
|
||||||
|
height: 124.05rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.SessionAndGoldCoin {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 60rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.goldtext {
|
||||||
|
font-size: 28.63rpx;
|
||||||
|
color: #929292;
|
||||||
|
}
|
||||||
|
.goldnumber {
|
||||||
|
font-size: 34.35rpx;
|
||||||
|
color: #161616;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.goldcard {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.button {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 645rpx;
|
||||||
|
}
|
||||||
|
.accept {
|
||||||
|
width: 325.38rpx;
|
||||||
|
height: 77.29rpx;
|
||||||
|
margin-right: 35.5rpx;
|
||||||
|
border-radius: 50rpx;
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1rpx solid #03aba8;
|
||||||
|
color: #03aba8;
|
||||||
|
font-size: 28.63rpx;
|
||||||
|
line-height: 77.29rpx;
|
||||||
|
}
|
||||||
|
.reject {
|
||||||
|
width: 325.38rpx;
|
||||||
|
height: 77.29rpx;
|
||||||
|
border-radius: 50rpx;
|
||||||
|
background-color: #03aba8;
|
||||||
|
border: 1rpx solid #03aba8;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 28.63rpx;
|
||||||
|
line-height: 77.29rpx;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
BIN
static/Backgroundofgoldcoins.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
static/Fieldnumberbackground.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
static/Fork.png
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 461 B |
BIN
static/Publishpk.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
static/gold.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
static/session.png
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
BIN
static/star.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
@@ -1 +1 @@
|
|||||||
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script lang=\"ts\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n// Required information\r\n// You can get userSig from TencentCloud chat console for Testing TUIKit.\r\n// Deploy production environment please get it from your server.\r\n// View https://cloud.tencent.com/document/product/269/32688\r\n\r\nexport default {\r\n data() {\r\n return {\r\n info: {},\r\n userSig: \"\",\r\n chatInfo: {},\r\n };\r\n },\r\n onLoad(option) {\r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n this.info = res.data;\r\n counter.$patch({ myitem:this.info})\r\n },\r\n fail: () => {\r\n },\r\n })\r\n },\r\n provide() {\r\n return {\r\n $global: {\r\n lastPage: null,\r\n },\r\n };\r\n },\r\n};\r\n</script>\r\n<style>\r\n/* common css for page */\r\nuni-page-body,\r\nhtml,\r\nbody,\r\npage {\r\n width: 100% !important;\r\n height: 100% !important;\r\n overflow: hidden;\r\n}\r\n</style>\r\n","import App from './App'\r\nimport { createSSRApp } from 'vue';\r\nimport * as Pinia from 'pinia';\r\n\r\nexport function createApp() {\r\n\tconst app = createSSRApp(App);\r\n\tapp.use(Pinia.createPinia());\r\n\treturn {\r\n\t\tapp,\r\n\t\tPinia, // 此处必须将 Pinia 返回\r\n\t};\r\n}"],"names":["uni","createSSRApp","App","Pinia.createPinia","Pinia"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAaA,MAAe,YAAA;AAAA,EACb,OAAO;AACE,WAAA;AAAA,MACL,MAAM,CAAC;AAAA,MACP,SAAS;AAAA,MACT,UAAU,CAAC;AAAA,IAAA;AAAA,EAEf;AAAA,EACA,OAAO,QAAQ;AACbA,kBAAAA,MAAI,WAAW;AAAA,MACb,KAAK;AAAA,MACL,SAAS,CAAC,QAAQ;AAChB,aAAK,OAAO,IAAI;AAChB,gBAAQ,OAAO,EAAE,QAAO,KAAK,KAAK,CAAA;AAAA,MACpC;AAAA,MACA,MAAM,MAAM;AAAA,MACZ;AAAA,IAAA,CACD;AAAA,EACH;AAAA,EACA,UAAU;AACD,WAAA;AAAA,MACL,SAAS;AAAA,QACP,UAAU;AAAA,MACZ;AAAA,IAAA;AAAA,EAEJ;AACF;ACnCO,SAAS,YAAY;AAC3B,QAAM,MAAMC,2BAAaC,SAAG;AAC5B,MAAI,IAAIC,cAAiB,YAAA,CAAE;AAC3B,SAAO;AAAA,IACN;AAAA,IACF,OAAEC,cAAK;AAAA;AAAA,EACP;AACA;AACA,YAAY,IAAI,MAAM,MAAM;;"}
|
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script lang=\"ts\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n// Required information\r\n// You can get userSig from TencentCloud chat console for Testing TUIKit.\r\n// Deploy production environment please get it from your server.\r\n// View https://cloud.tencent.com/document/product/269/32688\r\n\r\nexport default {\r\n data() {\r\n return {\r\n info: {},\r\n userSig: \"\",\r\n chatInfo: {},\r\n };\r\n },\r\n onLoad(option) {\r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n this.info = res.data;\r\n counter.$patch({ myitem:this.info})\r\n },\r\n fail: () => {\r\n },\r\n })\r\n },\r\n provide() {\r\n return {\r\n $global: {\r\n lastPage: null,\r\n },\r\n };\r\n },\r\n};\r\n</script>\r\n<style>\r\n/* common css for page */\r\nuni-page-body,\r\nhtml,\r\nbody,\r\npage {\r\n width: 100% !important;\r\n height: 100% !important;\r\n overflow: hidden;\r\n}\r\n</style>\r\n","import App from './App'\r\nimport { createSSRApp } from 'vue';\r\nimport * as Pinia from 'pinia';\r\n\r\nexport function createApp() {\r\n\tconst app = createSSRApp(App);\r\n\tapp.use(Pinia.createPinia());\r\n\treturn {\r\n\t\tapp,\r\n\t\tPinia, // 此处必须将 Pinia 返回\r\n\t};\r\n}"],"names":["uni","createSSRApp","App","Pinia.createPinia","Pinia"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAaA,MAAe,YAAA;AAAA,EACb,OAAO;AACE,WAAA;AAAA,MACL,MAAM,CAAC;AAAA,MACP,SAAS;AAAA,MACT,UAAU,CAAC;AAAA,IAAA;AAAA,EAEf;AAAA,EACA,OAAO,QAAQ;AACbA,kBAAAA,MAAI,WAAW;AAAA,MACb,KAAK;AAAA,MACL,SAAS,CAAC,QAAQ;AAChB,aAAK,OAAO,IAAI;AAChB,gBAAQ,OAAO,EAAE,QAAO,KAAK,KAAK,CAAA;AAAA,MACpC;AAAA,MACA,MAAM,MAAM;AAAA,MACZ;AAAA,IAAA,CACD;AAAA,EACH;AAAA,EACA,UAAU;AACD,WAAA;AAAA,MACL,SAAS;AAAA,QACP,UAAU;AAAA,MACZ;AAAA,IAAA;AAAA,EAEJ;AACF;ACnCO,SAAS,YAAY;AAC3B,QAAM,MAAMC,2BAAaC,SAAG;AAC5B,MAAI,IAAIC,cAAiB,YAAA,CAAE;AAC3B,SAAO;AAAA,IACN;AAAA,IACF,OAAEC,cAAK;AAAA;AAAA,EACP;AACA;AACA,YAAY,IAAI,MAAM,MAAM;;"}
|
||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"file":"Home.js","sources":["pages/Home/Home.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvSG9tZS9Ib21lLnZ1ZQ"],"sourcesContent":["<template>\r\n <view class=\"page\">\r\n <image src=\"../../static/HomeBackground.png\" class=\"HomeBackground\"></image>\r\n </view>\r\n <view class=\"top-navigation-container\">\r\n <top-navigation></top-navigation>\r\n </view>\r\n <view class=\"Advertisement\" @click=\"goAdvertisement\">\r\n <advertisement></advertisement>\r\n </view>\r\n <view class=\"contentList\">\r\n <contentList></contentList>\r\n </view>\r\n <view class=\"tabBar\">\r\n <tabBar></tabBar>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport topNavigation from \"../../components/topNavigation/topNavigation\";\r\nimport Advertisement from \"../../components/Advertisement/Advertisement\";\r\nimport contentList from \"../../components/contentList/contentList\";\r\nimport tabBar from \"../../components/tabBar/tabBar\";\r\nimport TUIlogin from \"../../components/TUILogin.js\";\r\nimport TencentCloudChat from \"@tencentcloud/chat\";\r\nimport { useCounterStore } from '@/stores/counter'\r\nconst counter = useCounterStore()\r\nexport default {\r\n inject: [\"$global\"],\r\n data() {\r\n return {\r\n info: {},\r\n myuserSig: \"\",\r\n chatInfo: {},\r\n };\r\n },\r\n onLoad() {\r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n this.info = res.data;\r\n counter.$patch({ myitem:this.info})\r\n uni.getStorage({\r\n key: \"myuserSig\",\r\n success: (res) => {\r\n this.myuserSig = res.data;\r\n uni.getStorage({\r\n key: \"chatInfo\",\r\n success: (res) => {\r\n this.chatInfo = res.data;\r\n TUIlogin(this.chatInfo.appId, this.info.id, this.myuserSig.userSig);\r\n // let options = {\r\n // SDKAppID: this.chatInfo.appId,\r\n // };\r\n // console.log(\"`````````````````````````````````````````\", this.chatInfo);\r\n // let chat = TencentCloudChat.create(options);\r\n // console.log(\"chat````````````````````````````````````````\", this.chat);\r\n // chat.login({ userID: String(this.info.id), userSig: this.myuserSig.userSig });\r\n },\r\n });\r\n },\r\n });\r\n },\r\n });\r\n },\r\n methods: {\r\n goAdvertisement() {\r\n // this.$global.lastPage = getCurrentPages().router;\r\n uni.navigateTo({ url: \"/pages/pkDetail/pkDetail\" });\r\n },\r\n },\r\n components: {\r\n topNavigation,\r\n Advertisement,\r\n contentList,\r\n tabBar,\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.page {\r\n position: relative;\r\n width: 750rpx;\r\n height: 1620rpx;\r\n}\r\n\r\n.HomeBackground {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n z-index: -1;\r\n}\r\n.top-navigation-container {\r\n position: fixed;\r\n top: 160rpx;\r\n left: 0;\r\n width: 100%;\r\n height: 114.5rpx;\r\n}\r\n.Advertisement {\r\n position: fixed;\r\n top: 300rpx;\r\n left: 0;\r\n width: 100%;\r\n height: 100rpx;\r\n z-index: 100;\r\n}\r\n.contentList {\r\n position: fixed;\r\n top: 400rpx;\r\n left: 0;\r\n bottom: -30rpx;\r\n width: 100%;\r\n /* height: 1300rpx; */\r\n}\r\n</style>\r\n","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/Home/Home.vue'\nwx.createPage(MiniProgramPage)"],"names":["useCounterStore","uni","res","TUIlogin"],"mappings":";;;;;AAmBA,MAAO,gBAAe,MAAW;AACjC,MAAO,gBAAe,MAAW;AACjC,MAAO,cAAa,MAAW;AAC/B,eAAe,MAAW;AAI1B,MAAM,UAAUA,eAAAA,gBAAgB;AAChC,MAAK,YAAU;AAAA,EACb,QAAQ,CAAC,SAAS;AAAA,EAClB,OAAO;AACL,WAAO;AAAA,MACL,MAAM,CAAE;AAAA,MACR,WAAW;AAAA,MACX,UAAU,CAAE;AAAA;EAEf;AAAA,EACD,SAAS;AACPC,kBAAAA,MAAI,WAAW;AAAA,MACb,KAAK;AAAA,MACL,SAAS,CAAC,QAAQ;AAChB,aAAK,OAAO,IAAI;AAChB,gBAAQ,OAAO,EAAE,QAAO,KAAK,KAAI,CAAC;AAClCA,sBAAAA,MAAI,WAAW;AAAA,UACb,KAAK;AAAA,UACL,SAAS,CAACC,SAAQ;AAChB,iBAAK,YAAYA,KAAI;AACrBD,0BAAAA,MAAI,WAAW;AAAA,cACb,KAAK;AAAA,cACL,SAAS,CAACC,SAAQ;AAChB,qBAAK,WAAWA,KAAI;AACpBC,oCAAAA,SAAS,KAAK,SAAS,OAAO,KAAK,KAAK,IAAI,KAAK,UAAU,OAAO;AAAA,cAQnE;AAAA,YACH,CAAC;AAAA,UACF;AAAA,QACH,CAAC;AAAA,MACF;AAAA,IACH,CAAC;AAAA,EACF;AAAA,EACD,SAAS;AAAA,IACP,kBAAkB;AAEhBF,oBAAAA,MAAI,WAAW,EAAE,KAAK,2BAA4B,CAAA;AAAA,IACnD;AAAA,EACF;AAAA,EACD,YAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD;AACH;;;;;;;;;;;;;;;;;;;;AC5EA,GAAG,WAAW,eAAe;"}
|
{"version":3,"file":"Home.js","sources":["pages/Home/Home.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvSG9tZS9Ib21lLnZ1ZQ"],"sourcesContent":["<template>\r\n <view class=\"page\">\r\n <image src=\"../../static/HomeBackground.png\" class=\"HomeBackground\"></image>\r\n </view>\r\n <view class=\"top-navigation-container\">\r\n <top-navigation></top-navigation>\r\n </view>\r\n <view class=\"Advertisement\" @click=\"goAdvertisement\">\r\n <advertisement></advertisement>\r\n </view>\r\n <view class=\"contentList\">\r\n <contentList></contentList>\r\n </view>\r\n <view class=\"tabBar\">\r\n <tabBar></tabBar>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport topNavigation from \"../../components/topNavigation/topNavigation\";\r\nimport Advertisement from \"../../components/Advertisement/Advertisement\";\r\nimport contentList from \"../../components/contentList/contentList\";\r\nimport tabBar from \"../../components/tabBar/tabBar\";\r\nimport TUIlogin from \"../../components/TUILogin.js\";\r\nimport { useCounterStore } from '@/stores/counter'\r\nconst counter = useCounterStore()\r\nexport default {\r\n inject: [\"$global\"],\r\n data() {\r\n return {\r\n info: {},\r\n myuserSig: \"\",\r\n chatInfo: {},\r\n };\r\n },\r\n onLoad() {\r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n this.info = res.data;\r\n counter.$patch({ myitem:this.info})\r\n uni.getStorage({\r\n key: \"myuserSig\",\r\n success: (res) => {\r\n this.myuserSig = res.data;\r\n uni.getStorage({\r\n key: \"chatInfo\",\r\n success: (res) => {\r\n this.chatInfo = res.data;\r\n TUIlogin(this.chatInfo.appId, this.info.id, this.myuserSig.userSig);\r\n // let options = {\r\n // SDKAppID: this.chatInfo.appId,\r\n // };\r\n // console.log(\"`````````````````````````````````````````\", this.chatInfo);\r\n // let chat = TencentCloudChat.create(options);\r\n // console.log(\"chat````````````````````````````````````````\", this.chat);\r\n // chat.login({ userID: String(this.info.id), userSig: this.myuserSig.userSig });\r\n },\r\n });\r\n },\r\n });\r\n },\r\n });\r\n \r\n },\r\n methods: {\r\n goAdvertisement() {\r\n // this.$global.lastPage = getCurrentPages().router;\r\n uni.navigateTo({ url: \"/pages/pkDetail/pkDetail\" });\r\n },\r\n },\r\n components: {\r\n topNavigation,\r\n Advertisement,\r\n contentList,\r\n tabBar,\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.page {\r\n position: relative;\r\n width: 750rpx;\r\n height: 1620rpx;\r\n}\r\n\r\n.HomeBackground {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n z-index: -1;\r\n}\r\n.top-navigation-container {\r\n position: fixed;\r\n top: 160rpx;\r\n left: 0;\r\n width: 100%;\r\n height: 114.5rpx;\r\n}\r\n.Advertisement {\r\n position: fixed;\r\n top: 300rpx;\r\n left: 0;\r\n width: 100%;\r\n height: 100rpx;\r\n z-index: 100;\r\n}\r\n.contentList {\r\n position: fixed;\r\n top: 400rpx;\r\n left: 0;\r\n bottom: -30rpx;\r\n width: 100%;\r\n /* height: 1300rpx; */\r\n}\r\n</style>\r\n","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/Home/Home.vue'\nwx.createPage(MiniProgramPage)"],"names":["useCounterStore","uni","res","TUIlogin"],"mappings":";;;;;AAmBA,MAAO,gBAAe,MAAW;AACjC,MAAO,gBAAe,MAAW;AACjC,MAAO,cAAa,MAAW;AAC/B,eAAe,MAAW;AAG1B,MAAM,UAAUA,eAAAA,gBAAgB;AAChC,MAAK,YAAU;AAAA,EACb,QAAQ,CAAC,SAAS;AAAA,EAClB,OAAO;AACL,WAAO;AAAA,MACL,MAAM,CAAE;AAAA,MACR,WAAW;AAAA,MACX,UAAU,CAAE;AAAA;EAEf;AAAA,EACD,SAAS;AACPC,kBAAAA,MAAI,WAAW;AAAA,MACb,KAAK;AAAA,MACL,SAAS,CAAC,QAAQ;AAChB,aAAK,OAAO,IAAI;AAChB,gBAAQ,OAAO,EAAE,QAAO,KAAK,KAAI,CAAC;AAClCA,sBAAAA,MAAI,WAAW;AAAA,UACb,KAAK;AAAA,UACL,SAAS,CAACC,SAAQ;AAChB,iBAAK,YAAYA,KAAI;AACrBD,0BAAAA,MAAI,WAAW;AAAA,cACb,KAAK;AAAA,cACL,SAAS,CAACC,SAAQ;AAChB,qBAAK,WAAWA,KAAI;AACpBC,oCAAAA,SAAS,KAAK,SAAS,OAAO,KAAK,KAAK,IAAI,KAAK,UAAU,OAAO;AAAA,cAQnE;AAAA,YACH,CAAC;AAAA,UACF;AAAA,QACH,CAAC;AAAA,MACF;AAAA,IACH,CAAC;AAAA,EAEF;AAAA,EACD,SAAS;AAAA,IACP,kBAAkB;AAEhBF,oBAAAA,MAAI,WAAW,EAAE,KAAK,2BAA4B,CAAA;AAAA,IACnD;AAAA,EACF;AAAA,EACD,YAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD;AACH;;;;;;;;;;;;;;;;;;;;AC5EA,GAAG,WAAW,eAAe;"}
|
||||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/PKMessageprocessing/PKMessageprocessing.js.map
vendored
Normal file
30
unpackage/dist/dev/mp-weixin/NewAddedPk.js
vendored
@@ -27,14 +27,8 @@ const _sfc_main = {
|
|||||||
//日期
|
//日期
|
||||||
id: null,
|
id: null,
|
||||||
//用户id
|
//用户id
|
||||||
sendingTime: "",
|
sendingTime: ""
|
||||||
//发送时间
|
//发送时间
|
||||||
placeholderStyle: "color:#ffffff;font-size:14px",
|
|
||||||
styles: {
|
|
||||||
backgroundColor: "#2bff001e",
|
|
||||||
color: "#ffffff",
|
|
||||||
borderColor: "#00bd069d"
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -48,11 +42,11 @@ const _sfc_main = {
|
|||||||
methods: {
|
methods: {
|
||||||
gender(item) {
|
gender(item) {
|
||||||
this.genders = item.value;
|
this.genders = item.value;
|
||||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:179", item);
|
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:174", item);
|
||||||
},
|
},
|
||||||
country(item) {
|
country(item) {
|
||||||
this.countrys = item.value;
|
this.countrys = item.value;
|
||||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:184", item);
|
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:179", item);
|
||||||
},
|
},
|
||||||
handleOverlayClick(event) {
|
handleOverlayClick(event) {
|
||||||
if (event.target === this.$el) {
|
if (event.target === this.$el) {
|
||||||
@@ -168,10 +162,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|||||||
}, $data.nameAnchor === "" && $data.Hint === true ? {} : {}, {
|
}, $data.nameAnchor === "" && $data.Hint === true ? {} : {}, {
|
||||||
f: common_vendor.o$1($options.country),
|
f: common_vendor.o$1($options.country),
|
||||||
g: common_vendor.p({
|
g: common_vendor.p({
|
||||||
backgroundColor: "#fff70065",
|
backgroundColor: "#ffffff",
|
||||||
borderRadius: "20",
|
|
||||||
placeholderColor: "#ffffff",
|
placeholderColor: "#ffffff",
|
||||||
textColor: "#7cba59",
|
textColor: "#666666",
|
||||||
borderColor: "#ffffff",
|
borderColor: "#ffffff",
|
||||||
options: $data.Country,
|
options: $data.Country,
|
||||||
filterable: "true",
|
filterable: "true",
|
||||||
@@ -181,10 +174,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|||||||
}, $data.countrys === "" && $data.Hint === true ? {} : {}, {
|
}, $data.countrys === "" && $data.Hint === true ? {} : {}, {
|
||||||
i: common_vendor.o$1($options.gender),
|
i: common_vendor.o$1($options.gender),
|
||||||
j: common_vendor.p({
|
j: common_vendor.p({
|
||||||
backgroundColor: "#ffaa0082",
|
backgroundColor: "#ffffff",
|
||||||
borderRadius: "20",
|
placeholderColor: "#666666",
|
||||||
placeholderColor: "#ffffff",
|
textColor: "#666666",
|
||||||
textColor: "#ffffff",
|
|
||||||
borderColor: "#ffffff",
|
borderColor: "#ffffff",
|
||||||
options: $data.Gender,
|
options: $data.Gender,
|
||||||
placeholder: "性别"
|
placeholder: "性别"
|
||||||
@@ -205,7 +197,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|||||||
}, $data.genders === 0 && $data.Hint === true ? {} : {}, {
|
}, $data.genders === 0 && $data.Hint === true ? {} : {}, {
|
||||||
r: common_vendor.o$1(($event) => $data.numberCoins = $event),
|
r: common_vendor.o$1(($event) => $data.numberCoins = $event),
|
||||||
s: common_vendor.p({
|
s: common_vendor.p({
|
||||||
background: "#2bff001e",
|
background: "#03ABA8",
|
||||||
modelValue: $data.numberCoins
|
modelValue: $data.numberCoins
|
||||||
}),
|
}),
|
||||||
t: $data.numberCoins === "" && $data.Hint === true
|
t: $data.numberCoins === "" && $data.Hint === true
|
||||||
@@ -221,15 +213,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|||||||
}, $data.datetimesingle === "" && $data.Hint === true ? {} : {}, {
|
}, $data.datetimesingle === "" && $data.Hint === true ? {} : {}, {
|
||||||
z: common_vendor.o$1(($event) => $data.numberCoins = $event),
|
z: common_vendor.o$1(($event) => $data.numberCoins = $event),
|
||||||
A: common_vendor.p({
|
A: common_vendor.p({
|
||||||
background: "#2bff001e",
|
background: "#03ABA8",
|
||||||
modelValue: $data.numberCoins
|
modelValue: $data.numberCoins
|
||||||
}),
|
}),
|
||||||
B: $data.numberCoins === "" && $data.Hint === true
|
B: $data.numberCoins === "" && $data.Hint === true
|
||||||
}, $data.numberCoins === "" && $data.Hint === true ? {} : {}, {
|
}, $data.numberCoins === "" && $data.Hint === true ? {} : {}, {
|
||||||
C: common_vendor.o$1(($event) => $data.remarks = $event),
|
C: common_vendor.o$1(($event) => $data.remarks = $event),
|
||||||
D: common_vendor.p({
|
D: common_vendor.p({
|
||||||
styles: $data.styles,
|
|
||||||
placeholderStyle: $data.placeholderStyle,
|
|
||||||
type: "textarea",
|
type: "textarea",
|
||||||
placeholder: "备注",
|
placeholder: "备注",
|
||||||
modelValue: $data.remarks
|
modelValue: $data.remarks
|
||||||
|
|||||||
@@ -16,16 +16,11 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|||||||
content: { default: void 0 }
|
content: { default: void 0 }
|
||||||
},
|
},
|
||||||
setup(__props) {
|
setup(__props) {
|
||||||
const counter = stores_counter.useCounterStore();
|
stores_counter.useCounterStore();
|
||||||
const status = { agree: 1, refuse: 2 };
|
function handleAccept(customData2) {
|
||||||
function handleAccept(status2, customData2) {
|
const customDatainfo = JSON.stringify(customData2);
|
||||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/message-list/message-elements/message-custom.vue:120", custom.value);
|
common_vendor.index.redirectTo({
|
||||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/message-list/message-elements/message-custom.vue:121", message.value);
|
url: `/pages/PKMessageprocessing/PKMessageprocessing?customData=${customDatainfo}`
|
||||||
message.value.payload.title = "Hello Tencent";
|
|
||||||
common_vendor.Qt.modifyMessage(message.value).then((res) => {
|
|
||||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/message-list/message-elements/message-custom.vue:124", res);
|
|
||||||
}).catch((err) => {
|
|
||||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/message-list/message-elements/message-custom.vue:126", err);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
const props = __props;
|
const props = __props;
|
||||||
@@ -96,20 +91,11 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|||||||
v: common_vendor.t(common_vendor.unref(customData).text),
|
v: common_vendor.t(common_vendor.unref(customData).text),
|
||||||
w: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("message.custom.查看详情>>")),
|
w: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("message.custom.查看详情>>")),
|
||||||
x: common_vendor.unref(customData).link
|
x: common_vendor.unref(customData).link
|
||||||
} : common_vendor.unref(customData).businessID === common_vendor.unref(TUIKit_constant.CHAT_MSG_CUSTOM_TYPE).PK ? common_vendor.e({
|
} : common_vendor.unref(customData).businessID === common_vendor.unref(TUIKit_constant.CHAT_MSG_CUSTOM_TYPE).PK ? {
|
||||||
z: common_vendor.unref(customData).myitem !== common_vendor.unref(counter).myitem.id
|
z: common_vendor.unref(customData).link,
|
||||||
}, common_vendor.unref(customData).myitem !== common_vendor.unref(counter).myitem.id ? common_vendor.e({
|
A: common_vendor.o$1(($event) => handleAccept(common_vendor.unref(customData)))
|
||||||
A: common_vendor.t(common_vendor.unref(customData).title),
|
} : {
|
||||||
B: common_vendor.unref(customData).btnDisplay === true
|
B: _ctx.content.custom
|
||||||
}, common_vendor.unref(customData).btnDisplay === true ? {
|
|
||||||
C: common_vendor.t(common_vendor.unref(customData).buttonText1),
|
|
||||||
D: common_vendor.o$1(($event) => handleAccept(status.agree, common_vendor.unref(customData))),
|
|
||||||
E: common_vendor.t(common_vendor.unref(customData).buttonText2),
|
|
||||||
F: common_vendor.o$1(($event) => handleAccept(status.refuse, common_vendor.unref(customData)))
|
|
||||||
} : {}) : {
|
|
||||||
G: common_vendor.t(common_vendor.unref(customData).mytitle)
|
|
||||||
}) : {
|
|
||||||
H: _ctx.content.custom
|
|
||||||
}, {
|
}, {
|
||||||
i: common_vendor.unref(customData).businessID === common_vendor.unref(TUIKit_constant.CHAT_MSG_CUSTOM_TYPE).EVALUATE,
|
i: common_vendor.unref(customData).businessID === common_vendor.unref(TUIKit_constant.CHAT_MSG_CUSTOM_TYPE).EVALUATE,
|
||||||
n: common_vendor.unref(customData).businessID === common_vendor.unref(TUIKit_constant.CHAT_MSG_CUSTOM_TYPE).ORDER,
|
n: common_vendor.unref(customData).businessID === common_vendor.unref(TUIKit_constant.CHAT_MSG_CUSTOM_TYPE).ORDER,
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<view class="custom data-v-abd5dfdc"><block wx:if="{{a}}"><view class="data-v-abd5dfdc"><view class="data-v-abd5dfdc"><label class="data-v-abd5dfdc">{{b}}</label><navigator wx:if="{{c}}" class="data-v-abd5dfdc" href="{{e}}" target="view_window">{{d}}</navigator></view><view wx:if="{{f}}" class="data-v-abd5dfdc"><view wx:for="{{g}}" wx:for-item="item" wx:key="e" class="data-v-abd5dfdc"><navigator wx:if="{{item.a}}" class="data-v-abd5dfdc" href="{{item.c}}" target="view_window">{{item.b}}</navigator><view wx:else class="data-v-abd5dfdc">{{item.d}}</view></view></view><view class="data-v-abd5dfdc">{{h}}</view></view></block><block wx:elif="{{i}}"><view class="evaluate data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{j}}</view><view class="evaluate-list data-v-abd5dfdc"><view wx:for="{{k}}" wx:for-item="item" wx:key="b" class="evaluate-list-item data-v-abd5dfdc"><icon wx:if="{{l}}" class="file-icon data-v-abd5dfdc" u-i="{{item.a}}" bind:__l="__l" u-p="{{l}}"/></view></view><view class="data-v-abd5dfdc">{{m}}</view></view></block><block wx:elif="{{n}}"><view class="order data-v-abd5dfdc" bindtap="{{s}}"><image class="data-v-abd5dfdc" src="{{o}}"/><view class="data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{p}}</view><view class="data-v-abd5dfdc">{{q}}</view><label class="data-v-abd5dfdc">{{r}}</label></view></view></block><block wx:elif="{{t}}"><view class="textLink data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{v}}</view><navigator class="data-v-abd5dfdc" href="{{x}}" target="view_window">{{w}}</navigator></view></block><block wx:elif="{{y}}"><view wx:if="{{z}}" class="pk data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{A}}</view><view wx:if="{{B}}" class="button-group data-v-abd5dfdc"><button bindtap="{{D}}" class="buttonAccept data-v-abd5dfdc">{{C}}</button><button bindtap="{{F}}" class="buttonRefuse data-v-abd5dfdc">{{E}}</button></view></view><view wx:else class="pk data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{G}}</view></view></block><block wx:else><label class="data-v-abd5dfdc"><rich-text class="data-v-abd5dfdc" nodes="{{H}}"/></label></block></view>
|
<view class="custom data-v-abd5dfdc"><block wx:if="{{a}}"><view class="data-v-abd5dfdc"><view class="data-v-abd5dfdc"><label class="data-v-abd5dfdc">{{b}}</label><navigator wx:if="{{c}}" class="data-v-abd5dfdc" href="{{e}}" target="view_window">{{d}}</navigator></view><view wx:if="{{f}}" class="data-v-abd5dfdc"><view wx:for="{{g}}" wx:for-item="item" wx:key="e" class="data-v-abd5dfdc"><navigator wx:if="{{item.a}}" class="data-v-abd5dfdc" href="{{item.c}}" target="view_window">{{item.b}}</navigator><view wx:else class="data-v-abd5dfdc">{{item.d}}</view></view></view><view class="data-v-abd5dfdc">{{h}}</view></view></block><block wx:elif="{{i}}"><view class="evaluate data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{j}}</view><view class="evaluate-list data-v-abd5dfdc"><view wx:for="{{k}}" wx:for-item="item" wx:key="b" class="evaluate-list-item data-v-abd5dfdc"><icon wx:if="{{l}}" class="file-icon data-v-abd5dfdc" u-i="{{item.a}}" bind:__l="__l" u-p="{{l}}"/></view></view><view class="data-v-abd5dfdc">{{m}}</view></view></block><block wx:elif="{{n}}"><view class="order data-v-abd5dfdc" bindtap="{{s}}"><image class="data-v-abd5dfdc" src="{{o}}"/><view class="data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{p}}</view><view class="data-v-abd5dfdc">{{q}}</view><label class="data-v-abd5dfdc">{{r}}</label></view></view></block><block wx:elif="{{t}}"><view class="textLink data-v-abd5dfdc"><view class="data-v-abd5dfdc">{{v}}</view><navigator class="data-v-abd5dfdc" href="{{x}}" target="view_window">{{w}}</navigator></view></block><block wx:elif="{{y}}"><view class="pk data-v-abd5dfdc" bindtap="{{A}}"><image class="Custommessageimage data-v-abd5dfdc" src="{{z}}" mode="scaleToFill"/></view></block><block wx:else><label class="data-v-abd5dfdc"><rich-text class="data-v-abd5dfdc" nodes="{{B}}"/></label></block></view>
|
||||||
@@ -130,7 +130,7 @@ a.data-v-abd5dfdc {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #f5f5f5;
|
background-color: #ffffff;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@@ -172,3 +172,7 @@ a.data-v-abd5dfdc {
|
|||||||
border: none;
|
border: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
.Custommessageimage.data-v-abd5dfdc {
|
||||||
|
width: 385rpx;
|
||||||
|
height: 195rpx;
|
||||||
|
}
|
||||||
@@ -84,13 +84,16 @@ const _sfc_main$4 = /* @__PURE__ */ common_vendor.defineComponent({
|
|||||||
const payload = {
|
const payload = {
|
||||||
data: JSON.stringify({
|
data: JSON.stringify({
|
||||||
businessID: "pk",
|
businessID: "pk",
|
||||||
title: "PK邀请",
|
|
||||||
buttonText1: "接受邀请",
|
|
||||||
buttonText2: "拒绝邀请",
|
|
||||||
keyid,
|
keyid,
|
||||||
myitem: counter.myitem.id,
|
myitem: counter.myitem.id,
|
||||||
btnDisplay: true,
|
pkIdA: youritem2.id,
|
||||||
mytitle: "等待对方接受邀请"
|
pkIdB: myitem2.id,
|
||||||
|
userIdA: youritem2.senderId,
|
||||||
|
userIdB: myitem2.senderId,
|
||||||
|
pkTime: youritem2.pkTime,
|
||||||
|
pkNumber: youritem2.pkNumber,
|
||||||
|
link: "https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/pk.png",
|
||||||
|
btnDisplay: true
|
||||||
}),
|
}),
|
||||||
description: "邀请参加PK",
|
description: "邀请参加PK",
|
||||||
extension: "邀请参加PK"
|
extension: "邀请参加PK"
|
||||||
@@ -129,6 +132,7 @@ const _sfc_main$4 = /* @__PURE__ */ common_vendor.defineComponent({
|
|||||||
userIdA: youritem2.senderId,
|
userIdA: youritem2.senderId,
|
||||||
userIdB: myitem2.senderId,
|
userIdB: myitem2.senderId,
|
||||||
pkTime: youritem2.pkTime,
|
pkTime: youritem2.pkTime,
|
||||||
|
pkNumber: youritem2.pkNumber,
|
||||||
status: 0
|
status: 0
|
||||||
},
|
},
|
||||||
userInfo: false
|
userInfo: false
|
||||||
|
|||||||
1
unpackage/dist/dev/mp-weixin/app.js
vendored
@@ -7,6 +7,7 @@ if (!Math) {
|
|||||||
"./pages/Mine/minecomponents/pkRecord.js";
|
"./pages/Mine/minecomponents/pkRecord.js";
|
||||||
"./pages/Mine/minecomponents/contact.js";
|
"./pages/Mine/minecomponents/contact.js";
|
||||||
"./pages/Mine/minecomponents/pkInformation.js";
|
"./pages/Mine/minecomponents/pkInformation.js";
|
||||||
|
"./pages/PKMessageprocessing/PKMessageprocessing.js";
|
||||||
"./pages/index/index.js";
|
"./pages/index/index.js";
|
||||||
"./pages/login/login.js";
|
"./pages/login/login.js";
|
||||||
"./pages/UserInformation/UserInformation.js";
|
"./pages/UserInformation/UserInformation.js";
|
||||||
|
|||||||
1
unpackage/dist/dev/mp-weixin/app.json
vendored
@@ -5,6 +5,7 @@
|
|||||||
"pages/Mine/minecomponents/pkRecord",
|
"pages/Mine/minecomponents/pkRecord",
|
||||||
"pages/Mine/minecomponents/contact",
|
"pages/Mine/minecomponents/contact",
|
||||||
"pages/Mine/minecomponents/pkInformation",
|
"pages/Mine/minecomponents/pkInformation",
|
||||||
|
"pages/PKMessageprocessing/PKMessageprocessing",
|
||||||
"pages/index/index",
|
"pages/index/index",
|
||||||
"pages/login/login",
|
"pages/login/login",
|
||||||
"pages/UserInformation/UserInformation",
|
"pages/UserInformation/UserInformation",
|
||||||
|
|||||||
12
unpackage/dist/dev/mp-weixin/common/assets.js
vendored
@@ -3,12 +3,14 @@ const _imports_0$5 = "/static/HomeBackground.png";
|
|||||||
const _imports_0$4 = "/static/Settings.png";
|
const _imports_0$4 = "/static/Settings.png";
|
||||||
const _imports_0$3 = "/static/female.png";
|
const _imports_0$3 = "/static/female.png";
|
||||||
const _imports_1$2 = "/static/male.png";
|
const _imports_1$2 = "/static/male.png";
|
||||||
|
const _imports_1$1 = "/static/Return.png";
|
||||||
|
const _imports_4 = "/static/gold.png";
|
||||||
|
const _imports_5 = "/static/session.png";
|
||||||
const _imports_0$2 = "/static/Fork.png";
|
const _imports_0$2 = "/static/Fork.png";
|
||||||
const _imports_1$1 = "/static/ask.png";
|
const _imports_1 = "/static/ask.png";
|
||||||
const _imports_2 = "/static/man.png";
|
const _imports_2 = "/static/man.png";
|
||||||
const _imports_3 = "/static/girl.png";
|
const _imports_3 = "/static/girl.png";
|
||||||
const _imports_0$1 = "/static/Navigationimg.png";
|
const _imports_0$1 = "/static/Navigationimg.png";
|
||||||
const _imports_1 = "/static/Return.png";
|
|
||||||
const createGroup = "/assets/start-group.6d6b5fbb.svg";
|
const createGroup = "/assets/start-group.6d6b5fbb.svg";
|
||||||
const C2C = "/assets/icon-c2c.d80299ab.svg";
|
const C2C = "/assets/icon-c2c.d80299ab.svg";
|
||||||
const settingSVG = "/assets/setting.a15e5daf.svg";
|
const settingSVG = "/assets/setting.a15e5daf.svg";
|
||||||
@@ -92,11 +94,13 @@ exports._imports_0$2 = _imports_0$4;
|
|||||||
exports._imports_0$3 = _imports_0$3;
|
exports._imports_0$3 = _imports_0$3;
|
||||||
exports._imports_0$4 = _imports_0;
|
exports._imports_0$4 = _imports_0;
|
||||||
exports._imports_0$5 = _imports_0$2;
|
exports._imports_0$5 = _imports_0$2;
|
||||||
exports._imports_1 = _imports_1;
|
exports._imports_1 = _imports_1$1;
|
||||||
exports._imports_1$1 = _imports_1$2;
|
exports._imports_1$1 = _imports_1$2;
|
||||||
exports._imports_1$2 = _imports_1$1;
|
exports._imports_1$2 = _imports_1;
|
||||||
exports._imports_2 = _imports_2;
|
exports._imports_2 = _imports_2;
|
||||||
exports._imports_3 = _imports_3;
|
exports._imports_3 = _imports_3;
|
||||||
|
exports._imports_4 = _imports_4;
|
||||||
|
exports._imports_5 = _imports_5;
|
||||||
exports.addSVG = addSVG;
|
exports.addSVG = addSVG;
|
||||||
exports.audioIcon = audioIcon$1;
|
exports.audioIcon = audioIcon$1;
|
||||||
exports.audioIcon$1 = audioIcon;
|
exports.audioIcon$1 = audioIcon;
|
||||||
|
|||||||
18
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
@@ -8012,7 +8012,7 @@ function isConsoleWritable() {
|
|||||||
function initRuntimeSocketService() {
|
function initRuntimeSocketService() {
|
||||||
const hosts = "192.168.1.112,127.0.0.1";
|
const hosts = "192.168.1.112,127.0.0.1";
|
||||||
const port = "8090";
|
const port = "8090";
|
||||||
const id = "mp-weixin_VVI3dO";
|
const id = "mp-weixin__gmKGe";
|
||||||
const lazy = typeof swan !== "undefined";
|
const lazy = typeof swan !== "undefined";
|
||||||
let restoreError = lazy ? () => {
|
let restoreError = lazy ? () => {
|
||||||
} : initOnError();
|
} : initOnError();
|
||||||
@@ -30430,7 +30430,12 @@ const onLoad = /* @__PURE__ */ createHook(ON_LOAD);
|
|||||||
const onReady = /* @__PURE__ */ createHook(ON_READY);
|
const onReady = /* @__PURE__ */ createHook(ON_READY);
|
||||||
const onUnload = /* @__PURE__ */ createHook(ON_UNLOAD);
|
const onUnload = /* @__PURE__ */ createHook(ON_UNLOAD);
|
||||||
var dayjs_min = { exports: {} };
|
var dayjs_min = { exports: {} };
|
||||||
(function(module2, exports2) {
|
var hasRequiredDayjs_min;
|
||||||
|
function requireDayjs_min() {
|
||||||
|
if (hasRequiredDayjs_min)
|
||||||
|
return dayjs_min.exports;
|
||||||
|
hasRequiredDayjs_min = 1;
|
||||||
|
(function(module2, exports2) {
|
||||||
!function(t2, e2) {
|
!function(t2, e2) {
|
||||||
module2.exports = e2();
|
module2.exports = e2();
|
||||||
}(commonjsGlobal, function() {
|
}(commonjsGlobal, function() {
|
||||||
@@ -30718,8 +30723,10 @@ var dayjs_min = { exports: {} };
|
|||||||
return O2(1e3 * t3);
|
return O2(1e3 * t3);
|
||||||
}, O2.en = D2[g2], O2.Ls = D2, O2.p = {}, O2;
|
}, O2.en = D2[g2], O2.Ls = D2, O2.p = {}, O2;
|
||||||
});
|
});
|
||||||
})(dayjs_min);
|
})(dayjs_min);
|
||||||
var dayjs_minExports = dayjs_min.exports;
|
return dayjs_min.exports;
|
||||||
|
}
|
||||||
|
var dayjs_minExports = requireDayjs_min();
|
||||||
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
|
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
|
||||||
var localeData$1 = { exports: {} };
|
var localeData$1 = { exports: {} };
|
||||||
(function(module2, exports2) {
|
(function(module2, exports2) {
|
||||||
@@ -30831,7 +30838,7 @@ const isSameOrBefore = /* @__PURE__ */ getDefaultExportFromCjs(isSameOrBeforeExp
|
|||||||
var zhCn = { exports: {} };
|
var zhCn = { exports: {} };
|
||||||
(function(module2, exports2) {
|
(function(module2, exports2) {
|
||||||
!function(e2, _2) {
|
!function(e2, _2) {
|
||||||
module2.exports = _2(dayjs_minExports);
|
module2.exports = _2(requireDayjs_min());
|
||||||
}(commonjsGlobal, function(e2) {
|
}(commonjsGlobal, function(e2) {
|
||||||
function _2(e3) {
|
function _2(e3) {
|
||||||
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };
|
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };
|
||||||
@@ -35126,4 +35133,5 @@ exports.withDefaults = withDefaults;
|
|||||||
exports.withDirectives = withDirectives;
|
exports.withDirectives = withDirectives;
|
||||||
exports.withModifiers = withModifiers;
|
exports.withModifiers = withModifiers;
|
||||||
exports.withScopeId = withScopeId;
|
exports.withScopeId = withScopeId;
|
||||||
|
exports.wx$1 = wx$1;
|
||||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map
|
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<view wx:if="{{a}}" class="{{['data-v-96d38e2b', G, 'Mask']}}" bindtap="{{H}}"><view catchtap="{{F}}" class="containers data-v-96d38e2b"><view class="container data-v-96d38e2b"><image class="Fork data-v-96d38e2b" bindtap="{{b}}" src="{{c}}" mode="scaleToFill"/><view class="Title data-v-96d38e2b">发布新PK</view><view class="NameAnchor data-v-96d38e2b"><input class="NameAnchorcss data-v-96d38e2b" cursor-color="#ffffff" placeholder-style="color:#ffffff" bindinput="{{d}}" placeholder="主播名称"/><view wx:if="{{e}}" class="Hint data-v-96d38e2b">请填写主播名称</view></view><view class="Accountnumber data-v-96d38e2b"><view class="Coins country data-v-96d38e2b"><wht-select wx:if="{{g}}" class="data-v-96d38e2b" style="width:350rpx" bindchange="{{f}}" u-i="96d38e2b-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-96d38e2b">请选择国家</view></view><view class="Gender data-v-96d38e2b"><view class="Gendercs data-v-96d38e2b"><view class="Gendercss data-v-96d38e2b"><wht-select wx:if="{{j}}" class="data-v-96d38e2b" style="width:300rpx" bindchange="{{i}}" u-i="96d38e2b-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-96d38e2b"><image wx:if="{{k}}" class="Gendericon data-v-96d38e2b" src="{{l}}" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-96d38e2b" src="{{n}}" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-96d38e2b" src="{{p}}" mode="scaleToFill"/></view></view><view wx:if="{{q}}" class="Hintcss data-v-96d38e2b">请选择性别</view></view></view><view class="goldCoin data-v-96d38e2b"><view class="number-box data-v-96d38e2b"><view class="number-box-title data-v-96d38e2b">金币数量:</view><uni-number-box wx:if="{{s}}" class="data-v-96d38e2b" u-i="96d38e2b-2" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"></uni-number-box><view class="number-box-title data-v-96d38e2b">单位:</view><view class="number-box-unit data-v-96d38e2b">K</view></view><view wx:if="{{t}}" class="Hint data-v-96d38e2b">请填写金币数量</view></view><view class="time data-v-96d38e2b"><uni-datetime-picker wx:if="{{x}}" class="data-v-96d38e2b" bindchange="{{v}}" u-i="96d38e2b-3" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"/><view wx:if="{{y}}" class="Hint data-v-96d38e2b">请选择日期</view></view><view class="goldCoin data-v-96d38e2b"><view class="number-box data-v-96d38e2b"><view class="number-box-title data-v-96d38e2b">选择场数:</view><uni-number-box wx:if="{{A}}" class="data-v-96d38e2b" u-i="96d38e2b-4" bind:__l="__l" bindupdateModelValue="{{z}}" u-p="{{A}}"></uni-number-box><view class="number-box-title data-v-96d38e2b">次</view></view><view wx:if="{{B}}" class="Hint data-v-96d38e2b">请填写场数</view></view><view class="Remarkscss data-v-96d38e2b"><uni-easyinput wx:if="{{D}}" class="data-v-96d38e2b" u-i="96d38e2b-5" bind:__l="__l" bindupdateModelValue="{{C}}" u-p="{{D}}"></uni-easyinput></view><view class="Publish data-v-96d38e2b"><button bindtap="{{E}}" class="Publishcss data-v-96d38e2b">发布</button></view></view></view></view>
|
<view wx:if="{{a}}" class="{{['data-v-96d38e2b', G, 'Mask']}}" bindtap="{{H}}"><view catchtap="{{F}}" class="containers data-v-96d38e2b"><view class="container data-v-96d38e2b"><image class="Fork data-v-96d38e2b" bindtap="{{b}}" src="{{c}}" mode="scaleToFill"/><view class="Titlecss data-v-96d38e2b"><view class="Star data-v-96d38e2b"></view><view class="Title data-v-96d38e2b"></view><view class="Star data-v-96d38e2b"></view></view><view class="NameAnchor data-v-96d38e2b"><input class="NameAnchorcss data-v-96d38e2b" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{d}}" placeholder="主播名称"/><view wx:if="{{e}}" class="Hint data-v-96d38e2b">请填写主播名称</view></view><view class="Accountnumber data-v-96d38e2b"><view class="Coins country data-v-96d38e2b"><wht-select wx:if="{{g}}" class="data-v-96d38e2b" style="width:350rpx" bindchange="{{f}}" u-i="96d38e2b-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-96d38e2b">请选择国家</view></view><view class="Gender data-v-96d38e2b"><view class="Gendercs data-v-96d38e2b"><view class="Gendercss data-v-96d38e2b"><wht-select wx:if="{{j}}" class="data-v-96d38e2b" style="width:300rpx" bindchange="{{i}}" u-i="96d38e2b-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-96d38e2b"><image wx:if="{{k}}" class="Gendericon data-v-96d38e2b" src="{{l}}" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-96d38e2b" src="{{n}}" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-96d38e2b" src="{{p}}" mode="scaleToFill"/></view></view><view wx:if="{{q}}" class="Hintcss data-v-96d38e2b">请选择性别</view></view></view><view class="goldCoin data-v-96d38e2b"><view class="number-box data-v-96d38e2b"><view class="number-box-title data-v-96d38e2b">金币数量:</view><uni-number-box wx:if="{{s}}" class="data-v-96d38e2b" u-i="96d38e2b-2" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"></uni-number-box><view class="number-box-title data-v-96d38e2b">单位:</view><view class="number-box-unit data-v-96d38e2b">K</view></view><view wx:if="{{t}}" class="Hint data-v-96d38e2b">请填写金币数量</view></view><view class="time data-v-96d38e2b"><uni-datetime-picker wx:if="{{x}}" class="data-v-96d38e2b" bindchange="{{v}}" u-i="96d38e2b-3" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"/><view wx:if="{{y}}" class="Hint data-v-96d38e2b">请选择日期</view></view><view class="goldCoin data-v-96d38e2b"><view class="number-box data-v-96d38e2b"><view class="number-box-title data-v-96d38e2b">选择场数:</view><uni-number-box wx:if="{{A}}" class="data-v-96d38e2b" u-i="96d38e2b-4" bind:__l="__l" bindupdateModelValue="{{z}}" u-p="{{A}}"></uni-number-box><view class="number-box-title data-v-96d38e2b">次</view></view><view wx:if="{{B}}" class="Hint data-v-96d38e2b">请填写场数</view></view><view class="Remarkscss data-v-96d38e2b"><uni-easyinput wx:if="{{D}}" class="data-v-96d38e2b" u-i="96d38e2b-5" bind:__l="__l" bindupdateModelValue="{{C}}" u-p="{{D}}"></uni-easyinput></view><view class="Publish data-v-96d38e2b"><button bindtap="{{E}}" class="Publishcss data-v-96d38e2b">发布</button></view></view></view></view>
|
||||||
132
unpackage/dist/dev/mp-weixin/pages/PKMessageprocessing/PKMessageprocessing.js
vendored
Normal file
@@ -0,0 +1,132 @@
|
|||||||
|
"use strict";
|
||||||
|
const common_vendor = require("../../common/vendor.js");
|
||||||
|
const components_request = require("../../components/request.js");
|
||||||
|
const components_formatDate = require("../../components/formatDate.js");
|
||||||
|
const common_assets = require("../../common/assets.js");
|
||||||
|
const _sfc_main = {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
customData: {},
|
||||||
|
SenderData: {},
|
||||||
|
ReceiverData: {}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
onLoad(options) {
|
||||||
|
this.customData = JSON.parse(options.customData);
|
||||||
|
this.getPkyourInfo();
|
||||||
|
this.getPkmineInfo();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
//发布者
|
||||||
|
async getPkyourInfo() {
|
||||||
|
await components_request.request({
|
||||||
|
url: "pk/pkInfoDetail",
|
||||||
|
method: "POST",
|
||||||
|
data: {
|
||||||
|
id: this.customData.pkIdA
|
||||||
|
},
|
||||||
|
userInfo: false
|
||||||
|
}).then((res) => {
|
||||||
|
this.SenderData = res.data;
|
||||||
|
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:173", this.SenderData);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//被邀请者
|
||||||
|
async getPkmineInfo() {
|
||||||
|
await components_request.request({
|
||||||
|
url: "pk/pkInfoDetail",
|
||||||
|
method: "POST",
|
||||||
|
data: {
|
||||||
|
id: this.customData.pkIdB
|
||||||
|
},
|
||||||
|
userInfo: false
|
||||||
|
}).then((res) => {
|
||||||
|
this.ReceiverData = res.data;
|
||||||
|
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:187", this.ReceiverData);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
goBack() {
|
||||||
|
common_vendor.wx$1.navigateBack({
|
||||||
|
delta: 1
|
||||||
|
});
|
||||||
|
},
|
||||||
|
formatDate: components_formatDate.formatDate,
|
||||||
|
async operation(status) {
|
||||||
|
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:198", "``````", this.customData);
|
||||||
|
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:199", status);
|
||||||
|
await components_request.request({
|
||||||
|
url: "pk/pkInfoDetail",
|
||||||
|
method: "POST",
|
||||||
|
data: {
|
||||||
|
pkIdA: this.customData.pkIdA,
|
||||||
|
pkIdB: this.customData.pkIdB,
|
||||||
|
userIdA: this.customData.userIdA,
|
||||||
|
userIdB: this.customData.userIdB,
|
||||||
|
pkTime: this.customData.pkTime,
|
||||||
|
pkNumber: this.customData.pkNumber,
|
||||||
|
status
|
||||||
|
},
|
||||||
|
userInfo: false
|
||||||
|
}).then((res) => {
|
||||||
|
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:215", res.data);
|
||||||
|
const Hinttext = status === 1 ? "接受邀请成功" : "拒绝邀请成功";
|
||||||
|
if (res.code === 200) {
|
||||||
|
common_vendor.wx$1.showToast({
|
||||||
|
title: Hinttext,
|
||||||
|
icon: "success",
|
||||||
|
duration: 2e3
|
||||||
|
});
|
||||||
|
common_vendor.wx$1.navigateBack({
|
||||||
|
delta: 1
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
common_vendor.wx$1.showToast({
|
||||||
|
title: "操作失败",
|
||||||
|
icon: "none",
|
||||||
|
duration: 2e3
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||||
|
return common_vendor.e({
|
||||||
|
a: common_assets._imports_0$1,
|
||||||
|
b: common_assets._imports_1,
|
||||||
|
c: common_vendor.o$1((...args) => $options.goBack && $options.goBack(...args)),
|
||||||
|
d: $data.SenderData.anchorIcon,
|
||||||
|
e: common_vendor.t($data.SenderData.anchorId),
|
||||||
|
f: $data.SenderData.sex === "1"
|
||||||
|
}, $data.SenderData.sex === "1" ? {
|
||||||
|
g: common_assets._imports_1$1
|
||||||
|
} : {
|
||||||
|
h: common_assets._imports_0$3
|
||||||
|
}, {
|
||||||
|
i: common_vendor.t($data.SenderData.country),
|
||||||
|
j: common_vendor.t($options.formatDate($data.SenderData.pkTime)),
|
||||||
|
k: common_assets._imports_4,
|
||||||
|
l: common_vendor.t($data.SenderData.coin),
|
||||||
|
m: common_assets._imports_5,
|
||||||
|
n: common_vendor.t($data.SenderData.pkNumber),
|
||||||
|
o: $data.ReceiverData.anchorIcon,
|
||||||
|
p: common_vendor.t($data.ReceiverData.anchorId),
|
||||||
|
q: $data.ReceiverData.sex === "1"
|
||||||
|
}, $data.ReceiverData.sex === "1" ? {
|
||||||
|
r: common_assets._imports_1$1
|
||||||
|
} : {
|
||||||
|
s: common_assets._imports_0$3
|
||||||
|
}, {
|
||||||
|
t: common_vendor.t($data.ReceiverData.country),
|
||||||
|
v: common_vendor.t($options.formatDate($data.ReceiverData.pkTime)),
|
||||||
|
w: common_assets._imports_4,
|
||||||
|
x: common_vendor.t($data.ReceiverData.coin),
|
||||||
|
y: common_assets._imports_5,
|
||||||
|
z: common_vendor.t($data.ReceiverData.pkNumber),
|
||||||
|
A: common_vendor.o$1(($event) => $options.operation(1)),
|
||||||
|
B: common_vendor.o$1(($event) => $options.operation(2))
|
||||||
|
});
|
||||||
|
}
|
||||||
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-cadadfe7"]]);
|
||||||
|
wx.createPage(MiniProgramPage);
|
||||||
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/PKMessageprocessing/PKMessageprocessing.js.map
|
||||||
4
unpackage/dist/dev/mp-weixin/pages/PKMessageprocessing/PKMessageprocessing.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"navigationBarTitleText": "PK信息处理",
|
||||||
|
"usingComponents": {}
|
||||||
|
}
|
||||||
1
unpackage/dist/dev/mp-weixin/pages/PKMessageprocessing/PKMessageprocessing.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<view class="container data-v-cadadfe7"><view class="background data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:100%;height:100%" src="{{a}}" mode="scaleToFill"/></view><view class="Navigation data-v-cadadfe7"><view class="Return data-v-cadadfe7" bindtap="{{c}}"><image class="Return data-v-cadadfe7" src="{{b}}" mode="scaleToFill"/></view></view><view class="Content data-v-cadadfe7"><view class="sender data-v-cadadfe7"><view class="sengderIcon data-v-cadadfe7"><image class="Icon data-v-cadadfe7" src="{{d}}" mode="scaleToFill"/></view><view class="Individual data-v-cadadfe7"><view class="name data-v-cadadfe7">{{e}}</view><view class="GenderAndAge data-v-cadadfe7"><view wx:if="{{f}}" class="male data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{g}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7"> 21 </view></view><view wx:else class="female data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{h}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7"> 21 </view></view></view><view class="nation data-v-cadadfe7">{{i}}</view></view><view class="Time data-v-cadadfe7">PK时间:{{j}}</view><view class="SessionAndGoldCoin data-v-cadadfe7"><view class="goldCoin data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{k}}" mode="scaleToFill"/><view class="goldcard data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{l}}</view><view class="goldtext data-v-cadadfe7">金币</view></view></view><view class="Session data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{m}}" mode="scaleToFill"/><view class="goldcard data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{n}}</view><view class="goldtext data-v-cadadfe7">PK场数</view></view></view></view></view><view class="sender data-v-cadadfe7"><view class="sengderIcon data-v-cadadfe7"><image class="Icon data-v-cadadfe7" src="{{o}}" mode="scaleToFill"/></view><view class="Individual data-v-cadadfe7"><view class="name data-v-cadadfe7">{{p}}</view><view class="GenderAndAge data-v-cadadfe7"><view wx:if="{{q}}" class="male data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{r}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7"> 21 </view></view><view wx:else class="female data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{s}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7"> 21 </view></view></view><view class="nation data-v-cadadfe7">{{t}}</view></view><view class="Time data-v-cadadfe7">PK时间:{{v}}</view><view class="SessionAndGoldCoin data-v-cadadfe7"><view class="goldCoin data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{w}}" mode="scaleToFill"/><view class="data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{x}}</view><view class="goldtext data-v-cadadfe7">金币</view></view></view><view class="Session data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{y}}" mode="scaleToFill"/><view class="data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{z}}</view><view class="goldtext data-v-cadadfe7">PK场数</view></view></view></view></view><view class="button data-v-cadadfe7"><button class="accept data-v-cadadfe7" bindtap="{{A}}">接受邀请</button><button class="reject data-v-cadadfe7" bindtap="{{B}}">拒绝邀请</button></view></view></view>
|
||||||
177
unpackage/dist/dev/mp-weixin/pages/PKMessageprocessing/PKMessageprocessing.wxss
vendored
Normal file
@@ -22,7 +22,7 @@ const _sfc_main = {
|
|||||||
const eventChannel = this.getOpenerEventChannel();
|
const eventChannel = this.getOpenerEventChannel();
|
||||||
eventChannel.on("itemDetail", (data) => {
|
eventChannel.on("itemDetail", (data) => {
|
||||||
this.item = data.item;
|
this.item = data.item;
|
||||||
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:108", "接收到的数据:", this.item);
|
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:152", "接收到的数据:", this.item);
|
||||||
});
|
});
|
||||||
common_vendor.index.getStorage({
|
common_vendor.index.getStorage({
|
||||||
key: "userinfo",
|
key: "userinfo",
|
||||||
@@ -93,7 +93,7 @@ const _sfc_main = {
|
|||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
if (res.data.length !== 0) {
|
if (res.data.length !== 0) {
|
||||||
common_vendor.index.hideLoading();
|
common_vendor.index.hideLoading();
|
||||||
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:192", "res.data", res.data);
|
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:235", "res.data", res.data);
|
||||||
this.list = res.data;
|
this.list = res.data;
|
||||||
} else {
|
} else {
|
||||||
common_vendor.index.hideLoading();
|
common_vendor.index.hideLoading();
|
||||||
@@ -126,19 +126,27 @@ if (!Math) {
|
|||||||
_easycom_uni_popup();
|
_easycom_uni_popup();
|
||||||
}
|
}
|
||||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||||
return {
|
return common_vendor.e({
|
||||||
a: common_assets._imports_0,
|
a: common_assets._imports_0$1,
|
||||||
b: common_vendor.o$1((...args) => $options.Returnfunc && $options.Returnfunc(...args)),
|
b: common_assets._imports_1,
|
||||||
c: common_assets._imports_1,
|
c: common_vendor.o$1((...args) => $options.Returnfunc && $options.Returnfunc(...args)),
|
||||||
d: common_vendor.t($data.item.anchorId),
|
d: $data.item.anchorIcon,
|
||||||
e: common_vendor.t($data.item.sex === 1 ? "男" : "女"),
|
e: common_vendor.t($data.item.anchorId),
|
||||||
f: common_vendor.t($data.item.country),
|
f: $data.item.sex === "1"
|
||||||
g: common_vendor.t($data.item.coin),
|
}, $data.item.sex === "1" ? {
|
||||||
h: common_vendor.t($options.formatDate($data.item.pkTime)),
|
g: common_assets._imports_1$1
|
||||||
i: common_vendor.t($data.item.remark),
|
} : {
|
||||||
j: common_vendor.o$1(($event) => $options.openChat()),
|
h: common_assets._imports_0$3
|
||||||
k: common_vendor.o$1(($event) => $options.open()),
|
}, {
|
||||||
l: common_vendor.f($data.list, (item, index, i0) => {
|
i: common_vendor.t($data.item.country),
|
||||||
|
j: common_vendor.t($options.formatDate($data.item.pkTime)),
|
||||||
|
k: common_assets._imports_4,
|
||||||
|
l: common_vendor.t($data.item.coin),
|
||||||
|
m: common_assets._imports_5,
|
||||||
|
n: common_vendor.t($data.item.pkNumber),
|
||||||
|
o: common_vendor.o$1(($event) => $options.openChat()),
|
||||||
|
p: common_vendor.o$1(($event) => $options.open()),
|
||||||
|
q: common_vendor.f($data.list, (item, index, i0) => {
|
||||||
return {
|
return {
|
||||||
a: item.anchorIcon,
|
a: item.anchorIcon,
|
||||||
b: common_vendor.t(item.anchorId),
|
b: common_vendor.t(item.anchorId),
|
||||||
@@ -148,15 +156,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|||||||
f: $data.selectedId === item.id ? "2px solid red" : "2px solid #afafaf"
|
f: $data.selectedId === item.id ? "2px solid red" : "2px solid #afafaf"
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
m: common_vendor.o$1(($event) => $options.invite()),
|
r: common_vendor.o$1(($event) => $options.invite()),
|
||||||
n: common_vendor.o$1(($event) => $options.close()),
|
s: common_vendor.o$1(($event) => $options.close()),
|
||||||
o: common_vendor.sr("popup", "9639f721-0"),
|
t: common_vendor.sr("popup", "9639f721-0"),
|
||||||
p: common_vendor.p({
|
v: common_vendor.p({
|
||||||
type: "center",
|
type: "center",
|
||||||
["border-radius"]: "10px 10px 0 0"
|
["border-radius"]: "10px 10px 0 0"
|
||||||
}),
|
}),
|
||||||
q: common_vendor.sr("createModule", "9639f721-1")
|
w: common_vendor.sr("createModule", "9639f721-1")
|
||||||
};
|
});
|
||||||
}
|
}
|
||||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9639f721"]]);
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9639f721"]]);
|
||||||
wx.createPage(MiniProgramPage);
|
wx.createPage(MiniProgramPage);
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<view class="Navigation data-v-9639f721"><image src="{{a}}" mode="scaleToFill" class="Navigationimg data-v-9639f721"/><image bindtap="{{b}}" src="{{c}}" mode="scaleToFill" class="Return data-v-9639f721"/></view><view class="container data-v-9639f721"><view class="individual data-v-9639f721"><view class="anchor data-v-9639f721"></view><view class="data-v-9639f721"><view class="data-v-9639f721">主播名称{{d}}</view><view class="data-v-9639f721">主播性别{{e}}</view><view class="data-v-9639f721"> 国家{{f}}</view></view></view><view class="data-v-9639f721">pk场数:3场</view><view class="data-v-9639f721">金币{{g}}</view><view class="data-v-9639f721">PK时间{{h}}</view><view class="data-v-9639f721">pk场数</view><view class="data-v-9639f721">主播备注{{i}}</view><button class="data-v-9639f721" bindtap="{{j}}">聊了个天</button><button class="data-v-9639f721" bindtap="{{k}}">立即邀请PK</button></view><uni-popup wx:if="{{p}}" class="r data-v-9639f721" u-s="{{['d']}}" u-r="popup" u-i="9639f721-0" bind:__l="__l" u-p="{{p}}"><view class="popup-content data-v-9639f721"><view class="popup-title data-v-9639f721"><scroll-view scroll-y="true" class="scroll data-v-9639f721"><view wx:for="{{l}}" wx:for-item="item" class="card data-v-9639f721"><view class="card-content data-v-9639f721" bindtap="{{item.e}}" style="{{'border:' + item.f}}"><image class="avatar data-v-9639f721" src="{{item.a}}" mode="scaleToFill"/><view class="NameMoney data-v-9639f721"><view class="NameMoney_Name data-v-9639f721">{{item.b}}</view><view class="TimeMoney data-v-9639f721"><view class="data-v-9639f721">{{item.c}}</view><view class="data-v-9639f721">金币:{{item.d}}</view></view></view></view></view></scroll-view></view><view class="popup-btn data-v-9639f721"><button class="invite data-v-9639f721" type="primary" bindtap="{{m}}">邀请</button><button class="cancel data-v-9639f721" type="default" bindtap="{{n}}">取消</button></view></view></uni-popup><new-added-pk class="createModule r data-v-9639f721" u-r="createModule" u-i="9639f721-1" bind:__l="__l"></new-added-pk>
|
<view class="container data-v-9639f721"><view class="background data-v-9639f721"><image class="data-v-9639f721" style="width:100%;height:100%" src="{{a}}" mode="scaleToFill"/></view><view class="Navigation data-v-9639f721"><view class="Return data-v-9639f721" bindtap="{{c}}"><image class="Return data-v-9639f721" src="{{b}}" mode="scaleToFill"/></view></view><view class="Content data-v-9639f721"><view class="sender data-v-9639f721"><view class="sengderIcon data-v-9639f721"><image class="Icon data-v-9639f721" src="{{d}}" mode="scaleToFill"/></view><view class="Individual data-v-9639f721"><view class="name data-v-9639f721">{{e}}</view><view class="GenderAndAge data-v-9639f721"><view wx:if="{{f}}" class="male data-v-9639f721"><view class="data-v-9639f721"><image class="data-v-9639f721" style="width:20rpx;height:20rpx" src="{{g}}" mode="scaleToFill"/></view><view class="age data-v-9639f721"> 21 </view></view><view wx:else class="female data-v-9639f721"><view class="data-v-9639f721"><image class="data-v-9639f721" style="width:20rpx;height:20rpx" src="{{h}}" mode="scaleToFill"/></view><view class="age data-v-9639f721"> 21 </view></view></view><view class="nation data-v-9639f721">{{i}}</view></view><view class="Time data-v-9639f721">PK时间:{{j}}</view><view class="SessionAndGoldCoin data-v-9639f721"><view class="goldCoin data-v-9639f721"><image class="data-v-9639f721" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{k}}" mode="scaleToFill"/><view class="goldcard data-v-9639f721"><view class="goldnumber data-v-9639f721">{{l}}</view><view class="goldtext data-v-9639f721">金币</view></view></view><view class="Session data-v-9639f721"><image class="data-v-9639f721" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{m}}" mode="scaleToFill"/><view class="goldcard data-v-9639f721"><view class="goldnumber data-v-9639f721">{{n}}</view><view class="goldtext data-v-9639f721">PK场数</view></view></view></view></view><view class="button data-v-9639f721"><button class="accept data-v-9639f721" bindtap="{{o}}">聊了个天</button><button class="reject data-v-9639f721" bindtap="{{p}}">立即邀请</button></view></view></view><uni-popup wx:if="{{v}}" class="r data-v-9639f721" u-s="{{['d']}}" u-r="popup" u-i="9639f721-0" bind:__l="__l" u-p="{{v}}"><view class="popup-content data-v-9639f721"><view class="popup-title data-v-9639f721"><scroll-view scroll-y="true" class="scroll data-v-9639f721"><view wx:for="{{q}}" wx:for-item="item" class="card data-v-9639f721"><view class="card-content data-v-9639f721" bindtap="{{item.e}}" style="{{'border:' + item.f}}"><image class="avatar data-v-9639f721" src="{{item.a}}" mode="scaleToFill"/><view class="NameMoney data-v-9639f721"><view class="NameMoney_Name data-v-9639f721">{{item.b}}</view><view class="TimeMoney data-v-9639f721"><view class="data-v-9639f721">{{item.c}}</view><view class="data-v-9639f721">金币:{{item.d}}</view></view></view></view></view></scroll-view></view><view class="popup-btn data-v-9639f721"><button class="invite data-v-9639f721" type="primary" bindtap="{{r}}">邀请</button><button class="cancel data-v-9639f721" type="default" bindtap="{{s}}">取消</button></view></view></uni-popup><new-added-pk class="createModule r data-v-9639f721" u-r="createModule" u-i="9639f721-1" bind:__l="__l"></new-added-pk>
|
||||||
BIN
unpackage/dist/dev/mp-weixin/static/Backgroundofgoldcoins.png
vendored
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
unpackage/dist/dev/mp-weixin/static/Fieldnumberbackground.png
vendored
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
unpackage/dist/dev/mp-weixin/static/Fork.png
vendored
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 461 B |
BIN
unpackage/dist/dev/mp-weixin/static/Publishpk.png
vendored
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
unpackage/dist/dev/mp-weixin/static/gold.png
vendored
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
unpackage/dist/dev/mp-weixin/static/session.png
vendored
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
BIN
unpackage/dist/dev/mp-weixin/static/star.png
vendored
Normal file
|
After Width: | Height: | Size: 1.7 KiB |