优化页面
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view style="display: none;" />
|
||||
<view style="display: flex;" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<template>
|
||||
<div class="Navigation">
|
||||
<!-- <div class="Navigation">
|
||||
<div class="Navigation-name">
|
||||
{{currentConversationID}}
|
||||
</div>
|
||||
<image
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Navigationimg.png"
|
||||
mode="scaleToFill"
|
||||
@@ -11,8 +14,10 @@
|
||||
mode="scaleToFill"
|
||||
class="Return"
|
||||
/>
|
||||
</div> -->
|
||||
<div class="dingweizhibox">
|
||||
|
||||
</div>
|
||||
<div class="dingweizhibox"></div>
|
||||
<div class="chat">
|
||||
<div :class="['tui-chat', !isPC && 'tui-chat-h5']">
|
||||
<div
|
||||
@@ -446,10 +451,22 @@ function onCurrentConversationUpdate(conversation: IConversationModel) {
|
||||
</script>
|
||||
<style scoped lang="scss" src="./style/index.scss"></style>
|
||||
<style>
|
||||
.dingweizhibox {
|
||||
.dingweizhibox{
|
||||
width: 100%;
|
||||
height: 15%;
|
||||
}
|
||||
.tui-chat{
|
||||
width: 100%;
|
||||
height: 15%;
|
||||
}
|
||||
.tui-chat-h5 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.tui-chat-uniapp-header{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.Navigation {
|
||||
width: 100%;
|
||||
height: 10%;
|
||||
@@ -485,4 +502,12 @@ function onCurrentConversationUpdate(conversation: IConversationModel) {
|
||||
left: 40rpx;
|
||||
z-index: 999;
|
||||
}
|
||||
.Navigation-name{
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
position: absolute;
|
||||
top: 100rpx;
|
||||
left: 300rpx;
|
||||
z-index: 999;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<tabBar></tabBar>
|
||||
<tabBar :tabIndex="3"></tabBar>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
import addPrefixToHeaderIcon from './addPrefixToHeaderIcon.js'
|
||||
export default function request(urldata) {
|
||||
const { url, data, method, header, userInfo } = urldata;
|
||||
const baseUrl = "https://api.yolojt.com/"+ url;
|
||||
// const baseUrl = "http://49.235.115.212:8086/"+ url;
|
||||
// const baseUrl = "https://pk.zhukeping.com/"+ url;
|
||||
const baseUrl = "http://120.26.251.180:8086/"+ url;
|
||||
// const baseUrl = "http://192.168.0.218:8086/"+ url;
|
||||
if (userInfo) {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
@@ -40,7 +40,7 @@ const props = defineProps({
|
||||
let tabList = reactive([
|
||||
{
|
||||
iconPath: "https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Pk.png",
|
||||
selectedIconPath: "https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/PkClick.png",
|
||||
selectedIconPath: "https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/PKClick.png",
|
||||
text: "PK",
|
||||
pagePath: "/pages/Home/Home",
|
||||
middleClass: "",
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
</view>
|
||||
<view class="tabBar">
|
||||
<tabBar></tabBar>
|
||||
<tabBar :tabIndex="1"></tabBar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
@scrolltolower="onScrollToLower"
|
||||
:refresher-triggered="triggered"
|
||||
>
|
||||
<uni-card v-if="list.length !== 0" v-for="(item, index) in list">
|
||||
<uni-card v-if="list.length !== 0" v-for="(item, index) in list" :key="index">
|
||||
<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="cardname">{{ item.disPlayId }}</view>
|
||||
<view class="content-list-info">
|
||||
<view
|
||||
:class="{ Gendermale: item.sex === '1', Genderfemale: item.sex === '2' }"
|
||||
@@ -59,7 +59,7 @@
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="tabBar">
|
||||
<tabBar></tabBar>
|
||||
<tabBar :tabIndex="0"></tabBar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -108,6 +108,7 @@ export default {
|
||||
key: "chatInfo",
|
||||
success: (res) => {
|
||||
this.chatInfo = res.data;
|
||||
console.log("chatInfo", this.chatInfo);
|
||||
TUIlogin(this.chatInfo.appId, this.info.id, this.myuserSig.userSig);
|
||||
},
|
||||
});
|
||||
@@ -148,12 +149,14 @@ export default {
|
||||
title: "加载中...",
|
||||
mask: true,
|
||||
});
|
||||
console.log("id", item.id);
|
||||
console.log("id", item.id,this.info.id);
|
||||
//获取详情
|
||||
const res = await request({
|
||||
url: "pk/pkInfoDetail",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: item.id,
|
||||
userId: this.info.id,
|
||||
},
|
||||
userInfo: true,
|
||||
});
|
||||
@@ -187,6 +190,7 @@ export default {
|
||||
formatDate: formatDate,
|
||||
|
||||
async pkList(condition) {
|
||||
//获取list
|
||||
const res = await request({
|
||||
url: "pk/pkList",
|
||||
method: "POST",
|
||||
@@ -195,6 +199,7 @@ export default {
|
||||
page: this.page,
|
||||
size: this.size,
|
||||
condition: condition,
|
||||
userId: this.info.id,
|
||||
},
|
||||
userInfo: false,
|
||||
});
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
<view class="copyright">版权所有 © 2025 ...................</view>
|
||||
|
||||
<view class="tabBar">
|
||||
<tabBar></tabBar>
|
||||
<tabBar :tabIndex="4"></tabBar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -261,16 +261,20 @@ export default {
|
||||
.Settings {
|
||||
width: 46rpx;
|
||||
height: 46rpx;
|
||||
margin-left: 360rpx;
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
.SettingsIcon {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.name {
|
||||
width: 400rpx;
|
||||
font-size: 36.26rpx;
|
||||
font-weight: 500;
|
||||
color: #161616;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
}
|
||||
.content {
|
||||
position: absolute;
|
||||
|
||||
@@ -127,12 +127,6 @@ export default {
|
||||
this.page++;
|
||||
this.getpkList();
|
||||
},
|
||||
onRefresherRefres() {
|
||||
this.page = 0;
|
||||
this.pkList = [];
|
||||
this.getpkList();
|
||||
this.triggered = true;
|
||||
},
|
||||
onBack() {
|
||||
uni.navigateBack({
|
||||
delta: 1,
|
||||
@@ -173,12 +167,12 @@ export default {
|
||||
userInfo: true,
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.onRefresherRefresh();
|
||||
uni.showToast({
|
||||
title: "删除成功",
|
||||
icon: "none",
|
||||
duration: 2000,
|
||||
});
|
||||
this.getpkList();
|
||||
} else {
|
||||
console.log(res.msg);
|
||||
}
|
||||
@@ -273,9 +267,13 @@ export default {
|
||||
margin-left: 37rpx;
|
||||
}
|
||||
.Name {
|
||||
width: 288.17rpx;
|
||||
font-size: 30.53rpx;
|
||||
color: #161616;
|
||||
font-weight: 500;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
}
|
||||
.time {
|
||||
margin-top: 13rpx;
|
||||
@@ -283,6 +281,7 @@ export default {
|
||||
color: #a3a3a3;
|
||||
}
|
||||
.state {
|
||||
width: 56.3rpx;
|
||||
height: 30rpx;
|
||||
background: #f6f6f6;
|
||||
border-radius: 14rpx;
|
||||
@@ -290,6 +289,10 @@ export default {
|
||||
font-size: 17rpx;
|
||||
color: #666666;
|
||||
padding: 0 15rpx;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
text-align: center;
|
||||
}
|
||||
.Label {
|
||||
margin-top: 15rpx;
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
<view class="AnchorAname"> {{ item.anchorIdA }} </view>
|
||||
<view class="AnchorATime">{{ formatDate(item.pkTime) }}</view>
|
||||
<view class="AnchorAICon">
|
||||
<view class="AnchorAIContext">实际打金币:</view>
|
||||
<view class="AnchorAIContext">实际金币:</view>
|
||||
<view class="AnchorAIConNum">{{ item.userAcoin }}K</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -324,9 +324,13 @@ export default {
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.AnchorAname {
|
||||
width: 161.26rpx;
|
||||
font-weight: 500;
|
||||
font-size: 31rpx;
|
||||
color: #161616;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
}
|
||||
.AnchorATime {
|
||||
font-weight: 400;
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<template><view v-if="Display" :class="[Display ? 'create-module' : 'close-animation ', 'Mask']" @click="open()">
|
||||
|
||||
<template>
|
||||
<view
|
||||
v-if="Display"
|
||||
:class="[Display ? 'create-module' : 'close-animation ', 'Mask']"
|
||||
@click="open()"
|
||||
>
|
||||
<view @click.stop class="containers">
|
||||
<view class="container">
|
||||
<image
|
||||
@@ -9,11 +13,11 @@
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
<view class="Titlecss">
|
||||
<view class="Star"></view>
|
||||
<view class="Star"></view>
|
||||
<view class="Title"></view>
|
||||
<view class="Star"></view>
|
||||
</view>
|
||||
|
||||
|
||||
<!-- <view class="Individual"> -->
|
||||
<view class="NameAnchor">
|
||||
<input
|
||||
@@ -24,105 +28,121 @@
|
||||
placeholder="主播名称"
|
||||
:value="nameAnchor"
|
||||
/>
|
||||
<view v-if="nameAnchor === ''|| nameAnchor === null && Hint === true" class="Hint"
|
||||
<view
|
||||
v-if="nameAnchor === '' || (nameAnchor === null && Hint === true)"
|
||||
class="Hint"
|
||||
>请填写主播名称</view
|
||||
>
|
||||
</view>
|
||||
|
||||
|
||||
<!-- </view> -->
|
||||
|
||||
<view class="Accountnumber">
|
||||
<view class="Coins country">
|
||||
<wht-select
|
||||
style="width: 350rpx"
|
||||
style="width: 350rpx"
|
||||
backgroundColor="#ffffff"
|
||||
placeholderColor="#666666"
|
||||
textColor="#666666"
|
||||
borderColor="#ffffff"
|
||||
@change="country"
|
||||
:options="Country"
|
||||
:filterable = "filterable"
|
||||
:filterable="filterable"
|
||||
placeholder="请选择国家"
|
||||
:value="countrys"
|
||||
/>
|
||||
<view v-if="countrys === ''|| countrys===null && 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="性别"
|
||||
:value="message.sex === '1'?1:2"
|
||||
/>
|
||||
</view>
|
||||
<view class="Gendericoncss">
|
||||
<image
|
||||
v-if="genders === 0 || message.sex === '0'"
|
||||
class="Gendericon"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
<image
|
||||
v-if="genders === 1||message.sex === '1'"
|
||||
class="Gendericon"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
<image
|
||||
v-if="genders === 2||message.sex === '2'"
|
||||
class="Gendericon"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="genders === 0 || genders===null && Hint === true" class="Hintcss">请选择性别</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<view class="goldCoin">
|
||||
<view class="number-box">
|
||||
<view class="number-box-title">金币数量:</view>
|
||||
<uni-number-box :max="9999999999" 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 === ''|| numberCoins === null && Hint === true" class="Hint"
|
||||
>请填写金币数量</view
|
||||
<view
|
||||
v-if="countrys === '' || (countrys === null && 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="性别"
|
||||
:value="message.sex === '1' ? 1 : 2"
|
||||
/>
|
||||
</view>
|
||||
<view class="Gendericoncss">
|
||||
<image
|
||||
v-if="genders === 0 || message.sex === '0'"
|
||||
class="Gendericon"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
<image
|
||||
v-if="genders === 1 || message.sex === '1'"
|
||||
class="Gendericon"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
<image
|
||||
v-if="genders === 2 || message.sex === '2'"
|
||||
class="Gendericon"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view
|
||||
v-if="genders === 0 || (genders === null && Hint === true)"
|
||||
class="Hintcss"
|
||||
>请选择性别</view
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="goldCoin">
|
||||
<view class="number-box">
|
||||
<view class="number-box-title">金币数量:</view>
|
||||
<uni-number-box
|
||||
:max="9999999999"
|
||||
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 === '' || (numberCoins === null && Hint === true)"
|
||||
class="Hint"
|
||||
>请填写金币数量</view
|
||||
>
|
||||
</view>
|
||||
|
||||
<view class="time">
|
||||
<uni-datetime-picker
|
||||
type="datetime"
|
||||
hide-second="true"
|
||||
v-model="datetimesingle"
|
||||
/>
|
||||
<view v-if="datetimesingle === ''|| datetimesingle === null && Hint === true" class="Hint"
|
||||
<view
|
||||
v-if="datetimesingle === '' || (datetimesingle === null && 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 === ''|| session === null && Hint === true" class="Hint"
|
||||
>请填写场数</view
|
||||
>
|
||||
<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 === '' || (session === null && Hint === true)" class="Hint"
|
||||
>请填写场数</view
|
||||
>
|
||||
</view>
|
||||
<!-- ··························································································· -->
|
||||
<view class="Remarkscss">
|
||||
<uni-easyinput
|
||||
type="textarea"
|
||||
@@ -139,12 +159,10 @@
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
|
||||
import optionsArray from "../../../../components/NationalDictionary.js";
|
||||
import request from "../../../../components/request.js";
|
||||
import formatDate from "../../../../components/formatDate.js";
|
||||
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -157,20 +175,20 @@ export default {
|
||||
countrys: "", //国家
|
||||
nameAnchor: "", //主播名称
|
||||
numberCoins: "", //金币数量
|
||||
session: '', //场数
|
||||
remarks: '', //备注
|
||||
session: "", //场数
|
||||
remarks: "", //备注
|
||||
Display: false,
|
||||
Hint: false,
|
||||
datetimesingle: '', //日期
|
||||
datetimesingle: "", //日期
|
||||
id: "", //用户id
|
||||
sendingTime: "", //发送时间
|
||||
filterable: true, //是否可搜索
|
||||
};
|
||||
},
|
||||
props: {
|
||||
message:{
|
||||
message: {
|
||||
type: Object,
|
||||
}
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
message(newQuestion, oldQuestion) {
|
||||
@@ -182,7 +200,7 @@ export default {
|
||||
this.nameAnchor = newQuestion.anchorId;
|
||||
this.countrys = newQuestion.country;
|
||||
this.genders = newQuestion.sex === "1" ? 1 : 2;
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
uni.getStorage({
|
||||
@@ -233,17 +251,26 @@ export default {
|
||||
async Publish() {
|
||||
//判断是否为空
|
||||
if (
|
||||
this.nameAnchor == "" && this.nameAnchor == null ||
|
||||
this.genders == 0 && this.genders == null ||
|
||||
this.numberCoins =="" && this.numberCoins == null ||
|
||||
this.datetimesingle == "" && this.datetimesingle == null ||
|
||||
this.countrys == "" && his.countrys == null ||
|
||||
this.datetimesingle == "" && this.datetimesingle == null ||
|
||||
this.session == "" && this.session == null
|
||||
(this.nameAnchor == "" && this.nameAnchor == null) ||
|
||||
(this.genders == 0 && this.genders == null) ||
|
||||
(this.numberCoins == "" && this.numberCoins == null) ||
|
||||
(this.datetimesingle == "" && this.datetimesingle == null) ||
|
||||
(this.countrys == "" && his.countrys == null) ||
|
||||
(this.datetimesingle == "" && this.datetimesingle == null) ||
|
||||
(this.session == "" && this.session == null)
|
||||
) {
|
||||
this.Hint = true;
|
||||
return;
|
||||
}
|
||||
//判断备注中是否有特殊字符
|
||||
if (this.remarks.includes(this.nameAnchor)) {
|
||||
uni.showToast({
|
||||
title: "备注中不能包含主播昵称",
|
||||
icon: "none",
|
||||
duration: 2000,
|
||||
});
|
||||
return;
|
||||
}
|
||||
//格式化日期
|
||||
const isoString = this.datetimesingle.replace(" ", "T");
|
||||
const timestamp = Date.parse(isoString);
|
||||
@@ -315,14 +342,26 @@ export default {
|
||||
/* 定义动画 */
|
||||
/* 原始进入动画 */
|
||||
@keyframes slide-in {
|
||||
from { transform: translateY(100%); opacity: 0; }
|
||||
to { transform: translateY(0); opacity: 1; }
|
||||
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; }
|
||||
from {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
transform: translateY(-100%);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* 进入动画类 */
|
||||
@@ -348,7 +387,7 @@ export default {
|
||||
margin-left: 30rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.Hintcss{
|
||||
.Hintcss {
|
||||
color: rgb(255, 0, 0);
|
||||
font-size: 20rpx;
|
||||
margin-left: 30rpx;
|
||||
@@ -375,14 +414,14 @@ export default {
|
||||
/* margin-bottom: 40rpx; */
|
||||
margin-left: 90%;
|
||||
}
|
||||
.Titlecss{
|
||||
.Titlecss {
|
||||
width: 100%;
|
||||
height: 70rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.Star{
|
||||
.Star {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/star.png);
|
||||
@@ -414,7 +453,7 @@ export default {
|
||||
width: 99%;
|
||||
height: 85rpx;
|
||||
background-color: #ffffff;
|
||||
border: 1rpx solid #BFBFBF;
|
||||
border: 1rpx solid #bfbfbf;
|
||||
border-radius: 10rpx;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -424,16 +463,16 @@ export default {
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
.Gendercs{
|
||||
.Gendercs {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
/* align-items: center; */
|
||||
}
|
||||
.Gendercss{
|
||||
.Gendercss {
|
||||
width: 200rpx;
|
||||
height: 60rpx;
|
||||
}
|
||||
.Gendericoncss{
|
||||
.Gendericoncss {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@@ -444,7 +483,7 @@ export default {
|
||||
margin-left: 20rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.Gendericon{
|
||||
.Gendericon {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
/* margin-top: 10rpx;
|
||||
@@ -464,7 +503,7 @@ export default {
|
||||
/* flex-direction: column; */
|
||||
}
|
||||
.country {
|
||||
margin-left:10rpx;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.goldCoin {
|
||||
width: 100%;
|
||||
@@ -485,10 +524,10 @@ export default {
|
||||
margin-left: 17rpx;
|
||||
}
|
||||
.number-box-unit {
|
||||
color: #03ABA8;
|
||||
color: #03aba8;
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
border: 1rpx solid #03ABA8;
|
||||
border: 1rpx solid #03aba8;
|
||||
border-radius: 50%;
|
||||
line-height: 48rpx;
|
||||
text-align: center;
|
||||
@@ -509,7 +548,7 @@ export default {
|
||||
margin-left: 5%;
|
||||
}
|
||||
.Publishcss {
|
||||
background-image: linear-gradient(135deg, #4FCACD, #5FDBDE);
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
/* color: #33ff00; */
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
|
||||
@@ -92,7 +92,11 @@
|
||||
<view class="goldCoin">
|
||||
<view class="number-box">
|
||||
<view class="number-box-title">金币数量:</view>
|
||||
<uni-number-box :max="9999999999" background="#03ABA8" v-model="numberCoins"></uni-number-box>
|
||||
<uni-number-box
|
||||
:max="9999999999"
|
||||
background="#03ABA8"
|
||||
v-model="numberCoins"
|
||||
></uni-number-box>
|
||||
<view class="number-box-title">单位:</view>
|
||||
<view class="number-box-unit">K</view>
|
||||
</view>
|
||||
@@ -126,6 +130,7 @@
|
||||
type="textarea"
|
||||
v-model="remarks"
|
||||
placeholder="备注"
|
||||
maxlength="-1"
|
||||
></uni-easyinput>
|
||||
</view>
|
||||
|
||||
@@ -204,43 +209,43 @@ export default {
|
||||
}
|
||||
},
|
||||
//获取主播名称以及头像地址
|
||||
blur(event){
|
||||
if(this.nameAnchor !== event.target.value){
|
||||
blur(event) {
|
||||
if (this.nameAnchor !== event.target.value) {
|
||||
this.nameAnchor = event.target.value;
|
||||
uni.showLoading({
|
||||
title: "正在验证主播",
|
||||
mask: true,
|
||||
});
|
||||
title: "正在验证主播",
|
||||
mask: true,
|
||||
});
|
||||
uni.request({
|
||||
url: "https://api.tkpage.yolozs.com/api/"+this.nameAnchor,
|
||||
success:(res)=>{
|
||||
if (res.data.code === 200) {
|
||||
url: "https://python.yolojt.com/api/" + this.nameAnchor,
|
||||
success: (res) => {
|
||||
if (res.data.code === 200) {
|
||||
uni.hideLoading();
|
||||
uni.showToast({
|
||||
title: "查询成功",
|
||||
icon: "none",
|
||||
duration: 3000,
|
||||
});
|
||||
this.AnchorProfilePicture = res.data.data;
|
||||
} else {
|
||||
uni.hideLoading();
|
||||
uni.showToast({
|
||||
title: "未查询到该主播",
|
||||
icon: "none",
|
||||
duration: 3000,
|
||||
});
|
||||
}
|
||||
},
|
||||
fail: function (res) {
|
||||
uni.hideLoading();
|
||||
uni.showToast({
|
||||
title: "查询成功",
|
||||
icon: "none",
|
||||
duration: 3000,
|
||||
})
|
||||
this.AnchorProfilePicture = res.data.data;
|
||||
}else {
|
||||
uni.hideLoading();
|
||||
uni.showToast({
|
||||
title: "未查询到该主播",
|
||||
icon: "none",
|
||||
duration: 3000,
|
||||
})
|
||||
}
|
||||
},
|
||||
fail: function (res) {
|
||||
uni.hideLoading();
|
||||
uni.showToast({
|
||||
uni.showToast({
|
||||
title: "网络请求失败",
|
||||
icon: "none",
|
||||
duration: 3000,
|
||||
})
|
||||
},
|
||||
});
|
||||
}else{
|
||||
});
|
||||
},
|
||||
});
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
},
|
||||
@@ -252,12 +257,21 @@ export default {
|
||||
this.numberCoins === "" ||
|
||||
this.countrys === "" ||
|
||||
this.datetimesingle === "" ||
|
||||
this.session === ""||
|
||||
this.session === "" ||
|
||||
this.AnchorProfilePicture === ""
|
||||
) {
|
||||
this.Hint = true;
|
||||
return;
|
||||
}
|
||||
//判断备注中是否有特殊字符
|
||||
if (this.remarks.includes(this.nameAnchor)) {
|
||||
uni.showToast({
|
||||
title: "备注中不能包含主播昵称",
|
||||
icon: "none",
|
||||
duration: 2000,
|
||||
});
|
||||
return;
|
||||
}
|
||||
//格式化日期
|
||||
const isoString = this.datetimesingle.replace(" ", "T");
|
||||
const timestamp = Date.parse(isoString);
|
||||
|
||||
@@ -133,11 +133,12 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="button" v-if="PkIDInfodata.pkStatus === 0">
|
||||
<!-- 邀请信息 -->
|
||||
<view class="button" v-if="PkIDInfodata.pkStatus === 0 && ReceiverData.senderId !== id">
|
||||
<button class="accept" @click="operation(1)">接受邀请</button>
|
||||
<button class="reject" @click="operation(2)">拒绝邀请</button>
|
||||
</view>
|
||||
<view v-if="ReceiverData.senderId === id && PkIDInfodata.pkStatus === 0" class="button buttontext">等待对方接受邀请</view>
|
||||
<view v-if="PkIDInfodata.pkStatus === 1" class="button buttontext">已接受邀请</view>
|
||||
<view v-if="PkIDInfodata.pkStatus === 2" class="button buttontext">已拒绝邀请</view>
|
||||
</view>
|
||||
@@ -154,9 +155,16 @@ export default {
|
||||
SenderData: {},
|
||||
ReceiverData: {},
|
||||
PkIDInfodata: {},
|
||||
id: "",
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
uni.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.id = res.data.id;
|
||||
},
|
||||
});
|
||||
this.customData = JSON.parse(options.customData);
|
||||
this.getPkyourInfo();
|
||||
this.getPkmineInfo();
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
<script>
|
||||
import request from "../../components/request.js";
|
||||
import postFile from "../../components/postFile.js";
|
||||
import generateFileName from "../../components/generateFileName.js";
|
||||
import postFile from "../../components/postFile.js";
|
||||
import generateFileName from "../../components/generateFileName.js";
|
||||
|
||||
export default {
|
||||
inject: ["$global"],
|
||||
data() {
|
||||
return {
|
||||
userinfo:"",
|
||||
userinfo: "",
|
||||
name: "",
|
||||
id: "",
|
||||
info: {},
|
||||
@@ -62,54 +62,52 @@ export default {
|
||||
this.userinfo = avatarUrl;
|
||||
},
|
||||
// 微信登录
|
||||
async wxLogin(e) {
|
||||
wxLogin(e) {
|
||||
uni.showLoading({
|
||||
title: "登录中...",
|
||||
mask: true,
|
||||
});
|
||||
|
||||
postFile({
|
||||
path: this.userinfo,
|
||||
name:generateFileName(),
|
||||
}).then((res) => {
|
||||
console.log("上传成功········",res);
|
||||
|
||||
this.userinfo = res;
|
||||
}).catch((err) => {
|
||||
path: this.userinfo,
|
||||
name: generateFileName(),
|
||||
})
|
||||
.then((res) => {
|
||||
console.log(res.split("/").pop());
|
||||
request({
|
||||
url: "user/updateUserInfo",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: this.id,
|
||||
headerIcon: res.split("/").pop(),
|
||||
nickName: this.name,
|
||||
usersig: this.userSig.userSig,
|
||||
},
|
||||
userInfo: true,
|
||||
}).then((ress) => {
|
||||
if (ress.code === 200) {
|
||||
uni.showToast({
|
||||
title: "修改成功",
|
||||
icon: "success",
|
||||
});
|
||||
uni.setStorageSync("userinfo", ress.data.info);
|
||||
uni.hideLoading();
|
||||
//```````````````````````````````````````````````````````````````````````登录成功后跳转回原页面 或 首页
|
||||
uni.navigateBack({
|
||||
delta: 1,
|
||||
});
|
||||
//````````````````````````````````````````````````````````````````````
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: "修改失败",
|
||||
icon: "none",
|
||||
});
|
||||
}
|
||||
});
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
|
||||
if(this.userinfo){
|
||||
const res = await request({
|
||||
url: "user/updateUserInfo",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: this.id,
|
||||
headerIcon: this.userinfo,
|
||||
nickName: this.name,
|
||||
usersig: this.userSig.userSig,
|
||||
},
|
||||
userInfo: true,
|
||||
});
|
||||
if (res.code === 200) {
|
||||
uni.showToast({
|
||||
title: "修改成功",
|
||||
icon: "success",
|
||||
});
|
||||
uni.setStorageSync("userinfo", res.data.info);
|
||||
uni.hideLoading();
|
||||
//```````````````````````````````````````````````````````````````````````登录成功后跳转回原页面 或 首页
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
//````````````````````````````````````````````````````````````````````
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: "修改失败",
|
||||
icon: "none",
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -17,15 +17,14 @@
|
||||
import request from "../../components/request.js";
|
||||
import postFile from "../../components/postFile.js";
|
||||
import generateFileName from "../../components/generateFileName.js";
|
||||
import { useCounterStore } from '@/stores/counter'
|
||||
const counter = useCounterStore()
|
||||
import { useCounterStore } from "@/stores/counter";
|
||||
const counter = useCounterStore();
|
||||
|
||||
export default {
|
||||
inject: ["$global"],
|
||||
data() {
|
||||
return {
|
||||
userinfo:
|
||||
"https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0",
|
||||
userinfo:"",
|
||||
name: "",
|
||||
id: "",
|
||||
info: {},
|
||||
@@ -72,55 +71,67 @@ export default {
|
||||
},
|
||||
// 微信登录
|
||||
async wxLogin(e) {
|
||||
uni.showLoading({
|
||||
title: "登录中...",
|
||||
mask: true,
|
||||
});
|
||||
const { code } = await uni.login({
|
||||
provider: "weixin",
|
||||
onlyAuthorize: true,
|
||||
});
|
||||
postFile({
|
||||
path: this.userinfo,
|
||||
name: this.Filename,
|
||||
}).then((ress) => {
|
||||
this.picture = ress;
|
||||
const res = request({
|
||||
url: "user/inputUserInfo",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: this.id,
|
||||
headerIcon: this.Filename,
|
||||
nickName: this.name,
|
||||
code,
|
||||
usersig: this.userSig.userSig,
|
||||
},
|
||||
userInfo: false,
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
uni.showToast({
|
||||
title: "登录成功",
|
||||
icon: "success",
|
||||
});
|
||||
uni.setStorageSync("userinfo", res.data.info);
|
||||
counter.$patch({ myitem:res.data.info })
|
||||
uni.hideLoading();
|
||||
//```````````````````````````````````````````````````````````````````````登录成功后跳转回原页面 或 首页
|
||||
uni.reLaunch({
|
||||
url: this.lastPage,
|
||||
});
|
||||
//````````````````````````````````````````````````````````````````````
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: "登录失败",
|
||||
icon: "none",
|
||||
});
|
||||
}
|
||||
});
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
if (
|
||||
this.name !== "" &&
|
||||
this.userinfo !== ""
|
||||
) {
|
||||
uni.showLoading({
|
||||
title: "登录中...",
|
||||
mask: true,
|
||||
});
|
||||
const { code } = await uni.login({
|
||||
provider: "weixin",
|
||||
onlyAuthorize: true,
|
||||
});
|
||||
postFile({
|
||||
path: this.userinfo,
|
||||
name: this.Filename,
|
||||
})
|
||||
.then((ress) => {
|
||||
this.picture = ress;
|
||||
const res = request({
|
||||
url: "user/inputUserInfo",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: this.id,
|
||||
headerIcon: this.Filename,
|
||||
nickName: this.name,
|
||||
code,
|
||||
usersig: this.userSig.userSig,
|
||||
},
|
||||
userInfo: false,
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
uni.showToast({
|
||||
title: "登录成功",
|
||||
icon: "success",
|
||||
});
|
||||
uni.setStorageSync("userinfo", res.data.info);
|
||||
counter.$patch({ myitem: res.data.info });
|
||||
uni.hideLoading();
|
||||
//```````````````````````````````````````````````````````````````````````登录成功后跳转回原页面 或 首页
|
||||
uni.reLaunch({
|
||||
url: this.lastPage,
|
||||
});
|
||||
//````````````````````````````````````````````````````````````````````
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: "登录失败",
|
||||
icon: "none",
|
||||
});
|
||||
}
|
||||
});
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: "请填写头像昵称",
|
||||
icon: "success",
|
||||
duration: 3000,
|
||||
});
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -13,14 +13,13 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="Content">
|
||||
<!-- 发布者 -->
|
||||
<view class="sender">
|
||||
<view class="sengderIcon">
|
||||
<image class="Icon" :src="item.anchorIcon" mode="scaleToFill" />
|
||||
</view>
|
||||
|
||||
<view class="Individual">
|
||||
<view class="name">{{ item.anchorId }}</view>
|
||||
<view class="name">{{ item.disPlayId }}</view>
|
||||
|
||||
<view class="GenderAndAge">
|
||||
<view class="male" v-if="item.sex === '1'">
|
||||
@@ -73,6 +72,16 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="remark">
|
||||
<uni-easyinput
|
||||
type="textarea"
|
||||
v-model="item.remark"
|
||||
placeholder="备注"
|
||||
maxlength="-1"
|
||||
disabled="true"
|
||||
:style="style"
|
||||
></uni-easyinput>
|
||||
</view>
|
||||
<view class="button" v-if="item.senderId !== id">
|
||||
<button class="accept" @click="openChat()">聊了个天</button>
|
||||
<button class="reject" @click="open()">立即邀请</button>
|
||||
@@ -88,7 +97,7 @@
|
||||
<view class="popup-title">
|
||||
<view class="popup-text">请选择您要参与的主播</view>
|
||||
<scroll-view scroll-y="true" class="scroll">
|
||||
<view class="card" v-for="(item, index) in list">
|
||||
<view class="card" v-for="(item, index) in list" :key="index">
|
||||
<view
|
||||
class="card-content"
|
||||
@click="Select(item.id, index)"
|
||||
@@ -103,14 +112,11 @@
|
||||
<view class="NameMoney">
|
||||
<view class="TimeMoney">
|
||||
<view class="NameMoney_Name">{{ item.anchorId }}</view>
|
||||
<viewm class="goldnb"
|
||||
><view class="goldimg"></view>{{ item.coin }}K</viewm
|
||||
>
|
||||
</view>
|
||||
<view class="TimeMoney_Time"
|
||||
><view class="pkTimeimg"></view
|
||||
><view>{{ TimeFormatting(item.pkTime) }}</view></view
|
||||
>
|
||||
<view class="TimeMoney_Time">
|
||||
<view class="pkTimeimg"></view><view>{{ TimeFormatting(item.pkTime) }}</view>
|
||||
<viewm class="goldnb"><view class="goldimg"></view>{{ item.coin }}K</viewm>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -150,6 +156,9 @@ export default {
|
||||
chatInfo: {},
|
||||
currentConversation: null,
|
||||
// parentMessage: null,
|
||||
style: {
|
||||
backgroundColor: "#ffffff",
|
||||
}
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
@@ -318,7 +327,7 @@ export default {
|
||||
border: 1rpx solid #03aba8;
|
||||
}
|
||||
.scroll {
|
||||
width: 470rpx;
|
||||
width: 500rpx;
|
||||
height: 400rpx;
|
||||
border-radius: 10px;
|
||||
/* background-color: #fff; */
|
||||
@@ -329,13 +338,9 @@ export default {
|
||||
font-weight: bold;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.card {
|
||||
margin-top: 10rpx;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.card-content {
|
||||
/* width: 445rpx; */
|
||||
width: 90%;
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
background-color: #ffffff;
|
||||
/* border: 2px solid #afafaf; */
|
||||
@@ -398,10 +403,14 @@ export default {
|
||||
flex-direction: column;
|
||||
}
|
||||
.NameMoney_Name {
|
||||
width: 400rpx;
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
font-size: 27rpx;
|
||||
color: #161616;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
}
|
||||
.background {
|
||||
position: fixed;
|
||||
@@ -470,8 +479,11 @@ export default {
|
||||
margin-right: 16.22rpx;
|
||||
}
|
||||
.nation {
|
||||
width: 56.3rpx;
|
||||
/* width: 56.3rpx; */
|
||||
height: 29.58rpx;
|
||||
white-space: nowrap; /* 防止换行 */
|
||||
overflow: hidden; /* 隐藏溢出内容 */
|
||||
text-overflow: ellipsis; /* 显示省略号 */
|
||||
font-size: 17.18rpx;
|
||||
color: #666666;
|
||||
text-align: center;
|
||||
@@ -552,11 +564,15 @@ export default {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.remark{
|
||||
margin-top: 60rpx;
|
||||
width: 90%;
|
||||
}
|
||||
.button {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 645rpx;
|
||||
margin-top: 500rpx;
|
||||
}
|
||||
.accept {
|
||||
width: 325.38rpx;
|
||||
|
||||
2
unpackage/dist/build/mp-weixin/NewAddedPk.js
vendored
2
unpackage/dist/build/mp-weixin/NewAddedPk.js
vendored
@@ -1 +1 @@
|
||||
"use strict";const e=require("./common/vendor.js"),n=require("./components/NationalDictionary.js"),i=require("./components/request.js"),t={data:()=>({genders:0,Gender:[{label:"男",value:1},{label:"女",value:2}],Country:n.optionsArray,countrys:"",nameAnchor:"",numberCoins:"",session:"",remarks:"",Display:!1,Hint:!1,datetimesingle:"",id:null,sendingTime:"",filterable:!0,AnchorProfilePicture:""}),mounted(){e.index.getStorage({key:"userinfo",success:e=>{this.id=e.data.id}})},methods:{gender(e){this.genders=e.value,console.log(e)},country(e){this.countrys=e.value,console.log(e)},handleOverlayClick(e){e.target===this.$el&&(this.Display=!1,this.Hint=!1)},open(){this.Display?(this.Display=!1,this.Hint=!1,this.nameAnchor="",this.genders=0,this.numberCoins="",this.remarks="",this.datetimesingle="",this.countrys="",this.session=""):this.Display=!0},blur(n){this.nameAnchor!==n.target.value&&(this.nameAnchor=n.target.value,e.index.showLoading({title:"正在验证主播",mask:!0}),e.index.request({url:"https://api.tkpage.yolozs.com/api/"+this.nameAnchor,success:n=>{200===n.data.code?(e.index.hideLoading(),e.index.showToast({title:"查询成功",icon:"none",duration:3e3}),this.AnchorProfilePicture=n.data.data):(e.index.hideLoading(),e.index.showToast({title:"未查询到该主播",icon:"none",duration:3e3}))},fail:function(n){e.index.hideLoading(),e.index.showToast({title:"网络请求失败",icon:"none",duration:3e3})}}))},async Publish(){if(""===this.nameAnchor||0===this.genders||""===this.numberCoins||""===this.countrys||""===this.datetimesingle||""===this.session||""===this.AnchorProfilePicture)return void(this.Hint=!0);const n=this.datetimesingle.replace(" ","T"),t=Date.parse(n);if(isNaN(t))throw new Error(`Invalid date format: ${this.datetimesingle}`);this.sendingTime=Math.floor(t/1e3);const o=Math.floor(Date.now()/1e3);if(this.sendingTime<o)return void e.index.showToast({title:"日期不能早于当前时间",icon:"none",duration:2e3});e.index.showLoading({title:"发布中...",mask:!0});200===(await i.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,senderId:this.id,anchorIcon:this.AnchorProfilePicture,pkNumber:this.session},userInfo:!0})).code?(this.Display=!1,this.Hint=!1,this.nameAnchor="",this.genders=0,this.numberCoins="",this.remarks="",this.datetimesingle="",this.session="",this.AnchorProfilePicture="",e.index.hideLoading(),e.index.showToast({title:"发布成功",icon:"success",duration:2e3})):(e.index.hideLoading(),e.index.showToast({title:"发布失败",icon:"none",duration:2e3}))}}};if(!Array){(e.resolveComponent("wht-select")+e.resolveComponent("uni-number-box")+e.resolveComponent("uni-datetime-picker")+e.resolveComponent("uni-easyinput"))()}Math||((()=>"./uni_modules/wht-select/components/wht-select/wht-select.js")+(()=>"./uni_modules/uni-number-box/components/uni-number-box/uni-number-box.js")+(()=>"./uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.js")+(()=>"./uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js"))();const o=e._export_sfc(t,[["render",function(n,i,t,o,s,r){return e.e({a:s.Display},s.Display?e.e({b:e.o$1((e=>r.open())),c:e.o$1(((...e)=>n.NameAnchor&&n.NameAnchor(...e))),d:e.o$1(((...e)=>r.blur&&r.blur(...e))),e:""===s.nameAnchor&&!0===s.Hint},(""===s.nameAnchor&&s.Hint,{}),{f:e.o$1(r.country),g:e.p({backgroundColor:"#ffffff",placeholderColor:"#666666",textColor:"#666666",borderColor:"#ffffff",options:s.Country,filterable:s.filterable,placeholder:"请选择国家"}),h:""===s.countrys&&!0===s.Hint},(""===s.countrys&&s.Hint,{}),{i:e.o$1(r.gender),j:e.p({backgroundColor:"#ffffff",placeholderColor:"#666666",textColor:"#666666",borderColor:"#ffffff",options:s.Gender,placeholder:"性别"}),k:0===s.genders},(s.genders,{}),{l:1===s.genders},(s.genders,{}),{m:2===s.genders},(s.genders,{}),{n:0===s.genders&&!0===s.Hint},(0===s.genders&&s.Hint,{}),{o:e.o$1((e=>s.numberCoins=e)),p:e.p({max:9999999999,background:"#03ABA8",modelValue:s.numberCoins}),q:""===s.numberCoins&&!0===s.Hint},(""===s.numberCoins&&s.Hint,{}),{r:e.o$1((e=>s.datetimesingle=e)),s:e.p({type:"datetime","hide-second":"true",modelValue:s.datetimesingle}),t:""===s.datetimesingle&&!0===s.Hint},(""===s.datetimesingle&&s.Hint,{}),{v:e.o$1((e=>s.session=e)),w:e.p({background:"#03ABA8",modelValue:s.session}),x:""===s.session&&!0===s.Hint},(""===s.session&&s.Hint,{}),{y:e.o$1((e=>s.remarks=e)),z:e.p({type:"textarea",placeholder:"备注",modelValue:s.remarks}),A:e.o$1((e=>r.Publish())),B:e.o$1((()=>{})),C:e.n(s.Display?"create-module":"close-animation "),D:e.o$1((e=>r.open()))}):{})}],["__scopeId","data-v-fa0fbb45"]]);exports.MiniProgramPage=o;
|
||||
"use strict";const e=require("./common/vendor.js"),n=require("./components/NationalDictionary.js"),i=require("./components/request.js"),t={data:()=>({genders:0,Gender:[{label:"男",value:1},{label:"女",value:2}],Country:n.optionsArray,countrys:"",nameAnchor:"",numberCoins:"",session:"",remarks:"",Display:!1,Hint:!1,datetimesingle:"",id:null,sendingTime:"",filterable:!0,AnchorProfilePicture:""}),mounted(){e.index.getStorage({key:"userinfo",success:e=>{this.id=e.data.id}})},methods:{gender(e){this.genders=e.value,console.log(e)},country(e){this.countrys=e.value,console.log(e)},handleOverlayClick(e){e.target===this.$el&&(this.Display=!1,this.Hint=!1)},open(){this.Display?(this.Display=!1,this.Hint=!1,this.nameAnchor="",this.genders=0,this.numberCoins="",this.remarks="",this.datetimesingle="",this.countrys="",this.session=""):this.Display=!0},blur(n){this.nameAnchor!==n.target.value&&(this.nameAnchor=n.target.value,e.index.showLoading({title:"正在验证主播",mask:!0}),e.index.request({url:"https://python.yolojt.com/api/"+this.nameAnchor,success:n=>{200===n.data.code?(e.index.hideLoading(),e.index.showToast({title:"查询成功",icon:"none",duration:3e3}),this.AnchorProfilePicture=n.data.data):(e.index.hideLoading(),e.index.showToast({title:"未查询到该主播",icon:"none",duration:3e3}))},fail:function(n){e.index.hideLoading(),e.index.showToast({title:"网络请求失败",icon:"none",duration:3e3})}}))},async Publish(){if(""===this.nameAnchor||0===this.genders||""===this.numberCoins||""===this.countrys||""===this.datetimesingle||""===this.session||""===this.AnchorProfilePicture)return void(this.Hint=!0);if(this.remarks.includes(this.nameAnchor))return void e.index.showToast({title:"备注中不能包含主播昵称",icon:"none",duration:2e3});const n=this.datetimesingle.replace(" ","T"),t=Date.parse(n);if(isNaN(t))throw new Error(`Invalid date format: ${this.datetimesingle}`);this.sendingTime=Math.floor(t/1e3);const o=Math.floor(Date.now()/1e3);if(this.sendingTime<o)return void e.index.showToast({title:"日期不能早于当前时间",icon:"none",duration:2e3});e.index.showLoading({title:"发布中...",mask:!0});200===(await i.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,senderId:this.id,anchorIcon:this.AnchorProfilePicture,pkNumber:this.session},userInfo:!0})).code?(this.Display=!1,this.Hint=!1,this.nameAnchor="",this.genders=0,this.numberCoins="",this.remarks="",this.datetimesingle="",this.session="",this.AnchorProfilePicture="",e.index.hideLoading(),e.index.showToast({title:"发布成功",icon:"success",duration:2e3})):(e.index.hideLoading(),e.index.showToast({title:"发布失败",icon:"none",duration:2e3}))}}};if(!Array){(e.resolveComponent("wht-select")+e.resolveComponent("uni-number-box")+e.resolveComponent("uni-datetime-picker")+e.resolveComponent("uni-easyinput"))()}Math||((()=>"./uni_modules/wht-select/components/wht-select/wht-select.js")+(()=>"./uni_modules/uni-number-box/components/uni-number-box/uni-number-box.js")+(()=>"./uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.js")+(()=>"./uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js"))();const o=e._export_sfc(t,[["render",function(n,i,t,o,s,r){return e.e({a:s.Display},s.Display?e.e({b:e.o$1((e=>r.open())),c:e.o$1(((...e)=>n.NameAnchor&&n.NameAnchor(...e))),d:e.o$1(((...e)=>r.blur&&r.blur(...e))),e:""===s.nameAnchor&&!0===s.Hint},(""===s.nameAnchor&&s.Hint,{}),{f:e.o$1(r.country),g:e.p({backgroundColor:"#ffffff",placeholderColor:"#666666",textColor:"#666666",borderColor:"#ffffff",options:s.Country,filterable:s.filterable,placeholder:"请选择国家"}),h:""===s.countrys&&!0===s.Hint},(""===s.countrys&&s.Hint,{}),{i:e.o$1(r.gender),j:e.p({backgroundColor:"#ffffff",placeholderColor:"#666666",textColor:"#666666",borderColor:"#ffffff",options:s.Gender,placeholder:"性别"}),k:0===s.genders},(s.genders,{}),{l:1===s.genders},(s.genders,{}),{m:2===s.genders},(s.genders,{}),{n:0===s.genders&&!0===s.Hint},(0===s.genders&&s.Hint,{}),{o:e.o$1((e=>s.numberCoins=e)),p:e.p({max:9999999999,background:"#03ABA8",modelValue:s.numberCoins}),q:""===s.numberCoins&&!0===s.Hint},(""===s.numberCoins&&s.Hint,{}),{r:e.o$1((e=>s.datetimesingle=e)),s:e.p({type:"datetime","hide-second":"true",modelValue:s.datetimesingle}),t:""===s.datetimesingle&&!0===s.Hint},(""===s.datetimesingle&&s.Hint,{}),{v:e.o$1((e=>s.session=e)),w:e.p({background:"#03ABA8",modelValue:s.session}),x:""===s.session&&!0===s.Hint},(""===s.session&&s.Hint,{}),{y:e.o$1((e=>s.remarks=e)),z:e.p({type:"textarea",placeholder:"备注",maxlength:"-1",modelValue:s.remarks}),A:e.o$1((e=>r.Publish())),B:e.o$1((()=>{})),C:e.n(s.Display?"create-module":"close-animation "),D:e.o$1((e=>r.open()))}):{})}],["__scopeId","data-v-4f0126b2"]]);exports.MiniProgramPage=o;
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="Navigation data-v-25ec44dc"><image src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Navigationimg.png" mode="scaleToFill" class="Navigationimg data-v-25ec44dc"/><image bindtap="{{a}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill" class="Return data-v-25ec44dc"/></view><view class="dingweizhibox data-v-25ec44dc"></view><view class="chat data-v-25ec44dc"><view class="{{['data-v-25ec44dc', 'tui-chat', P]}}"><view wx:if="{{b}}" class="{{['data-v-25ec44dc', 'tui-chat-default', c]}}"><slot/></view><view wx:if="{{d}}" class="{{['data-v-25ec44dc', 'tui-chat', L]}}"><chat-header wx:if="{{i}}" class="{{['data-v-25ec44dc', 'tui-chat-header', e, f]}}" bindcloseChat="{{g}}" bindopenGroupManagement="{{h}}" u-i="25ec44dc-0" bind:__l="__l" u-p="{{i}}"/><forward class="data-v-25ec44dc" bindtoggleMultipleSelectMode="{{j}}" u-i="25ec44dc-1" bind:__l="__l"/><message-list wx:if="{{p}}" u-r="messageListRef" class="{{['r', 'data-v-25ec44dc', 'tui-chat-message-list', l]}}" bindhandleEditor="{{m}}" bindcloseInputToolBar="{{n}}" bindtoggleMultipleSelectMode="{{o}}" u-i="25ec44dc-2" bind:__l="__l" u-p="{{p}}"/><view wx:if="{{q}}" class="{{['data-v-25ec44dc', 'tui-chat-leave-group', s && 'tui-chat-leave-group-mobile']}}">{{r}}</view><multiple-select-panel wx:elif="{{t}}" class="data-v-25ec44dc" bindoneByOneForwardMessage="{{v}}" bindmergeForwardMessage="{{w}}" bindtoggleMultipleSelectMode="{{x}}" u-i="25ec44dc-3" bind:__l="__l"/><block wx:else><message-input-toolbar wx:if="{{y}}" class="{{['data-v-25ec44dc', 'tui-chat-message-input-toolbar', z, A]}}" bindinsertEmoji="{{B}}" bindchangeToolbarDisplayType="{{C}}" bindscrollToLatestMessage="{{D}}" u-i="25ec44dc-4" bind:__l="__l" u-p="{{E}}"/><message-input wx:if="{{K}}" u-r="messageInputRef" class="{{['r', 'data-v-25ec44dc', 'tui-chat-message-input', G, H, I]}}" bindchangeToolbarDisplayType="{{J}}" u-i="25ec44dc-5" bind:__l="__l" u-p="{{K}}"/></block></view><view wx:if="{{M}}" class="group-profile data-v-25ec44dc" bindtap="{{O}}">{{N}}</view></view></view>
|
||||
<view class="Navigation data-v-6aa6f0c6"><image src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Navigationimg.png" mode="scaleToFill" class="Navigationimg data-v-6aa6f0c6"/><image bindtap="{{a}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill" class="Return data-v-6aa6f0c6"/></view><view class="dingweizhibox data-v-6aa6f0c6"></view><view class="chat data-v-6aa6f0c6"><view class="{{['data-v-6aa6f0c6', 'tui-chat', P]}}"><view wx:if="{{b}}" class="{{['data-v-6aa6f0c6', 'tui-chat-default', c]}}"><slot/></view><view wx:if="{{d}}" class="{{['data-v-6aa6f0c6', 'tui-chat', L]}}"><chat-header wx:if="{{i}}" class="{{['data-v-6aa6f0c6', 'tui-chat-header', e, f]}}" bindcloseChat="{{g}}" bindopenGroupManagement="{{h}}" u-i="6aa6f0c6-0" bind:__l="__l" u-p="{{i}}"/><forward class="data-v-6aa6f0c6" bindtoggleMultipleSelectMode="{{j}}" u-i="6aa6f0c6-1" bind:__l="__l"/><message-list wx:if="{{p}}" u-r="messageListRef" class="{{['r', 'data-v-6aa6f0c6', 'tui-chat-message-list', l]}}" bindhandleEditor="{{m}}" bindcloseInputToolBar="{{n}}" bindtoggleMultipleSelectMode="{{o}}" u-i="6aa6f0c6-2" bind:__l="__l" u-p="{{p}}"/><view wx:if="{{q}}" class="{{['data-v-6aa6f0c6', 'tui-chat-leave-group', s && 'tui-chat-leave-group-mobile']}}">{{r}}</view><multiple-select-panel wx:elif="{{t}}" class="data-v-6aa6f0c6" bindoneByOneForwardMessage="{{v}}" bindmergeForwardMessage="{{w}}" bindtoggleMultipleSelectMode="{{x}}" u-i="6aa6f0c6-3" bind:__l="__l"/><block wx:else><message-input-toolbar wx:if="{{y}}" class="{{['data-v-6aa6f0c6', 'tui-chat-message-input-toolbar', z, A]}}" bindinsertEmoji="{{B}}" bindchangeToolbarDisplayType="{{C}}" bindscrollToLatestMessage="{{D}}" u-i="6aa6f0c6-4" bind:__l="__l" u-p="{{E}}"/><message-input wx:if="{{K}}" u-r="messageInputRef" class="{{['r', 'data-v-6aa6f0c6', 'tui-chat-message-input', G, H, I]}}" bindchangeToolbarDisplayType="{{J}}" u-i="6aa6f0c6-5" bind:__l="__l" u-p="{{K}}"/></block></view><view wx:if="{{M}}" class="group-profile data-v-6aa6f0c6" bindtap="{{O}}">{{N}}</view></view></view>
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
<view class="Navigation-left data-v-e282c19d"></view><view class="Navigation data-v-e282c19d"><image src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Navigationimg.png" mode="scaleToFill" class="Navigationimg data-v-e282c19d"/><view class="Return data-v-e282c19d">消息</view></view><view class="tui-conversation data-v-e282c19d" bindtap="{{g}}" bindtouchstart="{{h}}" bindtouchend="{{i}}"><t-u-i-search wx:if="{{a}}" class="data-v-e282c19d" u-i="e282c19d-0" bind:__l="__l" u-p="{{a}}"/><conversation-header wx:if="{{b}}" class="r data-v-e282c19d" u-r="headerRef" u-i="e282c19d-1" bind:__l="__l"/><conversation-network class="data-v-e282c19d" u-i="e282c19d-2" bind:__l="__l"/><conversation-list u-r="conversationListDomRef" class="tui-conversation-list r data-v-e282c19d" bindhandleSwitchConversation="{{e}}" bindgetPassingRef="{{f}}" u-i="e282c19d-3" bind:__l="__l"/></view><view class="data-v-e282c19d"><tab-bar class="data-v-e282c19d" u-i="e282c19d-4" bind:__l="__l"></tab-bar></view>
|
||||
<view class="Navigation-left data-v-bfb163a9"></view><view class="Navigation data-v-bfb163a9"><image src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Navigationimg.png" mode="scaleToFill" class="Navigationimg data-v-bfb163a9"/><view class="Return data-v-bfb163a9">消息</view></view><view class="tui-conversation data-v-bfb163a9" bindtap="{{g}}" bindtouchstart="{{h}}" bindtouchend="{{i}}"><t-u-i-search wx:if="{{a}}" class="data-v-bfb163a9" u-i="bfb163a9-0" bind:__l="__l" u-p="{{a}}"/><conversation-header wx:if="{{b}}" class="r data-v-bfb163a9" u-r="headerRef" u-i="bfb163a9-1" bind:__l="__l"/><conversation-network class="data-v-bfb163a9" u-i="bfb163a9-2" bind:__l="__l"/><conversation-list u-r="conversationListDomRef" class="tui-conversation-list r data-v-bfb163a9" bindhandleSwitchConversation="{{e}}" bindgetPassingRef="{{f}}" u-i="bfb163a9-3" bind:__l="__l"/></view><view class="data-v-bfb163a9"><tab-bar wx:if="{{j}}" class="data-v-bfb163a9" u-i="bfb163a9-4" bind:__l="__l" u-p="{{j}}"></tab-bar></view>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
"use strict";const e=require("../common/vendor.js"),t=require("./addPrefixToHeaderIcon.js");exports.request=function(n){const{url:a,data:r,method:o,header:s,userInfo:i}=n,g="https://api.yolojt.com/"+a;return new Promise(i?(n,a)=>{e.index.getStorage({key:"userinfo",success:i=>{i.data?i.data.nickName?e.index.request({url:g,data:r,method:o,header:s,success:function(e){console.log("请求成功1",e.data),n(t.addPrefixToHeaderIcon(e.data))},fail:function(e){a(e)}}):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.reLaunch({url:"/pages/UserInformation/UserInformation"})):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}))},fail:function(t){e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}),a(t)}})}:(n,a)=>{e.index.request({url:g,data:r,method:o,header:s,success:function(e){console.log("请求成功2",e),n(t.addPrefixToHeaderIcon(e.data))},fail:function(e){a(e)}})})};
|
||||
"use strict";const e=require("../common/vendor.js"),t=require("./addPrefixToHeaderIcon.js");exports.request=function(n){const{url:a,data:r,method:o,header:s,userInfo:i}=n,g="http://120.26.251.180:8086/"+a;return new Promise(i?(n,a)=>{e.index.getStorage({key:"userinfo",success:i=>{i.data?i.data.nickName?e.index.request({url:g,data:r,method:o,header:s,success:function(e){console.log("请求成功1",e.data),n(t.addPrefixToHeaderIcon(e.data))},fail:function(e){a(e)}}):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.reLaunch({url:"/pages/UserInformation/UserInformation"})):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}))},fail:function(t){e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}),a(t)}})}:(n,a)=>{e.index.request({url:g,data:r,method:o,header:s,success:function(e){console.log("请求成功2",e),n(t.addPrefixToHeaderIcon(e.data))},fail:function(e){a(e)}})})};
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),t=require("../VerifyLogin.js");Math||a();const a=()=>"../../pages/NewAddedPk/NewAddedPk2.js",o={__name:"tabBar",props:{tabIndex:Number},setup(a){let o=e.ref(!1),n=e.reactive([{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Pk.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/PkClick.png",text:"PK",pagePath:"/pages/Home/Home",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forum.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forumclick.png",text:"论坛",pagePath:"/pages/Forum/Forum",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/jiahao.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/jiahao.png",text:"",pagePath:"/pages/c/c",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Message.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Messageclick.png",text:"消息"},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Mine.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Mineclick.png",text:"我的",pagePath:"/pages/Mine/Mine",middleClass:""}]);e.onMounted((()=>{!function(){let e=n.length;if(e%2){o.value=!0;let t=Math.floor(e/2);n[t].middleClass="mid-button"}}()})),e.index.getSystemInfo({success:function(e){console.log("机型",e.deviceType),e.safeArea.top>40&&console.log("苹果的底部栏大小",e.safeArea.top)}});const s=e.ref();const c=()=>!1;function i(a,o){3===o?t.VerifyLogin().then((t=>{t&&e.index.navigateTo({url:"/TUIKit/components/TUIConversation/index",animationType:"none"})})):2===o?t.VerifyLogin().then((e=>{e&&s.value.open()})):4===o?t.VerifyLogin().then((t=>{t&&e.index.switchTab({url:"/pages/Mine/Mine",animationType:"none"})})):e.index.switchTab({url:a.pagePath})}return(t,l)=>({a:e.f(e.unref(n),((t,o,n)=>({a:a.tabIndex==o?t.selectedIconPath:t.iconPath,b:e.t(t.text),c:a.tabIndex==o?"#1DD2F9":"#A7A3A3",d:e.n("list-item flex flex-column flex-middle "+t.middleClass),e:e.o$1((e=>i(t,o)),o),f:o}))),b:e.n(!0===e.unref(o)?"tab-list-middle":"tab-list-default"),c:e.o$1(c),d:e.sr(s,"ae5e2c72-0",{k:"createModule"})})}},n=e._export_sfc(o,[["__scopeId","data-v-ae5e2c72"]]);wx.createComponent(n);
|
||||
"use strict";const e=require("../../common/vendor.js"),t=require("../VerifyLogin.js");Math||a();const a=()=>"../../pages/NewAddedPk/NewAddedPk2.js",o={__name:"tabBar",props:{tabIndex:Number},setup(a){let o=e.ref(!1),n=e.reactive([{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Pk.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/PKClick.png",text:"PK",pagePath:"/pages/Home/Home",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forum.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forumclick.png",text:"论坛",pagePath:"/pages/Forum/Forum",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/jiahao.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/jiahao.png",text:"",pagePath:"/pages/c/c",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Message.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Messageclick.png",text:"消息"},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Mine.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Mineclick.png",text:"我的",pagePath:"/pages/Mine/Mine",middleClass:""}]);e.onMounted((()=>{!function(){let e=n.length;if(e%2){o.value=!0;let t=Math.floor(e/2);n[t].middleClass="mid-button"}}()})),e.index.getSystemInfo({success:function(e){console.log("机型",e.deviceType),e.safeArea.top>40&&console.log("苹果的底部栏大小",e.safeArea.top)}});const s=e.ref();const c=()=>!1;function i(a,o){3===o?t.VerifyLogin().then((t=>{t&&e.index.navigateTo({url:"/TUIKit/components/TUIConversation/index",animationType:"none"})})):2===o?t.VerifyLogin().then((e=>{e&&s.value.open()})):4===o?t.VerifyLogin().then((t=>{t&&e.index.switchTab({url:"/pages/Mine/Mine",animationType:"none"})})):e.index.switchTab({url:a.pagePath})}return(t,l)=>({a:e.f(e.unref(n),((t,o,n)=>({a:a.tabIndex==o?t.selectedIconPath:t.iconPath,b:e.t(t.text),c:a.tabIndex==o?"#1DD2F9":"#A7A3A3",d:e.n("list-item flex flex-column flex-middle "+t.middleClass),e:e.o$1((e=>i(t,o)),o),f:o}))),b:e.n(!0===e.unref(o)?"tab-list-middle":"tab-list-default"),c:e.o$1(c),d:e.sr(s,"3fcabaeb-0",{k:"createModule"})})}},n=e._export_sfc(o,[["__scopeId","data-v-3fcabaeb"]]);wx.createComponent(n);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="tab-block data-v-ae5e2c72"><view class="{{['tab-list', 'flex', 'flex-center', 'data-v-ae5e2c72', b]}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="f" class="{{['data-v-ae5e2c72', item.d]}}" bindtap="{{item.e}}"><view class="item-img-box data-v-ae5e2c72"><image class="item-img data-v-ae5e2c72" src="{{item.a}}"/></view><view class="item-text font-20 data-v-ae5e2c72" style="{{'color:' + item.c}}">{{item.b}}</view></view></view><view class="data-v-ae5e2c72" catchtouchmove="{{c}}"></view><new-added-pk class="createModule r data-v-ae5e2c72" u-r="createModule" u-i="ae5e2c72-0" bind:__l="__l"></new-added-pk></view>
|
||||
<view class="tab-block data-v-3fcabaeb"><view class="{{['tab-list', 'flex', 'flex-center', 'data-v-3fcabaeb', b]}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="f" class="{{['data-v-3fcabaeb', item.d]}}" bindtap="{{item.e}}"><view class="item-img-box data-v-3fcabaeb"><image class="item-img data-v-3fcabaeb" src="{{item.a}}"/></view><view class="item-text font-20 data-v-3fcabaeb" style="{{'color:' + item.c}}">{{item.b}}</view></view></view><view class="data-v-3fcabaeb" catchtouchmove="{{c}}"></view><new-added-pk class="createModule r data-v-3fcabaeb" u-r="createModule" u-i="3fcabaeb-0" bind:__l="__l"></new-added-pk></view>
|
||||
@@ -1 +1 @@
|
||||
.flex.data-v-ae5e2c72{display:flex;flex-flow:row wrap}.flex-center.data-v-ae5e2c72{align-items:center;justify-content:center}.flex-column.data-v-ae5e2c72{flex-direction:column;align-items:center}.flex-middle.data-v-ae5e2c72{align-items:center}.font-20.data-v-ae5e2c72{font-size:20rpx}.tab-block.data-v-ae5e2c72{position:relative;position:fixed;bottom:0;z-index:999;background-size:contain;width:100vw;background-color:#fff;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.tab-block .tab-list.data-v-ae5e2c72{height:100rpx;padding:0;z-index:0}.tab-block .createModule.data-v-ae5e2c72{position:fixed;bottom:0;right:0;z-index:998;width:100vw}.tab-block .tab-list-default.data-v-ae5e2c72{background-color:#fff;border-top:1px #dddddd solid}.tab-block .tab-list-middle.data-v-ae5e2c72{position:relative;background-size:cover}.tab-block .list-item.data-v-ae5e2c72{flex:1}.tab-block .list-item .item-img-box.data-v-ae5e2c72{width:38rpx;height:38rpx;margin-bottom:9rpx;position:relative}.tab-block .list-item .item-img.data-v-ae5e2c72{width:38rpx;height:38rpx;color:red}.tab-block .mid-button.data-v-ae5e2c72{position:relative}.tab-block .mid-button .item-img-box.data-v-ae5e2c72{width:150rpx;height:150rpx;margin-bottom:9rpx;position:absolute;z-index:10;top:-104rpx}.tab-block .mid-button .item-img.data-v-ae5e2c72{width:150rpx;height:150rpx}.tab-block .mid-button .item-text.data-v-ae5e2c72{font-size:20rpx;position:absolute;z-index:1002;bottom:-40rpx;color:#393a41}.tab-block .tab-bar.data-v-ae5e2c72{height:30rpx;background-color:#fff}
|
||||
.flex.data-v-3fcabaeb{display:flex;flex-flow:row wrap}.flex-center.data-v-3fcabaeb{align-items:center;justify-content:center}.flex-column.data-v-3fcabaeb{flex-direction:column;align-items:center}.flex-middle.data-v-3fcabaeb{align-items:center}.font-20.data-v-3fcabaeb{font-size:20rpx}.tab-block.data-v-3fcabaeb{position:relative;position:fixed;bottom:0;z-index:999;background-size:contain;width:100vw;background-color:#fff;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.tab-block .tab-list.data-v-3fcabaeb{height:100rpx;padding:0;z-index:0}.tab-block .createModule.data-v-3fcabaeb{position:fixed;bottom:0;right:0;z-index:998;width:100vw}.tab-block .tab-list-default.data-v-3fcabaeb{background-color:#fff;border-top:1px #dddddd solid}.tab-block .tab-list-middle.data-v-3fcabaeb{position:relative;background-size:cover}.tab-block .list-item.data-v-3fcabaeb{flex:1}.tab-block .list-item .item-img-box.data-v-3fcabaeb{width:38rpx;height:38rpx;margin-bottom:9rpx;position:relative}.tab-block .list-item .item-img.data-v-3fcabaeb{width:38rpx;height:38rpx;color:red}.tab-block .mid-button.data-v-3fcabaeb{position:relative}.tab-block .mid-button .item-img-box.data-v-3fcabaeb{width:150rpx;height:150rpx;margin-bottom:9rpx;position:absolute;z-index:10;top:-104rpx}.tab-block .mid-button .item-img.data-v-3fcabaeb{width:150rpx;height:150rpx}.tab-block .mid-button .item-text.data-v-3fcabaeb{font-size:20rpx;position:absolute;z-index:1002;bottom:-40rpx;color:#393a41}.tab-block .tab-bar.data-v-3fcabaeb{height:30rpx;background-color:#fff}
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const t=require("../../common/vendor.js"),e={data:()=>({title:"Hello"}),onLoad(){},methods:{},components:{tabBar:()=>"../../components/tabBar/tabBar.js"}};if(!Array){t.resolveComponent("tabBar")()}Math;const o=t._export_sfc(e,[["render",function(t,e,o,a,r,n){return{}}],["__scopeId","data-v-1070223a"]]);wx.createPage(o);
|
||||
"use strict";const e=require("../../common/vendor.js"),t={data:()=>({title:"Hello"}),onLoad(){},methods:{},components:{tabBar:()=>"../../components/tabBar/tabBar.js"}};if(!Array){e.resolveComponent("tabBar")()}Math;const a=e._export_sfc(t,[["render",function(t,a,o,r,n,s){return{a:e.p({tabIndex:1})}}],["__scopeId","data-v-7e9885a0"]]);wx.createPage(a);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="forum data-v-1070223a"><view class="bg data-v-1070223a"><image class="bgImg data-v-1070223a" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="title data-v-1070223a">论坛</view></view><view class="tabBar data-v-1070223a"><tab-bar class="data-v-1070223a" u-i="1070223a-0" bind:__l="__l"></tab-bar></view>
|
||||
<view class="forum data-v-7e9885a0"><view class="bg data-v-7e9885a0"><image class="bgImg data-v-7e9885a0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="title data-v-7e9885a0">论坛</view></view><view class="tabBar data-v-7e9885a0"><tab-bar wx:if="{{a}}" class="data-v-7e9885a0" u-i="7e9885a0-0" bind:__l="__l" u-p="{{a}}"></tab-bar></view>
|
||||
@@ -1 +1 @@
|
||||
.bg.data-v-1070223a{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-1070223a{width:100%;height:100%}.title.data-v-1070223a{position:absolute;top:120rpx;left:345rpx;font-size:34rpx;color:#100e0f;font-weight:700}
|
||||
.bg.data-v-7e9885a0{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-7e9885a0{width:100%;height:100%}.title.data-v-7e9885a0{position:absolute;top:120rpx;left:345rpx;font-size:34rpx;color:#100e0f;font-weight:700}
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),t=require("../../components/TUILogin.js"),i=require("../../components/request.js"),s=require("../../components/formatDate.js"),o=require("../../stores/counter.js").useCounterStore(),a={inject:["$global"],data:()=>({info:{},myuserSig:"",chatInfo:{},page:0,size:10,list:[],detailsdata:{},triggered:!1,RealTimePklist:[],MakeAppointmentPKlist:[],listtype:1}),mounted(){this.pkList({type:2}),this.pkList({type:1})},onLoad(){e.index.getStorage({key:"userinfo",success:i=>{this.info=i.data,o.$patch({myitem:this.info}),e.index.getStorage({key:"myuserSig",success:i=>{this.myuserSig=i.data,e.index.getStorage({key:"chatInfo",success:e=>{this.chatInfo=e.data,t.TUIlogin(this.chatInfo.appId,this.info.id,this.myuserSig.userSig)}})}})}}),setTimeout((()=>{e.index.switchTab({url:"/pages/Home/Home"})}),1e3)},methods:{goMakeAppointmentPK(){this.listtype=1,this.list=this.MakeAppointmentPKlist},goRealTimePk(){this.listtype=2,this.list=this.RealTimePklist},goAdvertisement(){e.index.navigateTo({url:"/pages/pkDetail/pkDetail"})},onRefresherRefresh(){this.page=0,this.list=[],1===this.listtype?this.MakeAppointmentPKlist=[]:this.RealTimePklist=[],this.triggered=!0,this.pkList({type:this.listtype})},async goDetail(t){e.index.showLoading({title:"加载中...",mask:!0}),console.log("id",t.id);const s=await i.request({url:"pk/pkInfoDetail",method:"POST",data:{id:t.id},userInfo:!0});console.log("res",s),this.detailsdata=s.data,200===s.code?0!==s.data.length?(e.index.hideLoading(),console.log("res.data",s.data),e.index.navigateTo({url:"/pages/pkDetail/pkDetail",success:e=>{e.eventChannel.emit("itemDetail",{item:this.detailsdata})}})):(e.index.hideLoading(),this.openPopupQuantity()):(e.index.hideLoading(),e.index.showToast({title:"加载失败",icon:"none",duration:2e3}))},formatDate:s.formatDate,async pkList(e){const t=await i.request({url:"pk/pkList",method:"POST",data:{status:0,page:this.page,size:this.size,condition:e},userInfo:!1});console.log(t),200===t.code&&(this.triggered=!1,1===e.type?(this.MakeAppointmentPKlist.push(...t.data),e.type==this.listtype&&(this.list=this.MakeAppointmentPKlist)):(this.RealTimePklist.push(...t.data),e.type==this.listtype&&(this.list=this.RealTimePklist)))}},onScrollToLower(){this.page++,this.pkList({type:this.listtype})},components:{topNavigation:()=>"../../components/topNavigation/topNavigation.js",Advertisement:()=>"../../components/Advertisement/Advertisement.js",tabBar:()=>"../../components/tabBar/tabBar.js"}};if(!Array){(e.resolveComponent("top-navigation")+e.resolveComponent("advertisement")+e.resolveComponent("uni-card")+e.resolveComponent("tabBar"))()}Math;const n=e._export_sfc(a,[["render",function(t,i,s,o,a,n){return e.e({a:e.o$1(n.goRealTimePk),b:e.o$1(n.goMakeAppointmentPK),c:e.o$1(((...e)=>n.goAdvertisement&&n.goAdvertisement(...e))),d:0!==a.list.length},0!==a.list.length?{e:e.f(a.list,((t,i,s)=>e.e({a:t.anchorIcon,b:e.t(t.anchorId),c:"2"===t.sex},(t.sex,{}),{d:e.t("1"===t.sex?"男":"女"),e:"1"===t.sex?1:"",f:"2"===t.sex?1:"",g:e.t(n.formatDate(t.pkTime)),h:e.t(t.coin+"K"),i:e.o$1((e=>n.goDetail(t))),j:"551e1e93-2-"+s})))}:{},{f:0===a.list.length},(a.list.length,{}),{g:e.o$1(((...e)=>n.onRefresherRefresh&&n.onRefresherRefresh(...e))),h:e.o$1(((...e)=>t.onScrollToLower&&t.onScrollToLower(...e))),i:a.triggered})}],["__scopeId","data-v-551e1e93"]]);wx.createPage(n);
|
||||
"use strict";const e=require("../../common/vendor.js"),t=require("../../components/TUILogin.js"),i=require("../../components/request.js"),s=require("../../components/formatDate.js"),o=require("../../stores/counter.js").useCounterStore(),a={inject:["$global"],data:()=>({info:{},myuserSig:"",chatInfo:{},page:0,size:10,list:[],detailsdata:{},triggered:!1,RealTimePklist:[],MakeAppointmentPKlist:[],listtype:1}),mounted(){this.pkList({type:2}),this.pkList({type:1})},onLoad(){e.index.getStorage({key:"userinfo",success:i=>{this.info=i.data,o.$patch({myitem:this.info}),e.index.getStorage({key:"myuserSig",success:i=>{this.myuserSig=i.data,e.index.getStorage({key:"chatInfo",success:e=>{this.chatInfo=e.data,t.TUIlogin(this.chatInfo.appId,this.info.id,this.myuserSig.userSig)}})}})}}),setTimeout((()=>{e.index.switchTab({url:"/pages/Home/Home"})}),1e3)},methods:{goMakeAppointmentPK(){this.listtype=1,this.list=this.MakeAppointmentPKlist},goRealTimePk(){this.listtype=2,this.list=this.RealTimePklist},goAdvertisement(){e.index.navigateTo({url:"/pages/pkDetail/pkDetail"})},onRefresherRefresh(){this.page=0,this.list=[],1===this.listtype?this.MakeAppointmentPKlist=[]:this.RealTimePklist=[],this.triggered=!0,this.pkList({type:this.listtype})},async goDetail(t){e.index.showLoading({title:"加载中...",mask:!0}),console.log("id",t.id,this.info.id);const s=await i.request({url:"pk/pkInfoDetail",method:"POST",data:{id:t.id,userId:this.info.id},userInfo:!0});console.log("res",s),this.detailsdata=s.data,200===s.code?0!==s.data.length?(e.index.hideLoading(),console.log("res.data",s.data),e.index.navigateTo({url:"/pages/pkDetail/pkDetail",success:e=>{e.eventChannel.emit("itemDetail",{item:this.detailsdata})}})):(e.index.hideLoading(),this.openPopupQuantity()):(e.index.hideLoading(),e.index.showToast({title:"加载失败",icon:"none",duration:2e3}))},formatDate:s.formatDate,async pkList(e){const t=await i.request({url:"pk/pkList",method:"POST",data:{status:0,page:this.page,size:this.size,condition:e,userId:this.info.id},userInfo:!1});console.log(t),200===t.code&&(this.triggered=!1,1===e.type?(this.MakeAppointmentPKlist.push(...t.data),e.type==this.listtype&&(this.list=this.MakeAppointmentPKlist)):(this.RealTimePklist.push(...t.data),e.type==this.listtype&&(this.list=this.RealTimePklist)))}},onScrollToLower(){this.page++,this.pkList({type:this.listtype})},components:{topNavigation:()=>"../../components/topNavigation/topNavigation.js",Advertisement:()=>"../../components/Advertisement/Advertisement.js",tabBar:()=>"../../components/tabBar/tabBar.js"}};if(!Array){(e.resolveComponent("top-navigation")+e.resolveComponent("advertisement")+e.resolveComponent("uni-card")+e.resolveComponent("tabBar"))()}Math;const n=e._export_sfc(a,[["render",function(t,i,s,o,a,n){return e.e({a:e.o$1(n.goRealTimePk),b:e.o$1(n.goMakeAppointmentPK),c:e.o$1(((...e)=>n.goAdvertisement&&n.goAdvertisement(...e))),d:0!==a.list.length},0!==a.list.length?{e:e.f(a.list,((t,i,s)=>e.e({a:t.anchorIcon,b:e.t(t.disPlayId),c:"2"===t.sex},(t.sex,{}),{d:e.t("1"===t.sex?"男":"女"),e:"1"===t.sex?1:"",f:"2"===t.sex?1:"",g:e.t(n.formatDate(t.pkTime)),h:e.t(t.coin+"K"),i:e.o$1((e=>n.goDetail(t)),i),j:i,k:"afa23f9e-2-"+s})))}:{},{f:0===a.list.length},(a.list.length,{}),{g:e.o$1(((...e)=>n.onRefresherRefresh&&n.onRefresherRefresh(...e))),h:e.o$1(((...e)=>t.onScrollToLower&&t.onScrollToLower(...e))),i:a.triggered,j:e.p({tabIndex:0})})}],["__scopeId","data-v-afa23f9e"]]);wx.createPage(n);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="page data-v-551e1e93"><image src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" class="HomeBackground data-v-551e1e93"></image></view><view class="top-navigation-container data-v-551e1e93"><top-navigation class="data-v-551e1e93" bindRealTimePk="{{a}}" bindMakeAppointmentPK="{{b}}" u-i="551e1e93-0" bind:__l="__l"></top-navigation></view><view class="Advertisement data-v-551e1e93" bindtap="{{c}}"><advertisement class="data-v-551e1e93" u-i="551e1e93-1" bind:__l="__l"></advertisement></view><view class="contentList data-v-551e1e93"><scroll-view scroll-y="true" class="scroll data-v-551e1e93" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{g}}" lower-threshold="100" bindscrolltolower="{{h}}" refresher-triggered="{{i}}"><block wx:if="{{d}}"><uni-card wx:for="{{e}}" wx:for-item="item" class="data-v-551e1e93" u-s="{{['d']}}" u-i="{{item.j}}" bind:__l="__l"><view class="content-list data-v-551e1e93" bindtap="{{item.i}}"><image class="headShot data-v-551e1e93" src="{{item.a}}" mode="scaleToFill"/><view class="content-list-title data-v-551e1e93"><view class="cardname data-v-551e1e93">{{item.b}}</view><view class="content-list-info data-v-551e1e93"><view class="{{['data-v-551e1e93', item.e && 'Gendermale', item.f && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-551e1e93" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/><image wx:else class="Genderimg data-v-551e1e93" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/><view class="age data-v-551e1e93">{{item.d}}</view></view><view class="RoomID data-v-551e1e93">PK时间: {{item.g}}</view><view class="Charm data-v-551e1e93">金币:</view><view class="charmValue data-v-551e1e93">{{item.h}}</view></view></view></view></uni-card></block><view wx:if="{{f}}" class="no-content data-v-551e1e93">暂无内容</view></scroll-view></view><view class="tabBar data-v-551e1e93"><tab-bar class="data-v-551e1e93" u-i="551e1e93-3" bind:__l="__l"></tab-bar></view>
|
||||
<view class="page data-v-afa23f9e"><image src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" class="HomeBackground data-v-afa23f9e"></image></view><view class="top-navigation-container data-v-afa23f9e"><top-navigation class="data-v-afa23f9e" bindRealTimePk="{{a}}" bindMakeAppointmentPK="{{b}}" u-i="afa23f9e-0" bind:__l="__l"></top-navigation></view><view class="Advertisement data-v-afa23f9e" bindtap="{{c}}"><advertisement class="data-v-afa23f9e" u-i="afa23f9e-1" bind:__l="__l"></advertisement></view><view class="contentList data-v-afa23f9e"><scroll-view scroll-y="true" class="scroll data-v-afa23f9e" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{g}}" lower-threshold="100" bindscrolltolower="{{h}}" refresher-triggered="{{i}}"><block wx:if="{{d}}"><uni-card wx:for="{{e}}" wx:for-item="item" wx:key="j" class="data-v-afa23f9e" u-s="{{['d']}}" u-i="{{item.k}}" bind:__l="__l"><view class="content-list data-v-afa23f9e" bindtap="{{item.i}}"><image class="headShot data-v-afa23f9e" src="{{item.a}}" mode="scaleToFill"/><view class="content-list-title data-v-afa23f9e"><view class="cardname data-v-afa23f9e">{{item.b}}</view><view class="content-list-info data-v-afa23f9e"><view class="{{['data-v-afa23f9e', item.e && 'Gendermale', item.f && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-afa23f9e" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/><image wx:else class="Genderimg data-v-afa23f9e" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/><view class="age data-v-afa23f9e">{{item.d}}</view></view><view class="RoomID data-v-afa23f9e">PK时间: {{item.g}}</view><view class="Charm data-v-afa23f9e">金币:</view><view class="charmValue data-v-afa23f9e">{{item.h}}</view></view></view></view></uni-card></block><view wx:if="{{f}}" class="no-content data-v-afa23f9e">暂无内容</view></scroll-view></view><view class="tabBar data-v-afa23f9e"><tab-bar wx:if="{{j}}" class="data-v-afa23f9e" u-i="afa23f9e-3" bind:__l="__l" u-p="{{j}}"></tab-bar></view>
|
||||
@@ -1 +1 @@
|
||||
.page.data-v-551e1e93{position:relative;width:750rpx;height:1620rpx}.HomeBackground.data-v-551e1e93{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1}.top-navigation-container.data-v-551e1e93{position:fixed;top:160rpx;left:0;width:100%;height:114.5rpx}.Advertisement.data-v-551e1e93{position:fixed;top:300rpx;left:0;width:100%;height:100rpx;z-index:100}.contentList.data-v-551e1e93{position:fixed;top:412rpx;left:0;bottom:114.5rpx;width:100%}.scroll.data-v-551e1e93{height:90%;display:flex;flex-direction:column;justify-content:center;align-items:center}.content-list.data-v-551e1e93{display:flex;align-items:center;width:712rpx;height:161rpx;background:#fff;border-radius:15rpx;margin-bottom:12rpx;margin-left:20rpx}.headShot.data-v-551e1e93{width:101rpx;height:101rpx;border-radius:50rpx;margin-left:30rpx;margin-right:33rpx}.content-list-info.data-v-551e1e93{display:flex;align-items:center}.cardname.data-v-551e1e93{font-size:31rpx;color:#161616;line-height:38rpx}.Genderimg.data-v-551e1e93{width:15rpx;height:15rpx;margin-left:10rpx;margin-right:10rpx}.age.data-v-551e1e93{color:#fff;font-size:14rpx}.Gendermale.data-v-551e1e93{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.Genderfemale.data-v-551e1e93{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.RoomID.data-v-551e1e93{font-size:23rpx;color:#a3a3a3;line-height:38rpx}.Charm.data-v-551e1e93{font-size:23rpx;color:#a3a3a3;line-height:38rpx;margin-right:12rpx;margin-left:20rpx}.charmValue.data-v-551e1e93{font-size:23rpx;color:#161616;line-height:38rpx;font-weight:600}.no-content.data-v-551e1e93{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:28rpx;color:#a3a3a3;line-height:40rpx;text-align:center}
|
||||
.page.data-v-afa23f9e{position:relative;width:750rpx;height:1620rpx}.HomeBackground.data-v-afa23f9e{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1}.top-navigation-container.data-v-afa23f9e{position:fixed;top:160rpx;left:0;width:100%;height:114.5rpx}.Advertisement.data-v-afa23f9e{position:fixed;top:300rpx;left:0;width:100%;height:100rpx;z-index:100}.contentList.data-v-afa23f9e{position:fixed;top:412rpx;left:0;bottom:114.5rpx;width:100%}.scroll.data-v-afa23f9e{height:90%;display:flex;flex-direction:column;justify-content:center;align-items:center}.content-list.data-v-afa23f9e{display:flex;align-items:center;width:712rpx;height:161rpx;background:#fff;border-radius:15rpx;margin-bottom:12rpx;margin-left:20rpx}.headShot.data-v-afa23f9e{width:101rpx;height:101rpx;border-radius:50rpx;margin-left:30rpx;margin-right:33rpx}.content-list-info.data-v-afa23f9e{display:flex;align-items:center}.cardname.data-v-afa23f9e{font-size:31rpx;color:#161616;line-height:38rpx}.Genderimg.data-v-afa23f9e{width:15rpx;height:15rpx;margin-left:10rpx;margin-right:10rpx}.age.data-v-afa23f9e{color:#fff;font-size:14rpx}.Gendermale.data-v-afa23f9e{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.Genderfemale.data-v-afa23f9e{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.RoomID.data-v-afa23f9e{font-size:23rpx;color:#a3a3a3;line-height:38rpx}.Charm.data-v-afa23f9e{font-size:23rpx;color:#a3a3a3;line-height:38rpx;margin-right:12rpx;margin-left:20rpx}.charmValue.data-v-afa23f9e{font-size:23rpx;color:#161616;line-height:38rpx;font-weight:600}.no-content.data-v-afa23f9e{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:28rpx;color:#a3a3a3;line-height:40rpx;text-align:center}
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const o=require("../../common/vendor.js"),e=require("../../components/request.js"),t=require("../../components/formatDate.js"),n=require("../../components/TimeFormatting.js"),a={data:()=>({userinfo:{},pkInformationdata:[],myPkRecorddata:[]}),onShow(){o.index.getStorage({key:"userinfo",success:o=>{this.userinfo=o.data,console.log(this.userinfo),this.getpkInformation(),this.getmyPkRecord()}})},methods:{formatDate:t.formatDate,TimeFormatting:n.TimeFormatting,getpkInformation(){e.request({url:"user/queryMyAllPkData",method:"POST",data:{userId:this.userinfo.id,page:0,size:4},userInfo:!0}).then((o=>{200==o.code?(this.pkInformationdata=o.data,console.log(this.pkInformationdata)):console.log(o.msg)}))},getmyPkRecord(){e.request({url:"user/handlePkInfo",method:"POST",data:{type:1,userId:this.userinfo.id,page:0,size:4},userInfo:!1}).then((o=>{200==o.code?(this.myPkRecorddata=o.data,console.log(this.myPkRecorddata)):console.log(o.msg)}))},pkInformation(){o.index.navigateTo({url:"/pages/Mine/minecomponents/pkInformation"})},pkRecord(){o.index.navigateTo({url:"/pages/Mine/minecomponents/pkRecord"})},contact(){o.index.navigateTo({url:"/pages/Mine/minecomponents/contact"})},goSetting(){o.index.navigateTo({url:"/pages/Setting/Setting"})},serviceProtocol(){o.index.navigateTo({url:"/pages/Mine/minecomponents/serviceProtocol"})},logout(){o.index.clearStorage(),o.A.logout,o.index.reLaunch({url:"/pages/login/login"})}},components:{tabBar:()=>"../../components/tabBar/tabBar.js"}};if(!Array){o.resolveComponent("tabBar")()}Math;const r=o._export_sfc(a,[["render",function(e,t,n,a,r,i){return o.e({a:r.userinfo.headerIcon,b:o.t(r.userinfo.nickName),c:o.o$1(((...o)=>i.goSetting&&i.goSetting(...o))),d:o.o$1(((...o)=>i.pkInformation&&i.pkInformation(...o))),e:0!==r.pkInformationdata.length},0!==r.pkInformationdata.length?{f:o.f(r.pkInformationdata,((e,t,n)=>({a:e.anchorIcon,b:o.t(i.formatDate(e.pkTime)),c:o.t(e.coin),d:t})))}:{},{g:0===r.pkInformationdata.length},(r.pkInformationdata.length,{}),{h:o.o$1(((...o)=>i.pkRecord&&i.pkRecord(...o))),i:0!==r.myPkRecorddata.length},0!==r.myPkRecorddata.length?{j:o.f(r.myPkRecorddata,((e,t,n)=>o.e({a:e.anchorIconA,b:e.winnerAnchorId!==e.anchorIdA},(e.winnerAnchorId!==e.anchorIdA||(e.winnerAnchorId,e.anchorIdA),{}),{c:e.winnerAnchorId===e.anchorIdA,d:o.t(e.pkNumber),e:o.t(i.TimeFormatting(e.pkTime)),f:t})))}:{},{k:0===r.myPkRecorddata.length},(r.myPkRecorddata.length,{}),{l:o.o$1(((...o)=>i.contact&&i.contact(...o))),m:o.o$1(((...o)=>i.serviceProtocol&&i.serviceProtocol(...o))),n:o.o$1(((...o)=>i.logout&&i.logout(...o)))})}],["__scopeId","data-v-d3016b18"]]);wx.createPage(r);
|
||||
"use strict";const o=require("../../common/vendor.js"),e=require("../../components/request.js"),t=require("../../components/formatDate.js"),n=require("../../components/TimeFormatting.js"),a={data:()=>({userinfo:{},pkInformationdata:[],myPkRecorddata:[]}),onShow(){o.index.getStorage({key:"userinfo",success:o=>{this.userinfo=o.data,console.log(this.userinfo),this.getpkInformation(),this.getmyPkRecord()}})},methods:{formatDate:t.formatDate,TimeFormatting:n.TimeFormatting,getpkInformation(){e.request({url:"user/queryMyAllPkData",method:"POST",data:{userId:this.userinfo.id,page:0,size:4},userInfo:!0}).then((o=>{200==o.code?(this.pkInformationdata=o.data,console.log(this.pkInformationdata)):console.log(o.msg)}))},getmyPkRecord(){e.request({url:"user/handlePkInfo",method:"POST",data:{type:1,userId:this.userinfo.id,page:0,size:4},userInfo:!1}).then((o=>{200==o.code?(this.myPkRecorddata=o.data,console.log(this.myPkRecorddata)):console.log(o.msg)}))},pkInformation(){o.index.navigateTo({url:"/pages/Mine/minecomponents/pkInformation"})},pkRecord(){o.index.navigateTo({url:"/pages/Mine/minecomponents/pkRecord"})},contact(){o.index.navigateTo({url:"/pages/Mine/minecomponents/contact"})},goSetting(){o.index.navigateTo({url:"/pages/Setting/Setting"})},serviceProtocol(){o.index.navigateTo({url:"/pages/Mine/minecomponents/serviceProtocol"})},logout(){o.index.clearStorage(),o.A.logout,o.index.reLaunch({url:"/pages/login/login"})}},components:{tabBar:()=>"../../components/tabBar/tabBar.js"}};if(!Array){o.resolveComponent("tabBar")()}Math;const r=o._export_sfc(a,[["render",function(e,t,n,a,r,i){return o.e({a:r.userinfo.headerIcon,b:o.t(r.userinfo.nickName),c:o.o$1(((...o)=>i.goSetting&&i.goSetting(...o))),d:o.o$1(((...o)=>i.pkInformation&&i.pkInformation(...o))),e:0!==r.pkInformationdata.length},0!==r.pkInformationdata.length?{f:o.f(r.pkInformationdata,((e,t,n)=>({a:e.anchorIcon,b:o.t(i.formatDate(e.pkTime)),c:o.t(e.coin),d:t})))}:{},{g:0===r.pkInformationdata.length},(r.pkInformationdata.length,{}),{h:o.o$1(((...o)=>i.pkRecord&&i.pkRecord(...o))),i:0!==r.myPkRecorddata.length},0!==r.myPkRecorddata.length?{j:o.f(r.myPkRecorddata,((e,t,n)=>o.e({a:e.anchorIconA,b:e.winnerAnchorId!==e.anchorIdA},(e.winnerAnchorId!==e.anchorIdA||(e.winnerAnchorId,e.anchorIdA),{}),{c:e.winnerAnchorId===e.anchorIdA,d:o.t(e.pkNumber),e:o.t(i.TimeFormatting(e.pkTime)),f:t})))}:{},{k:0===r.myPkRecorddata.length},(r.myPkRecorddata.length,{}),{l:o.o$1(((...o)=>i.contact&&i.contact(...o))),m:o.o$1(((...o)=>i.serviceProtocol&&i.serviceProtocol(...o))),n:o.o$1(((...o)=>i.logout&&i.logout(...o))),o:o.p({tabIndex:4})})}],["__scopeId","data-v-3f47806b"]]);wx.createPage(r);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="container data-v-d3016b18"><view class="bg data-v-d3016b18"><image class="bgImg data-v-d3016b18" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="PersonalInformation data-v-d3016b18"><view class="header data-v-d3016b18"><image src="{{a}}" style="width:144.5rpx;height:144.5rpx;border-radius:72.25rpx" mode="scaleToFill" class="headerIcon data-v-d3016b18"/></view><view class="data-v-d3016b18"><view class="name data-v-d3016b18">{{b}}</view></view><view class="Settings data-v-d3016b18" bindtap="{{c}}"><image class="SettingsIcon data-v-d3016b18" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Settings.png" mode="scaleToFill"/></view></view><view class="content data-v-d3016b18"><view class="PKInformation data-v-d3016b18"><view class="title data-v-d3016b18"><view class="titleText data-v-d3016b18">PK信息</view><view class="titleLine data-v-d3016b18"></view><view class="titleMore data-v-d3016b18" bindtap="{{d}}">更多PK信息<image class="data-v-d3016b18" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/More.png" mode="scaleToFill"/></view></view><view class="card data-v-d3016b18"><block wx:if="{{e}}"><view wx:for="{{f}}" wx:for-item="item" wx:key="d" class="cardContent data-v-d3016b18"><view class="cardImg data-v-d3016b18"><image class="data-v-d3016b18" src="{{item.a}}" style="width:80rpx;height:80rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Time data-v-d3016b18">{{item.b}}</view><view class="gold data-v-d3016b18">{{item.c}}K</view></view></block><view wx:if="{{g}}" class="no-content data-v-d3016b18">暂无内容</view></view></view><view class="myPkRecord data-v-d3016b18"><view class="title data-v-d3016b18"><view class="titleText data-v-d3016b18">我的PK记录</view><view class="titleLine data-v-d3016b18"></view><view class="myPkRecordMore data-v-d3016b18" bindtap="{{h}}">更多PK记录<image class="data-v-d3016b18" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/More.png" mode="scaleToFill"/></view></view><view class="card data-v-d3016b18"><block wx:if="{{i}}"><view wx:for="{{j}}" wx:for-item="item" wx:key="f" class="cardContent data-v-d3016b18"><view class="cardImg data-v-d3016b18"><image class="data-v-d3016b18" style="width:80rpx;height:80rpx;border-radius:72.25rpx" src="{{item.a}}" mode="scaleToFill"/></view><view wx:if="{{item.b}}" class="Failure data-v-d3016b18"> 失败 </view><view wx:elif="{{item.c}}" class="Result data-v-d3016b18"> 胜利 </view><view class="Session data-v-d3016b18"> 共{{item.d}}场 </view><view class="Time data-v-d3016b18">{{item.e}}</view></view></block><view wx:if="{{k}}" class="no-content data-v-d3016b18">暂无内容</view></view></view><view class="PKInformation data-v-d3016b18"><view class="title data-v-d3016b18"><view class="titleText data-v-d3016b18">专属客服</view><view class="titleLine data-v-d3016b18"></view></view></view><view class="card data-v-d3016b18"><view class="service data-v-d3016b18" bindtap="{{l}}"><image class="data-v-d3016b18" style="width:48.28rpx;height:48.09rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/service.png" mode="scaleToFill"/><view class="cardtext data-v-d3016b18">联系客服</view></view><view class="service data-v-d3016b18" bindtap="{{m}}"><image class="data-v-d3016b18" style="width:48.28rpx;height:48.09rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Agreement.png" mode="scaleToFill"/><view class="cardtext data-v-d3016b18">服务协议</view></view><view class="service data-v-d3016b18" bindtap="{{n}}"><image class="data-v-d3016b18" style="width:48.28rpx;height:48.09rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/logout.png" mode="scaleToFill"/><view class="cardtext data-v-d3016b18">退出登录</view></view></view></view></view><view class="copyright data-v-d3016b18">版权所有 © 2025 ...................</view><view class="tabBar data-v-d3016b18"><tab-bar class="data-v-d3016b18" u-i="d3016b18-0" bind:__l="__l"></tab-bar></view>
|
||||
<view class="container data-v-3f47806b"><view class="bg data-v-3f47806b"><image class="bgImg data-v-3f47806b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="PersonalInformation data-v-3f47806b"><view class="header data-v-3f47806b"><image src="{{a}}" style="width:144.5rpx;height:144.5rpx;border-radius:72.25rpx" mode="scaleToFill" class="headerIcon data-v-3f47806b"/></view><view class="data-v-3f47806b"><view class="name data-v-3f47806b">{{b}}</view></view><view class="Settings data-v-3f47806b" bindtap="{{c}}"><image class="SettingsIcon data-v-3f47806b" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Settings.png" mode="scaleToFill"/></view></view><view class="content data-v-3f47806b"><view class="PKInformation data-v-3f47806b"><view class="title data-v-3f47806b"><view class="titleText data-v-3f47806b">PK信息</view><view class="titleLine data-v-3f47806b"></view><view class="titleMore data-v-3f47806b" bindtap="{{d}}">更多PK信息<image class="data-v-3f47806b" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/More.png" mode="scaleToFill"/></view></view><view class="card data-v-3f47806b"><block wx:if="{{e}}"><view wx:for="{{f}}" wx:for-item="item" wx:key="d" class="cardContent data-v-3f47806b"><view class="cardImg data-v-3f47806b"><image class="data-v-3f47806b" src="{{item.a}}" style="width:80rpx;height:80rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Time data-v-3f47806b">{{item.b}}</view><view class="gold data-v-3f47806b">{{item.c}}K</view></view></block><view wx:if="{{g}}" class="no-content data-v-3f47806b">暂无内容</view></view></view><view class="myPkRecord data-v-3f47806b"><view class="title data-v-3f47806b"><view class="titleText data-v-3f47806b">我的PK记录</view><view class="titleLine data-v-3f47806b"></view><view class="myPkRecordMore data-v-3f47806b" bindtap="{{h}}">更多PK记录<image class="data-v-3f47806b" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/More.png" mode="scaleToFill"/></view></view><view class="card data-v-3f47806b"><block wx:if="{{i}}"><view wx:for="{{j}}" wx:for-item="item" wx:key="f" class="cardContent data-v-3f47806b"><view class="cardImg data-v-3f47806b"><image class="data-v-3f47806b" style="width:80rpx;height:80rpx;border-radius:72.25rpx" src="{{item.a}}" mode="scaleToFill"/></view><view wx:if="{{item.b}}" class="Failure data-v-3f47806b"> 失败 </view><view wx:elif="{{item.c}}" class="Result data-v-3f47806b"> 胜利 </view><view class="Session data-v-3f47806b"> 共{{item.d}}场 </view><view class="Time data-v-3f47806b">{{item.e}}</view></view></block><view wx:if="{{k}}" class="no-content data-v-3f47806b">暂无内容</view></view></view><view class="PKInformation data-v-3f47806b"><view class="title data-v-3f47806b"><view class="titleText data-v-3f47806b">专属客服</view><view class="titleLine data-v-3f47806b"></view></view></view><view class="card data-v-3f47806b"><view class="service data-v-3f47806b" bindtap="{{l}}"><image class="data-v-3f47806b" style="width:48.28rpx;height:48.09rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/service.png" mode="scaleToFill"/><view class="cardtext data-v-3f47806b">联系客服</view></view><view class="service data-v-3f47806b" bindtap="{{m}}"><image class="data-v-3f47806b" style="width:48.28rpx;height:48.09rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Agreement.png" mode="scaleToFill"/><view class="cardtext data-v-3f47806b">服务协议</view></view><view class="service data-v-3f47806b" bindtap="{{n}}"><image class="data-v-3f47806b" style="width:48.28rpx;height:48.09rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/logout.png" mode="scaleToFill"/><view class="cardtext data-v-3f47806b">退出登录</view></view></view></view></view><view class="copyright data-v-3f47806b">版权所有 © 2025 ...................</view><view class="tabBar data-v-3f47806b"><tab-bar wx:if="{{o}}" class="data-v-3f47806b" u-i="3f47806b-0" bind:__l="__l" u-p="{{o}}"></tab-bar></view>
|
||||
@@ -1 +1 @@
|
||||
.bg.data-v-d3016b18{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-d3016b18{width:100%;height:100%}.PersonalInformation.data-v-d3016b18{position:absolute;top:150rpx;left:0;right:0;height:144.5rpx;display:flex;align-items:center}.header.data-v-d3016b18{width:144.5rpx;height:144.5rpx;border-radius:72.25rpx;background-color:#fff;margin-left:32.5rpx;margin-right:39.5rpx}.Settings.data-v-d3016b18{width:46rpx;height:46rpx;margin-left:360rpx}.SettingsIcon.data-v-d3016b18{width:100%;height:100%}.name.data-v-d3016b18{font-size:36.26rpx;font-weight:500;color:#161616}.content.data-v-d3016b18{position:absolute;top:294.5rpx;left:0;right:0;height:100%;display:flex;flex-direction:column;align-items:center}.PKInformation.data-v-d3016b18,.myPkRecord.data-v-d3016b18{margin-top:48.5rpx}.title.data-v-d3016b18{width:682rpx;height:33.4rpx;display:flex;align-items:center}.titleText.data-v-d3016b18{font-size:34.35rpx;font-weight:700;color:#100e0f}.titleLine.data-v-d3016b18{width:40.08rpx;height:14.31rpx;margin-left:-40rpx;margin-top:25rpx;border-radius:7.16rpx 0rpx 7.16rpx 7.16rpx;background-color:rgba(145,227,228,.545)}.titleMore.data-v-d3016b18{margin-left:400rpx;font-size:28.63rpx;color:#333}.myPkRecordMore.data-v-d3016b18{margin-left:330rpx;font-size:28.63rpx;color:#333}.card.data-v-d3016b18{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-d3016b18:first-child{margin-left:30rpx}.cardContent.data-v-d3016b18{width:100rpx;display:flex;flex-direction:column;justify-content:center;align-items:center;margin-left:83rpx}.cardImg.data-v-d3016b18{width:80rpx;height:80rpx;border-radius:40rpx;background-color:#cdcdcd}.Time.data-v-d3016b18,.gold.data-v-d3016b18{font-size:18rpx;text-align:center;margin-top:10rpx}.Failure.data-v-d3016b18{width:56.3rpx;height:29.58rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png);background-position-x:center;background-position-y:center;background-repeat:no-repeat;background-size:100% 100%;color:#fff;font-size:17.18rpx;text-align:center;line-height:29.58rpx;margin-top:-20rpx}.Result.data-v-d3016b18{width:56.3rpx;height:29.58rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png);background-position-x:center;background-position-y:center;background-repeat:no-repeat;background-size:100% 100%;color:#fff;font-size:17.18rpx;text-align:center;line-height:29.58rpx;margin-top:-20rpx}.Session.data-v-d3016b18{font-weight:700;font-size:18rpx;margin-top:10rpx}.service.data-v-d3016b18{width:200rpx;display:flex;flex-direction:column;justify-content:center;align-items:center}.cardtext.data-v-d3016b18{margin-top:20rpx;font-size:28.63rpx;color:#333;font-weight:400}.copyright.data-v-d3016b18{font-size:23rpx;color:#929292;text-align:center;position:fixed;bottom:250rpx;left:0;right:0;height:50rpx}.no-content.data-v-d3016b18{width:100%;height:100%;display:flex;justify-content:center;align-items:center;font-size:28.63rpx;color:#333}
|
||||
.bg.data-v-3f47806b{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-3f47806b{width:100%;height:100%}.PersonalInformation.data-v-3f47806b{position:absolute;top:150rpx;left:0;right:0;height:144.5rpx;display:flex;align-items:center}.header.data-v-3f47806b{width:144.5rpx;height:144.5rpx;border-radius:72.25rpx;background-color:#fff;margin-left:32.5rpx;margin-right:39.5rpx}.Settings.data-v-3f47806b{width:46rpx;height:46rpx;margin-left:30rpx}.SettingsIcon.data-v-3f47806b{width:100%;height:100%}.name.data-v-3f47806b{width:400rpx;font-size:36.26rpx;font-weight:500;color:#161616;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.content.data-v-3f47806b{position:absolute;top:294.5rpx;left:0;right:0;height:100%;display:flex;flex-direction:column;align-items:center}.PKInformation.data-v-3f47806b,.myPkRecord.data-v-3f47806b{margin-top:48.5rpx}.title.data-v-3f47806b{width:682rpx;height:33.4rpx;display:flex;align-items:center}.titleText.data-v-3f47806b{font-size:34.35rpx;font-weight:700;color:#100e0f}.titleLine.data-v-3f47806b{width:40.08rpx;height:14.31rpx;margin-left:-40rpx;margin-top:25rpx;border-radius:7.16rpx 0rpx 7.16rpx 7.16rpx;background-color:rgba(145,227,228,.545)}.titleMore.data-v-3f47806b{margin-left:400rpx;font-size:28.63rpx;color:#333}.myPkRecordMore.data-v-3f47806b{margin-left:330rpx;font-size:28.63rpx;color:#333}.card.data-v-3f47806b{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-3f47806b:first-child{margin-left:30rpx}.cardContent.data-v-3f47806b{width:100rpx;display:flex;flex-direction:column;justify-content:center;align-items:center;margin-left:83rpx}.cardImg.data-v-3f47806b{width:80rpx;height:80rpx;border-radius:40rpx;background-color:#cdcdcd}.Time.data-v-3f47806b,.gold.data-v-3f47806b{font-size:18rpx;text-align:center;margin-top:10rpx}.Failure.data-v-3f47806b{width:56.3rpx;height:29.58rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png);background-position-x:center;background-position-y:center;background-repeat:no-repeat;background-size:100% 100%;color:#fff;font-size:17.18rpx;text-align:center;line-height:29.58rpx;margin-top:-20rpx}.Result.data-v-3f47806b{width:56.3rpx;height:29.58rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png);background-position-x:center;background-position-y:center;background-repeat:no-repeat;background-size:100% 100%;color:#fff;font-size:17.18rpx;text-align:center;line-height:29.58rpx;margin-top:-20rpx}.Session.data-v-3f47806b{font-weight:700;font-size:18rpx;margin-top:10rpx}.service.data-v-3f47806b{width:200rpx;display:flex;flex-direction:column;justify-content:center;align-items:center}.cardtext.data-v-3f47806b{margin-top:20rpx;font-size:28.63rpx;color:#333;font-weight:400}.copyright.data-v-3f47806b{font-size:23rpx;color:#929292;text-align:center;position:fixed;bottom:250rpx;left:0;right:0;height:50rpx}.no-content.data-v-3f47806b{width:100%;height:100%;display:flex;justify-content:center;align-items:center;font-size:28.63rpx;color:#333}
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../components/request.js"),o=require("../../../components/formatDate.js"),s={data:()=>({pkList:[],userinfo:{},page:0,createModule:null,parentMessage:null,triggered:!1}),onLoad(){e.index.getStorage({key:"userinfo",success:e=>{this.userinfo=e.data,console.log(this.userinfo),this.getpkList()}})},mounted(){this.createModule=this.$refs.createModule},methods:{onRefresherRefresh(){this.page=0,this.pkList=[],this.getpkList(),this.triggered=!0},onScrollToLower(){this.page++,this.getpkList()},onRefresherRefres(){this.page=0,this.pkList=[],this.getpkList(),this.triggered=!0},onBack(){e.index.navigateBack({delta:1})},formatDate:o.formatDate,getpkList(){t.request({url:"user/queryMyAllPkData",method:"POST",data:{userId:this.userinfo.id,page:this.page,size:10},userInfo:!0}).then((e=>{200==e.code?(this.pkList.push(...e.data),console.log(this.pkList),this.triggered=!1):console.log(e.msg)}))},onRecompose(e){this.parentMessage=e,this.createModule.open()},onExpurgate(o){t.request({url:"pk/deletePkDataWithId",method:"POST",data:{id:o.id},userInfo:!0}).then((t=>{200==t.code?(e.index.showToast({title:"删除成功",icon:"none",duration:2e3}),this.getpkList()):console.log(t.msg)}))}},components:{Recompose:()=>"./recompose/recompose2.js"}};if(!Array){(e.resolveComponent("uni-card")+e.resolveComponent("Recompose"))()}const r=e._export_sfc(s,[["render",function(t,o,s,r,i,n){return{a:e.o$1(((...e)=>n.onBack&&n.onBack(...e))),b:e.f(i.pkList,((t,o,s)=>e.e({a:t.anchorIcon,b:e.t(t.anchorId),c:"2"===t.sex},(t.sex,{}),{d:e.t("1"===t.sex?"男":"女"),e:"1"===t.sex?1:"",f:"2"===t.sex?1:"",g:e.t(t.country),h:e.t(t.coin),i:e.t(n.formatDate(t.pkTime)),j:0===t.inviteStatus},0===t.inviteStatus?{k:e.o$1((e=>n.onRecompose(t)),o),l:e.o$1((e=>n.onExpurgate(t)),o)}:{},{m:o,n:"f9c08696-0-"+s}))),c:e.o$1(((...e)=>n.onRefresherRefresh&&n.onRefresherRefresh(...e))),d:e.o$1(((...e)=>n.onScrollToLower&&n.onScrollToLower(...e))),e:i.triggered,f:e.sr("createModule","f9c08696-1"),g:e.p({message:i.parentMessage})}}],["__scopeId","data-v-f9c08696"]]);wx.createPage(r);
|
||||
"use strict";const e=require("../../../common/vendor.js"),o=require("../../../components/request.js"),t=require("../../../components/formatDate.js"),s={data:()=>({pkList:[],userinfo:{},page:0,createModule:null,parentMessage:null,triggered:!1}),onLoad(){e.index.getStorage({key:"userinfo",success:e=>{this.userinfo=e.data,console.log(this.userinfo),this.getpkList()}})},mounted(){this.createModule=this.$refs.createModule},methods:{onRefresherRefresh(){this.page=0,this.pkList=[],this.getpkList(),this.triggered=!0},onScrollToLower(){this.page++,this.getpkList()},onBack(){e.index.navigateBack({delta:1})},formatDate:t.formatDate,getpkList(){o.request({url:"user/queryMyAllPkData",method:"POST",data:{userId:this.userinfo.id,page:this.page,size:10},userInfo:!0}).then((e=>{200==e.code?(this.pkList.push(...e.data),console.log(this.pkList),this.triggered=!1):console.log(e.msg)}))},onRecompose(e){this.parentMessage=e,this.createModule.open()},onExpurgate(t){o.request({url:"pk/deletePkDataWithId",method:"POST",data:{id:t.id},userInfo:!0}).then((o=>{200==o.code?(this.onRefresherRefresh(),e.index.showToast({title:"删除成功",icon:"none",duration:2e3})):console.log(o.msg)}))}},components:{Recompose:()=>"./recompose/recompose2.js"}};if(!Array){(e.resolveComponent("uni-card")+e.resolveComponent("Recompose"))()}const r=e._export_sfc(s,[["render",function(o,t,s,r,n,a){return{a:e.o$1(((...e)=>a.onBack&&a.onBack(...e))),b:e.f(n.pkList,((o,t,s)=>e.e({a:o.anchorIcon,b:e.t(o.anchorId),c:"2"===o.sex},(o.sex,{}),{d:e.t("1"===o.sex?"男":"女"),e:"1"===o.sex?1:"",f:"2"===o.sex?1:"",g:e.t(o.country),h:e.t(o.coin),i:e.t(a.formatDate(o.pkTime)),j:0===o.inviteStatus},0===o.inviteStatus?{k:e.o$1((e=>a.onRecompose(o)),t),l:e.o$1((e=>a.onExpurgate(o)),t)}:{},{m:t,n:"2a4e6146-0-"+s}))),c:e.o$1(((...e)=>a.onRefresherRefresh&&a.onRefresherRefresh(...e))),d:e.o$1(((...e)=>a.onScrollToLower&&a.onScrollToLower(...e))),e:n.triggered,f:e.sr("createModule","2a4e6146-1"),g:e.p({message:n.parentMessage})}}],["__scopeId","data-v-2a4e6146"]]);wx.createPage(r);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="pk-information data-v-f9c08696"><view class="bg data-v-f9c08696"><image class="bgImg data-v-f9c08696" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-f9c08696" bindtap="{{a}}"><image class="ReturnImg data-v-f9c08696" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-f9c08696">PK信息</view><view class="content data-v-f9c08696"><scroll-view scroll-y="true" class="scroll data-v-f9c08696" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{c}}" lower-threshold="100" bindscrolltolower="{{d}}" refresher-triggered="{{e}}"><uni-card wx:for="{{b}}" wx:for-item="item" wx:key="m" u-s="{{['d']}}" class="card data-v-f9c08696" u-i="{{item.n}}" bind:__l="__l"><view class="Profile data-v-f9c08696"><image class="data-v-f9c08696" src="{{item.a}}" style="width:89.12rpx;height:89.12rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Individual data-v-f9c08696"><view class="Name data-v-f9c08696">{{item.b}}</view><view class="Label data-v-f9c08696"><view class="data-v-f9c08696"><view class="{{['data-v-f9c08696', item.e && 'Gendermale', item.f && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-f9c08696" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/><image wx:else class="Genderimg data-v-f9c08696" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/><view class="age data-v-f9c08696">{{item.d}}</view></view></view><view class="state data-v-f9c08696">{{item.g}}</view><view class="species data-v-f9c08696"><image class="data-v-f9c08696" style="width:28.63rpx;height:28.63rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png" mode="scaleToFill"/><view class="species-text data-v-f9c08696">金币:</view><view class="species-num data-v-f9c08696">{{item.h}}K</view></view></view><view class="time data-v-f9c08696">PK时间:{{item.i}}</view></view><view wx:if="{{item.j}}" class="handle data-v-f9c08696"><view class="recompose data-v-f9c08696" bindtap="{{item.k}}"><image class="data-v-f9c08696" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/recompose.png" mode="scaleToFill"/></view><view class="expurgate data-v-f9c08696" bindtap="{{item.l}}"><image class="data-v-f9c08696" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/expurgate.png" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view><recompose wx:if="{{g}}" u-r="createModule" class="createModule r data-v-f9c08696" u-i="f9c08696-1" bind:__l="__l" u-p="{{g}}"></recompose>
|
||||
<view class="pk-information data-v-2a4e6146"><view class="bg data-v-2a4e6146"><image class="bgImg data-v-2a4e6146" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-2a4e6146" bindtap="{{a}}"><image class="ReturnImg data-v-2a4e6146" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-2a4e6146">PK信息</view><view class="content data-v-2a4e6146"><scroll-view scroll-y="true" class="scroll data-v-2a4e6146" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{c}}" lower-threshold="100" bindscrolltolower="{{d}}" refresher-triggered="{{e}}"><uni-card wx:for="{{b}}" wx:for-item="item" wx:key="m" u-s="{{['d']}}" class="card data-v-2a4e6146" u-i="{{item.n}}" bind:__l="__l"><view class="Profile data-v-2a4e6146"><image class="data-v-2a4e6146" src="{{item.a}}" style="width:89.12rpx;height:89.12rpx;border-radius:72.25rpx" mode="scaleToFill"/></view><view class="Individual data-v-2a4e6146"><view class="Name data-v-2a4e6146">{{item.b}}</view><view class="Label data-v-2a4e6146"><view class="data-v-2a4e6146"><view class="{{['data-v-2a4e6146', item.e && 'Gendermale', item.f && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-2a4e6146" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/><image wx:else class="Genderimg data-v-2a4e6146" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/><view class="age data-v-2a4e6146">{{item.d}}</view></view></view><view class="state data-v-2a4e6146">{{item.g}}</view><view class="species data-v-2a4e6146"><image class="data-v-2a4e6146" style="width:28.63rpx;height:28.63rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png" mode="scaleToFill"/><view class="species-text data-v-2a4e6146">金币:</view><view class="species-num data-v-2a4e6146">{{item.h}}K</view></view></view><view class="time data-v-2a4e6146">PK时间:{{item.i}}</view></view><view wx:if="{{item.j}}" class="handle data-v-2a4e6146"><view class="recompose data-v-2a4e6146" bindtap="{{item.k}}"><image class="data-v-2a4e6146" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/recompose.png" mode="scaleToFill"/></view><view class="expurgate data-v-2a4e6146" bindtap="{{item.l}}"><image class="data-v-2a4e6146" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/expurgate.png" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view><recompose wx:if="{{g}}" u-r="createModule" class="createModule r data-v-2a4e6146" u-i="2a4e6146-1" bind:__l="__l" u-p="{{g}}"></recompose>
|
||||
@@ -1 +1 @@
|
||||
.bg.data-v-f9c08696{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-f9c08696{width:100%;height:100%}.Return.data-v-f9c08696{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-f9c08696{position:absolute;top:120rpx;left:315rpx;font-size:34rpx;color:#100e0f;font-weight:500}.ReturnImg.data-v-f9c08696{width:100%;height:100%}.scroll.data-v-f9c08696{position:absolute;top:200rpx;left:0;right:0;height:1300rpx;width:100%}.card.data-v-f9c08696{width:695rpx;height:161rpx;background:#fff;border-radius:15rpx;display:flex;align-items:center;margin-left:30rpx;margin-top:11.5rpx}.Profile.data-v-f9c08696{width:89rpx;height:89rpx;border-radius:50rpx;background-color:#ccc;margin-left:27.5rpx}.Gendermale.data-v-f9c08696{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.Genderfemale.data-v-f9c08696{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.Individual.data-v-f9c08696{display:flex;flex-direction:column;justify-content:center;margin-left:37rpx}.Name.data-v-f9c08696{font-size:30.53rpx;color:#161616;font-weight:500}.time.data-v-f9c08696{margin-top:13rpx;font-size:23rpx;color:#a3a3a3}.state.data-v-f9c08696{height:30rpx;background:#f6f6f6;border-radius:14rpx;line-height:30rpx;font-size:17rpx;color:#666;padding:0 15rpx}.Label.data-v-f9c08696{margin-top:15rpx;display:flex}.age.data-v-f9c08696{font-size:17rpx;color:#fff;margin-left:10rpx}.Genderimg.data-v-f9c08696{width:14.22rpx;height:14.22rpx;margin-left:10rpx}.species.data-v-f9c08696{display:flex;margin-left:10rpx}.species-text.data-v-f9c08696{font-size:23rpx;color:#a3a3a3}.species-num.data-v-f9c08696{font-size:23rpx;color:#161616;font-weight:700}.handle.data-v-f9c08696{display:flex}.recompose.data-v-f9c08696{width:46rpx;height:46rpx;margin-left:90rpx}.expurgate.data-v-f9c08696{width:46rpx;height:46rpx;margin-left:40rpx}.createModule.data-v-f9c08696{position:fixed;bottom:0;right:0;z-index:998;width:100vw}
|
||||
.bg.data-v-2a4e6146{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-2a4e6146{width:100%;height:100%}.Return.data-v-2a4e6146{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-2a4e6146{position:absolute;top:120rpx;left:315rpx;font-size:34rpx;color:#100e0f;font-weight:500}.ReturnImg.data-v-2a4e6146{width:100%;height:100%}.scroll.data-v-2a4e6146{position:absolute;top:200rpx;left:0;right:0;height:1300rpx;width:100%}.card.data-v-2a4e6146{width:695rpx;height:161rpx;background:#fff;border-radius:15rpx;display:flex;align-items:center;margin-left:30rpx;margin-top:11.5rpx}.Profile.data-v-2a4e6146{width:89rpx;height:89rpx;border-radius:50rpx;background-color:#ccc;margin-left:27.5rpx}.Gendermale.data-v-2a4e6146{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.Genderfemale.data-v-2a4e6146{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.Individual.data-v-2a4e6146{display:flex;flex-direction:column;justify-content:center;margin-left:37rpx}.Name.data-v-2a4e6146{width:288.17rpx;font-size:30.53rpx;color:#161616;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.time.data-v-2a4e6146{margin-top:13rpx;font-size:23rpx;color:#a3a3a3}.state.data-v-2a4e6146{width:56.3rpx;height:30rpx;background:#f6f6f6;border-radius:14rpx;line-height:30rpx;font-size:17rpx;color:#666;padding:0 15rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.Label.data-v-2a4e6146{margin-top:15rpx;display:flex}.age.data-v-2a4e6146{font-size:17rpx;color:#fff;margin-left:10rpx}.Genderimg.data-v-2a4e6146{width:14.22rpx;height:14.22rpx;margin-left:10rpx}.species.data-v-2a4e6146{display:flex;margin-left:10rpx}.species-text.data-v-2a4e6146{font-size:23rpx;color:#a3a3a3}.species-num.data-v-2a4e6146{font-size:23rpx;color:#161616;font-weight:700}.handle.data-v-2a4e6146{display:flex}.recompose.data-v-2a4e6146{width:46rpx;height:46rpx;margin-left:90rpx}.expurgate.data-v-2a4e6146{width:46rpx;height:46rpx;margin-left:40rpx}.createModule.data-v-2a4e6146{position:fixed;bottom:0;right:0;z-index:998;width:100vw}
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../components/request.js"),o=require("../../../components/formatDate.js"),r={data:()=>({triggered:!1,current:1,buttonWidth:238.55,gap:0,slidetext:"我发布的PK",pkmyRecordlist:[],pkInvitationRecordlist:[],pkRecordlist:[],userinfo:{},page:0}),onLoad(){e.index.getStorage({key:"userinfo",success:e=>{this.userinfo=e.data,this.getPkRecordList(1),this.getPkRecordList(2)}})},computed:{sliderPosition(){const{current:e,buttonWidth:t,gap:o}=this;return 0+(t+o)*(e-1)+375}},methods:{onRefresherRefresh(){this.triggered=!0,this.page=0,this.getPkRecordList(this.current)},onScrollToLower(){this.page++,this.getPkRecordList(this.current)},onItemClick(t){e.index.navigateTo({url:"/pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords",success:e=>{e.eventChannel.emit("itemDetail",{item:t})}})},onBack(){e.index.navigateBack({delta:1})},formatDate:o.formatDate,getPkRecordList(e){t.request({url:"user/handlePkInfo",method:"POST",data:{type:e,userId:this.userinfo.id,page:this.page,size:10},userInfo:!0}).then((t=>{200===t.code?(this.triggered=!1,1===e?(this.pkmyRecordlist.push(...t.data),console.log(this.pkRecordlist),1===this.current&&(this.pkRecordlist=this.pkmyRecordlist)):(this.pkInvitationRecordlist.push(...t.data),console.log(this.pkInvitationRecordlist),2===this.current&&(this.pkRecordlist=this.pkInvitationRecordlist))):console.log(t.msg)}))},toggleActive(e){this.current=e,this.slidetext=1===e?"我发布的PK":"我邀请的PK",this.pkRecordlist=1===e?this.pkmyRecordlist:this.pkInvitationRecordlist}}};if(!Array){e.resolveComponent("uni-card")()}const i=e._export_sfc(r,[["render",function(t,o,r,i,s,n){return{a:e.o$1(((...e)=>n.onBack&&n.onBack(...e))),b:e.o$1((e=>n.toggleActive(1))),c:1===s.current?1:"",d:e.o$1((e=>n.toggleActive(2))),e:2===s.current?1:"",f:e.t(s.slidetext),g:n.sliderPosition+"rpx",h:e.f(s.pkRecordlist,((t,o,r)=>e.e({a:t.anchorIconA,b:t.winnerAnchorId==t.anchorIdA},(t.winnerAnchorId,t.anchorIdA,{}),{c:e.t(t.anchorIdA),d:e.t(n.formatDate(t.pkTime)),e:e.t(t.userAcoin),f:e.t(t.anchorIdB),g:e.t(n.formatDate(t.pkTime)),h:e.t(t.userBcoin),i:t.anchorIconB,j:t.winnerAnchorId==t.anchorIdB},(t.winnerAnchorId,t.anchorIdB,{}),{k:e.o$1((e=>n.onItemClick(t)),o),l:o,m:"3b88879f-0-"+r}))),i:e.o$1(((...e)=>n.onRefresherRefresh&&n.onRefresherRefresh(...e))),j:e.o$1(((...e)=>n.onScrollToLower&&n.onScrollToLower(...e))),k:s.triggered}}],["__scopeId","data-v-3b88879f"]]);wx.createPage(i);
|
||||
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../components/request.js"),o=require("../../../components/formatDate.js"),r={data:()=>({triggered:!1,current:1,buttonWidth:238.55,gap:0,slidetext:"我发布的PK",pkmyRecordlist:[],pkInvitationRecordlist:[],pkRecordlist:[],userinfo:{},page:0}),onLoad(){e.index.getStorage({key:"userinfo",success:e=>{this.userinfo=e.data,this.getPkRecordList(1),this.getPkRecordList(2)}})},computed:{sliderPosition(){const{current:e,buttonWidth:t,gap:o}=this;return 0+(t+o)*(e-1)+375}},methods:{onRefresherRefresh(){this.triggered=!0,this.page=0,this.getPkRecordList(this.current)},onScrollToLower(){this.page++,this.getPkRecordList(this.current)},onItemClick(t){e.index.navigateTo({url:"/pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords",success:e=>{e.eventChannel.emit("itemDetail",{item:t})}})},onBack(){e.index.navigateBack({delta:1})},formatDate:o.formatDate,getPkRecordList(e){t.request({url:"user/handlePkInfo",method:"POST",data:{type:e,userId:this.userinfo.id,page:this.page,size:10},userInfo:!0}).then((t=>{200===t.code?(this.triggered=!1,1===e?(this.pkmyRecordlist.push(...t.data),console.log(this.pkRecordlist),1===this.current&&(this.pkRecordlist=this.pkmyRecordlist)):(this.pkInvitationRecordlist.push(...t.data),console.log(this.pkInvitationRecordlist),2===this.current&&(this.pkRecordlist=this.pkInvitationRecordlist))):console.log(t.msg)}))},toggleActive(e){this.current=e,this.slidetext=1===e?"我发布的PK":"我邀请的PK",this.pkRecordlist=1===e?this.pkmyRecordlist:this.pkInvitationRecordlist}}};if(!Array){e.resolveComponent("uni-card")()}const i=e._export_sfc(r,[["render",function(t,o,r,i,s,n){return{a:e.o$1(((...e)=>n.onBack&&n.onBack(...e))),b:e.o$1((e=>n.toggleActive(1))),c:1===s.current?1:"",d:e.o$1((e=>n.toggleActive(2))),e:2===s.current?1:"",f:e.t(s.slidetext),g:n.sliderPosition+"rpx",h:e.f(s.pkRecordlist,((t,o,r)=>e.e({a:t.anchorIconA,b:t.winnerAnchorId==t.anchorIdA},(t.winnerAnchorId,t.anchorIdA,{}),{c:e.t(t.anchorIdA),d:e.t(n.formatDate(t.pkTime)),e:e.t(t.userAcoin),f:e.t(t.anchorIdB),g:e.t(n.formatDate(t.pkTime)),h:e.t(t.userBcoin),i:t.anchorIconB,j:t.winnerAnchorId==t.anchorIdB},(t.winnerAnchorId,t.anchorIdB,{}),{k:e.o$1((e=>n.onItemClick(t)),o),l:o,m:"dfea675c-0-"+r}))),i:e.o$1(((...e)=>n.onRefresherRefresh&&n.onRefresherRefresh(...e))),j:e.o$1(((...e)=>n.onScrollToLower&&n.onScrollToLower(...e))),k:s.triggered}}],["__scopeId","data-v-dfea675c"]]);wx.createPage(i);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="pkRecord data-v-3b88879f"><view class="bg data-v-3b88879f"><image class="bgImg data-v-3b88879f" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-3b88879f" bindtap="{{a}}"><image class="ReturnImg data-v-3b88879f" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-3b88879f">PK记录</view><view class="navigation data-v-3b88879f"><view class="navigationItem data-v-3b88879f"><view bindtap="{{b}}" class="{{['navigationItemTitle', 'data-v-3b88879f', c && 'active']}}">我发布的PK</view><view bindtap="{{d}}" class="{{['navigationItemTitle', 'data-v-3b88879f', e && 'active']}}">我邀请的PK</view></view><view class="slide data-v-3b88879f" style="{{'left:' + g + ';' + ('transition:' + 'left 0.3s ease-in-out')}}">{{f}}</view></view><view class="content data-v-3b88879f"><scroll-view scroll-y="true" class="scroll data-v-3b88879f" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{i}}" lower-threshold="100" bindscrolltolower="{{j}}" refresher-triggered="{{k}}"><uni-card wx:for="{{h}}" wx:for-item="item" wx:key="l" class="data-v-3b88879f" u-s="{{['d']}}" u-i="{{item.m}}" bind:__l="__l"><view class="card data-v-3b88879f" bindtap="{{item.k}}"><view class="AnchorA data-v-3b88879f"><view class="AnchorAImg data-v-3b88879f"><image class="AnchorAImgcss data-v-3b88879f" src="{{item.a}}" mode="scaleToFill"/></view><image wx:if="{{item.b}}" class="Crown data-v-3b88879f" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/><view class="AnchorAinfo data-v-3b88879f"><view class="AnchorAname data-v-3b88879f">{{item.c}}</view><view class="AnchorATime data-v-3b88879f">{{item.d}}</view><view class="AnchorAICon data-v-3b88879f"><view class="AnchorAIContext data-v-3b88879f">实际打金币:</view><view class="AnchorAIConNum data-v-3b88879f">{{item.e}}K</view></view></view></view><view class="vstext data-v-3b88879f"><view class="Vtext data-v-3b88879f">V</view><view class="Stext data-v-3b88879f">S</view></view><view class="AnchorB data-v-3b88879f"><view class="AnchorBinfo data-v-3b88879f"><view class="AnchorAname data-v-3b88879f">{{item.f}}</view><view class="AnchorATime data-v-3b88879f">{{item.g}}</view><view class="AnchorAICon data-v-3b88879f"><view class="AnchorAIContext data-v-3b88879f">实际打金币:</view><view class="AnchorAIConNum data-v-3b88879f">{{item.h}}K</view></view></view><view class="AnchorAImg data-v-3b88879f"><image class="AnchorBImgcss data-v-3b88879f" src="{{item.i}}" mode="scaleToFill"/></view><image wx:if="{{item.j}}" class="Crown data-v-3b88879f" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view>
|
||||
<view class="pkRecord data-v-dfea675c"><view class="bg data-v-dfea675c"><image class="bgImg data-v-dfea675c" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-dfea675c" bindtap="{{a}}"><image class="ReturnImg data-v-dfea675c" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-dfea675c">PK记录</view><view class="navigation data-v-dfea675c"><view class="navigationItem data-v-dfea675c"><view bindtap="{{b}}" class="{{['navigationItemTitle', 'data-v-dfea675c', c && 'active']}}">我发布的PK</view><view bindtap="{{d}}" class="{{['navigationItemTitle', 'data-v-dfea675c', e && 'active']}}">我邀请的PK</view></view><view class="slide data-v-dfea675c" style="{{'left:' + g + ';' + ('transition:' + 'left 0.3s ease-in-out')}}">{{f}}</view></view><view class="content data-v-dfea675c"><scroll-view scroll-y="true" class="scroll data-v-dfea675c" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{i}}" lower-threshold="100" bindscrolltolower="{{j}}" refresher-triggered="{{k}}"><uni-card wx:for="{{h}}" wx:for-item="item" wx:key="l" class="data-v-dfea675c" u-s="{{['d']}}" u-i="{{item.m}}" bind:__l="__l"><view class="card data-v-dfea675c" bindtap="{{item.k}}"><view class="AnchorA data-v-dfea675c"><view class="AnchorAImg data-v-dfea675c"><image class="AnchorAImgcss data-v-dfea675c" src="{{item.a}}" mode="scaleToFill"/></view><image wx:if="{{item.b}}" class="Crown data-v-dfea675c" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/><view class="AnchorAinfo data-v-dfea675c"><view class="AnchorAname data-v-dfea675c">{{item.c}}</view><view class="AnchorATime data-v-dfea675c">{{item.d}}</view><view class="AnchorAICon data-v-dfea675c"><view class="AnchorAIContext data-v-dfea675c">实际金币:</view><view class="AnchorAIConNum data-v-dfea675c">{{item.e}}K</view></view></view></view><view class="vstext data-v-dfea675c"><view class="Vtext data-v-dfea675c">V</view><view class="Stext data-v-dfea675c">S</view></view><view class="AnchorB data-v-dfea675c"><view class="AnchorBinfo data-v-dfea675c"><view class="AnchorAname data-v-dfea675c">{{item.f}}</view><view class="AnchorATime data-v-dfea675c">{{item.g}}</view><view class="AnchorAICon data-v-dfea675c"><view class="AnchorAIContext data-v-dfea675c">实际打金币:</view><view class="AnchorAIConNum data-v-dfea675c">{{item.h}}K</view></view></view><view class="AnchorAImg data-v-dfea675c"><image class="AnchorBImgcss data-v-dfea675c" src="{{item.i}}" mode="scaleToFill"/></view><image wx:if="{{item.j}}" class="Crown data-v-dfea675c" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill"/></view></view></uni-card></scroll-view></view></view>
|
||||
@@ -1 +1 @@
|
||||
.bg.data-v-3b88879f{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-3b88879f{width:100%;height:100%}.Return.data-v-3b88879f{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-3b88879f{position:absolute;top:120rpx;left:315rpx;font-size:34rpx;color:#100e0f;font-weight:500}.ReturnImg.data-v-3b88879f{width:100%;height:100%}.navigation.data-v-3b88879f{position:absolute;top:200rpx;left:0rpx;right:0rpx;height:68.7rpx;display:flex;justify-content:center;align-items:center}.navigationItem.data-v-3b88879f{width:477.1rpx;height:68.7rpx;border-radius:50rpx;background-color:#4fcacd;display:flex;justify-content:space-around;align-items:center}.navigationItemTitle.data-v-3b88879f{font-weight:500;font-size:31rpx;color:#fff}.slide.data-v-3b88879f{position:absolute;width:238.55rpx;height:68.7rpx;background-image:linear-gradient(135deg,#e4ffff,#fff);border-radius:50rpx;text-align:center;line-height:68.7rpx;font-weight:500;font-size:31rpx;color:#4fcacd;margin-left:-238.55rpx}.content.data-v-3b88879f{position:absolute;top:300rpx;left:0rpx;right:0rpx;bottom:0rpx}.scroll.data-v-3b88879f{width:100%;height:100%;display:flex;flex-direction:column;align-items:center}.card.data-v-3b88879f{width:694.66rpx;height:161.26rpx;background-color:#fff;border-radius:15rpx;display:flex;justify-content:center;align-items:center;margin-left:28.55rpx;margin-top:12rpx}.AnchorA.data-v-3b88879f,.AnchorB.data-v-3b88879f{display:flex;align-items:center}.AnchorAImg.data-v-3b88879f{width:100rpx;height:100rpx;border-radius:50rpx;background-color:#b1b1b1;display:flex}.AnchorAinfo.data-v-3b88879f{display:flex;flex-direction:column;justify-content:center;margin-left:20rpx}.AnchorBinfo.data-v-3b88879f{display:flex;flex-direction:column;justify-content:center;margin-right:20rpx}.AnchorAname.data-v-3b88879f{font-weight:500;font-size:31rpx;color:#161616}.AnchorATime.data-v-3b88879f{font-weight:400;font-size:23rpx;color:#a3a3a3;margin-top:12rpx}.AnchorAICon.data-v-3b88879f{display:flex;margin-top:12rpx}.AnchorAIContext.data-v-3b88879f{font-weight:400;font-size:23rpx;color:#a3a3a3}.AnchorAIConNum.data-v-3b88879f{font-weight:700;font-size:23rpx;color:#161616}.AnchorAImgcss.data-v-3b88879f{width:100rpx;height:100rpx;border-radius:50rpx;border-top:#f7da60 solid 2rpx;border-left:#ffeeab solid 2rpx;border-bottom:#ffeeab solid 2rpx;border-right:#f7da60 solid 2rpx}.AnchorBImgcss.data-v-3b88879f{width:100rpx;height:100rpx;border-radius:50rpx;border-top:#ffc6ba solid 2rpx;border-left:#ffc6ba solid 2rpx;border-bottom:#5ddadd solid 2rpx;border-right:#5ddadd solid 2rpx}.Crown.data-v-3b88879f{width:45.8rpx;height:39.12rpx;margin-left:-40rpx;margin-top:-100rpx}.vstext.data-v-3b88879f{display:flex}.Vtext.data-v-3b88879f{font-size:45.8rpx;color:#f0836c;font-weight:700;font-style:italic;margin-left:26rpx}.Stext.data-v-3b88879f{font-size:45.8rpx;color:#58d8db;font-weight:700;font-style:italic;margin-right:26rpx}
|
||||
.bg.data-v-dfea675c{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-dfea675c{width:100%;height:100%}.Return.data-v-dfea675c{position:absolute;top:110rpx;left:35rpx;width:46rpx;height:46rpx}.title.data-v-dfea675c{position:absolute;top:120rpx;left:315rpx;font-size:34rpx;color:#100e0f;font-weight:500}.ReturnImg.data-v-dfea675c{width:100%;height:100%}.navigation.data-v-dfea675c{position:absolute;top:200rpx;left:0rpx;right:0rpx;height:68.7rpx;display:flex;justify-content:center;align-items:center}.navigationItem.data-v-dfea675c{width:477.1rpx;height:68.7rpx;border-radius:50rpx;background-color:#4fcacd;display:flex;justify-content:space-around;align-items:center}.navigationItemTitle.data-v-dfea675c{font-weight:500;font-size:31rpx;color:#fff}.slide.data-v-dfea675c{position:absolute;width:238.55rpx;height:68.7rpx;background-image:linear-gradient(135deg,#e4ffff,#fff);border-radius:50rpx;text-align:center;line-height:68.7rpx;font-weight:500;font-size:31rpx;color:#4fcacd;margin-left:-238.55rpx}.content.data-v-dfea675c{position:absolute;top:300rpx;left:0rpx;right:0rpx;bottom:0rpx}.scroll.data-v-dfea675c{width:100%;height:100%;display:flex;flex-direction:column;align-items:center}.card.data-v-dfea675c{width:694.66rpx;height:161.26rpx;background-color:#fff;border-radius:15rpx;display:flex;justify-content:center;align-items:center;margin-left:28.55rpx;margin-top:12rpx}.AnchorA.data-v-dfea675c,.AnchorB.data-v-dfea675c{display:flex;align-items:center}.AnchorAImg.data-v-dfea675c{width:100rpx;height:100rpx;border-radius:50rpx;background-color:#b1b1b1;display:flex}.AnchorAinfo.data-v-dfea675c{display:flex;flex-direction:column;justify-content:center;margin-left:20rpx}.AnchorBinfo.data-v-dfea675c{display:flex;flex-direction:column;justify-content:center;margin-right:20rpx}.AnchorAname.data-v-dfea675c{width:161.26rpx;font-weight:500;font-size:31rpx;color:#161616;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.AnchorATime.data-v-dfea675c{font-weight:400;font-size:23rpx;color:#a3a3a3;margin-top:12rpx}.AnchorAICon.data-v-dfea675c{display:flex;margin-top:12rpx}.AnchorAIContext.data-v-dfea675c{font-weight:400;font-size:23rpx;color:#a3a3a3}.AnchorAIConNum.data-v-dfea675c{font-weight:700;font-size:23rpx;color:#161616}.AnchorAImgcss.data-v-dfea675c{width:100rpx;height:100rpx;border-radius:50rpx;border-top:#f7da60 solid 2rpx;border-left:#ffeeab solid 2rpx;border-bottom:#ffeeab solid 2rpx;border-right:#f7da60 solid 2rpx}.AnchorBImgcss.data-v-dfea675c{width:100rpx;height:100rpx;border-radius:50rpx;border-top:#ffc6ba solid 2rpx;border-left:#ffc6ba solid 2rpx;border-bottom:#5ddadd solid 2rpx;border-right:#5ddadd solid 2rpx}.Crown.data-v-dfea675c{width:45.8rpx;height:39.12rpx;margin-left:-40rpx;margin-top:-100rpx}.vstext.data-v-dfea675c{display:flex}.Vtext.data-v-dfea675c{font-size:45.8rpx;color:#f0836c;font-weight:700;font-style:italic;margin-left:26rpx}.Stext.data-v-dfea675c{font-size:45.8rpx;color:#58d8db;font-weight:700;font-style:italic;margin-right:26rpx}
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view wx:if="{{a}}" class="{{['data-v-ad5561f2', C, 'Mask']}}" bindtap="{{D}}"><view catchtap="{{B}}" class="containers data-v-ad5561f2"><view class="container data-v-ad5561f2"><image class="Fork data-v-ad5561f2" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-ad5561f2"><view class="Star data-v-ad5561f2"></view><view class="Title data-v-ad5561f2"></view><view class="Star data-v-ad5561f2"></view></view><view class="NameAnchor data-v-ad5561f2"><input class="NameAnchorcss data-v-ad5561f2" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" value="{{d}}"/><view wx:if="{{e}}" class="Hint data-v-ad5561f2">请填写主播名称</view></view><view class="Accountnumber data-v-ad5561f2"><view class="Coins country data-v-ad5561f2"><wht-select wx:if="{{g}}" class="data-v-ad5561f2" style="width:350rpx" bindchange="{{f}}" u-i="ad5561f2-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-ad5561f2">请选择国家</view></view><view class="Gender data-v-ad5561f2"><view class="Gendercs data-v-ad5561f2"><view class="Gendercss data-v-ad5561f2"><wht-select wx:if="{{j}}" class="data-v-ad5561f2" style="width:300rpx" bindchange="{{i}}" u-i="ad5561f2-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-ad5561f2"><image wx:if="{{k}}" class="Gendericon data-v-ad5561f2" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{l}}" class="Gendericon data-v-ad5561f2" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-ad5561f2" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{n}}" class="Hintcss data-v-ad5561f2">请选择性别</view></view></view><view class="goldCoin data-v-ad5561f2"><view class="number-box data-v-ad5561f2"><view class="number-box-title data-v-ad5561f2">金币数量:</view><uni-number-box wx:if="{{p}}" class="data-v-ad5561f2" u-i="ad5561f2-2" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"></uni-number-box><view class="number-box-title data-v-ad5561f2">单位:</view><view class="number-box-unit data-v-ad5561f2">K</view></view><view wx:if="{{q}}" class="Hint data-v-ad5561f2">请填写金币数量</view></view><view class="time data-v-ad5561f2"><uni-datetime-picker wx:if="{{s}}" class="data-v-ad5561f2" u-i="ad5561f2-3" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"/><view wx:if="{{t}}" class="Hint data-v-ad5561f2">请选择日期</view></view><view class="goldCoin data-v-ad5561f2"><view class="number-box data-v-ad5561f2"><view class="number-box-title data-v-ad5561f2">选择场数:</view><uni-number-box wx:if="{{w}}" class="data-v-ad5561f2" u-i="ad5561f2-4" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"></uni-number-box><view class="number-box-title data-v-ad5561f2">次</view></view><view wx:if="{{x}}" class="Hint data-v-ad5561f2">请填写场数</view></view><view class="Remarkscss data-v-ad5561f2"><uni-easyinput wx:if="{{z}}" class="data-v-ad5561f2" u-i="ad5561f2-5" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-easyinput></view><view class="Publish data-v-ad5561f2"><button bindtap="{{A}}" class="Publishcss data-v-ad5561f2">发布</button></view></view></view></view>
|
||||
<view wx:if="{{a}}" class="{{['data-v-30ae532e', C, 'Mask']}}" bindtap="{{D}}"><view catchtap="{{B}}" class="containers data-v-30ae532e"><view class="container data-v-30ae532e"><image class="Fork data-v-30ae532e" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-30ae532e"><view class="Star data-v-30ae532e"></view><view class="Title data-v-30ae532e"></view><view class="Star data-v-30ae532e"></view></view><view class="NameAnchor data-v-30ae532e"><input class="NameAnchorcss data-v-30ae532e" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" value="{{d}}"/><view wx:if="{{e}}" class="Hint data-v-30ae532e">请填写主播名称</view></view><view class="Accountnumber data-v-30ae532e"><view class="Coins country data-v-30ae532e"><wht-select wx:if="{{g}}" class="data-v-30ae532e" style="width:350rpx" bindchange="{{f}}" u-i="30ae532e-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-30ae532e">请选择国家</view></view><view class="Gender data-v-30ae532e"><view class="Gendercs data-v-30ae532e"><view class="Gendercss data-v-30ae532e"><wht-select wx:if="{{j}}" class="data-v-30ae532e" style="width:300rpx" bindchange="{{i}}" u-i="30ae532e-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-30ae532e"><image wx:if="{{k}}" class="Gendericon data-v-30ae532e" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{l}}" class="Gendericon data-v-30ae532e" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-30ae532e" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{n}}" class="Hintcss data-v-30ae532e">请选择性别</view></view></view><view class="goldCoin data-v-30ae532e"><view class="number-box data-v-30ae532e"><view class="number-box-title data-v-30ae532e">金币数量:</view><uni-number-box wx:if="{{p}}" class="data-v-30ae532e" u-i="30ae532e-2" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"></uni-number-box><view class="number-box-title data-v-30ae532e">单位:</view><view class="number-box-unit data-v-30ae532e">K</view></view><view wx:if="{{q}}" class="Hint data-v-30ae532e">请填写金币数量</view></view><view class="time data-v-30ae532e"><uni-datetime-picker wx:if="{{s}}" class="data-v-30ae532e" u-i="30ae532e-3" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"/><view wx:if="{{t}}" class="Hint data-v-30ae532e">请选择日期</view></view><view class="goldCoin data-v-30ae532e"><view class="number-box data-v-30ae532e"><view class="number-box-title data-v-30ae532e">选择场数:</view><uni-number-box wx:if="{{w}}" class="data-v-30ae532e" u-i="30ae532e-4" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"></uni-number-box><view class="number-box-title data-v-30ae532e">次</view></view><view wx:if="{{x}}" class="Hint data-v-30ae532e">请填写场数</view></view><view class="Remarkscss data-v-30ae532e"><uni-easyinput wx:if="{{z}}" class="data-v-30ae532e" u-i="30ae532e-5" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-easyinput></view><view class="Publish data-v-30ae532e"><button bindtap="{{A}}" class="Publishcss data-v-30ae532e">发布</button></view></view></view></view>
|
||||
@@ -1 +1 @@
|
||||
@keyframes slide-in-ad5561f2{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slide-out-ad5561f2{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}.create-module.data-v-ad5561f2{animation:slide-in-ad5561f2 .3s ease-in-out}.close-animation.data-v-ad5561f2{animation:slide-out-ad5561f2 .3s ease-in-out forwards}.Mask.data-v-ad5561f2{width:100vw;height:100vh;background:rgba(0,0,0,.463);display:flex;flex-direction:column-reverse}.Hint.data-v-ad5561f2{color:red;font-size:20rpx;margin-left:30rpx;margin-top:10rpx}.Hintcss.data-v-ad5561f2{color:red;font-size:20rpx;margin-left:30rpx;margin-top:20rpx}.containers.data-v-ad5561f2{background-color:#fff;border-radius:50rpx}.container.data-v-ad5561f2{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.data-v-ad5561f2{width:46rpx;height:46rpx;margin-top:20rpx;margin-left:90%}.Titlecss.data-v-ad5561f2{width:100%;height:70rpx;display:flex;justify-content:center;align-items:center}.Star.data-v-ad5561f2{width:50rpx;height:50rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/star.png);background-size:100% 100%}.Title.data-v-ad5561f2{width:430rpx;height:70rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Publishpk.png);background-size:100% 200%;background-position:30% 0%;margin-left:26rpx;margin-right:-65rpx}.Individual.data-v-ad5561f2{display:flex}.NameAnchor.data-v-ad5561f2{width:90%;margin:40rpx}.time.data-v-ad5561f2{width:90%;margin-left:5%;margin-top:50rpx}.NameAnchorcss.data-v-ad5561f2{width:99%;height:85rpx;background-color:#fff;border:1rpx solid #BFBFBF;border-radius:10rpx;text-align:center}.Gender.data-v-ad5561f2{width:310rpx;display:flex;flex-direction:column;justify-content:center}.Gendercs.data-v-ad5561f2{display:flex;justify-content:center}.Gendercss.data-v-ad5561f2{width:200rpx;height:60rpx}.Gendericoncss.data-v-ad5561f2{display:flex;justify-content:center;align-items:center;width:60rpx;height:60rpx;border-radius:50%;border:1rpx solid #ff9d0067;margin-left:20rpx;margin-top:10rpx}.Gendericon.data-v-ad5561f2{width:40rpx;height:40rpx}.Accountnumber.data-v-ad5561f2{display:flex;justify-content:center;margin-bottom:60rpx;margin-top:50rpx}.Coins.data-v-ad5561f2{width:330rpx;height:65rpx;margin-right:50rpx}.country.data-v-ad5561f2{margin-left:10rpx}.goldCoin.data-v-ad5561f2{width:100%;height:100rpx;display:flex;justify-content:center;align-items:center}.number-box.data-v-ad5561f2{display:flex;justify-content:center;text-align:center}.number-box-title.data-v-ad5561f2{color:#191919;font-size:30rpx;margin-right:22rpx;margin-left:17rpx}.number-box-unit.data-v-ad5561f2{color:#03aba8;width:48rpx;height:48rpx;border:1rpx solid #03ABA8;border-radius:50%;line-height:48rpx;text-align:center}.Remarkscss.data-v-ad5561f2{width:90%;margin-top:30rpx;margin-left:5%;margin-right:5%;margin-bottom:50rpx;border-radius:10rpx}.Publish.data-v-ad5561f2{margin-bottom:40rpx;width:90%;margin-left:5%}.Publishcss.data-v-ad5561f2{background-image:linear-gradient(135deg,#4fcacd,#5fdbde);color:#fff;font-weight:700;border-radius:50rpx}
|
||||
@keyframes slide-in-30ae532e{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slide-out-30ae532e{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}.create-module.data-v-30ae532e{animation:slide-in-30ae532e .3s ease-in-out}.close-animation.data-v-30ae532e{animation:slide-out-30ae532e .3s ease-in-out forwards}.Mask.data-v-30ae532e{width:100vw;height:100vh;background:rgba(0,0,0,.463);display:flex;flex-direction:column-reverse}.Hint.data-v-30ae532e{color:red;font-size:20rpx;margin-left:30rpx;margin-top:10rpx}.Hintcss.data-v-30ae532e{color:red;font-size:20rpx;margin-left:30rpx;margin-top:20rpx}.containers.data-v-30ae532e{background-color:#fff;border-radius:50rpx}.container.data-v-30ae532e{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.data-v-30ae532e{width:46rpx;height:46rpx;margin-top:20rpx;margin-left:90%}.Titlecss.data-v-30ae532e{width:100%;height:70rpx;display:flex;justify-content:center;align-items:center}.Star.data-v-30ae532e{width:50rpx;height:50rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/star.png);background-size:100% 100%}.Title.data-v-30ae532e{width:430rpx;height:70rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Publishpk.png);background-size:100% 200%;background-position:30% 0%;margin-left:26rpx;margin-right:-65rpx}.Individual.data-v-30ae532e{display:flex}.NameAnchor.data-v-30ae532e{width:90%;margin:40rpx}.time.data-v-30ae532e{width:90%;margin-left:5%;margin-top:50rpx}.NameAnchorcss.data-v-30ae532e{width:99%;height:85rpx;background-color:#fff;border:1rpx solid #bfbfbf;border-radius:10rpx;text-align:center}.Gender.data-v-30ae532e{width:310rpx;display:flex;flex-direction:column;justify-content:center}.Gendercs.data-v-30ae532e{display:flex;justify-content:center}.Gendercss.data-v-30ae532e{width:200rpx;height:60rpx}.Gendericoncss.data-v-30ae532e{display:flex;justify-content:center;align-items:center;width:60rpx;height:60rpx;border-radius:50%;border:1rpx solid #ff9d0067;margin-left:20rpx;margin-top:10rpx}.Gendericon.data-v-30ae532e{width:40rpx;height:40rpx}.Accountnumber.data-v-30ae532e{display:flex;justify-content:center;margin-bottom:60rpx;margin-top:50rpx}.Coins.data-v-30ae532e{width:330rpx;height:65rpx;margin-right:50rpx}.country.data-v-30ae532e{margin-left:10rpx}.goldCoin.data-v-30ae532e{width:100%;height:100rpx;display:flex;justify-content:center;align-items:center}.number-box.data-v-30ae532e{display:flex;justify-content:center;text-align:center}.number-box-title.data-v-30ae532e{color:#191919;font-size:30rpx;margin-right:22rpx;margin-left:17rpx}.number-box-unit.data-v-30ae532e{color:#03aba8;width:48rpx;height:48rpx;border:1rpx solid #03aba8;border-radius:50%;line-height:48rpx;text-align:center}.Remarkscss.data-v-30ae532e{width:90%;margin-top:30rpx;margin-left:5%;margin-right:5%;margin-bottom:50rpx;border-radius:10rpx}.Publish.data-v-30ae532e{margin-bottom:40rpx;width:90%;margin-left:5%}.Publishcss.data-v-30ae532e{background-image:linear-gradient(135deg,#4fcacd,#5fdbde);color:#fff;font-weight:700;border-radius:50rpx}
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view wx:if="{{a}}" class="{{['data-v-fa0fbb45', C, 'Mask']}}" bindtap="{{D}}"><view catchtap="{{B}}" class="containers data-v-fa0fbb45"><view class="container data-v-fa0fbb45"><image class="Fork data-v-fa0fbb45" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-fa0fbb45"><view class="Star data-v-fa0fbb45"></view><view class="Title data-v-fa0fbb45"></view><view class="Star data-v-fa0fbb45"></view></view><view class="NameAnchor data-v-fa0fbb45"><input class="NameAnchorcss data-v-fa0fbb45" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}"/><view wx:if="{{e}}" class="Hint data-v-fa0fbb45">请检查主播名称是否正确</view></view><view class="Accountnumber data-v-fa0fbb45"><view class="Coins country data-v-fa0fbb45"><wht-select wx:if="{{g}}" class="data-v-fa0fbb45" style="width:350rpx" bindchange="{{f}}" u-i="fa0fbb45-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-fa0fbb45">请选择国家</view></view><view class="Gender data-v-fa0fbb45"><view class="Gendercs data-v-fa0fbb45"><view class="Gendercss data-v-fa0fbb45"><wht-select wx:if="{{j}}" class="data-v-fa0fbb45" style="width:300rpx" bindchange="{{i}}" u-i="fa0fbb45-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-fa0fbb45"><image wx:if="{{k}}" class="Gendericon data-v-fa0fbb45" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{l}}" class="Gendericon data-v-fa0fbb45" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-fa0fbb45" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{n}}" class="Hintcss data-v-fa0fbb45">请选择性别</view></view></view><view class="goldCoin data-v-fa0fbb45"><view class="number-box data-v-fa0fbb45"><view class="number-box-title data-v-fa0fbb45">金币数量:</view><uni-number-box wx:if="{{p}}" class="data-v-fa0fbb45" u-i="fa0fbb45-2" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"></uni-number-box><view class="number-box-title data-v-fa0fbb45">单位:</view><view class="number-box-unit data-v-fa0fbb45">K</view></view><view wx:if="{{q}}" class="Hint data-v-fa0fbb45">请填写金币数量</view></view><view class="time data-v-fa0fbb45"><uni-datetime-picker wx:if="{{s}}" class="data-v-fa0fbb45" u-i="fa0fbb45-3" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"/><view wx:if="{{t}}" class="Hint data-v-fa0fbb45">请选择日期</view></view><view class="goldCoin data-v-fa0fbb45"><view class="number-box data-v-fa0fbb45"><view class="number-box-title data-v-fa0fbb45">选择场数:</view><uni-number-box wx:if="{{w}}" class="data-v-fa0fbb45" u-i="fa0fbb45-4" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"></uni-number-box><view class="number-box-title data-v-fa0fbb45">次</view></view><view wx:if="{{x}}" class="Hint data-v-fa0fbb45">请填写场数</view></view><view class="Remarkscss data-v-fa0fbb45"><uni-easyinput wx:if="{{z}}" class="data-v-fa0fbb45" u-i="fa0fbb45-5" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-easyinput></view><view class="Publish data-v-fa0fbb45"><button bindtap="{{A}}" class="Publishcss data-v-fa0fbb45">发布</button></view></view></view></view>
|
||||
<view wx:if="{{a}}" class="{{['data-v-4f0126b2', C, 'Mask']}}" bindtap="{{D}}"><view catchtap="{{B}}" class="containers data-v-4f0126b2"><view class="container data-v-4f0126b2"><image class="Fork data-v-4f0126b2" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-4f0126b2"><view class="Star data-v-4f0126b2"></view><view class="Title data-v-4f0126b2"></view><view class="Star data-v-4f0126b2"></view></view><view class="NameAnchor data-v-4f0126b2"><input class="NameAnchorcss data-v-4f0126b2" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}"/><view wx:if="{{e}}" class="Hint data-v-4f0126b2">请检查主播名称是否正确</view></view><view class="Accountnumber data-v-4f0126b2"><view class="Coins country data-v-4f0126b2"><wht-select wx:if="{{g}}" class="data-v-4f0126b2" style="width:350rpx" bindchange="{{f}}" u-i="4f0126b2-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-4f0126b2">请选择国家</view></view><view class="Gender data-v-4f0126b2"><view class="Gendercs data-v-4f0126b2"><view class="Gendercss data-v-4f0126b2"><wht-select wx:if="{{j}}" class="data-v-4f0126b2" style="width:300rpx" bindchange="{{i}}" u-i="4f0126b2-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-4f0126b2"><image wx:if="{{k}}" class="Gendericon data-v-4f0126b2" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{l}}" class="Gendericon data-v-4f0126b2" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-4f0126b2" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{n}}" class="Hintcss data-v-4f0126b2">请选择性别</view></view></view><view class="goldCoin data-v-4f0126b2"><view class="number-box data-v-4f0126b2"><view class="number-box-title data-v-4f0126b2">金币数量:</view><uni-number-box wx:if="{{p}}" class="data-v-4f0126b2" u-i="4f0126b2-2" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"></uni-number-box><view class="number-box-title data-v-4f0126b2">单位:</view><view class="number-box-unit data-v-4f0126b2">K</view></view><view wx:if="{{q}}" class="Hint data-v-4f0126b2">请填写金币数量</view></view><view class="time data-v-4f0126b2"><uni-datetime-picker wx:if="{{s}}" class="data-v-4f0126b2" u-i="4f0126b2-3" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"/><view wx:if="{{t}}" class="Hint data-v-4f0126b2">请选择日期</view></view><view class="goldCoin data-v-4f0126b2"><view class="number-box data-v-4f0126b2"><view class="number-box-title data-v-4f0126b2">选择场数:</view><uni-number-box wx:if="{{w}}" class="data-v-4f0126b2" u-i="4f0126b2-4" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"></uni-number-box><view class="number-box-title data-v-4f0126b2">次</view></view><view wx:if="{{x}}" class="Hint data-v-4f0126b2">请填写场数</view></view><view class="Remarkscss data-v-4f0126b2"><uni-easyinput wx:if="{{z}}" class="data-v-4f0126b2" u-i="4f0126b2-5" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-easyinput></view><view class="Publish data-v-4f0126b2"><button bindtap="{{A}}" class="Publishcss data-v-4f0126b2">发布</button></view></view></view></view>
|
||||
@@ -1 +1 @@
|
||||
@keyframes slide-in-fa0fbb45{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slide-out-fa0fbb45{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}.create-module.data-v-fa0fbb45{animation:slide-in-fa0fbb45 .3s ease-in-out}.close-animation.data-v-fa0fbb45{animation:slide-out-fa0fbb45 .3s ease-in-out forwards}.Mask.data-v-fa0fbb45{width:100vw;height:100vh;background:rgba(0,0,0,.463);display:flex;flex-direction:column-reverse}.Hint.data-v-fa0fbb45{color:red;font-size:20rpx;margin-left:30rpx;margin-top:10rpx}.Hintcss.data-v-fa0fbb45{color:red;font-size:20rpx;margin-left:30rpx;margin-top:20rpx}.containers.data-v-fa0fbb45{background-color:#fff;border-radius:50rpx}.container.data-v-fa0fbb45{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.data-v-fa0fbb45{width:46rpx;height:46rpx;margin-top:20rpx;margin-left:90%}.Titlecss.data-v-fa0fbb45{width:100%;height:70rpx;display:flex;justify-content:center;align-items:center}.Star.data-v-fa0fbb45{width:50rpx;height:50rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/star.png);background-size:100% 100%}.Title.data-v-fa0fbb45{width:430rpx;height:70rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Publishpk.png);background-size:100% 200%;background-position:0 100%;margin-left:26rpx;margin-right:26rpx}.Individual.data-v-fa0fbb45{display:flex}.NameAnchor.data-v-fa0fbb45{width:90%;margin:40rpx}.time.data-v-fa0fbb45{width:90%;margin-left:5%;margin-top:50rpx}.NameAnchorcss.data-v-fa0fbb45{width:99%;height:85rpx;background-color:#fff;border:1rpx solid #bfbfbf;border-radius:10rpx;text-align:center}.Gender.data-v-fa0fbb45{width:310rpx;display:flex;flex-direction:column;justify-content:center}.Gendercs.data-v-fa0fbb45{display:flex;justify-content:center}.Gendercss.data-v-fa0fbb45{width:200rpx;height:60rpx}.Gendericoncss.data-v-fa0fbb45{display:flex;justify-content:center;align-items:center;width:60rpx;height:60rpx;border-radius:50%;border:1rpx solid #ff9d0067;margin-left:20rpx;margin-top:10rpx}.Gendericon.data-v-fa0fbb45{width:40rpx;height:40rpx}.Accountnumber.data-v-fa0fbb45{display:flex;justify-content:center;margin-bottom:60rpx;margin-top:50rpx}.Coins.data-v-fa0fbb45{width:330rpx;height:65rpx;margin-right:50rpx}.country.data-v-fa0fbb45{margin-left:10rpx}.goldCoin.data-v-fa0fbb45{width:100%;height:100rpx;display:flex;justify-content:center;align-items:center}.number-box.data-v-fa0fbb45{display:flex;justify-content:center;text-align:center}.number-box-title.data-v-fa0fbb45{color:#191919;font-size:30rpx;margin-right:22rpx;margin-left:17rpx}.number-box-unit.data-v-fa0fbb45{color:#03aba8;width:48rpx;height:48rpx;border:1rpx solid #03aba8;border-radius:50%;line-height:48rpx;text-align:center}.Remarkscss.data-v-fa0fbb45{width:90%;margin-top:30rpx;margin-left:5%;margin-right:5%;margin-bottom:50rpx;border-radius:10rpx}.Publish.data-v-fa0fbb45{margin-bottom:40rpx;width:90%;margin-left:5%}.Publishcss.data-v-fa0fbb45{background-image:linear-gradient(135deg,#4fcacd,#5fdbde);color:#fff;font-weight:700;border-radius:50rpx}
|
||||
@keyframes slide-in-4f0126b2{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slide-out-4f0126b2{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}.create-module.data-v-4f0126b2{animation:slide-in-4f0126b2 .3s ease-in-out}.close-animation.data-v-4f0126b2{animation:slide-out-4f0126b2 .3s ease-in-out forwards}.Mask.data-v-4f0126b2{width:100vw;height:100vh;background:rgba(0,0,0,.463);display:flex;flex-direction:column-reverse}.Hint.data-v-4f0126b2{color:red;font-size:20rpx;margin-left:30rpx;margin-top:10rpx}.Hintcss.data-v-4f0126b2{color:red;font-size:20rpx;margin-left:30rpx;margin-top:20rpx}.containers.data-v-4f0126b2{background-color:#fff;border-radius:50rpx}.container.data-v-4f0126b2{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.data-v-4f0126b2{width:46rpx;height:46rpx;margin-top:20rpx;margin-left:90%}.Titlecss.data-v-4f0126b2{width:100%;height:70rpx;display:flex;justify-content:center;align-items:center}.Star.data-v-4f0126b2{width:50rpx;height:50rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/star.png);background-size:100% 100%}.Title.data-v-4f0126b2{width:430rpx;height:70rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Publishpk.png);background-size:100% 200%;background-position:0 100%;margin-left:26rpx;margin-right:26rpx}.Individual.data-v-4f0126b2{display:flex}.NameAnchor.data-v-4f0126b2{width:90%;margin:40rpx}.time.data-v-4f0126b2{width:90%;margin-left:5%;margin-top:50rpx}.NameAnchorcss.data-v-4f0126b2{width:99%;height:85rpx;background-color:#fff;border:1rpx solid #bfbfbf;border-radius:10rpx;text-align:center}.Gender.data-v-4f0126b2{width:310rpx;display:flex;flex-direction:column;justify-content:center}.Gendercs.data-v-4f0126b2{display:flex;justify-content:center}.Gendercss.data-v-4f0126b2{width:200rpx;height:60rpx}.Gendericoncss.data-v-4f0126b2{display:flex;justify-content:center;align-items:center;width:60rpx;height:60rpx;border-radius:50%;border:1rpx solid #ff9d0067;margin-left:20rpx;margin-top:10rpx}.Gendericon.data-v-4f0126b2{width:40rpx;height:40rpx}.Accountnumber.data-v-4f0126b2{display:flex;justify-content:center;margin-bottom:60rpx;margin-top:50rpx}.Coins.data-v-4f0126b2{width:330rpx;height:65rpx;margin-right:50rpx}.country.data-v-4f0126b2{margin-left:10rpx}.goldCoin.data-v-4f0126b2{width:100%;height:100rpx;display:flex;justify-content:center;align-items:center}.number-box.data-v-4f0126b2{display:flex;justify-content:center;text-align:center}.number-box-title.data-v-4f0126b2{color:#191919;font-size:30rpx;margin-right:22rpx;margin-left:17rpx}.number-box-unit.data-v-4f0126b2{color:#03aba8;width:48rpx;height:48rpx;border:1rpx solid #03aba8;border-radius:50%;line-height:48rpx;text-align:center}.Remarkscss.data-v-4f0126b2{width:90%;margin-top:30rpx;margin-left:5%;margin-right:5%;margin-bottom:50rpx;border-radius:10rpx}.Publish.data-v-4f0126b2{margin-bottom:40rpx;width:90%;margin-left:5%}.Publishcss.data-v-4f0126b2{background-image:linear-gradient(135deg,#4fcacd,#5fdbde);color:#fff;font-weight:700;border-radius:50rpx}
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const t=require("../../common/vendor.js"),a=require("../../components/request.js"),e=require("../../components/formatDate.js"),o={data:()=>({customData:{},SenderData:{},ReceiverData:{},PkIDInfodata:{}}),onLoad(t){this.customData=JSON.parse(t.customData),this.getPkyourInfo(),this.getPkmineInfo(),this.getPkIDInfo()},methods:{async getPkIDInfo(){await a.request({url:"pk/singleRecord",method:"POST",data:{id:this.customData.id},userInfo:!0}).then((t=>{this.PkIDInfodata=t.data,console.log(this.PkIDInfodata)}))},async getPkyourInfo(){await a.request({url:"pk/pkInfoDetail",method:"POST",data:{id:this.customData.pkIdA},userInfo:!0}).then((t=>{this.SenderData=t.data,console.log(this.SenderData)}))},async getPkmineInfo(){await a.request({url:"pk/pkInfoDetail",method:"POST",data:{id:this.customData.pkIdB},userInfo:!0}).then((t=>{this.ReceiverData=t.data,console.log(this.ReceiverData)}))},goBack(){t.wx$1.navigateBack({delta:1})},formatDate:e.formatDate,async operation(e){console.log("``````",this.customData),console.log(e),await a.request({url:"pk/updatePkStatus",method:"POST",data:{id:this.customData.id,pkStatus:e},userInfo:!0}).then((a=>{console.log(a.data);const o=1===e?"接受邀请成功":"拒绝邀请成功";200===a.code?(this.getPkIDInfo(),t.wx$1.showToast({title:o,icon:"success",duration:2e3}),t.wx$1.navigateBack({delta:1})):t.wx$1.showToast({title:"操作失败",icon:"none",duration:2e3})}))}}};const n=t._export_sfc(o,[["render",function(a,e,o,n,s,r){return t.e({a:t.o$1(((...t)=>r.goBack&&r.goBack(...t))),b:s.SenderData.anchorIcon,c:t.t(s.SenderData.anchorId),d:"1"===s.SenderData.sex},"1"===s.SenderData.sex?{e:t.t(1==s.SenderData.sex?"男":"女")}:{f:t.t(1==s.SenderData.sex?"男":"女")},{g:t.t(s.SenderData.country),h:t.t(r.formatDate(s.SenderData.pkTime)),i:t.t(s.SenderData.coin),j:t.t(s.SenderData.pkNumber),k:s.ReceiverData.anchorIcon,l:t.t(s.ReceiverData.anchorId),m:"1"===s.ReceiverData.sex},"1"===s.ReceiverData.sex?{n:t.t(1==s.ReceiverData.sex?"男":"女")}:{o:t.t(1==s.ReceiverData.sex?"男":"女")},{p:t.t(s.ReceiverData.country),q:t.t(r.formatDate(s.ReceiverData.pkTime)),r:t.t(s.ReceiverData.coin),s:t.t(s.ReceiverData.pkNumber),t:0===s.PkIDInfodata.pkStatus},0===s.PkIDInfodata.pkStatus?{v:t.o$1((t=>r.operation(1))),w:t.o$1((t=>r.operation(2)))}:{},{x:1===s.PkIDInfodata.pkStatus},(s.PkIDInfodata.pkStatus,{}),{y:2===s.PkIDInfodata.pkStatus},(s.PkIDInfodata.pkStatus,{}))}],["__scopeId","data-v-88fae9bd"]]);wx.createPage(n);
|
||||
"use strict";const t=require("../../common/vendor.js"),e=require("../../components/request.js"),a=require("../../components/formatDate.js"),o={data:()=>({customData:{},SenderData:{},ReceiverData:{},PkIDInfodata:{},id:""}),onLoad(e){t.index.getStorage({key:"userinfo",success:t=>{this.id=t.data.id}}),this.customData=JSON.parse(e.customData),this.getPkyourInfo(),this.getPkmineInfo(),this.getPkIDInfo()},methods:{async getPkIDInfo(){await e.request({url:"pk/singleRecord",method:"POST",data:{id:this.customData.id},userInfo:!0}).then((t=>{this.PkIDInfodata=t.data,console.log(this.PkIDInfodata)}))},async getPkyourInfo(){await e.request({url:"pk/pkInfoDetail",method:"POST",data:{id:this.customData.pkIdA},userInfo:!0}).then((t=>{this.SenderData=t.data,console.log(this.SenderData)}))},async getPkmineInfo(){await e.request({url:"pk/pkInfoDetail",method:"POST",data:{id:this.customData.pkIdB},userInfo:!0}).then((t=>{this.ReceiverData=t.data,console.log(this.ReceiverData)}))},goBack(){t.wx$1.navigateBack({delta:1})},formatDate:a.formatDate,async operation(a){console.log("``````",this.customData),console.log(a),await e.request({url:"pk/updatePkStatus",method:"POST",data:{id:this.customData.id,pkStatus:a},userInfo:!0}).then((e=>{console.log(e.data);const o=1===a?"接受邀请成功":"拒绝邀请成功";200===e.code?(this.getPkIDInfo(),t.wx$1.showToast({title:o,icon:"success",duration:2e3}),t.wx$1.navigateBack({delta:1})):t.wx$1.showToast({title:"操作失败",icon:"none",duration:2e3})}))}}};const n=t._export_sfc(o,[["render",function(e,a,o,n,s,r){return t.e({a:t.o$1(((...t)=>r.goBack&&r.goBack(...t))),b:s.SenderData.anchorIcon,c:t.t(s.SenderData.anchorId),d:"1"===s.SenderData.sex},"1"===s.SenderData.sex?{e:t.t(1==s.SenderData.sex?"男":"女")}:{f:t.t(1==s.SenderData.sex?"男":"女")},{g:t.t(s.SenderData.country),h:t.t(r.formatDate(s.SenderData.pkTime)),i:t.t(s.SenderData.coin),j:t.t(s.SenderData.pkNumber),k:s.ReceiverData.anchorIcon,l:t.t(s.ReceiverData.anchorId),m:"1"===s.ReceiverData.sex},"1"===s.ReceiverData.sex?{n:t.t(1==s.ReceiverData.sex?"男":"女")}:{o:t.t(1==s.ReceiverData.sex?"男":"女")},{p:t.t(s.ReceiverData.country),q:t.t(r.formatDate(s.ReceiverData.pkTime)),r:t.t(s.ReceiverData.coin),s:t.t(s.ReceiverData.pkNumber),t:0===s.PkIDInfodata.pkStatus&&s.ReceiverData.senderId!==s.id},0===s.PkIDInfodata.pkStatus&&s.ReceiverData.senderId!==s.id?{v:t.o$1((t=>r.operation(1))),w:t.o$1((t=>r.operation(2)))}:{},{x:s.ReceiverData.senderId===s.id&&0===s.PkIDInfodata.pkStatus},(s.ReceiverData.senderId===s.id&&s.PkIDInfodata.pkStatus,{}),{y:1===s.PkIDInfodata.pkStatus},(s.PkIDInfodata.pkStatus,{}),{z:2===s.PkIDInfodata.pkStatus},(s.PkIDInfodata.pkStatus,{}))}],["__scopeId","data-v-2cc8ff71"]]);wx.createPage(n);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="container data-v-88fae9bd"><view class="background data-v-88fae9bd"><image class="data-v-88fae9bd" style="width:100%;height:100%" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Navigation data-v-88fae9bd"><view class="Return data-v-88fae9bd" bindtap="{{a}}"><image class="Return data-v-88fae9bd" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view></view><view class="Content data-v-88fae9bd"><view class="sender data-v-88fae9bd"><view class="sengderIcon data-v-88fae9bd"><image class="Icon data-v-88fae9bd" src="{{b}}" mode="scaleToFill"/></view><view class="Individual data-v-88fae9bd"><view class="name data-v-88fae9bd">{{c}}</view><view class="GenderAndAge data-v-88fae9bd"><view wx:if="{{d}}" class="male data-v-88fae9bd"><view class="data-v-88fae9bd"><image class="data-v-88fae9bd" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/></view><view class="age data-v-88fae9bd">{{e}}</view></view><view wx:else class="female data-v-88fae9bd"><view class="data-v-88fae9bd"><image class="data-v-88fae9bd" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/></view><view class="age data-v-88fae9bd">{{f}}</view></view></view><view class="nation data-v-88fae9bd">{{g}}</view></view><view class="Time data-v-88fae9bd">PK时间:{{h}}</view><view class="SessionAndGoldCoin data-v-88fae9bd"><view class="goldCoin data-v-88fae9bd"><image class="data-v-88fae9bd" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/gold.png" mode="scaleToFill"/><view class="goldcard data-v-88fae9bd"><view class="goldnumber data-v-88fae9bd">{{i}}</view><view class="goldtext data-v-88fae9bd">金币</view></view></view><view class="Session data-v-88fae9bd"><image class="data-v-88fae9bd" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/session.png" mode="scaleToFill"/><view class="goldcard data-v-88fae9bd"><view class="goldnumber data-v-88fae9bd">{{j}}</view><view class="goldtext data-v-88fae9bd">PK场数</view></view></view></view></view><view class="sender data-v-88fae9bd"><view class="sengderIcon data-v-88fae9bd"><image class="Icon data-v-88fae9bd" src="{{k}}" mode="scaleToFill"/></view><view class="Individual data-v-88fae9bd"><view class="name data-v-88fae9bd">{{l}}</view><view class="GenderAndAge data-v-88fae9bd"><view wx:if="{{m}}" class="male data-v-88fae9bd"><view class="data-v-88fae9bd"><image class="data-v-88fae9bd" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/></view><view class="age data-v-88fae9bd">{{n}}</view></view><view wx:else class="female data-v-88fae9bd"><view class="data-v-88fae9bd"><image class="data-v-88fae9bd" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/></view><view class="age data-v-88fae9bd">{{o}}</view></view></view><view class="nation data-v-88fae9bd">{{p}}</view></view><view class="Time data-v-88fae9bd">PK时间:{{q}}</view><view class="SessionAndGoldCoin data-v-88fae9bd"><view class="goldCoin data-v-88fae9bd"><image class="data-v-88fae9bd" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/gold.png" mode="scaleToFill"/><view class="data-v-88fae9bd"><view class="goldnumber data-v-88fae9bd">{{r}}</view><view class="goldtext data-v-88fae9bd">金币</view></view></view><view class="Session data-v-88fae9bd"><image class="data-v-88fae9bd" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/session.png" mode="scaleToFill"/><view class="data-v-88fae9bd"><view class="goldnumber data-v-88fae9bd">{{s}}</view><view class="goldtext data-v-88fae9bd">PK场数</view></view></view></view></view><view wx:if="{{t}}" class="button data-v-88fae9bd"><button class="accept data-v-88fae9bd" bindtap="{{v}}">接受邀请</button><button class="reject data-v-88fae9bd" bindtap="{{w}}">拒绝邀请</button></view><view wx:if="{{x}}" class="button buttontext data-v-88fae9bd">已接受邀请</view><view wx:if="{{y}}" class="button buttontext data-v-88fae9bd">已拒绝邀请</view></view></view>
|
||||
<view class="container data-v-2cc8ff71"><view class="background data-v-2cc8ff71"><image class="data-v-2cc8ff71" style="width:100%;height:100%" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Navigation data-v-2cc8ff71"><view class="Return data-v-2cc8ff71" bindtap="{{a}}"><image class="Return data-v-2cc8ff71" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view></view><view class="Content data-v-2cc8ff71"><view class="sender data-v-2cc8ff71"><view class="sengderIcon data-v-2cc8ff71"><image class="Icon data-v-2cc8ff71" src="{{b}}" mode="scaleToFill"/></view><view class="Individual data-v-2cc8ff71"><view class="name data-v-2cc8ff71">{{c}}</view><view class="GenderAndAge data-v-2cc8ff71"><view wx:if="{{d}}" class="male data-v-2cc8ff71"><view class="data-v-2cc8ff71"><image class="data-v-2cc8ff71" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/></view><view class="age data-v-2cc8ff71">{{e}}</view></view><view wx:else class="female data-v-2cc8ff71"><view class="data-v-2cc8ff71"><image class="data-v-2cc8ff71" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/></view><view class="age data-v-2cc8ff71">{{f}}</view></view></view><view class="nation data-v-2cc8ff71">{{g}}</view></view><view class="Time data-v-2cc8ff71">PK时间:{{h}}</view><view class="SessionAndGoldCoin data-v-2cc8ff71"><view class="goldCoin data-v-2cc8ff71"><image class="data-v-2cc8ff71" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/gold.png" mode="scaleToFill"/><view class="goldcard data-v-2cc8ff71"><view class="goldnumber data-v-2cc8ff71">{{i}}</view><view class="goldtext data-v-2cc8ff71">金币</view></view></view><view class="Session data-v-2cc8ff71"><image class="data-v-2cc8ff71" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/session.png" mode="scaleToFill"/><view class="goldcard data-v-2cc8ff71"><view class="goldnumber data-v-2cc8ff71">{{j}}</view><view class="goldtext data-v-2cc8ff71">PK场数</view></view></view></view></view><view class="sender data-v-2cc8ff71"><view class="sengderIcon data-v-2cc8ff71"><image class="Icon data-v-2cc8ff71" src="{{k}}" mode="scaleToFill"/></view><view class="Individual data-v-2cc8ff71"><view class="name data-v-2cc8ff71">{{l}}</view><view class="GenderAndAge data-v-2cc8ff71"><view wx:if="{{m}}" class="male data-v-2cc8ff71"><view class="data-v-2cc8ff71"><image class="data-v-2cc8ff71" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/></view><view class="age data-v-2cc8ff71">{{n}}</view></view><view wx:else class="female data-v-2cc8ff71"><view class="data-v-2cc8ff71"><image class="data-v-2cc8ff71" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/></view><view class="age data-v-2cc8ff71">{{o}}</view></view></view><view class="nation data-v-2cc8ff71">{{p}}</view></view><view class="Time data-v-2cc8ff71">PK时间:{{q}}</view><view class="SessionAndGoldCoin data-v-2cc8ff71"><view class="goldCoin data-v-2cc8ff71"><image class="data-v-2cc8ff71" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/gold.png" mode="scaleToFill"/><view class="data-v-2cc8ff71"><view class="goldnumber data-v-2cc8ff71">{{r}}</view><view class="goldtext data-v-2cc8ff71">金币</view></view></view><view class="Session data-v-2cc8ff71"><image class="data-v-2cc8ff71" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/session.png" mode="scaleToFill"/><view class="data-v-2cc8ff71"><view class="goldnumber data-v-2cc8ff71">{{s}}</view><view class="goldtext data-v-2cc8ff71">PK场数</view></view></view></view></view><view wx:if="{{t}}" class="button data-v-2cc8ff71"><button class="accept data-v-2cc8ff71" bindtap="{{v}}">接受邀请</button><button class="reject data-v-2cc8ff71" bindtap="{{w}}">拒绝邀请</button></view><view wx:if="{{x}}" class="button buttontext data-v-2cc8ff71">等待对方接受邀请</view><view wx:if="{{y}}" class="button buttontext data-v-2cc8ff71">已接受邀请</view><view wx:if="{{z}}" class="button buttontext data-v-2cc8ff71">已拒绝邀请</view></view></view>
|
||||
@@ -1 +1 @@
|
||||
.background.data-v-88fae9bd{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.Navigation.data-v-88fae9bd{position:fixed;top:0;left:0;right:0;height:200rpx;display:flex;align-items:center;padding:0 60rpx;z-index:1}.Return.data-v-88fae9bd{width:60rpx;height:60rpx;margin-top:20rpx}.Content.data-v-88fae9bd{position:absolute;top:200rpx;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center}.sender.data-v-88fae9bd{width:100%;display:flex;flex-direction:column;align-items:center;margin-top:80rpx}.sengderIcon.data-v-88fae9bd{width:150rpx;height:150rpx;border-radius:50%;background-color:#fff;display:flex;justify-content:center;align-items:center}.Icon.data-v-88fae9bd{width:100%;height:100%;border-radius:50%}.Individual.data-v-88fae9bd{display:flex;justify-content:center;align-items:center;margin-top:34.35rpx}.name.data-v-88fae9bd{font-size:30.53rpx;color:#161616;margin-right:16.22rpx}.nation.data-v-88fae9bd{width:56.3rpx;height:29.58rpx;font-size:17.18rpx;color:#666;text-align:center;line-height:29.58rpx;background-color:#fff;border-radius:50rpx;padding:6rpx 12rpx;display:flex;justify-content:center;align-items:center}.male.data-v-88fae9bd{width:56.3rpx;height:29.58rpx;background-color:#5bced1;border-radius:50rpx;display:flex;justify-content:center;align-items:center;padding:6rpx 12rpx;margin-right:12rpx}.female.data-v-88fae9bd{width:56.3rpx;height:29.58rpx;background-color:#f3876f;border-radius:50rpx;display:flex;justify-content:center;align-items:center;padding:6rpx 12rpx;margin-right:12rpx}.age.data-v-88fae9bd{font-size:17.18rpx;color:#fff;margin-left:4rpx}.Time.data-v-88fae9bd{color:#666;font-size:26.72rpx;margin-top:48.7rpx}.goldCoin.data-v-88fae9bd{background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Backgroundofgoldcoins.png);width:334.83rpx;height:124.05rpx;margin-right:21rpx;display:flex;align-items:center}.Session.data-v-88fae9bd{background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fieldnumberbackground.png);width:334.83rpx;height:124.05rpx;display:flex;align-items:center}.SessionAndGoldCoin.data-v-88fae9bd{align-items:center;margin-top:60rpx;display:flex;justify-content:center}.goldtext.data-v-88fae9bd{font-size:28.63rpx;color:#929292}.goldnumber.data-v-88fae9bd{font-size:34.35rpx;color:#161616;font-weight:700}.goldcard.data-v-88fae9bd{display:flex;flex-direction:column;align-items:center}.button.data-v-88fae9bd{display:flex;justify-content:center;align-items:center;margin-top:150rpx}.buttontext.data-v-88fae9bd{font-size:40rpx;color:#666;font-weight:700}.accept.data-v-88fae9bd{width:325.38rpx;height:77.29rpx;margin-right:35.5rpx;border-radius:50rpx;background-color:#fff;border:1rpx solid #03aba8;color:#03aba8;font-size:28.63rpx;line-height:77.29rpx}.reject.data-v-88fae9bd{width:325.38rpx;height:77.29rpx;border-radius:50rpx;background-color:#03aba8;border:1rpx solid #03aba8;color:#fff;font-size:28.63rpx;line-height:77.29rpx}
|
||||
.background.data-v-2cc8ff71{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.Navigation.data-v-2cc8ff71{position:fixed;top:0;left:0;right:0;height:200rpx;display:flex;align-items:center;padding:0 60rpx;z-index:1}.Return.data-v-2cc8ff71{width:60rpx;height:60rpx;margin-top:20rpx}.Content.data-v-2cc8ff71{position:absolute;top:200rpx;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center}.sender.data-v-2cc8ff71{width:100%;display:flex;flex-direction:column;align-items:center;margin-top:80rpx}.sengderIcon.data-v-2cc8ff71{width:150rpx;height:150rpx;border-radius:50%;background-color:#fff;display:flex;justify-content:center;align-items:center}.Icon.data-v-2cc8ff71{width:100%;height:100%;border-radius:50%}.Individual.data-v-2cc8ff71{display:flex;justify-content:center;align-items:center;margin-top:34.35rpx}.name.data-v-2cc8ff71{font-size:30.53rpx;color:#161616;margin-right:16.22rpx}.nation.data-v-2cc8ff71{width:56.3rpx;height:29.58rpx;font-size:17.18rpx;color:#666;text-align:center;line-height:29.58rpx;background-color:#fff;border-radius:50rpx;padding:6rpx 12rpx;display:flex;justify-content:center;align-items:center}.male.data-v-2cc8ff71{width:56.3rpx;height:29.58rpx;background-color:#5bced1;border-radius:50rpx;display:flex;justify-content:center;align-items:center;padding:6rpx 12rpx;margin-right:12rpx}.female.data-v-2cc8ff71{width:56.3rpx;height:29.58rpx;background-color:#f3876f;border-radius:50rpx;display:flex;justify-content:center;align-items:center;padding:6rpx 12rpx;margin-right:12rpx}.age.data-v-2cc8ff71{font-size:17.18rpx;color:#fff;margin-left:4rpx}.Time.data-v-2cc8ff71{color:#666;font-size:26.72rpx;margin-top:48.7rpx}.goldCoin.data-v-2cc8ff71{background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Backgroundofgoldcoins.png);width:334.83rpx;height:124.05rpx;margin-right:21rpx;display:flex;align-items:center}.Session.data-v-2cc8ff71{background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fieldnumberbackground.png);width:334.83rpx;height:124.05rpx;display:flex;align-items:center}.SessionAndGoldCoin.data-v-2cc8ff71{align-items:center;margin-top:60rpx;display:flex;justify-content:center}.goldtext.data-v-2cc8ff71{font-size:28.63rpx;color:#929292}.goldnumber.data-v-2cc8ff71{font-size:34.35rpx;color:#161616;font-weight:700}.goldcard.data-v-2cc8ff71{display:flex;flex-direction:column;align-items:center}.button.data-v-2cc8ff71{display:flex;justify-content:center;align-items:center;margin-top:150rpx}.buttontext.data-v-2cc8ff71{font-size:40rpx;color:#666;font-weight:700}.accept.data-v-2cc8ff71{width:325.38rpx;height:77.29rpx;margin-right:35.5rpx;border-radius:50rpx;background-color:#fff;border:1rpx solid #03aba8;color:#03aba8;font-size:28.63rpx;line-height:77.29rpx}.reject.data-v-2cc8ff71{width:325.38rpx;height:77.29rpx;border-radius:50rpx;background-color:#03aba8;border:1rpx solid #03aba8;color:#fff;font-size:28.63rpx;line-height:77.29rpx}
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),i=require("../../components/request.js"),n=require("../../components/postFile.js"),s=require("../../components/generateFileName.js"),t={inject:["$global"],data:()=>({userinfo:"",name:"",id:"",info:{},userSig:""}),onLoad(i){e.index.getStorage({key:"userinfo",success:e=>{this.id=e.data.id,this.name=e.data.nickName,this.userinfo=e.data.headerIcon}}),e.index.getStorage({key:"userSig",success:e=>{this.userSig=e.data}})},methods:{cancel(){e.index.navigateBack({delta:1})},inputName(e){this.name=e.detail.value},async Userinfo(e){const{avatarUrl:i}=e.detail;this.userinfo=i},async wxLogin(t){if(e.index.showLoading({title:"登录中...",mask:!0}),n.uploadFile({path:this.userinfo,name:s.generateFileName()}).then((e=>{console.log("上传成功········",e),this.userinfo=e})).catch((e=>{console.log(e)})),this.userinfo){const n=await i.request({url:"user/updateUserInfo",method:"POST",data:{id:this.id,headerIcon:this.userinfo,nickName:this.name,usersig:this.userSig.userSig},userInfo:!0});200===n.code?(e.index.showToast({title:"修改成功",icon:"success"}),e.index.setStorageSync("userinfo",n.data.info),e.index.hideLoading(),e.index.navigateBack({delta:1})):e.index.showToast({title:"修改失败",icon:"none"})}}}};const a=e._export_sfc(t,[["render",function(i,n,s,t,a,o){return{a:a.userinfo,b:e.o$1(((...e)=>o.Userinfo&&o.Userinfo(...e))),c:e.o$1(((...e)=>o.inputName&&o.inputName(...e))),d:e.o$1(((...e)=>o.wxLogin&&o.wxLogin(...e))),e:e.o$1(((...e)=>o.cancel&&o.cancel(...e)))}}],["__scopeId","data-v-82344dd8"]]);wx.createPage(a);
|
||||
"use strict";const e=require("../../common/vendor.js"),i=require("../../components/request.js"),n=require("../../components/postFile.js"),s=require("../../components/generateFileName.js"),t={inject:["$global"],data:()=>({userinfo:"",name:"",id:"",info:{},userSig:""}),onLoad(i){e.index.getStorage({key:"userinfo",success:e=>{this.id=e.data.id,this.name=e.data.nickName,this.userinfo=e.data.headerIcon}}),e.index.getStorage({key:"userSig",success:e=>{this.userSig=e.data}})},methods:{cancel(){e.index.navigateBack({delta:1})},inputName(e){this.name=e.detail.value},async Userinfo(e){const{avatarUrl:i}=e.detail;this.userinfo=i},wxLogin(t){e.index.showLoading({title:"登录中...",mask:!0}),n.uploadFile({path:this.userinfo,name:s.generateFileName()}).then((n=>{console.log(n.split("/").pop()),i.request({url:"user/updateUserInfo",method:"POST",data:{id:this.id,headerIcon:n.split("/").pop(),nickName:this.name,usersig:this.userSig.userSig},userInfo:!0}).then((i=>{200===i.code?(e.index.showToast({title:"修改成功",icon:"success"}),e.index.setStorageSync("userinfo",i.data.info),e.index.hideLoading(),e.index.navigateBack({delta:1})):e.index.showToast({title:"修改失败",icon:"none"})}))})).catch((e=>{console.log(e)}))}}};const a=e._export_sfc(t,[["render",function(i,n,s,t,a,o){return{a:a.userinfo,b:e.o$1(((...e)=>o.Userinfo&&o.Userinfo(...e))),c:e.o$1(((...e)=>o.inputName&&o.inputName(...e))),d:e.o$1(((...e)=>o.wxLogin&&o.wxLogin(...e))),e:e.o$1(((...e)=>o.cancel&&o.cancel(...e)))}}],["__scopeId","data-v-db16201c"]]);wx.createPage(a);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="container data-v-82344dd8"><button class="login-btn data-v-82344dd8" open-type="chooseAvatar" bindchooseavatar="{{b}}"><image class="avatar data-v-82344dd8" src="{{a}}"></image></button><input type="nickname" class="weui-input data-v-82344dd8" placeholder="请输入昵称" bindblur="{{c}}"/><button class="weui-btn data-v-82344dd8" bindtap="{{d}}">修改</button><button class="weui-btn data-v-82344dd8" bindtap="{{e}}">取消</button></view>
|
||||
<view class="container data-v-db16201c"><button class="login-btn data-v-db16201c" open-type="chooseAvatar" bindchooseavatar="{{b}}"><image class="avatar data-v-db16201c" src="{{a}}"></image></button><input type="nickname" class="weui-input data-v-db16201c" placeholder="请输入昵称" bindblur="{{c}}"/><button class="weui-btn data-v-db16201c" bindtap="{{d}}">修改</button><button class="weui-btn data-v-db16201c" bindtap="{{e}}">取消</button></view>
|
||||
@@ -1 +1 @@
|
||||
.container.data-v-82344dd8{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:linear-gradient(to bottom,rgba(17,203,42,.43),rgba(37,116,252,.427))}.login-btn.data-v-82344dd8{width:200rpx;height:200rpx;border-radius:50%;padding:0;margin-bottom:60rpx}.avatar.data-v-82344dd8{width:100%;height:100%;border-radius:50%}.weui-input.data-v-82344dd8{width:80%;text-align:center;margin-bottom:40rpx}.weui-btn.data-v-82344dd8{width:40%;margin-top:20rpx;background-color:rgba(17,203,42,0);color:#fff}
|
||||
.container.data-v-db16201c{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:linear-gradient(to bottom,rgba(17,203,42,.43),rgba(37,116,252,.427))}.login-btn.data-v-db16201c{width:200rpx;height:200rpx;border-radius:50%;padding:0;margin-bottom:60rpx}.avatar.data-v-db16201c{width:100%;height:100%;border-radius:50%}.weui-input.data-v-db16201c{width:80%;text-align:center;margin-bottom:40rpx}.weui-btn.data-v-db16201c{width:40%;margin-top:20rpx;background-color:rgba(17,203,42,0);color:#fff}
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),i=require("../../components/request.js"),t=require("../../components/postFile.js"),s=require("../../components/generateFileName.js"),n=require("../../stores/counter.js").useCounterStore(),a={inject:["$global"],data:()=>({userinfo:"https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0",name:"",id:"",info:{},userSig:"",lastPage:"",picture:"",Filename:s.generateFileName()}),onLoad(i){e.index.getStorage({key:"userinfo",success:e=>{this.id=e.data.id}}),e.index.getStorage({key:"userSig",success:e=>{this.userSig=e.data}}),e.index.getStorage({key:"lastPage",success:e=>{this.lastPage="/"+e.data},fail:()=>{this.lastPage="/pages/Home/Home"}})},methods:{inputName(e){this.name=e.detail.value},async Userinfo(e){const{avatarUrl:i}=e.detail;this.userinfo=i},async wxLogin(s){e.index.showLoading({title:"登录中...",mask:!0});const{code:a}=await e.index.login({provider:"weixin",onlyAuthorize:!0});t.uploadFile({path:this.userinfo,name:this.Filename}).then((t=>{this.picture=t,i.request({url:"user/inputUserInfo",method:"POST",data:{id:this.id,headerIcon:this.Filename,nickName:this.name,code:a,usersig:this.userSig.userSig},userInfo:!1}).then((i=>{200===i.code?(e.index.showToast({title:"登录成功",icon:"success"}),e.index.setStorageSync("userinfo",i.data.info),n.$patch({myitem:i.data.info}),e.index.hideLoading(),e.index.reLaunch({url:this.lastPage})):e.index.showToast({title:"登录失败",icon:"none"})}))})).catch((e=>{console.log(e)}))}}};const o=e._export_sfc(a,[["render",function(i,t,s,n,a,o){return{a:a.userinfo,b:e.o$1(((...e)=>o.Userinfo&&o.Userinfo(...e))),c:e.o$1(((...e)=>o.inputName&&o.inputName(...e))),d:e.o$1(((...e)=>o.wxLogin&&o.wxLogin(...e)))}}],["__scopeId","data-v-f05a1f50"]]);wx.createPage(o);
|
||||
"use strict";const e=require("../../common/vendor.js"),i=require("../../components/request.js"),s=require("../../components/postFile.js"),t=require("../../components/generateFileName.js"),n=require("../../stores/counter.js").useCounterStore(),o={inject:["$global"],data:()=>({userinfo:"",name:"",id:"",info:{},userSig:"",lastPage:"",picture:"",Filename:t.generateFileName()}),onLoad(i){e.index.getStorage({key:"userinfo",success:e=>{this.id=e.data.id}}),e.index.getStorage({key:"userSig",success:e=>{this.userSig=e.data}}),e.index.getStorage({key:"lastPage",success:e=>{this.lastPage="/"+e.data},fail:()=>{this.lastPage="/pages/Home/Home"}})},methods:{inputName(e){this.name=e.detail.value},async Userinfo(e){const{avatarUrl:i}=e.detail;this.userinfo=i},async wxLogin(t){if(""!==this.name&&""!==this.userinfo){e.index.showLoading({title:"登录中...",mask:!0});const{code:t}=await e.index.login({provider:"weixin",onlyAuthorize:!0});s.uploadFile({path:this.userinfo,name:this.Filename}).then((s=>{this.picture=s,i.request({url:"user/inputUserInfo",method:"POST",data:{id:this.id,headerIcon:this.Filename,nickName:this.name,code:t,usersig:this.userSig.userSig},userInfo:!1}).then((i=>{200===i.code?(e.index.showToast({title:"登录成功",icon:"success"}),e.index.setStorageSync("userinfo",i.data.info),n.$patch({myitem:i.data.info}),e.index.hideLoading(),e.index.reLaunch({url:this.lastPage})):e.index.showToast({title:"登录失败",icon:"none"})}))})).catch((e=>{console.log(e)}))}else e.index.showToast({title:"请填写头像昵称",icon:"success",duration:3e3})}}};const a=e._export_sfc(o,[["render",function(i,s,t,n,o,a){return{a:o.userinfo,b:e.o$1(((...e)=>a.Userinfo&&a.Userinfo(...e))),c:e.o$1(((...e)=>a.inputName&&a.inputName(...e))),d:e.o$1(((...e)=>a.wxLogin&&a.wxLogin(...e)))}}],["__scopeId","data-v-580015eb"]]);wx.createPage(a);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="container data-v-f05a1f50"><button class="login-btn data-v-f05a1f50" open-type="chooseAvatar" bindchooseavatar="{{b}}"><image class="avatar data-v-f05a1f50" src="{{a}}"></image></button><input type="nickname" class="weui-input data-v-f05a1f50" placeholder="请输入昵称" bindblur="{{c}}"/><button class="weui-btn data-v-f05a1f50" bindtap="{{d}}">登录</button></view>
|
||||
<view class="container data-v-580015eb"><button class="login-btn data-v-580015eb" open-type="chooseAvatar" bindchooseavatar="{{b}}"><image class="avatar data-v-580015eb" src="{{a}}"></image></button><input type="nickname" class="weui-input data-v-580015eb" placeholder="请输入昵称" bindblur="{{c}}"/><button class="weui-btn data-v-580015eb" bindtap="{{d}}">登录</button></view>
|
||||
@@ -1 +1 @@
|
||||
.container.data-v-f05a1f50{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:linear-gradient(to bottom,rgba(17,203,42,.43),rgba(37,116,252,.427))}.login-btn.data-v-f05a1f50{width:200rpx;height:200rpx;border-radius:50%;padding:0;margin-bottom:60rpx}.avatar.data-v-f05a1f50{width:100%;height:100%;border-radius:50%}.weui-input.data-v-f05a1f50{width:80%;text-align:center;margin-bottom:40rpx}.weui-btn.data-v-f05a1f50{width:40%;margin-top:20rpx;background-color:rgba(17,203,42,0);color:#fff}
|
||||
.container.data-v-580015eb{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:linear-gradient(to bottom,rgba(17,203,42,.43),rgba(37,116,252,.427))}.login-btn.data-v-580015eb{width:200rpx;height:200rpx;border-radius:50%;padding:0;margin-bottom:60rpx}.avatar.data-v-580015eb{width:100%;height:100%;border-radius:50%}.weui-input.data-v-580015eb{width:80%;text-align:center;margin-bottom:40rpx}.weui-btn.data-v-580015eb{width:40%;margin-top:20rpx;background-color:rgba(17,203,42,0);color:#fff}
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),t=require("../../components/formatDate.js"),i=require("../../components/TimeFormatting.js"),n=require("../../components/request.js"),o={data:()=>({item:{},id:0,InvitingPartyEventID:null,list:[],selectedId:null,InvitingPartyEventindex:null,chatInfo:{},currentConversation:null}),onLoad(t){this.getOpenerEventChannel().on("itemDetail",(e=>{this.item=e.item,console.log("接收到的数据:",this.item)})),e.index.getStorage({key:"userinfo",success:e=>{this.id=e.data.id}}),e.index.getStorage({key:"chatInfo",success:e=>{this.chatInfo=e.data}})},methods:{formatDate:t.formatDate,TimeFormatting:i.TimeFormatting,Select(e,t){this.selectedId===e?(this.selectedId=null,this.InvitingPartyEventID=null,this.InvitingPartyEventindex=null):(this.selectedId=this.selectedId===e?null:e,this.InvitingPartyEventID=e,this.InvitingPartyEventindex=t)},Returnfunc(){e.index.navigateBack({delta:1})},open(){this.$refs.popup.open("center"),this.userlist()},invite(){if(this.item.pkTime!==this.list[this.InvitingPartyEventindex].pkTime)return void e.index.showToast({icon:"none",title:"请保持时间一致"});const t=`C2C${this.item.senderId}`,i=JSON.stringify(this.list[this.InvitingPartyEventindex]),n=JSON.stringify(this.item);e.index.redirectTo({url:`/TUIKit/components/TUIChat/index?conversationID=${t}&myitem=${i}&youritem=${n}`})},close(){this.$refs.popup.close()},openChat(){const t=`C2C${this.item.senderId}`;e.index.redirectTo({url:`/TUIKit/components/TUIChat/index?conversationID=${t}`})},async userlist(){e.index.showLoading({title:"加载中...",mask:!0});const t=await n.request({url:"pk/queryMyCanUsePkData",method:"POST",data:{userId:this.id},userInfo:!0});200===t.code?0!==t.data.length?(e.index.hideLoading(),console.log("res.data",t.data),this.list=t.data):(e.index.hideLoading(),this.openPopupQuantity()):(e.index.hideLoading(),e.index.showToast({title:"加载失败",icon:"none",duration:2e3}))},openPopupQuantity(){this.$refs.createModule.open()}},components:{NewAddedPk:()=>"../NewAddedPk/NewAddedPk2.js"}};if(!Array){(e.resolveComponent("viewm")+e.resolveComponent("uni-popup")+e.resolveComponent("NewAddedPk"))()}Math;const s=e._export_sfc(o,[["render",function(t,i,n,o,s,d){return e.e({a:e.o$1(((...e)=>d.Returnfunc&&d.Returnfunc(...e))),b:s.item.anchorIcon,c:e.t(s.item.anchorId),d:"1"===s.item.sex},"1"===s.item.sex?{e:e.t("1"===s.item.sex?"男":"女")}:{f:e.t("2"===s.item.sex?"男":"女")},{g:e.t(s.item.country),h:e.t(d.formatDate(s.item.pkTime)),i:e.t(s.item.coin),j:e.t(s.item.pkNumber),k:s.item.senderId!==s.id},s.item.senderId!==s.id?{l:e.o$1((e=>d.openChat())),m:e.o$1((e=>d.open()))}:{},{n:e.f(s.list,((t,i,n)=>({a:t.anchorIcon,b:e.t(t.anchorId),c:e.t(t.coin),d:"7eb40f71-1-"+n+",7eb40f71-0",e:e.t(d.TimeFormatting(t.pkTime)),f:e.o$1((e=>d.Select(t.id,i))),g:s.selectedId===t.id?"#f6f6f6":"#ffffff"}))),o:e.o$1((e=>d.invite())),p:e.o$1((e=>d.close())),q:e.sr("popup","7eb40f71-0"),r:e.p({type:"center","border-radius":"10px 10px 0 0"}),s:e.sr("createModule","7eb40f71-2")})}],["__scopeId","data-v-7eb40f71"]]);wx.createPage(s);
|
||||
"use strict";const e=require("../../common/vendor.js"),t=require("../../components/formatDate.js"),i=require("../../components/TimeFormatting.js"),n=require("../../components/request.js"),o={data:()=>({item:{},id:0,InvitingPartyEventID:null,list:[],selectedId:null,InvitingPartyEventindex:null,chatInfo:{},currentConversation:null,style:{backgroundColor:"#ffffff"}}),onLoad(t){this.getOpenerEventChannel().on("itemDetail",(e=>{this.item=e.item,console.log("接收到的数据:",this.item)})),e.index.getStorage({key:"userinfo",success:e=>{this.id=e.data.id}}),e.index.getStorage({key:"chatInfo",success:e=>{this.chatInfo=e.data}})},methods:{formatDate:t.formatDate,TimeFormatting:i.TimeFormatting,Select(e,t){this.selectedId===e?(this.selectedId=null,this.InvitingPartyEventID=null,this.InvitingPartyEventindex=null):(this.selectedId=this.selectedId===e?null:e,this.InvitingPartyEventID=e,this.InvitingPartyEventindex=t)},Returnfunc(){e.index.navigateBack({delta:1})},open(){this.$refs.popup.open("center"),this.userlist()},invite(){if(this.item.pkTime!==this.list[this.InvitingPartyEventindex].pkTime)return void e.index.showToast({icon:"none",title:"请保持时间一致"});const t=`C2C${this.item.senderId}`,i=JSON.stringify(this.list[this.InvitingPartyEventindex]),n=JSON.stringify(this.item);e.index.redirectTo({url:`/TUIKit/components/TUIChat/index?conversationID=${t}&myitem=${i}&youritem=${n}`})},close(){this.$refs.popup.close()},openChat(){const t=`C2C${this.item.senderId}`;e.index.redirectTo({url:`/TUIKit/components/TUIChat/index?conversationID=${t}`})},async userlist(){e.index.showLoading({title:"加载中...",mask:!0});const t=await n.request({url:"pk/queryMyCanUsePkData",method:"POST",data:{userId:this.id},userInfo:!0});200===t.code?0!==t.data.length?(e.index.hideLoading(),console.log("res.data",t.data),this.list=t.data):(e.index.hideLoading(),this.openPopupQuantity()):(e.index.hideLoading(),e.index.showToast({title:"加载失败",icon:"none",duration:2e3}))},openPopupQuantity(){this.$refs.createModule.open()}},components:{NewAddedPk:()=>"../NewAddedPk/NewAddedPk2.js"}};if(!Array){(e.resolveComponent("uni-easyinput")+e.resolveComponent("viewm")+e.resolveComponent("uni-popup")+e.resolveComponent("NewAddedPk"))()}Math||((()=>"../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const s=e._export_sfc(o,[["render",function(t,i,n,o,s,d){return e.e({a:e.o$1(((...e)=>d.Returnfunc&&d.Returnfunc(...e))),b:s.item.anchorIcon,c:e.t(s.item.disPlayId),d:"1"===s.item.sex},"1"===s.item.sex?{e:e.t("1"===s.item.sex?"男":"女")}:{f:e.t("2"===s.item.sex?"男":"女")},{g:e.t(s.item.country),h:e.t(d.formatDate(s.item.pkTime)),i:e.t(s.item.coin),j:e.t(s.item.pkNumber),k:e.s(s.style),l:e.o$1((e=>s.item.remark=e)),m:e.p({type:"textarea",placeholder:"备注",maxlength:"-1",disabled:"true",modelValue:s.item.remark}),n:s.item.senderId!==s.id},s.item.senderId!==s.id?{o:e.o$1((e=>d.openChat())),p:e.o$1((e=>d.open()))}:{},{q:e.f(s.list,((t,i,n)=>({a:t.anchorIcon,b:e.t(t.anchorId),c:e.t(d.TimeFormatting(t.pkTime)),d:e.t(t.coin),e:"7d712765-2-"+n+",7d712765-1",f:e.o$1((e=>d.Select(t.id,i)),i),g:s.selectedId===t.id?"#f6f6f6":"#ffffff",h:i}))),r:e.o$1((e=>d.invite())),s:e.o$1((e=>d.close())),t:e.sr("popup","7d712765-1"),v:e.p({type:"center","border-radius":"10px 10px 0 0"}),w:e.sr("createModule","7d712765-3")})}],["__scopeId","data-v-7d712765"]]);wx.createPage(s);
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"navigationBarTitleText": "PK详情",
|
||||
"usingComponents": {
|
||||
"new-added-pk": "../NewAddedPk/NewAddedPk",
|
||||
"uni-easyinput": "../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput",
|
||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<view class="container data-v-7eb40f71"><view class="background data-v-7eb40f71"><image class="data-v-7eb40f71" style="width:100%;height:100%" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Navigation data-v-7eb40f71"><view class="Return data-v-7eb40f71" bindtap="{{a}}"><image class="Return data-v-7eb40f71" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view></view><view class="Content data-v-7eb40f71"><view class="sender data-v-7eb40f71"><view class="sengderIcon data-v-7eb40f71"><image class="Icon data-v-7eb40f71" src="{{b}}" mode="scaleToFill"/></view><view class="Individual data-v-7eb40f71"><view class="name data-v-7eb40f71">{{c}}</view><view class="GenderAndAge data-v-7eb40f71"><view wx:if="{{d}}" class="male data-v-7eb40f71"><view class="data-v-7eb40f71"><image class="data-v-7eb40f71" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/></view><view class="age data-v-7eb40f71">{{e}}</view></view><view wx:else class="female data-v-7eb40f71"><view class="data-v-7eb40f71"><image class="data-v-7eb40f71" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/></view><view class="age data-v-7eb40f71">{{f}}</view></view></view><view class="nation data-v-7eb40f71">{{g}}</view></view><view class="Time data-v-7eb40f71">PK时间:{{h}}</view><view class="SessionAndGoldCoin data-v-7eb40f71"><view class="goldCoin data-v-7eb40f71"><image class="data-v-7eb40f71" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/gold.png" mode="scaleToFill"/><view class="goldcard data-v-7eb40f71"><view class="goldnumber data-v-7eb40f71">{{i}}</view><view class="goldtext data-v-7eb40f71">金币</view></view></view><view class="Session data-v-7eb40f71"><image class="data-v-7eb40f71" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/session.png" mode="scaleToFill"/><view class="goldcard data-v-7eb40f71"><view class="goldnumber data-v-7eb40f71">{{j}}</view><view class="goldtext data-v-7eb40f71">PK场数</view></view></view></view></view><view wx:if="{{k}}" class="button data-v-7eb40f71"><button class="accept data-v-7eb40f71" bindtap="{{l}}">聊了个天</button><button class="reject data-v-7eb40f71" bindtap="{{m}}">立即邀请</button></view></view></view><uni-popup wx:if="{{r}}" class="r data-v-7eb40f71" u-s="{{['d']}}" u-r="popup" u-i="7eb40f71-0" bind:__l="__l" u-p="{{r}}"><view class="popup-content data-v-7eb40f71"><view class="popup-title data-v-7eb40f71"><view class="popup-text data-v-7eb40f71">请选择您要参与的主播</view><scroll-view scroll-y="true" class="scroll data-v-7eb40f71"><view wx:for="{{n}}" wx:for-item="item" class="card data-v-7eb40f71"><view class="card-content data-v-7eb40f71" bindtap="{{item.f}}" style="{{'background:' + item.g}}"><view class="Avatarimg data-v-7eb40f71"><image class="avatar data-v-7eb40f71" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-7eb40f71"><view class="TimeMoney data-v-7eb40f71"><view class="NameMoney_Name data-v-7eb40f71">{{item.b}}</view><viewm u-s="{{['d']}}" class="goldnb data-v-7eb40f71" u-i="{{item.d}}" bind:__l="__l"><view class="goldimg data-v-7eb40f71"></view>{{item.c}}K</viewm></view><view class="TimeMoney_Time data-v-7eb40f71"><view class="pkTimeimg data-v-7eb40f71"></view><view class="data-v-7eb40f71">{{item.e}}</view></view></view></view></view></scroll-view></view><view class="popup-btn data-v-7eb40f71"><button class="invite data-v-7eb40f71" type="primary" bindtap="{{o}}">邀请</button><button class="cancel data-v-7eb40f71" type="default" bindtap="{{p}}">取消</button></view></view></uni-popup><new-added-pk class="createModule r data-v-7eb40f71" u-r="createModule" u-i="7eb40f71-2" bind:__l="__l"></new-added-pk>
|
||||
<view class="container data-v-7d712765"><view class="background data-v-7d712765"><image class="data-v-7d712765" style="width:100%;height:100%" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Navigation data-v-7d712765"><view class="Return data-v-7d712765" bindtap="{{a}}"><image class="Return data-v-7d712765" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view></view><view class="Content data-v-7d712765"><view class="sender data-v-7d712765"><view class="sengderIcon data-v-7d712765"><image class="Icon data-v-7d712765" src="{{b}}" mode="scaleToFill"/></view><view class="Individual data-v-7d712765"><view class="name data-v-7d712765">{{c}}</view><view class="GenderAndAge data-v-7d712765"><view wx:if="{{d}}" class="male data-v-7d712765"><view class="data-v-7d712765"><image class="data-v-7d712765" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/></view><view class="age data-v-7d712765">{{e}}</view></view><view wx:else class="female data-v-7d712765"><view class="data-v-7d712765"><image class="data-v-7d712765" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/></view><view class="age data-v-7d712765">{{f}}</view></view></view><view class="nation data-v-7d712765">{{g}}</view></view><view class="Time data-v-7d712765">PK时间:{{h}}</view><view class="SessionAndGoldCoin data-v-7d712765"><view class="goldCoin data-v-7d712765"><image class="data-v-7d712765" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/gold.png" mode="scaleToFill"/><view class="goldcard data-v-7d712765"><view class="goldnumber data-v-7d712765">{{i}}</view><view class="goldtext data-v-7d712765">金币</view></view></view><view class="Session data-v-7d712765"><image class="data-v-7d712765" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/session.png" mode="scaleToFill"/><view class="goldcard data-v-7d712765"><view class="goldnumber data-v-7d712765">{{j}}</view><view class="goldtext data-v-7d712765">PK场数</view></view></view></view></view><view class="remark data-v-7d712765"><uni-easyinput wx:if="{{m}}" class="data-v-7d712765" style="{{k}}" u-i="7d712765-0" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"></uni-easyinput></view><view wx:if="{{n}}" class="button data-v-7d712765"><button class="accept data-v-7d712765" bindtap="{{o}}">聊了个天</button><button class="reject data-v-7d712765" bindtap="{{p}}">立即邀请</button></view></view></view><uni-popup wx:if="{{v}}" class="r data-v-7d712765" u-s="{{['d']}}" u-r="popup" u-i="7d712765-1" bind:__l="__l" u-p="{{v}}"><view class="popup-content data-v-7d712765"><view class="popup-title data-v-7d712765"><view class="popup-text data-v-7d712765">请选择您要参与的主播</view><scroll-view scroll-y="true" class="scroll data-v-7d712765"><view wx:for="{{q}}" wx:for-item="item" wx:key="h" class="card data-v-7d712765"><view class="card-content data-v-7d712765" bindtap="{{item.f}}" style="{{'background:' + item.g}}"><view class="Avatarimg data-v-7d712765"><image class="avatar data-v-7d712765" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-7d712765"><view class="TimeMoney data-v-7d712765"><view class="NameMoney_Name data-v-7d712765">{{item.b}}</view></view><view class="TimeMoney_Time data-v-7d712765"><view class="pkTimeimg data-v-7d712765"></view><view class="data-v-7d712765">{{item.c}}</view><viewm u-s="{{['d']}}" class="goldnb data-v-7d712765" u-i="{{item.e}}" bind:__l="__l"><view class="goldimg data-v-7d712765"></view>{{item.d}}K</viewm></view></view></view></view></scroll-view></view><view class="popup-btn data-v-7d712765"><button class="invite data-v-7d712765" type="primary" bindtap="{{r}}">邀请</button><button class="cancel data-v-7d712765" type="default" bindtap="{{s}}">取消</button></view></view></uni-popup><new-added-pk class="createModule r data-v-7d712765" u-r="createModule" u-i="7d712765-3" bind:__l="__l"></new-added-pk>
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"setting": {
|
||||
"urlCheck": true
|
||||
"urlCheck": false
|
||||
}
|
||||
}
|
||||
2
unpackage/dist/build/mp-weixin/recompose.js
vendored
2
unpackage/dist/build/mp-weixin/recompose.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","sources":["TUIKit/components/TUIChat/chat-header/index.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9UVUlLaXQvY29tcG9uZW50cy9UVUlDaGF0L2NoYXQtaGVhZGVyL2luZGV4LnZ1ZQ"],"sourcesContent":["<template>\r\n <view style=\"display: none;\" />\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { onMounted, onUnmounted, ref } from '../../../adapter-vue';\r\nimport {\r\n TUIStore,\r\n StoreName,\r\n IConversationModel,\r\n TUITranslateService,\r\n} from '@tencentcloud/chat-uikit-engine';\r\nimport { TUIGlobal } from '@tencentcloud/universal-api';\r\nimport { onLoad, onNavigationBarButtonTap } from '@dcloudio/uni-app';\r\n\r\nconst emits = defineEmits(['openGroupManagement']);\r\nconst props = defineProps(['isGroup']);\r\n\r\nconst currentConversation = ref<IConversationModel>();\r\nconst typingStatus = ref(false);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nconst setChatHeaderContent = (content: string) => {\r\n TUIGlobal?.setNavigationBarTitle({\r\n title: content || '云通信 IM',\r\n });\r\n};\r\n\r\nonMounted(() => {\r\n TUIStore.watch(StoreName.CONV, {\r\n currentConversation: onCurrentConversationUpdated,\r\n });\r\n TUIStore.watch(StoreName.CHAT, {\r\n typingStatus: onTypingStatusUpdated,\r\n });\r\n});\r\n\r\nonUnmounted(() => {\r\n TUIStore.unwatch(StoreName.CONV, {\r\n currentConversation: onCurrentConversationUpdated,\r\n });\r\n TUIStore.unwatch(StoreName.CHAT, {\r\n typingStatus: onTypingStatusUpdated,\r\n });\r\n});\r\n\r\nonLoad(() => {\r\n setChatHeaderContent(currentConversation.value?.getShowName());\r\n});\r\n\r\nfunction onCurrentConversationUpdated(conversation: IConversationModel) {\r\n currentConversation.value = conversation;\r\n if (!typingStatus.value) {\r\n setChatHeaderContent(currentConversation?.value?.getShowName());\r\n }\r\n}\r\n\r\nfunction onTypingStatusUpdated(status: boolean) {\r\n typingStatus.value = status;\r\n if (typingStatus.value) {\r\n setChatHeaderContent(TUITranslateService.t('TUIChat.对方正在输入'));\r\n } else {\r\n setChatHeaderContent(currentConversation.value?.getShowName());\r\n }\r\n}\r\n</script>\r\n","import Component from 'D:/项目/tk-mini-program/TUIKit/components/TUIChat/chat-header/index.vue'\nwx.createComponent(Component)"],"names":["ref","TUIGlobal","onMounted","TUIStore","StoreName","onUnmounted","onLoad","TUITranslateService","Component"],"mappings":";;;;;;;;AAkBA,UAAM,sBAAsBA,cAAAA;AACtB,UAAA,eAAeA,kBAAI,KAAK;AAyBxB,UAAA,uBAAuB,CAAC,YAAoB;;AAChDC,0BAAAA,MAAAA,mBAAW,sBAAsB;AAAA,QAC/B,OAAO,WAAW;AAAA,MAAA;AAAA,IACnB;AAGHC,kBAAAA,UAAU,MAAM;AACLC,uBAAA,MAAMC,gBAAU,MAAM;AAAA,QAC7B,qBAAqB;AAAA,MAAA,CACtB;AACQD,uBAAA,MAAMC,gBAAU,MAAM;AAAA,QAC7B,cAAc;AAAA,MAAA,CACf;AAAA,IAAA,CACF;AAEDC,kBAAAA,YAAY,MAAM;AACPF,uBAAA,QAAQC,gBAAU,MAAM;AAAA,QAC/B,qBAAqB;AAAA,MAAA,CACtB;AACQD,uBAAA,QAAQC,gBAAU,MAAM;AAAA,QAC/B,cAAc;AAAA,MAAA,CACf;AAAA,IAAA,CACF;AAEDE,kBAAAA,OAAO,MAAM;;AACU,4BAAA,yBAAoB,UAApB,mBAA2B,aAAa;AAAA,IAAA,CAC9D;AAED,aAAS,6BAA6B,cAAkC;;AACtE,0BAAoB,QAAQ;AACxB,UAAA,CAAC,aAAa,OAAO;AACF,8BAAA,gEAAqB,UAArB,mBAA4B,aAAa;AAAA,MAChE;AAAA,IACF;AAEA,aAAS,sBAAsB,QAAiB;;AAC9C,mBAAa,QAAQ;AACrB,UAAI,aAAa,OAAO;AACD,6BAAAC,cAAA,GAAoB,EAAE,gBAAgB,CAAC;AAAA,MAAA,OACvD;AACgB,8BAAA,yBAAoB,UAApB,mBAA2B,aAAa;AAAA,MAC/D;AAAA,IACF;;;;;;ACrFA,GAAG,gBAAgBC,SAAS;"}
|
||||
{"version":3,"file":"index.js","sources":["TUIKit/components/TUIChat/chat-header/index.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9UVUlLaXQvY29tcG9uZW50cy9UVUlDaGF0L2NoYXQtaGVhZGVyL2luZGV4LnZ1ZQ"],"sourcesContent":["<template>\r\n <view style=\"display: flex;\" />\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { onMounted, onUnmounted, ref } from '../../../adapter-vue';\r\nimport {\r\n TUIStore,\r\n StoreName,\r\n IConversationModel,\r\n TUITranslateService,\r\n} from '@tencentcloud/chat-uikit-engine';\r\nimport { TUIGlobal } from '@tencentcloud/universal-api';\r\nimport { onLoad, onNavigationBarButtonTap } from '@dcloudio/uni-app';\r\n\r\nconst emits = defineEmits(['openGroupManagement']);\r\nconst props = defineProps(['isGroup']);\r\n\r\nconst currentConversation = ref<IConversationModel>();\r\nconst typingStatus = ref(false);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nconst setChatHeaderContent = (content: string) => {\r\n TUIGlobal?.setNavigationBarTitle({\r\n title: content || '云通信 IM',\r\n });\r\n};\r\n\r\nonMounted(() => {\r\n TUIStore.watch(StoreName.CONV, {\r\n currentConversation: onCurrentConversationUpdated,\r\n });\r\n TUIStore.watch(StoreName.CHAT, {\r\n typingStatus: onTypingStatusUpdated,\r\n });\r\n});\r\n\r\nonUnmounted(() => {\r\n TUIStore.unwatch(StoreName.CONV, {\r\n currentConversation: onCurrentConversationUpdated,\r\n });\r\n TUIStore.unwatch(StoreName.CHAT, {\r\n typingStatus: onTypingStatusUpdated,\r\n });\r\n});\r\n\r\nonLoad(() => {\r\n setChatHeaderContent(currentConversation.value?.getShowName());\r\n});\r\n\r\nfunction onCurrentConversationUpdated(conversation: IConversationModel) {\r\n currentConversation.value = conversation;\r\n if (!typingStatus.value) {\r\n setChatHeaderContent(currentConversation?.value?.getShowName());\r\n }\r\n}\r\n\r\nfunction onTypingStatusUpdated(status: boolean) {\r\n typingStatus.value = status;\r\n if (typingStatus.value) {\r\n setChatHeaderContent(TUITranslateService.t('TUIChat.对方正在输入'));\r\n } else {\r\n setChatHeaderContent(currentConversation.value?.getShowName());\r\n }\r\n}\r\n</script>\r\n","import Component from 'D:/项目/tk-mini-program/TUIKit/components/TUIChat/chat-header/index.vue'\nwx.createComponent(Component)"],"names":["ref","TUIGlobal","onMounted","TUIStore","StoreName","onUnmounted","onLoad","TUITranslateService","Component"],"mappings":";;;;;;;;AAkBA,UAAM,sBAAsBA,cAAAA;AACtB,UAAA,eAAeA,kBAAI,KAAK;AAyBxB,UAAA,uBAAuB,CAAC,YAAoB;;AAChDC,0BAAAA,MAAAA,mBAAW,sBAAsB;AAAA,QAC/B,OAAO,WAAW;AAAA,MAAA;AAAA,IACnB;AAGHC,kBAAAA,UAAU,MAAM;AACLC,uBAAA,MAAMC,gBAAU,MAAM;AAAA,QAC7B,qBAAqB;AAAA,MAAA,CACtB;AACQD,uBAAA,MAAMC,gBAAU,MAAM;AAAA,QAC7B,cAAc;AAAA,MAAA,CACf;AAAA,IAAA,CACF;AAEDC,kBAAAA,YAAY,MAAM;AACPF,uBAAA,QAAQC,gBAAU,MAAM;AAAA,QAC/B,qBAAqB;AAAA,MAAA,CACtB;AACQD,uBAAA,QAAQC,gBAAU,MAAM;AAAA,QAC/B,cAAc;AAAA,MAAA,CACf;AAAA,IAAA,CACF;AAEDE,kBAAAA,OAAO,MAAM;;AACU,4BAAA,yBAAoB,UAApB,mBAA2B,aAAa;AAAA,IAAA,CAC9D;AAED,aAAS,6BAA6B,cAAkC;;AACtE,0BAAoB,QAAQ;AACxB,UAAA,CAAC,aAAa,OAAO;AACF,8BAAA,gEAAqB,UAArB,mBAA4B,aAAa;AAAA,MAChE;AAAA,IACF;AAEA,aAAS,sBAAsB,QAAiB;;AAC9C,mBAAa,QAAQ;AACrB,UAAI,aAAa,OAAO;AACD,6BAAAC,cAAA,GAAoB,EAAE,gBAAgB,CAAC;AAAA,MAAA,OACvD;AACgB,8BAAA,yBAAoB,UAApB,mBAA2B,aAAa;AAAA,MAC/D;AAAA,IACF;;;;;;ACrFA,GAAG,gBAAgBC,SAAS;"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"request.js","sources":["components/request.js"],"sourcesContent":["import addPrefixToHeaderIcon from './addPrefixToHeaderIcon.js'\r\nexport default function request(urldata) {\r\n const { url, data, method, header, userInfo } = urldata;\r\n const baseUrl = \"https://api.yolojt.com/\"+ url;\r\n // const baseUrl = \"http://192.168.0.218:8086/\"+ url;\r\n if (userInfo) {\r\n return new Promise((resolve, reject) => {\r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n if (res.data) {\r\n if (res.data.nickName) {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n console.log(\"请求成功1\", res.data);\r\n resolve(addPrefixToHeaderIcon(res.data));\r\n // resolve(res.data);\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.reLaunch({ url: \"/pages/UserInformation/UserInformation\" })\r\n }\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' })\r\n }\r\n },\r\n fail: function (res) {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' })\r\n reject(res);\r\n }\r\n });\r\n });\r\n } else {\r\n return new Promise((resolve, reject) => {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n console.log(\"请求成功2\", res);\r\n // resolve(res.data);\r\n resolve(addPrefixToHeaderIcon(res.data));\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n });\r\n }\r\n\r\n}"],"names":["uni","res","addPrefixToHeaderIcon"],"mappings":";;;AACe,SAAS,QAAQ,SAAS;AACrC,QAAM,EAAE,KAAK,MAAM,QAAQ,QAAQ,SAAU,IAAG;AAChD,QAAM,UAAU,4BAA2B;AAE3C,MAAI,UAAU;AACV,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,WAAW;AAAA,QACX,KAAK;AAAA,QACL,SAAS,CAAC,QAAQ;AACd,cAAI,IAAI,MAAM;AACV,gBAAI,IAAI,KAAK,UAAU;AACnBA,4BAAAA,MAAI,QAAQ;AAAA,gBACR,KAAK;AAAA,gBACL;AAAA,gBACA;AAAA,gBACA;AAAA,gBACA,SAAS,SAAUC,MAAK;AACpBD,gCAAA,MAAA,MAAA,OAAA,+BAAY,SAASC,KAAI,IAAI;AAC7B,0BAAQC,iCAAqB,sBAACD,KAAI,IAAI,CAAC;AAAA,gBAE1C;AAAA,gBACD,MAAM,SAAUA,MAAK;AACjB,yBAAOA,IAAG;AAAA,gBACb;AAAA,cACjC,CAA6B;AAAA,YAC7B,OAA+B;AACHD,kCAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,4BAAAA,MAAI,SAAS,EAAE,KAAK,yCAAwC,CAAE;AAAA,YACjE;AAAA,UACzB,OAA2B;AACHA,gCAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,0BAAAA,MAAI,WAAW,EAAE,KAAK,qBAAoB,CAAE;AAAA,UAC/C;AAAA,QACJ;AAAA,QACD,MAAM,SAAU,KAAK;AACjBA,8BAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,wBAAAA,MAAI,WAAW,EAAE,KAAK,qBAAoB,CAAE;AAC5C,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACT,OAAW;AACH,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,QAAQ;AAAA,QACR,KAAK;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA,SAAS,SAAU,KAAK;AACpBA,wBAAY,MAAA,MAAA,OAAA,+BAAA,SAAS,GAAG;AAExB,kBAAQE,iCAAqB,sBAAC,IAAI,IAAI,CAAC;AAAA,QAC1C;AAAA,QACD,MAAM,SAAU,KAAK;AACjB,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACJ;AAEL;;"}
|
||||
{"version":3,"file":"request.js","sources":["components/request.js"],"sourcesContent":["import addPrefixToHeaderIcon from './addPrefixToHeaderIcon.js'\r\nexport default function request(urldata) {\r\n const { url, data, method, header, userInfo } = urldata;\r\n // const baseUrl = \"http://49.235.115.212:8086/\"+ url;\r\n // const baseUrl = \"https://pk.zhukeping.com/\"+ url;\r\n const baseUrl = \"http://120.26.251.180:8086/\"+ url;\r\n // const baseUrl = \"http://192.168.0.218:8086/\"+ url;\r\n if (userInfo) {\r\n return new Promise((resolve, reject) => {\r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n if (res.data) {\r\n if (res.data.nickName) {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n console.log(\"请求成功1\", res.data);\r\n resolve(addPrefixToHeaderIcon(res.data));\r\n // resolve(res.data);\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.reLaunch({ url: \"/pages/UserInformation/UserInformation\" })\r\n }\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' })\r\n }\r\n },\r\n fail: function (res) {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' })\r\n reject(res);\r\n }\r\n });\r\n });\r\n } else {\r\n return new Promise((resolve, reject) => {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n console.log(\"请求成功2\", res);\r\n // resolve(res.data);\r\n resolve(addPrefixToHeaderIcon(res.data));\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n });\r\n }\r\n\r\n}"],"names":["uni","res","addPrefixToHeaderIcon"],"mappings":";;;AACe,SAAS,QAAQ,SAAS;AACrC,QAAM,EAAE,KAAK,MAAM,QAAQ,QAAQ,SAAU,IAAG;AAGhD,QAAM,UAAU,gCAA+B;AAE/C,MAAI,UAAU;AACV,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,WAAW;AAAA,QACX,KAAK;AAAA,QACL,SAAS,CAAC,QAAQ;AACd,cAAI,IAAI,MAAM;AACV,gBAAI,IAAI,KAAK,UAAU;AACnBA,4BAAAA,MAAI,QAAQ;AAAA,gBACR,KAAK;AAAA,gBACL;AAAA,gBACA;AAAA,gBACA;AAAA,gBACA,SAAS,SAAUC,MAAK;AACpBD,gCAAA,MAAA,MAAA,OAAA,+BAAY,SAASC,KAAI,IAAI;AAC7B,0BAAQC,iCAAqB,sBAACD,KAAI,IAAI,CAAC;AAAA,gBAE1C;AAAA,gBACD,MAAM,SAAUA,MAAK;AACjB,yBAAOA,IAAG;AAAA,gBACb;AAAA,cACjC,CAA6B;AAAA,YAC7B,OAA+B;AACHD,kCAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,4BAAAA,MAAI,SAAS,EAAE,KAAK,yCAAwC,CAAE;AAAA,YACjE;AAAA,UACzB,OAA2B;AACHA,gCAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,0BAAAA,MAAI,WAAW,EAAE,KAAK,qBAAoB,CAAE;AAAA,UAC/C;AAAA,QACJ;AAAA,QACD,MAAM,SAAU,KAAK;AACjBA,8BAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,wBAAAA,MAAI,WAAW,EAAE,KAAK,qBAAoB,CAAE;AAC5C,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACT,OAAW;AACH,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,QAAQ;AAAA,QACR,KAAK;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA,SAAS,SAAU,KAAK;AACpBA,wBAAY,MAAA,MAAA,OAAA,+BAAA,SAAS,GAAG;AAExB,kBAAQE,iCAAqB,sBAAC,IAAI,IAAI,CAAC;AAAA,QAC1C;AAAA,QACD,MAAM,SAAU,KAAK;AACjB,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACJ;AAEL;;"}
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"Forum.js","sources":["pages/Forum/Forum.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvRm9ydW0vRm9ydW0udnVl"],"sourcesContent":["<template>\r\n <view class=\"forum\">\r\n <view class=\"bg\">\r\n <image class=\"bgImg\" src=\"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png\" mode=\"scaleToFill\" />\r\n </view>\r\n <view class=\"title\">论坛</view>\r\n\r\n\r\n </view>\r\n <view class=\"tabBar\">\r\n <tabBar></tabBar>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport tabBar from \"../../components/tabBar/tabBar\";\r\n export default {\r\n data() {\r\n return {\r\n title: 'Hello'\r\n }\r\n },\r\n onLoad() {\r\n // 页面加载时执行\r\n },\r\n methods: {\r\n // 方法定义\r\n },\r\n components: {\r\n tabBar\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n.bg {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n z-index: -1;\r\n}\r\n.bgImg {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n.title {\r\n position: absolute;\r\n top: 120rpx;\r\n left: 345rpx;\r\n font-size: 34rpx;\r\n color: #100e0f;\r\n font-weight: bold;\r\n}\r\n</style>","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/Forum/Forum.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;AAeA,eAAe,MAAW;AACtB,MAAK,YAAU;AAAA,EACX,OAAO;AACH,WAAO;AAAA,MACH,OAAO;AAAA,IACX;AAAA,EACH;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA;AAAA,EAER;AAAA,EACD,YAAY;AAAA,IACR;AAAA,EACJ;AACJ;;;;;;;;;;;;;AC9BJ,GAAG,WAAW,eAAe;"}
|
||||
{"version":3,"file":"Forum.js","sources":["pages/Forum/Forum.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvRm9ydW0vRm9ydW0udnVl"],"sourcesContent":["<template>\r\n <view class=\"forum\">\r\n <view class=\"bg\">\r\n <image class=\"bgImg\" src=\"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png\" mode=\"scaleToFill\" />\r\n </view>\r\n <view class=\"title\">论坛</view>\r\n\r\n\r\n </view>\r\n <view class=\"tabBar\">\r\n <tabBar :tabIndex=\"1\"></tabBar>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport tabBar from \"../../components/tabBar/tabBar\";\r\n export default {\r\n data() {\r\n return {\r\n title: 'Hello'\r\n }\r\n },\r\n onLoad() {\r\n // 页面加载时执行\r\n },\r\n methods: {\r\n // 方法定义\r\n },\r\n components: {\r\n tabBar\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n.bg {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n z-index: -1;\r\n}\r\n.bgImg {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n.title {\r\n position: absolute;\r\n top: 120rpx;\r\n left: 345rpx;\r\n font-size: 34rpx;\r\n color: #100e0f;\r\n font-weight: bold;\r\n}\r\n</style>","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/Forum/Forum.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;AAeA,eAAe,MAAW;AACtB,MAAK,YAAU;AAAA,EACX,OAAO;AACH,WAAO;AAAA,MACH,OAAO;AAAA,IACX;AAAA,EACH;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA;AAAA,EAER;AAAA,EACD,YAAY;AAAA,IACR;AAAA,EACJ;AACJ;;;;;;;;;;;;;;;;;AC9BJ,GAAG,WAAW,eAAe;"}
|
||||
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
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
File diff suppressed because one or more lines are too long
284
unpackage/dist/dev/mp-weixin/NewAddedPk.js
vendored
Normal file
284
unpackage/dist/dev/mp-weixin/NewAddedPk.js
vendored
Normal file
@@ -0,0 +1,284 @@
|
||||
"use strict";
|
||||
const common_vendor = require("./common/vendor.js");
|
||||
const components_NationalDictionary = require("./components/NationalDictionary.js");
|
||||
const components_request = require("./components/request.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,
|
||||
//是否可搜索
|
||||
AnchorProfilePicture: ""
|
||||
//主播头像
|
||||
};
|
||||
},
|
||||
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/NewAddedPk/NewAddedPk.vue:182", item);
|
||||
},
|
||||
country(item) {
|
||||
this.countrys = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:187", 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 = 0;
|
||||
this.numberCoins = "";
|
||||
this.remarks = "";
|
||||
this.datetimesingle = "";
|
||||
this.countrys = "";
|
||||
this.session = "";
|
||||
} else {
|
||||
this.Display = true;
|
||||
}
|
||||
},
|
||||
//获取主播名称以及头像地址
|
||||
blur(event) {
|
||||
if (this.nameAnchor !== event.target.value) {
|
||||
this.nameAnchor = event.target.value;
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在验证主播",
|
||||
mask: true
|
||||
});
|
||||
common_vendor.index.request({
|
||||
url: "https://python.yolojt.com/api/" + this.nameAnchor,
|
||||
success: (res) => {
|
||||
if (res.data.code === 200) {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.showToast({
|
||||
title: "查询成功",
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
this.AnchorProfilePicture = res.data.data;
|
||||
} else {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.showToast({
|
||||
title: "未查询到该主播",
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
}
|
||||
},
|
||||
fail: function(res) {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.showToast({
|
||||
title: "网络请求失败",
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
}
|
||||
});
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
},
|
||||
async Publish() {
|
||||
if (this.nameAnchor === "" || this.genders === 0 || this.numberCoins === "" || this.countrys === "" || this.datetimesingle === "" || this.session === "" || this.AnchorProfilePicture === "") {
|
||||
this.Hint = true;
|
||||
return;
|
||||
}
|
||||
if (this.remarks.includes(this.nameAnchor)) {
|
||||
common_vendor.index.showToast({
|
||||
title: "备注中不能包含主播昵称",
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
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,
|
||||
senderId: this.id,
|
||||
anchorIcon: this.AnchorProfilePicture,
|
||||
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 = "";
|
||||
this.AnchorProfilePicture = "";
|
||||
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_vendor.o$1((...args) => _ctx.NameAnchor && _ctx.NameAnchor(...args)),
|
||||
d: common_vendor.o$1((...args) => $options.blur && $options.blur(...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: $data.genders === 1
|
||||
}, $data.genders === 1 ? {} : {}, {
|
||||
m: $data.genders === 2
|
||||
}, $data.genders === 2 ? {} : {}, {
|
||||
n: $data.genders === 0 && $data.Hint === true
|
||||
}, $data.genders === 0 && $data.Hint === true ? {} : {}, {
|
||||
o: common_vendor.o$1(($event) => $data.numberCoins = $event),
|
||||
p: common_vendor.p({
|
||||
max: 9999999999,
|
||||
background: "#03ABA8",
|
||||
modelValue: $data.numberCoins
|
||||
}),
|
||||
q: $data.numberCoins === "" && $data.Hint === true
|
||||
}, $data.numberCoins === "" && $data.Hint === true ? {} : {}, {
|
||||
r: common_vendor.o$1(($event) => $data.datetimesingle = $event),
|
||||
s: common_vendor.p({
|
||||
type: "datetime",
|
||||
["hide-second"]: "true",
|
||||
modelValue: $data.datetimesingle
|
||||
}),
|
||||
t: $data.datetimesingle === "" && $data.Hint === true
|
||||
}, $data.datetimesingle === "" && $data.Hint === true ? {} : {}, {
|
||||
v: common_vendor.o$1(($event) => $data.session = $event),
|
||||
w: common_vendor.p({
|
||||
background: "#03ABA8",
|
||||
modelValue: $data.session
|
||||
}),
|
||||
x: $data.session === "" && $data.Hint === true
|
||||
}, $data.session === "" && $data.Hint === true ? {} : {}, {
|
||||
y: common_vendor.o$1(($event) => $data.remarks = $event),
|
||||
z: common_vendor.p({
|
||||
type: "textarea",
|
||||
placeholder: "备注",
|
||||
maxlength: "-1",
|
||||
modelValue: $data.remarks
|
||||
}),
|
||||
A: common_vendor.o$1(($event) => $options.Publish()),
|
||||
B: common_vendor.o$1(() => {
|
||||
}),
|
||||
C: common_vendor.n($data.Display ? "create-module" : "close-animation "),
|
||||
D: common_vendor.o$1(($event) => $options.open())
|
||||
}) : {});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-96d38e2b"]]);
|
||||
exports.MiniProgramPage = MiniProgramPage;
|
||||
//# sourceMappingURL=../.sourcemap/mp-weixin/NewAddedPk.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/TUIKit/adapter-vue.js
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/TUIKit/adapter-vue.js
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../common/vendor.js");
|
||||
let vueVersion;
|
||||
vueVersion = 3;
|
||||
common_vendor.index.__f__("warn", "at TUIKit/adapter-vue.ts:13", `[adapter-vue]: vue version is ${vueVersion}`);
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/TUIKit/adapter-vue.js.map
|
||||
59
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/chat-header/index.js
vendored
Normal file
59
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/chat-header/index.js
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
require("../../../adapter-vue.js");
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
props: ["isGroup"],
|
||||
emits: ["openGroupManagement"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const currentConversation = common_vendor.ref();
|
||||
const typingStatus = common_vendor.ref(false);
|
||||
const setChatHeaderContent = (content) => {
|
||||
var _a;
|
||||
(_a = common_vendor.i) == null ? void 0 : _a.setNavigationBarTitle({
|
||||
title: content || "云通信 IM"
|
||||
});
|
||||
};
|
||||
common_vendor.onMounted(() => {
|
||||
common_vendor.Jt.watch(common_vendor.o.CONV, {
|
||||
currentConversation: onCurrentConversationUpdated
|
||||
});
|
||||
common_vendor.Jt.watch(common_vendor.o.CHAT, {
|
||||
typingStatus: onTypingStatusUpdated
|
||||
});
|
||||
});
|
||||
common_vendor.onUnmounted(() => {
|
||||
common_vendor.Jt.unwatch(common_vendor.o.CONV, {
|
||||
currentConversation: onCurrentConversationUpdated
|
||||
});
|
||||
common_vendor.Jt.unwatch(common_vendor.o.CHAT, {
|
||||
typingStatus: onTypingStatusUpdated
|
||||
});
|
||||
});
|
||||
common_vendor.onLoad(() => {
|
||||
var _a;
|
||||
setChatHeaderContent((_a = currentConversation.value) == null ? void 0 : _a.getShowName());
|
||||
});
|
||||
function onCurrentConversationUpdated(conversation) {
|
||||
var _a;
|
||||
currentConversation.value = conversation;
|
||||
if (!typingStatus.value) {
|
||||
setChatHeaderContent((_a = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _a.getShowName());
|
||||
}
|
||||
}
|
||||
function onTypingStatusUpdated(status) {
|
||||
var _a;
|
||||
typingStatus.value = status;
|
||||
if (typingStatus.value) {
|
||||
setChatHeaderContent(common_vendor.Wt.t("TUIChat.对方正在输入"));
|
||||
} else {
|
||||
setChatHeaderContent((_a = currentConversation.value) == null ? void 0 : _a.getShowName());
|
||||
}
|
||||
}
|
||||
return (_ctx, _cache) => {
|
||||
return {};
|
||||
};
|
||||
}
|
||||
});
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/chat-header/index.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/chat-header/index.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/chat-header/index.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/chat-header/index.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/chat-header/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view style="display:flex"/>
|
||||
0
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/chat-header/index.wxss
vendored
Normal file
0
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/chat-header/index.wxss
vendored
Normal file
69
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/config.js
vendored
Normal file
69
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/config.js
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
class TUIChatConfig {
|
||||
constructor() {
|
||||
this.chatType = "";
|
||||
this.features = {
|
||||
DownloadFile: true,
|
||||
CopyMessage: true,
|
||||
DeleteMessage: true,
|
||||
RevokeMessage: true,
|
||||
QuoteMessage: true,
|
||||
ForwardMessage: true,
|
||||
TranslateMessage: true,
|
||||
VoiceToText: true,
|
||||
MultiSelection: true,
|
||||
EmojiReaction: true,
|
||||
InputEmoji: true,
|
||||
InputStickers: true,
|
||||
InputImage: true,
|
||||
InputVoice: true,
|
||||
InputVideo: true,
|
||||
InputFile: true,
|
||||
InputEvaluation: true,
|
||||
InputQuickReplies: true,
|
||||
InputCustomMessage: true,
|
||||
InputMention: true,
|
||||
MessageSearch: true,
|
||||
ReadStatus: true
|
||||
};
|
||||
this.theme = "light";
|
||||
}
|
||||
static getInstance() {
|
||||
if (!TUIChatConfig.instance) {
|
||||
TUIChatConfig.instance = new TUIChatConfig();
|
||||
}
|
||||
return TUIChatConfig.instance;
|
||||
}
|
||||
setChatType(chatType) {
|
||||
this.chatType = chatType;
|
||||
}
|
||||
getChatType() {
|
||||
return this.chatType;
|
||||
}
|
||||
hideTUIChatFeatures(features) {
|
||||
if (!features) {
|
||||
return;
|
||||
}
|
||||
features.forEach((feature) => {
|
||||
if (this.features[feature]) {
|
||||
this.features[feature] = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
getFeatureConfig(key) {
|
||||
if (key) {
|
||||
return this.features[key];
|
||||
}
|
||||
return this.features;
|
||||
}
|
||||
setTheme(theme) {
|
||||
this.theme = theme;
|
||||
}
|
||||
getTheme() {
|
||||
return this.theme;
|
||||
}
|
||||
}
|
||||
const ChatConfig = TUIChatConfig.getInstance();
|
||||
ChatConfig.hideTUIChatFeatures.bind(ChatConfig);
|
||||
exports.ChatConfig = ChatConfig;
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/config.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/emoji-config/custom-emoji.js
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/emoji-config/custom-emoji.js
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
"use strict";
|
||||
const CUSTOM_BIG_EMOJI_URL = "";
|
||||
const CUSTOM_BIG_EMOJI_GROUP_LIST = [];
|
||||
exports.CUSTOM_BIG_EMOJI_GROUP_LIST = CUSTOM_BIG_EMOJI_GROUP_LIST;
|
||||
exports.CUSTOM_BIG_EMOJI_URL = CUSTOM_BIG_EMOJI_URL;
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/emoji-config/custom-emoji.js.map
|
||||
159
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/emoji-config/default-emoji.js
vendored
Normal file
159
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/emoji-config/default-emoji.js
vendored
Normal file
@@ -0,0 +1,159 @@
|
||||
"use strict";
|
||||
var _a, _b;
|
||||
const TUIKit_components_TUIChat_emojiConfig_locales_zh_cn = require("./locales/zh_cn.js");
|
||||
const TUIKit_components_TUIChat_emojiConfig_locales_en = require("./locales/en.js");
|
||||
const TUIKit_constant = require("../../../constant.js");
|
||||
const DEFAULT_BASIC_EMOJI_URL = "https://web.sdk.qcloud.com/im/assets/emoji-plugin/";
|
||||
const DEFAULT_BIG_EMOJI_URL = "https://web.sdk.qcloud.com/im/assets/face-elem/";
|
||||
const DEFAULT_BASIC_EMOJI_URL_MAPPING = {
|
||||
"[TUIEmoji_Expect]": "emoji_0@2x.png",
|
||||
"[TUIEmoji_Blink]": "emoji_1@2x.png",
|
||||
"[TUIEmoji_Guffaw]": "emoji_2@2x.png",
|
||||
"[TUIEmoji_KindSmile]": "emoji_3@2x.png",
|
||||
"[TUIEmoji_Haha]": "emoji_4@2x.png",
|
||||
"[TUIEmoji_Cheerful]": "emoji_5@2x.png",
|
||||
"[TUIEmoji_Smile]": "emoji_6@2x.png",
|
||||
"[TUIEmoji_Sorrow]": "emoji_7@2x.png",
|
||||
"[TUIEmoji_Speechless]": "emoji_8@2x.png",
|
||||
"[TUIEmoji_Amazed]": "emoji_9@2x.png",
|
||||
"[TUIEmoji_Complacent]": "emoji_10@2x.png",
|
||||
"[TUIEmoji_Lustful]": "emoji_11@2x.png",
|
||||
"[TUIEmoji_Stareyes]": "emoji_12@2x.png",
|
||||
"[TUIEmoji_Giggle]": "emoji_13@2x.png",
|
||||
"[TUIEmoji_Daemon]": "emoji_14@2x.png",
|
||||
"[TUIEmoji_Rage]": "emoji_15@2x.png",
|
||||
"[TUIEmoji_Yawn]": "emoji_16@2x.png",
|
||||
"[TUIEmoji_TearsLaugh]": "emoji_17@2x.png",
|
||||
"[TUIEmoji_Silly]": "emoji_18@2x.png",
|
||||
"[TUIEmoji_Wail]": "emoji_19@2x.png",
|
||||
"[TUIEmoji_Kiss]": "emoji_20@2x.png",
|
||||
"[TUIEmoji_Trapped]": "emoji_21@2x.png",
|
||||
"[TUIEmoji_Fear]": "emoji_22@2x.png",
|
||||
"[TUIEmoji_BareTeeth]": "emoji_23@2x.png",
|
||||
"[TUIEmoji_FlareUp]": "emoji_24@2x.png",
|
||||
"[TUIEmoji_Tact]": "emoji_25@2x.png",
|
||||
"[TUIEmoji_Shit]": "emoji_26@2x.png",
|
||||
"[TUIEmoji_ShutUp]": "emoji_27@2x.png",
|
||||
"[TUIEmoji_Sigh]": "emoji_28@2x.png",
|
||||
"[TUIEmoji_Hehe]": "emoji_29@2x.png",
|
||||
"[TUIEmoji_Silent]": "emoji_30@2x.png",
|
||||
"[TUIEmoji_Skull]": "emoji_31@2x.png",
|
||||
"[TUIEmoji_Mask]": "emoji_32@2x.png",
|
||||
"[TUIEmoji_Beer]": "emoji_33@2x.png",
|
||||
"[TUIEmoji_Cake]": "emoji_34@2x.png",
|
||||
"[TUIEmoji_RedPacket]": "emoji_35@2x.png",
|
||||
"[TUIEmoji_Bombs]": "emoji_36@2x.png",
|
||||
"[TUIEmoji_Ai]": "emoji_37@2x.png",
|
||||
"[TUIEmoji_Celebrate]": "emoji_38@2x.png",
|
||||
"[TUIEmoji_Bless]": "emoji_39@2x.png",
|
||||
"[TUIEmoji_Flower]": "emoji_40@2x.png",
|
||||
"[TUIEmoji_Watermelon]": "emoji_41@2x.png",
|
||||
"[TUIEmoji_Cow]": "emoji_42@2x.png",
|
||||
"[TUIEmoji_Fool]": "emoji_43@2x.png",
|
||||
"[TUIEmoji_Surprised]": "emoji_44@2x.png",
|
||||
"[TUIEmoji_Askance]": "emoji_45@2x.png",
|
||||
"[TUIEmoji_Monster]": "emoji_46@2x.png",
|
||||
"[TUIEmoji_Pig]": "emoji_47@2x.png",
|
||||
"[TUIEmoji_Coffee]": "emoji_48@2x.png",
|
||||
"[TUIEmoji_Ok]": "emoji_49@2x.png",
|
||||
"[TUIEmoji_Heart]": "emoji_50@2x.png",
|
||||
"[TUIEmoji_Sun]": "emoji_51@2x.png",
|
||||
"[TUIEmoji_Moon]": "emoji_52@2x.png",
|
||||
"[TUIEmoji_Star]": "emoji_53@2x.png",
|
||||
"[TUIEmoji_Rich]": "emoji_54@2x.png",
|
||||
"[TUIEmoji_Fortune]": "emoji_55@2x.png",
|
||||
"[TUIEmoji_857]": "emoji_56@2x.png",
|
||||
"[TUIEmoji_666]": "emoji_57@2x.png",
|
||||
"[TUIEmoji_Prohibit]": "emoji_58@2x.png",
|
||||
"[TUIEmoji_Convinced]": "emoji_59@2x.png",
|
||||
"[TUIEmoji_Knife]": "emoji_60@2x.png",
|
||||
"[TUIEmoji_Like]": "emoji_61@2x.png"
|
||||
};
|
||||
const BIG_EMOJI_GROUP_LIST = [
|
||||
{
|
||||
emojiGroupID: 1,
|
||||
type: TUIKit_constant.EMOJI_TYPE.BIG,
|
||||
url: DEFAULT_BIG_EMOJI_URL,
|
||||
list: [
|
||||
"yz00",
|
||||
"yz01",
|
||||
"yz02",
|
||||
"yz03",
|
||||
"yz04",
|
||||
"yz05",
|
||||
"yz06",
|
||||
"yz07",
|
||||
"yz08",
|
||||
"yz09",
|
||||
"yz10",
|
||||
"yz11",
|
||||
"yz12",
|
||||
"yz13",
|
||||
"yz14",
|
||||
"yz15",
|
||||
"yz16",
|
||||
"yz17"
|
||||
]
|
||||
},
|
||||
{
|
||||
emojiGroupID: 2,
|
||||
type: TUIKit_constant.EMOJI_TYPE.BIG,
|
||||
url: DEFAULT_BIG_EMOJI_URL,
|
||||
list: [
|
||||
"ys00",
|
||||
"ys01",
|
||||
"ys02",
|
||||
"ys03",
|
||||
"ys04",
|
||||
"ys05",
|
||||
"ys06",
|
||||
"ys07",
|
||||
"ys08",
|
||||
"ys09",
|
||||
"ys10",
|
||||
"ys11",
|
||||
"ys12",
|
||||
"ys13",
|
||||
"ys14",
|
||||
"ys15"
|
||||
]
|
||||
},
|
||||
{
|
||||
emojiGroupID: 3,
|
||||
type: TUIKit_constant.EMOJI_TYPE.BIG,
|
||||
url: DEFAULT_BIG_EMOJI_URL,
|
||||
list: [
|
||||
"gcs00",
|
||||
"gcs01",
|
||||
"gcs02",
|
||||
"gcs03",
|
||||
"gcs04",
|
||||
"gcs05",
|
||||
"gcs06",
|
||||
"gcs07",
|
||||
"gcs08",
|
||||
"gcs09",
|
||||
"gcs10",
|
||||
"gcs11",
|
||||
"gcs12",
|
||||
"gcs13",
|
||||
"gcs14",
|
||||
"gcs15",
|
||||
"gcs16"
|
||||
]
|
||||
}
|
||||
];
|
||||
const BASIC_EMOJI_NAME_TO_KEY_MAPPING = {
|
||||
...Object.fromEntries(
|
||||
(_a = Object.entries(TUIKit_components_TUIChat_emojiConfig_locales_zh_cn.Emoji)) == null ? void 0 : _a.map(([key, val]) => [val, key])
|
||||
),
|
||||
...Object.fromEntries(
|
||||
(_b = Object.entries(TUIKit_components_TUIChat_emojiConfig_locales_en.Emoji)) == null ? void 0 : _b.map(([key, val]) => [val, key])
|
||||
)
|
||||
};
|
||||
exports.BASIC_EMOJI_NAME_TO_KEY_MAPPING = BASIC_EMOJI_NAME_TO_KEY_MAPPING;
|
||||
exports.BIG_EMOJI_GROUP_LIST = BIG_EMOJI_GROUP_LIST;
|
||||
exports.DEFAULT_BASIC_EMOJI_URL = DEFAULT_BASIC_EMOJI_URL;
|
||||
exports.DEFAULT_BASIC_EMOJI_URL_MAPPING = DEFAULT_BASIC_EMOJI_URL_MAPPING;
|
||||
exports.DEFAULT_BIG_EMOJI_URL = DEFAULT_BIG_EMOJI_URL;
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/emoji-config/default-emoji.js.map
|
||||
77
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/emoji-config/index.js
vendored
Normal file
77
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/emoji-config/index.js
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const TUIKit_components_TUIChat_emojiConfig_customEmoji = require("./custom-emoji.js");
|
||||
const TUIKit_components_TUIChat_emojiConfig_defaultEmoji = require("./default-emoji.js");
|
||||
const TUIKit_components_TUIChat_emojiConfig_locales_zh_cn = require("./locales/zh_cn.js");
|
||||
const TUIKit_constant = require("../../../constant.js");
|
||||
const TUIKit_utils_env = require("../../../utils/env.js");
|
||||
const BASIC_EMOJI_URL = TUIKit_components_TUIChat_emojiConfig_defaultEmoji.DEFAULT_BASIC_EMOJI_URL;
|
||||
const BASIC_EMOJI_URL_MAPPING = TUIKit_components_TUIChat_emojiConfig_defaultEmoji.DEFAULT_BASIC_EMOJI_URL_MAPPING;
|
||||
const EMOJI_GROUP_LIST = [
|
||||
{
|
||||
emojiGroupID: 0,
|
||||
type: TUIKit_constant.EMOJI_TYPE.BASIC,
|
||||
url: BASIC_EMOJI_URL,
|
||||
list: Object.keys(BASIC_EMOJI_URL_MAPPING)
|
||||
},
|
||||
...TUIKit_components_TUIChat_emojiConfig_defaultEmoji.BIG_EMOJI_GROUP_LIST,
|
||||
...TUIKit_components_TUIChat_emojiConfig_customEmoji.CUSTOM_BIG_EMOJI_GROUP_LIST
|
||||
];
|
||||
const convertKeyToEmojiName = (key) => {
|
||||
return TUIKit_utils_env.isWeChat ? TUIKit_components_TUIChat_emojiConfig_locales_zh_cn.Emoji[key] : common_vendor.Wt.t(`Emoji.${key}`);
|
||||
};
|
||||
const transformTextWithKeysToEmojiNames = (text) => {
|
||||
if (!text) {
|
||||
return "";
|
||||
}
|
||||
const reg = /(\[.+?\])/g;
|
||||
let txt = text;
|
||||
if (reg.test(text)) {
|
||||
txt = text.replace(reg, (match) => BASIC_EMOJI_URL_MAPPING[match] ? convertKeyToEmojiName(match) : match);
|
||||
}
|
||||
return txt;
|
||||
};
|
||||
const transformTextWithEmojiNamesToKeys = (text) => {
|
||||
if (!text) {
|
||||
return "";
|
||||
}
|
||||
const reg = /(\[.+?\])/g;
|
||||
let txt = text;
|
||||
if (reg.test(text)) {
|
||||
txt = text.replace(reg, (match) => TUIKit_components_TUIChat_emojiConfig_defaultEmoji.BASIC_EMOJI_NAME_TO_KEY_MAPPING[match] || match);
|
||||
}
|
||||
return txt;
|
||||
};
|
||||
const parseTextToRenderArray = (text) => {
|
||||
const emojiRegex = /\[([^\]]+)\]/g;
|
||||
const result = [];
|
||||
let match;
|
||||
let lastIndex = 0;
|
||||
while ((match = emojiRegex.exec(text)) !== null) {
|
||||
const startIndex = match.index;
|
||||
const endIndex = emojiRegex.lastIndex;
|
||||
const emojiKey = match[0];
|
||||
if (startIndex > lastIndex) {
|
||||
result.push({ type: "text", content: text.substring(lastIndex, startIndex) });
|
||||
}
|
||||
const emojiUrl = BASIC_EMOJI_URL + BASIC_EMOJI_URL_MAPPING[emojiKey];
|
||||
if (emojiUrl) {
|
||||
result.push({ type: "image", content: emojiUrl, emojiKey });
|
||||
} else {
|
||||
result.push({ type: "text", content: emojiKey });
|
||||
}
|
||||
lastIndex = endIndex;
|
||||
emojiRegex.lastIndex = lastIndex;
|
||||
}
|
||||
if (lastIndex < text.length) {
|
||||
result.push({ type: "text", content: text.substring(lastIndex) });
|
||||
}
|
||||
return result;
|
||||
};
|
||||
exports.BASIC_EMOJI_URL_MAPPING = BASIC_EMOJI_URL_MAPPING;
|
||||
exports.EMOJI_GROUP_LIST = EMOJI_GROUP_LIST;
|
||||
exports.convertKeyToEmojiName = convertKeyToEmojiName;
|
||||
exports.parseTextToRenderArray = parseTextToRenderArray;
|
||||
exports.transformTextWithEmojiNamesToKeys = transformTextWithEmojiNamesToKeys;
|
||||
exports.transformTextWithKeysToEmojiNames = transformTextWithKeysToEmojiNames;
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/emoji-config/index.js.map
|
||||
67
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/emoji-config/locales/en.js
vendored
Normal file
67
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/emoji-config/locales/en.js
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
"use strict";
|
||||
const Emoji = {
|
||||
"[TUIEmoji_Smile]": "[Smile]",
|
||||
"[TUIEmoji_Expect]": "[Expect]",
|
||||
"[TUIEmoji_Blink]": "[Blink]",
|
||||
"[TUIEmoji_Guffaw]": "[Guffaw]",
|
||||
"[TUIEmoji_KindSmile]": "[KindSmile]",
|
||||
"[TUIEmoji_Haha]": "[Haha]",
|
||||
"[TUIEmoji_Cheerful]": "[Cheerful]",
|
||||
"[TUIEmoji_Speechless]": "[Speechless]",
|
||||
"[TUIEmoji_Amazed]": "[Amazed]",
|
||||
"[TUIEmoji_Sorrow]": "[Sorrow]",
|
||||
"[TUIEmoji_Complacent]": "[Complacent]",
|
||||
"[TUIEmoji_Silly]": "[Silly]",
|
||||
"[TUIEmoji_Lustful]": "[Lustful]",
|
||||
"[TUIEmoji_Giggle]": "[Giggle]",
|
||||
"[TUIEmoji_Kiss]": "[Kiss]",
|
||||
"[TUIEmoji_Wail]": "[Wail]",
|
||||
"[TUIEmoji_TearsLaugh]": "[TearsLaugh]",
|
||||
"[TUIEmoji_Trapped]": "[Trapped]",
|
||||
"[TUIEmoji_Mask]": "[Mask]",
|
||||
"[TUIEmoji_Fear]": "[Fear]",
|
||||
"[TUIEmoji_BareTeeth]": "[BareTeeth]",
|
||||
"[TUIEmoji_FlareUp]": "[FlareUp]",
|
||||
"[TUIEmoji_Yawn]": "[Yawn]",
|
||||
"[TUIEmoji_Tact]": "[Tact]",
|
||||
"[TUIEmoji_Stareyes]": "[StarEyes]",
|
||||
"[TUIEmoji_ShutUp]": "[ShutUp]",
|
||||
"[TUIEmoji_Sigh]": "[Sigh]",
|
||||
"[TUIEmoji_Hehe]": "[Hehe]",
|
||||
"[TUIEmoji_Silent]": "[Silent]",
|
||||
"[TUIEmoji_Surprised]": "[Surprised]",
|
||||
"[TUIEmoji_Askance]": "[Askance]]",
|
||||
"[TUIEmoji_Ok]": "[OK]",
|
||||
"[TUIEmoji_Shit]": "[Shit]",
|
||||
"[TUIEmoji_Monster]": "[Monster]",
|
||||
"[TUIEmoji_Daemon]": "[Daemon]",
|
||||
"[TUIEmoji_Rage]": "[Rage]",
|
||||
"[TUIEmoji_Fool]": "[Fool]",
|
||||
"[TUIEmoji_Pig]": "[Pig]",
|
||||
"[TUIEmoji_Cow]": "[Cow]",
|
||||
"[TUIEmoji_Ai]": "[AI]",
|
||||
"[TUIEmoji_Skull]": "[Skull]",
|
||||
"[TUIEmoji_Bombs]": "[Bombs]",
|
||||
"[TUIEmoji_Coffee]": "[Coffee]",
|
||||
"[TUIEmoji_Cake]": "[Cake]",
|
||||
"[TUIEmoji_Beer]": "[Beer]",
|
||||
"[TUIEmoji_Flower]": "[Flower]",
|
||||
"[TUIEmoji_Watermelon]": "[Watermelon]",
|
||||
"[TUIEmoji_Rich]": "[Rich]",
|
||||
"[TUIEmoji_Heart]": "[Heart]",
|
||||
"[TUIEmoji_Moon]": "[Moon]",
|
||||
"[TUIEmoji_Sun]": "[Sun]",
|
||||
"[TUIEmoji_Star]": "[Star]",
|
||||
"[TUIEmoji_RedPacket]": "[RedPacket]",
|
||||
"[TUIEmoji_Celebrate]": "[Celebrate]",
|
||||
"[TUIEmoji_Bless]": "[Bless]",
|
||||
"[TUIEmoji_Fortune]": "[Fortune]",
|
||||
"[TUIEmoji_Convinced]": "[Convinced]",
|
||||
"[TUIEmoji_Prohibit]": "[Prohibit]",
|
||||
"[TUIEmoji_666]": "[666]",
|
||||
"[TUIEmoji_857]": "[857]",
|
||||
"[TUIEmoji_Knife]": "[Knife]",
|
||||
"[TUIEmoji_Like]": "[Like]"
|
||||
};
|
||||
exports.Emoji = Emoji;
|
||||
//# sourceMappingURL=../../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/emoji-config/locales/en.js.map
|
||||
67
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/emoji-config/locales/zh_cn.js
vendored
Normal file
67
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/emoji-config/locales/zh_cn.js
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
"use strict";
|
||||
const Emoji = {
|
||||
"[TUIEmoji_Smile]": "[微笑]",
|
||||
"[TUIEmoji_Expect]": "[期待]",
|
||||
"[TUIEmoji_Blink]": "[眨眼]",
|
||||
"[TUIEmoji_Guffaw]": "[大笑]",
|
||||
"[TUIEmoji_KindSmile]": "[姨母笑]",
|
||||
"[TUIEmoji_Haha]": "[哈哈哈]",
|
||||
"[TUIEmoji_Cheerful]": "[愉快]",
|
||||
"[TUIEmoji_Speechless]": "[无语]",
|
||||
"[TUIEmoji_Amazed]": "[惊讶]",
|
||||
"[TUIEmoji_Sorrow]": "[悲伤]",
|
||||
"[TUIEmoji_Complacent]": "[得意]",
|
||||
"[TUIEmoji_Silly]": "[傻了]",
|
||||
"[TUIEmoji_Lustful]": "[色]",
|
||||
"[TUIEmoji_Giggle]": "[憨笑]",
|
||||
"[TUIEmoji_Kiss]": "[亲亲]",
|
||||
"[TUIEmoji_Wail]": "[大哭]",
|
||||
"[TUIEmoji_TearsLaugh]": "[哭笑]",
|
||||
"[TUIEmoji_Trapped]": "[困]",
|
||||
"[TUIEmoji_Mask]": "[口罩]",
|
||||
"[TUIEmoji_Fear]": "[恐惧]",
|
||||
"[TUIEmoji_BareTeeth]": "[龇牙]",
|
||||
"[TUIEmoji_FlareUp]": "[发怒]",
|
||||
"[TUIEmoji_Yawn]": "[打哈欠]",
|
||||
"[TUIEmoji_Tact]": "[机智]",
|
||||
"[TUIEmoji_Stareyes]": "[星星眼]",
|
||||
"[TUIEmoji_ShutUp]": "[闭嘴]",
|
||||
"[TUIEmoji_Sigh]": "[叹气]",
|
||||
"[TUIEmoji_Hehe]": "[呵呵]",
|
||||
"[TUIEmoji_Silent]": "[收声]",
|
||||
"[TUIEmoji_Surprised]": "[惊喜]",
|
||||
"[TUIEmoji_Askance]": "[白眼]",
|
||||
"[TUIEmoji_Ok]": "[OK]",
|
||||
"[TUIEmoji_Shit]": "[便便]",
|
||||
"[TUIEmoji_Monster]": "[怪兽]",
|
||||
"[TUIEmoji_Daemon]": "[恶魔]",
|
||||
"[TUIEmoji_Rage]": "[恶魔怒]",
|
||||
"[TUIEmoji_Fool]": "[衰]",
|
||||
"[TUIEmoji_Pig]": "[猪]",
|
||||
"[TUIEmoji_Cow]": "[牛]",
|
||||
"[TUIEmoji_Ai]": "[AI]",
|
||||
"[TUIEmoji_Skull]": "[骷髅]",
|
||||
"[TUIEmoji_Bombs]": "[炸弹]",
|
||||
"[TUIEmoji_Coffee]": "[咖啡]",
|
||||
"[TUIEmoji_Cake]": "[蛋糕]",
|
||||
"[TUIEmoji_Beer]": "[啤酒]",
|
||||
"[TUIEmoji_Flower]": "[花]",
|
||||
"[TUIEmoji_Watermelon]": "[瓜]",
|
||||
"[TUIEmoji_Rich]": "[壕]",
|
||||
"[TUIEmoji_Heart]": "[爱心]",
|
||||
"[TUIEmoji_Moon]": "[月亮]",
|
||||
"[TUIEmoji_Sun]": "[太阳]",
|
||||
"[TUIEmoji_Star]": "[星星]",
|
||||
"[TUIEmoji_RedPacket]": "[红包]",
|
||||
"[TUIEmoji_Celebrate]": "[庆祝]",
|
||||
"[TUIEmoji_Bless]": "[福]",
|
||||
"[TUIEmoji_Fortune]": "[发]",
|
||||
"[TUIEmoji_Convinced]": "[服]",
|
||||
"[TUIEmoji_Prohibit]": "[禁]",
|
||||
"[TUIEmoji_666]": "[666]",
|
||||
"[TUIEmoji_857]": "[857]",
|
||||
"[TUIEmoji_Knife]": "[刀]",
|
||||
"[TUIEmoji_Like]": "[赞]"
|
||||
};
|
||||
exports.Emoji = Emoji;
|
||||
//# sourceMappingURL=../../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/emoji-config/locales/zh_cn.js.map
|
||||
24
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/entry-chat-only.js
vendored
Normal file
24
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/entry-chat-only.js
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const TUIKit_index = require("../../index.js");
|
||||
const initChat = (options) => {
|
||||
TUIKit_index.TUIChatKit.init();
|
||||
const { chat } = common_vendor.A.getContext();
|
||||
if (options && options.conversationID && (chat == null ? void 0 : chat.isReady())) {
|
||||
const { conversationID } = options;
|
||||
if (!conversationID.startsWith("C2C") && !conversationID.startsWith("GROUP")) {
|
||||
common_vendor.index.__f__("warn", "at TUIKit/components/TUIChat/entry-chat-only.ts:22", "conversationID from options is invalid.");
|
||||
return;
|
||||
}
|
||||
common_vendor.Xt.switchConversation(conversationID);
|
||||
}
|
||||
};
|
||||
const logout = (flag) => {
|
||||
if (flag) {
|
||||
return common_vendor.A.logout();
|
||||
}
|
||||
return Promise.resolve();
|
||||
};
|
||||
exports.initChat = initChat;
|
||||
exports.logout = logout;
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/entry-chat-only.js.map
|
||||
144
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/forward/index.js
vendored
Normal file
144
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/forward/index.js
vendored
Normal file
@@ -0,0 +1,144 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
require("../../../adapter-vue.js");
|
||||
const TUIKit_components_common_Toast_index = require("../../common/Toast/index.js");
|
||||
const TUIKit_utils_env = require("../../../utils/env.js");
|
||||
const TUIKit_components_TUIChat_utils_utils = require("../utils/utils.js");
|
||||
const TUIKit_components_TUIChat_offlinePushInfoManager_index = require("../offlinePushInfoManager/index.js");
|
||||
const TUIKit_components_common_Toast_type = require("../../common/Toast/type.js");
|
||||
if (!Math) {
|
||||
(Transfer + Overlay)();
|
||||
}
|
||||
const Overlay = () => "../../common/Overlay/index.js";
|
||||
const Transfer = () => "../../common/Transfer/index.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
emits: ["toggleMultipleSelectMode"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const emits = __emit;
|
||||
let selectedToForwardMessageIDList = [];
|
||||
let isMergeForward = false;
|
||||
const isShowForwardPanel = common_vendor.ref(false);
|
||||
const customConversationList = common_vendor.ref();
|
||||
common_vendor.onMounted(() => {
|
||||
common_vendor.Jt.watch(common_vendor.o.CUSTOM, {
|
||||
singleForwardMessageID: onSingleForwardMessageIDUpdated,
|
||||
multipleForwardMessageID: onMultipleForwardMessageIDUpdated
|
||||
});
|
||||
});
|
||||
common_vendor.onUnmounted(() => {
|
||||
common_vendor.Jt.unwatch(common_vendor.o.CUSTOM, {
|
||||
singleForwardMessageID: onSingleForwardMessageIDUpdated,
|
||||
multipleForwardMessageID: onMultipleForwardMessageIDUpdated
|
||||
});
|
||||
clearStoreData();
|
||||
});
|
||||
function onSingleForwardMessageIDUpdated(messageID) {
|
||||
if (typeof messageID !== "undefined") {
|
||||
isMergeForward = false;
|
||||
selectedToForwardMessageIDList = [messageID];
|
||||
openForwardPanel();
|
||||
}
|
||||
}
|
||||
function onMultipleForwardMessageIDUpdated(params) {
|
||||
if (!params) {
|
||||
return;
|
||||
}
|
||||
isMergeForward = false;
|
||||
const {
|
||||
isMergeForward: _isMergeForward,
|
||||
messageIDList: selectedMessageIDList
|
||||
} = params || {};
|
||||
if ((selectedMessageIDList == null ? void 0 : selectedMessageIDList.length) > 0) {
|
||||
isMergeForward = _isMergeForward;
|
||||
selectedToForwardMessageIDList = selectedMessageIDList;
|
||||
openForwardPanel();
|
||||
} else {
|
||||
TUIKit_components_common_Toast_index.Toast({
|
||||
message: common_vendor.Wt.t("TUIChat.未选择消息"),
|
||||
type: TUIKit_components_common_Toast_type.TOAST_TYPE.ERROR
|
||||
});
|
||||
}
|
||||
}
|
||||
function clearStoreData() {
|
||||
common_vendor.Jt.update(common_vendor.o.CUSTOM, "singleForwardMessageID", void 0);
|
||||
common_vendor.Jt.update(common_vendor.o.CUSTOM, "multipleForwardMessageID", void 0);
|
||||
}
|
||||
function closeForwardPanel() {
|
||||
clearStoreData();
|
||||
isShowForwardPanel.value = false;
|
||||
}
|
||||
function openForwardPanel() {
|
||||
getTransforRenderDataList();
|
||||
isShowForwardPanel.value = true;
|
||||
}
|
||||
function finishSelected(selectedConvIDWrapperList) {
|
||||
if ((selectedConvIDWrapperList == null ? void 0 : selectedConvIDWrapperList.length) === 0)
|
||||
return;
|
||||
const selectedConversationList = selectedConvIDWrapperList.map((IDWrapper) => common_vendor.Jt.getConversationModel(IDWrapper.userID));
|
||||
const unsentMessageQueue = selectedToForwardMessageIDList.map((messageID) => common_vendor.Jt.getMessageModel(messageID)).sort((a, b) => a.time - b.time);
|
||||
const forwardPromises = selectedConversationList.map((conversation) => {
|
||||
const offlinePushInfoCreateParams = {
|
||||
conversation,
|
||||
messageType: common_vendor.qt.TYPES.MSG_MERGER
|
||||
};
|
||||
return common_vendor.Qt.sendForwardMessage(
|
||||
[conversation],
|
||||
unsentMessageQueue,
|
||||
{
|
||||
needMerge: isMergeForward,
|
||||
offlinePushInfo: TUIKit_components_TUIChat_offlinePushInfoManager_index.OfflinePushInfoManager.create(offlinePushInfoCreateParams),
|
||||
params: {
|
||||
needReadReceipt: TUIKit_components_TUIChat_utils_utils.isEnabledMessageReadReceiptGlobal()
|
||||
}
|
||||
}
|
||||
);
|
||||
});
|
||||
Promise.allSettled(forwardPromises).then((results) => {
|
||||
for (const result of results) {
|
||||
const { status } = result;
|
||||
if (status === "rejected") {
|
||||
const errorMessage = result.reason.code === 80001 ? common_vendor.Wt.t("TUIChat.内容包含敏感词汇") : result.reason.message;
|
||||
TUIKit_components_common_Toast_index.Toast({
|
||||
message: errorMessage,
|
||||
type: TUIKit_components_common_Toast_type.TOAST_TYPE.ERROR
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
closeForwardPanel();
|
||||
emits("toggleMultipleSelectMode", false);
|
||||
}
|
||||
function getTransforRenderDataList() {
|
||||
const conversationList = common_vendor.Jt.getData(common_vendor.o.CONV, "conversationList");
|
||||
customConversationList.value = conversationList.map((conversation) => {
|
||||
return {
|
||||
// To achieve reusability of Transfer, userID is used here instead of ConversationID
|
||||
userID: conversation.conversationID,
|
||||
nick: conversation.getShowName(),
|
||||
avatar: conversation.getAvatar()
|
||||
};
|
||||
});
|
||||
}
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o$1(closeForwardPanel),
|
||||
b: common_vendor.o$1(finishSelected),
|
||||
c: common_vendor.p({
|
||||
title: common_vendor.unref(common_vendor.Wt).t("TUIChat.转发"),
|
||||
isSearch: false,
|
||||
isCustomItem: false,
|
||||
list: common_vendor.unref(customConversationList),
|
||||
isHiddenBackIcon: common_vendor.unref(TUIKit_utils_env.isUniFrameWork)
|
||||
}),
|
||||
d: common_vendor.p({
|
||||
visible: common_vendor.unref(isShowForwardPanel),
|
||||
useMask: false
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/forward/index.js.map
|
||||
7
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/forward/index.json
vendored
Normal file
7
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/forward/index.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"overlay": "../../common/Overlay/index",
|
||||
"transfer": "../../common/Transfer/index"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/forward/index.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/forward/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<overlay wx:if="{{d}}" u-s="{{['d']}}" u-i="3f0343b7-0" bind:__l="__l" u-p="{{d}}"><transfer wx:if="{{c}}" bindcancel="{{a}}" bindsubmit="{{b}}" u-i="3f0343b7-1,3f0343b7-0" bind:__l="__l" u-p="{{c}}"/></overlay>
|
||||
0
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/forward/index.wxss
vendored
Normal file
0
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/forward/index.wxss
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/index.js
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/index.js
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
const TUIKit_components_index = require("../index.js");
|
||||
wx.createPage(TUIKit_components_index.MiniProgramPage$1);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/index.js.map
|
||||
11
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/index.json
vendored
Normal file
11
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/index.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"navigationBarTitleText": "腾讯云 IM",
|
||||
"usingComponents": {
|
||||
"chat-header": "./chat-header/index",
|
||||
"message-list": "./message-list/index",
|
||||
"message-input": "./message-input/index",
|
||||
"multiple-select-panel": "./mulitple-select-panel/index",
|
||||
"forward": "./forward/index",
|
||||
"message-input-toolbar": "./message-input-toolbar/index"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/index.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="dingweizhibox data-v-04dfedea"></view><view class="chat data-v-04dfedea"><view class="{{['data-v-04dfedea', 'tui-chat', O]}}"><view wx:if="{{a}}" class="{{['data-v-04dfedea', 'tui-chat-default', b]}}"><slot/></view><view wx:if="{{c}}" class="{{['data-v-04dfedea', 'tui-chat', K]}}"><chat-header wx:if="{{h}}" class="{{['data-v-04dfedea', 'tui-chat-header', d, e]}}" bindcloseChat="{{f}}" bindopenGroupManagement="{{g}}" u-i="04dfedea-0" bind:__l="__l" u-p="{{h}}"/><forward class="data-v-04dfedea" bindtoggleMultipleSelectMode="{{i}}" u-i="04dfedea-1" bind:__l="__l"/><message-list wx:if="{{o}}" u-r="messageListRef" class="{{['r', 'data-v-04dfedea', 'tui-chat-message-list', k]}}" bindhandleEditor="{{l}}" bindcloseInputToolBar="{{m}}" bindtoggleMultipleSelectMode="{{n}}" u-i="04dfedea-2" bind:__l="__l" u-p="{{o}}"/><view wx:if="{{p}}" class="{{['data-v-04dfedea', 'tui-chat-leave-group', r && 'tui-chat-leave-group-mobile']}}">{{q}}</view><multiple-select-panel wx:elif="{{s}}" class="data-v-04dfedea" bindoneByOneForwardMessage="{{t}}" bindmergeForwardMessage="{{v}}" bindtoggleMultipleSelectMode="{{w}}" u-i="04dfedea-3" bind:__l="__l"/><block wx:else><message-input-toolbar wx:if="{{x}}" class="{{['data-v-04dfedea', 'tui-chat-message-input-toolbar', y, z]}}" bindinsertEmoji="{{A}}" bindchangeToolbarDisplayType="{{B}}" bindscrollToLatestMessage="{{C}}" u-i="04dfedea-4" bind:__l="__l" u-p="{{D}}"/><message-input wx:if="{{J}}" u-r="messageInputRef" class="{{['r', 'data-v-04dfedea', 'tui-chat-message-input', F, G, H]}}" bindchangeToolbarDisplayType="{{I}}" u-i="04dfedea-5" bind:__l="__l" u-p="{{J}}"/></block></view><view wx:if="{{L}}" class="group-profile data-v-04dfedea" bindtap="{{N}}">{{M}}</view></view></view>
|
||||
707
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/index.wxss
vendored
Normal file
707
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/index.wxss
vendored
Normal file
@@ -0,0 +1,707 @@
|
||||
|
||||
.Navigation {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
z-index: 999;
|
||||
}
|
||||
.Navigationimg {
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.Navigation {
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
z-index: 999;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.Navigation-left{
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
z-index: 998;
|
||||
}
|
||||
.Return {
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
position: absolute;
|
||||
top: 120rpx;
|
||||
left: 360rpx;
|
||||
z-index: 999;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
body.data-v-40b33296, div.data-v-40b33296, ul.data-v-40b33296, ol.data-v-40b33296, dt.data-v-40b33296, dd.data-v-40b33296, li.data-v-40b33296, dl.data-v-40b33296, h1.data-v-40b33296, h2.data-v-40b33296, h3.data-v-40b33296, h4.data-v-40b33296, p.data-v-40b33296 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-style: normal;
|
||||
/* font:12px/22px"\5B8B\4F53",Arial,Helvetica,sans-serif; */
|
||||
}
|
||||
ol.data-v-40b33296, ul.data-v-40b33296, li.data-v-40b33296 {
|
||||
list-style: none;
|
||||
}
|
||||
img.data-v-40b33296 {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
pointer-events: none;
|
||||
}
|
||||
body.data-v-40b33296 {
|
||||
color: #000;
|
||||
background: #FFF;
|
||||
}
|
||||
.clear.data-v-40b33296 {
|
||||
clear: both;
|
||||
height: 1px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
margin-top: -1px;
|
||||
}
|
||||
a.data-v-40b33296 {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
a.data-v-40b33296:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
input.data-v-40b33296, textarea.data-v-40b33296 {
|
||||
-webkit-user-select: auto;
|
||||
user-select: auto;
|
||||
}
|
||||
input.data-v-40b33296:focus, input.data-v-40b33296:active, textarea.data-v-40b33296:focus, textarea.data-v-40b33296:active {
|
||||
outline: none;
|
||||
}
|
||||
.chat-aside.data-v-40b33296 {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 0;
|
||||
box-sizing: border-box;
|
||||
width: 360px !important;
|
||||
border-radius: 8px 0 0 8px;
|
||||
z-index: 9999;
|
||||
max-height: calc(100% - 50px);
|
||||
}
|
||||
.tui-conversation.data-v-40b33296 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.tui-conversation-list.data-v-40b33296 {
|
||||
overflow: auto;
|
||||
}
|
||||
.tui-conversation-header.data-v-40b33296 {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
.tui-conversation-header .list.data-v-40b33296 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid #F4F5F9;
|
||||
padding: 7px 0;
|
||||
}
|
||||
.tui-conversation-header .list-item.data-v-40b33296 {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
position: relative;
|
||||
padding: 7px;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.tui-conversation-header-item.data-v-40b33296 {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.tui-conversation-header-item-title.data-v-40b33296 {
|
||||
padding: 0 8px;
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
||||
}
|
||||
.tui-conversation-header-children.data-v-40b33296 {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
z-index: 3;
|
||||
padding: 7px 9px;
|
||||
border-bottom: none;
|
||||
box-shadow: 0 3px 7px 0 #0003;
|
||||
flex-direction: column;
|
||||
}
|
||||
.network.data-v-40b33296 {
|
||||
padding: 0 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.network .icon-error.data-v-40b33296 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
border-radius: 15px;
|
||||
color: #fff;
|
||||
font-style: normal;
|
||||
}
|
||||
.network-content.data-v-40b33296 {
|
||||
padding: 5px;
|
||||
font-size: 12px;
|
||||
line-height: 22px;
|
||||
}
|
||||
.plus.data-v-40b33296 {
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
position: relative;
|
||||
}
|
||||
.plus.data-v-40b33296::before,
|
||||
.plus.data-v-40b33296::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
background-color: #232832;
|
||||
border-radius: 0.5px;
|
||||
width: 1px;
|
||||
height: 14px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
}
|
||||
.plus.data-v-40b33296::after {
|
||||
transform: rotate(90deg);
|
||||
width: 0.5px;
|
||||
}
|
||||
.network-content.data-v-40b33296 {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
color: #e54545;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
body.data-v-fdde69b1, div.data-v-fdde69b1, ul.data-v-fdde69b1, ol.data-v-fdde69b1, dt.data-v-fdde69b1, dd.data-v-fdde69b1, li.data-v-fdde69b1, dl.data-v-fdde69b1, h1.data-v-fdde69b1, h2.data-v-fdde69b1, h3.data-v-fdde69b1, h4.data-v-fdde69b1, p.data-v-fdde69b1 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-style: normal;
|
||||
/* font:12px/22px"\5B8B\4F53",Arial,Helvetica,sans-serif; */
|
||||
}
|
||||
ol.data-v-fdde69b1, ul.data-v-fdde69b1, li.data-v-fdde69b1 {
|
||||
list-style: none;
|
||||
}
|
||||
img.data-v-fdde69b1 {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
pointer-events: none;
|
||||
}
|
||||
body.data-v-fdde69b1 {
|
||||
color: #000;
|
||||
background: #FFF;
|
||||
}
|
||||
.clear.data-v-fdde69b1 {
|
||||
clear: both;
|
||||
height: 1px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
margin-top: -1px;
|
||||
}
|
||||
a.data-v-fdde69b1 {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
a.data-v-fdde69b1:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
input.data-v-fdde69b1, textarea.data-v-fdde69b1 {
|
||||
-webkit-user-select: auto;
|
||||
user-select: auto;
|
||||
}
|
||||
input.data-v-fdde69b1:focus, input.data-v-fdde69b1:active, textarea.data-v-fdde69b1:focus, textarea.data-v-fdde69b1:active {
|
||||
outline: none;
|
||||
}
|
||||
.chat-aside.data-v-fdde69b1 {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 0;
|
||||
box-sizing: border-box;
|
||||
width: 360px !important;
|
||||
border-radius: 8px 0 0 8px;
|
||||
z-index: 9999;
|
||||
max-height: calc(100% - 50px);
|
||||
}
|
||||
.tui-search-main-global.data-v-fdde69b1 {
|
||||
width: 100%;
|
||||
height: -webkit-fit-content;
|
||||
height: fit-content;
|
||||
}
|
||||
.tui-search-main-conversation.data-v-fdde69b1 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
box-shadow: 0 1px 10px 0 rgba(2, 16, 43, 0.15);
|
||||
}
|
||||
.tui-search .tui-search-global-header.data-v-fdde69b1 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.tui-search .tui-search-conversation.data-v-fdde69b1 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.tui-search-h5-full-screen.data-v-fdde69b1 {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
z-index: 1000;
|
||||
background: #fff;
|
||||
}
|
||||
.tui-search-h5-global.data-v-fdde69b1, .tui-search-h5-conversation.data-v-fdde69b1 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
}
|
||||
.tui-search-h5-conversation.data-v-fdde69b1 {
|
||||
overflow: hidden;
|
||||
}
|
||||
.tui-search-h5.tui-search-main-conversation.data-v-fdde69b1 {
|
||||
box-shadow: none;
|
||||
}
|
||||
.tui-search-h5 .search-input.data-v-fdde69b1,
|
||||
.tui-search-h5 .search-container.data-v-fdde69b1,
|
||||
.tui-search-h5 .search-result.data-v-fdde69b1 {
|
||||
min-width: 0;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
body.data-v-32d81a7d, div.data-v-32d81a7d, ul.data-v-32d81a7d, ol.data-v-32d81a7d, dt.data-v-32d81a7d, dd.data-v-32d81a7d, li.data-v-32d81a7d, dl.data-v-32d81a7d, h1.data-v-32d81a7d, h2.data-v-32d81a7d, h3.data-v-32d81a7d, h4.data-v-32d81a7d, p.data-v-32d81a7d {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-style: normal;
|
||||
/* font:12px/22px"\5B8B\4F53",Arial,Helvetica,sans-serif; */
|
||||
}
|
||||
ol.data-v-32d81a7d, ul.data-v-32d81a7d, li.data-v-32d81a7d {
|
||||
list-style: none;
|
||||
}
|
||||
img.data-v-32d81a7d {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
pointer-events: none;
|
||||
}
|
||||
body.data-v-32d81a7d {
|
||||
color: #000;
|
||||
background: #FFF;
|
||||
}
|
||||
.clear.data-v-32d81a7d {
|
||||
clear: both;
|
||||
height: 1px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
margin-top: -1px;
|
||||
}
|
||||
a.data-v-32d81a7d {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
a.data-v-32d81a7d:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
input.data-v-32d81a7d, textarea.data-v-32d81a7d {
|
||||
-webkit-user-select: auto;
|
||||
user-select: auto;
|
||||
}
|
||||
input.data-v-32d81a7d:focus, input.data-v-32d81a7d:active, textarea.data-v-32d81a7d:focus, textarea.data-v-32d81a7d:active {
|
||||
outline: none;
|
||||
}
|
||||
.chat-aside.data-v-32d81a7d {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 0;
|
||||
box-sizing: border-box;
|
||||
width: 360px !important;
|
||||
border-radius: 8px 0 0 8px;
|
||||
z-index: 9999;
|
||||
max-height: calc(100% - 50px);
|
||||
}
|
||||
.tui-contact.data-v-32d81a7d {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
}
|
||||
.tui-contact-left.data-v-32d81a7d {
|
||||
min-width: 285px;
|
||||
flex: 0 0 24%;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.tui-contact-right.data-v-32d81a7d {
|
||||
border-left: 1px solid #f4f5f9;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
.tui-contact-h5.data-v-32d81a7d {
|
||||
position: relative;
|
||||
}
|
||||
.tui-contact-h5-left.data-v-32d81a7d, .tui-contact-h5-right.data-v-32d81a7d {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
flex: 1;
|
||||
}
|
||||
.tui-contact-h5-right.data-v-32d81a7d {
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
}
|
||||
.tui-contact-h5-left-list.data-v-32d81a7d {
|
||||
overflow-y: auto;
|
||||
}
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.tui-group.data-v-61238656 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
body.data-v-04dfedea, div.data-v-04dfedea, ul.data-v-04dfedea, ol.data-v-04dfedea, dt.data-v-04dfedea, dd.data-v-04dfedea, li.data-v-04dfedea, dl.data-v-04dfedea, h1.data-v-04dfedea, h2.data-v-04dfedea, h3.data-v-04dfedea, h4.data-v-04dfedea, p.data-v-04dfedea {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-style: normal;
|
||||
/* font:12px/22px"\5B8B\4F53",Arial,Helvetica,sans-serif; */
|
||||
}
|
||||
ol.data-v-04dfedea, ul.data-v-04dfedea, li.data-v-04dfedea {
|
||||
list-style: none;
|
||||
}
|
||||
img.data-v-04dfedea {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
pointer-events: none;
|
||||
}
|
||||
body.data-v-04dfedea {
|
||||
color: #000;
|
||||
background: #FFF;
|
||||
}
|
||||
.clear.data-v-04dfedea {
|
||||
clear: both;
|
||||
height: 1px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
margin-top: -1px;
|
||||
}
|
||||
a.data-v-04dfedea {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
a.data-v-04dfedea:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
input.data-v-04dfedea, textarea.data-v-04dfedea {
|
||||
-webkit-user-select: auto;
|
||||
user-select: auto;
|
||||
}
|
||||
input.data-v-04dfedea:focus, input.data-v-04dfedea:active, textarea.data-v-04dfedea:focus, textarea.data-v-04dfedea:active {
|
||||
outline: none;
|
||||
}
|
||||
.chat-aside.data-v-04dfedea {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 0;
|
||||
box-sizing: border-box;
|
||||
width: 360px !important;
|
||||
border-radius: 8px 0 0 8px;
|
||||
z-index: 9999;
|
||||
max-height: calc(100% - 50px);
|
||||
}
|
||||
.tui-chat.data-v-04dfedea {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
.tui-chat-default.data-v-04dfedea {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
}
|
||||
.tui-chat-header.data-v-04dfedea {
|
||||
padding: 10px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
}
|
||||
.tui-chat-message-list.data-v-04dfedea {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
}
|
||||
.tui-chat-leave-group.data-v-04dfedea {
|
||||
font-size: 14px;
|
||||
height: 160px;
|
||||
border-top: 1px solid #efefef;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.tui-chat-leave-group-mobile.data-v-04dfedea {
|
||||
height: 50px;
|
||||
}
|
||||
.tui-chat-message-input.data-v-04dfedea {
|
||||
height: 160px;
|
||||
display: flex;
|
||||
}
|
||||
.chat.data-v-04dfedea {
|
||||
display: block;
|
||||
height: 85%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.tui-chat-h5-message-list.data-v-04dfedea {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
}
|
||||
.tui-chat-h5-message-input.data-v-04dfedea {
|
||||
height: auto;
|
||||
padding: 10px 10px 0;
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
.tui-chat-h5-message-input-toolbar.data-v-04dfedea {
|
||||
order: 1;
|
||||
border: none;
|
||||
}
|
||||
.tui-chat-uniapp-header.data-v-04dfedea {
|
||||
display: none;
|
||||
}
|
||||
.group-profile.data-v-04dfedea {
|
||||
position: absolute;
|
||||
top: 14%;
|
||||
right: 0;
|
||||
width: 50px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
color: #000;
|
||||
font-size: 10px;
|
||||
border-top-left-radius: 20px;
|
||||
border-bottom-left-radius: 20px;
|
||||
padding-left: 15px;
|
||||
z-index: 100;
|
||||
background-color: #ccc;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.tui-chat-uni-message-input.data-v-04dfedea {
|
||||
max-height: 370px;
|
||||
padding: 10px;
|
||||
}
|
||||
.tui-chat-uni-message-input-toolbar.data-v-04dfedea {
|
||||
z-index: 100;
|
||||
}
|
||||
.tui-chat-wx-message-input.data-v-04dfedea {
|
||||
padding: 0;
|
||||
}
|
||||
.data-v-04dfedea:not(not) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.dingweizhibox{
|
||||
width: 100%;
|
||||
height: 15%;
|
||||
}
|
||||
.tui-chat{
|
||||
width: 100%;
|
||||
height: 15%;
|
||||
}
|
||||
.tui-chat-h5 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.tui-chat-uniapp-header{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.Navigation {
|
||||
width: 100%;
|
||||
height: 10%;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 999;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.Navigationimg {
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.Navigation {
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
z-index: 999;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.Return {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
position: absolute;
|
||||
top: 100rpx;
|
||||
left: 40rpx;
|
||||
z-index: 999;
|
||||
}
|
||||
.Navigation-name{
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
position: absolute;
|
||||
top: 100rpx;
|
||||
left: 300rpx;
|
||||
z-index: 999;
|
||||
}
|
||||
@@ -0,0 +1,150 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../../common/vendor.js");
|
||||
require("../../../../adapter-vue.js");
|
||||
const common_assets = require("../../../../../common/assets.js");
|
||||
const TUIKit_constant = require("../../../../constant.js");
|
||||
const TUIKit_utils_env = require("../../../../utils/env.js");
|
||||
const TUIKit_components_TUIChat_utils_utils = require("../../utils/utils.js");
|
||||
const TUIKit_components_TUIChat_emojiConfig_index = require("../../emoji-config/index.js");
|
||||
const TUIKit_components_TUIChat_config = require("../../config.js");
|
||||
if (!Math) {
|
||||
Icon();
|
||||
}
|
||||
const Icon = () => "../../../common/Icon.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "emoji-picker-dialog",
|
||||
emits: ["insertEmoji", "onClose", "sendMessage"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
var _a;
|
||||
const faceIcon = TUIKit_components_TUIChat_config.ChatConfig.getTheme() === "dark" ? common_assets.faceIconDark : common_assets.faceIconLight;
|
||||
const emits = __emit;
|
||||
const currentTabIndex = common_vendor.ref(0);
|
||||
const currentConversation = common_vendor.ref();
|
||||
common_vendor.ref();
|
||||
const emojiPickerListRef = common_vendor.ref();
|
||||
const featureConfig = TUIKit_components_TUIChat_config.ChatConfig.getFeatureConfig();
|
||||
const list = common_vendor.ref(initEmojiList());
|
||||
const currentTabItem = common_vendor.ref(list == null ? void 0 : list.value[0]);
|
||||
const currentEmojiList = common_vendor.ref((_a = list == null ? void 0 : list.value[0]) == null ? void 0 : _a.list);
|
||||
common_vendor.onMounted(() => {
|
||||
common_vendor.Jt.watch(common_vendor.o.CONV, {
|
||||
currentConversation: onCurrentConversationUpdate
|
||||
});
|
||||
});
|
||||
common_vendor.onUnmounted(() => {
|
||||
common_vendor.Jt.unwatch(common_vendor.o.CONV, {
|
||||
currentConversation: onCurrentConversationUpdate
|
||||
});
|
||||
});
|
||||
const toggleEmojiTab = (index) => {
|
||||
var _a2;
|
||||
currentTabIndex.value = index;
|
||||
currentTabItem.value = list == null ? void 0 : list.value[index];
|
||||
currentEmojiList.value = (_a2 = list == null ? void 0 : list.value[index]) == null ? void 0 : _a2.list;
|
||||
if (!TUIKit_utils_env.isUniFrameWork) {
|
||||
(emojiPickerListRef == null ? void 0 : emojiPickerListRef.value) && (emojiPickerListRef.value.scrollTop = 0);
|
||||
}
|
||||
};
|
||||
const select = (item, index) => {
|
||||
var _a2, _b, _c;
|
||||
const options = {
|
||||
emoji: { key: item, name: TUIKit_components_TUIChat_emojiConfig_index.convertKeyToEmojiName(item) },
|
||||
type: (_a2 = currentTabItem == null ? void 0 : currentTabItem.value) == null ? void 0 : _a2.type
|
||||
};
|
||||
switch ((_b = currentTabItem == null ? void 0 : currentTabItem.value) == null ? void 0 : _b.type) {
|
||||
case TUIKit_constant.EMOJI_TYPE.BASIC:
|
||||
options.url = ((_c = currentTabItem == null ? void 0 : currentTabItem.value) == null ? void 0 : _c.url) + TUIKit_components_TUIChat_emojiConfig_index.BASIC_EMOJI_URL_MAPPING[item];
|
||||
if (TUIKit_utils_env.isUniFrameWork) {
|
||||
common_vendor.index.$emit("insert-emoji", options);
|
||||
} else {
|
||||
emits("insertEmoji", options);
|
||||
}
|
||||
break;
|
||||
case TUIKit_constant.EMOJI_TYPE.BIG:
|
||||
sendFaceMessage(index, currentTabItem.value);
|
||||
break;
|
||||
case TUIKit_constant.EMOJI_TYPE.CUSTOM:
|
||||
sendFaceMessage(index, currentTabItem.value);
|
||||
break;
|
||||
}
|
||||
TUIKit_utils_env.isPC && emits("onClose");
|
||||
};
|
||||
const sendFaceMessage = (index, listItem) => {
|
||||
var _a2, _b, _c, _d, _e;
|
||||
const options = {
|
||||
to: ((_b = (_a2 = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _a2.groupProfile) == null ? void 0 : _b.groupID) || ((_d = (_c = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _c.userProfile) == null ? void 0 : _d.userID),
|
||||
conversationType: (_e = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _e.type,
|
||||
payload: {
|
||||
index: listItem.emojiGroupID,
|
||||
data: listItem.list[index]
|
||||
},
|
||||
needReadReceipt: TUIKit_components_TUIChat_utils_utils.isEnabledMessageReadReceiptGlobal()
|
||||
};
|
||||
common_vendor.Qt.sendFaceMessage(options);
|
||||
};
|
||||
function sendMessage() {
|
||||
common_vendor.index.$emit("send-message-in-emoji-picker");
|
||||
}
|
||||
function onCurrentConversationUpdate(conversation) {
|
||||
currentConversation.value = conversation;
|
||||
}
|
||||
function initEmojiList() {
|
||||
return TUIKit_components_TUIChat_emojiConfig_index.EMOJI_GROUP_LIST.filter((item) => {
|
||||
if (item.type === TUIKit_constant.EMOJI_TYPE.BASIC) {
|
||||
return featureConfig.InputEmoji;
|
||||
}
|
||||
if (item.type === TUIKit_constant.EMOJI_TYPE.BIG) {
|
||||
return featureConfig.InputStickers;
|
||||
}
|
||||
if (item.type === TUIKit_constant.EMOJI_TYPE.CUSTOM) {
|
||||
return featureConfig.InputStickers;
|
||||
}
|
||||
});
|
||||
}
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.f(common_vendor.unref(currentEmojiList), (childrenItem, childrenIndex, i0) => {
|
||||
return common_vendor.e(common_vendor.unref(currentTabItem).type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BASIC ? {
|
||||
a: common_vendor.unref(currentTabItem).url + common_vendor.unref(TUIKit_components_TUIChat_emojiConfig_index.BASIC_EMOJI_URL_MAPPING)[childrenItem]
|
||||
} : common_vendor.unref(currentTabItem).type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BIG ? {
|
||||
b: common_vendor.unref(currentTabItem).url + childrenItem + "@2x.png"
|
||||
} : {
|
||||
c: common_vendor.unref(currentTabItem).url + childrenItem
|
||||
}, {
|
||||
d: childrenIndex,
|
||||
e: common_vendor.o$1(($event) => select(childrenItem, childrenIndex), childrenIndex)
|
||||
});
|
||||
}),
|
||||
b: common_vendor.unref(currentTabItem).type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BASIC,
|
||||
c: common_vendor.unref(currentTabItem).type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BIG,
|
||||
d: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "emoji-picker-h5-list"),
|
||||
e: common_vendor.f(common_vendor.unref(list), (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BASIC
|
||||
}, item.type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BASIC ? {
|
||||
b: "194fb307-0-" + i0,
|
||||
c: common_vendor.p({
|
||||
file: common_vendor.unref(faceIcon)
|
||||
})
|
||||
} : item.type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BIG ? {
|
||||
e: item.url + item.list[0] + "@2x.png"
|
||||
} : {
|
||||
f: item.url + item.list[0]
|
||||
}, {
|
||||
d: item.type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BIG,
|
||||
g: index,
|
||||
h: common_vendor.o$1(($event) => toggleEmojiTab(index), index)
|
||||
});
|
||||
}),
|
||||
f: common_vendor.unref(TUIKit_utils_env.isUniFrameWork)
|
||||
}, common_vendor.unref(TUIKit_utils_env.isUniFrameWork) ? {
|
||||
g: common_vendor.o$1(sendMessage)
|
||||
} : {}, {
|
||||
h: !common_vendor.unref(TUIKit_utils_env.isPC) ? 1 : ""
|
||||
});
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-194fb307"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.js.map
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"icon": "../../../common/Icon"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view ref="emojiPickerDialog" class="{{['data-v-194fb307', 'emoji-picker', h && 'emoji-picker-h5']}}"><view ref="emojiPickerListRef" class="{{['data-v-194fb307', 'emoji-picker-list', d]}}"><view wx:for="{{a}}" wx:for-item="childrenItem" wx:key="d" class="emoji-picker-list-item data-v-194fb307" bindtap="{{childrenItem.e}}"><image wx:if="{{b}}" class="emoji data-v-194fb307" src="{{childrenItem.a}}"></image><image wx:elif="{{c}}" class="emoji-big data-v-194fb307" src="{{childrenItem.b}}"></image><image wx:else class="emoji-custom emoji-big data-v-194fb307" src="{{childrenItem.c}}"></image></view></view><view class="emoji-picker-tab data-v-194fb307"><view wx:for="{{e}}" wx:for-item="item" wx:key="g" class="emoji-picker-tab-item data-v-194fb307" bindtap="{{item.h}}"><icon wx:if="{{item.a}}" class="icon data-v-194fb307" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"/><image wx:elif="{{item.d}}" class="icon-big data-v-194fb307" src="{{item.e}}"></image><image wx:else class="icon-custom icon-big data-v-194fb307" src="{{item.f}}"></image></view><view wx:if="{{f}}" class="send-btn data-v-194fb307" bindtap="{{g}}"> 发送 </view></view></view>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user