优化页面

This commit is contained in:
pengxiaolong
2025-06-04 22:36:28 +08:00
parent a40b5b88c9
commit d766790f04
52 changed files with 2371 additions and 787 deletions

View File

@@ -30,6 +30,12 @@
"navigationBarTitleText": "PK信息"
}
},
{
"path": "pages/Mine/minecomponents/recompose/recompose",
"style": {
"navigationBarTitleText": "修改pk信息"
}
},
{
"path": "pages/PKMessageprocessing/PKMessageprocessing",
"style": {

View File

@@ -1,5 +1,9 @@
<template>
<view class="container">
<view class="bg">
<image class="bgImg" src="../../static/HomeBackground.png" mode="scaleToFill" />
</view>
<view class="PersonalInformation">
<view class="header">
<image :src="userinfo.headerIcon" mode="scaleToFill" class="headerIcon" />
@@ -11,21 +15,97 @@
<image class="SettingsIcon" src="../../static/Settings.png" mode="scaleToFill" />
</view>
</view>
<!-- PK信息 -->
<view class="content">
<view class="PKInformation" >
<view class="title">
<view class="titleText">PK信息</view>
<view class="titleLine"></view>
<view class="titleMore"
@click="pkInformation"
>更多PK信息<image
style="width: 10.5rpx; height: 20.04rpx; margin-left: 10rpx"
src="../../static/More.png"
mode="scaleToFill"
/>
</view>
</view>
<view class="card">
<view class="cardContent" v-for="(item,index) in pkInformationdata" :key="index">
<view class="cardImg">
<image :src="item.anchorIcon" mode="scaleToFill" />
</view>
<view class="Time">{{ formatDate(item.pkTime) }}</view>
<view class="gold"> {{item.coin}}K</view>
</view>
</view>
</view>
<!-- PK记录 -->
<view class="myPkRecord" >
<view class="title">
<view class="titleText">我的PK记录</view>
<view class="titleLine"></view>
<view class="myPkRecordMore"
@click="pkRecord">更多PK记录<image
style="width: 10.5rpx; height: 20.04rpx; margin-left: 10rpx"
src="../../static/More.png"
mode="scaleToFill"
/>
</view>
</view>
<view class="card">
<view class="cardContent">
<view class="cardImg">
<image src="" mode="scaleToFill" />
</view>
<!-- <view class="Failure">
失败
</view> -->
<view class="Result"> 胜利 </view>
<view class="Session"> 共一场 </view>
<view class="Time"> 20:30 </view>
</view>
</view>
</view>
<view>
<view class="logout" @click="pkInformation">pk信息</view>
</view>
<view>
<view class="logout" @click="pkRecord">我的pk记录</view>
</view>
<view>
<view class="logout" @click="contact">联系客服</view>
</view>
<view>
<view class="logout" @click="logout">退出登录</view>
<view class="PKInformation">
<view class="title">
<view class="titleText">专属客服</view>
<view class="titleLine"></view>
</view>
</view>
<view class="card">
<view class="service" @click="contact">
<image
style="width: 48.28rpx; height: 48.09rpx"
src="../../static/service.png"
mode="scaleToFill"
/>
<view class="cardtext">联系客服</view>
</view>
<view class="service">
<image
style="width: 48.28rpx; height: 48.09rpx"
src="../../static/Agreement.png"
mode="scaleToFill"
/>
<view class="cardtext">服务协议</view>
</view>
<view class="service" @click="logout">
<image
style="width: 48.28rpx; height: 48.09rpx"
src="../../static/logout.png"
mode="scaleToFill"
/>
<view class="cardtext">退出登录</view>
</view>
</view>
</view>
</view>
<view class="copyright">版权所有 © 2025 ...................</view>
<view class="copyright">版权所有 © 2025 ...................</view>
<view class="tabBar">
<tabBar></tabBar>
</view>
@@ -33,10 +113,15 @@
<script>
import tabBar from "../../components/tabBar/tabBar";
import request from "../../components/request.js";
import formatDate from "../../components/formatDate.js";
export default {
data() {
return {
userinfo: {},
pkInformationdata: [],
myPkRecorddata: [],
};
},
onShow() {
@@ -44,31 +129,80 @@ export default {
key: "userinfo",
success: (res) => {
this.userinfo = res.data;
console.log(this.userinfo);
this.getpkInformation();
this.getmyPkRecord();
},
});
},
methods: {
formatDate: formatDate,
//获取pk信息
getpkInformation(){
const res = request({
url: "user/queryMyAllPkData",
method: "POST",
data: {
userId: this.userinfo.id,
page:0,
size:4
},
userInfo: false,
}).then((res) => {
if (res.code == 200) {
this.pkInformationdata = res.data;
console.log(this.pkInformationdata);
}else {
console.log(res.msg);
}
});
},
//获取pk记录
getmyPkRecord(){
const ress = request({
url: "user/handlePkInfo",
method: "POST",
data: {
type:1,
userId: this.userinfo.id,
page:0,
size:4
},
userInfo: false,
}).then((res) => {
if (res.code == 200) {
this.myPkRecorddata = res.data;
console.log(this.myPkRecorddata);
}else {
console.log(res.msg);
}
});
},
// 跳转到PK信息页面
pkInformation() {
uni.navigateTo({
url: "/pages/Mine/minecomponents/pkInformation",
});
},
// 跳转到PK记录页面
pkRecord() {
uni.navigateTo({
url: "/pages/Mine/minecomponents/pkRecord",
});
},
// 跳转到联系客服页面
contact() {
uni.navigateTo({
url: "/pages/Mine/minecomponents/contact",
});
},
// 跳转到设置页面
goSetting() {
uni.navigateTo({
url: "/pages/Setting/Setting",
});
},
// 退出登录
logout() {
uni.removeStorage({
key: "chatInfo",
@@ -84,8 +218,8 @@ export default {
});
uni.reLaunch({
url: "/pages/login/login",
});
}
});
},
},
components: {
tabBar,
@@ -94,63 +228,185 @@ export default {
</script>
<style scoped>
.container {
.bg {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.bgImg {
width: 100%;
height: 100%;
}
.PersonalInformation {
position: absolute;
top: 150rpx;
left: 0;
right: 0;
height: 144.5rpx;
display: flex;
align-items: center;
}
.header {
width: 144.5rpx;
height: 144.5rpx;
border-radius: 72.25rpx;
background-color: #fff;
margin-left: 32.5rpx;
margin-right: 39.5rpx;
}
.Settings {
width: 46rpx;
height: 46rpx;
margin-left: 360rpx;
}
.SettingsIcon {
width: 100%;
height: 100%;
}
.name {
font-size: 36.26rpx;
font-weight: 500;
color: #161616;
}
.content {
position: absolute;
top: 294.5rpx;
left: 0;
right: 0;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
width: 100%;
background: linear-gradient(to bottom, #11cb2a6e, #2574fc6d);
}
.PersonalInformation {
margin-top: 200rpx;
.PKInformation {
margin-top: 48.5rpx;
}
.myPkRecord {
margin-top: 48.5rpx;
}
.title {
width: 682rpx;
height: 33.4rpx;
display: flex;
align-items: center;
width: 100%;
}
.header {
background: #ffffff;
margin-left: 50rpx;
width: 100rpx;
height: 100rpx;
border-radius: 50%;
.titleText {
font-size: 34.35rpx;
font-weight: bold;
color: #100e0f;
}
.headerIcon {
width: 100rpx;
height: 100rpx;
border-radius: 50%;
.titleLine {
width: 40.08rpx;
height: 14.31rpx;
margin-left: -40rpx;
margin-top: 25rpx;
border-radius: 7.16rpx 0rpx 7.16rpx 7.16rpx;
background-color: #91e3e48b;
}
.name {
.titleMore {
margin-left: 410rpx;
font-size: 28.63rpx;
color: #333333;
}
.myPkRecordMore {
margin-left: 340rpx;
font-size: 28.63rpx;
color: #333333;
}
.card {
width: 689.03rpx;
height: 208.02rpx;
background-color: #fff;
border-radius: 10rpx;
margin-top: 26.5rpx;
display: flex;
align-items: center;
}
.card .cardContent:first-child {
margin-left: 30rpx;
}
.Settings {
margin-left: 370rpx;
width: 50rpx;
height: 50rpx;
.cardContent {
width: 100rpx;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-left: 83rpx;
}
.SettingsIcon {
width: 50rpx;
height: 50rpx;
}
.logout{
margin-top: 20rpx;
width: 100vw;
.cardImg {
width: 80rpx;
height: 80rpx;
line-height: 80rpx;
color: #000000;
font-size: 36rpx;
background: #ffffff;
border-top: 1px solid #000000;
border-bottom: 1px solid #000000;
border-radius: 40rpx;
background-color: rgb(205, 205, 205);
}
.Time {
font-size: 18rpx;
text-align: center;
margin-top: 10rpx;
}
.gold {
font-size: 18rpx;
text-align: center;
margin-top: 10rpx;
}
.Failure {
width: 56.3rpx;
height: 29.58rpx;
background-image: url("../../static/maleimg.png");
background-position-x: center;
background-position-y: center;
background-repeat: no-repeat;
background-size: 100% 100%;
color: #ffffff;
font-size: 17.18rpx;
text-align: center;
line-height: 29.58rpx;
margin-top: -20rpx;
}
.Result {
width: 56.3rpx;
height: 29.58rpx;
background-image: url("../../static/femaleimg.png");
background-position-x: center;
background-position-y: center;
background-repeat: no-repeat;
background-size: 100% 100%;
color: #ffffff;
font-size: 17.18rpx;
text-align: center;
line-height: 29.58rpx;
margin-top: -20rpx;
}
.Session {
font-weight: bold;
font-size: 18rpx;
margin-top: 10rpx;
}
.service {
width: 200rpx;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.cardtext {
margin-top: 20rpx;
font-size: 28.63rpx;
color: #333333;
font-weight: 400;
}
.copyright{
position: absolute;
bottom: 250rpx;
width: 100%;
font-size: 23rpx;
color: #929292;
text-align: center;
color: #ffffff;
font-size: 24rpx;
z-index: 999;
position: fixed;
bottom: 250rpx;
left: 0;
right: 0;
height: 50rpx;
}
</style>

View File

@@ -1,205 +1,230 @@
<template>
<view class="pkRecord">
<view>返回</view>
<view>pk信息</view>
<view></view>
<view class="pk-information">
<view class="bg">
<image class="bgImg" src="../../../static/HomeBackground.png" mode="scaleToFill" />
</view>
<scroll-view
scroll-y="true"
class="scroll"
refresher-enabled="true"
refresher-threshold="40"
@refresherrefresh="onRefresherRefresh"
lower-threshold="100"
@scrolltolower="onScrollToLower"
>
<uni-card v-for="(item, index) in list">
<view class="content-list" @click="goDetail(item)">
<!-- `````````````````````````` -->
<image class="headShot" :src="item.anchorIcon" mode="scaleToFill" />
<!-- `````````````````````````````````````` -->
<view class="content-list-title">
<view class="cardname">{{ item.anchorId }}</view>
<view class="content-list-info">
<view
:class="{ Gendermale: item.sex === '1', Genderfemale: item.sex === '2' }"
>
<image
v-if="item.sex === '2'"
class="Genderimg"
src="../../../static/female.png"
mode="scaleToFill"
/>
<image
v-else
class="Genderimg"
src="../../../static/male.png"
mode="scaleToFill"
/>
<view class="age">性别</view>
</view>
<view class="RoomID">PK时间:&nbsp;{{ formatDate(item.pkTime) }}</view>
<view>国家</view>
<view>性别</view>
<view class="Charm">金币:</view>
<view class="charmValue"> {{ item.coin + "K" }}</view>
<view class="Return" @click="onBack">
<image class="ReturnImg" src="../../../static/Return.png" mode="scaleToFill" />
</view>
<view class="content">
<scroll-view
scroll-y="true"
class="scroll"
refresher-enabled="true"
refresher-threshold="40"
@refresherrefresh="onRefresherRefresh"
lower-threshold="100"
@scrolltolower="onScrollToLower"
>
<uni-card class="card" v-for="(item, index) in pkList" :key="index">
<view class="Profile">
<image style="width: 89.12rpx; height: 89.12rpx" src="" mode="scaleToFill" />
</view>
</view>
<!-- `````````````````````````````````````````````````````` -->
</view>
</uni-card>
</scroll-view>
<view class="Individual">
<view class="Name">{{ item.anchorId }}</view>
<view class="Label">
<view>
<view
:class="{
Gendermale: item.sex === '1',
Genderfemale: item.sex === '2',
}"
>
<image
v-if="item.sex === '2'"
class="Genderimg"
src="../../../static/female.png"
mode="scaleToFill"
/>
<image
v-else
class="Genderimg"
src="../../../static/male.png"
mode="scaleToFill"
/>
<view class="age">{{ item.sex === "1" ? "男" : "女" }}</view>
</view>
</view>
<view class="state">{{ item.country }}</view>
<view class="species">
<image
style="width: 28.63rpx; height: 28.63rpx"
src="../../../static/species.png"
mode="scaleToFill"
/>
<view class="species-text">金币:</view>
<view class="species-num">{{ item.coin }}K</view>
</view>
</view>
<view class="time">PK时间:{{ formatDate(item.pkTime) }}</view>
</view>
<view class="handle" v-if="item.status === 0">
<view class="recompose" @click="onRecompose(item)">
<image
style="width: 46rpx; height: 46rpx"
src="../../../static/recompose.png"
mode="scaleToFill"
/>
</view>
<view class="expurgate" @click="onExpurgate(item)">
<image
style="width: 46rpx; height: 46rpx"
src="../../../static/expurgate.png"
mode="scaleToFill"
/>
</view>
</view>
</uni-card>
</scroll-view>
</view>
</view>
<Recompose ref="createModule" class="createModule" :message="parentMessage" ></Recompose>
</template>
<script>
import request from "../../../components/request.js";
import formatDate from "../../../components/formatDate.js";
import Recompose from "../minecomponents/recompose/recompose.vue";
export default {
inject: ["$global"],
data() {
return {
page: 0, //页码
size: 10, //每页条数
list: [], // 列表数据
detailsdata: {}, //详情数据
pkList: [],
userinfo: {},
page: 0,
createModule: null,
parentMessage: null,
};
},
onLoad() {
uni.getStorage({
key: "userinfo",
success: (res) => {
this.userinfo = res.data;
console.log(this.userinfo);
this.getpkList();
},
});
},
mounted() {
// 页面加载完成后请求数据
this.pkList();
this.createModule = this.$refs.createModule; // 挂载后赋值
},
methods: {
onRefresherRefresh() {
this.page = 0;
this.list = [];
this.pkList();
onBack() {
uni.navigateBack(
{
delta: 1,
}
);
},
async goDetail(item) {
uni.showLoading({
title: "加载中...",
mask: true,
formatDate: formatDate,
getpkList() {
const res = request({
url: "user/queryMyAllPkData",
method: "POST",
data: {
userId: this.userinfo.id,
page: this.page,
size: 10,
},
userInfo: false,
}).then((res) => {
if (res.code == 200) {
this.pkList = res.data;
console.log(this.pkList);
} else {
console.log(res.msg);
}
});
console.log("id", item.id);
const res = await request({
url: "pk/pkInfoDetail",
},
onRecompose(item) {
this.createModule.open()
this.parentMessage = item
},
onExpurgate(item){
const res = request({
url: "pk/deletePkDataWithId",
method: "POST",
data: {
id: item.id,
},
userInfo: true,
});
console.log("res", res);
this.detailsdata = res.data;
if (res.code === 200) {
if (res.data.length !== 0) {
uni.hideLoading();
console.log("res.data", res.data);
uni.navigateTo({
url: "/pages/pkDetail/pkDetail",
success: (res) => {
res.eventChannel.emit("itemDetail", {
item: this.detailsdata,
});
},
});
} else {
uni.hideLoading();
this.openPopupQuantity();
}
} else {
uni.hideLoading();
uni.showToast({
title: "加载失败",
userInfo: false,
}).then((res) => {
if (res.code == 200) {
uni.showToast({
title: "删除成功",
icon: "none",
duration: 2000,
});
}
},
formatDate: formatDate,
async pkList() {
const res = await request({
url: "pk/pkList",
method: "POST",
data: {
status: 0,
page: this.page,
size: this.size,
},
userInfo: false,
this.getpkList()
} else {
console.log(res.msg);
}
});
console.log(res);
if (res.code === 200) {
this.list.push(...res.data);
console.log(this.list);
}
},
onScrollToLower() {
this.page++;
this.pkList();
},
}
},
components: {
Recompose ,
},
};
</script>
<style scoped>
.pkRecord{
width: 100vw;
height: 200rpx;
display: flex;
justify-content: space-between;
align-items: center;
background-color: #ffffff;
padding-top: 40rpx;
border-bottom: 1px solid #000000;
}
.scroll {
height: 90%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.bg {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.content-list {
display: flex;
align-items: center;
width: 712rpx;
.bgImg {
width: 100%;
height: 100%;
}
.Return {
position: absolute;
top: 100rpx;
left: 35rpx;
width: 46rpx;
height: 46rpx;
}
.ReturnImg {
width: 100%;
height: 100%;
}
.scroll {
position: absolute;
top: 200rpx;
left: 0;
right: 0;
height: 1300rpx;
width: 100%;
}
.card {
width: 695rpx;
height: 161rpx;
background: #ffffff;
border-radius: 15rpx;
margin-bottom: 12rpx;
margin-left: 20rpx;
}
.headShot {
width: 101rpx;
height: 101rpx;
border-radius: 50rpx;
margin-left: 30rpx;
margin-right: 33rpx;
background-color: aqua;
}
.content-list-info {
display: flex;
align-items: center;
margin-left: 30rpx;
margin-top: 11.5rpx;
}
.cardname {
font-size: 31rpx;
color: #161616;
line-height: 38rpx;
.Profile {
width: 89rpx;
height: 89rpx;
border-radius: 50rpx;
background-color: #cccccc;
margin-left: 27.5rpx;
}
.Genderimg {
width: 15rpx;
height: 15rpx;
margin-left: 10rpx;
margin-right: 10rpx;
}
.age {
color: #ffffff;
font-size: 14rpx;
}
.Gendermale {
background: url(../../static/maleimg.png) no-repeat center;
background: url(../../../static/maleimg.png) no-repeat center;
width: 56.3rpx;
height: 29.58rpx;
background-size: 100% 100%;
@@ -208,7 +233,7 @@ export default {
margin-right: 10rpx;
}
.Genderfemale {
background: url(../../static/femaleimg.png) no-repeat center;
background: url(../../../static/femaleimg.png) no-repeat center;
width: 56.3rpx;
height: 29.58rpx;
background-size: 100% 100%;
@@ -216,22 +241,76 @@ export default {
align-items: center;
margin-right: 10rpx;
}
.RoomID {
.Individual {
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 37rpx;
}
.Name {
font-size: 30.53rpx;
color: #161616;
font-weight: 500;
}
.time {
margin-top: 13rpx;
font-size: 23rpx;
color: #a3a3a3;
line-height: 38rpx;
}
.Charm {
.state {
height: 30rpx;
background: #f6f6f6;
border-radius: 14rpx;
line-height: 30rpx;
font-size: 17rpx;
color: #666666;
padding: 0 15rpx;
}
.Label {
margin-top: 15rpx;
display: flex;
}
.age {
font-size: 17rpx;
color: #ffffff;
margin-left: 10rpx;
}
.Genderimg {
width: 14.22rpx;
height: 14.22rpx;
margin-left: 10rpx;
}
.species {
display: flex;
margin-left: 10rpx;
}
.species-text {
font-size: 23rpx;
color: #a3a3a3;
line-height: 38rpx;
margin-right: 12rpx;
margin-left: 20rpx;
}
.charmValue {
.species-num {
font-size: 23rpx;
color: #161616;
line-height: 38rpx;
font-weight: 600;
font-weight: bold;
}
.handle {
display: flex;
}
.recompose {
width: 46rpx;
height: 46rpx;
margin-left: 90rpx;
}
.expurgate {
width: 46rpx;
height: 46rpx;
margin-left: 40rpx;
}
.createModule{
position: fixed;
bottom: 0;
right: 0;
z-index: 998;
width: 100vw;
}
</style>

View File

@@ -0,0 +1,499 @@
<template><view v-if="Display" :class="[Display ? 'create-module' : 'close-animation ', 'Mask']" @click="open()">
<view @click.stop class="containers">
<view class="container">
<image
class="Fork"
@click="open()"
src="../../../../static/Fork.png"
mode="scaleToFill"
/>
<view class="Titlecss">
<view class="Star"></view>
<view class="Title"></view>
<view class="Star"></view>
</view>
<!-- <view class="Individual"> -->
<view class="NameAnchor">
<input
class="NameAnchorcss"
cursor-color="#666666"
placeholder-style="color:#666666"
@input="NameAnchor"
placeholder="主播名称"
/>
<view v-if="nameAnchor === '' && Hint === true" class="Hint"
>请填写主播名称</view
>
</view>
<!-- </view> -->
<view class="Accountnumber">
<view class="Coins country">
<wht-select
style="width: 350rpx"
backgroundColor="#ffffff"
placeholderColor="#666666"
textColor="#666666"
borderColor="#ffffff"
@change="country"
:options="Country"
:filterable = "filterable"
placeholder="请选择国家"
/>
<view v-if="countrys === '' && Hint === true" class="Hint">请选择国家</view>
</view>
<view class="Gender">
<view class="Gendercs">
<view class="Gendercss">
<wht-select
style="width: 300rpx"
backgroundColor="#ffffff"
placeholderColor="#666666"
textColor="#666666"
borderColor="#ffffff"
@change="gender"
:options="Gender"
placeholder="性别"
/>
</view>
<view class="Gendericoncss">
<image
v-if="genders === 0"
class="Gendericon"
src="../../../../static/ask.png"
mode="scaleToFill"
/>
<image
v-if="genders === 1"
class="Gendericon"
src="../../../../static/man.png"
mode="scaleToFill"
/>
<image
v-if="genders === 2"
class="Gendericon"
src="../../../../static/girl.png"
mode="scaleToFill"
/>
</view>
</view>
<view v-if="genders === 0 && Hint === true" class="Hintcss">请选择性别</view>
</view>
</view>
<view class="goldCoin">
<view class="number-box">
<view class="number-box-title">金币数量:</view>
<uni-number-box background="#03ABA8" v-model="numberCoins"></uni-number-box>
<view class="number-box-title">单位:</view>
<view class="number-box-unit">K</view>
</view>
<view v-if="numberCoins === '' && Hint === true" class="Hint"
>请填写金币数量</view
>
</view>
<view class="time">
<uni-datetime-picker
type="datetime"
hide-second="true"
v-model="datetimesingle"
/>
<view v-if="datetimesingle === '' && Hint === true" class="Hint"
>请选择日期</view
>
</view>
<!-- ···············································标记2············································ -->
<view class="goldCoin">
<view class="number-box">
<view class="number-box-title">选择场数:</view>
<uni-number-box background="#03ABA8" v-model="session"></uni-number-box>
<view class="number-box-title"></view>
</view>
<view v-if="session === '' && Hint === true" class="Hint"
>请填写场数</view
>
</view>
<!-- ··························································································· -->
<view class="Remarkscss">
<uni-easyinput
type="textarea"
v-model="remarks"
placeholder="备注"
></uni-easyinput>
</view>
<view class="Publish">
<button @click="Publish()" class="Publishcss">发布</button>
</view>
</view>
</view>
</view>
</template>
<script>
import message from "@tencentcloud/chat-uikit-uniapp/locales/en/message.js";
import optionsArray from "../../../../components/NationalDictionary.js";
import request from "../../../../components/request.js";
export default {
data() {
return {
genders: 0, //性别
Gender: [
{ label: "男", value: 1 },
{ label: "女", value: 2 },
],
Country: optionsArray,
countrys: "", //国家
nameAnchor: "", //主播名称
numberCoins: "", //金币数量
session: "", //场数
remarks: "", //备注
Display: false,
Hint: false,
datetimesingle: "", //日期
id: null, //用户id
sendingTime: "", //发送时间
filterable: true, //是否可搜索
};
},
props: {
message
},
mounted() {
uni.getStorage({
key: "userinfo",
success: (res) => {
this.id = res.data.id;
},
});
},
methods: {
gender(item) {
this.genders = item.value;
console.log(item);
},
country(item) {
this.countrys = item.value;
console.log(item);
},
handleOverlayClick(event) {
if (event.target === this.$el) {
this.Display = false;
this.Hint = false;
}
},
open() {
if (this.Display) {
this.Display = false;
this.Hint = false;
this.nameAnchor = "";
this.genders = "";
this.numberCoins = "";
this.remarks = "";
this.datetimesingle = "";
this.countrys = "";
this.session = "";
} else {
this.Display = true;
}
},
//获取主播名称
NameAnchor: function (event) {
this.nameAnchor = event.target.value;
},
async Publish() {
console.log("````````````````````````````````````````````",message);
//判断是否为空
if (
this.nameAnchor === "" ||
this.genders === "" ||
this.numberCoins === "" ||
this.countrys === "" ||
this.datetimesingle === ""||
this.session === ""
) {
this.Hint = true;
return;
}
//格式化日期
const isoString = this.datetimesingle.replace(" ", "T");
const timestamp = Date.parse(isoString);
if (isNaN(timestamp)) {
throw new Error(`Invalid date format: ${this.datetimesingle}`);
}
this.sendingTime = Math.floor(timestamp / 1000);
const secondsTimestamp = Math.floor(Date.now() / 1000);
if (this.sendingTime < secondsTimestamp) {
uni.showToast({
title: "日期不能早于当前时间",
icon: "none",
duration: 2000,
});
return;
}
//发送请求
uni.showLoading({
title: "发布中...",
mask: true,
});
const res = await request({
url: "pk/addPkData",
method: "POST",
data: {
anchorId: this.nameAnchor,
pkTime: this.sendingTime,
sex: this.genders,
country: this.countrys,
coin: this.numberCoins,
remark: this.remarks,
status: 0,
senderId: this.id,
anchorIcon: "",
pkNumber: this.session,
},
userInfo: true,
});
if (res.code === 200) {
this.Display = false;
this.Hint = false;
this.nameAnchor = "";
this.genders = 0;
this.numberCoins = "";
this.remarks = "";
this.datetimesingle = "";
this.session = "";
uni.hideLoading();
uni.showToast({
title: "发布成功",
icon: "success",
duration: 2000,
});
} else {
uni.hideLoading();
uni.showToast({
title: "发布失败",
icon: "none",
duration: 2000,
});
}
},
},
};
</script>
<style scoped>
/* 定义动画 */
/* 原始进入动画 */
@keyframes slide-in {
from { transform: translateY(100%); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
/* 新增关闭动画 */
@keyframes slide-out {
from { transform: translateY(0); opacity: 1; }
to { transform: translateY(-100%); opacity: 0; }
}
/* 进入动画类 */
.create-module {
animation: slide-in 0.3s ease-in-out;
}
/* 关闭动画类 */
.close-animation {
animation: slide-out 0.3s ease-in-out forwards;
}
.Mask {
width: 100vw;
height: 100vh;
background: #00000076;
display: flex;
flex-direction: column-reverse;
}
.Hint {
color: rgb(255, 0, 0);
font-size: 20rpx;
margin-left: 30rpx;
margin-top: 10rpx;
}
.Hintcss{
color: rgb(255, 0, 0);
font-size: 20rpx;
margin-left: 30rpx;
margin-top: 20rpx;
}
.containers {
background-color: #ffffff;
border-radius: 50rpx;
}
.container {
display: flex;
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/bgv.png);
background-size: 100% 100%;
flex-direction: column;
width: 100%;
height: 1300rpx;
border-radius: 50rpx;
box-shadow: 0 0 10rpx #ccc;
}
.Fork {
width: 46rpx;
height: 46rpx;
margin-top: 20rpx;
/* margin-bottom: 40rpx; */
margin-left: 90%;
}
.Titlecss{
width: 100%;
height: 70rpx;
display: flex;
justify-content: center;
align-items: center;
}
.Star{
width: 50rpx;
height: 50rpx;
background-image: url(../../../../static/star.png);
background-size: 100% 100%;
}
.Title {
width: 430rpx;
height: 70rpx;
background-image: url(../../../../static/Publishpk.png);
background-size: 100% 200%;
background-position: 30% 0%;
margin-left: 26rpx;
margin-right: -65rpx;
}
.Individual {
display: flex;
/* justify-content: center; */
}
.NameAnchor {
width: 90%;
margin: 40rpx;
}
.time {
width: 90%;
margin-left: 5%;
margin-top: 50rpx;
}
.NameAnchorcss {
width: 99%;
height: 85rpx;
background-color: #ffffff;
border: 1rpx solid #BFBFBF;
border-radius: 10rpx;
text-align: center;
}
.Gender {
width: 310rpx;
display: flex;
flex-direction: column;
justify-content: center;
}
.Gendercs{
display: flex;
justify-content: center;
/* align-items: center; */
}
.Gendercss{
width: 200rpx;
height: 60rpx;
}
.Gendericoncss{
display: flex;
justify-content: center;
align-items: center;
width: 60rpx;
height: 60rpx;
border-radius: 50%;
border: 1rpx solid #ff9d0067;
margin-left: 20rpx;
margin-top: 10rpx;
}
.Gendericon{
width: 40rpx;
height: 40rpx;
/* margin-top: 10rpx;
margin-right: 40rpx; */
}
.Accountnumber {
display: flex;
justify-content: center;
margin-bottom: 60rpx;
margin-top: 50rpx;
}
.Coins {
width: 330rpx;
height: 65rpx;
/* display: flex; */
margin-right: 50rpx;
/* flex-direction: column; */
}
.country {
margin-left:10rpx;
}
.goldCoin {
width: 100%;
height: 100rpx;
display: flex;
justify-content: center;
align-items: center;
}
.number-box {
display: flex;
justify-content: center;
text-align: center;
}
.number-box-title {
color: #191919;
font-size: 30rpx;
margin-right: 22rpx;
margin-left: 17rpx;
}
.number-box-unit {
color: #03ABA8;
width: 48rpx;
height: 48rpx;
border: 1rpx solid #03ABA8;
border-radius: 50%;
line-height: 48rpx;
text-align: center;
/* color: #003cff5a; */
}
.Remarkscss {
width: 90%;
margin-top: 30rpx;
margin-left: 5%;
margin-right: 5%;
margin-bottom: 50rpx;
border-radius: 10rpx;
}
.Publish {
margin-bottom: 40rpx;
width: 90%;
margin-left: 5%;
}
.Publishcss {
background-image: linear-gradient(135deg, #4FCACD, #5FDBDE);
/* color: #33ff00; */
color: #ffffff;
font-weight: bold;
border-radius: 50rpx;
}
</style>

View File

@@ -36,12 +36,12 @@
<wht-select
style="width: 350rpx"
backgroundColor="#ffffff"
placeholderColor="#ffffff"
placeholderColor="#666666"
textColor="#666666"
borderColor="#ffffff"
@change="country"
:options="Country"
filterable= true
:filterable = "filterable"
placeholder="请选择国家"
/>
<view v-if="countrys === '' && Hint === true" class="Hint">请选择国家</view>
@@ -103,7 +103,6 @@
type="datetime"
hide-second="true"
v-model="datetimesingle"
@change="changeLog"
/>
<view v-if="datetimesingle === '' && Hint === true" class="Hint"
>请选择日期</view
@@ -113,10 +112,10 @@
<view class="goldCoin">
<view class="number-box">
<view class="number-box-title">选择场数:</view>
<uni-number-box background="#03ABA8" v-model="numberCoins"></uni-number-box>
<uni-number-box background="#03ABA8" v-model="session"></uni-number-box>
<view class="number-box-title"></view>
</view>
<view v-if="numberCoins === '' && Hint === true" class="Hint"
<view v-if="session === '' && Hint === true" class="Hint"
>请填写场数</view
>
</view>
@@ -152,12 +151,14 @@ export default {
countrys: "", //国家
nameAnchor: "", //主播名称
numberCoins: "", //金币数量
session: "", //场数
remarks: "", //备注
Display: false,
Hint: false,
datetimesingle: "", //日期
id: null, //用户id
sendingTime: "", //发送时间
filterable: true, //是否可搜索
};
},
mounted() {
@@ -195,6 +196,7 @@ export default {
this.remarks = "";
this.datetimesingle = "";
this.countrys = "";
this.session = "";
} else {
this.Display = true;
}
@@ -211,7 +213,8 @@ export default {
this.genders === "" ||
this.numberCoins === "" ||
this.countrys === "" ||
this.datetimesingle === ""
this.datetimesingle === ""||
this.session === ""
) {
this.Hint = true;
return;
@@ -251,6 +254,7 @@ export default {
status: 0,
senderId: this.id,
anchorIcon: "",
pkNumber: this.session,
},
userInfo: true,
});
@@ -262,6 +266,7 @@ export default {
this.numberCoins = "";
this.remarks = "";
this.datetimesingle = "";
this.session = "";
uni.hideLoading();
uni.showToast({
title: "发布成功",
@@ -387,7 +392,6 @@ export default {
border: 1rpx solid #BFBFBF;
border-radius: 10rpx;
text-align: center;
color:#ffffff;
}
.Gender {
width: 310rpx;

BIN
static/Agreement.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
static/More.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

BIN
static/expurgate.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
static/logout.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
static/recompose.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
static/service.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
static/species.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

File diff suppressed because one or more lines are too long

View File

@@ -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;;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"version":3,"file":"recompose.js","sources":["../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvTWluZS9taW5lY29tcG9uZW50cy9yZWNvbXBvc2UvcmVjb21wb3NlLnZ1ZQ"],"sourcesContent":["import MiniProgramPage from 'D:/项目/tk-mini-program/pages/Mine/minecomponents/recompose/recompose.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,UAAe,eAAA;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"recompose2.js","sources":["../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9wYWdlcy9NaW5lL21pbmVjb21wb25lbnRzL3JlY29tcG9zZS9yZWNvbXBvc2UudnVl"],"sourcesContent":["import MiniProgramPage from 'D:/项目/tk-mini-program/pages/Mine/minecomponents/recompose/recompose.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,UAAe,eAAA;"}

File diff suppressed because one or more lines are too long

View File

@@ -19,6 +19,8 @@ const _sfc_main = {
//主播名称
numberCoins: "",
//金币数量
session: "",
//场数
remarks: "",
//备注
Display: false,
@@ -27,8 +29,10 @@ const _sfc_main = {
//日期
id: null,
//用户id
sendingTime: ""
sendingTime: "",
//发送时间
filterable: true
//是否可搜索
};
},
mounted() {
@@ -42,11 +46,11 @@ const _sfc_main = {
methods: {
gender(item) {
this.genders = item.value;
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:174", item);
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:175", item);
},
country(item) {
this.countrys = item.value;
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:179", item);
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:180", item);
},
handleOverlayClick(event) {
if (event.target === this.$el) {
@@ -64,6 +68,7 @@ const _sfc_main = {
this.remarks = "";
this.datetimesingle = "";
this.countrys = "";
this.session = "";
} else {
this.Display = true;
}
@@ -73,7 +78,7 @@ const _sfc_main = {
this.nameAnchor = event.target.value;
},
async Publish() {
if (this.nameAnchor === "" || this.genders === "" || this.numberCoins === "" || this.countrys === "" || this.datetimesingle === "") {
if (this.nameAnchor === "" || this.genders === "" || this.numberCoins === "" || this.countrys === "" || this.datetimesingle === "" || this.session === "") {
this.Hint = true;
return;
}
@@ -108,7 +113,8 @@ const _sfc_main = {
remark: this.remarks,
status: 0,
senderId: this.id,
anchorIcon: ""
anchorIcon: "",
pkNumber: this.session
},
userInfo: true
});
@@ -120,6 +126,7 @@ const _sfc_main = {
this.numberCoins = "";
this.remarks = "";
this.datetimesingle = "";
this.session = "";
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "发布成功",
@@ -156,18 +163,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
a: $data.Display
}, $data.Display ? common_vendor.e({
b: common_vendor.o$1(($event) => $options.open()),
c: common_assets._imports_0$5,
c: common_assets._imports_0$4,
d: common_vendor.o$1((...args) => $options.NameAnchor && $options.NameAnchor(...args)),
e: $data.nameAnchor === "" && $data.Hint === true
}, $data.nameAnchor === "" && $data.Hint === true ? {} : {}, {
f: common_vendor.o$1($options.country),
g: common_vendor.p({
backgroundColor: "#ffffff",
placeholderColor: "#ffffff",
placeholderColor: "#666666",
textColor: "#666666",
borderColor: "#ffffff",
options: $data.Country,
filterable: "true",
filterable: $data.filterable,
placeholder: "请选择国家"
}),
h: $data.countrys === "" && $data.Hint === true
@@ -183,15 +190,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}),
k: $data.genders === 0
}, $data.genders === 0 ? {
l: common_assets._imports_1$2
l: common_assets._imports_1$3
} : {}, {
m: $data.genders === 1
}, $data.genders === 1 ? {
n: common_assets._imports_2
n: common_assets._imports_2$1
} : {}, {
o: $data.genders === 2
}, $data.genders === 2 ? {
p: common_assets._imports_3
p: common_assets._imports_3$1
} : {}, {
q: $data.genders === 0 && $data.Hint === true
}, $data.genders === 0 && $data.Hint === true ? {} : {}, {
@@ -202,33 +209,32 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}),
t: $data.numberCoins === "" && $data.Hint === true
}, $data.numberCoins === "" && $data.Hint === true ? {} : {}, {
v: common_vendor.o$1(_ctx.changeLog),
w: common_vendor.o$1(($event) => $data.datetimesingle = $event),
x: common_vendor.p({
v: common_vendor.o$1(($event) => $data.datetimesingle = $event),
w: common_vendor.p({
type: "datetime",
["hide-second"]: "true",
modelValue: $data.datetimesingle
}),
y: $data.datetimesingle === "" && $data.Hint === true
x: $data.datetimesingle === "" && $data.Hint === true
}, $data.datetimesingle === "" && $data.Hint === true ? {} : {}, {
z: common_vendor.o$1(($event) => $data.numberCoins = $event),
A: common_vendor.p({
y: common_vendor.o$1(($event) => $data.session = $event),
z: common_vendor.p({
background: "#03ABA8",
modelValue: $data.numberCoins
modelValue: $data.session
}),
B: $data.numberCoins === "" && $data.Hint === true
}, $data.numberCoins === "" && $data.Hint === true ? {} : {}, {
C: common_vendor.o$1(($event) => $data.remarks = $event),
D: common_vendor.p({
A: $data.session === "" && $data.Hint === true
}, $data.session === "" && $data.Hint === true ? {} : {}, {
B: common_vendor.o$1(($event) => $data.remarks = $event),
C: common_vendor.p({
type: "textarea",
placeholder: "备注",
modelValue: $data.remarks
}),
E: common_vendor.o$1(($event) => $options.Publish()),
F: common_vendor.o$1(() => {
D: common_vendor.o$1(($event) => $options.Publish()),
E: common_vendor.o$1(() => {
}),
G: common_vendor.n($data.Display ? "create-module" : "close-animation "),
H: common_vendor.o$1(($event) => $options.open())
F: common_vendor.n($data.Display ? "create-module" : "close-animation "),
G: common_vendor.o$1(($event) => $options.open())
}) : {});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-96d38e2b"]]);

View File

@@ -7,6 +7,7 @@ if (!Math) {
"./pages/Mine/minecomponents/pkRecord.js";
"./pages/Mine/minecomponents/contact.js";
"./pages/Mine/minecomponents/pkInformation.js";
"./pages/Mine/minecomponents/recompose/recompose.js";
"./pages/PKMessageprocessing/PKMessageprocessing.js";
"./pages/index/index.js";
"./pages/login/login.js";

View File

@@ -5,6 +5,7 @@
"pages/Mine/minecomponents/pkRecord",
"pages/Mine/minecomponents/contact",
"pages/Mine/minecomponents/pkInformation",
"pages/Mine/minecomponents/recompose/recompose",
"pages/PKMessageprocessing/PKMessageprocessing",
"pages/index/index",
"pages/login/login",

View File

@@ -1,15 +1,22 @@
"use strict";
const _imports_0$5 = "/static/HomeBackground.png";
const _imports_0$4 = "/static/Settings.png";
const _imports_0$4 = "/static/HomeBackground.png";
const _imports_1$3 = "/static/Settings.png";
const _imports_2$1 = "/static/More.png";
const _imports_3$1 = "/static/service.png";
const _imports_4$2 = "/static/Agreement.png";
const _imports_5$2 = "/static/logout.png";
const _imports_1$2 = "/static/Return.png";
const _imports_0$3 = "/static/female.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_1$1 = "/static/male.png";
const _imports_4$1 = "/static/species.png";
const _imports_5$1 = "/static/recompose.png";
const _imports_6 = "/static/expurgate.png";
const _imports_0$2 = "/static/Fork.png";
const _imports_1 = "/static/ask.png";
const _imports_2 = "/static/man.png";
const _imports_3 = "/static/girl.png";
const _imports_4 = "/static/gold.png";
const _imports_5 = "/static/session.png";
const _imports_0$1 = "/static/Navigationimg.png";
const createGroup = "/assets/start-group.6d6b5fbb.svg";
const C2C = "/assets/icon-c2c.d80299ab.svg";
@@ -89,18 +96,25 @@ exports.InvitationDark = InvitationDark;
exports.InvitationLight = InvitationLight;
exports.SearchDefaultIcon = SearchDefaultIcon;
exports._imports_0 = _imports_0$1;
exports._imports_0$1 = _imports_0$5;
exports._imports_0$2 = _imports_0$4;
exports._imports_0$3 = _imports_0$3;
exports._imports_0$4 = _imports_0;
exports._imports_0$5 = _imports_0$2;
exports._imports_1 = _imports_1$1;
exports._imports_1$1 = _imports_1$2;
exports._imports_1$2 = _imports_1;
exports._imports_2 = _imports_2;
exports._imports_3 = _imports_3;
exports._imports_4 = _imports_4;
exports._imports_5 = _imports_5;
exports._imports_0$1 = _imports_0$4;
exports._imports_0$2 = _imports_0$3;
exports._imports_0$3 = _imports_0;
exports._imports_0$4 = _imports_0$2;
exports._imports_1 = _imports_1$2;
exports._imports_1$1 = _imports_1$3;
exports._imports_1$2 = _imports_1$1;
exports._imports_1$3 = _imports_1;
exports._imports_2 = _imports_2$1;
exports._imports_2$1 = _imports_2;
exports._imports_3 = _imports_3$1;
exports._imports_3$1 = _imports_3;
exports._imports_4 = _imports_4$2;
exports._imports_4$1 = _imports_4$1;
exports._imports_4$2 = _imports_4;
exports._imports_5 = _imports_5$2;
exports._imports_5$1 = _imports_5$1;
exports._imports_5$2 = _imports_5;
exports._imports_6 = _imports_6;
exports.addSVG = addSVG;
exports.audioIcon = audioIcon$1;
exports.audioIcon$1 = audioIcon;

View File

@@ -8012,7 +8012,7 @@ function isConsoleWritable() {
function initRuntimeSocketService() {
const hosts = "192.168.1.112,127.0.0.1";
const port = "8090";
const id = "mp-weixin__gmKGe";
const id = "mp-weixin_y9-tOf";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();
@@ -30430,303 +30430,296 @@ const onLoad = /* @__PURE__ */ createHook(ON_LOAD);
const onReady = /* @__PURE__ */ createHook(ON_READY);
const onUnload = /* @__PURE__ */ createHook(ON_UNLOAD);
var dayjs_min = { exports: {} };
var hasRequiredDayjs_min;
function requireDayjs_min() {
if (hasRequiredDayjs_min)
return dayjs_min.exports;
hasRequiredDayjs_min = 1;
(function(module2, exports2) {
!function(t2, e2) {
module2.exports = e2();
}(commonjsGlobal, function() {
var t2 = 1e3, e2 = 6e4, n2 = 36e5, r3 = "millisecond", i3 = "second", s3 = "minute", u2 = "hour", a2 = "day", o2 = "week", c2 = "month", f2 = "quarter", h2 = "year", d2 = "date", l2 = "Invalid Date", $2 = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y2 = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M2 = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
} }, m2 = function(t3, e3, n3) {
var r4 = String(t3);
return !r4 || r4.length >= e3 ? t3 : "" + Array(e3 + 1 - r4.length).join(n3) + t3;
}, v3 = { s: m2, z: function(t3) {
var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r4 = Math.floor(n3 / 60), i4 = n3 % 60;
return (e3 <= 0 ? "+" : "-") + m2(r4, 2, "0") + ":" + m2(i4, 2, "0");
}, m: function t3(e3, n3) {
if (e3.date() < n3.date())
return -t3(n3, e3);
var r4 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i4 = e3.clone().add(r4, c2), s4 = n3 - i4 < 0, u3 = e3.clone().add(r4 + (s4 ? -1 : 1), c2);
return +(-(r4 + (n3 - i4) / (s4 ? i4 - u3 : u3 - i4)) || 0);
}, a: function(t3) {
return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
}, p: function(t3) {
return { M: c2, y: h2, w: o2, d: a2, D: d2, h: u2, m: s3, s: i3, ms: r3, Q: f2 }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
}, u: function(t3) {
return void 0 === t3;
} }, g2 = "en", D2 = {};
D2[g2] = M2;
var p3 = "$isDayjsObject", S2 = function(t3) {
return t3 instanceof _2 || !(!t3 || !t3[p3]);
}, w2 = function t3(e3, n3, r4) {
var i4;
if (!e3)
return g2;
if ("string" == typeof e3) {
var s4 = e3.toLowerCase();
D2[s4] && (i4 = s4), n3 && (D2[s4] = n3, i4 = s4);
var u3 = e3.split("-");
if (!i4 && u3.length > 1)
return t3(u3[0]);
} else {
var a3 = e3.name;
D2[a3] = e3, i4 = a3;
}
return !r4 && i4 && (g2 = i4), i4 || !r4 && g2;
}, O2 = function(t3, e3) {
if (S2(t3))
return t3.clone();
var n3 = "object" == typeof e3 ? e3 : {};
return n3.date = t3, n3.args = arguments, new _2(n3);
}, b2 = v3;
b2.l = w2, b2.i = S2, b2.w = function(t3, e3) {
return O2(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
};
var _2 = function() {
function M3(t3) {
this.$L = w2(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p3] = true;
}
var m3 = M3.prototype;
return m3.parse = function(t3) {
this.$d = function(t4) {
var e3 = t4.date, n3 = t4.utc;
if (null === e3)
return /* @__PURE__ */ new Date(NaN);
if (b2.u(e3))
return /* @__PURE__ */ new Date();
if (e3 instanceof Date)
return new Date(e3);
if ("string" == typeof e3 && !/Z$/i.test(e3)) {
var r4 = e3.match($2);
if (r4) {
var i4 = r4[2] - 1 || 0, s4 = (r4[7] || "0").substring(0, 3);
return n3 ? new Date(Date.UTC(r4[1], i4, r4[3] || 1, r4[4] || 0, r4[5] || 0, r4[6] || 0, s4)) : new Date(r4[1], i4, r4[3] || 1, r4[4] || 0, r4[5] || 0, r4[6] || 0, s4);
}
}
(function(module2, exports2) {
!function(t2, e2) {
module2.exports = e2();
}(commonjsGlobal, function() {
var t2 = 1e3, e2 = 6e4, n2 = 36e5, r3 = "millisecond", i3 = "second", s3 = "minute", u2 = "hour", a2 = "day", o2 = "week", c2 = "month", f2 = "quarter", h2 = "year", d2 = "date", l2 = "Invalid Date", $2 = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y2 = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M2 = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
} }, m2 = function(t3, e3, n3) {
var r4 = String(t3);
return !r4 || r4.length >= e3 ? t3 : "" + Array(e3 + 1 - r4.length).join(n3) + t3;
}, v3 = { s: m2, z: function(t3) {
var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r4 = Math.floor(n3 / 60), i4 = n3 % 60;
return (e3 <= 0 ? "+" : "-") + m2(r4, 2, "0") + ":" + m2(i4, 2, "0");
}, m: function t3(e3, n3) {
if (e3.date() < n3.date())
return -t3(n3, e3);
var r4 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i4 = e3.clone().add(r4, c2), s4 = n3 - i4 < 0, u3 = e3.clone().add(r4 + (s4 ? -1 : 1), c2);
return +(-(r4 + (n3 - i4) / (s4 ? i4 - u3 : u3 - i4)) || 0);
}, a: function(t3) {
return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
}, p: function(t3) {
return { M: c2, y: h2, w: o2, d: a2, D: d2, h: u2, m: s3, s: i3, ms: r3, Q: f2 }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
}, u: function(t3) {
return void 0 === t3;
} }, g2 = "en", D2 = {};
D2[g2] = M2;
var p3 = "$isDayjsObject", S2 = function(t3) {
return t3 instanceof _2 || !(!t3 || !t3[p3]);
}, w2 = function t3(e3, n3, r4) {
var i4;
if (!e3)
return g2;
if ("string" == typeof e3) {
var s4 = e3.toLowerCase();
D2[s4] && (i4 = s4), n3 && (D2[s4] = n3, i4 = s4);
var u3 = e3.split("-");
if (!i4 && u3.length > 1)
return t3(u3[0]);
} else {
var a3 = e3.name;
D2[a3] = e3, i4 = a3;
}
return !r4 && i4 && (g2 = i4), i4 || !r4 && g2;
}, O2 = function(t3, e3) {
if (S2(t3))
return t3.clone();
var n3 = "object" == typeof e3 ? e3 : {};
return n3.date = t3, n3.args = arguments, new _2(n3);
}, b2 = v3;
b2.l = w2, b2.i = S2, b2.w = function(t3, e3) {
return O2(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
};
var _2 = function() {
function M3(t3) {
this.$L = w2(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p3] = true;
}
var m3 = M3.prototype;
return m3.parse = function(t3) {
this.$d = function(t4) {
var e3 = t4.date, n3 = t4.utc;
if (null === e3)
return /* @__PURE__ */ new Date(NaN);
if (b2.u(e3))
return /* @__PURE__ */ new Date();
if (e3 instanceof Date)
return new Date(e3);
}(t3), this.init();
}, m3.init = function() {
var t3 = this.$d;
this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
}, m3.$utils = function() {
return b2;
}, m3.isValid = function() {
return !(this.$d.toString() === l2);
}, m3.isSame = function(t3, e3) {
var n3 = O2(t3);
return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
}, m3.isAfter = function(t3, e3) {
return O2(t3) < this.startOf(e3);
}, m3.isBefore = function(t3, e3) {
return this.endOf(e3) < O2(t3);
}, m3.$g = function(t3, e3, n3) {
return b2.u(t3) ? this[e3] : this.set(n3, t3);
}, m3.unix = function() {
return Math.floor(this.valueOf() / 1e3);
}, m3.valueOf = function() {
return this.$d.getTime();
}, m3.startOf = function(t3, e3) {
var n3 = this, r4 = !!b2.u(e3) || e3, f3 = b2.p(t3), l3 = function(t4, e4) {
var i4 = b2.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
return r4 ? i4 : i4.endOf(a2);
}, $3 = function(t4, e4) {
return b2.w(n3.toDate()[t4].apply(n3.toDate("s"), (r4 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
}, y3 = this.$W, M4 = this.$M, m4 = this.$D, v4 = "set" + (this.$u ? "UTC" : "");
switch (f3) {
case h2:
return r4 ? l3(1, 0) : l3(31, 11);
case c2:
return r4 ? l3(1, M4) : l3(0, M4 + 1);
case o2:
var g3 = this.$locale().weekStart || 0, D3 = (y3 < g3 ? y3 + 7 : y3) - g3;
return l3(r4 ? m4 - D3 : m4 + (6 - D3), M4);
case a2:
case d2:
return $3(v4 + "Hours", 0);
case u2:
return $3(v4 + "Minutes", 1);
case s3:
return $3(v4 + "Seconds", 2);
case i3:
return $3(v4 + "Milliseconds", 3);
default:
return this.clone();
if ("string" == typeof e3 && !/Z$/i.test(e3)) {
var r4 = e3.match($2);
if (r4) {
var i4 = r4[2] - 1 || 0, s4 = (r4[7] || "0").substring(0, 3);
return n3 ? new Date(Date.UTC(r4[1], i4, r4[3] || 1, r4[4] || 0, r4[5] || 0, r4[6] || 0, s4)) : new Date(r4[1], i4, r4[3] || 1, r4[4] || 0, r4[5] || 0, r4[6] || 0, s4);
}
}
}, m3.endOf = function(t3) {
return this.startOf(t3, false);
}, m3.$set = function(t3, e3) {
var n3, o3 = b2.p(t3), f3 = "set" + (this.$u ? "UTC" : ""), l3 = (n3 = {}, n3[a2] = f3 + "Date", n3[d2] = f3 + "Date", n3[c2] = f3 + "Month", n3[h2] = f3 + "FullYear", n3[u2] = f3 + "Hours", n3[s3] = f3 + "Minutes", n3[i3] = f3 + "Seconds", n3[r3] = f3 + "Milliseconds", n3)[o3], $3 = o3 === a2 ? this.$D + (e3 - this.$W) : e3;
if (o3 === c2 || o3 === h2) {
var y3 = this.clone().set(d2, 1);
y3.$d[l3]($3), y3.init(), this.$d = y3.set(d2, Math.min(this.$D, y3.daysInMonth())).$d;
} else
l3 && this.$d[l3]($3);
return this.init(), this;
}, m3.set = function(t3, e3) {
return this.clone().$set(t3, e3);
}, m3.get = function(t3) {
return this[b2.p(t3)]();
}, m3.add = function(r4, f3) {
var d3, l3 = this;
r4 = Number(r4);
var $3 = b2.p(f3), y3 = function(t3) {
var e3 = O2(l3);
return b2.w(e3.date(e3.date() + Math.round(t3 * r4)), l3);
};
if ($3 === c2)
return this.set(c2, this.$M + r4);
if ($3 === h2)
return this.set(h2, this.$y + r4);
if ($3 === a2)
return y3(1);
if ($3 === o2)
return y3(7);
var M4 = (d3 = {}, d3[s3] = e2, d3[u2] = n2, d3[i3] = t2, d3)[$3] || 1, m4 = this.$d.getTime() + r4 * M4;
return b2.w(m4, this);
}, m3.subtract = function(t3, e3) {
return this.add(-1 * t3, e3);
}, m3.format = function(t3) {
var e3 = this, n3 = this.$locale();
if (!this.isValid())
return n3.invalidDate || l2;
var r4 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i4 = b2.z(this), s4 = this.$H, u3 = this.$m, a3 = this.$M, o3 = n3.weekdays, c3 = n3.months, f3 = n3.meridiem, h3 = function(t4, n4, i5, s5) {
return t4 && (t4[n4] || t4(e3, r4)) || i5[n4].slice(0, s5);
}, d3 = function(t4) {
return b2.s(s4 % 12 || 12, t4, "0");
}, $3 = f3 || function(t4, e4, n4) {
var r5 = t4 < 12 ? "AM" : "PM";
return n4 ? r5.toLowerCase() : r5;
};
return r4.replace(y2, function(t4, r5) {
return r5 || function(t5) {
switch (t5) {
case "YY":
return String(e3.$y).slice(-2);
case "YYYY":
return b2.s(e3.$y, 4, "0");
case "M":
return a3 + 1;
case "MM":
return b2.s(a3 + 1, 2, "0");
case "MMM":
return h3(n3.monthsShort, a3, c3, 3);
case "MMMM":
return h3(c3, a3);
case "D":
return e3.$D;
case "DD":
return b2.s(e3.$D, 2, "0");
case "d":
return String(e3.$W);
case "dd":
return h3(n3.weekdaysMin, e3.$W, o3, 2);
case "ddd":
return h3(n3.weekdaysShort, e3.$W, o3, 3);
case "dddd":
return o3[e3.$W];
case "H":
return String(s4);
case "HH":
return b2.s(s4, 2, "0");
case "h":
return d3(1);
case "hh":
return d3(2);
case "a":
return $3(s4, u3, true);
case "A":
return $3(s4, u3, false);
case "m":
return String(u3);
case "mm":
return b2.s(u3, 2, "0");
case "s":
return String(e3.$s);
case "ss":
return b2.s(e3.$s, 2, "0");
case "SSS":
return b2.s(e3.$ms, 3, "0");
case "Z":
return i4;
}
return null;
}(t4) || i4.replace(":", "");
});
}, m3.utcOffset = function() {
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
}, m3.diff = function(r4, d3, l3) {
var $3, y3 = this, M4 = b2.p(d3), m4 = O2(r4), v4 = (m4.utcOffset() - this.utcOffset()) * e2, g3 = this - m4, D3 = function() {
return b2.m(y3, m4);
};
switch (M4) {
case h2:
$3 = D3() / 12;
break;
case c2:
$3 = D3();
break;
case f2:
$3 = D3() / 3;
break;
case o2:
$3 = (g3 - v4) / 6048e5;
break;
case a2:
$3 = (g3 - v4) / 864e5;
break;
case u2:
$3 = g3 / n2;
break;
case s3:
$3 = g3 / e2;
break;
case i3:
$3 = g3 / t2;
break;
default:
$3 = g3;
}
return l3 ? $3 : b2.a($3);
}, m3.daysInMonth = function() {
return this.endOf(c2).$D;
}, m3.$locale = function() {
return D2[this.$L];
}, m3.locale = function(t3, e3) {
if (!t3)
return this.$L;
var n3 = this.clone(), r4 = w2(t3, e3, true);
return r4 && (n3.$L = r4), n3;
}, m3.clone = function() {
return b2.w(this.$d, this);
}, m3.toDate = function() {
return new Date(this.valueOf());
}, m3.toJSON = function() {
return this.isValid() ? this.toISOString() : null;
}, m3.toISOString = function() {
return this.$d.toISOString();
}, m3.toString = function() {
return this.$d.toUTCString();
}, M3;
}(), k2 = _2.prototype;
return O2.prototype = k2, [["$ms", r3], ["$s", i3], ["$m", s3], ["$H", u2], ["$W", a2], ["$M", c2], ["$y", h2], ["$D", d2]].forEach(function(t3) {
k2[t3[1]] = function(e3) {
return this.$g(e3, t3[0], t3[1]);
return new Date(e3);
}(t3), this.init();
}, m3.init = function() {
var t3 = this.$d;
this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
}, m3.$utils = function() {
return b2;
}, m3.isValid = function() {
return !(this.$d.toString() === l2);
}, m3.isSame = function(t3, e3) {
var n3 = O2(t3);
return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
}, m3.isAfter = function(t3, e3) {
return O2(t3) < this.startOf(e3);
}, m3.isBefore = function(t3, e3) {
return this.endOf(e3) < O2(t3);
}, m3.$g = function(t3, e3, n3) {
return b2.u(t3) ? this[e3] : this.set(n3, t3);
}, m3.unix = function() {
return Math.floor(this.valueOf() / 1e3);
}, m3.valueOf = function() {
return this.$d.getTime();
}, m3.startOf = function(t3, e3) {
var n3 = this, r4 = !!b2.u(e3) || e3, f3 = b2.p(t3), l3 = function(t4, e4) {
var i4 = b2.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
return r4 ? i4 : i4.endOf(a2);
}, $3 = function(t4, e4) {
return b2.w(n3.toDate()[t4].apply(n3.toDate("s"), (r4 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
}, y3 = this.$W, M4 = this.$M, m4 = this.$D, v4 = "set" + (this.$u ? "UTC" : "");
switch (f3) {
case h2:
return r4 ? l3(1, 0) : l3(31, 11);
case c2:
return r4 ? l3(1, M4) : l3(0, M4 + 1);
case o2:
var g3 = this.$locale().weekStart || 0, D3 = (y3 < g3 ? y3 + 7 : y3) - g3;
return l3(r4 ? m4 - D3 : m4 + (6 - D3), M4);
case a2:
case d2:
return $3(v4 + "Hours", 0);
case u2:
return $3(v4 + "Minutes", 1);
case s3:
return $3(v4 + "Seconds", 2);
case i3:
return $3(v4 + "Milliseconds", 3);
default:
return this.clone();
}
}, m3.endOf = function(t3) {
return this.startOf(t3, false);
}, m3.$set = function(t3, e3) {
var n3, o3 = b2.p(t3), f3 = "set" + (this.$u ? "UTC" : ""), l3 = (n3 = {}, n3[a2] = f3 + "Date", n3[d2] = f3 + "Date", n3[c2] = f3 + "Month", n3[h2] = f3 + "FullYear", n3[u2] = f3 + "Hours", n3[s3] = f3 + "Minutes", n3[i3] = f3 + "Seconds", n3[r3] = f3 + "Milliseconds", n3)[o3], $3 = o3 === a2 ? this.$D + (e3 - this.$W) : e3;
if (o3 === c2 || o3 === h2) {
var y3 = this.clone().set(d2, 1);
y3.$d[l3]($3), y3.init(), this.$d = y3.set(d2, Math.min(this.$D, y3.daysInMonth())).$d;
} else
l3 && this.$d[l3]($3);
return this.init(), this;
}, m3.set = function(t3, e3) {
return this.clone().$set(t3, e3);
}, m3.get = function(t3) {
return this[b2.p(t3)]();
}, m3.add = function(r4, f3) {
var d3, l3 = this;
r4 = Number(r4);
var $3 = b2.p(f3), y3 = function(t3) {
var e3 = O2(l3);
return b2.w(e3.date(e3.date() + Math.round(t3 * r4)), l3);
};
}), O2.extend = function(t3, e3) {
return t3.$i || (t3(e3, _2, O2), t3.$i = true), O2;
}, O2.locale = w2, O2.isDayjs = S2, O2.unix = function(t3) {
return O2(1e3 * t3);
}, O2.en = D2[g2], O2.Ls = D2, O2.p = {}, O2;
});
})(dayjs_min);
return dayjs_min.exports;
}
var dayjs_minExports = requireDayjs_min();
if ($3 === c2)
return this.set(c2, this.$M + r4);
if ($3 === h2)
return this.set(h2, this.$y + r4);
if ($3 === a2)
return y3(1);
if ($3 === o2)
return y3(7);
var M4 = (d3 = {}, d3[s3] = e2, d3[u2] = n2, d3[i3] = t2, d3)[$3] || 1, m4 = this.$d.getTime() + r4 * M4;
return b2.w(m4, this);
}, m3.subtract = function(t3, e3) {
return this.add(-1 * t3, e3);
}, m3.format = function(t3) {
var e3 = this, n3 = this.$locale();
if (!this.isValid())
return n3.invalidDate || l2;
var r4 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i4 = b2.z(this), s4 = this.$H, u3 = this.$m, a3 = this.$M, o3 = n3.weekdays, c3 = n3.months, f3 = n3.meridiem, h3 = function(t4, n4, i5, s5) {
return t4 && (t4[n4] || t4(e3, r4)) || i5[n4].slice(0, s5);
}, d3 = function(t4) {
return b2.s(s4 % 12 || 12, t4, "0");
}, $3 = f3 || function(t4, e4, n4) {
var r5 = t4 < 12 ? "AM" : "PM";
return n4 ? r5.toLowerCase() : r5;
};
return r4.replace(y2, function(t4, r5) {
return r5 || function(t5) {
switch (t5) {
case "YY":
return String(e3.$y).slice(-2);
case "YYYY":
return b2.s(e3.$y, 4, "0");
case "M":
return a3 + 1;
case "MM":
return b2.s(a3 + 1, 2, "0");
case "MMM":
return h3(n3.monthsShort, a3, c3, 3);
case "MMMM":
return h3(c3, a3);
case "D":
return e3.$D;
case "DD":
return b2.s(e3.$D, 2, "0");
case "d":
return String(e3.$W);
case "dd":
return h3(n3.weekdaysMin, e3.$W, o3, 2);
case "ddd":
return h3(n3.weekdaysShort, e3.$W, o3, 3);
case "dddd":
return o3[e3.$W];
case "H":
return String(s4);
case "HH":
return b2.s(s4, 2, "0");
case "h":
return d3(1);
case "hh":
return d3(2);
case "a":
return $3(s4, u3, true);
case "A":
return $3(s4, u3, false);
case "m":
return String(u3);
case "mm":
return b2.s(u3, 2, "0");
case "s":
return String(e3.$s);
case "ss":
return b2.s(e3.$s, 2, "0");
case "SSS":
return b2.s(e3.$ms, 3, "0");
case "Z":
return i4;
}
return null;
}(t4) || i4.replace(":", "");
});
}, m3.utcOffset = function() {
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
}, m3.diff = function(r4, d3, l3) {
var $3, y3 = this, M4 = b2.p(d3), m4 = O2(r4), v4 = (m4.utcOffset() - this.utcOffset()) * e2, g3 = this - m4, D3 = function() {
return b2.m(y3, m4);
};
switch (M4) {
case h2:
$3 = D3() / 12;
break;
case c2:
$3 = D3();
break;
case f2:
$3 = D3() / 3;
break;
case o2:
$3 = (g3 - v4) / 6048e5;
break;
case a2:
$3 = (g3 - v4) / 864e5;
break;
case u2:
$3 = g3 / n2;
break;
case s3:
$3 = g3 / e2;
break;
case i3:
$3 = g3 / t2;
break;
default:
$3 = g3;
}
return l3 ? $3 : b2.a($3);
}, m3.daysInMonth = function() {
return this.endOf(c2).$D;
}, m3.$locale = function() {
return D2[this.$L];
}, m3.locale = function(t3, e3) {
if (!t3)
return this.$L;
var n3 = this.clone(), r4 = w2(t3, e3, true);
return r4 && (n3.$L = r4), n3;
}, m3.clone = function() {
return b2.w(this.$d, this);
}, m3.toDate = function() {
return new Date(this.valueOf());
}, m3.toJSON = function() {
return this.isValid() ? this.toISOString() : null;
}, m3.toISOString = function() {
return this.$d.toISOString();
}, m3.toString = function() {
return this.$d.toUTCString();
}, M3;
}(), k2 = _2.prototype;
return O2.prototype = k2, [["$ms", r3], ["$s", i3], ["$m", s3], ["$H", u2], ["$W", a2], ["$M", c2], ["$y", h2], ["$D", d2]].forEach(function(t3) {
k2[t3[1]] = function(e3) {
return this.$g(e3, t3[0], t3[1]);
};
}), O2.extend = function(t3, e3) {
return t3.$i || (t3(e3, _2, O2), t3.$i = true), O2;
}, O2.locale = w2, O2.isDayjs = S2, O2.unix = function(t3) {
return O2(1e3 * t3);
}, O2.en = D2[g2], O2.Ls = D2, O2.p = {}, O2;
});
})(dayjs_min);
var dayjs_minExports = dayjs_min.exports;
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
var localeData$1 = { exports: {} };
(function(module2, exports2) {
@@ -30838,7 +30831,7 @@ const isSameOrBefore = /* @__PURE__ */ getDefaultExportFromCjs(isSameOrBeforeExp
var zhCn = { exports: {} };
(function(module2, exports2) {
!function(e2, _2) {
module2.exports = _2(requireDayjs_min());
module2.exports = _2(dayjs_minExports);
}(commonjsGlobal, function(e2) {
function _2(e3) {
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };

View File

@@ -103,9 +103,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
b: common_vendor.t(item.anchorId),
c: item.sex === "2"
}, item.sex === "2" ? {
d: common_assets._imports_0$3
d: common_assets._imports_0$2
} : {
e: common_assets._imports_1$1
e: common_assets._imports_1$2
}, {
f: common_vendor.t(item.sex === "1" ? "男" : "女"),
g: item.sex === "1" ? 1 : "",

View File

@@ -37,7 +37,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
f: !$data.Select ? 1 : "",
g: common_vendor.o$1((...args) => $options.screening && $options.screening(...args)),
h: common_vendor.o$1((...args) => $options.Search && $options.Search(...args)),
i: common_assets._imports_0$4
i: common_assets._imports_0$3
};
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ce2f6748"]]);

View File

@@ -1,11 +1,15 @@
"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 tabBar = () => "../../components/tabBar/tabBar.js";
const _sfc_main = {
data() {
return {
userinfo: {}
userinfo: {},
pkInformationdata: [],
myPkRecorddata: []
};
},
onShow() {
@@ -13,30 +17,80 @@ const _sfc_main = {
key: "userinfo",
success: (res) => {
this.userinfo = res.data;
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:132", this.userinfo);
this.getpkInformation();
this.getmyPkRecord();
}
});
},
methods: {
formatDate: components_formatDate.formatDate,
//获取pk信息
getpkInformation() {
components_request.request({
url: "user/queryMyAllPkData",
method: "POST",
data: {
userId: this.userinfo.id,
page: 0,
size: 4
},
userInfo: false
}).then((res) => {
if (res.code == 200) {
this.pkInformationdata = res.data;
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:154", this.pkInformationdata);
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:156", res.msg);
}
});
},
//获取pk记录
getmyPkRecord() {
components_request.request({
url: "user/handlePkInfo",
method: "POST",
data: {
type: 1,
userId: this.userinfo.id,
page: 0,
size: 4
},
userInfo: false
}).then((res) => {
if (res.code == 200) {
this.myPkRecorddata = res.data;
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:175", this.myPkRecorddata);
} else {
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:177", res.msg);
}
});
},
// 跳转到PK信息页面
pkInformation() {
common_vendor.index.navigateTo({
url: "/pages/Mine/minecomponents/pkInformation"
});
},
// 跳转到PK记录页面
pkRecord() {
common_vendor.index.navigateTo({
url: "/pages/Mine/minecomponents/pkRecord"
});
},
// 跳转到联系客服页面
contact() {
common_vendor.index.navigateTo({
url: "/pages/Mine/minecomponents/contact"
});
},
// 跳转到设置页面
goSetting() {
common_vendor.index.navigateTo({
url: "/pages/Setting/Setting"
});
},
// 退出登录
logout() {
common_vendor.index.removeStorage({
key: "chatInfo"
@@ -69,14 +123,28 @@ if (!Math) {
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: $data.userinfo.headerIcon,
b: common_vendor.t($data.userinfo.nickName),
c: common_assets._imports_0$2,
d: common_vendor.o$1((...args) => $options.goSetting && $options.goSetting(...args)),
e: common_vendor.o$1((...args) => $options.pkInformation && $options.pkInformation(...args)),
f: common_vendor.o$1((...args) => $options.pkRecord && $options.pkRecord(...args)),
g: common_vendor.o$1((...args) => $options.contact && $options.contact(...args)),
h: common_vendor.o$1((...args) => $options.logout && $options.logout(...args))
a: common_assets._imports_0$1,
b: $data.userinfo.headerIcon,
c: common_vendor.t($data.userinfo.nickName),
d: common_assets._imports_1$1,
e: common_vendor.o$1((...args) => $options.goSetting && $options.goSetting(...args)),
f: common_assets._imports_2,
g: common_vendor.o$1((...args) => $options.pkInformation && $options.pkInformation(...args)),
h: common_vendor.f($data.pkInformationdata, (item, index, i0) => {
return {
a: item.anchorIcon,
b: common_vendor.t($options.formatDate(item.pkTime)),
c: common_vendor.t(item.coin),
d: index
};
}),
i: common_assets._imports_2,
j: common_vendor.o$1((...args) => $options.pkRecord && $options.pkRecord(...args)),
k: common_assets._imports_3,
l: common_vendor.o$1((...args) => $options.contact && $options.contact(...args)),
m: common_assets._imports_4,
n: common_assets._imports_5,
o: common_vendor.o$1((...args) => $options.logout && $options.logout(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-402ad917"]]);

View File

@@ -1 +1 @@
<view class="container data-v-402ad917"><view class="PersonalInformation data-v-402ad917"><view class="header data-v-402ad917"><image src="{{a}}" mode="scaleToFill" class="headerIcon data-v-402ad917"/></view><view class="data-v-402ad917"><view class="name data-v-402ad917">{{b}}</view></view><view class="Settings data-v-402ad917" bindtap="{{d}}"><image class="SettingsIcon data-v-402ad917" src="{{c}}" mode="scaleToFill"/></view></view><view class="data-v-402ad917"><view class="logout data-v-402ad917" bindtap="{{e}}">pk信息</view></view><view class="data-v-402ad917"><view class="logout data-v-402ad917" bindtap="{{f}}">我的pk记录</view></view><view class="data-v-402ad917"><view class="logout data-v-402ad917" bindtap="{{g}}">联系客服</view></view><view class="data-v-402ad917"><view class="logout data-v-402ad917" bindtap="{{h}}">退出登录</view></view></view><view class="copyright data-v-402ad917">版权所有 © 2025 ...................</view><view class="tabBar data-v-402ad917"><tab-bar class="data-v-402ad917" u-i="402ad917-0" bind:__l="__l"></tab-bar></view>
<view class="container data-v-402ad917"><view class="bg data-v-402ad917"><image class="bgImg data-v-402ad917" src="{{a}}" mode="scaleToFill"/></view><view class="PersonalInformation data-v-402ad917"><view class="header data-v-402ad917"><image src="{{b}}" mode="scaleToFill" class="headerIcon data-v-402ad917"/></view><view class="data-v-402ad917"><view class="name data-v-402ad917">{{c}}</view></view><view class="Settings data-v-402ad917" bindtap="{{e}}"><image class="SettingsIcon data-v-402ad917" src="{{d}}" mode="scaleToFill"/></view></view><view class="content data-v-402ad917"><view class="PKInformation data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">PK信息</view><view class="titleLine data-v-402ad917"></view><view class="titleMore data-v-402ad917" bindtap="{{g}}">更多PK信息<image class="data-v-402ad917" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="{{f}}" mode="scaleToFill"/></view></view><view class="card data-v-402ad917"><view wx:for="{{h}}" wx:for-item="item" wx:key="d" class="cardContent data-v-402ad917"><view class="cardImg data-v-402ad917"><image class="data-v-402ad917" src="{{item.a}}" mode="scaleToFill"/></view><view class="Time data-v-402ad917">{{item.b}}</view><view class="gold data-v-402ad917">{{item.c}}K</view></view></view></view><view class="myPkRecord data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">我的PK记录</view><view class="titleLine data-v-402ad917"></view><view class="myPkRecordMore data-v-402ad917" bindtap="{{j}}">更多PK记录<image class="data-v-402ad917" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="{{i}}" mode="scaleToFill"/></view></view><view class="card data-v-402ad917"><view class="cardContent data-v-402ad917"><view class="cardImg data-v-402ad917"><image class="data-v-402ad917" src="{{''}}" mode="scaleToFill"/></view><view class="Result data-v-402ad917"> 胜利 </view><view class="Session data-v-402ad917"> 共一场 </view><view class="Time data-v-402ad917"> 20:30 </view></view></view></view><view class="PKInformation data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">专属客服</view><view class="titleLine data-v-402ad917"></view></view></view><view class="card data-v-402ad917"><view class="service data-v-402ad917" bindtap="{{l}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="{{k}}" mode="scaleToFill"/><view class="cardtext data-v-402ad917">联系客服</view></view><view class="service data-v-402ad917"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="{{m}}" mode="scaleToFill"/><view class="cardtext data-v-402ad917">服务协议</view></view><view class="service data-v-402ad917" bindtap="{{o}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="{{n}}" mode="scaleToFill"/><view class="cardtext data-v-402ad917">退出登录</view></view></view></view></view><view class="copyright data-v-402ad917">版权所有 © 2025 ...................</view><view class="tabBar data-v-402ad917"><tab-bar class="data-v-402ad917" u-i="402ad917-0" bind:__l="__l"></tab-bar></view>

View File

@@ -1,60 +1,181 @@
.container.data-v-402ad917 {
.bg.data-v-402ad917 {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.bgImg.data-v-402ad917 {
width: 100%;
height: 100%;
}
.PersonalInformation.data-v-402ad917 {
position: absolute;
top: 150rpx;
left: 0;
right: 0;
height: 144.5rpx;
display: flex;
align-items: center;
}
.header.data-v-402ad917 {
width: 144.5rpx;
height: 144.5rpx;
border-radius: 72.25rpx;
background-color: #fff;
margin-left: 32.5rpx;
margin-right: 39.5rpx;
}
.Settings.data-v-402ad917 {
width: 46rpx;
height: 46rpx;
margin-left: 360rpx;
}
.SettingsIcon.data-v-402ad917 {
width: 100%;
height: 100%;
}
.name.data-v-402ad917 {
font-size: 36.26rpx;
font-weight: 500;
color: #161616;
}
.content.data-v-402ad917 {
position: absolute;
top: 294.5rpx;
left: 0;
right: 0;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
width: 100%;
background: linear-gradient(to bottom, #11cb2a6e, #2574fc6d);
}
.PersonalInformation.data-v-402ad917 {
margin-top: 200rpx;
.PKInformation.data-v-402ad917 {
margin-top: 48.5rpx;
}
.myPkRecord.data-v-402ad917 {
margin-top: 48.5rpx;
}
.title.data-v-402ad917 {
width: 682rpx;
height: 33.4rpx;
display: flex;
align-items: center;
width: 100%;
}
.header.data-v-402ad917 {
background: #ffffff;
margin-left: 50rpx;
width: 100rpx;
height: 100rpx;
border-radius: 50%;
.titleText.data-v-402ad917 {
font-size: 34.35rpx;
font-weight: bold;
color: #100e0f;
}
.headerIcon.data-v-402ad917 {
width: 100rpx;
height: 100rpx;
border-radius: 50%;
.titleLine.data-v-402ad917 {
width: 40.08rpx;
height: 14.31rpx;
margin-left: -40rpx;
margin-top: 25rpx;
border-radius: 7.16rpx 0rpx 7.16rpx 7.16rpx;
background-color: #91e3e48b;
}
.name.data-v-402ad917 {
.titleMore.data-v-402ad917 {
margin-left: 410rpx;
font-size: 28.63rpx;
color: #333333;
}
.myPkRecordMore.data-v-402ad917 {
margin-left: 340rpx;
font-size: 28.63rpx;
color: #333333;
}
.card.data-v-402ad917 {
width: 689.03rpx;
height: 208.02rpx;
background-color: #fff;
border-radius: 10rpx;
margin-top: 26.5rpx;
display: flex;
align-items: center;
}
.card .cardContent.data-v-402ad917:first-child {
margin-left: 30rpx;
}
.Settings.data-v-402ad917 {
margin-left: 370rpx;
width: 50rpx;
height: 50rpx;
.cardContent.data-v-402ad917 {
width: 100rpx;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-left: 83rpx;
}
.SettingsIcon.data-v-402ad917 {
width: 50rpx;
height: 50rpx;
}
.logout.data-v-402ad917{
margin-top: 20rpx;
width: 100vw;
.cardImg.data-v-402ad917 {
width: 80rpx;
height: 80rpx;
line-height: 80rpx;
color: #000000;
font-size: 36rpx;
background: #ffffff;
border-top: 1px solid #000000;
border-bottom: 1px solid #000000;
border-radius: 40rpx;
background-color: rgb(205, 205, 205);
}
.Time.data-v-402ad917 {
font-size: 18rpx;
text-align: center;
margin-top: 10rpx;
}
.gold.data-v-402ad917 {
font-size: 18rpx;
text-align: center;
margin-top: 10rpx;
}
.Failure.data-v-402ad917 {
width: 56.3rpx;
height: 29.58rpx;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAfCAYAAABZGLWTAAAAAXNSR0IArs4c6QAAAilJREFUWEftWTtPFFEU/r6ZJUuJiSQujwKRCfQkttJobJRY6Ax/ABNNKGiBAmwtTNZk9w+40BCtiDZYSmI/kxmFAmGNkIgdhFmPuUPW7C6vWVZ3ZhimnfP6zr3ncc8hQnz3PS/b5eOuAPcAGQV5EyLXSGZCsP9TEhHxQf6EyDrAz2Dlwy9df78yNHRwniKeRTC+sdHVeXA4TfApgOvnCYvw/65ACvvZjpdvBwb2TrPjVLCPbdfSyFcEuiME0ZRqAXYoMlUaMUonMR4De2d1NZPL9eYBTjalKVbEUiyXt55/HBvza82qA6uA3ujpX6LIo1jZfgFjhFz+vr35pBZwHVjLdgtgkk+00StSLA0bKt8E31+wKkZ18s0FnBhvFpGJagwHYI+yru8mKRmF9bBKWvvZjKGydADWdL7MEzIbVkDS6ETjwqJxa45Bw1DBt5jX0Vb9u7uno4+m4zwg9HetSos7v6DykKbt5Uk8i7uxrdongtcK7CcSt1sVFnt+wRpNx/txGbPwsYqrWknT8Q4JtP310u6bIIBPy/Gk3Yqj0peuk01XzKYkG0uQjVNVZ9PUQaWqNz569bgLBGeiKgn/W69AXiwOG7Ppe88qz1q2a+EyTio0baJkDAbTxvoZlOMWkj1VDDmDUmSpmi5WAedy/XlAEjw3ZrFc3jx7blx7CSz7qyX8nayNALFDalPVGG281Fe7nkaP1G/xMAoiui0exAfUFg/rAJra4v0Bqcv8upqc0XEAAAAASUVORK5CYII=");
background-position-x: center;
background-position-y: center;
background-repeat: no-repeat;
background-size: 100% 100%;
color: #ffffff;
font-size: 17.18rpx;
text-align: center;
line-height: 29.58rpx;
margin-top: -20rpx;
}
.Result.data-v-402ad917 {
width: 56.3rpx;
height: 29.58rpx;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAfCAYAAABZGLWTAAAAAXNSR0IArs4c6QAAAi1JREFUWEflWU1rE1EUPaeGFGEiCShIdVXQrZuCW1e6U3BT2j9gwSYTcZVi5WFlZlVMTIXkDyhuBJe66rKCm24rdCV+NIWUZEBb41yZ0ZYk9mMyETLPN9u5575z7nv3fdxLRPg+5PPjExdw3fd5Q8ApUiYB5gCkIsD/tUkHkKYINwl5L/Dffv3MN5eq1d2TBuJxBqKKWS8t90HMATh7krMR/t+GoGbtcZmqvHMUjyPFem5+RjBWAXBuhCIGHbpB+LZVqr44DPiXWFHXUl76ygqIO4OOlBh7Qd3aW5+nWu10c+oRK0qlvHTzJYjbiSEelwjxyvqem6ZSB4J7xLYcu0adZ7QvMCKon1moBPtN+B2I/ZOjz+MGMqk4wp/dz+FQbFMVs6lx2dBsM4oa30Znl5dzqrwTim27hUcAF6Oi9bOTpUzp6UMGF4bzE2MfE36ODhvf7S+f/ItsOfM3yVOvh/WWdLzIz1tsO4UVkHeTTnZofiLP2HLsNRJXh3aWcAcE3gUzuwVSpyth3LA22HbtHyN6vcQlHRfXCcRKXLRuONNmtrAFGJKzLddeI8zZjU06Zw26QRl1Nw5fPY69BOKBbkdJZL6Cx5mFyqJ579kgQv9vpYKzVqkcVht7alBtx65pXVXsX9eCeuawGlRgZ1R18bdgQ+rG3avAc4szAtGwI0B7P0f7V/XxvZ4nxaz3TaNez2ku816MXk93VLq7eCSnBJgEMMIuHpoENkUG6+L9AlWo7Kxo5cagAAAAAElFTkSuQmCC");
background-position-x: center;
background-position-y: center;
background-repeat: no-repeat;
background-size: 100% 100%;
color: #ffffff;
font-size: 17.18rpx;
text-align: center;
line-height: 29.58rpx;
margin-top: -20rpx;
}
.Session.data-v-402ad917 {
font-weight: bold;
font-size: 18rpx;
margin-top: 10rpx;
}
.service.data-v-402ad917 {
width: 200rpx;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.cardtext.data-v-402ad917 {
margin-top: 20rpx;
font-size: 28.63rpx;
color: #333333;
font-weight: 400;
}
.copyright.data-v-402ad917{
position: absolute;
bottom: 250rpx;
width: 100%;
font-size: 23rpx;
color: #929292;
text-align: center;
color: #ffffff;
font-size: 24rpx;
z-index: 999;
position: fixed;
bottom: 250rpx;
left: 0;
right: 0;
height: 50rpx;
}

View File

@@ -3,120 +3,131 @@ 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 Recompose = () => "./recompose/recompose2.js";
const _sfc_main = {
inject: ["$global"],
data() {
return {
pkList: [],
userinfo: {},
page: 0,
//页码
size: 10,
//每页条数
list: [],
// 列表数据
detailsdata: {}
//详情数据
createModule: null,
parentMessage: null
};
},
onLoad() {
common_vendor.index.getStorage({
key: "userinfo",
success: (res) => {
this.userinfo = res.data;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:107", this.userinfo);
this.getpkList();
}
});
},
mounted() {
this.pkList();
this.createModule = this.$refs.createModule;
},
methods: {
onRefresherRefresh() {
this.page = 0;
this.list = [];
this.pkList();
onBack() {
common_vendor.index.navigateBack(
{
delta: 1
}
);
},
async goDetail(item) {
common_vendor.index.showLoading({
title: "加载中...",
mask: true
formatDate: components_formatDate.formatDate,
getpkList() {
components_request.request({
url: "user/queryMyAllPkData",
method: "POST",
data: {
userId: this.userinfo.id,
page: this.page,
size: 10
},
userInfo: false
}).then((res) => {
if (res.code == 200) {
this.pkList = res.data;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:137", this.pkList);
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:139", res.msg);
}
});
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:83", "id", item.id);
const res = await components_request.request({
url: "pk/pkInfoDetail",
},
onRecompose(item) {
this.createModule.open();
this.parentMessage = item;
},
onExpurgate(item) {
components_request.request({
url: "pk/deletePkDataWithId",
method: "POST",
data: {
id: item.id
},
userInfo: true
});
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:92", "res", res);
this.detailsdata = res.data;
if (res.code === 200) {
if (res.data.length !== 0) {
common_vendor.index.hideLoading();
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:97", "res.data", res.data);
common_vendor.index.navigateTo({
url: "/pages/pkDetail/pkDetail",
success: (res2) => {
res2.eventChannel.emit("itemDetail", {
item: this.detailsdata
});
}
});
} else {
common_vendor.index.hideLoading();
this.openPopupQuantity();
}
} else {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "加载失败",
icon: "none",
duration: 2e3
});
}
},
formatDate: components_formatDate.formatDate,
async pkList() {
const res = await components_request.request({
url: "pk/pkList",
method: "POST",
data: {
status: 0,
page: this.page,
size: this.size
},
userInfo: false
}).then((res) => {
if (res.code == 200) {
common_vendor.index.showToast({
title: "删除成功",
icon: "none",
duration: 2e3
});
this.getpkList();
} else {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:164", res.msg);
}
});
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:131", res);
if (res.code === 200) {
this.list.push(...res.data);
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkInformation.vue:134", this.list);
}
},
onScrollToLower() {
this.page++;
this.pkList();
}
},
components: {
Recompose
}
};
if (!Array) {
const _component_uni_card = common_vendor.resolveComponent("uni-card");
_component_uni_card();
const _component_Recompose = common_vendor.resolveComponent("Recompose");
(_component_uni_card + _component_Recompose)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.f($data.list, (item, index, i0) => {
a: common_assets._imports_0$1,
b: common_assets._imports_1,
c: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args)),
d: common_vendor.f($data.pkList, (item, index, i0) => {
return common_vendor.e({
a: item.anchorIcon,
b: common_vendor.t(item.anchorId),
c: item.sex === "2"
a: common_vendor.t(item.anchorId),
b: item.sex === "2"
}, item.sex === "2" ? {
d: common_assets._imports_0$3
c: common_assets._imports_0$2
} : {
e: common_assets._imports_1$1
d: common_assets._imports_1$2
}, {
e: common_vendor.t(item.sex === "1" ? "男" : "女"),
f: item.sex === "1" ? 1 : "",
g: item.sex === "2" ? 1 : "",
h: common_vendor.t($options.formatDate(item.pkTime)),
i: common_vendor.t(item.coin + "K"),
j: common_vendor.o$1(($event) => $options.goDetail(item)),
k: "36b7ee78-0-" + i0
h: common_vendor.t(item.country),
i: common_vendor.t(item.coin),
j: common_vendor.t($options.formatDate(item.pkTime)),
k: item.status === 0
}, item.status === 0 ? {
l: common_assets._imports_5$1,
m: common_vendor.o$1(($event) => $options.onRecompose(item), index),
n: common_assets._imports_6,
o: common_vendor.o$1(($event) => $options.onExpurgate(item), index)
} : {}, {
p: index,
q: "36b7ee78-0-" + i0
});
}),
b: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
c: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args))
e: common_assets._imports_4$1,
f: common_vendor.o$1((...args) => _ctx.onRefresherRefresh && _ctx.onRefresherRefresh(...args)),
g: common_vendor.o$1((...args) => _ctx.onScrollToLower && _ctx.onScrollToLower(...args)),
h: common_vendor.sr("createModule", "36b7ee78-1"),
i: common_vendor.p({
message: $data.parentMessage
})
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-36b7ee78"]]);

View File

@@ -1,4 +1,6 @@
{
"navigationBarTitleText": "PK信息",
"usingComponents": {}
"usingComponents": {
"recompose": "./recompose/recompose"
}
}

View File

@@ -1 +1 @@
<view class="pkRecord data-v-36b7ee78"><view class="data-v-36b7ee78">返回</view><view class="data-v-36b7ee78">pk信息</view><view class="data-v-36b7ee78"></view></view><scroll-view scroll-y="true" class="scroll data-v-36b7ee78" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{b}}" lower-threshold="100" bindscrolltolower="{{c}}"><uni-card wx:for="{{a}}" wx:for-item="item" class="data-v-36b7ee78" u-s="{{['d']}}" u-i="{{item.k}}" bind:__l="__l"><view class="content-list data-v-36b7ee78" bindtap="{{item.j}}"><image class="headShot data-v-36b7ee78" src="{{item.a}}" mode="scaleToFill"/><view class="content-list-title data-v-36b7ee78"><view class="cardname data-v-36b7ee78">{{item.b}}</view><view class="content-list-info data-v-36b7ee78"><view class="{{['data-v-36b7ee78', item.f && 'Gendermale', item.g && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-36b7ee78" src="{{item.d}}" mode="scaleToFill"/><image wx:else class="Genderimg data-v-36b7ee78" src="{{item.e}}" mode="scaleToFill"/><view class="age data-v-36b7ee78">性别</view></view><view class="RoomID data-v-36b7ee78">PK时间: {{item.h}}</view><view class="data-v-36b7ee78">国家</view><view class="data-v-36b7ee78">性别</view><view class="Charm data-v-36b7ee78">金币:</view><view class="charmValue data-v-36b7ee78">{{item.i}}</view></view></view></view></uni-card></scroll-view>
<view class="pk-information data-v-36b7ee78"><view class="bg data-v-36b7ee78"><image class="bgImg data-v-36b7ee78" src="{{a}}" mode="scaleToFill"/></view><view class="Return data-v-36b7ee78" bindtap="{{c}}"><image class="ReturnImg data-v-36b7ee78" src="{{b}}" mode="scaleToFill"/></view><view class="content data-v-36b7ee78"><scroll-view scroll-y="true" class="scroll data-v-36b7ee78" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{f}}" lower-threshold="100" bindscrolltolower="{{g}}"><uni-card wx:for="{{d}}" wx:for-item="item" wx:key="p" u-s="{{['d']}}" class="card data-v-36b7ee78" u-i="{{item.q}}" bind:__l="__l"><view class="Profile data-v-36b7ee78"><image class="data-v-36b7ee78" style="width:89.12rpx;height:89.12rpx" src="{{''}}" mode="scaleToFill"/></view><view class="Individual data-v-36b7ee78"><view class="Name data-v-36b7ee78">{{item.a}}</view><view class="Label data-v-36b7ee78"><view class="data-v-36b7ee78"><view class="{{['data-v-36b7ee78', item.f && 'Gendermale', item.g && 'Genderfemale']}}"><image wx:if="{{item.b}}" class="Genderimg data-v-36b7ee78" src="{{item.c}}" mode="scaleToFill"/><image wx:else class="Genderimg data-v-36b7ee78" src="{{item.d}}" mode="scaleToFill"/><view class="age data-v-36b7ee78">{{item.e}}</view></view></view><view class="state data-v-36b7ee78">{{item.h}}</view><view class="species data-v-36b7ee78"><image class="data-v-36b7ee78" style="width:28.63rpx;height:28.63rpx" src="{{e}}" mode="scaleToFill"/><view class="species-text data-v-36b7ee78">金币:</view><view class="species-num data-v-36b7ee78">{{item.i}}K</view></view></view><view class="time data-v-36b7ee78">PK时间:{{item.j}}</view></view><view wx:if="{{item.k}}" class="handle data-v-36b7ee78"><view class="recompose data-v-36b7ee78" bindtap="{{item.m}}"><image class="data-v-36b7ee78" style="width:46rpx;height:46rpx" src="{{item.l}}" mode="scaleToFill"/></view><view class="expurgate data-v-36b7ee78" bindtap="{{item.o}}"><image class="data-v-36b7ee78" style="width:46rpx;height:46rpx" src="{{item.n}}" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view><recompose wx:if="{{i}}" u-r="createModule" class="createModule r data-v-36b7ee78" u-i="36b7ee78-1" bind:__l="__l" u-p="{{i}}"></recompose>

View File

@@ -1,60 +1,54 @@
.pkRecord.data-v-36b7ee78{
width: 100vw;
height: 200rpx;
display: flex;
justify-content: space-between;
align-items: center;
background-color: #ffffff;
padding-top: 40rpx;
border-bottom: 1px solid #000000;
.bg.data-v-36b7ee78 {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.bgImg.data-v-36b7ee78 {
width: 100%;
height: 100%;
}
.Return.data-v-36b7ee78 {
position: absolute;
top: 100rpx;
left: 35rpx;
width: 46rpx;
height: 46rpx;
}
.ReturnImg.data-v-36b7ee78 {
width: 100%;
height: 100%;
}
.scroll.data-v-36b7ee78 {
height: 90%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: absolute;
top: 200rpx;
left: 0;
right: 0;
height: 1300rpx;
width: 100%;
}
.content-list.data-v-36b7ee78 {
display: flex;
align-items: center;
width: 712rpx;
.card.data-v-36b7ee78 {
width: 695rpx;
height: 161rpx;
background: #ffffff;
border-radius: 15rpx;
margin-bottom: 12rpx;
margin-left: 20rpx;
}
.headShot.data-v-36b7ee78 {
width: 101rpx;
height: 101rpx;
border-radius: 50rpx;
margin-left: 30rpx;
margin-right: 33rpx;
background-color: aqua;
}
.content-list-info.data-v-36b7ee78 {
display: flex;
align-items: center;
margin-left: 30rpx;
margin-top: 11.5rpx;
}
.cardname.data-v-36b7ee78 {
font-size: 31rpx;
color: #161616;
line-height: 38rpx;
}
.Genderimg.data-v-36b7ee78 {
width: 15rpx;
height: 15rpx;
margin-left: 10rpx;
margin-right: 10rpx;
}
.age.data-v-36b7ee78 {
color: #ffffff;
font-size: 14rpx;
.Profile.data-v-36b7ee78 {
width: 89rpx;
height: 89rpx;
border-radius: 50rpx;
background-color: #cccccc;
margin-left: 27.5rpx;
}
.Gendermale.data-v-36b7ee78 {
background: url(../../static/maleimg.png) no-repeat center;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAfCAYAAABZGLWTAAAAAXNSR0IArs4c6QAAAilJREFUWEftWTtPFFEU/r6ZJUuJiSQujwKRCfQkttJobJRY6Ax/ABNNKGiBAmwtTNZk9w+40BCtiDZYSmI/kxmFAmGNkIgdhFmPuUPW7C6vWVZ3ZhimnfP6zr3ncc8hQnz3PS/b5eOuAPcAGQV5EyLXSGZCsP9TEhHxQf6EyDrAz2Dlwy9df78yNHRwniKeRTC+sdHVeXA4TfApgOvnCYvw/65ACvvZjpdvBwb2TrPjVLCPbdfSyFcEuiME0ZRqAXYoMlUaMUonMR4De2d1NZPL9eYBTjalKVbEUiyXt55/HBvza82qA6uA3ujpX6LIo1jZfgFjhFz+vr35pBZwHVjLdgtgkk+00StSLA0bKt8E31+wKkZ18s0FnBhvFpGJagwHYI+yru8mKRmF9bBKWvvZjKGydADWdL7MEzIbVkDS6ETjwqJxa45Bw1DBt5jX0Vb9u7uno4+m4zwg9HetSos7v6DykKbt5Uk8i7uxrdongtcK7CcSt1sVFnt+wRpNx/txGbPwsYqrWknT8Q4JtP310u6bIIBPy/Gk3Yqj0peuk01XzKYkG0uQjVNVZ9PUQaWqNz569bgLBGeiKgn/W69AXiwOG7Ppe88qz1q2a+EyTio0baJkDAbTxvoZlOMWkj1VDDmDUmSpmi5WAedy/XlAEjw3ZrFc3jx7blx7CSz7qyX8nayNALFDalPVGG281Fe7nkaP1G/xMAoiui0exAfUFg/rAJra4v0Bqcv8upqc0XEAAAAASUVORK5CYII=) no-repeat center;
width: 56.3rpx;
height: 29.58rpx;
background-size: 100% 100%;
@@ -63,7 +57,7 @@
margin-right: 10rpx;
}
.Genderfemale.data-v-36b7ee78 {
background: url(../../static/femaleimg.png) no-repeat center;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAfCAYAAABZGLWTAAAAAXNSR0IArs4c6QAAAi1JREFUWEflWU1rE1EUPaeGFGEiCShIdVXQrZuCW1e6U3BT2j9gwSYTcZVi5WFlZlVMTIXkDyhuBJe66rKCm24rdCV+NIWUZEBb41yZ0ZYk9mMyETLPN9u5575z7nv3fdxLRPg+5PPjExdw3fd5Q8ApUiYB5gCkIsD/tUkHkKYINwl5L/Dffv3MN5eq1d2TBuJxBqKKWS8t90HMATh7krMR/t+GoGbtcZmqvHMUjyPFem5+RjBWAXBuhCIGHbpB+LZVqr44DPiXWFHXUl76ygqIO4OOlBh7Qd3aW5+nWu10c+oRK0qlvHTzJYjbiSEelwjxyvqem6ZSB4J7xLYcu0adZ7QvMCKon1moBPtN+B2I/ZOjz+MGMqk4wp/dz+FQbFMVs6lx2dBsM4oa30Znl5dzqrwTim27hUcAF6Oi9bOTpUzp6UMGF4bzE2MfE36ODhvf7S+f/ItsOfM3yVOvh/WWdLzIz1tsO4UVkHeTTnZofiLP2HLsNRJXh3aWcAcE3gUzuwVSpyth3LA22HbtHyN6vcQlHRfXCcRKXLRuONNmtrAFGJKzLddeI8zZjU06Zw26QRl1Nw5fPY69BOKBbkdJZL6Cx5mFyqJ579kgQv9vpYKzVqkcVht7alBtx65pXVXsX9eCeuawGlRgZ1R18bdgQ+rG3avAc4szAtGwI0B7P0f7V/XxvZ4nxaz3TaNez2ku816MXk93VLq7eCSnBJgEMMIuHpoENkUG6+L9AlWo7Kxo5cagAAAAAElFTkSuQmCC) no-repeat center;
width: 56.3rpx;
height: 29.58rpx;
background-size: 100% 100%;
@@ -71,21 +65,75 @@
align-items: center;
margin-right: 10rpx;
}
.RoomID.data-v-36b7ee78 {
.Individual.data-v-36b7ee78 {
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 37rpx;
}
.Name.data-v-36b7ee78 {
font-size: 30.53rpx;
color: #161616;
font-weight: 500;
}
.time.data-v-36b7ee78 {
margin-top: 13rpx;
font-size: 23rpx;
color: #a3a3a3;
line-height: 38rpx;
}
.Charm.data-v-36b7ee78 {
.state.data-v-36b7ee78 {
height: 30rpx;
background: #f6f6f6;
border-radius: 14rpx;
line-height: 30rpx;
font-size: 17rpx;
color: #666666;
padding: 0 15rpx;
}
.Label.data-v-36b7ee78 {
margin-top: 15rpx;
display: flex;
}
.age.data-v-36b7ee78 {
font-size: 17rpx;
color: #ffffff;
margin-left: 10rpx;
}
.Genderimg.data-v-36b7ee78 {
width: 14.22rpx;
height: 14.22rpx;
margin-left: 10rpx;
}
.species.data-v-36b7ee78 {
display: flex;
margin-left: 10rpx;
}
.species-text.data-v-36b7ee78 {
font-size: 23rpx;
color: #a3a3a3;
line-height: 38rpx;
margin-right: 12rpx;
margin-left: 20rpx;
}
.charmValue.data-v-36b7ee78 {
.species-num.data-v-36b7ee78 {
font-size: 23rpx;
color: #161616;
line-height: 38rpx;
font-weight: 600;
font-weight: bold;
}
.handle.data-v-36b7ee78 {
display: flex;
}
.recompose.data-v-36b7ee78 {
width: 46rpx;
height: 46rpx;
margin-left: 90rpx;
}
.expurgate.data-v-36b7ee78 {
width: 46rpx;
height: 46rpx;
margin-left: 40rpx;
}
.createModule.data-v-36b7ee78{
position: fixed;
bottom: 0;
right: 0;
z-index: 998;
width: 100vw;
}

View File

@@ -0,0 +1,4 @@
"use strict";
const recompose = require("../../../../recompose.js");
wx.createPage(recompose.MiniProgramPage);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/recompose/recompose.js.map

View File

@@ -0,0 +1,9 @@
{
"navigationBarTitleText": "修改pk信息",
"usingComponents": {
"wht-select": "../../../../uni_modules/wht-select/components/wht-select/wht-select",
"uni-number-box": "../../../../uni_modules/uni-number-box/components/uni-number-box/uni-number-box",
"uni-datetime-picker": "../../../../uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker",
"uni-easyinput": "../../../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput"
}
}

View File

@@ -0,0 +1 @@
<view wx:if="{{a}}" class="{{['data-v-4e606fe0', F, 'Mask']}}" bindtap="{{G}}"><view catchtap="{{E}}" class="containers data-v-4e606fe0"><view class="container data-v-4e606fe0"><image class="Fork data-v-4e606fe0" bindtap="{{b}}" src="{{c}}" mode="scaleToFill"/><view class="Titlecss data-v-4e606fe0"><view class="Star data-v-4e606fe0"></view><view class="Title data-v-4e606fe0"></view><view class="Star data-v-4e606fe0"></view></view><view class="NameAnchor data-v-4e606fe0"><input class="NameAnchorcss data-v-4e606fe0" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{d}}" placeholder="主播名称"/><view wx:if="{{e}}" class="Hint data-v-4e606fe0">请填写主播名称</view></view><view class="Accountnumber data-v-4e606fe0"><view class="Coins country data-v-4e606fe0"><wht-select wx:if="{{g}}" class="data-v-4e606fe0" style="width:350rpx" bindchange="{{f}}" u-i="4e606fe0-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-4e606fe0">请选择国家</view></view><view class="Gender data-v-4e606fe0"><view class="Gendercs data-v-4e606fe0"><view class="Gendercss data-v-4e606fe0"><wht-select wx:if="{{j}}" class="data-v-4e606fe0" style="width:300rpx" bindchange="{{i}}" u-i="4e606fe0-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-4e606fe0"><image wx:if="{{k}}" class="Gendericon data-v-4e606fe0" src="{{l}}" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-4e606fe0" src="{{n}}" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-4e606fe0" src="{{p}}" mode="scaleToFill"/></view></view><view wx:if="{{q}}" class="Hintcss data-v-4e606fe0">请选择性别</view></view></view><view class="goldCoin data-v-4e606fe0"><view class="number-box data-v-4e606fe0"><view class="number-box-title data-v-4e606fe0">金币数量:</view><uni-number-box wx:if="{{s}}" class="data-v-4e606fe0" u-i="4e606fe0-2" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"></uni-number-box><view class="number-box-title data-v-4e606fe0">单位:</view><view class="number-box-unit data-v-4e606fe0">K</view></view><view wx:if="{{t}}" class="Hint data-v-4e606fe0">请填写金币数量</view></view><view class="time data-v-4e606fe0"><uni-datetime-picker wx:if="{{w}}" class="data-v-4e606fe0" u-i="4e606fe0-3" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"/><view wx:if="{{x}}" class="Hint data-v-4e606fe0">请选择日期</view></view><view class="goldCoin data-v-4e606fe0"><view class="number-box data-v-4e606fe0"><view class="number-box-title data-v-4e606fe0">选择场数:</view><uni-number-box wx:if="{{z}}" class="data-v-4e606fe0" u-i="4e606fe0-4" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-number-box><view class="number-box-title data-v-4e606fe0">次</view></view><view wx:if="{{A}}" class="Hint data-v-4e606fe0">请填写场数</view></view><view class="Remarkscss data-v-4e606fe0"><uni-easyinput wx:if="{{C}}" class="data-v-4e606fe0" u-i="4e606fe0-5" bind:__l="__l" bindupdateModelValue="{{B}}" u-p="{{C}}"></uni-easyinput></view><view class="Publish data-v-4e606fe0"><button bindtap="{{D}}" class="Publishcss data-v-4e606fe0">发布</button></view></view></view></view>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,4 @@
"use strict";
const recompose = require("../../../../recompose.js");
wx.createPage(recompose.MiniProgramPage);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/recompose/recompose2.js.map

View File

@@ -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="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>
<view wx:if="{{a}}" class="{{['data-v-96d38e2b', F, 'Mask']}}" bindtap="{{G}}"><view catchtap="{{E}}" 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="{{w}}" class="data-v-96d38e2b" u-i="96d38e2b-3" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"/><view wx:if="{{x}}" 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="{{z}}" class="data-v-96d38e2b" u-i="96d38e2b-4" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-number-box><view class="number-box-title data-v-96d38e2b">次</view></view><view wx:if="{{A}}" class="Hint data-v-96d38e2b">请填写场数</view></view><view class="Remarkscss data-v-96d38e2b"><uni-easyinput wx:if="{{C}}" class="data-v-96d38e2b" u-i="96d38e2b-5" bind:__l="__l" bindupdateModelValue="{{B}}" u-p="{{C}}"></uni-easyinput></view><view class="Publish data-v-96d38e2b"><button bindtap="{{D}}" class="Publishcss data-v-96d38e2b">发布</button></view></view></view></view>

View File

@@ -107,7 +107,6 @@ to { transform: translateY(-100%); opacity: 0;
border: 1rpx solid #BFBFBF;
border-radius: 10rpx;
text-align: center;
color:#ffffff;
}
.Gender.data-v-96d38e2b {
width: 310rpx;

View File

@@ -99,29 +99,29 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
e: common_vendor.t($data.SenderData.anchorId),
f: $data.SenderData.sex === "1"
}, $data.SenderData.sex === "1" ? {
g: common_assets._imports_1$1
g: common_assets._imports_1$2
} : {
h: common_assets._imports_0$3
h: common_assets._imports_0$2
}, {
i: common_vendor.t($data.SenderData.country),
j: common_vendor.t($options.formatDate($data.SenderData.pkTime)),
k: common_assets._imports_4,
k: common_assets._imports_4$2,
l: common_vendor.t($data.SenderData.coin),
m: common_assets._imports_5,
m: common_assets._imports_5$2,
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
r: common_assets._imports_1$2
} : {
s: common_assets._imports_0$3
s: common_assets._imports_0$2
}, {
t: common_vendor.t($data.ReceiverData.country),
v: common_vendor.t($options.formatDate($data.ReceiverData.pkTime)),
w: common_assets._imports_4,
w: common_assets._imports_4$2,
x: common_vendor.t($data.ReceiverData.coin),
y: common_assets._imports_5,
y: common_assets._imports_5$2,
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))

View File

@@ -134,15 +134,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
e: common_vendor.t($data.item.anchorId),
f: $data.item.sex === "1"
}, $data.item.sex === "1" ? {
g: common_assets._imports_1$1
g: common_assets._imports_1$2
} : {
h: common_assets._imports_0$3
h: common_assets._imports_0$2
}, {
i: common_vendor.t($data.item.country),
j: common_vendor.t($options.formatDate($data.item.pkTime)),
k: common_assets._imports_4,
k: common_assets._imports_4$2,
l: common_vendor.t($data.item.coin),
m: common_assets._imports_5,
m: common_assets._imports_5$2,
n: common_vendor.t($data.item.pkNumber),
o: common_vendor.o$1(($event) => $options.openChat()),
p: common_vendor.o$1(($event) => $options.open()),

View File

@@ -0,0 +1,249 @@
"use strict";
const common_vendor = require("./common/vendor.js");
const components_NationalDictionary = require("./components/NationalDictionary.js");
const components_request = require("./components/request.js");
const common_assets = require("./common/assets.js");
const _sfc_main = {
data() {
return {
genders: 0,
//性别
Gender: [
{ label: "男", value: 1 },
{ label: "女", value: 2 }
],
Country: components_NationalDictionary.optionsArray,
countrys: "",
//国家
nameAnchor: "",
//主播名称
numberCoins: "",
//金币数量
session: "",
//场数
remarks: "",
//备注
Display: false,
Hint: false,
datetimesingle: "",
//日期
id: null,
//用户id
sendingTime: "",
//发送时间
filterable: true
//是否可搜索
};
},
props: {
message: {
type: Object,
required: true
}
},
mounted() {
common_vendor.index.getStorage({
key: "userinfo",
success: (res) => {
this.id = res.data.id;
}
});
},
methods: {
gender(item) {
this.genders = item.value;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:181", item);
},
country(item) {
this.countrys = item.value;
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:186", item);
},
handleOverlayClick(event) {
if (event.target === this.$el) {
this.Display = false;
this.Hint = false;
}
},
open() {
if (this.Display) {
this.Display = false;
this.Hint = false;
this.nameAnchor = "";
this.genders = "";
this.numberCoins = "";
this.remarks = "";
this.datetimesingle = "";
this.countrys = "";
this.session = "";
} else {
this.Display = true;
}
},
//获取主播名称
NameAnchor: function(event) {
this.nameAnchor = event.target.value;
},
async Publish() {
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/recompose/recompose.vue:216", "````````````````````````````````````````````", message);
if (this.nameAnchor === "" || this.genders === "" || this.numberCoins === "" || this.countrys === "" || this.datetimesingle === "" || this.session === "") {
this.Hint = true;
return;
}
const isoString = this.datetimesingle.replace(" ", "T");
const timestamp = Date.parse(isoString);
if (isNaN(timestamp)) {
throw new Error(`Invalid date format: ${this.datetimesingle}`);
}
this.sendingTime = Math.floor(timestamp / 1e3);
const secondsTimestamp = Math.floor(Date.now() / 1e3);
if (this.sendingTime < secondsTimestamp) {
common_vendor.index.showToast({
title: "日期不能早于当前时间",
icon: "none",
duration: 2e3
});
return;
}
common_vendor.index.showLoading({
title: "发布中...",
mask: true
});
const res = await components_request.request({
url: "pk/addPkData",
method: "POST",
data: {
anchorId: this.nameAnchor,
pkTime: this.sendingTime,
sex: this.genders,
country: this.countrys,
coin: this.numberCoins,
remark: this.remarks,
status: 0,
senderId: this.id,
anchorIcon: "",
pkNumber: this.session
},
userInfo: true
});
if (res.code === 200) {
this.Display = false;
this.Hint = false;
this.nameAnchor = "";
this.genders = 0;
this.numberCoins = "";
this.remarks = "";
this.datetimesingle = "";
this.session = "";
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "发布成功",
icon: "success",
duration: 2e3
});
} else {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "发布失败",
icon: "none",
duration: 2e3
});
}
}
}
};
if (!Array) {
const _easycom_wht_select2 = common_vendor.resolveComponent("wht-select");
const _easycom_uni_number_box2 = common_vendor.resolveComponent("uni-number-box");
const _easycom_uni_datetime_picker2 = common_vendor.resolveComponent("uni-datetime-picker");
const _easycom_uni_easyinput2 = common_vendor.resolveComponent("uni-easyinput");
(_easycom_wht_select2 + _easycom_uni_number_box2 + _easycom_uni_datetime_picker2 + _easycom_uni_easyinput2)();
}
const _easycom_wht_select = () => "./uni_modules/wht-select/components/wht-select/wht-select.js";
const _easycom_uni_number_box = () => "./uni_modules/uni-number-box/components/uni-number-box/uni-number-box.js";
const _easycom_uni_datetime_picker = () => "./uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.js";
const _easycom_uni_easyinput = () => "./uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js";
if (!Math) {
(_easycom_wht_select + _easycom_uni_number_box + _easycom_uni_datetime_picker + _easycom_uni_easyinput)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: $data.Display
}, $data.Display ? common_vendor.e({
b: common_vendor.o$1(($event) => $options.open()),
c: common_assets._imports_0$4,
d: common_vendor.o$1((...args) => $options.NameAnchor && $options.NameAnchor(...args)),
e: $data.nameAnchor === "" && $data.Hint === true
}, $data.nameAnchor === "" && $data.Hint === true ? {} : {}, {
f: common_vendor.o$1($options.country),
g: common_vendor.p({
backgroundColor: "#ffffff",
placeholderColor: "#666666",
textColor: "#666666",
borderColor: "#ffffff",
options: $data.Country,
filterable: $data.filterable,
placeholder: "请选择国家"
}),
h: $data.countrys === "" && $data.Hint === true
}, $data.countrys === "" && $data.Hint === true ? {} : {}, {
i: common_vendor.o$1($options.gender),
j: common_vendor.p({
backgroundColor: "#ffffff",
placeholderColor: "#666666",
textColor: "#666666",
borderColor: "#ffffff",
options: $data.Gender,
placeholder: "性别"
}),
k: $data.genders === 0
}, $data.genders === 0 ? {
l: common_assets._imports_1$3
} : {}, {
m: $data.genders === 1
}, $data.genders === 1 ? {
n: common_assets._imports_2$1
} : {}, {
o: $data.genders === 2
}, $data.genders === 2 ? {
p: common_assets._imports_3$1
} : {}, {
q: $data.genders === 0 && $data.Hint === true
}, $data.genders === 0 && $data.Hint === true ? {} : {}, {
r: common_vendor.o$1(($event) => $data.numberCoins = $event),
s: common_vendor.p({
background: "#03ABA8",
modelValue: $data.numberCoins
}),
t: $data.numberCoins === "" && $data.Hint === true
}, $data.numberCoins === "" && $data.Hint === true ? {} : {}, {
v: common_vendor.o$1(($event) => $data.datetimesingle = $event),
w: common_vendor.p({
type: "datetime",
["hide-second"]: "true",
modelValue: $data.datetimesingle
}),
x: $data.datetimesingle === "" && $data.Hint === true
}, $data.datetimesingle === "" && $data.Hint === true ? {} : {}, {
y: common_vendor.o$1(($event) => $data.session = $event),
z: common_vendor.p({
background: "#03ABA8",
modelValue: $data.session
}),
A: $data.session === "" && $data.Hint === true
}, $data.session === "" && $data.Hint === true ? {} : {}, {
B: common_vendor.o$1(($event) => $data.remarks = $event),
C: common_vendor.p({
type: "textarea",
placeholder: "备注",
modelValue: $data.remarks
}),
D: common_vendor.o$1(($event) => $options.Publish()),
E: common_vendor.o$1(() => {
}),
F: common_vendor.n($data.Display ? "create-module" : "close-animation "),
G: common_vendor.o$1(($event) => $options.open())
}) : {});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4e606fe0"]]);
exports.MiniProgramPage = MiniProgramPage;
//# sourceMappingURL=../.sourcemap/mp-weixin/recompose.js.map

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB