优化页面

This commit is contained in:
pengxiaolong
2025-06-10 23:06:51 +08:00
parent 8c70c2c850
commit 3c2d7e5959
974 changed files with 353 additions and 87597 deletions

26
App.vue
View File

@@ -1,9 +1,9 @@
<script lang="ts">
// #ifdef APP-PLUS || H5
import { TUIChatKit } from './TUIKit';
import { useCounterStore } from '@/stores/counter'
const counter = useCounterStore()
import { TUIChatKit } from "./TUIKit";
import { useCounterStore } from "@/stores/counter";
import { onMounted } from "vue";
const counter = useCounterStore();
TUIChatKit.init();
// #endif
// Required information
@@ -19,27 +19,27 @@ export default {
chatInfo: {},
};
},
onLoad(option) {
AutomaticCleaning()
this.AutomaticCleaning();
uni.getStorage({
key: "userinfo",
success: (res) => {
this.info = res.data;
counter.$patch({ myitem:this.info})
counter.$patch({ myitem: this.info });
},
fail: () => {
},
})
fail: () => {},
});
},
methods: {
//自动清理缓存
AutomaticCleaning(){
const lastCleanTime = uni.getStorageSync('last_clean_time') || 0;
AutomaticCleaning() {
const lastCleanTime = uni.getStorageSync("last_clean_time") || 0;
const now = Date.now();
if (now - lastCleanTime < 7 * 24 * 3600 * 1000) return; // 7 days
uni.clearStorage();
uni.setStorageSync('last_clean_time', now);
}
uni.setStorageSync("last_clean_time", now);
},
},
provide() {
return {

View File

@@ -1,13 +1,13 @@
<template>
<div class="Navigation">
<image
src="../../../static/Navigationimg.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Navigationimg.png"
mode="scaleToFill"
class="Navigationimg"
/>
<image
@click="Returnfunc"
src="../../../static/Return.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png"
mode="scaleToFill"
class="Return"
/>

View File

@@ -1,5 +1,5 @@
<template>
<div
<!-- <div
:ref="convHeaderRef"
class="tui-conversation-header"
>
@@ -55,7 +55,7 @@
</main>
</li>
</ul>
</div>
</div> -->
</template>
<script lang="ts" setup>
import { computed, ref, onMounted } from '../../../adapter-vue';

View File

@@ -2,7 +2,7 @@
<div class="Navigation-left"> </div>
<div class="Navigation">
<image
src="../../../static/Navigationimg.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Navigationimg.png"
mode="scaleToFill"
class="Navigationimg"
/>

View File

@@ -27,11 +27,11 @@
class="search-input"
:searchType="searchType"
/>
<SearchMore
<!-- <SearchMore
v-if="isPC || !searchingStatus"
class="search-more"
:searchType="searchType"
/>
/> -->
</div>
<SearchContainer
v-if="searchingStatus"

View File

@@ -1,7 +1,7 @@
import addPrefixToHeaderIcon from './addPrefixToHeaderIcon.js'
export default function request(urldata) {
const { url, data, method, header, userInfo } = urldata;
const baseUrl = "http://120.26.251.180:8086/"+ url;
const baseUrl = "https://api.yolojt.com/"+ url;
// const baseUrl = "http://192.168.0.218:8086/"+ url;
if (userInfo) {
return new Promise((resolve, reject) => {

View File

@@ -29,7 +29,8 @@
</template>
<script setup>
import NewAddedPk from '../../pages/NewAddedPk/NewAddedPk.vue'
import NewAddedPk from "../../pages/NewAddedPk/NewAddedPk.vue";
import VerifyLogin from "../VerifyLogin.js";
import { getCurrentInstance, defineProps, onMounted, reactive, ref } from "vue";
let showMiddleButton = ref(false);
@@ -38,34 +39,34 @@ const props = defineProps({
});
let tabList = reactive([
{
iconPath: "../../static/Pk.png",
selectedIconPath: "../../static/PkClick.png",
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: "../../static/Forum.png",
selectedIconPath: "../../static/Forumclick.png",
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: "../../static/jiahao.png",
selectedIconPath: "../../static/jiahao.png",
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: "../../static/Message.png",
selectedIconPath: "../../static/Messageclick.png",
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: "../../static/Mine.png",
selectedIconPath: "../../static/Mineclick.png",
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: "",
@@ -95,11 +96,11 @@ function setTabBar() {
tabList[middleIndex].middleClass = "mid-button";
}
}
const createModule = ref()
const createModule = ref();
function openPopupQuantity() {
createModule.value.open()
}
function openPopupQuantity() {
createModule.value.open();
}
//组件返回关闭指令
function closeSuccess() {
// addSuccess.value.close();
@@ -110,18 +111,33 @@ const disabledScroll = () => {
};
//tab点击事件
function handlePush(item, index) {
if (index === 2) {
//打开弹窗
// addSuccess.value.open();
openPopupQuantity()
return;
}
if (item.text === "消息") {
uni.navigateTo({
url: "/TUIKit/components/TUIConversation/index",
animationType: 'none',
});
}else {
if (index === 3) {
VerifyLogin().then((res) => {
if (res) {
uni.navigateTo({
url: "/TUIKit/components/TUIConversation/index",
animationType: "none",
});
}
});
} else if (index === 2) {
//打开弹窗
VerifyLogin().then((res) => {
if (res) {
openPopupQuantity();
return;
}
});
} else if (index === 4) {
VerifyLogin().then((res) => {
if (res) {
uni.switchTab({
url: "/pages/Mine/Mine",
animationType: "none",
});
}
});
} else {
uni.switchTab({
url: item.pagePath,
});
@@ -168,7 +184,7 @@ function handlePush(item, index) {
padding: 0; //解决偏移
z-index: 0;
}
.createModule{
.createModule {
position: fixed;
bottom: 0;
right: 0;
@@ -182,8 +198,6 @@ function handlePush(item, index) {
.tab-list-middle {
position: relative;
// background: url('https://res.paquapp.com/popmartvip/home/nav_bar_bg_2x.png') no-repeat center center;
background-size: cover;
}

View File

@@ -13,7 +13,7 @@
>PK大厅</view
>
<!-- <view @click="screening" class="Screening">筛选</view>
<image @click="Search" src="../../static/Searching.png" class="filter-icon" /> -->
<image @click="Search" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Searching.png" class="filter-icon" /> -->
</view>
</template>

View File

@@ -1,5 +1,5 @@
{
"pages": [
"pages": [
{
"path": "pages/Home/Home",
"style": {
@@ -59,7 +59,8 @@
"style": {
"navigationBarTitleText": "聊天"
}
},{
},
{
"path": "pages/login/login",
"style": {
"navigationBarTitleText": "登录"
@@ -76,7 +77,8 @@
"style": {
"navigationBarTitleText": "用户信息"
}
},{
},
{
"path": "pages/Setting/Setting",
"style": {
"navigationBarTitleText": "设置"
@@ -94,99 +96,90 @@
"navigationBarTitleText": "PK详情"
}
}
],
"subPackages": [
{
"root": "TUIKit",
"pages": [
{
"path": "components/TUIConversation/index",
"style": {
"navigationBarTitleText": "腾讯云 IM"
}
},
{
"path": "components/TUIChat/index",
"style": {
"navigationBarTitleText": "腾讯云 IM",
"app-plus": {
"softinputMode": "adjustResize",
"titleNView": {
"buttons": [
{
"type": "menu"
}
]
}
},
"h5": {
"titleNView": {
"buttons": []
}
}
}
},
{
"path": "components/TUIChat/video-play",
"style": {
"navigationBarTitleText": "腾讯云 IM"
}
},
{
"path": "components/TUIChat/web-view",
"style": {
"navigationBarTitleText": "腾讯云 IM"
}
},
{
"path": "components/TUIContact/index",
"style": {
"navigationBarTitleText": "腾讯云 IM"
}
},
{
"path": "components/TUIGroup/index",
"style": {
"navigationBarTitleText": "腾讯云 IM"
}
},
{
"path": "components/TUISearch/index",
"style": {
"navigationBarTitleText": "聊天记录"
}
},
{
"path": "components/TUIConversation/conversation-list/index",
"style": {
"navigationBarTitleText": "列表"
}
}
]
},
{
"root": "static",
"root": "TUIKit",
"pages": [
{
"path": "index",
"path": "components/TUIConversation/index",
"style": {
"navigationBarTitleText": "静态资源"
"navigationBarTitleText": "腾讯云 IM"
}
},
{
"path": "components/TUIChat/index",
"style": {
"navigationBarTitleText": "腾讯云 IM",
"app-plus": {
"softinputMode": "adjustResize",
"titleNView": {
"buttons": [
{
"type": "menu"
}
]
}
},
"h5": {
"titleNView": {
"buttons": []
}
}
}
},
{
"path": "components/TUIChat/video-play",
"style": {
"navigationBarTitleText": "腾讯云 IM"
}
},
{
"path": "components/TUIChat/web-view",
"style": {
"navigationBarTitleText": "腾讯云 IM"
}
},
{
"path": "components/TUIContact/index",
"style": {
"navigationBarTitleText": "腾讯云 IM"
}
},
{
"path": "components/TUIGroup/index",
"style": {
"navigationBarTitleText": "腾讯云 IM"
}
},
{
"path": "components/TUISearch/index",
"style": {
"navigationBarTitleText": "聊天记录"
}
},
{
"path": "components/TUIConversation/conversation-list/index",
"style": {
"navigationBarTitleText": "列表"
}
}
]
}
],
"preloadRule": {
"pages/Home/Home": {
"network": "all",
"packages": ["static","TUIKit"]
],
"preloadRule": {
"pages/index/index": {
"network": "all",
"packages": [
"TUIKit"
]
}
},
},
"globalStyle": {
"navigationStyle": "custom",
"statusBarBackground": "#ffffff"
},
},
"uniIdRouter": {},
"tabBar": {
"custom": true,
@@ -194,7 +187,7 @@
{
"pagePath": "pages/Home/Home",
"text": "组件"
},
},
{
"pagePath": "pages/Mine/Mine",
"text": "我的"
@@ -209,4 +202,4 @@
}
]
}
}
}

View File

@@ -1,7 +1,7 @@
<template>
<view class="forum">
<view class="bg">
<image class="bgImg" src="../../static/HomeBackground.png" mode="scaleToFill" />
<image class="bgImg" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill" />
</view>
<view class="title">论坛</view>

View File

@@ -1,6 +1,6 @@
<template>
<view class="page">
<image src="../../static/HomeBackground.png" class="HomeBackground"></image>
<image src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" class="HomeBackground"></image>
</view>
<view class="top-navigation-container">
<top-navigation
@@ -22,7 +22,7 @@
@scrolltolower="onScrollToLower"
:refresher-triggered="triggered"
>
<uni-card v-for="(item, index) in list">
<uni-card v-if="list.length !== 0" v-for="(item, index) in list">
<view class="content-list" @click="goDetail(item)">
<!-- `````````````````````````` -->
<image class="headShot" :src="item.anchorIcon" mode="scaleToFill" />
@@ -36,13 +36,13 @@
<image
v-if="item.sex === '2'"
class="Genderimg"
src="../../static/female.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png"
mode="scaleToFill"
/>
<image
v-else
class="Genderimg"
src="../../static/male.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png"
mode="scaleToFill"
/>
<view class="age">{{ item.sex === "1" ? "男" : "女" }}</view>
@@ -55,6 +55,7 @@
<!-- `````````````````````````````````````````````````````` -->
</view>
</uni-card>
<view v-if="list.length === 0" class="no-content">暂无内容</view>
</scroll-view>
</view>
<view class="tabBar">
@@ -90,8 +91,8 @@ export default {
},
mounted() {
// 页面加载完成后请求数据
this.pkList({type:2});
this.pkList({type:1});
this.pkList({ type: 2 });
this.pkList({ type: 1 });
},
onLoad() {
uni.getStorage({
@@ -114,6 +115,9 @@ export default {
});
},
});
setTimeout(() => {
uni.switchTab({ url: "/pages/Home/Home" });
}, 1000);
},
methods: {
goMakeAppointmentPK() {
@@ -121,8 +125,8 @@ export default {
this.list = this.MakeAppointmentPKlist;
},
goRealTimePk() {
this.listtype = 2;
this.list = this.RealTimePklist;
this.listtype = 2;
this.list = this.RealTimePklist;
},
goAdvertisement() {
// this.$global.lastPage = getCurrentPages().router;
@@ -131,13 +135,13 @@ export default {
onRefresherRefresh() {
this.page = 0;
this.list = [];
if(this.listtype === 1){
if (this.listtype === 1) {
this.MakeAppointmentPKlist = [];
}else{
} else {
this.RealTimePklist = [];
}
this.triggered = true;
this.pkList({type:this.listtype});
this.pkList({ type: this.listtype });
},
async goDetail(item) {
uni.showLoading({
@@ -190,7 +194,7 @@ export default {
status: 0,
page: this.page,
size: this.size,
condition:condition
condition: condition,
},
userInfo: false,
});
@@ -208,13 +212,13 @@ export default {
this.list = this.RealTimePklist;
}
}
}
}
},
onScrollToLower() {
this.page++;
this.pkList({type:this.listtype});
},
},
onScrollToLower() {
this.page++;
this.pkList({ type: this.listtype });
},
components: {
topNavigation,
Advertisement,
@@ -306,7 +310,7 @@ export default {
}
.Gendermale {
background: url(../../static/maleimg.png) no-repeat center;
background: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png) no-repeat center;
width: 56.3rpx;
height: 29.58rpx;
background-size: 100% 100%;
@@ -315,7 +319,7 @@ export default {
margin-right: 10rpx;
}
.Genderfemale {
background: url(../../static/femaleimg.png) no-repeat center;
background: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png) no-repeat center;
width: 56.3rpx;
height: 29.58rpx;
background-size: 100% 100%;
@@ -341,4 +345,14 @@ export default {
line-height: 38rpx;
font-weight: 600;
}
.no-content{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 28rpx;
color: #a3a3a3;
line-height: 40rpx;
text-align: center;
}
</style>

View File

@@ -1,7 +1,7 @@
<template>
<view class="container">
<view class="bg">
<image class="bgImg" src="../../static/HomeBackground.png" mode="scaleToFill" />
<image class="bgImg" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill" />
</view>
<view class="PersonalInformation">
@@ -12,7 +12,7 @@
<view class="name">{{ userinfo.nickName }}</view>
</view>
<view class="Settings" @click="goSetting">
<image class="SettingsIcon" src="../../static/Settings.png" mode="scaleToFill" />
<image class="SettingsIcon" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Settings.png" mode="scaleToFill" />
</view>
</view>
<!-- PK信息 -->
@@ -25,19 +25,20 @@
@click="pkInformation"
>更多PK信息<image
style="width: 10.5rpx; height: 20.04rpx; margin-left: 10rpx"
src="../../static/More.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/More.png"
mode="scaleToFill"
/>
</view>
</view>
<view class="card">
<view class="cardContent" v-for="(item,index) in pkInformationdata" :key="index">
<view class="cardContent" v-for="(item,index) in pkInformationdata" :key="index" v-if="pkInformationdata.length !== 0">
<view class="cardImg">
<image :src="item.anchorIcon" style="width: 80rpx; height: 80rpx; border-radius: 72.25rpx;" mode="scaleToFill" />
</view>
<view class="Time">{{ formatDate(item.pkTime) }}</view>
<view class="gold"> {{item.coin}}K</view>
</view>
<view v-if="pkInformationdata.length === 0" class="no-content">暂无内容</view>
</view>
</view>
<!-- PK记录 -->
@@ -48,13 +49,13 @@
<view class="myPkRecordMore"
@click="pkRecord">更多PK记录<image
style="width: 10.5rpx; height: 20.04rpx; margin-left: 10rpx"
src="../../static/More.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/More.png"
mode="scaleToFill"
/>
</view>
</view>
<view class="card">
<view class="cardContent"v-for="(item,index) in myPkRecorddata" :key="index">
<view class="cardContent"v-for="(item,index) in myPkRecorddata" :key="index" v-if="myPkRecorddata.length !== 0">
<view class="cardImg">
<image style="width: 80rpx; height: 80rpx;border-radius: 72.25rpx;" :src="item.anchorIconA" mode="scaleToFill" />
</view>
@@ -65,6 +66,7 @@
<view class="Session"> {{item.pkNumber}} </view>
<view class="Time">{{TimeFormatting(item.pkTime)}}</view>
</view>
<view v-if="myPkRecorddata.length === 0" class="no-content">暂无内容</view>
</view>
</view>
@@ -78,7 +80,7 @@
<view class="service" @click="contact">
<image
style="width: 48.28rpx; height: 48.09rpx"
src="../../static/service.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/service.png"
mode="scaleToFill"
/>
<view class="cardtext">联系客服</view>
@@ -87,7 +89,7 @@
<view class="service" @click="serviceProtocol">
<image
style="width: 48.28rpx; height: 48.09rpx"
src="../../static/Agreement.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Agreement.png"
mode="scaleToFill"
/>
<view class="cardtext">服务协议</view>
@@ -96,7 +98,7 @@
<view class="service" @click="logout">
<image
style="width: 48.28rpx; height: 48.09rpx"
src="../../static/logout.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/logout.png"
mode="scaleToFill"
/>
<view class="cardtext">退出登录</view>
@@ -306,12 +308,12 @@ export default {
background-color: #91e3e48b;
}
.titleMore {
margin-left: 410rpx;
margin-left: 400rpx;
font-size: 28.63rpx;
color: #333333;
}
.myPkRecordMore {
margin-left: 340rpx;
margin-left:330rpx;
font-size: 28.63rpx;
color: #333333;
}
@@ -355,7 +357,7 @@ export default {
.Failure {
width: 56.3rpx;
height: 29.58rpx;
background-image: url("../../static/maleimg.png");
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;
@@ -369,7 +371,7 @@ export default {
.Result {
width: 56.3rpx;
height: 29.58rpx;
background-image: url("../../static/femaleimg.png");
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;
@@ -408,4 +410,13 @@ export default {
right: 0;
height: 50rpx;
}
.no-content{
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
font-size: 28.63rpx;
color: #333333;
}
</style>

View File

@@ -3,12 +3,12 @@
<view class="bg">
<image
class="bgImg"
src="../../../../static/HomeBackground.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png"
mode="scaleToFill"
/>
</view>
<view class="Return" @click="onBack">
<image class="ReturnImg" src="../../../../static/Return.png" mode="scaleToFill" />
<image class="ReturnImg" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill" />
</view>
<view class="title">PK记录详情</view>
<view class="pkrecords">
@@ -22,7 +22,7 @@
<!-- 皇冠 -->
<image
class="Crown"
src="../../../../static/Crown.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png"
mode="scaleToFill"
v-if="item.winnerAnchorId == item.anchorIdA"
/>
@@ -57,7 +57,7 @@
<!-- 皇冠 -->
<image
class="Crown"
src="../../../../static/Crown.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png"
mode="scaleToFill"
v-if="item.winnerAnchorId == item.anchorIdB"
/>

View File

@@ -1,10 +1,10 @@
<template>
<view class="contact">
<view class="bg">
<image class="bgImg" src="../../../static/HomeBackground.png" mode="scaleToFill" />
<image class="bgImg" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill" />
</view>
<view class="Return" @click="onBack">
<image class="ReturnImg" src="../../../static/Return.png" mode="scaleToFill" />
<image class="ReturnImg" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill" />
</view>
<view class="title">联系客服</view>
</view>

View File

@@ -1,10 +1,10 @@
<template>
<view class="pk-information">
<view class="bg">
<image class="bgImg" src="../../../static/HomeBackground.png" mode="scaleToFill" />
<image class="bgImg" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill" />
</view>
<view class="Return" @click="onBack">
<image class="ReturnImg" src="../../../static/Return.png" mode="scaleToFill" />
<image class="ReturnImg" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill" />
</view>
<view class="title">PK信息</view>
<view class="content">
@@ -36,13 +36,13 @@
<image
v-if="item.sex === '2'"
class="Genderimg"
src="../../../static/female.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png"
mode="scaleToFill"
/>
<image
v-else
class="Genderimg"
src="../../../static/male.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png"
mode="scaleToFill"
/>
<view class="age">{{ item.sex === "1" ? "男" : "女" }}</view>
@@ -54,7 +54,7 @@
<view class="species">
<image
style="width: 28.63rpx; height: 28.63rpx"
src="../../../static/species.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png"
mode="scaleToFill"
/>
<view class="species-text">金币:</view>
@@ -68,14 +68,14 @@
<view class="recompose" @click="onRecompose(item)">
<image
style="width: 46rpx; height: 46rpx"
src="../../../static/recompose.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/recompose.png"
mode="scaleToFill"
/>
</view>
<view class="expurgate" @click="onExpurgate(item)">
<image
style="width: 46rpx; height: 46rpx"
src="../../../static/expurgate.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/expurgate.png"
mode="scaleToFill"
/>
</view>
@@ -249,7 +249,7 @@ export default {
margin-left: 27.5rpx;
}
.Gendermale {
background: url(../../../static/maleimg.png) no-repeat center;
background: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png) no-repeat center;
width: 56.3rpx;
height: 29.58rpx;
background-size: 100% 100%;
@@ -258,7 +258,7 @@ export default {
margin-right: 10rpx;
}
.Genderfemale {
background: url(../../../static/femaleimg.png) no-repeat center;
background: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png) no-repeat center;
width: 56.3rpx;
height: 29.58rpx;
background-size: 100% 100%;

View File

@@ -1,10 +1,10 @@
<template>
<view class="pkRecord">
<view class="bg">
<image class="bgImg" src="../../../static/HomeBackground.png" mode="scaleToFill" />
<image class="bgImg" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill" />
</view>
<view class="Return" @click="onBack">
<image class="ReturnImg" src="../../../static/Return.png" mode="scaleToFill" />
<image class="ReturnImg" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill" />
</view>
<view class="title">PK记录</view>
<!-- 导航栏 -->
@@ -50,7 +50,7 @@
<image class="AnchorAImgcss" :src="item.anchorIconA" mode="scaleToFill" />
</view>
<!-- 皇冠 -->
<image class="Crown" src="../../../static/Crown.png" mode="scaleToFill" v-if="item.winnerAnchorId == item.anchorIdA"/>
<image class="Crown" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill" v-if="item.winnerAnchorId == item.anchorIdA"/>
<view class="AnchorAinfo">
<view class="AnchorAname"> {{ item.anchorIdA }} </view>
<view class="AnchorATime">{{ formatDate(item.pkTime) }}</view>
@@ -80,7 +80,7 @@
<image class="AnchorBImgcss" :src="item.anchorIconB" mode="scaleToFill" />
</view>
<!-- 皇冠 -->
<image class="Crown" src="../../../static/Crown.png" mode="scaleToFill" v-if="item.winnerAnchorId == item.anchorIdB"/>
<image class="Crown" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Crown.png" mode="scaleToFill" v-if="item.winnerAnchorId == item.anchorIdB"/>
</view>
</view>
</uni-card>

View File

@@ -5,7 +5,7 @@
<image
class="Fork"
@click="open()"
src="../../../../static/Fork.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png"
mode="scaleToFill"
/>
<view class="Titlecss">
@@ -67,19 +67,19 @@
<image
v-if="genders === 0 || message.sex === '0'"
class="Gendericon"
src="../../../../static/ask.png"
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="../../../../static/man.png"
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="../../../../static/girl.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png"
mode="scaleToFill"
/>
</view>
@@ -92,7 +92,7 @@
<view class="goldCoin">
<view class="number-box">
<view class="number-box-title">金币数量:</view>
<uni-number-box background="#03ABA8" v-model="numberCoins" ></uni-number-box>
<uni-number-box :max="9999999999" background="#03ABA8" v-model="numberCoins" ></uni-number-box>
<view class="number-box-title">单位:</view>
<view class="number-box-unit">K</view>
</view>
@@ -385,13 +385,13 @@ export default {
.Star{
width: 50rpx;
height: 50rpx;
background-image: url(../../../../static/star.png);
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/star.png);
background-size: 100% 100%;
}
.Title {
width: 430rpx;
height: 70rpx;
background-image: url(../../../../static/Publishpk.png);
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;

View File

@@ -1,10 +1,10 @@
<template>
<view class="service-protocol">
<view class="bg">
<image class="bgImg" src="../../../static/HomeBackground.png" mode="scaleToFill" />
<image class="bgImg" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill" />
</view>
<view class="Return" @click="onBack">
<image class="ReturnImg" src="../../../static/Return.png" mode="scaleToFill" />
<image class="ReturnImg" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill" />
</view>
<view class="title">服务协议</view>
</view>

View File

@@ -9,7 +9,7 @@
<image
class="Fork"
@click="open()"
src="../../static/Fork.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png"
mode="scaleToFill"
/>
<view class="Titlecss">
@@ -68,19 +68,19 @@
<image
v-if="genders === 0"
class="Gendericon"
src="../../static/ask.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png"
mode="scaleToFill"
/>
<image
v-if="genders === 1"
class="Gendericon"
src="../../static/man.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png"
mode="scaleToFill"
/>
<image
v-if="genders === 2"
class="Gendericon"
src="../../static/girl.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png"
mode="scaleToFill"
/>
</view>
@@ -92,7 +92,7 @@
<view class="goldCoin">
<view class="number-box">
<view class="number-box-title">金币数量:</view>
<uni-number-box background="#03ABA8" v-model="numberCoins"></uni-number-box>
<uni-number-box :max="9999999999" background="#03ABA8" v-model="numberCoins"></uni-number-box>
<view class="number-box-title">单位:</view>
<view class="number-box-unit">K</view>
</view>
@@ -212,7 +212,7 @@ export default {
mask: true,
});
uni.request({
url: "http://47.79.98.113:6600/"+this.nameAnchor,
url: "https://api.tkpage.yolozs.com/api/"+this.nameAnchor,
success:(res)=>{
if (res.data.code === 200) {
uni.hideLoading();
@@ -411,13 +411,13 @@ export default {
.Star {
width: 50rpx;
height: 50rpx;
background-image: url(../../static/star.png);
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/star.png);
background-size: 100% 100%;
}
.Title {
width: 430rpx;
height: 70rpx;
background-image: url(../../static/Publishpk.png);
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;

View File

@@ -3,13 +3,13 @@
<view class="background">
<image
style="width: 100%; height: 100%"
src="../../static/HomeBackground.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png"
mode="scaleToFill"
/>
</view>
<view class="Navigation">
<view class="Return" @click="goBack">
<image class="Return" src="../../static/Return.png" mode="scaleToFill" />
<image class="Return" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill" />
</view>
</view>
<view class="Content">
@@ -27,7 +27,7 @@
<view>
<image
style="width: 20rpx; height: 20rpx"
src="../../static/male.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png"
mode="scaleToFill"
/>
</view>
@@ -38,7 +38,7 @@
<view>
<image
style="width: 20rpx; height: 20rpx"
src="../../static/female.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png"
mode="scaleToFill"
/>
</view>
@@ -52,7 +52,7 @@
<view class="goldCoin">
<image
style="width: 72rpx; height: 72rpx; margin-left: 36rpx; margin-right: 32rpx"
src="../../static/gold.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/gold.png"
mode="scaleToFill"
/>
<view class="goldcard">
@@ -63,7 +63,7 @@
<view class="Session">
<image
style="width: 72rpx; height: 72rpx; margin-left: 36rpx; margin-right: 32rpx"
src="../../static/session.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/session.png"
mode="scaleToFill"
/>
<view class="goldcard">
@@ -87,7 +87,7 @@
<view>
<image
style="width: 20rpx; height: 20rpx"
src="../../static/male.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png"
mode="scaleToFill"
/>
</view>
@@ -98,7 +98,7 @@
<view>
<image
style="width: 20rpx; height: 20rpx"
src="../../static/female.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png"
mode="scaleToFill"
/>
</view>
@@ -112,7 +112,7 @@
<view class="goldCoin">
<image
style="width: 72rpx; height: 72rpx; margin-left: 36rpx; margin-right: 32rpx"
src="../../static/gold.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/gold.png"
mode="scaleToFill"
/>
<view>
@@ -123,7 +123,7 @@
<view class="Session">
<image
style="width: 72rpx; height: 72rpx; margin-left: 36rpx; margin-right: 32rpx"
src="../../static/session.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/session.png"
mode="scaleToFill"
/>
<view>
@@ -364,7 +364,7 @@ export default {
margin-top: 48.7rpx;
}
.goldCoin {
background-image: url("../../static/Backgroundofgoldcoins.png");
background-image: url("https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Backgroundofgoldcoins.png");
width: 334.83rpx;
height: 124.05rpx;
margin-right: 21rpx;
@@ -372,7 +372,7 @@ export default {
align-items: center;
}
.Session {
background-image: url("../../static/Fieldnumberbackground.png");
background-image: url("https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fieldnumberbackground.png");
width: 334.83rpx;
height: 124.05rpx;
display: flex;

View File

@@ -3,13 +3,13 @@
<view class="background">
<image
style="width: 100%; height: 100%"
src="../../static/HomeBackground.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png"
mode="scaleToFill"
/>
</view>
<view class="Navigation">
<view class="Return" @click="Returnfunc">
<image class="Return" src="../../static/Return.png" mode="scaleToFill" />
<image class="Return" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill" />
</view>
</view>
<view class="Content">
@@ -27,7 +27,7 @@
<view>
<image
style="width: 20rpx; height: 20rpx"
src="../../static/male.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png"
mode="scaleToFill"
/>
</view>
@@ -38,7 +38,7 @@
<view>
<image
style="width: 20rpx; height: 20rpx"
src="../../static/female.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png"
mode="scaleToFill"
/>
</view>
@@ -52,7 +52,7 @@
<view class="goldCoin">
<image
style="width: 72rpx; height: 72rpx; margin-left: 36rpx; margin-right: 32rpx"
src="../../static/gold.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/gold.png"
mode="scaleToFill"
/>
<view class="goldcard">
@@ -63,7 +63,7 @@
<view class="Session">
<image
style="width: 72rpx; height: 72rpx; margin-left: 36rpx; margin-right: 32rpx"
src="../../static/session.png"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/session.png"
mode="scaleToFill"
/>
<view class="goldcard">
@@ -83,15 +83,11 @@
<uni-popup ref="popup" type="center" border-radius="10px 10px 0 0">
<view
class="popup-content"
style="
background-image: url(../../static/queryMyCanUsePkbg.png);
background-position: center;
"
>
<view class="popup-title">
<view class="popup-text">请选择您要参与的主播</view>
<scroll-view scroll-y="true" class="scroll">
<!-- <uni-card v-for="(item, index) in list"> -->
<view class="card" v-for="(item, index) in list">
<view
class="card-content"
@@ -286,6 +282,8 @@ export default {
flex-direction: column;
justify-content: center;
align-items: center;
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);
background-position: center;
}
.popup-title {
font-size: 30rpx;
@@ -336,7 +334,8 @@ export default {
margin-left: 10rpx;
}
.card-content {
width: 445rpx;
/* width: 445rpx; */
width: 90%;
height: 100rpx;
background-color: #ffffff;
/* border: 2px solid #afafaf; */
@@ -382,14 +381,14 @@ export default {
margin-top: 13rpx;
}
.pkTimeimg {
background-image: url(../../static/time.png);
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png);
background-size: 100% 100%;
width: 31.49rpx;
height: 31.49rpx;
margin-right: 20rpx;
}
.goldimg {
background-image: url(../../static/species.png);
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png);
background-size: 100% 100%;
width: 31.49rpx;
height: 35rpx;
@@ -517,7 +516,7 @@ export default {
margin-top: 48.7rpx;
}
.goldCoin {
background-image: url("../../static/Backgroundofgoldcoins.png");
background-image: url("https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Backgroundofgoldcoins.png");
width: 334.83rpx;
height: 124.05rpx;
margin-right: 21rpx;
@@ -525,7 +524,7 @@ export default {
align-items: center;
}
.Session {
background-image: url("../../static/Fieldnumberbackground.png");
background-image: url("https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fieldnumberbackground.png");
width: 334.83rpx;
height: 124.05rpx;
display: flex;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 553 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 849 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 844 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 532 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 627 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

View File

@@ -1,22 +0,0 @@
<template>
</template>
<script>
export default {
data() {
return {
title: 'Hello'
}
},
onLoad() {
// 页面加载时执行
},
methods: {
// 方法定义
}
}
</script>
<style scoped>
/* 样式定义 */
</style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -1 +1 @@
"use strict";const e=require("./common/vendor.js"),n=require("./components/NationalDictionary.js"),i=require("./components/request.js"),t=require("./common/assets.js"),s={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:"http://47.79.98.113:6600/"+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 s=Math.floor(Date.now()/1e3);if(this.sendingTime<s)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(s,[["render",function(n,i,s,o,r,a){return e.e({a:r.Display},r.Display?e.e({b:e.o$1((e=>a.open())),c:t._imports_0$2,d:e.o$1(((...e)=>n.NameAnchor&&n.NameAnchor(...e))),e:e.o$1(((...e)=>a.blur&&a.blur(...e))),f:""===r.nameAnchor&&!0===r.Hint},(""===r.nameAnchor&&r.Hint,{}),{g:e.o$1(a.country),h:e.p({backgroundColor:"#ffffff",placeholderColor:"#666666",textColor:"#666666",borderColor:"#ffffff",options:r.Country,filterable:r.filterable,placeholder:"请选择国家"}),i:""===r.countrys&&!0===r.Hint},(""===r.countrys&&r.Hint,{}),{j:e.o$1(a.gender),k:e.p({backgroundColor:"#ffffff",placeholderColor:"#666666",textColor:"#666666",borderColor:"#ffffff",options:r.Gender,placeholder:"性别"}),l:0===r.genders},0===r.genders?{m:t._imports_1$2}:{},{n:1===r.genders},1===r.genders?{o:t._imports_2$3}:{},{p:2===r.genders},2===r.genders?{q:t._imports_3$2}:{},{r:0===r.genders&&!0===r.Hint},(0===r.genders&&r.Hint,{}),{s:e.o$1((e=>r.numberCoins=e)),t:e.p({background:"#03ABA8",modelValue:r.numberCoins}),v:""===r.numberCoins&&!0===r.Hint},(""===r.numberCoins&&r.Hint,{}),{w:e.o$1((e=>r.datetimesingle=e)),x:e.p({type:"datetime","hide-second":"true",modelValue:r.datetimesingle}),y:""===r.datetimesingle&&!0===r.Hint},(""===r.datetimesingle&&r.Hint,{}),{z:e.o$1((e=>r.session=e)),A:e.p({background:"#03ABA8",modelValue:r.session}),B:""===r.session&&!0===r.Hint},(""===r.session&&r.Hint,{}),{C:e.o$1((e=>r.remarks=e)),D:e.p({type:"textarea",placeholder:"备注",modelValue:r.remarks}),E:e.o$1((e=>a.Publish())),F:e.o$1((()=>{})),G:e.n(r.Display?"create-module":"close-animation "),H:e.o$1((e=>a.open()))}):{})}],["__scopeId","data-v-9a5e06a4"]]);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://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;

View File

@@ -1 +1 @@
<view class="Navigation data-v-6b98d510"><image src="{{a}}" mode="scaleToFill" class="Navigationimg data-v-6b98d510"/><image bindtap="{{b}}" src="{{c}}" mode="scaleToFill" class="Return data-v-6b98d510"/></view><view class="dingweizhibox data-v-6b98d510"></view><view class="chat data-v-6b98d510"><view class="{{['data-v-6b98d510', 'tui-chat', R]}}"><view wx:if="{{d}}" class="{{['data-v-6b98d510', 'tui-chat-default', e]}}"><slot/></view><view wx:if="{{f}}" class="{{['data-v-6b98d510', 'tui-chat', N]}}"><chat-header wx:if="{{k}}" class="{{['data-v-6b98d510', 'tui-chat-header', g, h]}}" bindcloseChat="{{i}}" bindopenGroupManagement="{{j}}" u-i="6b98d510-0" bind:__l="__l" u-p="{{k}}"/><forward class="data-v-6b98d510" bindtoggleMultipleSelectMode="{{l}}" u-i="6b98d510-1" bind:__l="__l"/><message-list wx:if="{{r}}" u-r="messageListRef" class="{{['r', 'data-v-6b98d510', 'tui-chat-message-list', n]}}" bindhandleEditor="{{o}}" bindcloseInputToolBar="{{p}}" bindtoggleMultipleSelectMode="{{q}}" u-i="6b98d510-2" bind:__l="__l" u-p="{{r}}"/><view wx:if="{{s}}" class="{{['data-v-6b98d510', 'tui-chat-leave-group', v && 'tui-chat-leave-group-mobile']}}">{{t}}</view><multiple-select-panel wx:elif="{{w}}" class="data-v-6b98d510" bindoneByOneForwardMessage="{{x}}" bindmergeForwardMessage="{{y}}" bindtoggleMultipleSelectMode="{{z}}" u-i="6b98d510-3" bind:__l="__l"/><block wx:else><message-input-toolbar wx:if="{{A}}" class="{{['data-v-6b98d510', 'tui-chat-message-input-toolbar', B, C]}}" bindinsertEmoji="{{D}}" bindchangeToolbarDisplayType="{{E}}" bindscrollToLatestMessage="{{F}}" u-i="6b98d510-4" bind:__l="__l" u-p="{{G}}"/><message-input wx:if="{{M}}" u-r="messageInputRef" class="{{['r', 'data-v-6b98d510', 'tui-chat-message-input', I, J, K]}}" bindchangeToolbarDisplayType="{{L}}" u-i="6b98d510-5" bind:__l="__l" u-p="{{M}}"/></block></view><view wx:if="{{O}}" class="group-profile data-v-6b98d510" bindtap="{{Q}}">{{P}}</view></view></view>
<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>

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
"use strict";const e=require("../../../../common/vendor.js");require("../../../adapter-vue.js");const n=require("./server.js");Math||t();const t=()=>"../../common/Icon.js",o=e.defineComponent({__name:"index",setup(t,{expose:o}){const c=e.ref([]),r=e.ref(),a=e.computed((()=>n.ConversationHeaderServer.getInstance().getMenu()));e.onMounted((()=>{c.value=[]}));const d=e=>{const{data:{children:n},listener:t={onClicked:()=>{}}}=e;n?c.value=c.value.length>0?[]:n:(t.onClicked(e),i())},i=()=>{c.value=[]};return o({closeChildren:i}),(n,t)=>e.e({a:e.unref(a).length>0},e.unref(a).length>0?{b:e.f(e.unref(a),((n,t,o)=>e.e({a:n.icon&&!n.data.children},n.icon&&!n.data.children?{b:"4401d0ac-0-"+o,c:e.p({file:n.icon})}:{},{d:e.t(n.text),e:e.o$1((e=>d(n)),t),f:t})))}:{},{c:e.unref(c).length>0},e.unref(c).length>0?{d:e.f(e.unref(c),((n,t,o)=>e.e({a:n.icon},n.icon?{b:"4401d0ac-1-"+o,c:e.p({file:n.icon})}:{},{d:e.t(n.text),e:e.o$1((e=>d(n)),t),f:t})))}:{},{e:e.unref(r)})}}),c=e._export_sfc(o,[["__scopeId","data-v-4401d0ac"]]);wx.createComponent(c);
"use strict";const e=require("../../../../common/vendor.js");require("../../../adapter-vue.js");const r=require("./server.js"),n=e.defineComponent({__name:"index",setup(n,{expose:o}){const t=e.ref([]);e.ref(),e.computed((()=>r.ConversationHeaderServer.getInstance().getMenu())),e.onMounted((()=>{t.value=[]}));return o({closeChildren:()=>{t.value=[]}}),(e,r)=>({})}}),o=e._export_sfc(n,[["__scopeId","data-v-07ead678"]]);wx.createComponent(o);

View File

@@ -1,6 +1,4 @@
{
"component": true,
"usingComponents": {
"icon": "../../common/Icon"
}
"usingComponents": {}
}

View File

@@ -1 +0,0 @@
<view ref="{{e}}" class="tui-conversation-header data-v-4401d0ac"><view wx:if="{{a}}" class="list data-v-4401d0ac"><view wx:for="{{b}}" wx:for-item="item" wx:key="f" class="list-item data-v-4401d0ac"><view class="tui-conversation-header-item data-v-4401d0ac" catchtap="{{item.e}}"><icon wx:if="{{item.a}}" class="tui-conversation-header-item-icon data-v-4401d0ac" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"/><view wx:else class="plus data-v-4401d0ac"/><view class="tui-conversation-header-item-title data-v-4401d0ac">{{item.d}}</view></view></view></view><view wx:if="{{c}}" class="tui-conversation-header-children list data-v-4401d0ac"><view wx:for="{{d}}" wx:for-item="childrenItem" wx:key="f" class="list-item data-v-4401d0ac"><view class="tui-conversation-header-item data-v-4401d0ac" bindtap="{{childrenItem.e}}"><icon wx:if="{{childrenItem.a}}" class="tui-conversation-header-item-icon data-v-4401d0ac" u-i="{{childrenItem.b}}" bind:__l="__l" u-p="{{childrenItem.c}}"/><view class="tui-conversation-header-item-title data-v-4401d0ac">{{childrenItem.d}}</view></view></view></view></view>

View File

@@ -1 +1 @@
body.data-v-4401d0ac,div.data-v-4401d0ac,ul.data-v-4401d0ac,ol.data-v-4401d0ac,dt.data-v-4401d0ac,dd.data-v-4401d0ac,li.data-v-4401d0ac,dl.data-v-4401d0ac,h1.data-v-4401d0ac,h2.data-v-4401d0ac,h3.data-v-4401d0ac,h4.data-v-4401d0ac,p.data-v-4401d0ac{margin:0;padding:0;font-style:normal}ol.data-v-4401d0ac,ul.data-v-4401d0ac,li.data-v-4401d0ac{list-style:none}img.data-v-4401d0ac{border:0;vertical-align:middle;pointer-events:none}body.data-v-4401d0ac{color:#000;background:#fff}.clear.data-v-4401d0ac{clear:both;height:1px;width:100%;overflow:hidden;margin-top:-1px}a.data-v-4401d0ac{color:#000;text-decoration:none;cursor:pointer}a.data-v-4401d0ac:hover{text-decoration:none}input.data-v-4401d0ac,textarea.data-v-4401d0ac{-webkit-user-select:auto;user-select:auto}input.data-v-4401d0ac:focus,input.data-v-4401d0ac:active,textarea.data-v-4401d0ac:focus,textarea.data-v-4401d0ac:active{outline:none}.chat-aside.data-v-4401d0ac{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-4401d0ac{width:100%;height:100%;flex:1;overflow:hidden;display:flex;flex-direction:column}.tui-conversation-list.data-v-4401d0ac{overflow:auto}.tui-conversation-header.data-v-4401d0ac{width:100%;position:relative}.tui-conversation-header .list.data-v-4401d0ac{display:flex;align-items:center;border-bottom:1px solid #F4F5F9;padding:7px 0}.tui-conversation-header .list-item.data-v-4401d0ac{flex:1;display:flex;position:relative;padding:7px;cursor:pointer;-webkit-user-select:none;user-select:none}.tui-conversation-header-item.data-v-4401d0ac{flex:1;display:flex;align-items:center}.tui-conversation-header-item-title.data-v-4401d0ac{padding:0 8px;font-size:16px;font-weight:400}.tui-conversation-header-children.data-v-4401d0ac{position:absolute;top:100%;z-index:3;padding:7px 9px;border-bottom:none;box-shadow:0 3px 7px rgba(0,0,0,.2);flex-direction:column}.network.data-v-4401d0ac{padding:0 12px;display:flex;align-items:center}.network .icon-error.data-v-4401d0ac{display:flex;justify-content:center;align-items:center;width:15px;height:15px;border-radius:15px;color:#fff;font-style:normal}.network-content.data-v-4401d0ac{padding:5px;font-size:12px;line-height:22px}.plus.data-v-4401d0ac{display:inline-block;width:30px;height:30px;position:relative}.plus.data-v-4401d0ac:before,.plus.data-v-4401d0ac:after{content:"";position:absolute;background-color:#232832;border-radius:.5px;width:1px;height:14px;left:0;right:0;top:0;bottom:0;margin:auto}.plus.data-v-4401d0ac:after{transform:rotate(90deg);width:.5px}.network-content.data-v-4401d0ac{font-family:PingFangSC-Regular;font-weight:400;color:#e54545;letter-spacing:0}
body.data-v-07ead678,div.data-v-07ead678,ul.data-v-07ead678,ol.data-v-07ead678,dt.data-v-07ead678,dd.data-v-07ead678,li.data-v-07ead678,dl.data-v-07ead678,h1.data-v-07ead678,h2.data-v-07ead678,h3.data-v-07ead678,h4.data-v-07ead678,p.data-v-07ead678{margin:0;padding:0;font-style:normal}ol.data-v-07ead678,ul.data-v-07ead678,li.data-v-07ead678{list-style:none}img.data-v-07ead678{border:0;vertical-align:middle;pointer-events:none}body.data-v-07ead678{color:#000;background:#fff}.clear.data-v-07ead678{clear:both;height:1px;width:100%;overflow:hidden;margin-top:-1px}a.data-v-07ead678{color:#000;text-decoration:none;cursor:pointer}a.data-v-07ead678:hover{text-decoration:none}input.data-v-07ead678,textarea.data-v-07ead678{-webkit-user-select:auto;user-select:auto}input.data-v-07ead678:focus,input.data-v-07ead678:active,textarea.data-v-07ead678:focus,textarea.data-v-07ead678:active{outline:none}.chat-aside.data-v-07ead678{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-07ead678{width:100%;height:100%;flex:1;overflow:hidden;display:flex;flex-direction:column}.tui-conversation-list.data-v-07ead678{overflow:auto}.tui-conversation-header.data-v-07ead678{width:100%;position:relative}.tui-conversation-header .list.data-v-07ead678{display:flex;align-items:center;border-bottom:1px solid #F4F5F9;padding:7px 0}.tui-conversation-header .list-item.data-v-07ead678{flex:1;display:flex;position:relative;padding:7px;cursor:pointer;-webkit-user-select:none;user-select:none}.tui-conversation-header-item.data-v-07ead678{flex:1;display:flex;align-items:center}.tui-conversation-header-item-title.data-v-07ead678{padding:0 8px;font-size:16px;font-weight:400}.tui-conversation-header-children.data-v-07ead678{position:absolute;top:100%;z-index:3;padding:7px 9px;border-bottom:none;box-shadow:0 3px 7px rgba(0,0,0,.2);flex-direction:column}.network.data-v-07ead678{padding:0 12px;display:flex;align-items:center}.network .icon-error.data-v-07ead678{display:flex;justify-content:center;align-items:center;width:15px;height:15px;border-radius:15px;color:#fff;font-style:normal}.network-content.data-v-07ead678{padding:5px;font-size:12px;line-height:22px}.plus.data-v-07ead678{display:inline-block;width:30px;height:30px;position:relative}.plus.data-v-07ead678:before,.plus.data-v-07ead678:after{content:"";position:absolute;background-color:#232832;border-radius:.5px;width:1px;height:14px;left:0;right:0;top:0;bottom:0;margin:auto}.plus.data-v-07ead678:after{transform:rotate(90deg);width:.5px}.network-content.data-v-07ead678{font-family:PingFangSC-Regular;font-weight:400;color:#e54545;letter-spacing:0}

View File

@@ -1 +1 @@
<view class="Navigation-left data-v-96c6504c"></view><view class="Navigation data-v-96c6504c"><image src="{{a}}" mode="scaleToFill" class="Navigationimg data-v-96c6504c"/><view class="Return data-v-96c6504c">消息</view></view><view class="tui-conversation data-v-96c6504c" bindtap="{{h}}" bindtouchstart="{{i}}" bindtouchend="{{j}}"><t-u-i-search wx:if="{{b}}" class="data-v-96c6504c" u-i="96c6504c-0" bind:__l="__l" u-p="{{b}}"/><conversation-header wx:if="{{c}}" class="r data-v-96c6504c" u-r="headerRef" u-i="96c6504c-1" bind:__l="__l"/><conversation-network class="data-v-96c6504c" u-i="96c6504c-2" bind:__l="__l"/><conversation-list u-r="conversationListDomRef" class="tui-conversation-list r data-v-96c6504c" bindhandleSwitchConversation="{{f}}" bindgetPassingRef="{{g}}" u-i="96c6504c-3" bind:__l="__l"/></view><view class="data-v-96c6504c"><tab-bar class="data-v-96c6504c" u-i="96c6504c-4" bind:__l="__l"></tab-bar></view>
<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>

File diff suppressed because one or more lines are too long

View File

@@ -3,7 +3,6 @@
"usingComponents": {
"search-input": "./search-input/index",
"search-container": "./search-container/index",
"search-result": "./search-result/index",
"search-more": "./search-more/index"
"search-result": "./search-result/index"
}
}

View File

@@ -1 +1 @@
<view wx:if="{{a}}" class="{{['data-v-18dff187', 'tui-search', q, r, s]}}"><view wx:if="{{b}}" ref="globalSearchRef" class="{{['data-v-18dff187', 'tui-search-global', j]}}"><view class="{{['data-v-18dff187', 'tui-search-global-header', f]}}"><search-input wx:if="{{c}}" class="search-input data-v-18dff187" u-i="18dff187-0" bind:__l="__l" u-p="{{c}}"/><search-more wx:if="{{d}}" class="search-more data-v-18dff187" u-i="18dff187-1" bind:__l="__l" u-p="{{e}}"/></view><search-container wx:if="{{g}}" u-s="{{['result']}}" class="search-container data-v-18dff187" u-i="18dff187-2" bind:__l="__l" u-p="{{i}}"><search-result class="search-result data-v-18dff187" u-i="18dff187-3,18dff187-2" bind:__l="__l" u-p="{{h}}" slot="result"/></search-container></view><view wx:elif="{{k}}" class="{{['data-v-18dff187', 'tui-search-conversation', p]}}"><search-container wx:if="{{o}}" u-s="{{['input','result']}}" class="search-container data-v-18dff187" bindcloseInConversationSearch="{{n}}" u-i="18dff187-4" bind:__l="__l" u-p="{{o}}"><search-input class="data-v-18dff187" u-i="18dff187-5,18dff187-4" bind:__l="__l" u-p="{{l}}" slot="input"/><search-result class="search-result data-v-18dff187" u-i="18dff187-6,18dff187-4" bind:__l="__l" u-p="{{m}}" slot="result"/></search-container></view></view>
<view wx:if="{{a}}" class="{{['data-v-1f488a62', 'tui-search', o, p, q]}}"><view wx:if="{{b}}" ref="globalSearchRef" class="{{['data-v-1f488a62', 'tui-search-global', h]}}"><view class="{{['data-v-1f488a62', 'tui-search-global-header', d]}}"><search-input wx:if="{{c}}" class="search-input data-v-1f488a62" u-i="1f488a62-0" bind:__l="__l" u-p="{{c}}"/></view><search-container wx:if="{{e}}" u-s="{{['result']}}" class="search-container data-v-1f488a62" u-i="1f488a62-1" bind:__l="__l" u-p="{{g}}"><search-result class="search-result data-v-1f488a62" u-i="1f488a62-2,1f488a62-1" bind:__l="__l" u-p="{{f}}" slot="result"/></search-container></view><view wx:elif="{{i}}" class="{{['data-v-1f488a62', 'tui-search-conversation', n]}}"><search-container wx:if="{{m}}" u-s="{{['input','result']}}" class="search-container data-v-1f488a62" bindcloseInConversationSearch="{{l}}" u-i="1f488a62-3" bind:__l="__l" u-p="{{m}}"><search-input class="data-v-1f488a62" u-i="1f488a62-4,1f488a62-3" bind:__l="__l" u-p="{{j}}" slot="input"/><search-result class="search-result data-v-1f488a62" u-i="1f488a62-5,1f488a62-3" bind:__l="__l" u-p="{{k}}" slot="result"/></search-container></view></view>

View File

@@ -1 +1 @@
body.data-v-18dff187,div.data-v-18dff187,ul.data-v-18dff187,ol.data-v-18dff187,dt.data-v-18dff187,dd.data-v-18dff187,li.data-v-18dff187,dl.data-v-18dff187,h1.data-v-18dff187,h2.data-v-18dff187,h3.data-v-18dff187,h4.data-v-18dff187,p.data-v-18dff187{margin:0;padding:0;font-style:normal}ol.data-v-18dff187,ul.data-v-18dff187,li.data-v-18dff187{list-style:none}img.data-v-18dff187{border:0;vertical-align:middle;pointer-events:none}body.data-v-18dff187{color:#000;background:#fff}.clear.data-v-18dff187{clear:both;height:1px;width:100%;overflow:hidden;margin-top:-1px}a.data-v-18dff187{color:#000;text-decoration:none;cursor:pointer}a.data-v-18dff187:hover{text-decoration:none}input.data-v-18dff187,textarea.data-v-18dff187{-webkit-user-select:auto;user-select:auto}input.data-v-18dff187:focus,input.data-v-18dff187:active,textarea.data-v-18dff187:focus,textarea.data-v-18dff187:active{outline:none}.chat-aside.data-v-18dff187{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-18dff187{width:100%;height:-webkit-fit-content;height:fit-content}.tui-search-main-conversation.data-v-18dff187{width:100%;height:100%;background:#fff;box-shadow:0 1px 10px rgba(2,16,43,.15)}.tui-search .tui-search-global-header.data-v-18dff187{display:flex;flex-direction:row;justify-content:center;align-items:center}.tui-search .tui-search-conversation.data-v-18dff187{width:100%;height:100%;overflow:hidden}.tui-search-h5-full-screen.data-v-18dff187{position:absolute;width:100%;height:100%;overflow:hidden;display:flex;flex-direction:column;z-index:1000;background:#fff}.tui-search-h5-global.data-v-18dff187,.tui-search-h5-conversation.data-v-18dff187{width:100%;height:100%;display:flex;flex:1;flex-direction:column}.tui-search-h5-conversation.data-v-18dff187{overflow:hidden}.tui-search-h5.tui-search-main-conversation.data-v-18dff187{box-shadow:none}.tui-search-h5 .search-input.data-v-18dff187,.tui-search-h5 .search-container.data-v-18dff187,.tui-search-h5 .search-result.data-v-18dff187{min-width:0;box-sizing:border-box;display:flex;flex:1;overflow:hidden}
body.data-v-1f488a62,div.data-v-1f488a62,ul.data-v-1f488a62,ol.data-v-1f488a62,dt.data-v-1f488a62,dd.data-v-1f488a62,li.data-v-1f488a62,dl.data-v-1f488a62,h1.data-v-1f488a62,h2.data-v-1f488a62,h3.data-v-1f488a62,h4.data-v-1f488a62,p.data-v-1f488a62{margin:0;padding:0;font-style:normal}ol.data-v-1f488a62,ul.data-v-1f488a62,li.data-v-1f488a62{list-style:none}img.data-v-1f488a62{border:0;vertical-align:middle;pointer-events:none}body.data-v-1f488a62{color:#000;background:#fff}.clear.data-v-1f488a62{clear:both;height:1px;width:100%;overflow:hidden;margin-top:-1px}a.data-v-1f488a62{color:#000;text-decoration:none;cursor:pointer}a.data-v-1f488a62:hover{text-decoration:none}input.data-v-1f488a62,textarea.data-v-1f488a62{-webkit-user-select:auto;user-select:auto}input.data-v-1f488a62:focus,input.data-v-1f488a62:active,textarea.data-v-1f488a62:focus,textarea.data-v-1f488a62:active{outline:none}.chat-aside.data-v-1f488a62{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-1f488a62{width:100%;height:-webkit-fit-content;height:fit-content}.tui-search-main-conversation.data-v-1f488a62{width:100%;height:100%;background:#fff;box-shadow:0 1px 10px rgba(2,16,43,.15)}.tui-search .tui-search-global-header.data-v-1f488a62{display:flex;flex-direction:row;justify-content:center;align-items:center}.tui-search .tui-search-conversation.data-v-1f488a62{width:100%;height:100%;overflow:hidden}.tui-search-h5-full-screen.data-v-1f488a62{position:absolute;width:100%;height:100%;overflow:hidden;display:flex;flex-direction:column;z-index:1000;background:#fff}.tui-search-h5-global.data-v-1f488a62,.tui-search-h5-conversation.data-v-1f488a62{width:100%;height:100%;display:flex;flex:1;flex-direction:column}.tui-search-h5-conversation.data-v-1f488a62{overflow:hidden}.tui-search-h5.tui-search-main-conversation.data-v-1f488a62{box-shadow:none}.tui-search-h5 .search-input.data-v-1f488a62,.tui-search-h5 .search-container.data-v-1f488a62,.tui-search-h5 .search-result.data-v-1f488a62{min-width:0;box-sizing:border-box;display:flex;flex:1;overflow:hidden}

View File

@@ -1 +0,0 @@
"use strict";const e=require("../../../../common/vendor.js");require("../../../adapter-vue.js");const n=require("../../../../common/assets.js"),r=require("../../../utils/env.js");Math||a();const a=()=>"../../common/Icon.js",o=e.defineComponent({__name:"index",props:{searchType:{type:String,default:"global",validator:e=>["global","conversation"].includes(e)}},setup(a){const o=a,t=e.ref(),s=e.ref(!1),i=()=>{s.value=!s.value,!r.isUniFrameWork&&s.value&&e.O.listen({domRefs:t.value,handler:u})},c=e.ref([]),u=()=>{s.value=!1};return e.onMounted((()=>{c.value=[...e.R.getExtensionList(e.E.TUISearch.EXTENSION.SEARCH_MORE.EXT_ID)],e.R.callService({serviceName:e.E.TUIConversation.SERVICE.NAME,method:e.E.TUIConversation.SERVICE.METHOD.HIDE_CONVERSATION_HEADER,params:{}})})),e.watch((()=>s.value),(()=>{s.value&&e.Jt.update(e.o.SEARCH,"currentSearchingStatus",{isSearching:!1,searchType:o.searchType})})),(a,o)=>e.e({a:e.p({file:e.unref(n.searchMoreSVG),width:e.unref(r.isPC)?"28px":"34px",height:e.unref(r.isPC)?"28px":"34px"}),b:e.o$1((e=>i())),c:e.unref(s)},e.unref(s)?{d:e.f(e.unref(c),((n,r,a)=>e.e({a:n.icon},n.icon?{b:"2dda292a-1-"+a,c:e.p({file:n.icon})}:{},{d:e.t(n.text),e:r,f:e.o$1((e=>(e=>{var n;const{listener:r={onClicked:()=>{}}}=e;null==(n=null==r?void 0:r.onClicked)||n.call(r,e),i()})(n)),r)})))}:{},{e:e.n(!e.unref(r.isPC)&&"tui-search-more-h5")})}}),t=e._export_sfc(o,[["__scopeId","data-v-2dda292a"]]);wx.createComponent(t);

View File

@@ -1,6 +0,0 @@
{
"component": true,
"usingComponents": {
"icon": "../../common/Icon"
}
}

View File

@@ -1 +0,0 @@
<view ref="searchMoreRef" class="{{['data-v-2dda292a', 'tui-search-more', e]}}"><view class="more data-v-2dda292a" bindtap="{{b}}"><icon wx:if="{{a}}" class="more-icon data-v-2dda292a" u-i="2dda292a-0" bind:__l="__l" u-p="{{a}}"/></view><view wx:if="{{c}}" class="tui-search-more-list data-v-2dda292a"><view wx:for="{{d}}" wx:for-item="extension" wx:key="e" class="list-item data-v-2dda292a" bindtap="{{extension.f}}"><icon wx:if="{{extension.a}}" class="list-item-icon data-v-2dda292a" u-i="{{extension.b}}" bind:__l="__l" u-p="{{extension.c}}"/><view class="list-item-title data-v-2dda292a">{{extension.d}}</view></view></view></view>

View File

@@ -1 +0,0 @@
.tui-search-more.data-v-2dda292a{display:flex;flex-direction:column;position:relative}.tui-search-more .more.data-v-2dda292a{width:28px;height:28px;margin-right:6px}.tui-search-more-list.data-v-2dda292a{margin:10px 0;position:absolute;list-style:none;cursor:pointer;right:6px;top:20px;z-index:1000;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:0;box-shadow:rgba(0,0,0,.16) 0 3px 6px,rgba(0,0,0,.23) 0 3px 6px}.tui-search-more-list .list-item.data-v-2dda292a{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:40px;padding:0 10px}.tui-search-more-list .list-item-icon.data-v-2dda292a{margin-right:2px}.tui-search-more-list .list-item-title.data-v-2dda292a{font-size:14px;text-wrap:nowrap;word-break:keep-all}.tui-search-more-h5 .more.data-v-2dda292a{width:34px;height:34px}

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./common/vendor.js");Math;const t={data:()=>({info:{},userSig:"",chatInfo:{}}),onLoad(t){AutomaticCleaning(),e.index.getStorage({key:"userinfo",success:e=>{this.info=e.data,counter.$patch({myitem:this.info})},fail:()=>{}})},methods:{AutomaticCleaning(){const t=e.index.getStorageSync("last_clean_time")||0,a=Date.now();a-t<6048e5||(e.index.clearStorage(),e.index.setStorageSync("last_clean_time",a))}},provide:()=>({$global:{lastPage:null}})};function a(){const a=e.createSSRApp(t);return a.use(e.createPinia()),{app:a,Pinia:e.Pinia}}a().app.mount("#app"),exports.createApp=a;
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./common/vendor.js");Math;const t={data:()=>({info:{},userSig:"",chatInfo:{}}),onLoad(t){this.AutomaticCleaning(),e.index.getStorage({key:"userinfo",success:e=>{this.info=e.data,counter.$patch({myitem:this.info})},fail:()=>{}})},methods:{AutomaticCleaning(){const t=e.index.getStorageSync("last_clean_time")||0,a=Date.now();a-t<6048e5||(e.index.clearStorage(),e.index.setStorageSync("last_clean_time",a))}},provide:()=>({$global:{lastPage:null}})};function a(){const a=e.createSSRApp(t);return a.use(e.createPinia()),{app:a,Pinia:e.Pinia}}a().app.mount("#app"),exports.createApp=a;

View File

@@ -30,12 +30,6 @@
"components/TUISearch/index",
"components/TUIConversation/conversation-list/index"
]
},
{
"root": "static",
"pages": [
"index"
]
}
],
"window": {
@@ -64,10 +58,9 @@
]
},
"preloadRule": {
"pages/Home/Home": {
"pages/index/index": {
"network": "all",
"packages": [
"static",
"TUIKit"
]
}

View File

@@ -1,7 +0,0 @@
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.5 4.5C0.5 2.29086 2.29086 0.5 4.5 0.5L20.5 0.5C22.7091 0.5 24.5 2.29086 24.5 4.5V20.5C24.5 22.7091 22.7091 24.5 20.5 24.5H4.5C2.29086 24.5 0.5 22.7091 0.5 20.5V4.5Z" fill="#F4F5F9" style="fill:#F4F5F9;fill:color(display-p3 0.9569 0.9608 0.9765);fill-opacity:1;"/>
<g opacity="0.80492">
<rect x="5.75" y="12.25" width="13.5" height="0.5" rx="0.25" stroke="#232832" style="stroke:#232832;stroke:color(display-p3 0.1360 0.1574 0.1949);stroke-opacity:1;" stroke-width="0.5"/>
<rect x="12.25" y="19.25" width="13.5" height="0.5" rx="0.25" transform="rotate(-90 12.25 19.25)" stroke="#232832" style="stroke:#232832;stroke:color(display-p3 0.1360 0.1574 0.1949);stroke-opacity:1;" stroke-width="0.5"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 855 B

View File

@@ -1 +1 @@
"use strict";exports.AddIcon="/assets/add-circle.376cda7c.svg",exports.C2C="/assets/icon-c2c.6e2af86f.svg",exports.ForwardEachIcon="/assets/forward-each.d0857f96.svg",exports.ForwardMergeIcon="/assets/forward-merge.73273fff.svg",exports.SearchDefaultIcon="/assets/search-default.4e6b7fca.svg",exports._imports_0="/static/Navigationimg.png",exports._imports_0$1="/static/HomeBackground.png",exports._imports_0$2="/static/Fork.png",exports._imports_1="/static/Return.png",exports._imports_1$1="/static/Settings.png",exports._imports_1$2="/static/ask.png",exports._imports_2="/static/male.png",exports._imports_2$1="/static/More.png",exports._imports_2$2="/static/Crown.png",exports._imports_2$3="/static/man.png",exports._imports_3="/static/female.png",exports._imports_3$1="/static/service.png",exports._imports_3$2="/static/girl.png",exports._imports_4="/static/Agreement.png",exports._imports_4$1="/static/species.png",exports._imports_4$2="/static/gold.png",exports._imports_5="/static/logout.png",exports._imports_5$1="/static/recompose.png",exports._imports_5$2="/static/session.png",exports._imports_6="/static/expurgate.png",exports.addSVG="/assets/add.6f2b9261.svg",exports.audioIcon="/assets/msg-audio.ac2cd1c9.svg",exports.audioIcon$1="/assets/audio.21bb2ba6.svg",exports.backIcon="/assets/back.b82bef7a.svg",exports.callVideoSVG="/assets/call-video.21b022ad.svg",exports.callVoiceSVG="/assets/call-voice.1ef6b7f7.svg",exports.cameraUniIcon="/assets/camera-uni.e7fd6e1a.png",exports.cancelIcon="/assets/cancel.051cb10c.svg",exports.checkIcon="/assets/check-sm.c3984331.svg",exports.closeIcon="/assets/input-close.0b5e85b2.svg",exports.closeIcon$1="/assets/close-dark.c1b1ccca.svg",exports.closeIcon$2="/assets/icon-close.90eb4be2.svg",exports.convertText="/assets/convertText_zh.51e06e84.svg",exports.copyIcon="/assets/msg-copy.8d896bef.svg",exports.createGroup="/assets/start-group.5f1c641f.svg",exports.dLeftArrowIcon="/assets/d-left-arrow.9b5f8cc0.svg",exports.dRightArrowIcon="/assets/d-right-arrow.7ab4b4ba.svg",exports.delIcon="/assets/msg-del.05341954.svg",exports.delIcon$1="/assets/del-icon.c693da44.svg",exports.doubleArrowIcon="/assets/double-arrow.c51bb7cf.svg",exports.downSVG="/assets/down-icon.50c12418.svg",exports.editIcon="/assets/edit.5adfff7a.svg",exports.faceIcon="/assets/face-uni.e33f5632.png",exports.faceIconDark="/assets/face-dark.21e333dd.svg",exports.faceIconLight="/assets/face-light.61678cbe.svg",exports.files="/assets/file-light.565ad764.svg",exports.forwardIcon="/assets/msg-forward.1907b7f9.svg",exports.iconRight="/assets/iconRight.ab6f6855.svg",exports.imRobotGuess="/assets/imRobotGuess.06ae9855.svg",exports.imageIconDark="/assets/image-dark.44be7480.svg",exports.imageIconLight="/assets/image-light.ef346b4b.svg",exports.imageUniIcon="/assets/image-uni.3e951cbb.png",exports.leftArrowIcon="/assets/left-arrow.be72449a.svg",exports.loadingIcon="/assets/loading.2a143778.png",exports.minusSVG="/assets/minus.887a634f.svg",exports.moreIcon="/assets/more-uni.030c2d9a.png",exports.multipleSelectIcon="/assets/multiple-select.d38619b0.svg",exports.muteIcon="/assets/mute.81a6d6d5.svg",exports.playIcon="/assets/video-play.58b451c9.png",exports.plusSVG="/assets/plus.f3b9aa49.svg",exports.quoteIcon="/assets/msg-quote.550cd8cb.svg",exports.radioIcon="/assets/radio.168a4b70.svg",exports.refresh="/assets/refresh.cddffc91.svg",exports.revokeIcon="/assets/msg-revoke.39595cc0.svg",exports.rightArrowIcon="/assets/right-arrow.0c0041ad.svg",exports.rightIcon="/assets/right-icon.b206bd3e.svg",exports.searchIcon="/assets/search.980f6827.svg",exports.searchMoreSVG="/assets/search-more.751b65f1.svg",exports.selectedIcon="/assets/selected.1c6e50da.svg",exports.settingSVG="/assets/setting.161bfa16.svg",exports.star="/assets/star-light.d9a7aedf.png",exports.star$1="/assets/star.0d13712b.png",exports.starLine="/assets/starLine.f4211758.png",exports.translateIcon="/assets/translate.8c9408be.svg",exports.videoIconDark="/assets/video-dark.0bbf3476.svg",exports.videoIconLight="/assets/video-light.c7253748.svg",exports.videoUniIcon="/assets/video-uni.0b4d3e53.png",exports.wordsIconDark="/assets/words-dark.cda35c0a.svg",exports.wordsIconLight="/assets/words-light.97e1bc17.svg";
"use strict";exports.AddIcon="/assets/add-circle.376cda7c.svg",exports.C2C="/assets/icon-c2c.6e2af86f.svg",exports.ForwardEachIcon="/assets/forward-each.d0857f96.svg",exports.ForwardMergeIcon="/assets/forward-merge.73273fff.svg",exports.SearchDefaultIcon="/assets/search-default.4e6b7fca.svg",exports.addSVG="/assets/add.6f2b9261.svg",exports.audioIcon="/assets/msg-audio.ac2cd1c9.svg",exports.audioIcon$1="/assets/audio.21bb2ba6.svg",exports.backIcon="/assets/back.b82bef7a.svg",exports.callVideoSVG="/assets/call-video.21b022ad.svg",exports.callVoiceSVG="/assets/call-voice.1ef6b7f7.svg",exports.cameraUniIcon="/assets/camera-uni.e7fd6e1a.png",exports.cancelIcon="/assets/cancel.051cb10c.svg",exports.checkIcon="/assets/check-sm.c3984331.svg",exports.closeIcon="/assets/input-close.0b5e85b2.svg",exports.closeIcon$1="/assets/close-dark.c1b1ccca.svg",exports.closeIcon$2="/assets/icon-close.90eb4be2.svg",exports.convertText="/assets/convertText_zh.51e06e84.svg",exports.copyIcon="/assets/msg-copy.8d896bef.svg",exports.createGroup="/assets/start-group.5f1c641f.svg",exports.dLeftArrowIcon="/assets/d-left-arrow.9b5f8cc0.svg",exports.dRightArrowIcon="/assets/d-right-arrow.7ab4b4ba.svg",exports.delIcon="/assets/msg-del.05341954.svg",exports.delIcon$1="/assets/del-icon.c693da44.svg",exports.doubleArrowIcon="/assets/double-arrow.c51bb7cf.svg",exports.downSVG="/assets/down-icon.50c12418.svg",exports.editIcon="/assets/edit.5adfff7a.svg",exports.faceIcon="/assets/face-uni.e33f5632.png",exports.faceIconDark="/assets/face-dark.21e333dd.svg",exports.faceIconLight="/assets/face-light.61678cbe.svg",exports.files="/assets/file-light.565ad764.svg",exports.forwardIcon="/assets/msg-forward.1907b7f9.svg",exports.iconRight="/assets/iconRight.ab6f6855.svg",exports.imRobotGuess="/assets/imRobotGuess.06ae9855.svg",exports.imageIconDark="/assets/image-dark.44be7480.svg",exports.imageIconLight="/assets/image-light.ef346b4b.svg",exports.imageUniIcon="/assets/image-uni.3e951cbb.png",exports.leftArrowIcon="/assets/left-arrow.be72449a.svg",exports.loadingIcon="/assets/loading.2a143778.png",exports.minusSVG="/assets/minus.887a634f.svg",exports.moreIcon="/assets/more-uni.030c2d9a.png",exports.multipleSelectIcon="/assets/multiple-select.d38619b0.svg",exports.muteIcon="/assets/mute.81a6d6d5.svg",exports.playIcon="/assets/video-play.58b451c9.png",exports.plusSVG="/assets/plus.f3b9aa49.svg",exports.quoteIcon="/assets/msg-quote.550cd8cb.svg",exports.radioIcon="/assets/radio.168a4b70.svg",exports.refresh="/assets/refresh.cddffc91.svg",exports.revokeIcon="/assets/msg-revoke.39595cc0.svg",exports.rightArrowIcon="/assets/right-arrow.0c0041ad.svg",exports.rightIcon="/assets/right-icon.b206bd3e.svg",exports.searchIcon="/assets/search.980f6827.svg",exports.selectedIcon="/assets/selected.1c6e50da.svg",exports.settingSVG="/assets/setting.161bfa16.svg",exports.star="/assets/star-light.d9a7aedf.png",exports.star$1="/assets/star.0d13712b.png",exports.starLine="/assets/starLine.f4211758.png",exports.translateIcon="/assets/translate.8c9408be.svg",exports.videoIconDark="/assets/video-dark.0bbf3476.svg",exports.videoIconLight="/assets/video-light.c7253748.svg",exports.videoUniIcon="/assets/video-uni.0b4d3e53.png",exports.wordsIconDark="/assets/words-dark.cda35c0a.svg",exports.wordsIconLight="/assets/words-light.97e1bc17.svg";

View File

@@ -0,0 +1 @@
"use strict";const e=require("../common/vendor.js");exports.VerifyLogin=function(){return new Promise(((n,t)=>{e.index.getStorage({key:"userinfo",success:t=>{t.data?t.data.nickName?n(!0):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.reLaunch({url:"/pages/UserInformation/UserInformation"}),n(!1)):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}),n(!1))},fail:n=>{console.error("获取用户信息失败",n),e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}),t(n)}})}))};

View File

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

View File

@@ -1 +1 @@
"use strict";const e=require("../../common/vendor.js");Math||t();const t=()=>"../../pages/NewAddedPk/NewAddedPk2.js",a={__name:"tabBar",props:{tabIndex:Number},setup(t){let a=e.ref(!1),n=e.reactive([{iconPath:"../../static/Pk.png",selectedIconPath:"../../static/PkClick.png",text:"PK",pagePath:"/pages/Home/Home",middleClass:""},{iconPath:"../../static/Forum.png",selectedIconPath:"../../static/Forumclick.png",text:"论坛",pagePath:"/pages/Forum/Forum",middleClass:""},{iconPath:"../../static/jiahao.png",selectedIconPath:"../../static/jiahao.png",text:"",pagePath:"/pages/c/c",middleClass:""},{iconPath:"../../static/Message.png",selectedIconPath:"../../static/Messageclick.png",text:"消息"},{iconPath:"../../static/Mine.png",selectedIconPath:"../../static/Mineclick.png",text:"我的",pagePath:"/pages/Mine/Mine",middleClass:""}]);e.onMounted((()=>{!function(){let e=n.length;if(e%2){a.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 o(t,a){2!==a?"消息"===t.text?e.index.navigateTo({url:"/TUIKit/components/TUIConversation/index",animationType:"none"}):e.index.switchTab({url:t.pagePath}):s.value.open()}return(i,l)=>({a:e.f(e.unref(n),((a,n,s)=>({a:t.tabIndex==n?a.selectedIconPath:a.iconPath,b:e.t(a.text),c:t.tabIndex==n?"#1DD2F9":"#A7A3A3",d:e.n("list-item flex flex-column flex-middle "+a.middleClass),e:e.o$1((e=>o(a,n)),n),f:n}))),b:e.n(!0===e.unref(a)?"tab-list-middle":"tab-list-default"),c:e.o$1(c),d:e.sr(s,"4c0a826b-0",{k:"createModule"})})}},n=e._export_sfc(a,[["__scopeId","data-v-4c0a826b"]]);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,"ae5e2c72-0",{k:"createModule"})})}},n=e._export_sfc(o,[["__scopeId","data-v-ae5e2c72"]]);wx.createComponent(n);

View File

@@ -1 +1 @@
<view class="tab-block data-v-4c0a826b"><view class="{{['tab-list', 'flex', 'flex-center', 'data-v-4c0a826b', b]}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="f" class="{{['data-v-4c0a826b', item.d]}}" bindtap="{{item.e}}"><view class="item-img-box data-v-4c0a826b"><image class="item-img data-v-4c0a826b" src="{{item.a}}"/></view><view class="item-text font-20 data-v-4c0a826b" style="{{'color:' + item.c}}">{{item.b}}</view></view></view><view class="data-v-4c0a826b" catchtouchmove="{{c}}"></view><new-added-pk class="createModule r data-v-4c0a826b" u-r="createModule" u-i="4c0a826b-0" bind:__l="__l"></new-added-pk></view>
<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 File

@@ -1 +1 @@
.flex.data-v-4c0a826b{display:flex;flex-flow:row wrap}.flex-center.data-v-4c0a826b{align-items:center;justify-content:center}.flex-column.data-v-4c0a826b{flex-direction:column;align-items:center}.flex-middle.data-v-4c0a826b{align-items:center}.font-20.data-v-4c0a826b{font-size:20rpx}.tab-block.data-v-4c0a826b{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-4c0a826b{height:100rpx;padding:0;z-index:0}.tab-block .createModule.data-v-4c0a826b{position:fixed;bottom:0;right:0;z-index:998;width:100vw}.tab-block .tab-list-default.data-v-4c0a826b{background-color:#fff;border-top:1px #dddddd solid}.tab-block .tab-list-middle.data-v-4c0a826b{position:relative;background-size:cover}.tab-block .list-item.data-v-4c0a826b{flex:1}.tab-block .list-item .item-img-box.data-v-4c0a826b{width:38rpx;height:38rpx;margin-bottom:9rpx;position:relative}.tab-block .list-item .item-img.data-v-4c0a826b{width:38rpx;height:38rpx;color:red}.tab-block .mid-button.data-v-4c0a826b{position:relative}.tab-block .mid-button .item-img-box.data-v-4c0a826b{width:150rpx;height:150rpx;margin-bottom:9rpx;position:absolute;z-index:10;top:-104rpx}.tab-block .mid-button .item-img.data-v-4c0a826b{width:150rpx;height:150rpx}.tab-block .mid-button .item-text.data-v-4c0a826b{font-size:20rpx;position:absolute;z-index:1002;bottom:-40rpx;color:#393a41}.tab-block .tab-bar.data-v-4c0a826b{height:30rpx;background-color:#fff}
.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}

View File

@@ -1 +1 @@
"use strict";const e=require("../../common/vendor.js"),t={data:()=>({title:"Hello",Select:!1}),onLoad(){},methods:{MakeAppointmentPK(){this.Select=!1,this.$emit("MakeAppointmentPK")},RealTimePk(){this.Select=!0,this.$emit("RealTimePk")},screening(){this.$emit("screening")},Search(){this.$emit("Search")}}};const i=e._export_sfc(t,[["render",function(t,i,n,c,o,a){return{a:e.o$1(((...e)=>a.MakeAppointmentPK&&a.MakeAppointmentPK(...e))),b:o.Select?"":1,c:o.Select?1:"",d:e.o$1(((...e)=>a.RealTimePk&&a.RealTimePk(...e))),e:o.Select?1:"",f:o.Select?"":1}}],["__scopeId","data-v-00457679"]]);wx.createComponent(i);
"use strict";const e=require("../../common/vendor.js"),t={data:()=>({title:"Hello",Select:!1}),onLoad(){},methods:{MakeAppointmentPK(){this.Select=!1,this.$emit("MakeAppointmentPK")},RealTimePk(){this.Select=!0,this.$emit("RealTimePk")},screening(){this.$emit("screening")},Search(){this.$emit("Search")}}};const i=e._export_sfc(t,[["render",function(t,i,n,c,o,a){return{a:e.o$1(((...e)=>a.MakeAppointmentPK&&a.MakeAppointmentPK(...e))),b:o.Select?"":1,c:o.Select?1:"",d:e.o$1(((...e)=>a.RealTimePk&&a.RealTimePk(...e))),e:o.Select?1:"",f:o.Select?"":1}}],["__scopeId","data-v-904c2621"]]);wx.createComponent(i);

View File

@@ -1 +1 @@
<view class="topNavigation data-v-00457679"><view bindtap="{{a}}" class="{{[b && 'Selectcss', c && 'NoSelectcss', 'RealTime', 'data-v-00457679']}}">今日PK</view><view bindtap="{{d}}" class="{{[e && 'Selectcss', f && 'NoSelectcss', 'MakeAppointment', 'data-v-00457679']}}">PK大厅</view></view>
<view class="topNavigation data-v-904c2621"><view bindtap="{{a}}" class="{{[b && 'Selectcss', c && 'NoSelectcss', 'RealTime', 'data-v-904c2621']}}">今日PK</view><view bindtap="{{d}}" class="{{[e && 'Selectcss', f && 'NoSelectcss', 'MakeAppointment', 'data-v-904c2621']}}">PK大厅</view></view>

View File

@@ -1 +1 @@
.topNavigation.data-v-00457679{width:100%;height:114.5rpx;display:flex;align-items:center}.Screening.data-v-00457679{width:93rpx;height:50rpx;background:#fff;border-radius:4rpx;font-size:23rpx;color:#3b3b3b;text-align:center;line-height:50rpx}.filter-icon.data-v-00457679{width:33rpx;height:33rpx}.RealTime.data-v-00457679{margin:0 39rpx 0 41rpx}.MakeAppointment.data-v-00457679{margin-right:233rpx}.Screening.data-v-00457679{margin-right:20rpx}.Selectcss.data-v-00457679{width:146rpx;height:39rpx;font-size:42rpx;color:#0e1011;font-weight:600}.NoSelectcss.data-v-00457679{font-weight:600;height:29rpx;color:#727a7b}
.topNavigation.data-v-904c2621{width:100%;height:114.5rpx;display:flex;align-items:center}.Screening.data-v-904c2621{width:93rpx;height:50rpx;background:#fff;border-radius:4rpx;font-size:23rpx;color:#3b3b3b;text-align:center;line-height:50rpx}.filter-icon.data-v-904c2621{width:33rpx;height:33rpx}.RealTime.data-v-904c2621{margin:0 39rpx 0 41rpx}.MakeAppointment.data-v-904c2621{margin-right:233rpx}.Screening.data-v-904c2621{margin-right:20rpx}.Selectcss.data-v-904c2621{width:146rpx;height:39rpx;font-size:42rpx;color:#0e1011;font-weight:600}.NoSelectcss.data-v-904c2621{font-weight:600;height:29rpx;color:#727a7b}

View File

@@ -1 +1 @@
"use strict";const e=require("../../common/vendor.js"),t=require("../../common/assets.js"),o={data:()=>({title:"Hello"}),onLoad(){},methods:{},components:{tabBar:()=>"../../components/tabBar/tabBar.js"}};if(!Array){e.resolveComponent("tabBar")()}Math;const a=e._export_sfc(o,[["render",function(e,o,a,r,s,n){return{a:t._imports_0$1}}],["__scopeId","data-v-ab54b74c"]]);wx.createPage(a);
"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);

View File

@@ -1 +1 @@
<view class="forum data-v-ab54b74c"><view class="bg data-v-ab54b74c"><image class="bgImg data-v-ab54b74c" src="{{a}}" mode="scaleToFill"/></view><view class="title data-v-ab54b74c">论坛</view></view><view class="tabBar data-v-ab54b74c"><tab-bar class="data-v-ab54b74c" u-i="ab54b74c-0" bind:__l="__l"></tab-bar></view>
<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 File

@@ -1 +1 @@
.bg.data-v-ab54b74c{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-ab54b74c{width:100%;height:100%}.title.data-v-ab54b74c{position:absolute;top:120rpx;left:345rpx;font-size:34rpx;color:#100e0f;font-weight:700}
.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}

View File

@@ -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"),a=require("../../common/assets.js"),n=o.useCounterStore(),r={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,n.$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)}})}})}})},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 p=e._export_sfc(r,[["render",function(t,i,s,o,n,r){return{a:a._imports_0$1,b:e.o$1(r.goRealTimePk),c:e.o$1(r.goMakeAppointmentPK),d:e.o$1(((...e)=>r.goAdvertisement&&r.goAdvertisement(...e))),e:e.f(n.list,((t,i,s)=>e.e({a:t.anchorIcon,b:e.t(t.anchorId),c:"2"===t.sex},"2"===t.sex?{d:a._imports_3}:{e:a._imports_2},{f:e.t("1"===t.sex?"男":"女"),g:"1"===t.sex?1:"",h:"2"===t.sex?1:"",i:e.t(r.formatDate(t.pkTime)),j:e.t(t.coin+"K"),k:e.o$1((e=>r.goDetail(t))),l:"f8f5a633-2-"+s}))),f:e.o$1(((...e)=>r.onRefresherRefresh&&r.onRefresherRefresh(...e))),g:e.o$1(((...e)=>t.onScrollToLower&&t.onScrollToLower(...e))),h:n.triggered}}],["__scopeId","data-v-f8f5a633"]]);wx.createPage(p);
"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);

View File

@@ -1 +1 @@
<view class="page data-v-f8f5a633"><image src="{{a}}" class="HomeBackground data-v-f8f5a633"></image></view><view class="top-navigation-container data-v-f8f5a633"><top-navigation class="data-v-f8f5a633" bindRealTimePk="{{b}}" bindMakeAppointmentPK="{{c}}" u-i="f8f5a633-0" bind:__l="__l"></top-navigation></view><view class="Advertisement data-v-f8f5a633" bindtap="{{d}}"><advertisement class="data-v-f8f5a633" u-i="f8f5a633-1" bind:__l="__l"></advertisement></view><view class="contentList data-v-f8f5a633"><scroll-view scroll-y="true" class="scroll data-v-f8f5a633" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{f}}" lower-threshold="100" bindscrolltolower="{{g}}" refresher-triggered="{{h}}"><uni-card wx:for="{{e}}" wx:for-item="item" class="data-v-f8f5a633" u-s="{{['d']}}" u-i="{{item.l}}" bind:__l="__l"><view class="content-list data-v-f8f5a633" bindtap="{{item.k}}"><image class="headShot data-v-f8f5a633" src="{{item.a}}" mode="scaleToFill"/><view class="content-list-title data-v-f8f5a633"><view class="cardname data-v-f8f5a633">{{item.b}}</view><view class="content-list-info data-v-f8f5a633"><view class="{{['data-v-f8f5a633', item.g && 'Gendermale', item.h && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-f8f5a633" src="{{item.d}}" mode="scaleToFill"/><image wx:else class="Genderimg data-v-f8f5a633" src="{{item.e}}" mode="scaleToFill"/><view class="age data-v-f8f5a633">{{item.f}}</view></view><view class="RoomID data-v-f8f5a633">PK时间: {{item.i}}</view><view class="Charm data-v-f8f5a633">金币:</view><view class="charmValue data-v-f8f5a633">{{item.j}}</view></view></view></view></uni-card></scroll-view></view><view class="tabBar data-v-f8f5a633"><tab-bar class="data-v-f8f5a633" u-i="f8f5a633-3" bind:__l="__l"></tab-bar></view>
<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 File

@@ -1 +1 @@
.page.data-v-f8f5a633{position:relative;width:750rpx;height:1620rpx}.HomeBackground.data-v-f8f5a633{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1}.top-navigation-container.data-v-f8f5a633{position:fixed;top:160rpx;left:0;width:100%;height:114.5rpx}.Advertisement.data-v-f8f5a633{position:fixed;top:300rpx;left:0;width:100%;height:100rpx;z-index:100}.contentList.data-v-f8f5a633{position:fixed;top:412rpx;left:0;bottom:114.5rpx;width:100%}.scroll.data-v-f8f5a633{height:90%;display:flex;flex-direction:column;justify-content:center;align-items:center}.content-list.data-v-f8f5a633{display:flex;align-items:center;width:712rpx;height:161rpx;background:#fff;border-radius:15rpx;margin-bottom:12rpx;margin-left:20rpx}.headShot.data-v-f8f5a633{width:101rpx;height:101rpx;border-radius:50rpx;margin-left:30rpx;margin-right:33rpx}.content-list-info.data-v-f8f5a633{display:flex;align-items:center}.cardname.data-v-f8f5a633{font-size:31rpx;color:#161616;line-height:38rpx}.Genderimg.data-v-f8f5a633{width:15rpx;height:15rpx;margin-left:10rpx;margin-right:10rpx}.age.data-v-f8f5a633{color:#fff;font-size:14rpx}.Gendermale.data-v-f8f5a633{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAfCAYAAABZGLWTAAAAAXNSR0IArs4c6QAAAilJREFUWEftWTtPFFEU/r6ZJUuJiSQujwKRCfQkttJobJRY6Ax/ABNNKGiBAmwtTNZk9w+40BCtiDZYSmI/kxmFAmGNkIgdhFmPuUPW7C6vWVZ3ZhimnfP6zr3ncc8hQnz3PS/b5eOuAPcAGQV5EyLXSGZCsP9TEhHxQf6EyDrAz2Dlwy9df78yNHRwniKeRTC+sdHVeXA4TfApgOvnCYvw/65ACvvZjpdvBwb2TrPjVLCPbdfSyFcEuiME0ZRqAXYoMlUaMUonMR4De2d1NZPL9eYBTjalKVbEUiyXt55/HBvza82qA6uA3ujpX6LIo1jZfgFjhFz+vr35pBZwHVjLdgtgkk+00StSLA0bKt8E31+wKkZ18s0FnBhvFpGJagwHYI+yru8mKRmF9bBKWvvZjKGydADWdL7MEzIbVkDS6ETjwqJxa45Bw1DBt5jX0Vb9u7uno4+m4zwg9HetSos7v6DykKbt5Uk8i7uxrdongtcK7CcSt1sVFnt+wRpNx/txGbPwsYqrWknT8Q4JtP310u6bIIBPy/Gk3Yqj0peuk01XzKYkG0uQjVNVZ9PUQaWqNz569bgLBGeiKgn/W69AXiwOG7Ppe88qz1q2a+EyTio0baJkDAbTxvoZlOMWkj1VDDmDUmSpmi5WAedy/XlAEjw3ZrFc3jx7blx7CSz7qyX8nayNALFDalPVGG281Fe7nkaP1G/xMAoiui0exAfUFg/rAJra4v0Bqcv8upqc0XEAAAAASUVORK5CYII=) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.Genderfemale.data-v-f8f5a633{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAfCAYAAABZGLWTAAAAAXNSR0IArs4c6QAAAi1JREFUWEflWU1rE1EUPaeGFGEiCShIdVXQrZuCW1e6U3BT2j9gwSYTcZVi5WFlZlVMTIXkDyhuBJe66rKCm24rdCV+NIWUZEBb41yZ0ZYk9mMyETLPN9u5575z7nv3fdxLRPg+5PPjExdw3fd5Q8ApUiYB5gCkIsD/tUkHkKYINwl5L/Dffv3MN5eq1d2TBuJxBqKKWS8t90HMATh7krMR/t+GoGbtcZmqvHMUjyPFem5+RjBWAXBuhCIGHbpB+LZVqr44DPiXWFHXUl76ygqIO4OOlBh7Qd3aW5+nWu10c+oRK0qlvHTzJYjbiSEelwjxyvqem6ZSB4J7xLYcu0adZ7QvMCKon1moBPtN+B2I/ZOjz+MGMqk4wp/dz+FQbFMVs6lx2dBsM4oa30Znl5dzqrwTim27hUcAF6Oi9bOTpUzp6UMGF4bzE2MfE36ODhvf7S+f/ItsOfM3yVOvh/WWdLzIz1tsO4UVkHeTTnZofiLP2HLsNRJXh3aWcAcE3gUzuwVSpyth3LA22HbtHyN6vcQlHRfXCcRKXLRuONNmtrAFGJKzLddeI8zZjU06Zw26QRl1Nw5fPY69BOKBbkdJZL6Cx5mFyqJ579kgQv9vpYKzVqkcVht7alBtx65pXVXsX9eCeuawGlRgZ1R18bdgQ+rG3avAc4szAtGwI0B7P0f7V/XxvZ4nxaz3TaNez2ku816MXk93VLq7eCSnBJgEMMIuHpoENkUG6+L9AlWo7Kxo5cagAAAAAElFTkSuQmCC) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.RoomID.data-v-f8f5a633{font-size:23rpx;color:#a3a3a3;line-height:38rpx}.Charm.data-v-f8f5a633{font-size:23rpx;color:#a3a3a3;line-height:38rpx;margin-right:12rpx;margin-left:20rpx}.charmValue.data-v-f8f5a633{font-size:23rpx;color:#161616;line-height:38rpx;font-weight:600}
.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}

View File

@@ -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"),r=require("../../common/assets.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 i=o._export_sfc(a,[["render",function(e,t,n,a,i,s){return{a:r._imports_0$1,b:i.userinfo.headerIcon,c:o.t(i.userinfo.nickName),d:r._imports_1$1,e:o.o$1(((...o)=>s.goSetting&&s.goSetting(...o))),f:r._imports_2$1,g:o.o$1(((...o)=>s.pkInformation&&s.pkInformation(...o))),h:o.f(i.pkInformationdata,((e,t,n)=>({a:e.anchorIcon,b:o.t(s.formatDate(e.pkTime)),c:o.t(e.coin),d:t}))),i:r._imports_2$1,j:o.o$1(((...o)=>s.pkRecord&&s.pkRecord(...o))),k:o.f(i.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(s.TimeFormatting(e.pkTime)),f:t}))),l:r._imports_3$1,m:o.o$1(((...o)=>s.contact&&s.contact(...o))),n:r._imports_4,o:o.o$1(((...o)=>s.serviceProtocol&&s.serviceProtocol(...o))),p:r._imports_5,q:o.o$1(((...o)=>s.logout&&s.logout(...o)))}}],["__scopeId","data-v-ff5e0741"]]);wx.createPage(i);
"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);

View File

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

@@ -1 +1 @@
.bg.data-v-ff5e0741{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-ff5e0741{width:100%;height:100%}.PersonalInformation.data-v-ff5e0741{position:absolute;top:150rpx;left:0;right:0;height:144.5rpx;display:flex;align-items:center}.header.data-v-ff5e0741{width:144.5rpx;height:144.5rpx;border-radius:72.25rpx;background-color:#fff;margin-left:32.5rpx;margin-right:39.5rpx}.Settings.data-v-ff5e0741{width:46rpx;height:46rpx;margin-left:360rpx}.SettingsIcon.data-v-ff5e0741{width:100%;height:100%}.name.data-v-ff5e0741{font-size:36.26rpx;font-weight:500;color:#161616}.content.data-v-ff5e0741{position:absolute;top:294.5rpx;left:0;right:0;height:100%;display:flex;flex-direction:column;align-items:center}.PKInformation.data-v-ff5e0741,.myPkRecord.data-v-ff5e0741{margin-top:48.5rpx}.title.data-v-ff5e0741{width:682rpx;height:33.4rpx;display:flex;align-items:center}.titleText.data-v-ff5e0741{font-size:34.35rpx;font-weight:700;color:#100e0f}.titleLine.data-v-ff5e0741{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-ff5e0741{margin-left:410rpx;font-size:28.63rpx;color:#333}.myPkRecordMore.data-v-ff5e0741{margin-left:340rpx;font-size:28.63rpx;color:#333}.card.data-v-ff5e0741{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-ff5e0741:first-child{margin-left:30rpx}.cardContent.data-v-ff5e0741{width:100rpx;display:flex;flex-direction:column;justify-content:center;align-items:center;margin-left:83rpx}.cardImg.data-v-ff5e0741{width:80rpx;height:80rpx;border-radius:40rpx;background-color:#cdcdcd}.Time.data-v-ff5e0741,.gold.data-v-ff5e0741{font-size:18rpx;text-align:center;margin-top:10rpx}.Failure.data-v-ff5e0741{width:56.3rpx;height:29.58rpx;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAfCAYAAABZGLWTAAAAAXNSR0IArs4c6QAAAilJREFUWEftWTtPFFEU/r6ZJUuJiSQujwKRCfQkttJobJRY6Ax/ABNNKGiBAmwtTNZk9w+40BCtiDZYSmI/kxmFAmGNkIgdhFmPuUPW7C6vWVZ3ZhimnfP6zr3ncc8hQnz3PS/b5eOuAPcAGQV5EyLXSGZCsP9TEhHxQf6EyDrAz2Dlwy9df78yNHRwniKeRTC+sdHVeXA4TfApgOvnCYvw/65ACvvZjpdvBwb2TrPjVLCPbdfSyFcEuiME0ZRqAXYoMlUaMUonMR4De2d1NZPL9eYBTjalKVbEUiyXt55/HBvza82qA6uA3ujpX6LIo1jZfgFjhFz+vr35pBZwHVjLdgtgkk+00StSLA0bKt8E31+wKkZ18s0FnBhvFpGJagwHYI+yru8mKRmF9bBKWvvZjKGydADWdL7MEzIbVkDS6ETjwqJxa45Bw1DBt5jX0Vb9u7uno4+m4zwg9HetSos7v6DykKbt5Uk8i7uxrdongtcK7CcSt1sVFnt+wRpNx/txGbPwsYqrWknT8Q4JtP310u6bIIBPy/Gk3Yqj0peuk01XzKYkG0uQjVNVZ9PUQaWqNz569bgLBGeiKgn/W69AXiwOG7Ppe88qz1q2a+EyTio0baJkDAbTxvoZlOMWkj1VDDmDUmSpmi5WAedy/XlAEjw3ZrFc3jx7blx7CSz7qyX8nayNALFDalPVGG281Fe7nkaP1G/xMAoiui0exAfUFg/rAJra4v0Bqcv8upqc0XEAAAAASUVORK5CYII=);background-position-x:center;background-position-y:center;background-repeat:no-repeat;background-size:100% 100%;color:#fff;font-size:17.18rpx;text-align:center;line-height:29.58rpx;margin-top:-20rpx}.Result.data-v-ff5e0741{width:56.3rpx;height:29.58rpx;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAfCAYAAABZGLWTAAAAAXNSR0IArs4c6QAAAi1JREFUWEflWU1rE1EUPaeGFGEiCShIdVXQrZuCW1e6U3BT2j9gwSYTcZVi5WFlZlVMTIXkDyhuBJe66rKCm24rdCV+NIWUZEBb41yZ0ZYk9mMyETLPN9u5575z7nv3fdxLRPg+5PPjExdw3fd5Q8ApUiYB5gCkIsD/tUkHkKYINwl5L/Dffv3MN5eq1d2TBuJxBqKKWS8t90HMATh7krMR/t+GoGbtcZmqvHMUjyPFem5+RjBWAXBuhCIGHbpB+LZVqr44DPiXWFHXUl76ygqIO4OOlBh7Qd3aW5+nWu10c+oRK0qlvHTzJYjbiSEelwjxyvqem6ZSB4J7xLYcu0adZ7QvMCKon1moBPtN+B2I/ZOjz+MGMqk4wp/dz+FQbFMVs6lx2dBsM4oa30Znl5dzqrwTim27hUcAF6Oi9bOTpUzp6UMGF4bzE2MfE36ODhvf7S+f/ItsOfM3yVOvh/WWdLzIz1tsO4UVkHeTTnZofiLP2HLsNRJXh3aWcAcE3gUzuwVSpyth3LA22HbtHyN6vcQlHRfXCcRKXLRuONNmtrAFGJKzLddeI8zZjU06Zw26QRl1Nw5fPY69BOKBbkdJZL6Cx5mFyqJ579kgQv9vpYKzVqkcVht7alBtx65pXVXsX9eCeuawGlRgZ1R18bdgQ+rG3avAc4szAtGwI0B7P0f7V/XxvZ4nxaz3TaNez2ku816MXk93VLq7eCSnBJgEMMIuHpoENkUG6+L9AlWo7Kxo5cagAAAAAElFTkSuQmCC);background-position-x:center;background-position-y:center;background-repeat:no-repeat;background-size:100% 100%;color:#fff;font-size:17.18rpx;text-align:center;line-height:29.58rpx;margin-top:-20rpx}.Session.data-v-ff5e0741{font-weight:700;font-size:18rpx;margin-top:10rpx}.service.data-v-ff5e0741{width:200rpx;display:flex;flex-direction:column;justify-content:center;align-items:center}.cardtext.data-v-ff5e0741{margin-top:20rpx;font-size:28.63rpx;color:#333;font-weight:400}.copyright.data-v-ff5e0741{font-size:23rpx;color:#929292;text-align:center;position:fixed;bottom:250rpx;left:0;right:0;height:50rpx}
.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}

Some files were not shown because too many files have changed in this diff Show More