优化页面
11
App.vue
@@ -20,6 +20,7 @@ export default {
|
||||
};
|
||||
},
|
||||
onLoad(option) {
|
||||
AutomaticCleaning()
|
||||
uni.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
@@ -30,6 +31,16 @@ export default {
|
||||
},
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
//自动清理缓存
|
||||
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);
|
||||
}
|
||||
},
|
||||
provide() {
|
||||
return {
|
||||
$global: {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
v-for="(extension, index) in currentExtensionList.slice(0, slicePos)"
|
||||
:key="index"
|
||||
>
|
||||
<ToolbarItemContainer
|
||||
<!-- <ToolbarItemContainer
|
||||
v-if="extension"
|
||||
:iconFile="genExtensionIcon(extension)"
|
||||
:title="genExtensionText(extension)"
|
||||
@@ -53,36 +53,36 @@
|
||||
iconHeight="25px"
|
||||
:needDialog="false"
|
||||
@onIconClick="onExtensionClick(extension)"
|
||||
/>
|
||||
/> -->
|
||||
</div>
|
||||
</template>
|
||||
<template v-if="neededCountFirstPage === 1">
|
||||
<Evaluate
|
||||
v-if="featureConfig.InputEvaluation"
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
/>
|
||||
<Words
|
||||
v-else-if="featureConfig.InputQuickReplies"
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
/>
|
||||
<CustomMessage
|
||||
v-if="featureConfig.InputCustomMessage"
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
/>
|
||||
</template>
|
||||
<template v-if="neededCountFirstPage > 1">
|
||||
<Evaluate
|
||||
v-if="featureConfig.InputEvaluation"
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
/>
|
||||
<Words
|
||||
v-if="featureConfig.InputQuickReplies"
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
/>
|
||||
<CustomMessage
|
||||
<!-- <Evaluate
|
||||
v-if="featureConfig.InputEvaluation"
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
/> -->
|
||||
<!-- <CustomMessage
|
||||
v-if="featureConfig.InputCustomMessage"
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
/> -->
|
||||
</template>
|
||||
<template v-if="neededCountFirstPage > 1">
|
||||
<Words
|
||||
v-if="featureConfig.InputQuickReplies"
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
/>
|
||||
<!-- <Evaluate
|
||||
v-if="featureConfig.InputEvaluation"
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
/> -->
|
||||
<!-- <CustomMessage
|
||||
v-if="featureConfig.InputCustomMessage"
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
/> -->
|
||||
</template>
|
||||
</swiper-item>
|
||||
<swiper-item
|
||||
@@ -114,18 +114,19 @@
|
||||
/>
|
||||
</template>
|
||||
<template v-else>
|
||||
<Evaluate
|
||||
v-if="featureConfig.InputEvaluation"
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
/>
|
||||
<Words
|
||||
v-if="featureConfig.InputQuickReplies"
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
/>
|
||||
<CustomMessage
|
||||
<!-- <Evaluate
|
||||
v-if="featureConfig.InputEvaluation"
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
/> -->
|
||||
<!-- ···························标记······························· -->
|
||||
<!-- <CustomMessage
|
||||
v-if="featureConfig.InputCustomMessage"
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
/>
|
||||
/> -->
|
||||
</template>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
mode="scaleToFill"
|
||||
class="Navigationimg"
|
||||
/>
|
||||
<!-- <image @click="" src="../../../static/Return.png" mode="scaleToFill" class="Return" /> -->
|
||||
<div class="Return">消息</div>
|
||||
</div>
|
||||
<div
|
||||
class="tui-conversation"
|
||||
@@ -143,13 +143,14 @@ const getPassingRef = (ref) => {
|
||||
height: 200rpx;
|
||||
z-index: 998;
|
||||
}
|
||||
/* .Return {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
.Return {
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
position: absolute;
|
||||
top: 100rpx;
|
||||
left: 40rpx;
|
||||
top: 120rpx;
|
||||
left: 360rpx;
|
||||
z-index: 999;
|
||||
} */
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
<style lang="scss" scoped src="./style/index.scss"></style>
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
background: #ffffff;
|
||||
border: 1px solid #e5e5e5;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
/* 样式定义 */
|
||||
</style>
|
||||
@@ -48,7 +48,7 @@ let tabList = reactive([
|
||||
iconPath: "../../static/Forum.png",
|
||||
selectedIconPath: "../../static/Forumclick.png",
|
||||
text: "论坛",
|
||||
pagePath: "",
|
||||
pagePath: "/pages/Forum/Forum",
|
||||
middleClass: "",
|
||||
},
|
||||
{
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
@click="MakeAppointmentPK"
|
||||
:class="{ Selectcss: !Select, NoSelectcss: Select }"
|
||||
class="RealTime"
|
||||
>PK大厅</view
|
||||
>今日PK</view
|
||||
>
|
||||
<view
|
||||
@click="RealTimePk"
|
||||
:class="{ Selectcss: Select, NoSelectcss: !Select }"
|
||||
class="MakeAppointment"
|
||||
>今日PK</view
|
||||
>PK大厅</view
|
||||
>
|
||||
<!-- <view @click="screening" class="Screening">筛选</view>
|
||||
<image @click="Search" src="../../static/Searching.png" class="filter-icon" /> -->
|
||||
@@ -29,14 +29,14 @@ export default {
|
||||
// 页面加载时执行
|
||||
},
|
||||
methods: {
|
||||
MakeAppointmentPK() {
|
||||
this.Select = false;
|
||||
this.$emit("MakeAppointmentPK");
|
||||
},
|
||||
RealTimePk() {
|
||||
this.Select = true;
|
||||
this.$emit("RealTimePk");//触发实时PK事件
|
||||
},
|
||||
MakeAppointmentPK() {
|
||||
this.Select = false;
|
||||
this.$emit("MakeAppointmentPK");//触发预约PK事件
|
||||
},
|
||||
screening() {
|
||||
this.$emit("screening");//触发筛选事件
|
||||
},
|
||||
|
||||
16
pages.json
@@ -36,6 +36,12 @@
|
||||
"navigationBarTitleText": "修改pk信息"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/Mine/minecomponents/serviceProtocol",
|
||||
"style": {
|
||||
"navigationBarTitleText": "服务协议"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords",
|
||||
"style": {
|
||||
@@ -59,6 +65,12 @@
|
||||
"navigationBarTitleText": "登录"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/Forum/Forum",
|
||||
"style": {
|
||||
"navigationBarTitleText": "论坛"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/UserInformation/UserInformation",
|
||||
"style": {
|
||||
@@ -179,6 +191,10 @@
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"text": "聊天"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/Forum/Forum",
|
||||
"text": "论坛"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
56
pages/Forum/Forum.vue
Normal file
@@ -0,0 +1,56 @@
|
||||
<template>
|
||||
<view class="forum">
|
||||
<view class="bg">
|
||||
<image class="bgImg" src="../../static/HomeBackground.png" mode="scaleToFill" />
|
||||
</view>
|
||||
<view class="title">论坛</view>
|
||||
|
||||
|
||||
</view>
|
||||
<view class="tabBar">
|
||||
<tabBar></tabBar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import tabBar from "../../components/tabBar/tabBar";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title: 'Hello'
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
// 页面加载时执行
|
||||
},
|
||||
methods: {
|
||||
// 方法定义
|
||||
},
|
||||
components: {
|
||||
tabBar
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.bg {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.bgImg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.title {
|
||||
position: absolute;
|
||||
top: 120rpx;
|
||||
left: 345rpx;
|
||||
font-size: 34rpx;
|
||||
color: #100e0f;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
@@ -83,11 +83,15 @@ export default {
|
||||
list: [], // 列表数据
|
||||
detailsdata: {}, //详情数据
|
||||
triggered: false, //下拉刷新标识
|
||||
RealTimePklist: [], // PK大厅列表数据
|
||||
MakeAppointmentPKlist: [], // 今日PK列表数据
|
||||
listtype: 1, // 列表类型 1 当天 2 大于当天
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
// 页面加载完成后请求数据
|
||||
this.pkList();
|
||||
this.pkList({type:2});
|
||||
this.pkList({type:1});
|
||||
},
|
||||
onLoad() {
|
||||
uni.getStorage({
|
||||
@@ -104,13 +108,6 @@ export default {
|
||||
success: (res) => {
|
||||
this.chatInfo = res.data;
|
||||
TUIlogin(this.chatInfo.appId, this.info.id, this.myuserSig.userSig);
|
||||
// let options = {
|
||||
// SDKAppID: this.chatInfo.appId,
|
||||
// };
|
||||
// console.log("`````````````````````````````````````````", this.chatInfo);
|
||||
// let chat = TencentCloudChat.create(options);
|
||||
// console.log("chat````````````````````````````````````````", this.chat);
|
||||
// chat.login({ userID: String(this.info.id), userSig: this.myuserSig.userSig });
|
||||
},
|
||||
});
|
||||
},
|
||||
@@ -119,11 +116,13 @@ export default {
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
goRealTimePk() {
|
||||
console.log("goRealTimePk");
|
||||
},
|
||||
goMakeAppointmentPK() {
|
||||
console.log("goMakeAppointmentPK");
|
||||
this.listtype = 1;
|
||||
this.list = this.MakeAppointmentPKlist;
|
||||
},
|
||||
goRealTimePk() {
|
||||
this.listtype = 2;
|
||||
this.list = this.RealTimePklist;
|
||||
},
|
||||
goAdvertisement() {
|
||||
// this.$global.lastPage = getCurrentPages().router;
|
||||
@@ -132,8 +131,13 @@ export default {
|
||||
onRefresherRefresh() {
|
||||
this.page = 0;
|
||||
this.list = [];
|
||||
if(this.listtype === 1){
|
||||
this.MakeAppointmentPKlist = [];
|
||||
}else{
|
||||
this.RealTimePklist = [];
|
||||
}
|
||||
this.triggered = true;
|
||||
this.pkList();
|
||||
this.pkList({type:this.listtype});
|
||||
},
|
||||
async goDetail(item) {
|
||||
uni.showLoading({
|
||||
@@ -177,7 +181,8 @@ export default {
|
||||
}
|
||||
},
|
||||
formatDate: formatDate,
|
||||
async pkList() {
|
||||
|
||||
async pkList(condition) {
|
||||
const res = await request({
|
||||
url: "pk/pkList",
|
||||
method: "POST",
|
||||
@@ -185,21 +190,27 @@ export default {
|
||||
status: 0,
|
||||
page: this.page,
|
||||
size: this.size,
|
||||
condition:condition
|
||||
},
|
||||
userInfo: false,
|
||||
});
|
||||
console.log(res);
|
||||
if (res.code === 200) {
|
||||
this.list.push(...res.data);
|
||||
console.log(this.list);
|
||||
this.triggered = false;
|
||||
if (condition.type === 1) {
|
||||
this.MakeAppointmentPKlist.push(...res.data);
|
||||
this.list = this.MakeAppointmentPKlist;
|
||||
} else {
|
||||
this.RealTimePklist.push(...res.data);
|
||||
this.list = this.RealTimePklist;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
onScrollToLower() {
|
||||
this.page++;
|
||||
this.pkList();
|
||||
this.pkList({type:this.listtype});
|
||||
},
|
||||
},
|
||||
components: {
|
||||
topNavigation,
|
||||
Advertisement,
|
||||
|
||||
@@ -54,16 +54,16 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="card">
|
||||
<view class="cardContent">
|
||||
<view class="cardContent"v-for="(item,index) in myPkRecorddata" :key="index">
|
||||
<view class="cardImg">
|
||||
<image src="" mode="scaleToFill" />
|
||||
<image :src="item.anchorIconA" mode="scaleToFill" />
|
||||
</view>
|
||||
<!-- <view class="Failure">
|
||||
<view class="Failure"v-if="item.winnerAnchorId !== item.anchorIdA">
|
||||
失败
|
||||
</view> -->
|
||||
<view class="Result"> 胜利 </view>
|
||||
<view class="Session"> 共一场 </view>
|
||||
<view class="Time"> 20:30 </view>
|
||||
</view>
|
||||
<view class="Result" v-else-if="item.winnerAnchorId === item.anchorIdA"> 胜利 </view>
|
||||
<view class="Session"> 共{{item.pkNumber}}场 </view>
|
||||
<view class="Time">{{TimeFormatting(item.pkTime)}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -84,7 +84,7 @@
|
||||
<view class="cardtext">联系客服</view>
|
||||
</view>
|
||||
|
||||
<view class="service">
|
||||
<view class="service" @click="serviceProtocol">
|
||||
<image
|
||||
style="width: 48.28rpx; height: 48.09rpx"
|
||||
src="../../static/Agreement.png"
|
||||
@@ -115,6 +115,7 @@
|
||||
import tabBar from "../../components/tabBar/tabBar";
|
||||
import request from "../../components/request.js";
|
||||
import formatDate from "../../components/formatDate.js";
|
||||
import TimeFormatting from "../../components/TimeFormatting.js";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
@@ -137,6 +138,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
formatDate: formatDate,
|
||||
TimeFormatting: TimeFormatting,
|
||||
//获取pk信息
|
||||
getpkInformation(){
|
||||
const res = request({
|
||||
@@ -202,20 +204,15 @@ export default {
|
||||
url: "/pages/Setting/Setting",
|
||||
});
|
||||
},
|
||||
// 跳转到服务协议页面
|
||||
serviceProtocol() {
|
||||
uni.navigateTo({
|
||||
url: "/pages/Mine/minecomponents/serviceProtocol",
|
||||
});
|
||||
},
|
||||
// 退出登录
|
||||
logout() {
|
||||
uni.removeStorage({
|
||||
key: "chatInfo",
|
||||
});
|
||||
uni.removeStorage({
|
||||
key: "userinfo",
|
||||
});
|
||||
uni.removeStorage({
|
||||
key: "userSig",
|
||||
});
|
||||
uni.removeStorage({
|
||||
key: "lastPage",
|
||||
});
|
||||
uni.clearStorage()
|
||||
uni.reLaunch({
|
||||
url: "/pages/login/login",
|
||||
});
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
<template>
|
||||
<view class="contact">
|
||||
<h1>联系方式</h1>
|
||||
<view class="bg">
|
||||
<image class="bgImg" src="../../../static/HomeBackground.png" mode="scaleToFill" />
|
||||
</view>
|
||||
<view class="Return" @click="onBack">
|
||||
<image class="ReturnImg" src="../../../static/Return.png" mode="scaleToFill" />
|
||||
</view>
|
||||
<view class="title">联系客服</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -15,17 +21,46 @@
|
||||
// 页面加载时执行
|
||||
},
|
||||
methods: {
|
||||
// 方法定义
|
||||
onBack() {
|
||||
// 返回上一页
|
||||
wx.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.contact{
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.bg {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.bgImg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.Return {
|
||||
position: absolute;
|
||||
top: 110rpx;
|
||||
left: 35rpx;
|
||||
width: 46rpx;
|
||||
height: 46rpx;
|
||||
}
|
||||
.title {
|
||||
position: absolute;
|
||||
top: 120rpx;
|
||||
left: 315rpx;
|
||||
font-size: 34rpx;
|
||||
color: #100e0f;
|
||||
font-weight: 500;
|
||||
}
|
||||
.ReturnImg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
@@ -102,31 +102,7 @@ export default {
|
||||
slidetext: "我发布的PK", // 导航栏文字
|
||||
pkmyRecordlist: [], // PK记录列表
|
||||
pkInvitationRecordlist: [], // PK记录列表
|
||||
pkRecordlist: [{
|
||||
winnerId: "1",
|
||||
pkTime: "1626211200",
|
||||
anchorIdA: "123",
|
||||
anchorIconA: "https://img.yzcdn.cn/vant/cat.jpeg",
|
||||
userAcoin: "100",
|
||||
anchorIdB: "456",
|
||||
anchorIconB: "https://img.yzcdn.cn/vant/dog.jpeg",
|
||||
userBcoin: "200",
|
||||
senderA: "123",
|
||||
senderB: "456",
|
||||
},
|
||||
{
|
||||
winnerId: "2",
|
||||
pkTime: "1626211200",
|
||||
anchorIdA: "789",
|
||||
anchorIconA: "https://img.yzcdn.cn/vant/cat.jpeg",
|
||||
userAcoin: "100",
|
||||
anchorIdB: "101",
|
||||
anchorIconB: "https://img.yzcdn.cn/vant/dog.jpeg",
|
||||
userBcoin: "200",
|
||||
senderA: "789",
|
||||
senderB: "101",
|
||||
},
|
||||
], // PK记录列表
|
||||
pkRecordlist: [], // PK记录列表
|
||||
userinfo: {}, // 用户信息
|
||||
page: 0, // 页码
|
||||
};
|
||||
|
||||
@@ -215,7 +215,7 @@ export default {
|
||||
this.Display = false;
|
||||
this.Hint = false;
|
||||
this.nameAnchor = "";
|
||||
this.genders = "";
|
||||
this.genders = 0;
|
||||
this.numberCoins = "";
|
||||
this.remarks = "";
|
||||
this.datetimesingle = "";
|
||||
@@ -234,7 +234,7 @@ export default {
|
||||
//判断是否为空
|
||||
if (
|
||||
this.nameAnchor == "" && this.nameAnchor == null ||
|
||||
this.genders == "" && this.genders == null ||
|
||||
this.genders == 0 && this.genders == null ||
|
||||
this.numberCoins =="" && this.numberCoins == null ||
|
||||
this.datetimesingle == "" && this.datetimesingle == null ||
|
||||
this.countrys == "" && his.countrys == null ||
|
||||
|
||||
66
pages/Mine/minecomponents/serviceProtocol.vue
Normal file
@@ -0,0 +1,66 @@
|
||||
<template>
|
||||
<view class="service-protocol">
|
||||
<view class="bg">
|
||||
<image class="bgImg" src="../../../static/HomeBackground.png" mode="scaleToFill" />
|
||||
</view>
|
||||
<view class="Return" @click="onBack">
|
||||
<image class="ReturnImg" src="../../../static/Return.png" mode="scaleToFill" />
|
||||
</view>
|
||||
<view class="title">服务协议</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title: "Hello",
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
// 页面加载时执行
|
||||
},
|
||||
methods: {
|
||||
onBack() {
|
||||
// 返回上一页
|
||||
wx.navigateBack({
|
||||
delta: 1,
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.bg {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.bgImg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.Return {
|
||||
position: absolute;
|
||||
top: 110rpx;
|
||||
left: 35rpx;
|
||||
width: 46rpx;
|
||||
height: 46rpx;
|
||||
}
|
||||
.title {
|
||||
position: absolute;
|
||||
top: 120rpx;
|
||||
left: 315rpx;
|
||||
font-size: 34rpx;
|
||||
color: #100e0f;
|
||||
font-weight: 500;
|
||||
}
|
||||
.ReturnImg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
@@ -1,5 +1,9 @@
|
||||
<template><view v-if="Display" :class="[Display ? 'create-module' : 'close-animation ', 'Mask']" @click="open()">
|
||||
|
||||
<template>
|
||||
<view
|
||||
v-if="Display"
|
||||
:class="[Display ? 'create-module' : 'close-animation ', 'Mask']"
|
||||
@click="open()"
|
||||
>
|
||||
<view @click.stop class="containers">
|
||||
<view class="container">
|
||||
<image
|
||||
@@ -9,11 +13,11 @@
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
<view class="Titlecss">
|
||||
<view class="Star"></view>
|
||||
<view class="Star"></view>
|
||||
<view class="Title"></view>
|
||||
<view class="Star"></view>
|
||||
</view>
|
||||
|
||||
|
||||
<!-- <view class="Individual"> -->
|
||||
<view class="NameAnchor">
|
||||
<input
|
||||
@@ -22,82 +26,81 @@
|
||||
placeholder-style="color:#666666"
|
||||
@input="NameAnchor"
|
||||
placeholder="主播名称"
|
||||
@blur="blur"
|
||||
/>
|
||||
<view v-if="nameAnchor === '' && Hint === true" class="Hint"
|
||||
>请填写主播名称</view
|
||||
>
|
||||
</view>
|
||||
|
||||
|
||||
<!-- </view> -->
|
||||
|
||||
<view class="Accountnumber">
|
||||
<view class="Coins country">
|
||||
<wht-select
|
||||
style="width: 350rpx"
|
||||
style="width: 350rpx"
|
||||
backgroundColor="#ffffff"
|
||||
placeholderColor="#666666"
|
||||
textColor="#666666"
|
||||
borderColor="#ffffff"
|
||||
@change="country"
|
||||
:options="Country"
|
||||
:filterable = "filterable"
|
||||
:filterable="filterable"
|
||||
placeholder="请选择国家"
|
||||
/>
|
||||
<view v-if="countrys === '' && Hint === true" class="Hint">请选择国家</view>
|
||||
</view>
|
||||
<view class="Gender">
|
||||
<view class="Gendercs">
|
||||
<view class="Gendercss">
|
||||
<wht-select
|
||||
style="width: 300rpx"
|
||||
backgroundColor="#ffffff"
|
||||
placeholderColor="#666666"
|
||||
textColor="#666666"
|
||||
borderColor="#ffffff"
|
||||
@change="gender"
|
||||
:options="Gender"
|
||||
placeholder="性别"
|
||||
/>
|
||||
</view>
|
||||
<view class="Gendericoncss">
|
||||
<image
|
||||
v-if="genders === 0"
|
||||
class="Gendericon"
|
||||
src="../../static/ask.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
<image
|
||||
v-if="genders === 1"
|
||||
class="Gendericon"
|
||||
src="../../static/man.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
<image
|
||||
v-if="genders === 2"
|
||||
class="Gendericon"
|
||||
src="../../static/girl.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="genders === 0 && Hint === true" class="Hintcss">请选择性别</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<view class="goldCoin">
|
||||
<view class="number-box">
|
||||
<view class="number-box-title">金币数量:</view>
|
||||
<uni-number-box background="#03ABA8" v-model="numberCoins"></uni-number-box>
|
||||
<view class="number-box-title">单位:</view>
|
||||
<view class="number-box-unit">K</view>
|
||||
<view class="Gendercs">
|
||||
<view class="Gendercss">
|
||||
<wht-select
|
||||
style="width: 300rpx"
|
||||
backgroundColor="#ffffff"
|
||||
placeholderColor="#666666"
|
||||
textColor="#666666"
|
||||
borderColor="#ffffff"
|
||||
@change="gender"
|
||||
:options="Gender"
|
||||
placeholder="性别"
|
||||
/>
|
||||
</view>
|
||||
<view class="Gendericoncss">
|
||||
<image
|
||||
v-if="genders === 0"
|
||||
class="Gendericon"
|
||||
src="../../static/ask.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
<image
|
||||
v-if="genders === 1"
|
||||
class="Gendericon"
|
||||
src="../../static/man.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
<image
|
||||
v-if="genders === 2"
|
||||
class="Gendericon"
|
||||
src="../../static/girl.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="numberCoins === '' && Hint === true" class="Hint"
|
||||
>请填写金币数量</view
|
||||
>
|
||||
<view v-if="genders === 0 && Hint === true" class="Hintcss">请选择性别</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<view class="goldCoin">
|
||||
<view class="number-box">
|
||||
<view class="number-box-title">金币数量:</view>
|
||||
<uni-number-box background="#03ABA8" v-model="numberCoins"></uni-number-box>
|
||||
<view class="number-box-title">单位:</view>
|
||||
<view class="number-box-unit">K</view>
|
||||
</view>
|
||||
<view v-if="numberCoins === '' && Hint === true" class="Hint"
|
||||
>请填写金币数量</view
|
||||
>
|
||||
</view>
|
||||
|
||||
<view class="time">
|
||||
<uni-datetime-picker
|
||||
type="datetime"
|
||||
@@ -110,16 +113,14 @@
|
||||
</view>
|
||||
<!-- ···············································标记2············································ -->
|
||||
<view class="goldCoin">
|
||||
<view class="number-box">
|
||||
<view class="number-box-title">选择场数:</view>
|
||||
<uni-number-box background="#03ABA8" v-model="session"></uni-number-box>
|
||||
<view class="number-box-title">次</view>
|
||||
</view>
|
||||
<view v-if="session === '' && Hint === true" class="Hint"
|
||||
>请填写场数</view
|
||||
>
|
||||
<view class="number-box">
|
||||
<view class="number-box-title">选择场数:</view>
|
||||
<uni-number-box background="#03ABA8" v-model="session"></uni-number-box>
|
||||
<view class="number-box-title">次</view>
|
||||
</view>
|
||||
<!-- ··························································································· -->
|
||||
<view v-if="session === '' && Hint === true" class="Hint">请填写场数</view>
|
||||
</view>
|
||||
<!-- ··························································································· -->
|
||||
<view class="Remarkscss">
|
||||
<uni-easyinput
|
||||
type="textarea"
|
||||
@@ -159,6 +160,7 @@ export default {
|
||||
id: null, //用户id
|
||||
sendingTime: "", //发送时间
|
||||
filterable: true, //是否可搜索
|
||||
AnchorProfilePicture: "", //主播头像
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
@@ -191,7 +193,7 @@ export default {
|
||||
this.Display = false;
|
||||
this.Hint = false;
|
||||
this.nameAnchor = "";
|
||||
this.genders = "";
|
||||
this.genders = 0;
|
||||
this.numberCoins = "";
|
||||
this.remarks = "";
|
||||
this.datetimesingle = "";
|
||||
@@ -201,19 +203,39 @@ export default {
|
||||
this.Display = true;
|
||||
}
|
||||
},
|
||||
//获取主播名称
|
||||
NameAnchor: function (event) {
|
||||
this.nameAnchor = event.target.value;
|
||||
//获取主播名称以及头像地址
|
||||
blur(event){
|
||||
if(this.nameAnchor !== event.target.value){
|
||||
this.nameAnchor = event.target.value;
|
||||
uni.request({
|
||||
url: "http://47.79.98.113:6600/"+this.nameAnchor,
|
||||
success:(res)=>{
|
||||
if (res.data.code === 200) {
|
||||
this.AnchorProfilePicture = res.data.data;
|
||||
}else {
|
||||
uni.showToast({
|
||||
title: "主播不存在请确认主播名称",
|
||||
icon: "none",
|
||||
duration: 2000,
|
||||
})
|
||||
}
|
||||
},
|
||||
fail: function (res) {
|
||||
console.log("请求失败", res.data);
|
||||
},
|
||||
});
|
||||
}else{
|
||||
return;
|
||||
}
|
||||
},
|
||||
|
||||
async Publish() {
|
||||
//判断是否为空
|
||||
if (
|
||||
this.nameAnchor === "" ||
|
||||
this.genders === "" ||
|
||||
this.genders === 0 ||
|
||||
this.numberCoins === "" ||
|
||||
this.countrys === "" ||
|
||||
this.datetimesingle === ""||
|
||||
this.datetimesingle === "" ||
|
||||
this.session === ""
|
||||
) {
|
||||
this.Hint = true;
|
||||
@@ -251,9 +273,8 @@ export default {
|
||||
country: this.countrys,
|
||||
coin: this.numberCoins,
|
||||
remark: this.remarks,
|
||||
status: 0,
|
||||
senderId: this.id,
|
||||
anchorIcon: "",
|
||||
anchorIcon: this.AnchorProfilePicture,
|
||||
pkNumber: this.session,
|
||||
},
|
||||
userInfo: true,
|
||||
@@ -290,14 +311,26 @@ export default {
|
||||
/* 定义动画 */
|
||||
/* 原始进入动画 */
|
||||
@keyframes slide-in {
|
||||
from { transform: translateY(100%); opacity: 0; }
|
||||
to { transform: translateY(0); opacity: 1; }
|
||||
from {
|
||||
transform: translateY(100%);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* 新增关闭动画 */
|
||||
@keyframes slide-out {
|
||||
from { transform: translateY(0); opacity: 1; }
|
||||
to { transform: translateY(-100%); opacity: 0; }
|
||||
from {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
transform: translateY(-100%);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* 进入动画类 */
|
||||
@@ -323,7 +356,7 @@ export default {
|
||||
margin-left: 30rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.Hintcss{
|
||||
.Hintcss {
|
||||
color: rgb(255, 0, 0);
|
||||
font-size: 20rpx;
|
||||
margin-left: 30rpx;
|
||||
@@ -350,14 +383,14 @@ export default {
|
||||
/* margin-bottom: 40rpx; */
|
||||
margin-left: 90%;
|
||||
}
|
||||
.Titlecss{
|
||||
.Titlecss {
|
||||
width: 100%;
|
||||
height: 70rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.Star{
|
||||
.Star {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
background-image: url(../../static/star.png);
|
||||
@@ -389,7 +422,7 @@ export default {
|
||||
width: 99%;
|
||||
height: 85rpx;
|
||||
background-color: #ffffff;
|
||||
border: 1rpx solid #BFBFBF;
|
||||
border: 1rpx solid #bfbfbf;
|
||||
border-radius: 10rpx;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -399,16 +432,16 @@ export default {
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
.Gendercs{
|
||||
.Gendercs {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
/* align-items: center; */
|
||||
}
|
||||
.Gendercss{
|
||||
.Gendercss {
|
||||
width: 200rpx;
|
||||
height: 60rpx;
|
||||
}
|
||||
.Gendericoncss{
|
||||
.Gendericoncss {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@@ -419,7 +452,7 @@ export default {
|
||||
margin-left: 20rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.Gendericon{
|
||||
.Gendericon {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
/* margin-top: 10rpx;
|
||||
@@ -439,7 +472,7 @@ export default {
|
||||
/* flex-direction: column; */
|
||||
}
|
||||
.country {
|
||||
margin-left:10rpx;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.goldCoin {
|
||||
width: 100%;
|
||||
@@ -460,10 +493,10 @@ export default {
|
||||
margin-left: 17rpx;
|
||||
}
|
||||
.number-box-unit {
|
||||
color: #03ABA8;
|
||||
color: #03aba8;
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
border: 1rpx solid #03ABA8;
|
||||
border: 1rpx solid #03aba8;
|
||||
border-radius: 50%;
|
||||
line-height: 48rpx;
|
||||
text-align: center;
|
||||
@@ -484,7 +517,7 @@ export default {
|
||||
margin-left: 5%;
|
||||
}
|
||||
.Publishcss {
|
||||
background-image: linear-gradient(135deg, #4FCACD, #5FDBDE);
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
/* color: #33ff00; */
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="age"> 21 </view>
|
||||
<view class="age"> {{ SenderData.sex == 1 ? "男" : "女" }} </view>
|
||||
</view>
|
||||
|
||||
<view class="female" v-else>
|
||||
@@ -42,7 +42,7 @@
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="age"> 21 </view>
|
||||
<view class="age">{{ SenderData.sex == 1 ? "男" : "女" }}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="nation">{{ SenderData.country }}</view>
|
||||
@@ -91,7 +91,7 @@
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="age"> 21 </view>
|
||||
<view class="age"> {{ ReceiverData.sex == 1 ? "男" : "女" }} </view>
|
||||
</view>
|
||||
|
||||
<view class="female" v-else>
|
||||
@@ -102,7 +102,7 @@
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="age"> 21 </view>
|
||||
<view class="age">{{ ReceiverData.sex == 1 ? "男" : "女" }}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="nation">{{ ReceiverData.country }}</view>
|
||||
@@ -199,7 +199,7 @@ export default {
|
||||
console.log(status);
|
||||
|
||||
const res = await request({
|
||||
url: "pk/pkInfoDetail",
|
||||
url: "pk/updatePkStatus",
|
||||
method: "POST",
|
||||
data: {
|
||||
pkIdA: this.customData.pkIdA,
|
||||
@@ -208,7 +208,7 @@ export default {
|
||||
userIdB: this.customData.userIdB,
|
||||
pkTime: this.customData.pkTime,
|
||||
pkNumber: this.customData.pkNumber,
|
||||
status: status,
|
||||
pkStatus: status,
|
||||
},
|
||||
userInfo: false,
|
||||
}).then((res) => {
|
||||
|
||||
@@ -72,6 +72,8 @@ export default {
|
||||
path: this.userinfo,
|
||||
name:generateFileName(),
|
||||
}).then((res) => {
|
||||
console.log("上传成功········",res);
|
||||
|
||||
this.userinfo = res;
|
||||
}).catch((err) => {
|
||||
console.log(err);
|
||||
|
||||
@@ -83,8 +83,7 @@ export default {
|
||||
postFile({
|
||||
path: this.userinfo,
|
||||
name: this.Filename,
|
||||
})
|
||||
.then((ress) => {
|
||||
}).then((ress) => {
|
||||
this.picture = ress;
|
||||
const res = request({
|
||||
url: "user/inputUserInfo",
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="age"> 21 </view>
|
||||
<view class="age"> {{ item.sex === '1'? '男' : '女' }} </view>
|
||||
</view>
|
||||
|
||||
<view class="female" v-else>
|
||||
@@ -42,7 +42,7 @@
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="age"> 21 </view>
|
||||
<view class="age">{{ item.sex === '2' ? '男' : '女' }}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="nation">{{ item.country }}</view>
|
||||
@@ -73,7 +73,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="button">
|
||||
<view class="button" v-if="item.senderId !== id">
|
||||
<button class="accept" @click="openChat()">聊了个天</button>
|
||||
<button class="reject" @click="open()">立即邀请</button>
|
||||
</view>
|
||||
@@ -81,8 +81,15 @@
|
||||
</view>
|
||||
<!-- 弹窗 -->
|
||||
<uni-popup ref="popup" type="center" border-radius="10px 10px 0 0">
|
||||
<view class="popup-content">
|
||||
<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">
|
||||
@@ -90,16 +97,24 @@
|
||||
class="card-content"
|
||||
@click="Select(item.id, index)"
|
||||
:style="{
|
||||
border: selectedId === item.id ? '2px solid red' : '2px solid #afafaf',
|
||||
background:
|
||||
selectedId === item.id ? '#f6f6f6' : '#ffffff',
|
||||
}"
|
||||
>
|
||||
<image class="avatar" :src="item.anchorIcon" mode="scaleToFill" />
|
||||
<view class="Avatarimg">
|
||||
<image class="avatar" :src="item.anchorIcon" mode="scaleToFill" />
|
||||
</view>
|
||||
<view class="NameMoney">
|
||||
<view class="NameMoney_Name">{{ item.anchorId }}</view>
|
||||
<view class="TimeMoney">
|
||||
<view>{{ TimeFormatting(item.pkTime) }}</view>
|
||||
<view>金币:{{ item.coin }}</view>
|
||||
<view class="NameMoney_Name">{{ item.anchorId }}</view>
|
||||
<viewm class="goldnb"
|
||||
><view class="goldimg"></view>{{ item.coin }}K</viewm
|
||||
>
|
||||
</view>
|
||||
<view class="TimeMoney_Time"
|
||||
><view class="pkTimeimg"></view
|
||||
><view>{{ TimeFormatting(item.pkTime) }}</view></view
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -113,18 +128,15 @@
|
||||
</view>
|
||||
</uni-popup>
|
||||
<NewAddedPk class="createModule" ref="createModule"></NewAddedPk>
|
||||
<!-- <Recompose ref="createModule" class="createModule" :message="parentMessage"></Recompose> -->
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import formatDate from "../../components/formatDate.js";
|
||||
import TimeFormatting from "../../components/TimeFormatting.js";
|
||||
// import VerifyLogin from "../../components/VerifyLogin.js";
|
||||
import NewAddedPk from "../../pages/NewAddedPk/NewAddedPk.vue";
|
||||
import request from "../../components/request.js";
|
||||
// // import { isEnabledMessageReadReceiptGlobal } from "../../TUIKit/components/TUIChat/utils/utils.js";
|
||||
// const isEnabledMessageReadReceiptGlobal = require('../../TUIKit/components/TUIChat/utils/utils.js');
|
||||
// // import OfflinePushInfoManager from "../../TUIKit/components/TUIChat/offlinePushInfoManager/index.js";
|
||||
// const OfflinePushInfoManager = require('../../TUIKit/components/TUIChat/offlinePushInfoManager/index.js');
|
||||
// import Recompose from "../Mine/minecomponents/recompose/recompose.vue";
|
||||
import TUIChatEngine, {
|
||||
TUIStore,
|
||||
StoreName,
|
||||
@@ -141,6 +153,7 @@ export default {
|
||||
InvitingPartyEventindex: null,
|
||||
chatInfo: {},
|
||||
currentConversation: null,
|
||||
// parentMessage: null,
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
@@ -166,6 +179,11 @@ export default {
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
//修改信息
|
||||
// onRecompose(item) {
|
||||
// this.parentMessage = item;
|
||||
// this.createModule.open();
|
||||
// },
|
||||
formatDate: formatDate,
|
||||
TimeFormatting: TimeFormatting,
|
||||
Select(id, index) {
|
||||
@@ -189,13 +207,13 @@ export default {
|
||||
this.userlist();
|
||||
},
|
||||
invite() {
|
||||
// if (this.item.pkTime !== this.list[this.InvitingPartyEventindex].pkTime) {
|
||||
// uni.showToast({
|
||||
// icon: "none",
|
||||
// title: "请保持时间一致",
|
||||
// });
|
||||
// return;
|
||||
// }
|
||||
if (this.item.pkTime !== this.list[this.InvitingPartyEventindex].pkTime) {
|
||||
uni.showToast({
|
||||
icon: "none",
|
||||
title: "请保持时间一致",
|
||||
});
|
||||
return;
|
||||
}
|
||||
// 发送邀请消息
|
||||
const conversationID = `C2C${this.item.senderId}`;
|
||||
const myitem = JSON.stringify(this.list[this.InvitingPartyEventindex]);
|
||||
@@ -260,9 +278,9 @@ export default {
|
||||
|
||||
<style scoped>
|
||||
.popup-content {
|
||||
width: 500rpx;
|
||||
width: 600rpx;
|
||||
height: 700rpx;
|
||||
background-color: #fff;
|
||||
background-repeat: no-repeat;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -280,26 +298,38 @@ export default {
|
||||
margin-top: 50rpx;
|
||||
}
|
||||
.invite {
|
||||
width: 200rpx;
|
||||
height: 80rpx;
|
||||
font-size: 30rpx;
|
||||
width: 225.19rpx;
|
||||
height: 78.24rpx;
|
||||
font-size: 28.63rpx;
|
||||
line-height: 80rpx;
|
||||
border-radius: 20rpx;
|
||||
background-color: #1aff0087;
|
||||
border-top-left-radius: 50rpx;
|
||||
border-bottom-left-radius: 50rpx;
|
||||
border-bottom-right-radius: 50rpx;
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
}
|
||||
.cancel {
|
||||
width: 200rpx;
|
||||
height: 80rpx;
|
||||
font-size: 30rpx;
|
||||
width: 225.19rpx;
|
||||
height: 78.24rpx;
|
||||
font-size: 28.63rpx;
|
||||
line-height: 80rpx;
|
||||
margin-left: 30rpx;
|
||||
border-radius: 20rpx;
|
||||
color: #03aba8;
|
||||
border-top-left-radius: 50rpx;
|
||||
border-bottom-left-radius: 50rpx;
|
||||
border-bottom-right-radius: 50rpx;
|
||||
border: 1rpx solid #03aba8;
|
||||
}
|
||||
.scroll {
|
||||
width: 470rpx;
|
||||
height: 500rpx;
|
||||
border: 2px solid #afafaf;
|
||||
height: 400rpx;
|
||||
border-radius: 10px;
|
||||
/* background-color: #fff; */
|
||||
}
|
||||
.popup-text {
|
||||
color: #161616;
|
||||
font-size: 36.26rpx;
|
||||
font-weight: bold;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.card {
|
||||
margin-top: 10rpx;
|
||||
@@ -307,10 +337,12 @@ export default {
|
||||
}
|
||||
.card-content {
|
||||
width: 445rpx;
|
||||
height: 75rpx;
|
||||
height: 100rpx;
|
||||
background-color: #ffffff;
|
||||
/* border: 2px solid #afafaf; */
|
||||
border-radius: 10px;
|
||||
border-radius: 10rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 28rpx;
|
||||
color: rgb(127, 127, 127);
|
||||
}
|
||||
@@ -321,15 +353,46 @@ export default {
|
||||
z-index: 998;
|
||||
width: 100vw;
|
||||
}
|
||||
.Avatarimg {
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #dddddd;
|
||||
margin-right: 20rpx;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.avatar {
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.TimeMoney {
|
||||
width: 300rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-weight: bold;
|
||||
font-size: 27rpx;
|
||||
color: #161616;
|
||||
}
|
||||
.goldnb {
|
||||
display: flex;
|
||||
margin-left: 40rpx;
|
||||
}
|
||||
.TimeMoney_Time {
|
||||
display: flex;
|
||||
margin-top: 13rpx;
|
||||
}
|
||||
.pkTimeimg {
|
||||
background-image: url(../../static/time.png);
|
||||
background-size: 100% 100%;
|
||||
width: 31.49rpx;
|
||||
height: 31.49rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.goldimg {
|
||||
background-image: url(../../static/species.png);
|
||||
background-size: 100% 100%;
|
||||
width: 31.49rpx;
|
||||
height: 35rpx;
|
||||
}
|
||||
.NameMoney {
|
||||
display: flex;
|
||||
@@ -337,6 +400,9 @@ export default {
|
||||
}
|
||||
.NameMoney_Name {
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
font-size: 27rpx;
|
||||
color: #161616;
|
||||
}
|
||||
.background {
|
||||
position: fixed;
|
||||
|
||||
BIN
static/queryMyCanUsePkbg.png
Normal file
|
After Width: | Height: | Size: 143 KiB |
BIN
static/time.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
@@ -1 +1 @@
|
||||
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script lang=\"ts\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n// Required information\r\n// You can get userSig from TencentCloud chat console for Testing TUIKit.\r\n// Deploy production environment please get it from your server.\r\n// View https://cloud.tencent.com/document/product/269/32688\r\n\r\nexport default {\r\n data() {\r\n return {\r\n info: {},\r\n userSig: \"\",\r\n chatInfo: {},\r\n };\r\n },\r\n onLoad(option) {\r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n this.info = res.data;\r\n counter.$patch({ myitem:this.info})\r\n },\r\n fail: () => {\r\n },\r\n })\r\n },\r\n provide() {\r\n return {\r\n $global: {\r\n lastPage: null,\r\n },\r\n };\r\n },\r\n};\r\n</script>\r\n<style>\r\n/* common css for page */\r\nuni-page-body,\r\nhtml,\r\nbody,\r\npage {\r\n width: 100% !important;\r\n height: 100% !important;\r\n overflow: hidden;\r\n}\r\n</style>\r\n","import App from './App'\r\nimport { createSSRApp } from 'vue';\r\nimport * as Pinia from 'pinia';\r\n\r\nexport function createApp() {\r\n\tconst app = createSSRApp(App);\r\n\tapp.use(Pinia.createPinia());\r\n\treturn {\r\n\t\tapp,\r\n\t\tPinia, // 此处必须将 Pinia 返回\r\n\t};\r\n}"],"names":["uni","createSSRApp","App","Pinia.createPinia","Pinia"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,MAAe,YAAA;AAAA,EACb,OAAO;AACE,WAAA;AAAA,MACL,MAAM,CAAC;AAAA,MACP,SAAS;AAAA,MACT,UAAU,CAAC;AAAA,IAAA;AAAA,EAEf;AAAA,EACA,OAAO,QAAQ;AACbA,kBAAAA,MAAI,WAAW;AAAA,MACb,KAAK;AAAA,MACL,SAAS,CAAC,QAAQ;AAChB,aAAK,OAAO,IAAI;AAChB,gBAAQ,OAAO,EAAE,QAAO,KAAK,KAAK,CAAA;AAAA,MACpC;AAAA,MACA,MAAM,MAAM;AAAA,MACZ;AAAA,IAAA,CACD;AAAA,EACH;AAAA,EACA,UAAU;AACD,WAAA;AAAA,MACL,SAAS;AAAA,QACP,UAAU;AAAA,MACZ;AAAA,IAAA;AAAA,EAEJ;AACF;ACnCO,SAAS,YAAY;AAC3B,QAAM,MAAMC,2BAAaC,SAAG;AAC5B,MAAI,IAAIC,cAAiB,YAAA,CAAE;AAC3B,SAAO;AAAA,IACN;AAAA,IACF,OAAEC,cAAK;AAAA;AAAA,EACP;AACA;AACA,YAAY,IAAI,MAAM,MAAM;;"}
|
||||
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script lang=\"ts\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n// Required information\r\n// You can get userSig from TencentCloud chat console for Testing TUIKit.\r\n// Deploy production environment please get it from your server.\r\n// View https://cloud.tencent.com/document/product/269/32688\r\n\r\nexport default {\r\n data() {\r\n return {\r\n info: {},\r\n userSig: \"\",\r\n chatInfo: {},\r\n };\r\n },\r\n onLoad(option) {\r\n AutomaticCleaning()\r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n this.info = res.data;\r\n counter.$patch({ myitem:this.info})\r\n },\r\n fail: () => {\r\n },\r\n })\r\n },\r\n methods: {\r\n //自动清理缓存\r\n AutomaticCleaning(){\r\n const lastCleanTime = uni.getStorageSync('last_clean_time') || 0;\r\n const now = Date.now();\r\n if (now - lastCleanTime < 7 * 24 * 3600 * 1000) return; // 7 days\r\n uni.clearStorage();\r\n uni.setStorageSync('last_clean_time', now);\r\n }\r\n },\r\n provide() {\r\n return {\r\n $global: {\r\n lastPage: null,\r\n },\r\n };\r\n },\r\n};\r\n</script>\r\n<style>\r\n/* common css for page */\r\nuni-page-body,\r\nhtml,\r\nbody,\r\npage {\r\n width: 100% !important;\r\n height: 100% !important;\r\n overflow: hidden;\r\n}\r\n</style>\r\n","import App from './App'\r\nimport { createSSRApp } from 'vue';\r\nimport * as Pinia from 'pinia';\r\n\r\nexport function createApp() {\r\n\tconst app = createSSRApp(App);\r\n\tapp.use(Pinia.createPinia());\r\n\treturn {\r\n\t\tapp,\r\n\t\tPinia, // 此处必须将 Pinia 返回\r\n\t};\r\n}"],"names":["uni","createSSRApp","App","Pinia.createPinia","Pinia"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,MAAe,YAAA;AAAA,EACb,OAAO;AACE,WAAA;AAAA,MACL,MAAM,CAAC;AAAA,MACP,SAAS;AAAA,MACT,UAAU,CAAC;AAAA,IAAA;AAAA,EAEf;AAAA,EACA,OAAO,QAAQ;AACK;AAClBA,kBAAAA,MAAI,WAAW;AAAA,MACb,KAAK;AAAA,MACL,SAAS,CAAC,QAAQ;AAChB,aAAK,OAAO,IAAI;AAChB,gBAAQ,OAAO,EAAE,QAAO,KAAK,KAAK,CAAA;AAAA,MACpC;AAAA,MACA,MAAM,MAAM;AAAA,MACZ;AAAA,IAAA,CACD;AAAA,EACH;AAAA,EACA,SAAS;AAAA;AAAA,IAEP,oBAAmB;AACjB,YAAM,gBAAgBA,cAAA,MAAI,eAAe,iBAAiB,KAAK;AACzD,YAAA,MAAM,KAAK;AACjB,UAAI,MAAM,gBAAgB,IAAI,KAAK,OAAO;AAAM;AAChDA,oBAAA,MAAI,aAAa;AACbA,oBAAAA,MAAA,eAAe,mBAAmB,GAAG;AAAA,IAC3C;AAAA,EACF;AAAA,EACA,UAAU;AACD,WAAA;AAAA,MACL,SAAS;AAAA,QACP,UAAU;AAAA,MACZ;AAAA,IAAA;AAAA,EAEJ;AACF;AC9CO,SAAS,YAAY;AAC3B,QAAM,MAAMC,2BAAaC,SAAG;AAC5B,MAAI,IAAIC,cAAiB,YAAA,CAAE;AAC3B,SAAO;AAAA,IACN;AAAA,IACF,OAAEC,cAAK;AAAA;AAAA,EACP;AACA;AACA,YAAY,IAAI,MAAM,MAAM;;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"Advertisement.js","sources":["components/Advertisement/Advertisement.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9jb21wb25lbnRzL0FkdmVydGlzZW1lbnQvQWR2ZXJ0aXNlbWVudC52dWU"],"sourcesContent":["<template>\r\n <view class=\"advertisement\">广告</view>\r\n</template>\r\n\r\n<script>\r\n export default {\r\n data() {\r\n return {\r\n title: 'Hello'\r\n }\r\n },\r\n onLoad() {\r\n // 页面加载时执行\r\n },\r\n methods: {\r\n // 方法定义\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n.advertisement {\r\n width: 100%;\r\n height: 100rpx;\r\n background: #ffffff;\r\n}\r\n /* 样式定义 */\r\n</style>","import Component from 'D:/项目/tk-mini-program/components/Advertisement/Advertisement.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;AAKI,MAAK,YAAU;AAAA,EACX,OAAO;AACH,WAAO;AAAA,MACH,OAAO;AAAA,IACX;AAAA,EACH;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA;AAAA,EAET;AACJ;;;;;AChBJ,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"Advertisement.js","sources":["components/Advertisement/Advertisement.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9jb21wb25lbnRzL0FkdmVydGlzZW1lbnQvQWR2ZXJ0aXNlbWVudC52dWU"],"sourcesContent":["<template>\r\n <view class=\"advertisement\">广告</view>\r\n</template>\r\n\r\n<script>\r\n export default {\r\n data() {\r\n return {\r\n title: 'Hello'\r\n }\r\n },\r\n onLoad() {\r\n // 页面加载时执行\r\n },\r\n methods: {\r\n // 方法定义\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n.advertisement {\r\n width: 100%;\r\n height: 100rpx;\r\n background: #ffffff;\r\n border: 1px solid #e5e5e5;\r\n border-radius: 10rpx;\r\n}\r\n /* 样式定义 */\r\n</style>","import Component from 'D:/项目/tk-mini-program/components/Advertisement/Advertisement.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;AAKI,MAAK,YAAU;AAAA,EACX,OAAO;AACH,WAAO;AAAA,MACH,OAAO;AAAA,IACX;AAAA,EACH;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA;AAAA,EAET;AACJ;;;;;AChBJ,GAAG,gBAAgB,SAAS;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"topNavigation.js","sources":["components/topNavigation/topNavigation.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9jb21wb25lbnRzL3RvcE5hdmlnYXRpb24vdG9wTmF2aWdhdGlvbi52dWU"],"sourcesContent":["<template>\r\n <view class=\"topNavigation\">\r\n <view\r\n @click=\"MakeAppointmentPK\"\r\n :class=\"{ Selectcss: !Select, NoSelectcss: Select }\"\r\n class=\"RealTime\"\r\n >PK大厅</view\r\n >\r\n <view\r\n @click=\"RealTimePk\"\r\n :class=\"{ Selectcss: Select, NoSelectcss: !Select }\"\r\n class=\"MakeAppointment\"\r\n >今日PK</view\r\n >\r\n <!-- <view @click=\"screening\" class=\"Screening\">筛选</view>\r\n <image @click=\"Search\" src=\"../../static/Searching.png\" class=\"filter-icon\" /> -->\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n title: \"Hello\",\r\n Select: false,\r\n };\r\n },\r\n onLoad() {\r\n // 页面加载时执行\r\n },\r\n methods: {\r\n RealTimePk() {\r\n this.Select = true;\r\n this.$emit(\"RealTimePk\");//触发实时PK事件\r\n },\r\n MakeAppointmentPK() {\r\n this.Select = false;\r\n this.$emit(\"MakeAppointmentPK\");//触发预约PK事件\r\n },\r\n screening() {\r\n this.$emit(\"screening\");//触发筛选事件\r\n },\r\n Search() {\r\n this.$emit(\"Search\");//触发搜索事件\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.topNavigation {\r\n width: 100%;\r\n height: 114.5rpx;\r\n display: flex;\r\n align-items: center;\r\n}\r\n.Screening {\r\n width: 93rpx;\r\n height: 50rpx;\r\n background: #ffffff;\r\n border-radius: 4rpx;\r\n font-size: 23rpx;\r\n color: #3b3b3b;\r\n text-align: center;\r\n line-height: 50rpx;\r\n}\r\n.filter-icon {\r\n width: 33rpx;\r\n height: 33rpx;\r\n}\r\n.RealTime {\r\n margin: 0 39rpx 0 41rpx;\r\n}\r\n.MakeAppointment {\r\n margin-right: 233rpx;\r\n}\r\n.Screening {\r\n margin-right: 20rpx;\r\n}\r\n.Selectcss {\r\n width: 146rpx;\r\n height: 39rpx;\r\n font-size: 42rpx;\r\n color: #0e1011;\r\n font-weight: 600;\r\n}\r\n.NoSelectcss {\r\n font-weight: 600;\r\n height: 29rpx;\r\n color: #727a7b;\r\n}\r\n</style>\r\n","import Component from 'D:/项目/tk-mini-program/components/topNavigation/topNavigation.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;AAoBA,MAAK,YAAU;AAAA,EACb,OAAO;AACL,WAAO;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA;EAEX;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA,IACP,aAAa;AACX,WAAK,SAAS;AACd,WAAK,MAAM,YAAY;AAAA,IACxB;AAAA,IACD,oBAAoB;AAClB,WAAK,SAAS;AACd,WAAK,MAAM,mBAAmB;AAAA,IAC/B;AAAA,IACD,YAAY;AACV,WAAK,MAAM,WAAW;AAAA,IACvB;AAAA,IACD,SAAS;AACP,WAAK,MAAM,QAAQ;AAAA,IACpB;AAAA,EACF;AACH;;;;;;;;;;;;AC7CA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"topNavigation.js","sources":["components/topNavigation/topNavigation.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9jb21wb25lbnRzL3RvcE5hdmlnYXRpb24vdG9wTmF2aWdhdGlvbi52dWU"],"sourcesContent":["<template>\r\n <view class=\"topNavigation\">\r\n <view\r\n @click=\"MakeAppointmentPK\"\r\n :class=\"{ Selectcss: !Select, NoSelectcss: Select }\"\r\n class=\"RealTime\"\r\n >今日PK</view\r\n >\r\n <view\r\n @click=\"RealTimePk\"\r\n :class=\"{ Selectcss: Select, NoSelectcss: !Select }\"\r\n class=\"MakeAppointment\"\r\n >PK大厅</view\r\n >\r\n <!-- <view @click=\"screening\" class=\"Screening\">筛选</view>\r\n <image @click=\"Search\" src=\"../../static/Searching.png\" class=\"filter-icon\" /> -->\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n title: \"Hello\",\r\n Select: false,\r\n };\r\n },\r\n onLoad() {\r\n // 页面加载时执行\r\n },\r\n methods: {\r\n MakeAppointmentPK() {\r\n this.Select = false;\r\n this.$emit(\"MakeAppointmentPK\");\r\n },\r\n RealTimePk() {\r\n this.Select = true;\r\n this.$emit(\"RealTimePk\");//触发实时PK事件\r\n },\r\n screening() {\r\n this.$emit(\"screening\");//触发筛选事件\r\n },\r\n Search() {\r\n this.$emit(\"Search\");//触发搜索事件\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.topNavigation {\r\n width: 100%;\r\n height: 114.5rpx;\r\n display: flex;\r\n align-items: center;\r\n}\r\n.Screening {\r\n width: 93rpx;\r\n height: 50rpx;\r\n background: #ffffff;\r\n border-radius: 4rpx;\r\n font-size: 23rpx;\r\n color: #3b3b3b;\r\n text-align: center;\r\n line-height: 50rpx;\r\n}\r\n.filter-icon {\r\n width: 33rpx;\r\n height: 33rpx;\r\n}\r\n.RealTime {\r\n margin: 0 39rpx 0 41rpx;\r\n}\r\n.MakeAppointment {\r\n margin-right: 233rpx;\r\n}\r\n.Screening {\r\n margin-right: 20rpx;\r\n}\r\n.Selectcss {\r\n width: 146rpx;\r\n height: 39rpx;\r\n font-size: 42rpx;\r\n color: #0e1011;\r\n font-weight: 600;\r\n}\r\n.NoSelectcss {\r\n font-weight: 600;\r\n height: 29rpx;\r\n color: #727a7b;\r\n}\r\n</style>\r\n","import Component from 'D:/项目/tk-mini-program/components/topNavigation/topNavigation.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;AAoBA,MAAK,YAAU;AAAA,EACb,OAAO;AACL,WAAO;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA;EAEX;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA,IACP,oBAAoB;AAClB,WAAK,SAAS;AACd,WAAK,MAAM,mBAAmB;AAAA,IAC/B;AAAA,IACD,aAAa;AACX,WAAK,SAAS;AACd,WAAK,MAAM,YAAY;AAAA,IACxB;AAAA,IACD,YAAY;AACV,WAAK,MAAM,WAAW;AAAA,IACvB;AAAA,IACD,SAAS;AACP,WAAK,MAAM,QAAQ;AAAA,IACpB;AAAA,EACF;AACH;;;;;;;;;;;;AC7CA,GAAG,gBAAgB,SAAS;"}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/Forum/Forum.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Forum.js","sources":["pages/Forum/Forum.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvRm9ydW0vRm9ydW0udnVl"],"sourcesContent":["<template>\r\n <view class=\"forum\">\r\n <view class=\"bg\">\r\n <image class=\"bgImg\" src=\"../../static/HomeBackground.png\" mode=\"scaleToFill\" />\r\n </view>\r\n <view class=\"title\">论坛</view>\r\n\r\n\r\n </view>\r\n <view class=\"tabBar\">\r\n <tabBar></tabBar>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport tabBar from \"../../components/tabBar/tabBar\";\r\n export default {\r\n data() {\r\n return {\r\n title: 'Hello'\r\n }\r\n },\r\n onLoad() {\r\n // 页面加载时执行\r\n },\r\n methods: {\r\n // 方法定义\r\n },\r\n components: {\r\n tabBar\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n.bg {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n z-index: -1;\r\n}\r\n.bgImg {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n.title {\r\n position: absolute;\r\n top: 120rpx;\r\n left: 345rpx;\r\n font-size: 34rpx;\r\n color: #100e0f;\r\n font-weight: bold;\r\n}\r\n</style>","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/Forum/Forum.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;AAeA,eAAe,MAAW;AACtB,MAAK,YAAU;AAAA,EACX,OAAO;AACH,WAAO;AAAA,MACH,OAAO;AAAA,IACX;AAAA,EACH;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA;AAAA,EAER;AAAA,EACD,YAAY;AAAA,IACR;AAAA,EACJ;AACJ;;;;;;;;;;;;;;;AC9BJ,GAAG,WAAW,eAAe;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"contact.js","sources":["pages/Mine/minecomponents/contact.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvTWluZS9taW5lY29tcG9uZW50cy9jb250YWN0LnZ1ZQ"],"sourcesContent":["<template>\r\n <view class=\"contact\">\r\n <h1>联系方式</h1>\r\n </view>\r\n</template>\r\n\r\n<script>\r\n export default {\r\n data() {\r\n return {\r\n title: 'Hello'\r\n }\r\n },\r\n onLoad() {\r\n // 页面加载时执行\r\n },\r\n methods: {\r\n // 方法定义\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n .contact{\r\n width: 100vw;\r\n height: 100vh;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n }\r\n</style>","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/Mine/minecomponents/contact.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;AAOI,MAAK,YAAU;AAAA,EACX,OAAO;AACH,WAAO;AAAA,MACH,OAAO;AAAA,IACX;AAAA,EACH;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA;AAAA,EAET;AACJ;;;;;AClBJ,GAAG,WAAW,eAAe;"}
|
||||
{"version":3,"file":"contact.js","sources":["pages/Mine/minecomponents/contact.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvTWluZS9taW5lY29tcG9uZW50cy9jb250YWN0LnZ1ZQ"],"sourcesContent":["<template>\r\n <view class=\"contact\">\r\n <view class=\"bg\">\r\n <image class=\"bgImg\" src=\"../../../static/HomeBackground.png\" mode=\"scaleToFill\" />\r\n </view>\r\n <view class=\"Return\" @click=\"onBack\">\r\n <image class=\"ReturnImg\" src=\"../../../static/Return.png\" mode=\"scaleToFill\" />\r\n </view>\r\n <view class=\"title\">联系客服</view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\n export default {\r\n data() {\r\n return {\r\n title: 'Hello'\r\n }\r\n },\r\n onLoad() {\r\n // 页面加载时执行\r\n },\r\n methods: {\r\n onBack() {\r\n // 返回上一页\r\n wx.navigateBack({\r\n delta: 1\r\n })\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n.bg {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n z-index: -1;\r\n}\r\n.bgImg {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n.Return {\r\n position: absolute;\r\n top: 110rpx;\r\n left: 35rpx;\r\n width: 46rpx;\r\n height: 46rpx;\r\n}\r\n.title {\r\n position: absolute;\r\n top: 120rpx;\r\n left: 315rpx;\r\n font-size: 34rpx;\r\n color: #100e0f;\r\n font-weight: 500;\r\n}\r\n.ReturnImg {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n</style>","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/Mine/minecomponents/contact.vue'\nwx.createPage(MiniProgramPage)"],"names":["wx"],"mappings":";;;AAaI,MAAK,YAAU;AAAA,EACX,OAAO;AACH,WAAO;AAAA,MACH,OAAO;AAAA,IACX;AAAA,EACH;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA,IACL,SAAS;AAELA,oBAAAA,KAAG,aAAa;AAAA,QACZ,OAAO;AAAA,OACV;AAAA,IACL;AAAA,EACJ;AACJ;;;;;;;;;AC7BJ,GAAG,WAAW,eAAe;"}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/Mine/minecomponents/serviceProtocol.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"serviceProtocol.js","sources":["pages/Mine/minecomponents/serviceProtocol.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvTWluZS9taW5lY29tcG9uZW50cy9zZXJ2aWNlUHJvdG9jb2wudnVl"],"sourcesContent":["<template>\r\n <view class=\"service-protocol\">\r\n <view class=\"bg\">\r\n <image class=\"bgImg\" src=\"../../../static/HomeBackground.png\" mode=\"scaleToFill\" />\r\n </view>\r\n <view class=\"Return\" @click=\"onBack\">\r\n <image class=\"ReturnImg\" src=\"../../../static/Return.png\" mode=\"scaleToFill\" />\r\n </view>\r\n <view class=\"title\">服务协议</view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n title: \"Hello\",\r\n };\r\n },\r\n onLoad() {\r\n // 页面加载时执行\r\n },\r\n methods: {\r\n onBack() {\r\n // 返回上一页\r\n wx.navigateBack({\r\n delta: 1,\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.bg {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n z-index: -1;\r\n}\r\n.bgImg {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n.Return {\r\n position: absolute;\r\n top: 110rpx;\r\n left: 35rpx;\r\n width: 46rpx;\r\n height: 46rpx;\r\n}\r\n.title {\r\n position: absolute;\r\n top: 120rpx;\r\n left: 315rpx;\r\n font-size: 34rpx;\r\n color: #100e0f;\r\n font-weight: 500;\r\n}\r\n.ReturnImg {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n</style>\r\n","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/Mine/minecomponents/serviceProtocol.vue'\nwx.createPage(MiniProgramPage)"],"names":["wx"],"mappings":";;;AAaA,MAAK,YAAU;AAAA,EACb,OAAO;AACL,WAAO;AAAA,MACL,OAAO;AAAA;EAEV;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA,IACP,SAAS;AAEPA,oBAAAA,KAAG,aAAa;AAAA,QACd,OAAO;AAAA,MACT,CAAC;AAAA,IACF;AAAA,EACF;AACH;;;;;;;;;AC7BA,GAAG,WAAW,eAAe;"}
|
||||
101
unpackage/dist/dev/mp-weixin/NewAddedPk.js
vendored
@@ -31,8 +31,10 @@ const _sfc_main = {
|
||||
//用户id
|
||||
sendingTime: "",
|
||||
//发送时间
|
||||
filterable: true
|
||||
filterable: true,
|
||||
//是否可搜索
|
||||
AnchorProfilePicture: ""
|
||||
//主播头像
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
@@ -46,11 +48,11 @@ const _sfc_main = {
|
||||
methods: {
|
||||
gender(item) {
|
||||
this.genders = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:175", item);
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:177", item);
|
||||
},
|
||||
country(item) {
|
||||
this.countrys = item.value;
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:180", item);
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:182", item);
|
||||
},
|
||||
handleOverlayClick(event) {
|
||||
if (event.target === this.$el) {
|
||||
@@ -63,7 +65,7 @@ const _sfc_main = {
|
||||
this.Display = false;
|
||||
this.Hint = false;
|
||||
this.nameAnchor = "";
|
||||
this.genders = "";
|
||||
this.genders = 0;
|
||||
this.numberCoins = "";
|
||||
this.remarks = "";
|
||||
this.datetimesingle = "";
|
||||
@@ -73,12 +75,33 @@ const _sfc_main = {
|
||||
this.Display = true;
|
||||
}
|
||||
},
|
||||
//获取主播名称
|
||||
NameAnchor: function(event) {
|
||||
this.nameAnchor = event.target.value;
|
||||
//获取主播名称以及头像地址
|
||||
blur(event) {
|
||||
if (this.nameAnchor !== event.target.value) {
|
||||
this.nameAnchor = event.target.value;
|
||||
common_vendor.index.request({
|
||||
url: "http://47.79.98.113:6600/" + this.nameAnchor,
|
||||
success: (res) => {
|
||||
if (res.data.code === 200) {
|
||||
this.AnchorProfilePicture = res.data.data;
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: "主播不存在请确认主播名称",
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
}
|
||||
},
|
||||
fail: function(res) {
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:224", "请求失败", res.data);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
},
|
||||
async Publish() {
|
||||
if (this.nameAnchor === "" || this.genders === "" || this.numberCoins === "" || this.countrys === "" || this.datetimesingle === "" || this.session === "") {
|
||||
if (this.nameAnchor === "" || this.genders === 0 || this.numberCoins === "" || this.countrys === "" || this.datetimesingle === "" || this.session === "") {
|
||||
this.Hint = true;
|
||||
return;
|
||||
}
|
||||
@@ -111,9 +134,8 @@ const _sfc_main = {
|
||||
country: this.countrys,
|
||||
coin: this.numberCoins,
|
||||
remark: this.remarks,
|
||||
status: 0,
|
||||
senderId: this.id,
|
||||
anchorIcon: "",
|
||||
anchorIcon: this.AnchorProfilePicture,
|
||||
pkNumber: this.session
|
||||
},
|
||||
userInfo: true
|
||||
@@ -164,11 +186,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, $data.Display ? common_vendor.e({
|
||||
b: common_vendor.o$1(($event) => $options.open()),
|
||||
c: common_assets._imports_0$2,
|
||||
d: common_vendor.o$1((...args) => $options.NameAnchor && $options.NameAnchor(...args)),
|
||||
e: $data.nameAnchor === "" && $data.Hint === true
|
||||
d: common_vendor.o$1((...args) => _ctx.NameAnchor && _ctx.NameAnchor(...args)),
|
||||
e: common_vendor.o$1((...args) => $options.blur && $options.blur(...args)),
|
||||
f: $data.nameAnchor === "" && $data.Hint === true
|
||||
}, $data.nameAnchor === "" && $data.Hint === true ? {} : {}, {
|
||||
f: common_vendor.o$1($options.country),
|
||||
g: common_vendor.p({
|
||||
g: common_vendor.o$1($options.country),
|
||||
h: common_vendor.p({
|
||||
backgroundColor: "#ffffff",
|
||||
placeholderColor: "#666666",
|
||||
textColor: "#666666",
|
||||
@@ -177,10 +200,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
filterable: $data.filterable,
|
||||
placeholder: "请选择国家"
|
||||
}),
|
||||
h: $data.countrys === "" && $data.Hint === true
|
||||
i: $data.countrys === "" && $data.Hint === true
|
||||
}, $data.countrys === "" && $data.Hint === true ? {} : {}, {
|
||||
i: common_vendor.o$1($options.gender),
|
||||
j: common_vendor.p({
|
||||
j: common_vendor.o$1($options.gender),
|
||||
k: common_vendor.p({
|
||||
backgroundColor: "#ffffff",
|
||||
placeholderColor: "#666666",
|
||||
textColor: "#666666",
|
||||
@@ -188,53 +211,53 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
options: $data.Gender,
|
||||
placeholder: "性别"
|
||||
}),
|
||||
k: $data.genders === 0
|
||||
l: $data.genders === 0
|
||||
}, $data.genders === 0 ? {
|
||||
l: common_assets._imports_1$2
|
||||
m: common_assets._imports_1$2
|
||||
} : {}, {
|
||||
m: $data.genders === 1
|
||||
n: $data.genders === 1
|
||||
}, $data.genders === 1 ? {
|
||||
n: common_assets._imports_2$3
|
||||
o: common_assets._imports_2$3
|
||||
} : {}, {
|
||||
o: $data.genders === 2
|
||||
p: $data.genders === 2
|
||||
}, $data.genders === 2 ? {
|
||||
p: common_assets._imports_3$2
|
||||
q: common_assets._imports_3$2
|
||||
} : {}, {
|
||||
q: $data.genders === 0 && $data.Hint === true
|
||||
r: $data.genders === 0 && $data.Hint === true
|
||||
}, $data.genders === 0 && $data.Hint === true ? {} : {}, {
|
||||
r: common_vendor.o$1(($event) => $data.numberCoins = $event),
|
||||
s: common_vendor.p({
|
||||
s: common_vendor.o$1(($event) => $data.numberCoins = $event),
|
||||
t: common_vendor.p({
|
||||
background: "#03ABA8",
|
||||
modelValue: $data.numberCoins
|
||||
}),
|
||||
t: $data.numberCoins === "" && $data.Hint === true
|
||||
v: $data.numberCoins === "" && $data.Hint === true
|
||||
}, $data.numberCoins === "" && $data.Hint === true ? {} : {}, {
|
||||
v: common_vendor.o$1(($event) => $data.datetimesingle = $event),
|
||||
w: common_vendor.p({
|
||||
w: common_vendor.o$1(($event) => $data.datetimesingle = $event),
|
||||
x: common_vendor.p({
|
||||
type: "datetime",
|
||||
["hide-second"]: "true",
|
||||
modelValue: $data.datetimesingle
|
||||
}),
|
||||
x: $data.datetimesingle === "" && $data.Hint === true
|
||||
y: $data.datetimesingle === "" && $data.Hint === true
|
||||
}, $data.datetimesingle === "" && $data.Hint === true ? {} : {}, {
|
||||
y: common_vendor.o$1(($event) => $data.session = $event),
|
||||
z: common_vendor.p({
|
||||
z: common_vendor.o$1(($event) => $data.session = $event),
|
||||
A: common_vendor.p({
|
||||
background: "#03ABA8",
|
||||
modelValue: $data.session
|
||||
}),
|
||||
A: $data.session === "" && $data.Hint === true
|
||||
B: $data.session === "" && $data.Hint === true
|
||||
}, $data.session === "" && $data.Hint === true ? {} : {}, {
|
||||
B: common_vendor.o$1(($event) => $data.remarks = $event),
|
||||
C: common_vendor.p({
|
||||
C: common_vendor.o$1(($event) => $data.remarks = $event),
|
||||
D: common_vendor.p({
|
||||
type: "textarea",
|
||||
placeholder: "备注",
|
||||
modelValue: $data.remarks
|
||||
}),
|
||||
D: common_vendor.o$1(($event) => $options.Publish()),
|
||||
E: common_vendor.o$1(() => {
|
||||
E: common_vendor.o$1(($event) => $options.Publish()),
|
||||
F: common_vendor.o$1(() => {
|
||||
}),
|
||||
F: common_vendor.n($data.Display ? "create-module" : "close-animation "),
|
||||
G: common_vendor.o$1(($event) => $options.open())
|
||||
G: common_vendor.n($data.Display ? "create-module" : "close-animation "),
|
||||
H: common_vendor.o$1(($event) => $options.open())
|
||||
}) : {});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-96d38e2b"]]);
|
||||
|
||||
@@ -25,14 +25,15 @@
|
||||
height: 200rpx;
|
||||
z-index: 998;
|
||||
}
|
||||
/* .Return {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
.Return {
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
position: absolute;
|
||||
top: 100rpx;
|
||||
left: 40rpx;
|
||||
top: 120rpx;
|
||||
left: 360rpx;
|
||||
z-index: 999;
|
||||
} */
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../../common/vendor.js");
|
||||
const TUIKit_components_TUIChat_config = require("../../config.js");
|
||||
const common_assets = require("../../../../../common/assets.js");
|
||||
const TUIKit_components_TUIChat_utils_utils = require("../../utils/utils.js");
|
||||
const TUIKit_components_TUIChat_offlinePushInfoManager_index = require("../../offlinePushInfoManager/index.js");
|
||||
if (!Math) {
|
||||
ToolbarItemContainer();
|
||||
}
|
||||
const ToolbarItemContainer = () => "../toolbar-item-container/index.js";
|
||||
const _sfc_main = {
|
||||
__name: "CustomMessage",
|
||||
emits: ["onDialogPopupShowOrHide"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const evaluateIcon = TUIKit_components_TUIChat_config.ChatConfig.getTheme() === "dark" ? common_assets.InvitationDark : common_assets.InvitationLight;
|
||||
const emits = __emit;
|
||||
const onDialogShow = () => {
|
||||
emits("onDialogPopupShowOrHide", true);
|
||||
};
|
||||
const onDialogClose = () => {
|
||||
emits("onDialogPopupShowOrHide", false);
|
||||
};
|
||||
const currentConversation = common_vendor.ref();
|
||||
common_vendor.Jt.watch(common_vendor.o.CONV, {
|
||||
currentConversation: (conversation) => {
|
||||
currentConversation.value = conversation;
|
||||
}
|
||||
});
|
||||
const container = common_vendor.ref();
|
||||
const submitEvaluate = () => {
|
||||
var _a, _b, _c, _d, _e, _f;
|
||||
const payload = {
|
||||
data: JSON.stringify({
|
||||
businessID: "pk",
|
||||
title: "PK邀请",
|
||||
buttonText1: "接受邀请",
|
||||
buttonText2: "拒绝邀请"
|
||||
}),
|
||||
description: "邀请参加PK",
|
||||
extension: "邀请参加PK"
|
||||
};
|
||||
const options = {
|
||||
to: ((_b = (_a = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _a.groupProfile) == null ? void 0 : _b.groupID) || ((_d = (_c = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _c.userProfile) == null ? void 0 : _d.userID),
|
||||
conversationType: (_e = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _e.type,
|
||||
payload,
|
||||
needReadReceipt: TUIKit_components_TUIChat_utils_utils.isEnabledMessageReadReceiptGlobal()
|
||||
};
|
||||
const offlinePushInfoCreateParams = {
|
||||
conversation: currentConversation.value,
|
||||
payload: options.payload,
|
||||
messageType: common_vendor.qt.TYPES.MSG_CUSTOM
|
||||
};
|
||||
const sendMessageOptions = {
|
||||
offlinePushInfo: TUIKit_components_TUIChat_offlinePushInfoManager_index.OfflinePushInfoManager.create(offlinePushInfoCreateParams)
|
||||
};
|
||||
common_vendor.Qt.sendCustomMessage(options, sendMessageOptions);
|
||||
(_f = container == null ? void 0 : container.value) == null ? void 0 : _f.toggleDialogDisplay(false);
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o$1(submitEvaluate),
|
||||
b: common_vendor.sr(container, "241228dc-0", {
|
||||
"k": "container"
|
||||
}),
|
||||
c: common_vendor.o$1(onDialogShow),
|
||||
d: common_vendor.o$1(onDialogClose),
|
||||
e: common_vendor.p({
|
||||
iconFile: common_vendor.unref(evaluateIcon),
|
||||
title: "邀请",
|
||||
needBottomPopup: true,
|
||||
iconWidth: _ctx.isUniFrameWork ? "36px" : "30px",
|
||||
iconHeight: _ctx.isUniFrameWork ? "36px" : "30px"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-241228dc"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/message-input-toolbar/evaluate/CustomMessage.js.map
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"toolbar-item-container": "../toolbar-item-container/index"
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<toolbar-item-container wx:if="{{e}}" class="r data-v-241228dc" u-s="{{['d']}}" u-r="container" bindonDialogShow="{{c}}" bindonDialogClose="{{d}}" u-i="241228dc-0" bind:__l="__l" u-p="{{e}}"><view class="data-v-241228dc"><view class="container data-v-241228dc"></view><button class="send-btn data-v-241228dc" bindtap="{{a}}">发送邀请</button></view></toolbar-item-container>
|
||||
@@ -1,7 +0,0 @@
|
||||
|
||||
.container.data-v-241228dc {
|
||||
height: 300rpx;
|
||||
}
|
||||
.send-btn.data-v-241228dc {
|
||||
margin-bottom: 100rpx;
|
||||
}
|
||||
@@ -1,168 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../../common/vendor.js");
|
||||
require("../../../../adapter-vue.js");
|
||||
const common_assets = require("../../../../../common/assets.js");
|
||||
const TUIKit_utils_documentLink = require("../../../../utils/documentLink.js");
|
||||
const TUIKit_constant = require("../../../../constant.js");
|
||||
const TUIKit_utils_env = require("../../../../utils/env.js");
|
||||
const TUIKit_components_TUIChat_utils_utils = require("../../utils/utils.js");
|
||||
const TUIKit_components_TUIChat_offlinePushInfoManager_index = require("../../offlinePushInfoManager/index.js");
|
||||
const TUIKit_components_TUIChat_config = require("../../config.js");
|
||||
if (!Math) {
|
||||
(Icon + ToolbarItemContainer)();
|
||||
}
|
||||
const ToolbarItemContainer = () => "../toolbar-item-container/index.js";
|
||||
const Icon = () => "../../../common/Icon.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
props: {
|
||||
starTotal: {
|
||||
type: Number,
|
||||
default: 5
|
||||
}
|
||||
},
|
||||
emits: ["onDialogPopupShowOrHide"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const evaluateIcon = TUIKit_components_TUIChat_config.ChatConfig.getTheme() === "dark" ? common_assets.evaluateIconDark : common_assets.evaluateIconLight;
|
||||
const props = __props;
|
||||
const emits = __emit;
|
||||
const container = common_vendor.ref();
|
||||
const starList = common_vendor.ref(props.starTotal);
|
||||
const currentStarIndex = common_vendor.ref(-1);
|
||||
const comment = common_vendor.ref("");
|
||||
const currentConversation = common_vendor.ref();
|
||||
common_vendor.Jt.watch(common_vendor.o.CONV, {
|
||||
currentConversation: (conversation) => {
|
||||
currentConversation.value = conversation;
|
||||
}
|
||||
});
|
||||
const isEvaluateValid = common_vendor.computed(() => comment.value.length || currentStarIndex.value >= 0);
|
||||
const onDialogShow = () => {
|
||||
emits("onDialogPopupShowOrHide", true);
|
||||
};
|
||||
const onDialogClose = () => {
|
||||
resetEvaluate();
|
||||
emits("onDialogPopupShowOrHide", false);
|
||||
};
|
||||
const openLink = () => {
|
||||
var _a, _b;
|
||||
if (TUIKit_utils_env.isPC || TUIKit_utils_env.isH5) {
|
||||
window.open((_b = (_a = TUIKit_utils_documentLink.Link) == null ? void 0 : _a.customMessage) == null ? void 0 : _b.url);
|
||||
}
|
||||
};
|
||||
const closeDialog = () => {
|
||||
var _a;
|
||||
(_a = container == null ? void 0 : container.value) == null ? void 0 : _a.toggleDialogDisplay(false);
|
||||
};
|
||||
const resetEvaluate = () => {
|
||||
currentStarIndex.value = -1;
|
||||
comment.value = "";
|
||||
};
|
||||
const selectStar = (starIndex) => {
|
||||
if (currentStarIndex.value === starIndex) {
|
||||
currentStarIndex.value = currentStarIndex.value - 1;
|
||||
} else {
|
||||
currentStarIndex.value = starIndex;
|
||||
}
|
||||
};
|
||||
const submitEvaluate = () => {
|
||||
var _a, _b, _c, _d, _e, _f;
|
||||
if (currentStarIndex.value < 0 && !comment.value.length) {
|
||||
return;
|
||||
}
|
||||
const payload = {
|
||||
data: JSON.stringify({
|
||||
businessID: TUIKit_constant.CHAT_MSG_CUSTOM_TYPE.EVALUATE,
|
||||
version: 1,
|
||||
score: currentStarIndex.value + 1,
|
||||
comment: comment.value
|
||||
}),
|
||||
description: "对本次的服务评价",
|
||||
extension: "对本次的服务评价"
|
||||
};
|
||||
const options = {
|
||||
to: ((_b = (_a = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _a.groupProfile) == null ? void 0 : _b.groupID) || ((_d = (_c = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _c.userProfile) == null ? void 0 : _d.userID),
|
||||
conversationType: (_e = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _e.type,
|
||||
payload,
|
||||
needReadReceipt: TUIKit_components_TUIChat_utils_utils.isEnabledMessageReadReceiptGlobal()
|
||||
};
|
||||
const offlinePushInfoCreateParams = {
|
||||
conversation: currentConversation.value,
|
||||
payload: options.payload,
|
||||
messageType: common_vendor.qt.TYPES.MSG_CUSTOM
|
||||
};
|
||||
const sendMessageOptions = {
|
||||
offlinePushInfo: TUIKit_components_TUIChat_offlinePushInfoManager_index.OfflinePushInfoManager.create(offlinePushInfoCreateParams)
|
||||
};
|
||||
common_vendor.Qt.sendCustomMessage(options, sendMessageOptions);
|
||||
(_f = container == null ? void 0 : container.value) == null ? void 0 : _f.toggleDialogDisplay(false);
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("Evaluate.请对本次服务进行评价")),
|
||||
b: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-header-content"),
|
||||
c: !common_vendor.unref(TUIKit_utils_env.isPC)
|
||||
}, !common_vendor.unref(TUIKit_utils_env.isPC) ? {
|
||||
d: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("关闭")),
|
||||
e: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-header-close"),
|
||||
f: common_vendor.o$1(closeDialog)
|
||||
} : {}, {
|
||||
g: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-header"),
|
||||
h: common_vendor.f(common_vendor.unref(starList), (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: index <= common_vendor.unref(currentStarIndex)
|
||||
}, index <= common_vendor.unref(currentStarIndex) ? {
|
||||
b: "74e4698c-1-" + i0 + ",74e4698c-0",
|
||||
c: common_vendor.p({
|
||||
file: common_vendor.unref(common_assets.star),
|
||||
width: common_vendor.unref(TUIKit_utils_env.isPC) ? "20px" : "30px",
|
||||
height: common_vendor.unref(TUIKit_utils_env.isPC) ? "20px" : "30px"
|
||||
})
|
||||
} : {
|
||||
d: "74e4698c-2-" + i0 + ",74e4698c-0",
|
||||
e: common_vendor.p({
|
||||
file: common_vendor.unref(common_assets.starIcon),
|
||||
width: common_vendor.unref(TUIKit_utils_env.isPC) ? "20px" : "30px",
|
||||
height: common_vendor.unref(TUIKit_utils_env.isPC) ? "20px" : "30px"
|
||||
})
|
||||
}, {
|
||||
f: index,
|
||||
g: common_vendor.o$1(($event) => selectStar(index), index)
|
||||
});
|
||||
}),
|
||||
i: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-content-list-item"),
|
||||
j: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-content-list"),
|
||||
k: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-content-text"),
|
||||
l: common_vendor.unref(comment),
|
||||
m: common_vendor.o$1(($event) => common_vendor.isRef(comment) ? comment.value = $event.detail.value : null),
|
||||
n: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("Evaluate.提交评价")),
|
||||
o: common_vendor.n(common_vendor.unref(isEvaluateValid) ? "btn-valid" : "btn-invalid"),
|
||||
p: common_vendor.o$1(submitEvaluate),
|
||||
q: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-content-button"),
|
||||
r: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-content"),
|
||||
s: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("Evaluate.服务评价工具")),
|
||||
t: common_vendor.t("(" + common_vendor.unref(common_vendor.Wt).t("Evaluate.使用")),
|
||||
v: common_vendor.t(common_vendor.unref(common_vendor.Wt).t(`Evaluate.${common_vendor.unref(TUIKit_utils_documentLink.Link).customMessage.label}`)),
|
||||
w: common_vendor.o$1(($event) => openLink(common_vendor.unref(TUIKit_utils_documentLink.Link).customMessage)),
|
||||
x: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("Evaluate.搭建") + ")"),
|
||||
y: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-adv"),
|
||||
z: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5"),
|
||||
A: common_vendor.sr(container, "74e4698c-0", {
|
||||
"k": "container"
|
||||
}),
|
||||
B: common_vendor.o$1(onDialogShow),
|
||||
C: common_vendor.o$1(onDialogClose),
|
||||
D: common_vendor.p({
|
||||
iconFile: common_vendor.unref(evaluateIcon),
|
||||
title: "评价",
|
||||
needBottomPopup: true,
|
||||
iconWidth: common_vendor.unref(TUIKit_utils_env.isUniFrameWork) ? "26px" : "20px",
|
||||
iconHeight: common_vendor.unref(TUIKit_utils_env.isUniFrameWork) ? "26px" : "20px"
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-74e4698c"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/message-input-toolbar/evaluate/index.js.map
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"toolbar-item-container": "../toolbar-item-container/index",
|
||||
"icon": "../../../common/Icon"
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<toolbar-item-container wx:if="{{D}}" class="r data-v-74e4698c" u-s="{{['d']}}" u-r="container" bindonDialogShow="{{B}}" bindonDialogClose="{{C}}" u-i="74e4698c-0" bind:__l="__l" u-p="{{D}}"><view class="{{['data-v-74e4698c', 'evaluate', z]}}"><view class="{{['data-v-74e4698c', 'evaluate-header', g]}}"><view class="{{['data-v-74e4698c', 'evaluate-header-content', b]}}">{{a}}</view><view wx:if="{{c}}" class="{{['data-v-74e4698c', 'evaluate-header-close', e]}}" catchtap="{{f}}">{{d}}</view></view><view class="{{['data-v-74e4698c', 'evaluate-content', r]}}"><view class="{{['data-v-74e4698c', 'evaluate-content-list', j]}}"><view wx:for="{{h}}" wx:for-item="item" wx:key="f" class="{{['data-v-74e4698c', 'evaluate-content-list-item', i]}}" catchtap="{{item.g}}"><icon wx:if="{{item.a}}" class="data-v-74e4698c" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"/><icon wx:else class="data-v-74e4698c" u-i="{{item.d}}" bind:__l="__l" u-p="{{item.e||''}}"/></view></view><block wx:if="{{r0}}"><textarea class="{{['data-v-74e4698c', 'evaluate-content-text', k]}}" value="{{l}}" bindinput="{{m}}"/></block><view class="{{['data-v-74e4698c', 'evaluate-content-button', q]}}"><button class="{{['data-v-74e4698c', 'btn', o]}}" bindtap="{{p}}">{{n}}</button></view></view><view class="{{['data-v-74e4698c', 'evaluate-adv', y]}}">{{s}} {{t}} <navigator class="data-v-74e4698c" bindtap="{{w}}">{{v}}</navigator> {{x}}</view></view></toolbar-item-container>
|
||||
@@ -1,245 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.evaluate.data-v-74e4698c {
|
||||
background: #fff;
|
||||
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.evaluate-header-content.data-v-74e4698c {
|
||||
font-weight: 500;
|
||||
color: #1c1c1c;
|
||||
}
|
||||
.evaluate-adv.data-v-74e4698c {
|
||||
font-weight: 500;
|
||||
color: #999;
|
||||
}
|
||||
.evaluate-adv a.data-v-74e4698c {
|
||||
color: #006eff;
|
||||
}
|
||||
.evaluate-content-text.data-v-74e4698c {
|
||||
background: #f8f8f8;
|
||||
border: 1px solid #ececec;
|
||||
}
|
||||
.evaluate-content-list-item.data-v-74e4698c {
|
||||
font-weight: 400;
|
||||
color: #50545c;
|
||||
}
|
||||
.evaluate-H5-main.data-v-74e4698c {
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
.evaluate-H5-main .evaluate-main-content.data-v-74e4698c {
|
||||
background: #fff;
|
||||
}
|
||||
.evaluate-H5-main .evaluate-main-content p a.data-v-74e4698c {
|
||||
color: #3370ff;
|
||||
}
|
||||
.evaluate-H5-main .evaluate-main-content .close.data-v-74e4698c {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
color: #3370ff;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.evaluate.data-v-74e4698c {
|
||||
position: absolute;
|
||||
z-index: 5;
|
||||
width: 315px;
|
||||
top: -255px;
|
||||
padding: 12px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-radius: 8px;
|
||||
background: url("https://web.sdk.qcloud.com/im/assets/images/login-background.png") no-repeat;
|
||||
background-color: #fff;
|
||||
background-size: cover;
|
||||
background-position-x: 128px;
|
||||
background-position-y: 77px;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.evaluate-header-content.data-v-74e4698c {
|
||||
font-style: normal;
|
||||
font-size: 12px;
|
||||
line-height: 17px;
|
||||
text-align: center;
|
||||
}
|
||||
.evaluate-content.data-v-74e4698c {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 12px 0;
|
||||
}
|
||||
.evaluate-content-list.data-v-74e4698c {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
}
|
||||
.evaluate-content-list-item.data-v-74e4698c {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
padding: 4px 0;
|
||||
font-size: 12px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
.evaluate-content-list-item.data-v-74e4698c:last-child {
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
.evaluate-content-text.data-v-74e4698c {
|
||||
box-sizing: border-box;
|
||||
width: 288px;
|
||||
height: 90px;
|
||||
margin: 12px 0;
|
||||
padding: 12px;
|
||||
border-radius: 2px;
|
||||
resize: none;
|
||||
}
|
||||
.evaluate-content-button .btn.data-v-74e4698c {
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
line-height: 24px;
|
||||
padding: 2px 46px;
|
||||
font-weight: 400;
|
||||
color: #fff;
|
||||
}
|
||||
.evaluate-content-button .btn-valid.data-v-74e4698c {
|
||||
background-color: #3370ff;
|
||||
cursor: pointer;
|
||||
}
|
||||
.evaluate-content-button .btn-invalid.data-v-74e4698c {
|
||||
background-color: #a0cfff;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.evaluate-adv.data-v-74e4698c {
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
.evaluate-adv a.data-v-74e4698c {
|
||||
display: inline-block;
|
||||
}
|
||||
.evaluate-h5.data-v-74e4698c {
|
||||
position: static;
|
||||
width: 100%;
|
||||
height: -webkit-fit-content;
|
||||
height: fit-content;
|
||||
border-radius: 0;
|
||||
background: #fff;
|
||||
padding: 23px !important;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.evaluate-h5-header.data-v-74e4698c {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.evaluate-h5-header-content.data-v-74e4698c {
|
||||
font-size: 18px;
|
||||
}
|
||||
.evaluate-h5-header-close.data-v-74e4698c {
|
||||
font-size: 18px;
|
||||
line-height: 27px;
|
||||
font-weight: 400;
|
||||
color: #3370ff;
|
||||
}
|
||||
.evaluate-h5-content.data-v-74e4698c {
|
||||
order: 1;
|
||||
}
|
||||
.evaluate-h5-content-list-item.data-v-74e4698c {
|
||||
width: 40px;
|
||||
height: 24px;
|
||||
text-align: center;
|
||||
cursor: auto;
|
||||
font-size: 12px;
|
||||
}
|
||||
.evaluate-h5-content-text.data-v-74e4698c {
|
||||
font-size: 16px;
|
||||
width: 100%;
|
||||
}
|
||||
.evaluate-h5-content-button.data-v-74e4698c {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
}
|
||||
.evaluate-h5-content-button .btn.data-v-74e4698c {
|
||||
flex: 1;
|
||||
padding: 14px 0;
|
||||
font-size: 18px;
|
||||
cursor: auto;
|
||||
}
|
||||
.evaluate-h5-adv.data-v-74e4698c {
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
text-align: left;
|
||||
color: #000;
|
||||
}
|
||||
body.data-v-74e4698c, div.data-v-74e4698c, ul.data-v-74e4698c, ol.data-v-74e4698c, dt.data-v-74e4698c, dd.data-v-74e4698c, li.data-v-74e4698c, dl.data-v-74e4698c, h1.data-v-74e4698c, h2.data-v-74e4698c, h3.data-v-74e4698c, h4.data-v-74e4698c, p.data-v-74e4698c {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-style: normal;
|
||||
/* font:12px/22px"\5B8B\4F53",Arial,Helvetica,sans-serif; */
|
||||
}
|
||||
ol.data-v-74e4698c, ul.data-v-74e4698c, li.data-v-74e4698c {
|
||||
list-style: none;
|
||||
}
|
||||
img.data-v-74e4698c {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
pointer-events: none;
|
||||
}
|
||||
body.data-v-74e4698c {
|
||||
color: #000;
|
||||
background: #FFF;
|
||||
}
|
||||
.clear.data-v-74e4698c {
|
||||
clear: both;
|
||||
height: 1px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
margin-top: -1px;
|
||||
}
|
||||
a.data-v-74e4698c {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
a.data-v-74e4698c:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
input.data-v-74e4698c, textarea.data-v-74e4698c {
|
||||
-webkit-user-select: auto;
|
||||
user-select: auto;
|
||||
}
|
||||
input.data-v-74e4698c:focus, input.data-v-74e4698c:active, textarea.data-v-74e4698c:focus, textarea.data-v-74e4698c:active {
|
||||
outline: none;
|
||||
}
|
||||
.chat-aside.data-v-74e4698c {
|
||||
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);
|
||||
}
|
||||
@@ -6,16 +6,14 @@ const TUIKit_utils_enableSampleTaskStatus = require("../../../utils/enableSample
|
||||
const TUIKit_components_TUIChat_offlinePushInfoManager_index = require("../offlinePushInfoManager/index.js");
|
||||
const TUIKit_components_TUIChat_offlinePushInfoManager_const = require("../offlinePushInfoManager/const.js");
|
||||
if (!Math) {
|
||||
(EmojiPickerDialog + ImageUpload + VideoUpload + ToolbarItemContainer + Evaluate + Words + CustomMessage + UserSelector)();
|
||||
(EmojiPickerDialog + ImageUpload + VideoUpload + Words + ToolbarItemContainer + UserSelector)();
|
||||
}
|
||||
const ImageUpload = () => "./image-upload/index.js";
|
||||
const VideoUpload = () => "./video-upload/index.js";
|
||||
const Evaluate = () => "./evaluate/index.js";
|
||||
const Words = () => "./words/index.js";
|
||||
const ToolbarItemContainer = () => "./toolbar-item-container/index.js";
|
||||
const EmojiPickerDialog = () => "./emoji-picker/emoji-picker-dialog.js";
|
||||
const UserSelector = () => "./user-selector/index.js";
|
||||
const CustomMessage = () => "./evaluate/CustomMessage.js";
|
||||
const __default__ = {
|
||||
options: {
|
||||
styleIsolation: "shared"
|
||||
@@ -196,58 +194,31 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
j: common_vendor.unref(currentExtensionList).length > 0
|
||||
}, common_vendor.unref(currentExtensionList).length > 0 ? {
|
||||
k: common_vendor.f(common_vendor.unref(currentExtensionList).slice(0, common_vendor.unref(slicePos)), (extension, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: extension
|
||||
}, extension ? {
|
||||
b: common_vendor.o$1(($event) => onExtensionClick(extension), index),
|
||||
c: "76f68da4-5-" + i0,
|
||||
d: common_vendor.p({
|
||||
iconFile: genExtensionIcon(extension),
|
||||
title: genExtensionText(extension),
|
||||
iconWidth: "25px",
|
||||
iconHeight: "25px",
|
||||
needDialog: false
|
||||
})
|
||||
} : {}, {
|
||||
e: index
|
||||
});
|
||||
return {
|
||||
a: index
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
l: common_vendor.unref(neededCountFirstPage) === 1
|
||||
}, common_vendor.unref(neededCountFirstPage) === 1 ? common_vendor.e({
|
||||
m: common_vendor.unref(featureConfig).InputEvaluation
|
||||
}, common_vendor.unref(featureConfig).InputEvaluation ? {
|
||||
n: common_vendor.o$1(handleSwiperDotShow)
|
||||
} : common_vendor.unref(featureConfig).InputQuickReplies ? {
|
||||
p: common_vendor.o$1(handleSwiperDotShow)
|
||||
} : {}, {
|
||||
o: common_vendor.unref(featureConfig).InputQuickReplies,
|
||||
q: common_vendor.unref(featureConfig).InputCustomMessage
|
||||
}, common_vendor.unref(featureConfig).InputCustomMessage ? {
|
||||
r: common_vendor.o$1(handleSwiperDotShow)
|
||||
} : {}) : {}, {
|
||||
s: common_vendor.unref(neededCountFirstPage) > 1
|
||||
}, common_vendor.unref(neededCountFirstPage) > 1 ? common_vendor.e({
|
||||
t: common_vendor.unref(featureConfig).InputEvaluation
|
||||
}, common_vendor.unref(featureConfig).InputEvaluation ? {
|
||||
v: common_vendor.o$1(handleSwiperDotShow)
|
||||
} : {}, {
|
||||
w: common_vendor.unref(featureConfig).InputQuickReplies
|
||||
m: common_vendor.unref(featureConfig).InputQuickReplies
|
||||
}, common_vendor.unref(featureConfig).InputQuickReplies ? {
|
||||
x: common_vendor.o$1(handleSwiperDotShow)
|
||||
} : {}, {
|
||||
y: common_vendor.unref(featureConfig).InputCustomMessage
|
||||
}, common_vendor.unref(featureConfig).InputCustomMessage ? {
|
||||
z: common_vendor.o$1(handleSwiperDotShow)
|
||||
n: common_vendor.o$1(handleSwiperDotShow)
|
||||
} : {}) : {}, {
|
||||
A: common_vendor.unref(neededCountFirstPage) <= 1
|
||||
o: common_vendor.unref(neededCountFirstPage) > 1
|
||||
}, common_vendor.unref(neededCountFirstPage) > 1 ? common_vendor.e({
|
||||
p: common_vendor.unref(featureConfig).InputQuickReplies
|
||||
}, common_vendor.unref(featureConfig).InputQuickReplies ? {
|
||||
q: common_vendor.o$1(handleSwiperDotShow)
|
||||
} : {}) : {}, {
|
||||
r: common_vendor.unref(neededCountFirstPage) <= 1
|
||||
}, common_vendor.unref(neededCountFirstPage) <= 1 ? common_vendor.e({
|
||||
B: common_vendor.f(common_vendor.unref(currentExtensionList).slice(common_vendor.unref(slicePos)), (extension, index, i0) => {
|
||||
s: common_vendor.f(common_vendor.unref(currentExtensionList).slice(common_vendor.unref(slicePos)), (extension, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: extension
|
||||
}, extension ? {
|
||||
b: common_vendor.o$1(($event) => onExtensionClick(extension), index),
|
||||
c: "76f68da4-12-" + i0,
|
||||
c: "76f68da4-7-" + i0,
|
||||
d: common_vendor.p({
|
||||
iconFile: genExtensionIcon(extension),
|
||||
title: genExtensionText(extension),
|
||||
@@ -259,32 +230,24 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
e: index
|
||||
});
|
||||
}),
|
||||
C: common_vendor.unref(neededCountFirstPage) === 1
|
||||
t: common_vendor.unref(neededCountFirstPage) === 1
|
||||
}, common_vendor.unref(neededCountFirstPage) === 1 ? common_vendor.e({
|
||||
D: common_vendor.unref(featureConfig).InputQuickReplies
|
||||
v: common_vendor.unref(featureConfig).InputQuickReplies
|
||||
}, common_vendor.unref(featureConfig).InputQuickReplies ? {
|
||||
E: common_vendor.o$1(handleSwiperDotShow)
|
||||
w: common_vendor.o$1(handleSwiperDotShow)
|
||||
} : {}) : common_vendor.e({
|
||||
F: common_vendor.unref(featureConfig).InputEvaluation
|
||||
}, common_vendor.unref(featureConfig).InputEvaluation ? {
|
||||
G: common_vendor.o$1(handleSwiperDotShow)
|
||||
} : {}, {
|
||||
H: common_vendor.unref(featureConfig).InputQuickReplies
|
||||
x: common_vendor.unref(featureConfig).InputQuickReplies
|
||||
}, common_vendor.unref(featureConfig).InputQuickReplies ? {
|
||||
I: common_vendor.o$1(handleSwiperDotShow)
|
||||
} : {}, {
|
||||
J: common_vendor.unref(featureConfig).InputCustomMessage
|
||||
}, common_vendor.unref(featureConfig).InputCustomMessage ? {
|
||||
K: common_vendor.o$1(handleSwiperDotShow)
|
||||
y: common_vendor.o$1(handleSwiperDotShow)
|
||||
} : {})) : {}, {
|
||||
L: common_vendor.unref(isSwiperIndicatorDotsEnable)
|
||||
z: common_vendor.unref(isSwiperIndicatorDotsEnable)
|
||||
}), {
|
||||
M: common_vendor.sr(userSelectorRef, "76f68da4-17", {
|
||||
A: common_vendor.sr(userSelectorRef, "76f68da4-10", {
|
||||
"k": "userSelectorRef"
|
||||
}),
|
||||
N: common_vendor.o$1(onUserSelectorSubmit),
|
||||
O: common_vendor.o$1(onUserSelectorCancel),
|
||||
P: common_vendor.p({
|
||||
B: common_vendor.o$1(onUserSelectorSubmit),
|
||||
C: common_vendor.o$1(onUserSelectorCancel),
|
||||
D: common_vendor.p({
|
||||
type: common_vendor.unref(selectorShowType),
|
||||
currentConversation: common_vendor.unref(currentConversation),
|
||||
isGroup: common_vendor.unref(isGroup)
|
||||
|
||||
@@ -3,11 +3,9 @@
|
||||
"usingComponents": {
|
||||
"image-upload": "./image-upload/index",
|
||||
"video-upload": "./video-upload/index",
|
||||
"evaluate": "./evaluate/index",
|
||||
"words": "./words/index",
|
||||
"toolbar-item-container": "./toolbar-item-container/index",
|
||||
"emoji-picker-dialog": "./emoji-picker/emoji-picker-dialog",
|
||||
"user-selector": "./user-selector/index",
|
||||
"custom-message": "./evaluate/CustomMessage"
|
||||
"user-selector": "./user-selector/index"
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<view class="{{['message-input-toolbar', 'message-input-toolbar-h5', 'message-input-toolbar-uni']}}"><view wx:if="{{a}}"><emoji-picker-dialog u-i="76f68da4-0" bind:__l="__l"/></view><view wx:else><swiper class="{{['message-input-toolbar-swiper']}}" indicator-dots="{{L}}" autoplay="{{false}}" circular="{{false}}"><swiper-item class="{{['message-input-toolbar-list', 'message-input-toolbar-h5-list', 'message-input-toolbar-uni-list']}}"><image-upload wx:if="{{b}}" u-i="76f68da4-1" bind:__l="__l" u-p="{{c}}"/><image-upload wx:if="{{d}}" u-i="76f68da4-2" bind:__l="__l" u-p="{{e}}"/><video-upload wx:if="{{f}}" u-i="76f68da4-3" bind:__l="__l" u-p="{{g}}"/><video-upload wx:if="{{h}}" u-i="76f68da4-4" bind:__l="__l" u-p="{{i}}"/><block wx:if="{{j}}"><view wx:for="{{k}}" wx:for-item="extension" wx:key="e"><toolbar-item-container wx:if="{{extension.a}}" bindonIconClick="{{extension.b}}" u-i="{{extension.c}}" bind:__l="__l" u-p="{{extension.d}}"/></view></block><block wx:if="{{l}}"><evaluate wx:if="{{m}}" bindonDialogPopupShowOrHide="{{n}}" u-i="76f68da4-6" bind:__l="__l"/><words wx:elif="{{o}}" bindonDialogPopupShowOrHide="{{p}}" u-i="76f68da4-7" bind:__l="__l"/><custom-message wx:if="{{q}}" bindonDialogPopupShowOrHide="{{r}}" u-i="76f68da4-8" bind:__l="__l"/></block><block wx:if="{{s}}"><evaluate wx:if="{{t}}" bindonDialogPopupShowOrHide="{{v}}" u-i="76f68da4-9" bind:__l="__l"/><words wx:if="{{w}}" bindonDialogPopupShowOrHide="{{x}}" u-i="76f68da4-10" bind:__l="__l"/><custom-message wx:if="{{y}}" bindonDialogPopupShowOrHide="{{z}}" u-i="76f68da4-11" bind:__l="__l"/></block></swiper-item><swiper-item wx:if="{{A}}" class="{{['message-input-toolbar-list', 'message-input-toolbar-h5-list', 'message-input-toolbar-uni-list']}}"><view wx:for="{{B}}" wx:for-item="extension" wx:key="e"><toolbar-item-container wx:if="{{extension.a}}" bindonIconClick="{{extension.b}}" u-i="{{extension.c}}" bind:__l="__l" u-p="{{extension.d}}"/></view><block wx:if="{{C}}"><words wx:if="{{D}}" bindonDialogPopupShowOrHide="{{E}}" u-i="76f68da4-13" bind:__l="__l"/></block><block wx:else><evaluate wx:if="{{F}}" bindonDialogPopupShowOrHide="{{G}}" u-i="76f68da4-14" bind:__l="__l"/><words wx:if="{{H}}" bindonDialogPopupShowOrHide="{{I}}" u-i="76f68da4-15" bind:__l="__l"/><custom-message wx:if="{{J}}" bindonDialogPopupShowOrHide="{{K}}" u-i="76f68da4-16" bind:__l="__l"/></block></swiper-item></swiper></view><user-selector wx:if="{{P}}" class="r" u-r="userSelectorRef" bindsubmit="{{N}}" bindcancel="{{O}}" u-i="76f68da4-17" bind:__l="__l" u-p="{{P}}"/></view>
|
||||
<view class="{{['message-input-toolbar', 'message-input-toolbar-h5', 'message-input-toolbar-uni']}}"><view wx:if="{{a}}"><emoji-picker-dialog u-i="76f68da4-0" bind:__l="__l"/></view><view wx:else><swiper class="{{['message-input-toolbar-swiper']}}" indicator-dots="{{z}}" autoplay="{{false}}" circular="{{false}}"><swiper-item class="{{['message-input-toolbar-list', 'message-input-toolbar-h5-list', 'message-input-toolbar-uni-list']}}"><image-upload wx:if="{{b}}" u-i="76f68da4-1" bind:__l="__l" u-p="{{c}}"/><image-upload wx:if="{{d}}" u-i="76f68da4-2" bind:__l="__l" u-p="{{e}}"/><video-upload wx:if="{{f}}" u-i="76f68da4-3" bind:__l="__l" u-p="{{g}}"/><video-upload wx:if="{{h}}" u-i="76f68da4-4" bind:__l="__l" u-p="{{i}}"/><block wx:if="{{j}}"><view wx:for="{{k}}" wx:for-item="extension" wx:key="a"></view></block><block wx:if="{{l}}"><words wx:if="{{m}}" bindonDialogPopupShowOrHide="{{n}}" u-i="76f68da4-5" bind:__l="__l"/></block><block wx:if="{{o}}"><words wx:if="{{p}}" bindonDialogPopupShowOrHide="{{q}}" u-i="76f68da4-6" bind:__l="__l"/></block></swiper-item><swiper-item wx:if="{{r}}" class="{{['message-input-toolbar-list', 'message-input-toolbar-h5-list', 'message-input-toolbar-uni-list']}}"><view wx:for="{{s}}" wx:for-item="extension" wx:key="e"><toolbar-item-container wx:if="{{extension.a}}" bindonIconClick="{{extension.b}}" u-i="{{extension.c}}" bind:__l="__l" u-p="{{extension.d}}"/></view><block wx:if="{{t}}"><words wx:if="{{v}}" bindonDialogPopupShowOrHide="{{w}}" u-i="76f68da4-8" bind:__l="__l"/></block><block wx:else><words wx:if="{{x}}" bindonDialogPopupShowOrHide="{{y}}" u-i="76f68da4-9" bind:__l="__l"/></block></swiper-item></swiper></view><user-selector wx:if="{{D}}" class="r" u-r="userSelectorRef" bindsubmit="{{B}}" bindcancel="{{C}}" u-i="76f68da4-10" bind:__l="__l" u-p="{{D}}"/></view>
|
||||
@@ -1 +1 @@
|
||||
<view class="Navigation-left data-v-40b33296"></view><view class="Navigation data-v-40b33296"><image src="{{a}}" mode="scaleToFill" class="Navigationimg data-v-40b33296"/></view><view class="tui-conversation data-v-40b33296" bindtap="{{h}}" bindtouchstart="{{i}}" bindtouchend="{{j}}"><t-u-i-search wx:if="{{b}}" class="data-v-40b33296" u-i="40b33296-0" bind:__l="__l" u-p="{{b}}"/><conversation-header wx:if="{{c}}" class="r data-v-40b33296" u-r="headerRef" u-i="40b33296-1" bind:__l="__l"/><conversation-network class="data-v-40b33296" u-i="40b33296-2" bind:__l="__l"/><conversation-list u-r="conversationListDomRef" class="tui-conversation-list r data-v-40b33296" bindhandleSwitchConversation="{{f}}" bindgetPassingRef="{{g}}" u-i="40b33296-3" bind:__l="__l"/></view><view class="data-v-40b33296"><tab-bar class="data-v-40b33296" u-i="40b33296-4" bind:__l="__l"></tab-bar></view>
|
||||
<view class="Navigation-left data-v-40b33296"></view><view class="Navigation data-v-40b33296"><image src="{{a}}" mode="scaleToFill" class="Navigationimg data-v-40b33296"/><view class="Return data-v-40b33296">消息</view></view><view class="tui-conversation data-v-40b33296" bindtap="{{h}}" bindtouchstart="{{i}}" bindtouchend="{{j}}"><t-u-i-search wx:if="{{b}}" class="data-v-40b33296" u-i="40b33296-0" bind:__l="__l" u-p="{{b}}"/><conversation-header wx:if="{{c}}" class="r data-v-40b33296" u-r="headerRef" u-i="40b33296-1" bind:__l="__l"/><conversation-network class="data-v-40b33296" u-i="40b33296-2" bind:__l="__l"/><conversation-list u-r="conversationListDomRef" class="tui-conversation-list r data-v-40b33296" bindhandleSwitchConversation="{{f}}" bindgetPassingRef="{{g}}" u-i="40b33296-3" bind:__l="__l"/></view><view class="data-v-40b33296"><tab-bar class="data-v-40b33296" u-i="40b33296-4" bind:__l="__l"></tab-bar></view>
|
||||
@@ -502,14 +502,15 @@ input.data-v-32d81a7d:focus, input.data-v-32d81a7d:active, textarea.data-v-32d81
|
||||
height: 200rpx;
|
||||
z-index: 998;
|
||||
}
|
||||
/* .Return {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
.Return {
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
position: absolute;
|
||||
top: 100rpx;
|
||||
left: 40rpx;
|
||||
top: 120rpx;
|
||||
left: 360rpx;
|
||||
z-index: 999;
|
||||
} */
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
|
||||
14
unpackage/dist/dev/mp-weixin/app.js
vendored
@@ -8,10 +8,12 @@ if (!Math) {
|
||||
"./pages/Mine/minecomponents/contact.js";
|
||||
"./pages/Mine/minecomponents/pkInformation.js";
|
||||
"./pages/Mine/minecomponents/recompose/recompose.js";
|
||||
"./pages/Mine/minecomponents/serviceProtocol.js";
|
||||
"./pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords.js";
|
||||
"./pages/PKMessageprocessing/PKMessageprocessing.js";
|
||||
"./pages/index/index.js";
|
||||
"./pages/login/login.js";
|
||||
"./pages/Forum/Forum.js";
|
||||
"./pages/UserInformation/UserInformation.js";
|
||||
"./pages/Setting/Setting.js";
|
||||
"./pages/NewAddedPk/NewAddedPk.js";
|
||||
@@ -34,6 +36,7 @@ const _sfc_main = {
|
||||
};
|
||||
},
|
||||
onLoad(option) {
|
||||
AutomaticCleaning();
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
@@ -44,6 +47,17 @@ const _sfc_main = {
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
//自动清理缓存
|
||||
AutomaticCleaning() {
|
||||
const lastCleanTime = common_vendor.index.getStorageSync("last_clean_time") || 0;
|
||||
const now = Date.now();
|
||||
if (now - lastCleanTime < 7 * 24 * 3600 * 1e3)
|
||||
return;
|
||||
common_vendor.index.clearStorage();
|
||||
common_vendor.index.setStorageSync("last_clean_time", now);
|
||||
}
|
||||
},
|
||||
provide() {
|
||||
return {
|
||||
$global: {
|
||||
|
||||
6
unpackage/dist/dev/mp-weixin/app.json
vendored
@@ -6,10 +6,12 @@
|
||||
"pages/Mine/minecomponents/contact",
|
||||
"pages/Mine/minecomponents/pkInformation",
|
||||
"pages/Mine/minecomponents/recompose/recompose",
|
||||
"pages/Mine/minecomponents/serviceProtocol",
|
||||
"pages/Mine/minecomponents/DetailsPKRecords/DetailsPKRecords",
|
||||
"pages/PKMessageprocessing/PKMessageprocessing",
|
||||
"pages/index/index",
|
||||
"pages/login/login",
|
||||
"pages/Forum/Forum",
|
||||
"pages/UserInformation/UserInformation",
|
||||
"pages/Setting/Setting",
|
||||
"pages/NewAddedPk/NewAddedPk",
|
||||
@@ -48,6 +50,10 @@
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"text": "聊天"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/Forum/Forum",
|
||||
"text": "论坛"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
|
Before Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 7.9 KiB |
@@ -1,6 +0,0 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="编组 9备份 4" opacity="0.795169">
|
||||
<rect id="矩形" x="1.5" y="14.5" width="13" height="13" rx="1.75" transform="rotate(-90 1.5 14.5)" stroke="#D5E0F2" style="stroke:#D5E0F2;"/>
|
||||
<path id="星形" fill-rule="evenodd" clip-rule="evenodd" d="M8.09307 10.0489C8.0348 10.0183 7.9652 10.0183 7.90693 10.0489L6.00755 11.0475C5.86083 11.1246 5.68934 11 5.71736 10.8367L6.08011 8.72167C6.09124 8.65679 6.06973 8.59059 6.02259 8.54464L4.48596 7.0468C4.36726 6.93109 4.43276 6.7295 4.59681 6.70566L6.72038 6.39709C6.78552 6.38762 6.84183 6.34671 6.87096 6.28768L7.82065 4.3634C7.89402 4.21475 8.10598 4.21475 8.17935 4.3634L9.12904 6.28768C9.15817 6.34671 9.21448 6.38762 9.27962 6.39709L11.4032 6.70566C11.5672 6.7295 11.6327 6.93109 11.514 7.0468L9.97741 8.54464C9.93027 8.59059 9.90876 8.65679 9.91989 8.72167L10.2826 10.8367C10.3107 11 10.1392 11.1246 9.99245 11.0475L8.09307 10.0489Z" stroke="#D5E0F2" style="stroke:#D5E0F2;"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.2 KiB |
@@ -1,7 +0,0 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="编组 9备份 4" opacity="0.795169">
|
||||
<rect id="矩形" x="1.5" y="14.5" width="13" height="13" rx="1.75" transform="rotate(-90 1.5 14.5)" stroke="#232832" style="stroke:#232832;stroke:color(display-p3 0.1360 0.1574 0.1949);stroke-opacity:1;"/>
|
||||
<path id="星形" fill-rule="evenodd" clip-rule="evenodd" d="M8.09307 10.0489C8.0348 10.0183 7.9652 10.0183 7.90693 10.0489L6.00755 11.0475C5.86083 11.1246 5.68934 11 5.71736 10.8367L6.08011 8.72167C6.09124 8.65679 6.06973 8.59059 6.02259 8.54464L4.48596 7.0468C4.36726 6.93109 4.43276 6.7295 4.59681 6.70566L6.72038 6.39709C6.78552 6.38762 6.84183 6.34671 6.87096 6.28768L7.82065 4.3634C7.89402 4.21475 8.10598 4.21475 8.17935 4.3634L9.12904 6.28768C9.15817 6.34671 9.21448 6.38762 9.27962 6.39709L11.4032 6.70566C11.5672 6.7295 11.6327 6.93109 11.514 7.0468L9.97741 8.54464C9.93027 8.59059 9.90876 8.65679 9.91989 8.72167L10.2826 10.8367C10.3107 11 10.1392 11.1246 9.99245 11.0475L8.09307 10.0489Z" stroke="#232832" style="stroke:#232832;stroke:color(display-p3 0.1360 0.1574 0.1949);stroke-opacity:1;"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
10
unpackage/dist/dev/mp-weixin/common/assets.js
vendored
@@ -62,15 +62,10 @@ const cameraUniIcon = "/assets/camera-uni.e7fd6e1a.png";
|
||||
const videoIconLight = "/assets/video-light.48615dd3.svg";
|
||||
const videoIconDark = "/assets/video-dark.e7ceead3.svg";
|
||||
const videoUniIcon = "/assets/video-uni.0b4d3e53.png";
|
||||
const evaluateIconLight = "/assets/evalute-light.8db79ed8.svg";
|
||||
const evaluateIconDark = "/assets/evalute-dark.e265e635.svg";
|
||||
const starIcon = "/assets/star.8a9a7e2e.png";
|
||||
const wordsIconLight = "/assets/words-light.c8aec883.svg";
|
||||
const wordsIconDark = "/assets/words-dark.6a706f9a.svg";
|
||||
const faceIconLight = "/assets/face-light.b3a6acfa.svg";
|
||||
const faceIconDark = "/assets/face-dark.1ce4b9fa.svg";
|
||||
const InvitationDark = "/assets/InvitationDark.c8a31c9e.png";
|
||||
const InvitationLight = "/assets/InvitationLight.ee30129f.png";
|
||||
const SearchDefaultIcon = "/assets/search-default.0969a8df.svg";
|
||||
const delIcon = "/assets/del-icon.e0d1d417.svg";
|
||||
const plusSVG = "/assets/plus.dfad243b.svg";
|
||||
@@ -92,8 +87,6 @@ exports.AddIcon = AddIcon;
|
||||
exports.C2C = C2C;
|
||||
exports.ForwardEachIcon = ForwardEachIcon;
|
||||
exports.ForwardMergeIcon = ForwardMergeIcon;
|
||||
exports.InvitationDark = InvitationDark;
|
||||
exports.InvitationLight = InvitationLight;
|
||||
exports.SearchDefaultIcon = SearchDefaultIcon;
|
||||
exports._imports_0 = _imports_0;
|
||||
exports._imports_0$1 = _imports_0$2;
|
||||
@@ -137,8 +130,6 @@ exports.delIcon$1 = delIcon;
|
||||
exports.doubleArrowIcon = doubleArrowIcon;
|
||||
exports.downSVG = downSVG;
|
||||
exports.editIcon = editIcon;
|
||||
exports.evaluateIconDark = evaluateIconDark;
|
||||
exports.evaluateIconLight = evaluateIconLight;
|
||||
exports.faceIcon = faceIcon;
|
||||
exports.faceIconDark = faceIconDark;
|
||||
exports.faceIconLight = faceIconLight;
|
||||
@@ -169,7 +160,6 @@ exports.selectedIcon = selectedIcon;
|
||||
exports.settingSVG = settingSVG;
|
||||
exports.star = star$1;
|
||||
exports.star$1 = star;
|
||||
exports.starIcon = starIcon;
|
||||
exports.starLine = starLine;
|
||||
exports.translateIcon = translateIcon;
|
||||
exports.videoIconDark = videoIconDark;
|
||||
|
||||
@@ -8012,7 +8012,7 @@ function isConsoleWritable() {
|
||||
function initRuntimeSocketService() {
|
||||
const hosts = "192.168.1.112,127.0.0.1";
|
||||
const port = "8090";
|
||||
const id = "mp-weixin_-W8ZIk";
|
||||
const id = "mp-weixin_HMF9Aw";
|
||||
const lazy = typeof swan !== "undefined";
|
||||
let restoreError = lazy ? () => {
|
||||
} : initOnError();
|
||||
|
||||
@@ -3,5 +3,7 @@
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
background: #ffffff;
|
||||
border: 1px solid #e5e5e5;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
/* 样式定义 */
|
||||
|
||||
@@ -1,125 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const components_request = require("../request.js");
|
||||
const components_formatDate = require("../formatDate.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
inject: ["$global"],
|
||||
data() {
|
||||
return {
|
||||
page: 0,
|
||||
//页码
|
||||
size: 10,
|
||||
//每页条数
|
||||
list: [],
|
||||
// 列表数据
|
||||
detailsdata: {}
|
||||
//详情数据
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.pkList();
|
||||
},
|
||||
methods: {
|
||||
onRefresherRefresh() {
|
||||
this.page = 0;
|
||||
this.list = [];
|
||||
this.pkList();
|
||||
},
|
||||
async goDetail(item) {
|
||||
common_vendor.index.showLoading({
|
||||
title: "加载中...",
|
||||
mask: true
|
||||
});
|
||||
common_vendor.index.__f__("log", "at components/contentList/contentList.vue:75", "id", item.id);
|
||||
const res = await components_request.request({
|
||||
url: "pk/pkInfoDetail",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: item.id
|
||||
},
|
||||
userInfo: true
|
||||
});
|
||||
common_vendor.index.__f__("log", "at components/contentList/contentList.vue:84", "res", res);
|
||||
this.detailsdata = res.data;
|
||||
if (res.code === 200) {
|
||||
if (res.data.length !== 0) {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.__f__("log", "at components/contentList/contentList.vue:89", "res.data", res.data);
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/pkDetail/pkDetail",
|
||||
success: (res2) => {
|
||||
res2.eventChannel.emit("itemDetail", {
|
||||
item: this.detailsdata
|
||||
});
|
||||
}
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.hideLoading();
|
||||
this.openPopupQuantity();
|
||||
}
|
||||
} else {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.showToast({
|
||||
title: "加载失败",
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
}
|
||||
},
|
||||
formatDate: components_formatDate.formatDate,
|
||||
async pkList() {
|
||||
const res = await components_request.request({
|
||||
url: "pk/pkList",
|
||||
method: "POST",
|
||||
data: {
|
||||
status: 0,
|
||||
page: this.page,
|
||||
size: this.size
|
||||
},
|
||||
userInfo: false
|
||||
});
|
||||
common_vendor.index.__f__("log", "at components/contentList/contentList.vue:123", res);
|
||||
if (res.code === 200) {
|
||||
this.list.push(...res.data);
|
||||
common_vendor.index.__f__("log", "at components/contentList/contentList.vue:126", this.list);
|
||||
}
|
||||
},
|
||||
onScrollToLower() {
|
||||
this.page++;
|
||||
this.pkList();
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _component_uni_card = common_vendor.resolveComponent("uni-card");
|
||||
_component_uni_card();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.f($data.list, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.anchorIcon,
|
||||
b: common_vendor.t(item.anchorId),
|
||||
c: item.sex === "2"
|
||||
}, item.sex === "2" ? {
|
||||
d: common_assets._imports_0$2
|
||||
} : {
|
||||
e: common_assets._imports_1$1
|
||||
}, {
|
||||
f: common_vendor.t(item.sex === "1" ? "男" : "女"),
|
||||
g: item.sex === "1" ? 1 : "",
|
||||
h: item.sex === "2" ? 1 : "",
|
||||
i: common_vendor.t($options.formatDate(item.pkTime)),
|
||||
j: common_vendor.t(item.coin + "K"),
|
||||
k: common_vendor.o$1(($event) => $options.goDetail(item)),
|
||||
l: "4813d59a-0-" + i0
|
||||
});
|
||||
}),
|
||||
b: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
c: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args))
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4813d59a"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/contentList/contentList.js.map
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<scroll-view scroll-y="true" class="scroll data-v-4813d59a" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{b}}" lower-threshold="100" bindscrolltolower="{{c}}"><uni-card wx:for="{{a}}" wx:for-item="item" class="data-v-4813d59a" u-s="{{['d']}}" u-i="{{item.l}}" bind:__l="__l"><view class="content-list data-v-4813d59a" bindtap="{{item.k}}"><image class="headShot data-v-4813d59a" src="{{item.a}}" mode="scaleToFill"/><view class="content-list-title data-v-4813d59a"><view class="cardname data-v-4813d59a">{{item.b}}</view><view class="content-list-info data-v-4813d59a"><view class="{{['data-v-4813d59a', item.g && 'Gendermale', item.h && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-4813d59a" src="{{item.d}}" mode="scaleToFill"/><image wx:else class="Genderimg data-v-4813d59a" src="{{item.e}}" mode="scaleToFill"/><view class="age data-v-4813d59a">{{item.f}}</view></view><view class="RoomID data-v-4813d59a">PK时间: {{item.i}}</view><view class="Charm data-v-4813d59a">金币:</view><view class="charmValue data-v-4813d59a">{{item.j}}</view></view></view></view></uni-card></scroll-view>
|
||||
@@ -1,80 +0,0 @@
|
||||
|
||||
.scroll.data-v-4813d59a {
|
||||
height: 90%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.content-list.data-v-4813d59a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 712rpx;
|
||||
height: 161rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 15rpx;
|
||||
margin-bottom: 12rpx;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.headShot.data-v-4813d59a {
|
||||
width: 101rpx;
|
||||
height: 101rpx;
|
||||
border-radius: 50rpx;
|
||||
margin-left: 30rpx;
|
||||
margin-right: 33rpx;
|
||||
}
|
||||
.content-list-info.data-v-4813d59a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.cardname.data-v-4813d59a {
|
||||
font-size: 31rpx;
|
||||
color: #161616;
|
||||
line-height: 38rpx;
|
||||
}
|
||||
.Genderimg.data-v-4813d59a {
|
||||
width: 15rpx;
|
||||
height: 15rpx;
|
||||
margin-left: 10rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.age.data-v-4813d59a {
|
||||
color: #ffffff;
|
||||
font-size: 14rpx;
|
||||
}
|
||||
.Gendermale.data-v-4813d59a {
|
||||
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-4813d59a {
|
||||
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-4813d59a {
|
||||
font-size: 23rpx;
|
||||
color: #a3a3a3;
|
||||
line-height: 38rpx;
|
||||
}
|
||||
.Charm.data-v-4813d59a {
|
||||
font-size: 23rpx;
|
||||
color: #a3a3a3;
|
||||
line-height: 38rpx;
|
||||
margin-right: 12rpx;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.charmValue.data-v-4813d59a {
|
||||
font-size: 23rpx;
|
||||
color: #161616;
|
||||
line-height: 38rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
@@ -23,7 +23,7 @@ const _sfc_main = {
|
||||
iconPath: "../../static/Forum.png",
|
||||
selectedIconPath: "../../static/Forumclick.png",
|
||||
text: "论坛",
|
||||
pagePath: "",
|
||||
pagePath: "/pages/Forum/Forum",
|
||||
middleClass: ""
|
||||
},
|
||||
{
|
||||
|
||||
@@ -10,14 +10,14 @@ const _sfc_main = {
|
||||
onLoad() {
|
||||
},
|
||||
methods: {
|
||||
RealTimePk() {
|
||||
this.Select = true;
|
||||
this.$emit("RealTimePk");
|
||||
},
|
||||
MakeAppointmentPK() {
|
||||
this.Select = false;
|
||||
this.$emit("MakeAppointmentPK");
|
||||
},
|
||||
RealTimePk() {
|
||||
this.Select = true;
|
||||
this.$emit("RealTimePk");
|
||||
},
|
||||
screening() {
|
||||
this.$emit("screening");
|
||||
},
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="topNavigation data-v-ce2f6748"><view bindtap="{{a}}" class="{{[b && 'Selectcss', c && 'NoSelectcss', 'RealTime', 'data-v-ce2f6748']}}">PK大厅</view><view bindtap="{{d}}" class="{{[e && 'Selectcss', f && 'NoSelectcss', 'MakeAppointment', 'data-v-ce2f6748']}}">今日PK</view></view>
|
||||
<view class="topNavigation data-v-ce2f6748"><view bindtap="{{a}}" class="{{[b && 'Selectcss', c && 'NoSelectcss', 'RealTime', 'data-v-ce2f6748']}}">今日PK</view><view bindtap="{{d}}" class="{{[e && 'Selectcss', f && 'NoSelectcss', 'MakeAppointment', 'data-v-ce2f6748']}}">PK大厅</view></view>
|
||||
35
unpackage/dist/dev/mp-weixin/pages/Forum/Forum.js
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const tabBar = () => "../../components/tabBar/tabBar.js";
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
title: "Hello"
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
},
|
||||
methods: {
|
||||
// 方法定义
|
||||
},
|
||||
components: {
|
||||
tabBar
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_tabBar2 = common_vendor.resolveComponent("tabBar");
|
||||
_easycom_tabBar2();
|
||||
}
|
||||
const _easycom_tabBar = () => "../../components/tabBar/tabBar.js";
|
||||
if (!Math) {
|
||||
_easycom_tabBar();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_assets._imports_0$1
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-21360a99"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/Forum/Forum.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pages/Forum/Forum.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "论坛",
|
||||
"usingComponents": {
|
||||
"tab-bar": "../../components/tabBar/tabBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/Forum/Forum.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="forum data-v-21360a99"><view class="bg data-v-21360a99"><image class="bgImg data-v-21360a99" src="{{a}}" mode="scaleToFill"/></view><view class="title data-v-21360a99">论坛</view></view><view class="tabBar data-v-21360a99"><tab-bar class="data-v-21360a99" u-i="21360a99-0" bind:__l="__l"></tab-bar></view>
|
||||
21
unpackage/dist/dev/mp-weixin/pages/Forum/Forum.wxss
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
.bg.data-v-21360a99 {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.bgImg.data-v-21360a99 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.title.data-v-21360a99 {
|
||||
position: absolute;
|
||||
top: 120rpx;
|
||||
left: 345rpx;
|
||||
font-size: 34rpx;
|
||||
color: #100e0f;
|
||||
font-weight: bold;
|
||||
}
|
||||
60
unpackage/dist/dev/mp-weixin/pages/Home/Home.js
vendored
@@ -24,12 +24,19 @@ const _sfc_main = {
|
||||
// 列表数据
|
||||
detailsdata: {},
|
||||
//详情数据
|
||||
triggered: false
|
||||
triggered: false,
|
||||
//下拉刷新标识
|
||||
RealTimePklist: [],
|
||||
// PK大厅列表数据
|
||||
MakeAppointmentPKlist: [],
|
||||
// 今日PK列表数据
|
||||
listtype: 1
|
||||
// 列表类型 1 当天 2 大于当天
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.pkList();
|
||||
this.pkList({ type: 2 });
|
||||
this.pkList({ type: 1 });
|
||||
},
|
||||
onLoad() {
|
||||
common_vendor.index.getStorage({
|
||||
@@ -54,11 +61,13 @@ const _sfc_main = {
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
goRealTimePk() {
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:123", "goRealTimePk");
|
||||
},
|
||||
goMakeAppointmentPK() {
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:126", "goMakeAppointmentPK");
|
||||
this.listtype = 1;
|
||||
this.list = this.MakeAppointmentPKlist;
|
||||
},
|
||||
goRealTimePk() {
|
||||
this.listtype = 2;
|
||||
this.list = this.RealTimePklist;
|
||||
},
|
||||
goAdvertisement() {
|
||||
common_vendor.index.navigateTo({ url: "/pages/pkDetail/pkDetail" });
|
||||
@@ -66,15 +75,20 @@ const _sfc_main = {
|
||||
onRefresherRefresh() {
|
||||
this.page = 0;
|
||||
this.list = [];
|
||||
if (this.listtype === 1) {
|
||||
this.MakeAppointmentPKlist = [];
|
||||
} else {
|
||||
this.RealTimePklist = [];
|
||||
}
|
||||
this.triggered = true;
|
||||
this.pkList();
|
||||
this.pkList({ type: this.listtype });
|
||||
},
|
||||
async goDetail(item) {
|
||||
common_vendor.index.showLoading({
|
||||
title: "加载中...",
|
||||
mask: true
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:143", "id", item.id);
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:147", "id", item.id);
|
||||
const res = await components_request.request({
|
||||
url: "pk/pkInfoDetail",
|
||||
method: "POST",
|
||||
@@ -83,12 +97,12 @@ const _sfc_main = {
|
||||
},
|
||||
userInfo: true
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:152", "res", res);
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:156", "res", res);
|
||||
this.detailsdata = res.data;
|
||||
if (res.code === 200) {
|
||||
if (res.data.length !== 0) {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:157", "res.data", res.data);
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:161", "res.data", res.data);
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/pkDetail/pkDetail",
|
||||
success: (res2) => {
|
||||
@@ -111,29 +125,35 @@ const _sfc_main = {
|
||||
}
|
||||
},
|
||||
formatDate: components_formatDate.formatDate,
|
||||
async pkList() {
|
||||
async pkList(condition) {
|
||||
const res = await components_request.request({
|
||||
url: "pk/pkList",
|
||||
method: "POST",
|
||||
data: {
|
||||
status: 0,
|
||||
page: this.page,
|
||||
size: this.size
|
||||
size: this.size,
|
||||
condition
|
||||
},
|
||||
userInfo: false
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:191", res);
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:197", res);
|
||||
if (res.code === 200) {
|
||||
this.list.push(...res.data);
|
||||
common_vendor.index.__f__("log", "at pages/Home/Home.vue:194", this.list);
|
||||
this.triggered = false;
|
||||
if (condition.type === 1) {
|
||||
this.MakeAppointmentPKlist.push(...res.data);
|
||||
this.list = this.MakeAppointmentPKlist;
|
||||
} else {
|
||||
this.RealTimePklist.push(...res.data);
|
||||
this.list = this.RealTimePklist;
|
||||
}
|
||||
}
|
||||
},
|
||||
onScrollToLower() {
|
||||
this.page++;
|
||||
this.pkList();
|
||||
}
|
||||
},
|
||||
onScrollToLower() {
|
||||
this.page++;
|
||||
this.pkList({ type: this.listtype });
|
||||
},
|
||||
components: {
|
||||
topNavigation,
|
||||
Advertisement,
|
||||
@@ -177,7 +197,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
});
|
||||
}),
|
||||
f: common_vendor.o$1((...args) => $options.onRefresherRefresh && $options.onRefresherRefresh(...args)),
|
||||
g: common_vendor.o$1((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
|
||||
g: common_vendor.o$1((...args) => _ctx.onScrollToLower && _ctx.onScrollToLower(...args)),
|
||||
h: $data.triggered
|
||||
};
|
||||
}
|
||||
|
||||
53
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
@@ -2,6 +2,7 @@
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const components_request = require("../../components/request.js");
|
||||
const components_formatDate = require("../../components/formatDate.js");
|
||||
const components_TimeFormatting = require("../../components/TimeFormatting.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const tabBar = () => "../../components/tabBar/tabBar.js";
|
||||
const _sfc_main = {
|
||||
@@ -17,7 +18,7 @@ const _sfc_main = {
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.userinfo = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:132", this.userinfo);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:133", this.userinfo);
|
||||
this.getpkInformation();
|
||||
this.getmyPkRecord();
|
||||
}
|
||||
@@ -25,6 +26,7 @@ const _sfc_main = {
|
||||
},
|
||||
methods: {
|
||||
formatDate: components_formatDate.formatDate,
|
||||
TimeFormatting: components_TimeFormatting.TimeFormatting,
|
||||
//获取pk信息
|
||||
getpkInformation() {
|
||||
components_request.request({
|
||||
@@ -39,9 +41,9 @@ const _sfc_main = {
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.pkInformationdata = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:154", this.pkInformationdata);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:156", this.pkInformationdata);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:156", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:158", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -60,9 +62,9 @@ const _sfc_main = {
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.myPkRecorddata = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:175", this.myPkRecorddata);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:177", this.myPkRecorddata);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:177", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:179", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -90,20 +92,15 @@ const _sfc_main = {
|
||||
url: "/pages/Setting/Setting"
|
||||
});
|
||||
},
|
||||
// 跳转到服务协议页面
|
||||
serviceProtocol() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/Mine/minecomponents/serviceProtocol"
|
||||
});
|
||||
},
|
||||
// 退出登录
|
||||
logout() {
|
||||
common_vendor.index.removeStorage({
|
||||
key: "chatInfo"
|
||||
});
|
||||
common_vendor.index.removeStorage({
|
||||
key: "userinfo"
|
||||
});
|
||||
common_vendor.index.removeStorage({
|
||||
key: "userSig"
|
||||
});
|
||||
common_vendor.index.removeStorage({
|
||||
key: "lastPage"
|
||||
});
|
||||
common_vendor.index.clearStorage();
|
||||
common_vendor.index.reLaunch({
|
||||
url: "/pages/login/login"
|
||||
});
|
||||
@@ -140,11 +137,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}),
|
||||
i: common_assets._imports_2$1,
|
||||
j: common_vendor.o$1((...args) => $options.pkRecord && $options.pkRecord(...args)),
|
||||
k: common_assets._imports_3$1,
|
||||
l: common_vendor.o$1((...args) => $options.contact && $options.contact(...args)),
|
||||
m: common_assets._imports_4,
|
||||
n: common_assets._imports_5,
|
||||
o: common_vendor.o$1((...args) => $options.logout && $options.logout(...args))
|
||||
k: common_vendor.f($data.myPkRecorddata, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.anchorIconA,
|
||||
b: item.winnerAnchorId !== item.anchorIdA
|
||||
}, item.winnerAnchorId !== item.anchorIdA ? {} : item.winnerAnchorId === item.anchorIdA ? {} : {}, {
|
||||
c: item.winnerAnchorId === item.anchorIdA,
|
||||
d: common_vendor.t(item.pkNumber),
|
||||
e: common_vendor.t($options.TimeFormatting(item.pkTime)),
|
||||
f: index
|
||||
});
|
||||
}),
|
||||
l: common_assets._imports_3$1,
|
||||
m: common_vendor.o$1((...args) => $options.contact && $options.contact(...args)),
|
||||
n: common_assets._imports_4,
|
||||
o: common_vendor.o$1((...args) => $options.serviceProtocol && $options.serviceProtocol(...args)),
|
||||
p: common_assets._imports_5,
|
||||
q: common_vendor.o$1((...args) => $options.logout && $options.logout(...args))
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-402ad917"]]);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="container data-v-402ad917"><view class="bg data-v-402ad917"><image class="bgImg data-v-402ad917" src="{{a}}" mode="scaleToFill"/></view><view class="PersonalInformation data-v-402ad917"><view class="header data-v-402ad917"><image src="{{b}}" mode="scaleToFill" class="headerIcon data-v-402ad917"/></view><view class="data-v-402ad917"><view class="name data-v-402ad917">{{c}}</view></view><view class="Settings data-v-402ad917" bindtap="{{e}}"><image class="SettingsIcon data-v-402ad917" src="{{d}}" mode="scaleToFill"/></view></view><view class="content data-v-402ad917"><view class="PKInformation data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">PK信息</view><view class="titleLine data-v-402ad917"></view><view class="titleMore data-v-402ad917" bindtap="{{g}}">更多PK信息<image class="data-v-402ad917" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="{{f}}" mode="scaleToFill"/></view></view><view class="card data-v-402ad917"><view wx:for="{{h}}" wx:for-item="item" wx:key="d" class="cardContent data-v-402ad917"><view class="cardImg data-v-402ad917"><image class="data-v-402ad917" src="{{item.a}}" mode="scaleToFill"/></view><view class="Time data-v-402ad917">{{item.b}}</view><view class="gold data-v-402ad917">{{item.c}}K</view></view></view></view><view class="myPkRecord data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">我的PK记录</view><view class="titleLine data-v-402ad917"></view><view class="myPkRecordMore data-v-402ad917" bindtap="{{j}}">更多PK记录<image class="data-v-402ad917" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="{{i}}" mode="scaleToFill"/></view></view><view class="card data-v-402ad917"><view class="cardContent data-v-402ad917"><view class="cardImg data-v-402ad917"><image class="data-v-402ad917" src="{{''}}" mode="scaleToFill"/></view><view class="Result data-v-402ad917"> 胜利 </view><view class="Session data-v-402ad917"> 共一场 </view><view class="Time data-v-402ad917"> 20:30 </view></view></view></view><view class="PKInformation data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">专属客服</view><view class="titleLine data-v-402ad917"></view></view></view><view class="card data-v-402ad917"><view class="service data-v-402ad917" bindtap="{{l}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="{{k}}" mode="scaleToFill"/><view class="cardtext data-v-402ad917">联系客服</view></view><view class="service data-v-402ad917"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="{{m}}" mode="scaleToFill"/><view class="cardtext data-v-402ad917">服务协议</view></view><view class="service data-v-402ad917" bindtap="{{o}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="{{n}}" mode="scaleToFill"/><view class="cardtext data-v-402ad917">退出登录</view></view></view></view></view><view class="copyright data-v-402ad917">版权所有 © 2025 ...................</view><view class="tabBar data-v-402ad917"><tab-bar class="data-v-402ad917" u-i="402ad917-0" bind:__l="__l"></tab-bar></view>
|
||||
<view class="container data-v-402ad917"><view class="bg data-v-402ad917"><image class="bgImg data-v-402ad917" src="{{a}}" mode="scaleToFill"/></view><view class="PersonalInformation data-v-402ad917"><view class="header data-v-402ad917"><image src="{{b}}" mode="scaleToFill" class="headerIcon data-v-402ad917"/></view><view class="data-v-402ad917"><view class="name data-v-402ad917">{{c}}</view></view><view class="Settings data-v-402ad917" bindtap="{{e}}"><image class="SettingsIcon data-v-402ad917" src="{{d}}" mode="scaleToFill"/></view></view><view class="content data-v-402ad917"><view class="PKInformation data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">PK信息</view><view class="titleLine data-v-402ad917"></view><view class="titleMore data-v-402ad917" bindtap="{{g}}">更多PK信息<image class="data-v-402ad917" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="{{f}}" mode="scaleToFill"/></view></view><view class="card data-v-402ad917"><view wx:for="{{h}}" wx:for-item="item" wx:key="d" class="cardContent data-v-402ad917"><view class="cardImg data-v-402ad917"><image class="data-v-402ad917" src="{{item.a}}" mode="scaleToFill"/></view><view class="Time data-v-402ad917">{{item.b}}</view><view class="gold data-v-402ad917">{{item.c}}K</view></view></view></view><view class="myPkRecord data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">我的PK记录</view><view class="titleLine data-v-402ad917"></view><view class="myPkRecordMore data-v-402ad917" bindtap="{{j}}">更多PK记录<image class="data-v-402ad917" style="width:10.5rpx;height:20.04rpx;margin-left:10rpx" src="{{i}}" mode="scaleToFill"/></view></view><view class="card data-v-402ad917"><view wx:for="{{k}}" wx:for-item="item" wx:key="f" class="cardContent data-v-402ad917"><view class="cardImg data-v-402ad917"><image class="data-v-402ad917" src="{{item.a}}" mode="scaleToFill"/></view><view wx:if="{{item.b}}" class="Failure data-v-402ad917"> 失败 </view><view wx:elif="{{item.c}}" class="Result data-v-402ad917"> 胜利 </view><view class="Session data-v-402ad917"> 共{{item.d}}场 </view><view class="Time data-v-402ad917">{{item.e}}</view></view></view></view><view class="PKInformation data-v-402ad917"><view class="title data-v-402ad917"><view class="titleText data-v-402ad917">专属客服</view><view class="titleLine data-v-402ad917"></view></view></view><view class="card data-v-402ad917"><view class="service data-v-402ad917" bindtap="{{m}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="{{l}}" mode="scaleToFill"/><view class="cardtext data-v-402ad917">联系客服</view></view><view class="service data-v-402ad917" bindtap="{{o}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="{{n}}" mode="scaleToFill"/><view class="cardtext data-v-402ad917">服务协议</view></view><view class="service data-v-402ad917" bindtap="{{q}}"><image class="data-v-402ad917" style="width:48.28rpx;height:48.09rpx" src="{{p}}" mode="scaleToFill"/><view class="cardtext data-v-402ad917">退出登录</view></view></view></view></view><view class="copyright data-v-402ad917">版权所有 © 2025 ...................</view><view class="tabBar data-v-402ad917"><tab-bar class="data-v-402ad917" u-i="402ad917-0" bind:__l="__l"></tab-bar></view>
|
||||
@@ -1,5 +1,6 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
@@ -9,11 +10,19 @@ const _sfc_main = {
|
||||
onLoad() {
|
||||
},
|
||||
methods: {
|
||||
// 方法定义
|
||||
onBack() {
|
||||
common_vendor.wx$1.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {};
|
||||
return {
|
||||
a: common_assets._imports_0$1,
|
||||
b: common_assets._imports_1,
|
||||
c: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args))
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2f1f017b"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="contact data-v-2f1f017b"><view class="data-v-2f1f017b">联系方式</view></view>
|
||||
<view class="contact data-v-2f1f017b"><view class="bg data-v-2f1f017b"><image class="bgImg data-v-2f1f017b" src="{{a}}" mode="scaleToFill"/></view><view class="Return data-v-2f1f017b" bindtap="{{c}}"><image class="ReturnImg data-v-2f1f017b" src="{{b}}" mode="scaleToFill"/></view><view class="title data-v-2f1f017b">联系客服</view></view>
|
||||
@@ -1,8 +1,32 @@
|
||||
|
||||
.contact.data-v-2f1f017b{
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
.bg.data-v-2f1f017b {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.bgImg.data-v-2f1f017b {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.Return.data-v-2f1f017b {
|
||||
position: absolute;
|
||||
top: 110rpx;
|
||||
left: 35rpx;
|
||||
width: 46rpx;
|
||||
height: 46rpx;
|
||||
}
|
||||
.title.data-v-2f1f017b {
|
||||
position: absolute;
|
||||
top: 120rpx;
|
||||
left: 315rpx;
|
||||
font-size: 34rpx;
|
||||
color: #100e0f;
|
||||
font-weight: 500;
|
||||
}
|
||||
.ReturnImg.data-v-2f1f017b {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@@ -20,32 +20,7 @@ const _sfc_main = {
|
||||
// PK记录列表
|
||||
pkInvitationRecordlist: [],
|
||||
// PK记录列表
|
||||
pkRecordlist: [
|
||||
{
|
||||
winnerId: "1",
|
||||
pkTime: "1626211200",
|
||||
anchorIdA: "123",
|
||||
anchorIconA: "https://img.yzcdn.cn/vant/cat.jpeg",
|
||||
userAcoin: "100",
|
||||
anchorIdB: "456",
|
||||
anchorIconB: "https://img.yzcdn.cn/vant/dog.jpeg",
|
||||
userBcoin: "200",
|
||||
senderA: "123",
|
||||
senderB: "456"
|
||||
},
|
||||
{
|
||||
winnerId: "2",
|
||||
pkTime: "1626211200",
|
||||
anchorIdA: "789",
|
||||
anchorIconA: "https://img.yzcdn.cn/vant/cat.jpeg",
|
||||
userAcoin: "100",
|
||||
anchorIdB: "101",
|
||||
anchorIconB: "https://img.yzcdn.cn/vant/dog.jpeg",
|
||||
userBcoin: "200",
|
||||
senderA: "789",
|
||||
senderB: "101"
|
||||
}
|
||||
],
|
||||
pkRecordlist: [],
|
||||
// PK记录列表
|
||||
userinfo: {},
|
||||
// 用户信息
|
||||
@@ -116,19 +91,19 @@ const _sfc_main = {
|
||||
this.triggered = false;
|
||||
if (type === 1) {
|
||||
this.pkmyRecordlist.push(...res.data);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:197", this.pkRecordlist);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:173", this.pkRecordlist);
|
||||
if (this.current === 1) {
|
||||
this.pkRecordlist = this.pkmyRecordlist;
|
||||
}
|
||||
} else {
|
||||
this.pkInvitationRecordlist.push(...res.data);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:203", this.pkInvitationRecordlist);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:179", this.pkInvitationRecordlist);
|
||||
if (this.current === 2) {
|
||||
this.pkRecordlist = this.pkInvitationRecordlist;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:209", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/minecomponents/pkRecord.vue:185", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
29
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/serviceProtocol.js
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
title: "Hello"
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
},
|
||||
methods: {
|
||||
onBack() {
|
||||
common_vendor.wx$1.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_assets._imports_0$1,
|
||||
b: common_assets._imports_1,
|
||||
c: common_vendor.o$1((...args) => $options.onBack && $options.onBack(...args))
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-38749331"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Mine/minecomponents/serviceProtocol.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/serviceProtocol.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "服务协议",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/serviceProtocol.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="service-protocol data-v-38749331"><view class="bg data-v-38749331"><image class="bgImg data-v-38749331" src="{{a}}" mode="scaleToFill"/></view><view class="Return data-v-38749331" bindtap="{{c}}"><image class="ReturnImg data-v-38749331" src="{{b}}" mode="scaleToFill"/></view><view class="title data-v-38749331">服务协议</view></view>
|
||||
32
unpackage/dist/dev/mp-weixin/pages/Mine/minecomponents/serviceProtocol.wxss
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
.bg.data-v-38749331 {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.bgImg.data-v-38749331 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.Return.data-v-38749331 {
|
||||
position: absolute;
|
||||
top: 110rpx;
|
||||
left: 35rpx;
|
||||
width: 46rpx;
|
||||
height: 46rpx;
|
||||
}
|
||||
.title.data-v-38749331 {
|
||||
position: absolute;
|
||||
top: 120rpx;
|
||||
left: 315rpx;
|
||||
font-size: 34rpx;
|
||||
color: #100e0f;
|
||||
font-weight: 500;
|
||||
}
|
||||
.ReturnImg.data-v-38749331 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<view wx:if="{{a}}" class="{{['data-v-96d38e2b', F, 'Mask']}}" bindtap="{{G}}"><view catchtap="{{E}}" class="containers data-v-96d38e2b"><view class="container data-v-96d38e2b"><image class="Fork data-v-96d38e2b" bindtap="{{b}}" src="{{c}}" mode="scaleToFill"/><view class="Titlecss data-v-96d38e2b"><view class="Star data-v-96d38e2b"></view><view class="Title data-v-96d38e2b"></view><view class="Star data-v-96d38e2b"></view></view><view class="NameAnchor data-v-96d38e2b"><input class="NameAnchorcss data-v-96d38e2b" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{d}}" placeholder="主播名称"/><view wx:if="{{e}}" class="Hint data-v-96d38e2b">请填写主播名称</view></view><view class="Accountnumber data-v-96d38e2b"><view class="Coins country data-v-96d38e2b"><wht-select wx:if="{{g}}" class="data-v-96d38e2b" style="width:350rpx" bindchange="{{f}}" u-i="96d38e2b-0" bind:__l="__l" u-p="{{g}}"/><view wx:if="{{h}}" class="Hint data-v-96d38e2b">请选择国家</view></view><view class="Gender data-v-96d38e2b"><view class="Gendercs data-v-96d38e2b"><view class="Gendercss data-v-96d38e2b"><wht-select wx:if="{{j}}" class="data-v-96d38e2b" style="width:300rpx" bindchange="{{i}}" u-i="96d38e2b-1" bind:__l="__l" u-p="{{j}}"/></view><view class="Gendericoncss data-v-96d38e2b"><image wx:if="{{k}}" class="Gendericon data-v-96d38e2b" src="{{l}}" mode="scaleToFill"/><image wx:if="{{m}}" class="Gendericon data-v-96d38e2b" src="{{n}}" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-96d38e2b" src="{{p}}" mode="scaleToFill"/></view></view><view wx:if="{{q}}" class="Hintcss data-v-96d38e2b">请选择性别</view></view></view><view class="goldCoin data-v-96d38e2b"><view class="number-box data-v-96d38e2b"><view class="number-box-title data-v-96d38e2b">金币数量:</view><uni-number-box wx:if="{{s}}" class="data-v-96d38e2b" u-i="96d38e2b-2" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"></uni-number-box><view class="number-box-title data-v-96d38e2b">单位:</view><view class="number-box-unit data-v-96d38e2b">K</view></view><view wx:if="{{t}}" class="Hint data-v-96d38e2b">请填写金币数量</view></view><view class="time data-v-96d38e2b"><uni-datetime-picker wx:if="{{w}}" class="data-v-96d38e2b" u-i="96d38e2b-3" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"/><view wx:if="{{x}}" class="Hint data-v-96d38e2b">请选择日期</view></view><view class="goldCoin data-v-96d38e2b"><view class="number-box data-v-96d38e2b"><view class="number-box-title data-v-96d38e2b">选择场数:</view><uni-number-box wx:if="{{z}}" class="data-v-96d38e2b" u-i="96d38e2b-4" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-number-box><view class="number-box-title data-v-96d38e2b">次</view></view><view wx:if="{{A}}" class="Hint data-v-96d38e2b">请填写场数</view></view><view class="Remarkscss data-v-96d38e2b"><uni-easyinput wx:if="{{C}}" class="data-v-96d38e2b" u-i="96d38e2b-5" bind:__l="__l" bindupdateModelValue="{{B}}" u-p="{{C}}"></uni-easyinput></view><view class="Publish data-v-96d38e2b"><button bindtap="{{D}}" class="Publishcss data-v-96d38e2b">发布</button></view></view></view></view>
|
||||
<view wx:if="{{a}}" class="{{['data-v-96d38e2b', G, 'Mask']}}" bindtap="{{H}}"><view catchtap="{{F}}" class="containers data-v-96d38e2b"><view class="container data-v-96d38e2b"><image class="Fork data-v-96d38e2b" bindtap="{{b}}" src="{{c}}" mode="scaleToFill"/><view class="Titlecss data-v-96d38e2b"><view class="Star data-v-96d38e2b"></view><view class="Title data-v-96d38e2b"></view><view class="Star data-v-96d38e2b"></view></view><view class="NameAnchor data-v-96d38e2b"><input class="NameAnchorcss data-v-96d38e2b" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{d}}" placeholder="主播名称" bindblur="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-96d38e2b">请填写主播名称</view></view><view class="Accountnumber data-v-96d38e2b"><view class="Coins country data-v-96d38e2b"><wht-select wx:if="{{h}}" class="data-v-96d38e2b" style="width:350rpx" bindchange="{{g}}" u-i="96d38e2b-0" bind:__l="__l" u-p="{{h}}"/><view wx:if="{{i}}" class="Hint data-v-96d38e2b">请选择国家</view></view><view class="Gender data-v-96d38e2b"><view class="Gendercs data-v-96d38e2b"><view class="Gendercss data-v-96d38e2b"><wht-select wx:if="{{k}}" class="data-v-96d38e2b" style="width:300rpx" bindchange="{{j}}" u-i="96d38e2b-1" bind:__l="__l" u-p="{{k}}"/></view><view class="Gendericoncss data-v-96d38e2b"><image wx:if="{{l}}" class="Gendericon data-v-96d38e2b" src="{{m}}" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-96d38e2b" src="{{o}}" mode="scaleToFill"/><image wx:if="{{p}}" class="Gendericon data-v-96d38e2b" src="{{q}}" mode="scaleToFill"/></view></view><view wx:if="{{r}}" class="Hintcss data-v-96d38e2b">请选择性别</view></view></view><view class="goldCoin data-v-96d38e2b"><view class="number-box data-v-96d38e2b"><view class="number-box-title data-v-96d38e2b">金币数量:</view><uni-number-box wx:if="{{t}}" class="data-v-96d38e2b" u-i="96d38e2b-2" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t}}"></uni-number-box><view class="number-box-title data-v-96d38e2b">单位:</view><view class="number-box-unit data-v-96d38e2b">K</view></view><view wx:if="{{v}}" class="Hint data-v-96d38e2b">请填写金币数量</view></view><view class="time data-v-96d38e2b"><uni-datetime-picker wx:if="{{x}}" class="data-v-96d38e2b" u-i="96d38e2b-3" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"/><view wx:if="{{y}}" class="Hint data-v-96d38e2b">请选择日期</view></view><view class="goldCoin data-v-96d38e2b"><view class="number-box data-v-96d38e2b"><view class="number-box-title data-v-96d38e2b">选择场数:</view><uni-number-box wx:if="{{A}}" class="data-v-96d38e2b" u-i="96d38e2b-4" bind:__l="__l" bindupdateModelValue="{{z}}" u-p="{{A}}"></uni-number-box><view class="number-box-title data-v-96d38e2b">次</view></view><view wx:if="{{B}}" class="Hint data-v-96d38e2b">请填写场数</view></view><view class="Remarkscss data-v-96d38e2b"><uni-easyinput wx:if="{{D}}" class="data-v-96d38e2b" u-i="96d38e2b-5" bind:__l="__l" bindupdateModelValue="{{C}}" u-p="{{D}}"></uni-easyinput></view><view class="Publish data-v-96d38e2b"><button bindtap="{{E}}" class="Publishcss data-v-96d38e2b">发布</button></view></view></view></view>
|
||||
@@ -2,17 +2,25 @@
|
||||
/* 定义动画 */
|
||||
/* 原始进入动画 */
|
||||
@keyframes slide-in-96d38e2b {
|
||||
from { transform: translateY(100%); opacity: 0;
|
||||
from {
|
||||
transform: translateY(100%);
|
||||
opacity: 0;
|
||||
}
|
||||
to { transform: translateY(0); opacity: 1;
|
||||
to {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* 新增关闭动画 */
|
||||
@keyframes slide-out-96d38e2b {
|
||||
from { transform: translateY(0); opacity: 1;
|
||||
from {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
}
|
||||
to { transform: translateY(-100%); opacity: 0;
|
||||
to {
|
||||
transform: translateY(-100%);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +46,7 @@ to { transform: translateY(-100%); opacity: 0;
|
||||
margin-left: 30rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.Hintcss.data-v-96d38e2b{
|
||||
.Hintcss.data-v-96d38e2b {
|
||||
color: rgb(255, 0, 0);
|
||||
font-size: 20rpx;
|
||||
margin-left: 30rpx;
|
||||
@@ -65,14 +73,14 @@ to { transform: translateY(-100%); opacity: 0;
|
||||
/* margin-bottom: 40rpx; */
|
||||
margin-left: 90%;
|
||||
}
|
||||
.Titlecss.data-v-96d38e2b{
|
||||
.Titlecss.data-v-96d38e2b {
|
||||
width: 100%;
|
||||
height: 70rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.Star.data-v-96d38e2b{
|
||||
.Star.data-v-96d38e2b {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAA4CAYAAABQZsDpAAAAAXNSR0IArs4c6QAABqZJREFUaEPdmmtMW2UYx2lLKbb0Dqwtlw0KZd0oDJfGsUAcAyGDiZGwun1gy5hjH4y7iBLqhUCMgzHZdDNGUWcihGhJwEFYCAyIwytUNm6lFBEYbSl0PVkrpWWnpeZVMBXZOKecw1bPpybnf57n/zvP8z6n50Lw2YRNoVAEqFQqv9LSUgjPdAQ8g6/EPnjwYLxGownUaDQdeObbFJj4+HiZ3W7njI6OfuL1MGFhYe84nc5AvV5/xuthBAJB3eLiYqDJZEr3ehgOh3ObQCBwTSZTuFfDlJaWEquqqsw2m41aV1fHkclkZryAcB8A5eXl2+Ry+QQAyM7OljY1NSm9FmbXrl2Zd+7caQEAYrH46MjISI3XwkRFRZ0bHx+/BAAEAkG5Tqd702th+Hz+ZwaD4WWXy+XD5/MbZ2ZmcrwWhsPhdEMQlAQAuFzuqMlk2u6VMC6Xi8hisebMZjMXAFAoFLtarWZHRETY8QDCdZoVFBRsr66uHnE3npaWlnjz5s2fvQ4mMjLyzMTExAdgvaxsW7duLZmamnrX62CCg4N/NBqNie4wQUFBQ0ajUeJVMAcOHEhoa2v71el0/quViUSiT2pqalJ7e/sPWAPhtmZ4PN43BoNBtpbhLVu2NM/OzmZ7BczevXsTe3p6vnc4HMS1DBOJRNfu3btTent7v8MSCPPKXLlyhVJSUqI0m82x7mtltWkmkzman5+fcPnyZRtWQJjDhISEfKrX6wseBQLMEwgE8PfmS51Ol/9EwohEotfGxsaq1gNZMQ+AYmJi3lKr1eexAMKsMmKx+JxGo6laPb0eZRLAgOkmFArlGo2mYqNAG4ZRKpXk3NzcyqmpqbNIK7LaNIAKDw//qLCw8PXTp08vegq1IZiMjIydvb29X0AQ9IynBtyPY7FYt+Pi4k7cunXrtifxPILJy8sL7+zsLJ6bmzvhcDj8PK3IWoYpFArMZrNrk5OTz9fX1/+GBgoxTG1tLaOysvI5g8Fw5P79+8/DMIwphPtQAG1HIBCcXC63k81mf52ent529epV7Xpg/4EZHh72u3Dhwra+vr5YcO+xtLQkhmE4bn5+PgaGYQoIiGUl1jX495BwMZlMLYlEGiSTyUMBAQGq6OjooWPHjo3KZLL5f05ETk5Obk9Pj8Rut8e4XK6dNpstym63+wPB0tLSerke235QPT8/PweDwQAPSwDkMEGhUJD6+/tDm5qadlosFvHi4uIOGIZBNWKsVivH6XQ+NsNrJfb19XXRaDQTiUQaIZPJo3Q6XcVgMFQ5OTmqh64Zl8tFKCsrC2lsbASQsVardc/CwkLawsICC7QZ3q0GzjzY6HT6rL+/fxuDwfiFw+GM5ObmqoqKigxrgSIeAODgGzduUORyeZZOp3sVgqB9eLQiuIiSSCRnYGBgk1Ao/Li7u7sLDAMk7YEKxj1gcnLys4ODg5csFsvTWKwtAAGqHRQU1CaVSgtbWlqGkAC4azyGWZ5qJKFQWHT37t0yh8NBRpvcXe/v7z8vEoleGRgY+MrTOBuCWUmakJCQqlar6202GxutEbA26HT6pFQqzero6FChPR6zyqxquzilUtlus9mCkRoCrUWj0cb379+fcv369Wmkxz1Mh0llVoKDO0ylUtnx4MGDp9YzBkCoVKohKSkpsbW1dXI9PZL9mMKAhBKJ5Pjw8PC19YYCmUx2SCSS/X19fd1IjCLRYA4DkvL5/AaDwfDiw65FoCoCgaBCq9XKkZhEqsEF5tChQ+HNzc0jdrudupYRBoMxdfHixR2nTp1aQGoUiQ4XGJA4LCzs/enp6cK1TIhEopMajeZzJAbRaHCDOXz4cFhDQ8PvMAz7urdbQEDAnEKhCM/MzPT4jnJTptnqJDwer3V2djbDHSY0NPRDrVZ7Fs0ZR6rFrTLAgFAoPDk+Pl7tbiYlJWVfV1cXpg//VuLjClNQUCCsrq4eA4/JQEIqlWrt7+/nRkdHY95iID6uMOBlE5PJnLNYLH+9bOJwOEoIgqRI2watDleYZYCfIAjaA36HhITU6HS6o2hNItXjDiMQCK7p9frjyzBv63S695CaQ6vDHSYiIuKNycnJSjDRYmNjXxoaGlKgNYlUjzuMRCJ5YXBw8FtgKC8vT1JTU4P6puuJgSkuLo6qqKgYA09SmpubWRkZGVak5tDqcK9MV1eXb1ZW1h80Gm3GaDRGojWIRo87zPJEGyASidp79+5lojGHVrspMDweT0EkEmf+F18ChoaGloE2+198oxkXF3fEx8dnbmBgANevZ/8E6s+Y0AV877AAAAAASUVORK5CYII=);
|
||||
@@ -104,7 +112,7 @@ to { transform: translateY(-100%); opacity: 0;
|
||||
width: 99%;
|
||||
height: 85rpx;
|
||||
background-color: #ffffff;
|
||||
border: 1rpx solid #BFBFBF;
|
||||
border: 1rpx solid #bfbfbf;
|
||||
border-radius: 10rpx;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -114,16 +122,16 @@ to { transform: translateY(-100%); opacity: 0;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
.Gendercs.data-v-96d38e2b{
|
||||
.Gendercs.data-v-96d38e2b {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
/* align-items: center; */
|
||||
}
|
||||
.Gendercss.data-v-96d38e2b{
|
||||
.Gendercss.data-v-96d38e2b {
|
||||
width: 200rpx;
|
||||
height: 60rpx;
|
||||
}
|
||||
.Gendericoncss.data-v-96d38e2b{
|
||||
.Gendericoncss.data-v-96d38e2b {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@@ -134,7 +142,7 @@ to { transform: translateY(-100%); opacity: 0;
|
||||
margin-left: 20rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.Gendericon.data-v-96d38e2b{
|
||||
.Gendericon.data-v-96d38e2b {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
/* margin-top: 10rpx;
|
||||
@@ -154,7 +162,7 @@ to { transform: translateY(-100%); opacity: 0;
|
||||
/* flex-direction: column; */
|
||||
}
|
||||
.country.data-v-96d38e2b {
|
||||
margin-left:10rpx;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.goldCoin.data-v-96d38e2b {
|
||||
width: 100%;
|
||||
@@ -175,10 +183,10 @@ to { transform: translateY(-100%); opacity: 0;
|
||||
margin-left: 17rpx;
|
||||
}
|
||||
.number-box-unit.data-v-96d38e2b {
|
||||
color: #03ABA8;
|
||||
color: #03aba8;
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
border: 1rpx solid #03ABA8;
|
||||
border: 1rpx solid #03aba8;
|
||||
border-radius: 50%;
|
||||
line-height: 48rpx;
|
||||
text-align: center;
|
||||
@@ -198,7 +206,7 @@ to { transform: translateY(-100%); opacity: 0;
|
||||
margin-left: 5%;
|
||||
}
|
||||
.Publishcss.data-v-96d38e2b {
|
||||
background-image: linear-gradient(135deg, #4FCACD, #5FDBDE);
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
/* color: #33ff00; */
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
|
||||
@@ -55,7 +55,7 @@ const _sfc_main = {
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:198", "``````", this.customData);
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:199", status);
|
||||
await components_request.request({
|
||||
url: "pk/pkInfoDetail",
|
||||
url: "pk/updatePkStatus",
|
||||
method: "POST",
|
||||
data: {
|
||||
pkIdA: this.customData.pkIdA,
|
||||
@@ -64,7 +64,7 @@ const _sfc_main = {
|
||||
userIdB: this.customData.userIdB,
|
||||
pkTime: this.customData.pkTime,
|
||||
pkNumber: this.customData.pkNumber,
|
||||
status
|
||||
pkStatus: status
|
||||
},
|
||||
userInfo: false
|
||||
}).then((res) => {
|
||||
@@ -99,32 +99,36 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
e: common_vendor.t($data.SenderData.anchorId),
|
||||
f: $data.SenderData.sex === "1"
|
||||
}, $data.SenderData.sex === "1" ? {
|
||||
g: common_assets._imports_2
|
||||
g: common_assets._imports_2,
|
||||
h: common_vendor.t($data.SenderData.sex == 1 ? "男" : "女")
|
||||
} : {
|
||||
h: common_assets._imports_3
|
||||
i: common_assets._imports_3,
|
||||
j: common_vendor.t($data.SenderData.sex == 1 ? "男" : "女")
|
||||
}, {
|
||||
i: common_vendor.t($data.SenderData.country),
|
||||
j: common_vendor.t($options.formatDate($data.SenderData.pkTime)),
|
||||
k: common_assets._imports_4$2,
|
||||
l: common_vendor.t($data.SenderData.coin),
|
||||
m: common_assets._imports_5$2,
|
||||
n: common_vendor.t($data.SenderData.pkNumber),
|
||||
o: $data.ReceiverData.anchorIcon,
|
||||
p: common_vendor.t($data.ReceiverData.anchorId),
|
||||
q: $data.ReceiverData.sex === "1"
|
||||
k: common_vendor.t($data.SenderData.country),
|
||||
l: common_vendor.t($options.formatDate($data.SenderData.pkTime)),
|
||||
m: common_assets._imports_4$2,
|
||||
n: common_vendor.t($data.SenderData.coin),
|
||||
o: common_assets._imports_5$2,
|
||||
p: common_vendor.t($data.SenderData.pkNumber),
|
||||
q: $data.ReceiverData.anchorIcon,
|
||||
r: common_vendor.t($data.ReceiverData.anchorId),
|
||||
s: $data.ReceiverData.sex === "1"
|
||||
}, $data.ReceiverData.sex === "1" ? {
|
||||
r: common_assets._imports_2
|
||||
t: common_assets._imports_2,
|
||||
v: common_vendor.t($data.ReceiverData.sex == 1 ? "男" : "女")
|
||||
} : {
|
||||
s: common_assets._imports_3
|
||||
w: common_assets._imports_3,
|
||||
x: common_vendor.t($data.ReceiverData.sex == 1 ? "男" : "女")
|
||||
}, {
|
||||
t: common_vendor.t($data.ReceiverData.country),
|
||||
v: common_vendor.t($options.formatDate($data.ReceiverData.pkTime)),
|
||||
w: common_assets._imports_4$2,
|
||||
x: common_vendor.t($data.ReceiverData.coin),
|
||||
y: common_assets._imports_5$2,
|
||||
z: common_vendor.t($data.ReceiverData.pkNumber),
|
||||
A: common_vendor.o$1(($event) => $options.operation(1)),
|
||||
B: common_vendor.o$1(($event) => $options.operation(2))
|
||||
y: common_vendor.t($data.ReceiverData.country),
|
||||
z: common_vendor.t($options.formatDate($data.ReceiverData.pkTime)),
|
||||
A: common_assets._imports_4$2,
|
||||
B: common_vendor.t($data.ReceiverData.coin),
|
||||
C: common_assets._imports_5$2,
|
||||
D: common_vendor.t($data.ReceiverData.pkNumber),
|
||||
E: common_vendor.o$1(($event) => $options.operation(1)),
|
||||
F: common_vendor.o$1(($event) => $options.operation(2))
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-cadadfe7"]]);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="container data-v-cadadfe7"><view class="background data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:100%;height:100%" src="{{a}}" mode="scaleToFill"/></view><view class="Navigation data-v-cadadfe7"><view class="Return data-v-cadadfe7" bindtap="{{c}}"><image class="Return data-v-cadadfe7" src="{{b}}" mode="scaleToFill"/></view></view><view class="Content data-v-cadadfe7"><view class="sender data-v-cadadfe7"><view class="sengderIcon data-v-cadadfe7"><image class="Icon data-v-cadadfe7" src="{{d}}" mode="scaleToFill"/></view><view class="Individual data-v-cadadfe7"><view class="name data-v-cadadfe7">{{e}}</view><view class="GenderAndAge data-v-cadadfe7"><view wx:if="{{f}}" class="male data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{g}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7"> 21 </view></view><view wx:else class="female data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{h}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7"> 21 </view></view></view><view class="nation data-v-cadadfe7">{{i}}</view></view><view class="Time data-v-cadadfe7">PK时间:{{j}}</view><view class="SessionAndGoldCoin data-v-cadadfe7"><view class="goldCoin data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{k}}" mode="scaleToFill"/><view class="goldcard data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{l}}</view><view class="goldtext data-v-cadadfe7">金币</view></view></view><view class="Session data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{m}}" mode="scaleToFill"/><view class="goldcard data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{n}}</view><view class="goldtext data-v-cadadfe7">PK场数</view></view></view></view></view><view class="sender data-v-cadadfe7"><view class="sengderIcon data-v-cadadfe7"><image class="Icon data-v-cadadfe7" src="{{o}}" mode="scaleToFill"/></view><view class="Individual data-v-cadadfe7"><view class="name data-v-cadadfe7">{{p}}</view><view class="GenderAndAge data-v-cadadfe7"><view wx:if="{{q}}" class="male data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{r}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7"> 21 </view></view><view wx:else class="female data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{s}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7"> 21 </view></view></view><view class="nation data-v-cadadfe7">{{t}}</view></view><view class="Time data-v-cadadfe7">PK时间:{{v}}</view><view class="SessionAndGoldCoin data-v-cadadfe7"><view class="goldCoin data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{w}}" mode="scaleToFill"/><view class="data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{x}}</view><view class="goldtext data-v-cadadfe7">金币</view></view></view><view class="Session data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{y}}" mode="scaleToFill"/><view class="data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{z}}</view><view class="goldtext data-v-cadadfe7">PK场数</view></view></view></view></view><view class="button data-v-cadadfe7"><button class="accept data-v-cadadfe7" bindtap="{{A}}">接受邀请</button><button class="reject data-v-cadadfe7" bindtap="{{B}}">拒绝邀请</button></view></view></view>
|
||||
<view class="container data-v-cadadfe7"><view class="background data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:100%;height:100%" src="{{a}}" mode="scaleToFill"/></view><view class="Navigation data-v-cadadfe7"><view class="Return data-v-cadadfe7" bindtap="{{c}}"><image class="Return data-v-cadadfe7" src="{{b}}" mode="scaleToFill"/></view></view><view class="Content data-v-cadadfe7"><view class="sender data-v-cadadfe7"><view class="sengderIcon data-v-cadadfe7"><image class="Icon data-v-cadadfe7" src="{{d}}" mode="scaleToFill"/></view><view class="Individual data-v-cadadfe7"><view class="name data-v-cadadfe7">{{e}}</view><view class="GenderAndAge data-v-cadadfe7"><view wx:if="{{f}}" class="male data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{g}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7">{{h}}</view></view><view wx:else class="female data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{i}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7">{{j}}</view></view></view><view class="nation data-v-cadadfe7">{{k}}</view></view><view class="Time data-v-cadadfe7">PK时间:{{l}}</view><view class="SessionAndGoldCoin data-v-cadadfe7"><view class="goldCoin data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{m}}" mode="scaleToFill"/><view class="goldcard data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{n}}</view><view class="goldtext data-v-cadadfe7">金币</view></view></view><view class="Session data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{o}}" mode="scaleToFill"/><view class="goldcard data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{p}}</view><view class="goldtext data-v-cadadfe7">PK场数</view></view></view></view></view><view class="sender data-v-cadadfe7"><view class="sengderIcon data-v-cadadfe7"><image class="Icon data-v-cadadfe7" src="{{q}}" mode="scaleToFill"/></view><view class="Individual data-v-cadadfe7"><view class="name data-v-cadadfe7">{{r}}</view><view class="GenderAndAge data-v-cadadfe7"><view wx:if="{{s}}" class="male data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{t}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7">{{v}}</view></view><view wx:else class="female data-v-cadadfe7"><view class="data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:20rpx;height:20rpx" src="{{w}}" mode="scaleToFill"/></view><view class="age data-v-cadadfe7">{{x}}</view></view></view><view class="nation data-v-cadadfe7">{{y}}</view></view><view class="Time data-v-cadadfe7">PK时间:{{z}}</view><view class="SessionAndGoldCoin data-v-cadadfe7"><view class="goldCoin data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{A}}" mode="scaleToFill"/><view class="data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{B}}</view><view class="goldtext data-v-cadadfe7">金币</view></view></view><view class="Session data-v-cadadfe7"><image class="data-v-cadadfe7" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{C}}" mode="scaleToFill"/><view class="data-v-cadadfe7"><view class="goldnumber data-v-cadadfe7">{{D}}</view><view class="goldtext data-v-cadadfe7">PK场数</view></view></view></view></view><view class="button data-v-cadadfe7"><button class="accept data-v-cadadfe7" bindtap="{{E}}">接受邀请</button><button class="reject data-v-cadadfe7" bindtap="{{F}}">拒绝邀请</button></view></view></view>
|
||||
@@ -55,9 +55,10 @@ const _sfc_main = {
|
||||
path: this.userinfo,
|
||||
name: components_generateFileName.generateFileName()
|
||||
}).then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:75", "上传成功········", res);
|
||||
this.userinfo = res;
|
||||
}).catch((err) => {
|
||||
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:77", err);
|
||||
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:79", err);
|
||||
});
|
||||
if (this.userinfo) {
|
||||
const res = await components_request.request({
|
||||
|
||||
@@ -98,7 +98,7 @@ const _sfc_main = {
|
||||
}
|
||||
});
|
||||
}).catch((err) => {
|
||||
common_vendor.index.__f__("log", "at pages/UserInformation/UserInformation.vue:123", err);
|
||||
common_vendor.index.__f__("log", "at pages/UserInformation/UserInformation.vue:122", err);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,13 +16,14 @@ const _sfc_main = {
|
||||
InvitingPartyEventindex: null,
|
||||
chatInfo: {},
|
||||
currentConversation: null
|
||||
// parentMessage: null,
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
const eventChannel = this.getOpenerEventChannel();
|
||||
eventChannel.on("itemDetail", (data) => {
|
||||
this.item = data.item;
|
||||
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:152", "接收到的数据:", this.item);
|
||||
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:165", "接收到的数据:", this.item);
|
||||
});
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
@@ -38,6 +39,11 @@ const _sfc_main = {
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
//修改信息
|
||||
// onRecompose(item) {
|
||||
// this.parentMessage = item;
|
||||
// this.createModule.open();
|
||||
// },
|
||||
formatDate: components_formatDate.formatDate,
|
||||
TimeFormatting: components_TimeFormatting.TimeFormatting,
|
||||
Select(id, index) {
|
||||
@@ -61,6 +67,13 @@ const _sfc_main = {
|
||||
this.userlist();
|
||||
},
|
||||
invite() {
|
||||
if (this.item.pkTime !== this.list[this.InvitingPartyEventindex].pkTime) {
|
||||
common_vendor.index.showToast({
|
||||
icon: "none",
|
||||
title: "请保持时间一致"
|
||||
});
|
||||
return;
|
||||
}
|
||||
const conversationID = `C2C${this.item.senderId}`;
|
||||
const myitem = JSON.stringify(this.list[this.InvitingPartyEventindex]);
|
||||
const youritem = JSON.stringify(this.item);
|
||||
@@ -93,7 +106,7 @@ const _sfc_main = {
|
||||
if (res.code === 200) {
|
||||
if (res.data.length !== 0) {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:235", "res.data", res.data);
|
||||
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:253", "res.data", res.data);
|
||||
this.list = res.data;
|
||||
} else {
|
||||
common_vendor.index.hideLoading();
|
||||
@@ -117,9 +130,10 @@ const _sfc_main = {
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _component_viewm = common_vendor.resolveComponent("viewm");
|
||||
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
|
||||
const _component_NewAddedPk = common_vendor.resolveComponent("NewAddedPk");
|
||||
(_easycom_uni_popup2 + _component_NewAddedPk)();
|
||||
(_component_viewm + _easycom_uni_popup2 + _component_NewAddedPk)();
|
||||
}
|
||||
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
|
||||
if (!Math) {
|
||||
@@ -134,36 +148,42 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
e: common_vendor.t($data.item.anchorId),
|
||||
f: $data.item.sex === "1"
|
||||
}, $data.item.sex === "1" ? {
|
||||
g: common_assets._imports_2
|
||||
g: common_assets._imports_2,
|
||||
h: common_vendor.t($data.item.sex === "1" ? "男" : "女")
|
||||
} : {
|
||||
h: common_assets._imports_3
|
||||
i: common_assets._imports_3,
|
||||
j: common_vendor.t($data.item.sex === "2" ? "男" : "女")
|
||||
}, {
|
||||
i: common_vendor.t($data.item.country),
|
||||
j: common_vendor.t($options.formatDate($data.item.pkTime)),
|
||||
k: common_assets._imports_4$2,
|
||||
l: common_vendor.t($data.item.coin),
|
||||
m: common_assets._imports_5$2,
|
||||
n: common_vendor.t($data.item.pkNumber),
|
||||
o: common_vendor.o$1(($event) => $options.openChat()),
|
||||
p: common_vendor.o$1(($event) => $options.open()),
|
||||
q: common_vendor.f($data.list, (item, index, i0) => {
|
||||
k: common_vendor.t($data.item.country),
|
||||
l: common_vendor.t($options.formatDate($data.item.pkTime)),
|
||||
m: common_assets._imports_4$2,
|
||||
n: common_vendor.t($data.item.coin),
|
||||
o: common_assets._imports_5$2,
|
||||
p: common_vendor.t($data.item.pkNumber),
|
||||
q: $data.item.senderId !== $data.id
|
||||
}, $data.item.senderId !== $data.id ? {
|
||||
r: common_vendor.o$1(($event) => $options.openChat()),
|
||||
s: common_vendor.o$1(($event) => $options.open())
|
||||
} : {}, {
|
||||
t: common_vendor.f($data.list, (item, index, i0) => {
|
||||
return {
|
||||
a: item.anchorIcon,
|
||||
b: common_vendor.t(item.anchorId),
|
||||
c: common_vendor.t($options.TimeFormatting(item.pkTime)),
|
||||
d: common_vendor.t(item.coin),
|
||||
e: common_vendor.o$1(($event) => $options.Select(item.id, index)),
|
||||
f: $data.selectedId === item.id ? "2px solid red" : "2px solid #afafaf"
|
||||
c: common_vendor.t(item.coin),
|
||||
d: "9639f721-1-" + i0 + ",9639f721-0",
|
||||
e: common_vendor.t($options.TimeFormatting(item.pkTime)),
|
||||
f: common_vendor.o$1(($event) => $options.Select(item.id, index)),
|
||||
g: $data.selectedId === item.id ? "#f6f6f6" : "#ffffff"
|
||||
};
|
||||
}),
|
||||
r: common_vendor.o$1(($event) => $options.invite()),
|
||||
s: common_vendor.o$1(($event) => $options.close()),
|
||||
t: common_vendor.sr("popup", "9639f721-0"),
|
||||
v: common_vendor.p({
|
||||
v: common_vendor.o$1(($event) => $options.invite()),
|
||||
w: common_vendor.o$1(($event) => $options.close()),
|
||||
x: common_vendor.sr("popup", "9639f721-0"),
|
||||
y: common_vendor.p({
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
}),
|
||||
w: common_vendor.sr("createModule", "9639f721-1")
|
||||
z: common_vendor.sr("createModule", "9639f721-2")
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9639f721"]]);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="container data-v-9639f721"><view class="background data-v-9639f721"><image class="data-v-9639f721" style="width:100%;height:100%" src="{{a}}" mode="scaleToFill"/></view><view class="Navigation data-v-9639f721"><view class="Return data-v-9639f721" bindtap="{{c}}"><image class="Return data-v-9639f721" src="{{b}}" mode="scaleToFill"/></view></view><view class="Content data-v-9639f721"><view class="sender data-v-9639f721"><view class="sengderIcon data-v-9639f721"><image class="Icon data-v-9639f721" src="{{d}}" mode="scaleToFill"/></view><view class="Individual data-v-9639f721"><view class="name data-v-9639f721">{{e}}</view><view class="GenderAndAge data-v-9639f721"><view wx:if="{{f}}" class="male data-v-9639f721"><view class="data-v-9639f721"><image class="data-v-9639f721" style="width:20rpx;height:20rpx" src="{{g}}" mode="scaleToFill"/></view><view class="age data-v-9639f721"> 21 </view></view><view wx:else class="female data-v-9639f721"><view class="data-v-9639f721"><image class="data-v-9639f721" style="width:20rpx;height:20rpx" src="{{h}}" mode="scaleToFill"/></view><view class="age data-v-9639f721"> 21 </view></view></view><view class="nation data-v-9639f721">{{i}}</view></view><view class="Time data-v-9639f721">PK时间:{{j}}</view><view class="SessionAndGoldCoin data-v-9639f721"><view class="goldCoin data-v-9639f721"><image class="data-v-9639f721" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{k}}" mode="scaleToFill"/><view class="goldcard data-v-9639f721"><view class="goldnumber data-v-9639f721">{{l}}</view><view class="goldtext data-v-9639f721">金币</view></view></view><view class="Session data-v-9639f721"><image class="data-v-9639f721" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{m}}" mode="scaleToFill"/><view class="goldcard data-v-9639f721"><view class="goldnumber data-v-9639f721">{{n}}</view><view class="goldtext data-v-9639f721">PK场数</view></view></view></view></view><view class="button data-v-9639f721"><button class="accept data-v-9639f721" bindtap="{{o}}">聊了个天</button><button class="reject data-v-9639f721" bindtap="{{p}}">立即邀请</button></view></view></view><uni-popup wx:if="{{v}}" class="r data-v-9639f721" u-s="{{['d']}}" u-r="popup" u-i="9639f721-0" bind:__l="__l" u-p="{{v}}"><view class="popup-content data-v-9639f721"><view class="popup-title data-v-9639f721"><scroll-view scroll-y="true" class="scroll data-v-9639f721"><view wx:for="{{q}}" wx:for-item="item" class="card data-v-9639f721"><view class="card-content data-v-9639f721" bindtap="{{item.e}}" style="{{'border:' + item.f}}"><image class="avatar data-v-9639f721" src="{{item.a}}" mode="scaleToFill"/><view class="NameMoney data-v-9639f721"><view class="NameMoney_Name data-v-9639f721">{{item.b}}</view><view class="TimeMoney data-v-9639f721"><view class="data-v-9639f721">{{item.c}}</view><view class="data-v-9639f721">金币:{{item.d}}</view></view></view></view></view></scroll-view></view><view class="popup-btn data-v-9639f721"><button class="invite data-v-9639f721" type="primary" bindtap="{{r}}">邀请</button><button class="cancel data-v-9639f721" type="default" bindtap="{{s}}">取消</button></view></view></uni-popup><new-added-pk class="createModule r data-v-9639f721" u-r="createModule" u-i="9639f721-1" bind:__l="__l"></new-added-pk>
|
||||
<view class="container data-v-9639f721"><view class="background data-v-9639f721"><image class="data-v-9639f721" style="width:100%;height:100%" src="{{a}}" mode="scaleToFill"/></view><view class="Navigation data-v-9639f721"><view class="Return data-v-9639f721" bindtap="{{c}}"><image class="Return data-v-9639f721" src="{{b}}" mode="scaleToFill"/></view></view><view class="Content data-v-9639f721"><view class="sender data-v-9639f721"><view class="sengderIcon data-v-9639f721"><image class="Icon data-v-9639f721" src="{{d}}" mode="scaleToFill"/></view><view class="Individual data-v-9639f721"><view class="name data-v-9639f721">{{e}}</view><view class="GenderAndAge data-v-9639f721"><view wx:if="{{f}}" class="male data-v-9639f721"><view class="data-v-9639f721"><image class="data-v-9639f721" style="width:20rpx;height:20rpx" src="{{g}}" mode="scaleToFill"/></view><view class="age data-v-9639f721">{{h}}</view></view><view wx:else class="female data-v-9639f721"><view class="data-v-9639f721"><image class="data-v-9639f721" style="width:20rpx;height:20rpx" src="{{i}}" mode="scaleToFill"/></view><view class="age data-v-9639f721">{{j}}</view></view></view><view class="nation data-v-9639f721">{{k}}</view></view><view class="Time data-v-9639f721">PK时间:{{l}}</view><view class="SessionAndGoldCoin data-v-9639f721"><view class="goldCoin data-v-9639f721"><image class="data-v-9639f721" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{m}}" mode="scaleToFill"/><view class="goldcard data-v-9639f721"><view class="goldnumber data-v-9639f721">{{n}}</view><view class="goldtext data-v-9639f721">金币</view></view></view><view class="Session data-v-9639f721"><image class="data-v-9639f721" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="{{o}}" mode="scaleToFill"/><view class="goldcard data-v-9639f721"><view class="goldnumber data-v-9639f721">{{p}}</view><view class="goldtext data-v-9639f721">PK场数</view></view></view></view></view><view wx:if="{{q}}" class="button data-v-9639f721"><button class="accept data-v-9639f721" bindtap="{{r}}">聊了个天</button><button class="reject data-v-9639f721" bindtap="{{s}}">立即邀请</button></view></view></view><uni-popup wx:if="{{y}}" class="r data-v-9639f721" u-s="{{['d']}}" u-r="popup" u-i="9639f721-0" bind:__l="__l" u-p="{{y}}"><view class="popup-content data-v-9639f721" style="background-image:url(../../static/queryMyCanUsePkbg.png);background-position:center"><view class="popup-title data-v-9639f721"><view class="popup-text data-v-9639f721">请选择您要参与的主播</view><scroll-view scroll-y="true" class="scroll data-v-9639f721"><view wx:for="{{t}}" wx:for-item="item" class="card data-v-9639f721"><view class="card-content data-v-9639f721" bindtap="{{item.f}}" style="{{'background:' + item.g}}"><view class="Avatarimg data-v-9639f721"><image class="avatar data-v-9639f721" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-9639f721"><view class="TimeMoney data-v-9639f721"><view class="NameMoney_Name data-v-9639f721">{{item.b}}</view><viewm u-s="{{['d']}}" class="goldnb data-v-9639f721" u-i="{{item.d}}" bind:__l="__l"><view class="goldimg data-v-9639f721"></view>{{item.c}}K</viewm></view><view class="TimeMoney_Time data-v-9639f721"><view class="pkTimeimg data-v-9639f721"></view><view class="data-v-9639f721">{{item.e}}</view></view></view></view></view></scroll-view></view><view class="popup-btn data-v-9639f721"><button class="invite data-v-9639f721" type="primary" bindtap="{{v}}">邀请</button><button class="cancel data-v-9639f721" type="default" bindtap="{{w}}">取消</button></view></view></uni-popup><new-added-pk class="createModule r data-v-9639f721" u-r="createModule" u-i="9639f721-2" bind:__l="__l"></new-added-pk>
|
||||
@@ -1,8 +1,8 @@
|
||||
|
||||
.popup-content.data-v-9639f721 {
|
||||
width: 500rpx;
|
||||
width: 600rpx;
|
||||
height: 700rpx;
|
||||
background-color: #fff;
|
||||
background-repeat: no-repeat;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -20,26 +20,38 @@
|
||||
margin-top: 50rpx;
|
||||
}
|
||||
.invite.data-v-9639f721 {
|
||||
width: 200rpx;
|
||||
height: 80rpx;
|
||||
font-size: 30rpx;
|
||||
width: 225.19rpx;
|
||||
height: 78.24rpx;
|
||||
font-size: 28.63rpx;
|
||||
line-height: 80rpx;
|
||||
border-radius: 20rpx;
|
||||
background-color: #1aff0087;
|
||||
border-top-left-radius: 50rpx;
|
||||
border-bottom-left-radius: 50rpx;
|
||||
border-bottom-right-radius: 50rpx;
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
}
|
||||
.cancel.data-v-9639f721 {
|
||||
width: 200rpx;
|
||||
height: 80rpx;
|
||||
font-size: 30rpx;
|
||||
width: 225.19rpx;
|
||||
height: 78.24rpx;
|
||||
font-size: 28.63rpx;
|
||||
line-height: 80rpx;
|
||||
margin-left: 30rpx;
|
||||
border-radius: 20rpx;
|
||||
color: #03aba8;
|
||||
border-top-left-radius: 50rpx;
|
||||
border-bottom-left-radius: 50rpx;
|
||||
border-bottom-right-radius: 50rpx;
|
||||
border: 1rpx solid #03aba8;
|
||||
}
|
||||
.scroll.data-v-9639f721 {
|
||||
width: 470rpx;
|
||||
height: 500rpx;
|
||||
border: 2px solid #afafaf;
|
||||
height: 400rpx;
|
||||
border-radius: 10px;
|
||||
/* background-color: #fff; */
|
||||
}
|
||||
.popup-text.data-v-9639f721 {
|
||||
color: #161616;
|
||||
font-size: 36.26rpx;
|
||||
font-weight: bold;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.card.data-v-9639f721 {
|
||||
margin-top: 10rpx;
|
||||
@@ -47,10 +59,12 @@
|
||||
}
|
||||
.card-content.data-v-9639f721 {
|
||||
width: 445rpx;
|
||||
height: 75rpx;
|
||||
height: 100rpx;
|
||||
background-color: #ffffff;
|
||||
/* border: 2px solid #afafaf; */
|
||||
border-radius: 10px;
|
||||
border-radius: 10rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 28rpx;
|
||||
color: rgb(127, 127, 127);
|
||||
}
|
||||
@@ -61,15 +75,46 @@
|
||||
z-index: 998;
|
||||
width: 100vw;
|
||||
}
|
||||
.Avatarimg.data-v-9639f721 {
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #dddddd;
|
||||
margin-right: 20rpx;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.avatar.data-v-9639f721 {
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.TimeMoney.data-v-9639f721 {
|
||||
width: 300rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-weight: bold;
|
||||
font-size: 27rpx;
|
||||
color: #161616;
|
||||
}
|
||||
.goldnb.data-v-9639f721 {
|
||||
display: flex;
|
||||
margin-left: 40rpx;
|
||||
}
|
||||
.TimeMoney_Time.data-v-9639f721 {
|
||||
display: flex;
|
||||
margin-top: 13rpx;
|
||||
}
|
||||
.pkTimeimg.data-v-9639f721 {
|
||||
background-image: url(data:image/png;base64,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);
|
||||
background-size: 100% 100%;
|
||||
width: 31.49rpx;
|
||||
height: 31.49rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.goldimg.data-v-9639f721 {
|
||||
background-image: url(data:image/png;base64,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);
|
||||
background-size: 100% 100%;
|
||||
width: 31.49rpx;
|
||||
height: 35rpx;
|
||||
}
|
||||
.NameMoney.data-v-9639f721 {
|
||||
display: flex;
|
||||
@@ -77,6 +122,9 @@
|
||||
}
|
||||
.NameMoney_Name.data-v-9639f721 {
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
font-size: 27rpx;
|
||||
color: #161616;
|
||||
}
|
||||
.background.data-v-9639f721 {
|
||||
position: fixed;
|
||||
|
||||
4
unpackage/dist/dev/mp-weixin/recompose.js
vendored
@@ -84,7 +84,7 @@ const _sfc_main = {
|
||||
this.Display = false;
|
||||
this.Hint = false;
|
||||
this.nameAnchor = "";
|
||||
this.genders = "";
|
||||
this.genders = 0;
|
||||
this.numberCoins = "";
|
||||
this.remarks = "";
|
||||
this.datetimesingle = "";
|
||||
@@ -99,7 +99,7 @@ const _sfc_main = {
|
||||
this.nameAnchor = event.target.value;
|
||||
},
|
||||
async Publish() {
|
||||
if (this.nameAnchor == "" && this.nameAnchor == null || this.genders == "" && this.genders == null || this.numberCoins == "" && this.numberCoins == null || this.datetimesingle == "" && this.datetimesingle == null || this.countrys == "" && his.countrys == null || this.datetimesingle == "" && this.datetimesingle == null || this.session == "" && this.session == null) {
|
||||
if (this.nameAnchor == "" && this.nameAnchor == null || this.genders == 0 && this.genders == null || this.numberCoins == "" && this.numberCoins == null || this.datetimesingle == "" && this.datetimesingle == null || this.countrys == "" && his.countrys == null || this.datetimesingle == "" && this.datetimesingle == null || this.session == "" && this.session == null) {
|
||||
this.Hint = true;
|
||||
return;
|
||||
}
|
||||
|
||||
BIN
unpackage/dist/dev/mp-weixin/static/queryMyCanUsePkbg.png
vendored
Normal file
|
After Width: | Height: | Size: 143 KiB |
BIN
unpackage/dist/dev/mp-weixin/static/time.png
vendored
Normal file
|
After Width: | Height: | Size: 2.9 KiB |