优化页面
This commit is contained in:
@@ -7,77 +7,17 @@
|
||||
*
|
||||
* submit a ticket url:https://console.tencentcloud.com/workorder/category?level1_id=29&level2_id=40&source=14&data_title=Chat&step=1
|
||||
*/
|
||||
// ···································································标记表情···································································
|
||||
import { default as emojiCNLocales } from './locales/zh_cn';
|
||||
import { default as emojiENLocales } from './locales/en';
|
||||
import { EMOJI_TYPE } from '../../../constant';
|
||||
import { IEmojiGroupList } from '../../../interface';
|
||||
|
||||
export const DEFAULT_BASIC_EMOJI_URL = 'https://web.sdk.qcloud.com/im/assets/emoji-plugin/';
|
||||
export const DEFAULT_BIG_EMOJI_URL = 'https://web.sdk.qcloud.com/im/assets/face-elem/';
|
||||
export const DEFAULT_BASIC_EMOJI_URL = '';
|
||||
export const DEFAULT_BIG_EMOJI_URL = '';
|
||||
|
||||
export const DEFAULT_BASIC_EMOJI_URL_MAPPING: Record<string, string> = {
|
||||
'[TUIEmoji_Expect]': 'emoji_0@2x.png',
|
||||
'[TUIEmoji_Blink]': 'emoji_1@2x.png',
|
||||
'[TUIEmoji_Guffaw]': 'emoji_2@2x.png',
|
||||
'[TUIEmoji_KindSmile]': 'emoji_3@2x.png',
|
||||
'[TUIEmoji_Haha]': 'emoji_4@2x.png',
|
||||
'[TUIEmoji_Cheerful]': 'emoji_5@2x.png',
|
||||
'[TUIEmoji_Smile]': 'emoji_6@2x.png',
|
||||
'[TUIEmoji_Sorrow]': 'emoji_7@2x.png',
|
||||
'[TUIEmoji_Speechless]': 'emoji_8@2x.png',
|
||||
'[TUIEmoji_Amazed]': 'emoji_9@2x.png',
|
||||
'[TUIEmoji_Complacent]': 'emoji_10@2x.png',
|
||||
'[TUIEmoji_Lustful]': 'emoji_11@2x.png',
|
||||
'[TUIEmoji_Stareyes]': 'emoji_12@2x.png',
|
||||
'[TUIEmoji_Giggle]': 'emoji_13@2x.png',
|
||||
'[TUIEmoji_Daemon]': 'emoji_14@2x.png',
|
||||
'[TUIEmoji_Rage]': 'emoji_15@2x.png',
|
||||
'[TUIEmoji_Yawn]': 'emoji_16@2x.png',
|
||||
'[TUIEmoji_TearsLaugh]': 'emoji_17@2x.png',
|
||||
'[TUIEmoji_Silly]': 'emoji_18@2x.png',
|
||||
'[TUIEmoji_Wail]': 'emoji_19@2x.png',
|
||||
'[TUIEmoji_Kiss]': 'emoji_20@2x.png',
|
||||
'[TUIEmoji_Trapped]': 'emoji_21@2x.png',
|
||||
'[TUIEmoji_Fear]': 'emoji_22@2x.png',
|
||||
'[TUIEmoji_BareTeeth]': 'emoji_23@2x.png',
|
||||
'[TUIEmoji_FlareUp]': 'emoji_24@2x.png',
|
||||
'[TUIEmoji_Tact]': 'emoji_25@2x.png',
|
||||
'[TUIEmoji_Shit]': 'emoji_26@2x.png',
|
||||
'[TUIEmoji_ShutUp]': 'emoji_27@2x.png',
|
||||
'[TUIEmoji_Sigh]': 'emoji_28@2x.png',
|
||||
'[TUIEmoji_Hehe]': 'emoji_29@2x.png',
|
||||
'[TUIEmoji_Silent]': 'emoji_30@2x.png',
|
||||
'[TUIEmoji_Skull]': 'emoji_31@2x.png',
|
||||
'[TUIEmoji_Mask]': 'emoji_32@2x.png',
|
||||
'[TUIEmoji_Beer]': 'emoji_33@2x.png',
|
||||
'[TUIEmoji_Cake]': 'emoji_34@2x.png',
|
||||
'[TUIEmoji_RedPacket]': 'emoji_35@2x.png',
|
||||
'[TUIEmoji_Bombs]': 'emoji_36@2x.png',
|
||||
'[TUIEmoji_Ai]': 'emoji_37@2x.png',
|
||||
'[TUIEmoji_Celebrate]': 'emoji_38@2x.png',
|
||||
'[TUIEmoji_Bless]': 'emoji_39@2x.png',
|
||||
'[TUIEmoji_Flower]': 'emoji_40@2x.png',
|
||||
'[TUIEmoji_Watermelon]': 'emoji_41@2x.png',
|
||||
'[TUIEmoji_Cow]': 'emoji_42@2x.png',
|
||||
'[TUIEmoji_Fool]': 'emoji_43@2x.png',
|
||||
'[TUIEmoji_Surprised]': 'emoji_44@2x.png',
|
||||
'[TUIEmoji_Askance]': 'emoji_45@2x.png',
|
||||
'[TUIEmoji_Monster]': 'emoji_46@2x.png',
|
||||
'[TUIEmoji_Pig]': 'emoji_47@2x.png',
|
||||
'[TUIEmoji_Coffee]': 'emoji_48@2x.png',
|
||||
'[TUIEmoji_Ok]': 'emoji_49@2x.png',
|
||||
'[TUIEmoji_Heart]': 'emoji_50@2x.png',
|
||||
'[TUIEmoji_Sun]': 'emoji_51@2x.png',
|
||||
'[TUIEmoji_Moon]': 'emoji_52@2x.png',
|
||||
'[TUIEmoji_Star]': 'emoji_53@2x.png',
|
||||
'[TUIEmoji_Rich]': 'emoji_54@2x.png',
|
||||
'[TUIEmoji_Fortune]': 'emoji_55@2x.png',
|
||||
'[TUIEmoji_857]': 'emoji_56@2x.png',
|
||||
'[TUIEmoji_666]': 'emoji_57@2x.png',
|
||||
'[TUIEmoji_Prohibit]': 'emoji_58@2x.png',
|
||||
'[TUIEmoji_Convinced]': 'emoji_59@2x.png',
|
||||
'[TUIEmoji_Knife]': 'emoji_60@2x.png',
|
||||
'[TUIEmoji_Like]': 'emoji_61@2x.png',
|
||||
// '00': '00.png',
|
||||
};
|
||||
|
||||
export const BIG_EMOJI_GROUP_LIST: IEmojiGroupList = [
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<Forward @toggleMultipleSelectMode="toggleMultipleSelectMode" />
|
||||
<MessageList
|
||||
ref="messageListRef"
|
||||
:class="['tui-chat-message-list', !isPC && 'tui-chat-h5-message-list']"
|
||||
:class="['tui-chat-message-list',!isPC && 'tui-chat-h5-message-list']"
|
||||
:isGroup="isGroup"
|
||||
:groupID="groupID"
|
||||
:isNotInGroup="isNotInGroup"
|
||||
|
||||
@@ -12,16 +12,95 @@
|
||||
>
|
||||
<div class="popup">
|
||||
<div class="container">
|
||||
<div class="title">PK邀请</div>
|
||||
<div class="titlecss">
|
||||
<div></div>
|
||||
<div class="title">PK邀请</div>
|
||||
<div class="close" @click="onClose">
|
||||
<image
|
||||
style="width: 40rpx; height: 40rpx;"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="yourChoose" @click="onyourChoose">
|
||||
<view class="yourChoose-item">选择你要邀请的对手</view>
|
||||
<!-- -->
|
||||
<view v-if="youselfdata == null" class="yourChoose-item"
|
||||
>选择你要邀请的对手</view
|
||||
>
|
||||
<!-- -->
|
||||
<view v-else class="Echo">
|
||||
<view class="EchoIcon">
|
||||
<image
|
||||
style="width: 100rpx; height: 100rpx; border-radius: 50%"
|
||||
:src="youselfdata.anchorIcon"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="EchoNameandTime">
|
||||
<view class="EchoName">{{ youselfdata.anchorId }}</view>
|
||||
<view class="EchoTimeandGold">
|
||||
<view class="pkTimeimg">
|
||||
<image
|
||||
style="width: 31.49rpx; height: 31.49rpx; margin-top: 3rpx"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view>{{ TimeFormatting(youselfdata.pkTime) }}</view>
|
||||
<view class="goldimg">
|
||||
<image
|
||||
style="width: 31.49rpx; height: 31.49rpx; margin-top: 4rpx"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="goldnb">{{ youselfdata.coin }}K</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</div>
|
||||
<div class="vstext">
|
||||
<div class="Vtext">V</div>
|
||||
<div class="Stext">S</div>
|
||||
<div class="Vtext">V</div>
|
||||
<div class="Stext">S</div>
|
||||
</div>
|
||||
<div class="myChoose" @click="onmyChoose">
|
||||
<view class="yourChoose-item">选择你要参与PK的信息</view>
|
||||
<!-- -->
|
||||
<view class="yourChoose-item" v-if="myinfodata == null"
|
||||
>选择你要参与PK的信息</view
|
||||
>
|
||||
<!-- -->
|
||||
<view v-else class="Echo">
|
||||
<view class="EchoIcon">
|
||||
<image
|
||||
style="width: 100rpx; height: 100rpx; border-radius: 50%"
|
||||
:src="myinfodata.anchorIcon"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="EchoNameandTime">
|
||||
<view class="EchoName">{{ myinfodata.anchorId }}</view>
|
||||
<view class="EchoTimeandGold">
|
||||
<view class="pkTimeimg">
|
||||
<image
|
||||
style="width: 31.49rpx; height: 31.49rpx; margin-top: 3rpx"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view>{{ TimeFormatting(myinfodata.pkTime) }}</view>
|
||||
<view class="goldimg">
|
||||
<image
|
||||
style="width: 31.49rpx; height: 31.49rpx; margin-top: 4rpx"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="goldnb">{{ myinfodata.coin }}K</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</div>
|
||||
</div>
|
||||
<button class="send-btn" @click="submitEvaluate">发送邀请</button>
|
||||
@@ -38,7 +117,10 @@
|
||||
class="card-content"
|
||||
@click="Select(item.id, index)"
|
||||
:style="{
|
||||
background: selectedId === item.id ? '#b8ff8c74' : '#ffffff',
|
||||
background:
|
||||
myselectedId === item.id || youselectedId === item.id
|
||||
? '#b8ff8c74'
|
||||
: '#ffffff',
|
||||
}"
|
||||
>
|
||||
<view class="Avatarimg">
|
||||
@@ -46,7 +128,9 @@
|
||||
</view>
|
||||
<view class="NameMoney">
|
||||
<view class="TimeMoney">
|
||||
<view class="NameMoney_Name">{{ item.anchorId }}</view>
|
||||
<view class="NameMoney_Name">{{
|
||||
list == mylist ? item.anchorId : item.disPlayId
|
||||
}}</view>
|
||||
</view>
|
||||
<view class="TimeMoney_Time">
|
||||
<view class="pkTimeimg">
|
||||
@@ -56,7 +140,7 @@
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<!-- <view>{{ TimeFormatting(item.pkTime) }}</view> -->
|
||||
<view>{{ TimeFormatting(item.pkTime) }}</view>
|
||||
<view class="goldimg">
|
||||
<image
|
||||
style="width: 31.49rpx; height: 31.49rpx; margin-top: 4rpx"
|
||||
@@ -76,11 +160,21 @@
|
||||
>
|
||||
</view>
|
||||
<view class="popup-btn">
|
||||
<button class="invite" type="primary" @click="invite()">邀请</button>
|
||||
<button class="invite" type="primary" @click="invite()">确定</button>
|
||||
<button class="cancel" type="default" @click="close()">取消</button>
|
||||
</view>
|
||||
</view>
|
||||
</uni-popup>
|
||||
<uni-popup ref="popups" type="center" border-radius="10px 10px 0 0">
|
||||
<view class="popup-Hintcontent">
|
||||
<view class="popup-text">提示</view>
|
||||
<view class="popup-texts">邀请成功后的pk不可修改,不可删除,请谨慎操作!</view>
|
||||
<view class="popup-btn">
|
||||
<button class="invite" type="primary" @click="inviteHint">确认</button>
|
||||
<button class="cancel" type="default" @click="closeHint">取消</button>
|
||||
</view>
|
||||
</view>
|
||||
</uni-popup>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@@ -88,6 +182,7 @@ import TUIChatConfig from "../../config";
|
||||
import ToolbarItemContainer from "../toolbar-item-container/index.vue";
|
||||
import InvitationDark from "../../../../assets/icon/InvitationDark.png";
|
||||
import InvitationLight from "../../../../assets/icon/InvitationLight.png";
|
||||
import generateMsgId from "@/components/generateMsgId.js";
|
||||
import { ref } from "vue";
|
||||
import TUIChatEngine, {
|
||||
TUIStore,
|
||||
@@ -98,9 +193,11 @@ import { isEnabledMessageReadReceiptGlobal } from "../../utils/utils";
|
||||
import OfflinePushInfoManager from "../../offlinePushInfoManager/index";
|
||||
import { useCounterStore } from "@/stores/counter";
|
||||
import request from "@/components/request";
|
||||
import TimeFormatting from "@/components/TimeFormatting";
|
||||
const counter = useCounterStore();
|
||||
|
||||
const evaluateIcon = TUIChatConfig.getTheme() === "dark" ? InvitationDark : InvitationLight;
|
||||
const evaluateIcon =
|
||||
TUIChatConfig.getTheme() === "dark" ? InvitationDark : InvitationLight;
|
||||
const emits = defineEmits(["onDialogPopupShowOrHide"]);
|
||||
const onDialogShow = () => {
|
||||
emits("onDialogPopupShowOrHide", true);
|
||||
@@ -112,7 +209,7 @@ const onDialogClose = () => {
|
||||
const currentConversation = ref();
|
||||
|
||||
const mylist = ref([]);
|
||||
const youlist= ref([]);
|
||||
const youlist = ref([]);
|
||||
TUIStore.watch(StoreName.CONV, {
|
||||
currentConversation: (conversation) => {
|
||||
currentConversation.value = conversation;
|
||||
@@ -121,11 +218,12 @@ TUIStore.watch(StoreName.CONV, {
|
||||
url: "pk/queryMyCanUsePkData",
|
||||
method: "POST",
|
||||
data: {
|
||||
userId:counter.myitem.id,
|
||||
userId: counter.myitem.id,
|
||||
},
|
||||
userInfo: true,
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
console.log("mylist", res.data);
|
||||
mylist.value = res.data;
|
||||
}
|
||||
});
|
||||
@@ -134,76 +232,189 @@ TUIStore.watch(StoreName.CONV, {
|
||||
url: "pk/listUninvitedPublishedAnchorsByUserId",
|
||||
method: "POST",
|
||||
data: {
|
||||
userId:currentConversation.value.userProfile.userID,
|
||||
userId: currentConversation.value.userProfile.userID,
|
||||
},
|
||||
userInfo: true,
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
console.log("youlist", res.data);
|
||||
youlist.value = res.data;
|
||||
}
|
||||
});
|
||||
// ````````````````````````
|
||||
},
|
||||
});
|
||||
const container = ref();
|
||||
const list = ref([]);
|
||||
const popup = ref();
|
||||
//选择对方pk信息(打开弹窗)
|
||||
function onyourChoose(){
|
||||
function onyourChoose() {
|
||||
popup.value.open("center");
|
||||
list.value = youlist.value;
|
||||
}
|
||||
//选择自己的pk信息(打开弹窗)
|
||||
function onmyChoose(){
|
||||
function onmyChoose() {
|
||||
popup.value.open("center");
|
||||
list.value = mylist.value;
|
||||
}
|
||||
//弹窗选中
|
||||
const selectedId = ref(null);
|
||||
function Select(item ,index){
|
||||
selectedId.value = item;
|
||||
};
|
||||
|
||||
const myselectedId = ref(null);
|
||||
const youselectedId = ref(null);
|
||||
const youselectedindex = ref(null);
|
||||
const myselectedindex = ref(null);
|
||||
function Select(item, index) {
|
||||
if (list.value == mylist.value) {
|
||||
myselectedId.value = item;
|
||||
myselectedindex.value = index;
|
||||
} else if (list.value == youlist.value) {
|
||||
youselectedId.value = item;
|
||||
youselectedindex.value = index;
|
||||
}
|
||||
}
|
||||
//关闭弹窗
|
||||
function close() {
|
||||
popup.value.close();
|
||||
if (list.value == mylist.value) {
|
||||
myselectedId.value = null;
|
||||
myselectedindex.value = null;
|
||||
} else if (list.value == youlist.value) {
|
||||
youselectedId.value = null;
|
||||
youselectedindex.value = null;
|
||||
}
|
||||
}
|
||||
//确认
|
||||
const myinfodata = ref(null);
|
||||
const youselfdata = ref(null);
|
||||
function invite() {
|
||||
if (list.value == mylist.value) {
|
||||
if (myselectedindex.value == null) {
|
||||
uni.showToast({
|
||||
title: "请选择您要邀请的对手",
|
||||
icon: "none",
|
||||
duration: 3000,
|
||||
});
|
||||
return;
|
||||
} else {
|
||||
myinfodata.value = list.value[myselectedindex.value];
|
||||
popup.value.close();
|
||||
}
|
||||
} else if (list.value == youlist.value) {
|
||||
if (youselectedindex.value == null) {
|
||||
uni.showToast({
|
||||
title: "请选择您要参与的PK信息",
|
||||
icon: "none",
|
||||
duration: 3000,
|
||||
});
|
||||
return;
|
||||
} else {
|
||||
youselfdata.value = list.value[youselectedindex.value];
|
||||
popup.value.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
//关闭弹窗
|
||||
const container = ref();
|
||||
function onClose() {
|
||||
container?.value?.toggleDialogDisplay(false);
|
||||
}
|
||||
///``````````````````````````````````````标记3``````````````````````````````````````````````
|
||||
const popups = ref();
|
||||
const submitEvaluate = () => {
|
||||
|
||||
// const payload = {
|
||||
// data: JSON.stringify({
|
||||
// businessID: "pk",
|
||||
// title: "PK邀请",
|
||||
// buttonText1: "接受邀请",
|
||||
// buttonText2: "拒绝邀请",
|
||||
// }),
|
||||
// description: "邀请参加PK",
|
||||
// extension: "邀请参加PK",
|
||||
// };
|
||||
|
||||
// //`````````````````````````````````````````````````````
|
||||
// const options = {
|
||||
// to:
|
||||
// currentConversation?.value?.groupProfile?.groupID ||
|
||||
// currentConversation?.value?.userProfile?.userID,
|
||||
// conversationType: currentConversation?.value?.type,
|
||||
// payload,
|
||||
// needReadReceipt: isEnabledMessageReadReceiptGlobal(),
|
||||
// };
|
||||
|
||||
// const offlinePushInfoCreateParams = {
|
||||
// conversation: currentConversation.value,
|
||||
// payload: options.payload,
|
||||
// messageType: TUIChatEngine.TYPES.MSG_CUSTOM,
|
||||
// };
|
||||
// const sendMessageOptions = {
|
||||
// offlinePushInfo: OfflinePushInfoManager.create(offlinePushInfoCreateParams),
|
||||
// };
|
||||
// TUIChatService.sendCustomMessage(options, sendMessageOptions);
|
||||
// // close dialog after submit evaluate
|
||||
// container?.value?.toggleDialogDisplay(false);
|
||||
popups.value.open("center");
|
||||
};
|
||||
function closeHint() {
|
||||
popups.value.close();
|
||||
}
|
||||
const inviteHint =()=> {
|
||||
request({
|
||||
url: "pk/createPkRecord",
|
||||
method: "POST",
|
||||
data: {
|
||||
pkIdA: youselfdata.value.id,
|
||||
pkIdB: myinfodata.value.id,
|
||||
userIdA: youselfdata.value.senderId,
|
||||
userIdB: myinfodata.value.senderId,
|
||||
pkTime: youselfdata.value.pkTime,
|
||||
pkNumber: youselfdata.value.pkNumber,
|
||||
anchorIdA: youselfdata.value.anchorId,
|
||||
anchorIdB: myinfodata.value.anchorId,
|
||||
anchorIconA: youselfdata.value.anchorIcon,
|
||||
anchorIconB: myinfodata.value.anchorIcon,
|
||||
piIdA: youselfdata.value.id,
|
||||
piIdB: myinfodata.value.id,
|
||||
},
|
||||
userInfo: true,
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
const keyid = generateMsgId();
|
||||
const payload = {
|
||||
data: JSON.stringify({
|
||||
businessID: "pk",
|
||||
keyid: keyid,
|
||||
myitem: myinfodata.value.id,
|
||||
pkIdA: youselfdata.value.id,
|
||||
pkIdB: myinfodata.value.id,
|
||||
userIdA: youselfdata.value.senderId,
|
||||
userIdB: myinfodata.value.senderId,
|
||||
pkTime: youselfdata.value.pkTime,
|
||||
pkNumber: youselfdata.value.pkNumber,
|
||||
id: res.data.id,
|
||||
link: "https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/pk.png",
|
||||
btnDisplay: true,
|
||||
}),
|
||||
description: "邀请参加PK",
|
||||
extension: "邀请参加PK",
|
||||
};
|
||||
const options = {
|
||||
to:
|
||||
currentConversation?.value?.groupProfile?.groupID ||
|
||||
currentConversation?.value?.userProfile?.userID,
|
||||
conversationType: currentConversation?.value?.type,
|
||||
payload,
|
||||
needReadReceipt: isEnabledMessageReadReceiptGlobal(),
|
||||
};
|
||||
const offlinePushInfoCreateParams = {
|
||||
conversation: currentConversation.value,
|
||||
payload: options.payload,
|
||||
messageType: TUIChatEngine.TYPES.MSG_CUSTOM,
|
||||
};
|
||||
const sendMessageOptions = {
|
||||
offlinePushInfo: OfflinePushInfoManager.create(offlinePushInfoCreateParams),
|
||||
};
|
||||
TUIChatService.sendCustomMessage(options, sendMessageOptions).then((res) => {
|
||||
const messagein = request({
|
||||
url: "chat/add",
|
||||
method: "POST",
|
||||
data: {
|
||||
messageInfo: JSON.stringify(res.data.message),
|
||||
keyId: keyid,
|
||||
},
|
||||
userInfo: true,
|
||||
});
|
||||
});
|
||||
myinfodata.value = null;
|
||||
youselfdata.value = null;
|
||||
currentConversation.value = null;
|
||||
myselectedId.value = null;
|
||||
myselectedindex.value = null;
|
||||
youselectedId.value = null;
|
||||
youselectedindex.value = null;
|
||||
list.value = [];
|
||||
container?.value?.toggleDialogDisplay(false);
|
||||
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
icon: "none",
|
||||
duration: 3000,
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.popup{
|
||||
.popup {
|
||||
height: 750rpx;
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);
|
||||
background-position: center;
|
||||
@@ -214,38 +425,78 @@ const submitEvaluate = () => {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.title{
|
||||
.titlecss{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: 50rpx;
|
||||
}
|
||||
.title {
|
||||
font-size: 40rpx;
|
||||
color: #313131;
|
||||
text-align: center;
|
||||
margin-top: 40rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.yourChoose{
|
||||
.close{
|
||||
margin-right: 40rpx;
|
||||
margin-top: -30rpx;
|
||||
}
|
||||
.yourChoose {
|
||||
width: 80%;
|
||||
height: 150rpx;
|
||||
margin-top: 40rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
/* justify-content: center; */
|
||||
align-items: center;
|
||||
border-radius: 10rpx;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.myChoose{
|
||||
.myChoose {
|
||||
width: 80%;
|
||||
height: 150rpx;
|
||||
margin-top: 40rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
/* justify-content: center; */
|
||||
align-items: center;
|
||||
border-radius: 10rpx;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.yourChoose-item{
|
||||
.yourChoose-item {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
line-height: 150rpx;
|
||||
font-size: 30rpx;
|
||||
color: #313131;
|
||||
font-weight: bold;
|
||||
}
|
||||
.Echo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.EchoIcon {
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
border-radius: 50%;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.EchoNameandTime {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.EchoName {
|
||||
font-size: 30rpx;
|
||||
color: #313131;
|
||||
margin-left: 20rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.EchoTimeandGold {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 20rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.vstext {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -266,10 +517,16 @@ const submitEvaluate = () => {
|
||||
font-style: italic;
|
||||
}
|
||||
.send-btn {
|
||||
margin-bottom: 100rpx;
|
||||
width: 80%;
|
||||
margin-bottom: 70rpx;
|
||||
border-radius: 50rpx;
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
color: #ffffff;
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.popup-content {
|
||||
width: 750rpx;
|
||||
width: 600rpx;
|
||||
height: 700rpx;
|
||||
background-repeat: no-repeat;
|
||||
border-radius: 10px;
|
||||
@@ -362,7 +619,7 @@ const submitEvaluate = () => {
|
||||
display: flex;
|
||||
margin-left: 5rpx;
|
||||
}
|
||||
.noData{
|
||||
.noData {
|
||||
width: 500rpx;
|
||||
height: 400rpx;
|
||||
border-radius: 10px;
|
||||
@@ -428,4 +685,24 @@ const submitEvaluate = () => {
|
||||
border-bottom-right-radius: 50rpx;
|
||||
border: 1rpx solid #03aba8;
|
||||
}
|
||||
.popup-Hintcontent{
|
||||
width: 600rpx;
|
||||
height: 500rpx;
|
||||
background-repeat: no-repeat;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);
|
||||
background-position: center;
|
||||
}
|
||||
.popup-texts{
|
||||
margin-left: 50rpx;
|
||||
color: #7e7e7e;
|
||||
font-size: 26rpx;
|
||||
margin-right: 50rpx;
|
||||
margin-top: 70rpx;
|
||||
margin-bottom: 70rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -1,81 +0,0 @@
|
||||
<template>
|
||||
<uni-popup class="popupcss" ref="popup" type="center" border-radius="10px 10px 0 0">
|
||||
<view class="popup-content">
|
||||
<view class="popup-title">
|
||||
<view class="popup-text">点击选择您要参与的主播</view>
|
||||
<view v-if="list.length !== 0">
|
||||
<scroll-view show-scrollbar="false" scroll-y="true" class="scroll">
|
||||
<view class="card" v-for="(item, index) in list" :key="index">
|
||||
<view
|
||||
class="card-content"
|
||||
@click="Select(item.id, index)"
|
||||
:style="{
|
||||
background: selectedId === item.id ? '#b8ff8c74' : '#ffffff',
|
||||
}"
|
||||
>
|
||||
<view class="Avatarimg">
|
||||
<image class="avatar" :src="item.anchorIcon" mode="scaleToFill" />
|
||||
</view>
|
||||
<view class="NameMoney">
|
||||
<view class="TimeMoney">
|
||||
<view class="NameMoney_Name">{{ item.anchorId }}</view>
|
||||
</view>
|
||||
<view class="TimeMoney_Time">
|
||||
<view class="pkTimeimg">
|
||||
<image
|
||||
style="width: 31.49rpx; height: 31.49rpx; margin-top: 3rpx"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<!-- <view>{{ TimeFormatting(item.pkTime) }}</view> -->
|
||||
<view class="goldimg">
|
||||
<image
|
||||
style="width: 31.49rpx; height: 31.49rpx; margin-top: 4rpx"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="goldnb">{{ item.coin }}K</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="noData" v-if="list.length === 0"
|
||||
>您还没有可参与的主播PK,快去新建一个吧!</view
|
||||
>
|
||||
</view>
|
||||
<view class="popup-btn">
|
||||
<button class="invite" type="primary" @click="invite()">邀请</button>
|
||||
<button class="cancel" type="default" @click="close()">取消</button>
|
||||
</view>
|
||||
</view>
|
||||
</uni-popup>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title: "Hello",
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
// 页面加载时执行
|
||||
},
|
||||
methods: {
|
||||
//确定邀请
|
||||
invite() {},
|
||||
//关闭弹窗
|
||||
close() {
|
||||
popup.value.close();
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
/* 样式定义 */
|
||||
</style>
|
||||
@@ -7,7 +7,7 @@
|
||||
]"
|
||||
>
|
||||
<div v-if="props.displayType === 'emojiPicker'">
|
||||
<EmojiPickerDialog />
|
||||
<!-- <EmojiPickerDialog /> -->
|
||||
</div>
|
||||
|
||||
<div v-else class="barTool">
|
||||
@@ -50,6 +50,7 @@
|
||||
/> -->
|
||||
</div>
|
||||
<div class="barToolItem">
|
||||
<!-- ···············································标记··············································· -->
|
||||
<CustomMessage
|
||||
v-if="featureConfig.InputCustomMessage"
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
@@ -66,7 +67,7 @@
|
||||
@cancel="onUserSelectorCancel"
|
||||
/>
|
||||
|
||||
<popupinvite ref="popupinviteRef" />
|
||||
<!-- <popupinvite ref="popupinviteRef" /> -->
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
@@ -273,7 +274,8 @@ const handleSwiperDotShow = (showStatus: boolean) => {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
.barToolItem {
|
||||
margin-bottom: 10rpx;
|
||||
margin-bottom: 30rpx;
|
||||
margin-top: 30rpx;
|
||||
width: 25%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,14 +30,14 @@
|
||||
@insertAt="insertAt"
|
||||
@onAtListOpen="onAtListOpen"
|
||||
/>
|
||||
<Icon
|
||||
<!-- <Icon
|
||||
v-if="isRenderEmojiPicker"
|
||||
class="icon icon-face"
|
||||
:file="faceIcon"
|
||||
:size="'23px'"
|
||||
:hotAreaSize="'3px'"
|
||||
@onClick="changeToolbarDisplayType('emojiPicker')"
|
||||
/>
|
||||
/> -->
|
||||
<Icon
|
||||
v-if="isRenderMore"
|
||||
class="icon icon-more"
|
||||
|
||||
@@ -2,8 +2,8 @@ import addPrefixToHeaderIcon from './addPrefixToHeaderIcon.js'
|
||||
export default function request(urldata) {
|
||||
const { url, data, method, header, userInfo } = urldata;
|
||||
// const baseUrl = "http://49.235.115.212:8086/"+ url;
|
||||
// const baseUrl = "https://pk.zhukeping.com/"+ url;
|
||||
const baseUrl = "http://120.26.251.180:8086/"+ url;
|
||||
const baseUrl = "https://pk.zhukeping.com/"+ url;
|
||||
// const baseUrl = "http://120.26.251.180:8086/"+ url;
|
||||
// const baseUrl = "http://192.168.1.218:8086/"+ url;
|
||||
if (userInfo) {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
@@ -122,8 +122,7 @@
|
||||
{
|
||||
"path": "components/TUIChat/index",
|
||||
"style": {
|
||||
"navigationStyle": "default",
|
||||
"navigationBarTitleText": "腾讯云 IM",
|
||||
"navigationBarTitleText": "聊天",
|
||||
"app-plus": {
|
||||
"softinputMode": "adjustResize",
|
||||
"titleNView": {
|
||||
|
||||
@@ -135,14 +135,34 @@
|
||||
</view>
|
||||
<!-- 邀请信息 -->
|
||||
<view class="button" v-if="PkIDInfodata.pkStatus === 0 && ReceiverData.senderId !== id">
|
||||
<button class="accept" @click="operation(1)">接受邀请</button>
|
||||
<button class="reject" @click="operation(2)">拒绝邀请</button>
|
||||
<button class="accept" @click="AcceptHint()">接受邀请</button>
|
||||
<button class="reject" @click="RefuseHint()">拒绝邀请</button>
|
||||
</view>
|
||||
<view v-if="ReceiverData.senderId === id && PkIDInfodata.pkStatus === 0" class="button buttontext">等待对方接受邀请</view>
|
||||
<view v-if="PkIDInfodata.pkStatus === 1" class="button buttontext">已接受邀请</view>
|
||||
<view v-if="PkIDInfodata.pkStatus === 2" class="button buttontext">已拒绝邀请</view>
|
||||
</view>
|
||||
</view>
|
||||
<uni-popup ref="popups" type="center" border-radius="10px 10px 0 0">
|
||||
<view class="popup-Hintcontent">
|
||||
<view class="popup-text">提示</view>
|
||||
<view class="popup-texts">邀请成功后的pk不可修改,不可删除,请谨慎操作!</view>
|
||||
<view class="popup-btn">
|
||||
<button class="invite" type="primary" @click="operation(1)">确认</button>
|
||||
<button class="cancel" type="default" @click="closeHint()">取消</button>
|
||||
</view>
|
||||
</view>
|
||||
</uni-popup>
|
||||
<uni-popup ref="Refusepopup" type="center" border-radius="10px 10px 0 0">
|
||||
<view class="popup-Hintcontent">
|
||||
<view class="popup-text">提示</view>
|
||||
<view class="popup-texts">您确定要拒绝该邀请吗?</view>
|
||||
<view class="popup-btn">
|
||||
<button class="invite" type="primary" @click="operation(2)">确认</button>
|
||||
<button class="cancel" type="default" @click="RefuseHintcloseHint()">取消</button>
|
||||
</view>
|
||||
</view>
|
||||
</uni-popup>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -166,6 +186,7 @@ export default {
|
||||
},
|
||||
});
|
||||
this.customData = JSON.parse(options.customData);
|
||||
console.log("customData", this.customData);
|
||||
this.getPkyourInfo();
|
||||
this.getPkmineInfo();
|
||||
this.getPkIDInfo();
|
||||
@@ -194,6 +215,7 @@ export default {
|
||||
},
|
||||
userInfo: true,
|
||||
}).then((res) => {
|
||||
console.log(res.data);
|
||||
this.SenderData = res.data;
|
||||
});
|
||||
},
|
||||
@@ -207,8 +229,8 @@ export default {
|
||||
},
|
||||
userInfo: true,
|
||||
}).then((res) => {
|
||||
console.log(res.data);
|
||||
this.ReceiverData = res.data;
|
||||
|
||||
});
|
||||
},
|
||||
//返回上一页
|
||||
@@ -218,6 +240,21 @@ export default {
|
||||
});
|
||||
},
|
||||
formatDate: formatDate,
|
||||
//接受邀请提示
|
||||
AcceptHint(){
|
||||
this.$refs.popups.open('center');
|
||||
},
|
||||
closeHint(){
|
||||
this.$refs.popups.close();
|
||||
},
|
||||
//拒绝邀请提示
|
||||
RefuseHint(){
|
||||
this.$refs.Refusepopup.open('center');
|
||||
},
|
||||
RefuseHintcloseHint(){
|
||||
this.$refs.Refusepopup.close();
|
||||
},
|
||||
//操作
|
||||
async operation(status) {
|
||||
const res = await request({
|
||||
url: "pk/updatePkStatus",
|
||||
@@ -231,6 +268,8 @@ export default {
|
||||
const Hinttext = status === 1 ? "接受邀请成功" : "拒绝邀请成功";
|
||||
if (res.code === 200) {
|
||||
this.getPkIDInfo()
|
||||
this.$refs.popups.close();
|
||||
this.$refs.Refusepopup.close();
|
||||
wx.showToast({
|
||||
title: Hinttext,
|
||||
icon: "success",
|
||||
@@ -435,4 +474,57 @@ export default {
|
||||
font-size: 28.63rpx;
|
||||
line-height: 77.29rpx;
|
||||
}
|
||||
.popup-Hintcontent{
|
||||
width: 600rpx;
|
||||
height: 500rpx;
|
||||
background-repeat: no-repeat;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);
|
||||
background-position: center;
|
||||
}
|
||||
.popup-text {
|
||||
color: #161616;
|
||||
font-size: 36.26rpx;
|
||||
font-weight: bold;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.popup-texts{
|
||||
margin-left: 50rpx;
|
||||
color: #7e7e7e;
|
||||
font-size: 26rpx;
|
||||
margin-right: 50rpx;
|
||||
margin-top: 70rpx;
|
||||
margin-bottom: 70rpx;
|
||||
}
|
||||
.popup-btn {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
margin-top: 50rpx;
|
||||
}
|
||||
.invite {
|
||||
width: 225.19rpx;
|
||||
height: 78.24rpx;
|
||||
font-size: 28.63rpx;
|
||||
line-height: 80rpx;
|
||||
border-top-left-radius: 50rpx;
|
||||
border-bottom-left-radius: 50rpx;
|
||||
border-bottom-right-radius: 50rpx;
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
}
|
||||
.cancel {
|
||||
width: 225.19rpx;
|
||||
height: 78.24rpx;
|
||||
font-size: 28.63rpx;
|
||||
line-height: 80rpx;
|
||||
margin-left: 30rpx;
|
||||
color: #03aba8;
|
||||
border-top-left-radius: 50rpx;
|
||||
border-bottom-left-radius: 50rpx;
|
||||
border-bottom-right-radius: 50rpx;
|
||||
border: 1rpx solid #03aba8;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -98,47 +98,48 @@
|
||||
<view class="popup-title">
|
||||
<view class="popup-text">点击选择您要参与的主播</view>
|
||||
<view v-if="list.length !== 0">
|
||||
<scroll-view show-scrollbar="false" scroll-y="true" class="scroll">
|
||||
|
||||
<view class="card" v-for="(item, index) in list" :key="index">
|
||||
<view
|
||||
class="card-content"
|
||||
@click="Select(item.id, index)"
|
||||
:style="{
|
||||
background: selectedId === item.id ? '#b8ff8c74' : '#ffffff',
|
||||
}"
|
||||
>
|
||||
<view class="Avatarimg">
|
||||
<image class="avatar" :src="item.anchorIcon" mode="scaleToFill" />
|
||||
</view>
|
||||
<view class="NameMoney">
|
||||
<view class="TimeMoney">
|
||||
<view class="NameMoney_Name">{{ item.anchorId }}</view>
|
||||
<scroll-view show-scrollbar="false" scroll-y="true" class="scroll">
|
||||
<view class="card" v-for="(item, index) in list" :key="index">
|
||||
<view
|
||||
class="card-content"
|
||||
@click="Select(item.id, index)"
|
||||
:style="{
|
||||
background: selectedId === item.id ? '#b8ff8c74' : '#ffffff',
|
||||
}"
|
||||
>
|
||||
<view class="Avatarimg">
|
||||
<image class="avatar" :src="item.anchorIcon" mode="scaleToFill" />
|
||||
</view>
|
||||
<view class="TimeMoney_Time">
|
||||
<view class="pkTimeimg">
|
||||
<image
|
||||
style="width:31.49rpx; height:31.49rpx;margin-top:3rpx"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
<view class="NameMoney">
|
||||
<view class="TimeMoney">
|
||||
<view class="NameMoney_Name">{{ item.anchorId }}</view>
|
||||
</view>
|
||||
<view>{{ TimeFormatting(item.pkTime) }}</view>
|
||||
<view class="goldimg">
|
||||
<image
|
||||
style="width:31.49rpx; height:31.49rpx;margin-top:4rpx"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
<view class="TimeMoney_Time">
|
||||
<view class="pkTimeimg">
|
||||
<image
|
||||
style="width: 31.49rpx; height: 31.49rpx; margin-top: 3rpx"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view>{{ TimeFormatting(item.pkTime) }}</view>
|
||||
<view class="goldimg">
|
||||
<image
|
||||
style="width: 31.49rpx; height: 31.49rpx; margin-top: 4rpx"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="goldnb">{{ item.coin }}K</view>
|
||||
</view>
|
||||
<view class="goldnb">{{ item.coin }}K</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="noData" v-if="list.length === 0">您还没有可参与的主播PK,快去新建一个吧!</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="noData" v-if="list.length === 0"
|
||||
>您还没有可参与的主播PK,快去新建一个吧!</view
|
||||
>
|
||||
</view>
|
||||
<view class="popup-btn">
|
||||
<button class="invite" type="primary" @click="invite()">邀请</button>
|
||||
@@ -148,6 +149,16 @@
|
||||
</uni-popup>
|
||||
<NewAddedPk class="createModule" ref="createModule"></NewAddedPk>
|
||||
<!-- <Recompose ref="createModule" class="createModule" :message="parentMessage"></Recompose> -->
|
||||
<uni-popup ref="popups" type="center" border-radius="10px 10px 0 0">
|
||||
<view class="popup-Hintcontent">
|
||||
<view class="popup-text">提示</view>
|
||||
<view class="popup-texts">邀请成功后的pk不可修改,不可删除,请谨慎操作!</view>
|
||||
<view class="popup-btn">
|
||||
<button class="invite" type="primary" @click="inviteHint()">确认</button>
|
||||
<button class="cancel" type="default" @click="closeHint()">取消</button>
|
||||
</view>
|
||||
</view>
|
||||
</uni-popup>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -228,22 +239,30 @@ export default {
|
||||
this.userlist();
|
||||
},
|
||||
invite() {
|
||||
// if (this.item.pkTime !== this.list[this.InvitingPartyEventindex].pkTime) {
|
||||
// uni.showToast({
|
||||
// icon: "none",
|
||||
// title: "请保持时间一致",
|
||||
// });
|
||||
// return;
|
||||
// }
|
||||
// 发送邀请消息
|
||||
if (this.InvitingPartyEventindex === null) {
|
||||
uni.showToast({
|
||||
title: "请选择您要参与的PK信息",
|
||||
icon: "none",
|
||||
duration: 2000,
|
||||
});
|
||||
return;
|
||||
}
|
||||
this.$refs.popups.open("center");
|
||||
},
|
||||
closeHint(){
|
||||
this.$refs.popups.close();
|
||||
},
|
||||
inviteHint(){
|
||||
this.$refs.popups.close();
|
||||
// 发送邀请消息
|
||||
const conversationID = `C2C${this.item.senderId}`;
|
||||
const myitem = JSON.stringify(this.list[this.InvitingPartyEventindex]);
|
||||
const youritem = JSON.stringify(this.item);
|
||||
uni.redirectTo({
|
||||
url: `/TUIKit/components/TUIChat/index?conversationID=${conversationID}&myitem=${myitem}&youritem=${youritem}`,
|
||||
});
|
||||
/////////
|
||||
},
|
||||
// 打开邀请弹窗
|
||||
close() {
|
||||
this.$refs.popup.close();
|
||||
},
|
||||
@@ -312,6 +331,18 @@ export default {
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);
|
||||
background-position: center;
|
||||
}
|
||||
.popup-Hintcontent{
|
||||
width: 600rpx;
|
||||
height: 500rpx;
|
||||
background-repeat: no-repeat;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);
|
||||
background-position: center;
|
||||
}
|
||||
.popup-title {
|
||||
font-size: 30rpx;
|
||||
margin-top: 50rpx;
|
||||
@@ -356,6 +387,14 @@ export default {
|
||||
font-weight: bold;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.popup-texts{
|
||||
margin-left: 50rpx;
|
||||
color: #7e7e7e;
|
||||
font-size: 26rpx;
|
||||
margin-right: 50rpx;
|
||||
margin-top: 70rpx;
|
||||
margin-bottom: 70rpx;
|
||||
}
|
||||
.card-content {
|
||||
/* width: 445rpx; */
|
||||
width: 100%;
|
||||
@@ -612,7 +651,7 @@ export default {
|
||||
font-size: 28.63rpx;
|
||||
line-height: 77.29rpx;
|
||||
}
|
||||
.noData{
|
||||
.noData {
|
||||
width: 500rpx;
|
||||
height: 400rpx;
|
||||
border-radius: 10px;
|
||||
|
||||
2
unpackage/dist/build/mp-weixin/NewAddedPk.js
vendored
2
unpackage/dist/build/mp-weixin/NewAddedPk.js
vendored
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js");require("../../../adapter-vue.js");const t=e.defineComponent({__name:"index",props:["isGroup"],emits:["openGroupManagement"],setup(t,{emit:n}){const o=e.ref(),a=e.ref(!1),u=e.ref("Global");function r(){e.index.navigateBack({delta:1})}const i=e=>{u.value=e||"Global"};function l(e){var t;o.value=e,a.value||i(null==(t=null==o?void 0:o.value)?void 0:t.getShowName())}function v(t){var n;a.value=t,a.value?i(e.Wt.t("TUIChat.对方正在输入...")):i(null==(n=o.value)?void 0:n.getShowName())}return e.onMounted((()=>{e.Jt.watch(e.o.CONV,{currentConversation:l}),e.Jt.watch(e.o.CHAT,{typingStatus:v})})),e.onUnmounted((()=>{e.Jt.unwatch(e.o.CONV,{currentConversation:l}),e.Jt.unwatch(e.o.CHAT,{typingStatus:v})})),e.onLoad((()=>{var e;i(null==(e=o.value)?void 0:e.getShowName())})),(t,n)=>({a:e.t(e.unref(u)),b:e.o$1(r)})}});wx.createComponent(t);
|
||||
"use strict";const e=require("../../../../common/vendor.js");require("../../../adapter-vue.js");const t=e.defineComponent({__name:"index",props:["isGroup"],emits:["openGroupManagement"],setup(t,{emit:n}){const o=e.ref(),a=e.ref(!1),u=e.ref("Global");function r(){e.index.navigateBack({delta:1})}const i=e=>{u.value=e||"Global"};function l(e){var t;o.value=e,a.value||i(null==(t=null==o?void 0:o.value)?void 0:t.getShowName())}function v(t){var n;a.value=t,a.value?i(e.Wt.t("TUIChat.对方正在输入...")):i(null==(n=o.value)?void 0:n.getShowName())}return e.onMounted((()=>{e.Jt.watch(e.o.CONV,{currentConversation:l}),e.Jt.watch(e.o.CHAT,{typingStatus:v})})),e.onUnmounted((()=>{e.Jt.unwatch(e.o.CONV,{currentConversation:l}),e.Jt.unwatch(e.o.CHAT,{typingStatus:v})})),e.onLoad((()=>{var e;i(null==(e=o.value)?void 0:e.getShowName())})),(t,n)=>({a:e.o$1(r),b:e.t(e.unref(u))})}});wx.createComponent(t);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="Navigation"><view class="Navigation-name">{{a}}</view><image src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Navigationimg.png" mode="scaleToFill" class="Navigationimg"/><image bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill" class="Return"/></view>
|
||||
<view class="Navigation"><view class="Navigationcontent"><image bindtap="{{a}}" style="width:46rpx;height:46rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill" class="Navigation-return"/><view class="Navigation-name">{{b}}</view><view></view></view></view>
|
||||
@@ -1 +1 @@
|
||||
.Return{width:46rpx;height:46rpx;position:absolute;top:110rpx;left:40rpx;z-index:999;font-weight:700}.Navigationimg{width:100%;height:240rpx;position:absolute;top:0;left:0;z-index:-1}.Navigation-name{position:absolute;top:110rpx;left:320rpx;font-size:36rpx;color:#000;font-weight:700}.Navigation{position:fixed;top:0;left:0;z-index:999;width:100%;height:240rpx}
|
||||
.Navigation-name{font-size:36rpx;color:#000;font-weight:700}.Navigation{position:fixed;top:0;left:0;z-index:999;width:100%;height:240rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Navigationimg.png);background-position:100% 100%;background-repeat:no-repeat}.Navigationcontent{width:80%;height:100%;display:flex;justify-content:space-between;align-items:center;padding:60rpx}
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";exports.CUSTOM_BIG_EMOJI_GROUP_LIST=[],exports.CUSTOM_BIG_EMOJI_URL="";
|
||||
"use strict";exports.CUSTOM_BIG_EMOJI_URL="";
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";var o,i;const e=require("./locales/zh_cn.js"),m=require("./locales/en.js"),_=require("../../../constant.js"),j="https://web.sdk.qcloud.com/im/assets/face-elem/",n=[{emojiGroupID:1,type:_.EMOJI_TYPE.BIG,url:j,list:["yz00","yz01","yz02","yz03","yz04","yz05","yz06","yz07","yz08","yz09","yz10","yz11","yz12","yz13","yz14","yz15","yz16","yz17"]},{emojiGroupID:2,type:_.EMOJI_TYPE.BIG,url:j,list:["ys00","ys01","ys02","ys03","ys04","ys05","ys06","ys07","ys08","ys09","ys10","ys11","ys12","ys13","ys14","ys15"]},{emojiGroupID:3,type:_.EMOJI_TYPE.BIG,url:j,list:["gcs00","gcs01","gcs02","gcs03","gcs04","gcs05","gcs06","gcs07","gcs08","gcs09","gcs10","gcs11","gcs12","gcs13","gcs14","gcs15","gcs16"]}],g={...Object.fromEntries(null==(o=Object.entries(e.Emoji))?void 0:o.map((([o,i])=>[i,o]))),...Object.fromEntries(null==(i=Object.entries(m.Emoji))?void 0:i.map((([o,i])=>[i,o])))};exports.BASIC_EMOJI_NAME_TO_KEY_MAPPING=g,exports.BIG_EMOJI_GROUP_LIST=n,exports.DEFAULT_BASIC_EMOJI_URL="https://web.sdk.qcloud.com/im/assets/emoji-plugin/",exports.DEFAULT_BASIC_EMOJI_URL_MAPPING={"[TUIEmoji_Expect]":"emoji_0@2x.png","[TUIEmoji_Blink]":"emoji_1@2x.png","[TUIEmoji_Guffaw]":"emoji_2@2x.png","[TUIEmoji_KindSmile]":"emoji_3@2x.png","[TUIEmoji_Haha]":"emoji_4@2x.png","[TUIEmoji_Cheerful]":"emoji_5@2x.png","[TUIEmoji_Smile]":"emoji_6@2x.png","[TUIEmoji_Sorrow]":"emoji_7@2x.png","[TUIEmoji_Speechless]":"emoji_8@2x.png","[TUIEmoji_Amazed]":"emoji_9@2x.png","[TUIEmoji_Complacent]":"emoji_10@2x.png","[TUIEmoji_Lustful]":"emoji_11@2x.png","[TUIEmoji_Stareyes]":"emoji_12@2x.png","[TUIEmoji_Giggle]":"emoji_13@2x.png","[TUIEmoji_Daemon]":"emoji_14@2x.png","[TUIEmoji_Rage]":"emoji_15@2x.png","[TUIEmoji_Yawn]":"emoji_16@2x.png","[TUIEmoji_TearsLaugh]":"emoji_17@2x.png","[TUIEmoji_Silly]":"emoji_18@2x.png","[TUIEmoji_Wail]":"emoji_19@2x.png","[TUIEmoji_Kiss]":"emoji_20@2x.png","[TUIEmoji_Trapped]":"emoji_21@2x.png","[TUIEmoji_Fear]":"emoji_22@2x.png","[TUIEmoji_BareTeeth]":"emoji_23@2x.png","[TUIEmoji_FlareUp]":"emoji_24@2x.png","[TUIEmoji_Tact]":"emoji_25@2x.png","[TUIEmoji_Shit]":"emoji_26@2x.png","[TUIEmoji_ShutUp]":"emoji_27@2x.png","[TUIEmoji_Sigh]":"emoji_28@2x.png","[TUIEmoji_Hehe]":"emoji_29@2x.png","[TUIEmoji_Silent]":"emoji_30@2x.png","[TUIEmoji_Skull]":"emoji_31@2x.png","[TUIEmoji_Mask]":"emoji_32@2x.png","[TUIEmoji_Beer]":"emoji_33@2x.png","[TUIEmoji_Cake]":"emoji_34@2x.png","[TUIEmoji_RedPacket]":"emoji_35@2x.png","[TUIEmoji_Bombs]":"emoji_36@2x.png","[TUIEmoji_Ai]":"emoji_37@2x.png","[TUIEmoji_Celebrate]":"emoji_38@2x.png","[TUIEmoji_Bless]":"emoji_39@2x.png","[TUIEmoji_Flower]":"emoji_40@2x.png","[TUIEmoji_Watermelon]":"emoji_41@2x.png","[TUIEmoji_Cow]":"emoji_42@2x.png","[TUIEmoji_Fool]":"emoji_43@2x.png","[TUIEmoji_Surprised]":"emoji_44@2x.png","[TUIEmoji_Askance]":"emoji_45@2x.png","[TUIEmoji_Monster]":"emoji_46@2x.png","[TUIEmoji_Pig]":"emoji_47@2x.png","[TUIEmoji_Coffee]":"emoji_48@2x.png","[TUIEmoji_Ok]":"emoji_49@2x.png","[TUIEmoji_Heart]":"emoji_50@2x.png","[TUIEmoji_Sun]":"emoji_51@2x.png","[TUIEmoji_Moon]":"emoji_52@2x.png","[TUIEmoji_Star]":"emoji_53@2x.png","[TUIEmoji_Rich]":"emoji_54@2x.png","[TUIEmoji_Fortune]":"emoji_55@2x.png","[TUIEmoji_857]":"emoji_56@2x.png","[TUIEmoji_666]":"emoji_57@2x.png","[TUIEmoji_Prohibit]":"emoji_58@2x.png","[TUIEmoji_Convinced]":"emoji_59@2x.png","[TUIEmoji_Knife]":"emoji_60@2x.png","[TUIEmoji_Like]":"emoji_61@2x.png"},exports.DEFAULT_BIG_EMOJI_URL=j;
|
||||
"use strict";var e,r;const _=require("./locales/zh_cn.js"),s=require("./locales/en.js"),t={...Object.fromEntries(null==(e=Object.entries(_.Emoji))?void 0:e.map((([e,r])=>[r,e]))),...Object.fromEntries(null==(r=Object.entries(s.Emoji))?void 0:r.map((([e,r])=>[r,e])))};exports.BASIC_EMOJI_NAME_TO_KEY_MAPPING=t,exports.DEFAULT_BASIC_EMOJI_URL="",exports.DEFAULT_BASIC_EMOJI_URL_MAPPING={},exports.DEFAULT_BIG_EMOJI_URL="";
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js"),t=require("./custom-emoji.js"),r=require("./default-emoji.js"),s=require("./locales/zh_cn.js"),o=require("../../../constant.js"),n=require("../../../utils/env.js"),i=r.DEFAULT_BASIC_EMOJI_URL,_=r.DEFAULT_BASIC_EMOJI_URL_MAPPING,u=[{emojiGroupID:0,type:o.EMOJI_TYPE.BASIC,url:i,list:Object.keys(_)},...r.BIG_EMOJI_GROUP_LIST,...t.CUSTOM_BIG_EMOJI_GROUP_LIST],I=t=>n.isWeChat?s.Emoji[t]:e.Wt.t(`Emoji.${t}`);exports.BASIC_EMOJI_URL_MAPPING=_,exports.EMOJI_GROUP_LIST=u,exports.convertKeyToEmojiName=I,exports.parseTextToRenderArray=e=>{const t=/\[([^\]]+)\]/g,r=[];let s,o=0;for(;null!==(s=t.exec(e));){const n=s.index,u=t.lastIndex,I=s[0];n>o&&r.push({type:"text",content:e.substring(o,n)});const c=i+_[I];c?r.push({type:"image",content:c,emojiKey:I}):r.push({type:"text",content:I}),o=u,t.lastIndex=o}return o<e.length&&r.push({type:"text",content:e.substring(o)}),r},exports.transformTextWithEmojiNamesToKeys=e=>{if(!e)return"";const t=/(\[.+?\])/g;let s=e;return t.test(e)&&(s=e.replace(t,(e=>r.BASIC_EMOJI_NAME_TO_KEY_MAPPING[e]||e))),s},exports.transformTextWithKeysToEmojiNames=e=>{if(!e)return"";const t=/(\[.+?\])/g;let r=e;return t.test(e)&&(r=e.replace(t,(e=>_[e]?I(e):e))),r};
|
||||
"use strict";const e=require("../../../../common/vendor.js"),t=require("./default-emoji.js"),r=require("./locales/zh_cn.js"),s=require("../../../utils/env.js"),n=t.DEFAULT_BASIC_EMOJI_URL,o=t.DEFAULT_BASIC_EMOJI_URL_MAPPING;exports.parseTextToRenderArray=e=>{const t=/\[([^\]]+)\]/g,r=[];let s,i=0;for(;null!==(s=t.exec(e));){const u=s.index,c=t.lastIndex,a=s[0];u>i&&r.push({type:"text",content:e.substring(i,u)});const l=n+o[a];l?r.push({type:"image",content:l,emojiKey:a}):r.push({type:"text",content:a}),i=c,t.lastIndex=i}return i<e.length&&r.push({type:"text",content:e.substring(i)}),r},exports.transformTextWithEmojiNamesToKeys=e=>{if(!e)return"";const r=/(\[.+?\])/g;let s=e;return r.test(e)&&(s=e.replace(r,(e=>t.BASIC_EMOJI_NAME_TO_KEY_MAPPING[e]||e))),s},exports.transformTextWithKeysToEmojiNames=t=>{if(!t)return"";const n=/(\[.+?\])/g;let i=t;return n.test(t)&&(i=t.replace(n,(t=>{return o[t]?(n=t,s.isWeChat?r.Emoji[n]:e.Wt.t(`Emoji.${n}`)):t;var n}))),i};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"navigationBarTitleText": "腾讯云 IM",
|
||||
"navigationBarTitleText": "聊天",
|
||||
"usingComponents": {
|
||||
"chat-header": "./chat-header/index",
|
||||
"message-list": "./message-list/index",
|
||||
|
||||
@@ -1 +1 @@
|
||||
<chat-header class="ChatHeadercss data-v-4b9c5320" u-i="4b9c5320-0" bind:__l="__l"/><view class="dingweizhibox data-v-4b9c5320"></view><view class="chat data-v-4b9c5320"><view class="{{['data-v-4b9c5320', 'tui-chat', J]}}"><view wx:if="{{a}}" class="{{['data-v-4b9c5320', 'tui-chat-default', b]}}"><slot/></view><view wx:if="{{c}}" class="{{['data-v-4b9c5320', 'tui-chat', F]}}"><forward class="data-v-4b9c5320" bindtoggleMultipleSelectMode="{{d}}" u-i="4b9c5320-1" bind:__l="__l"/><message-list wx:if="{{j}}" u-r="messageListRef" class="{{['r', 'data-v-4b9c5320', 'tui-chat-message-list', f]}}" bindhandleEditor="{{g}}" bindcloseInputToolBar="{{h}}" bindtoggleMultipleSelectMode="{{i}}" u-i="4b9c5320-2" bind:__l="__l" u-p="{{j}}"/><view wx:if="{{k}}" class="{{['data-v-4b9c5320', 'tui-chat-leave-group', m && 'tui-chat-leave-group-mobile']}}">{{l}}</view><multiple-select-panel wx:elif="{{n}}" class="data-v-4b9c5320" bindoneByOneForwardMessage="{{o}}" bindmergeForwardMessage="{{p}}" bindtoggleMultipleSelectMode="{{q}}" u-i="4b9c5320-3" bind:__l="__l"/><block wx:else><message-input-toolbar wx:if="{{r}}" class="{{['data-v-4b9c5320', 'tui-chat-message-input-toolbar', s, t]}}" bindinsertEmoji="{{v}}" bindchangeToolbarDisplayType="{{w}}" bindscrollToLatestMessage="{{x}}" u-i="4b9c5320-4" bind:__l="__l" u-p="{{y}}"/><message-input wx:if="{{E}}" u-r="messageInputRef" class="{{['r', 'data-v-4b9c5320', 'tui-chat-message-input', A, B, C]}}" bindchangeToolbarDisplayType="{{D}}" u-i="4b9c5320-5" bind:__l="__l" u-p="{{E}}"/></block></view><view wx:if="{{G}}" class="group-profile data-v-4b9c5320" bindtap="{{I}}">{{H}}</view></view></view>
|
||||
<chat-header class="ChatHeadercss data-v-69ae3511" u-i="69ae3511-0" bind:__l="__l"/><view class="dingweizhibox data-v-69ae3511"></view><view class="chat data-v-69ae3511"><view class="{{['data-v-69ae3511', 'tui-chat', J]}}"><view wx:if="{{a}}" class="{{['data-v-69ae3511', 'tui-chat-default', b]}}"><slot/></view><view wx:if="{{c}}" class="{{['data-v-69ae3511', 'tui-chat', F]}}"><forward class="data-v-69ae3511" bindtoggleMultipleSelectMode="{{d}}" u-i="69ae3511-1" bind:__l="__l"/><message-list wx:if="{{j}}" u-r="messageListRef" class="{{['r', 'data-v-69ae3511', 'tui-chat-message-list', f]}}" bindhandleEditor="{{g}}" bindcloseInputToolBar="{{h}}" bindtoggleMultipleSelectMode="{{i}}" u-i="69ae3511-2" bind:__l="__l" u-p="{{j}}"/><view wx:if="{{k}}" class="{{['data-v-69ae3511', 'tui-chat-leave-group', m && 'tui-chat-leave-group-mobile']}}">{{l}}</view><multiple-select-panel wx:elif="{{n}}" class="data-v-69ae3511" bindoneByOneForwardMessage="{{o}}" bindmergeForwardMessage="{{p}}" bindtoggleMultipleSelectMode="{{q}}" u-i="69ae3511-3" bind:__l="__l"/><block wx:else><message-input-toolbar wx:if="{{r}}" class="{{['data-v-69ae3511', 'tui-chat-message-input-toolbar', s, t]}}" bindinsertEmoji="{{v}}" bindchangeToolbarDisplayType="{{w}}" bindscrollToLatestMessage="{{x}}" u-i="69ae3511-4" bind:__l="__l" u-p="{{y}}"/><message-input wx:if="{{E}}" u-r="messageInputRef" class="{{['r', 'data-v-69ae3511', 'tui-chat-message-input', A, B, C]}}" bindchangeToolbarDisplayType="{{D}}" u-i="69ae3511-5" bind:__l="__l" u-p="{{E}}"/></block></view><view wx:if="{{G}}" class="group-profile data-v-69ae3511" bindtap="{{I}}">{{H}}</view></view></view>
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../../../../common/vendor.js");require("../../../../adapter-vue.js");const n=require("../../../../../common/assets.js"),o=require("../../../../constant.js"),r=require("../../../../utils/env.js"),i=require("../../utils/utils.js"),u=require("../../emoji-config/index.js"),l=require("../../config.js");Math||t();const t=()=>"../../../common/Icon.js",s=e.defineComponent({__name:"emoji-picker-dialog",emits:["insertEmoji","onClose","sendMessage"],setup(t,{emit:s}){var a;const v="dark"===l.ChatConfig.getTheme()?n.faceIconDark:n.faceIconLight,f=s,d=e.ref(0),c=e.ref();e.ref();const I=e.ref(),p=l.ChatConfig.getFeatureConfig(),E=e.ref(u.EMOJI_GROUP_LIST.filter((e=>e.type===o.EMOJI_TYPE.BASIC?p.InputEmoji:e.type===o.EMOJI_TYPE.BIG||e.type===o.EMOJI_TYPE.CUSTOM?p.InputStickers:void 0))),m=e.ref(null==E?void 0:E.value[0]),_=e.ref(null==(a=null==E?void 0:E.value[0])?void 0:a.list);e.onMounted((()=>{e.Jt.watch(e.o.CONV,{currentConversation:P})})),e.onUnmounted((()=>{e.Jt.unwatch(e.o.CONV,{currentConversation:P})}));const C=(n,o)=>{var r,u,l,t,s;const a={to:(null==(u=null==(r=null==c?void 0:c.value)?void 0:r.groupProfile)?void 0:u.groupID)||(null==(t=null==(l=null==c?void 0:c.value)?void 0:l.userProfile)?void 0:t.userID),conversationType:null==(s=null==c?void 0:c.value)?void 0:s.type,payload:{index:o.emojiGroupID,data:o.list[n]},needReadReceipt:i.isEnabledMessageReadReceiptGlobal()};e.Qt.sendFaceMessage(a)};function M(){e.index.$emit("send-message-in-emoji-picker")}function P(e){c.value=e}return(n,i)=>e.e({a:e.f(e.unref(_),((n,i,l)=>e.e(e.unref(m).type===e.unref(o.EMOJI_TYPE).BASIC?{a:e.unref(m).url+e.unref(u.BASIC_EMOJI_URL_MAPPING)[n]}:e.unref(m).type===e.unref(o.EMOJI_TYPE).BIG?{b:e.unref(m).url+n+"@2x.png"}:{c:e.unref(m).url+n},{d:i,e:e.o$1((l=>((n,i)=>{var l,t,s;const a={emoji:{key:n,name:u.convertKeyToEmojiName(n)},type:null==(l=null==m?void 0:m.value)?void 0:l.type};switch(null==(t=null==m?void 0:m.value)?void 0:t.type){case o.EMOJI_TYPE.BASIC:a.url=(null==(s=null==m?void 0:m.value)?void 0:s.url)+u.BASIC_EMOJI_URL_MAPPING[n],r.isUniFrameWork?e.index.$emit("insert-emoji",a):f("insertEmoji",a);break;case o.EMOJI_TYPE.BIG:case o.EMOJI_TYPE.CUSTOM:C(i,m.value)}r.isPC&&f("onClose")})(n,i)),i)}))),b:e.unref(m).type===e.unref(o.EMOJI_TYPE).BASIC,c:e.unref(m).type===e.unref(o.EMOJI_TYPE).BIG,d:e.n(!e.unref(r.isPC)&&"emoji-picker-h5-list"),e:e.f(e.unref(E),((n,i,u)=>e.e({a:n.type===e.unref(o.EMOJI_TYPE).BASIC},n.type===e.unref(o.EMOJI_TYPE).BASIC?{b:"023770ee-0-"+u,c:e.p({file:e.unref(v)})}:n.type===e.unref(o.EMOJI_TYPE).BIG?{e:n.url+n.list[0]+"@2x.png"}:{f:n.url+n.list[0]},{d:n.type===e.unref(o.EMOJI_TYPE).BIG,g:i,h:e.o$1((e=>(e=>{var n;d.value=e,m.value=null==E?void 0:E.value[e],_.value=null==(n=null==E?void 0:E.value[e])?void 0:n.list,r.isUniFrameWork||(null==I?void 0:I.value)&&(I.value.scrollTop=0)})(i)),i)}))),f:e.unref(r.isUniFrameWork)},e.unref(r.isUniFrameWork)?{g:e.o$1(M)}:{},{h:e.unref(r.isPC)?"":1})}}),a=e._export_sfc(s,[["__scopeId","data-v-023770ee"]]);wx.createComponent(a);
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"icon": "../../../common/Icon"
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<view ref="emojiPickerDialog" class="{{['data-v-023770ee', 'emoji-picker', h && 'emoji-picker-h5']}}"><view ref="emojiPickerListRef" class="{{['data-v-023770ee', 'emoji-picker-list', d]}}"><view wx:for="{{a}}" wx:for-item="childrenItem" wx:key="d" class="emoji-picker-list-item data-v-023770ee" bindtap="{{childrenItem.e}}"><image wx:if="{{b}}" class="emoji data-v-023770ee" src="{{childrenItem.a}}"></image><image wx:elif="{{c}}" class="emoji-big data-v-023770ee" src="{{childrenItem.b}}"></image><image wx:else class="emoji-custom emoji-big data-v-023770ee" src="{{childrenItem.c}}"></image></view></view><view class="emoji-picker-tab data-v-023770ee"><view wx:for="{{e}}" wx:for-item="item" wx:key="g" class="emoji-picker-tab-item data-v-023770ee" bindtap="{{item.h}}"><icon wx:if="{{item.a}}" class="icon data-v-023770ee" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"/><image wx:elif="{{item.d}}" class="icon-big data-v-023770ee" src="{{item.e}}"></image><image wx:else class="icon-custom icon-big data-v-023770ee" src="{{item.f}}"></image></view><view wx:if="{{f}}" class="send-btn data-v-023770ee" bindtap="{{g}}"> 发送 </view></view></view>
|
||||
@@ -1 +0,0 @@
|
||||
body.data-v-023770ee,div.data-v-023770ee,ul.data-v-023770ee,ol.data-v-023770ee,dt.data-v-023770ee,dd.data-v-023770ee,li.data-v-023770ee,dl.data-v-023770ee,h1.data-v-023770ee,h2.data-v-023770ee,h3.data-v-023770ee,h4.data-v-023770ee,p.data-v-023770ee{margin:0;padding:0;font-style:normal}ol.data-v-023770ee,ul.data-v-023770ee,li.data-v-023770ee{list-style:none}img.data-v-023770ee{border:0;vertical-align:middle;pointer-events:none}body.data-v-023770ee{color:#000;background:#fff}.clear.data-v-023770ee{clear:both;height:1px;width:100%;overflow:hidden;margin-top:-1px}a.data-v-023770ee{color:#000;text-decoration:none;cursor:pointer}a.data-v-023770ee:hover{text-decoration:none}input.data-v-023770ee,textarea.data-v-023770ee{-webkit-user-select:auto;user-select:auto}input.data-v-023770ee:focus,input.data-v-023770ee:active,textarea.data-v-023770ee:focus,textarea.data-v-023770ee:active{outline:none}.chat-aside.data-v-023770ee{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)}.emoji-picker.data-v-023770ee{width:405px;height:300px;display:flex;flex-direction:column}.emoji-picker-list.data-v-023770ee{flex:1;display:flex;flex-wrap:wrap;overflow-y:auto;margin:2px}.emoji-picker-list.data-v-023770ee::-webkit-scrollbar{display:none}.emoji-picker-list-item.data-v-023770ee{cursor:pointer;padding:5px}.emoji-picker-list-item .emoji.data-v-023770ee{width:30px;height:30px}.emoji-picker-list-item .emoji-big.data-v-023770ee{width:70px;height:70px}.emoji-picker-tab.data-v-023770ee{display:flex;align-items:center}.emoji-picker-tab-item.data-v-023770ee{padding:0 10px;cursor:pointer}.emoji-picker-tab-item .icon.data-v-023770ee{margin:10px;width:20px;height:20px}.emoji-picker-tab-item .icon-big.data-v-023770ee{margin:2px 0;width:30px;height:30px}.emoji-picker-h5.data-v-023770ee{width:100%}.emoji-picker-h5-list.data-v-023770ee{justify-content:space-between}.emoji-picker-h5-list.data-v-023770ee:after{content:"";display:block;flex:1 1 auto}.emoji-picker-h5 .send-btn.data-v-023770ee{width:50px;height:30px;background-color:#55c06a;position:absolute;right:10px;font-size:16px;color:#fff;text-align:center;line-height:30px}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-popup": "../../../../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
"uni-popup": "../../../../../uni_modules/uni-popup/components/uni-popup/uni-popup",
|
||||
"toolbar-item-container": "../toolbar-item-container/index"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.popup.data-v-d99a1025{height:750rpx;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);background-position:center}.container.data-v-d99a1025{height:650rpx;display:flex;flex-direction:column;align-items:center}.titlecss.data-v-d99a1025{width:100%;display:flex;justify-content:space-between;align-items:center;margin-top:50rpx}.title.data-v-d99a1025{font-size:40rpx;color:#313131;text-align:center;font-weight:700}.close.data-v-d99a1025{margin-right:40rpx;margin-top:-30rpx}.yourChoose.data-v-d99a1025,.myChoose.data-v-d99a1025{width:80%;height:150rpx;margin-top:40rpx;display:flex;align-items:center;border-radius:10rpx;background-color:#fff}.yourChoose-item.data-v-d99a1025{width:100%;height:100%;text-align:center;line-height:150rpx;font-size:30rpx;color:#313131;font-weight:700}.Echo.data-v-d99a1025{display:flex;align-items:center}.EchoIcon.data-v-d99a1025{width:100rpx;height:100rpx;border-radius:50%;margin-left:20rpx}.EchoNameandTime.data-v-d99a1025{display:flex;flex-direction:column}.EchoName.data-v-d99a1025{font-size:30rpx;color:#313131;margin-left:20rpx;font-weight:700}.EchoTimeandGold.data-v-d99a1025{display:flex;align-items:center;margin-left:20rpx;margin-top:20rpx}.vstext.data-v-d99a1025{display:flex;justify-content:center;align-items:center;width:90%;margin-top:40rpx}.Vtext.data-v-d99a1025{font-size:45.8rpx;color:#f0836c;font-weight:700;font-style:italic}.Stext.data-v-d99a1025{font-size:45.8rpx;color:#58d8db;font-weight:700;font-style:italic}.send-btn.data-v-d99a1025{width:80%;margin-bottom:70rpx;border-radius:50rpx;background-image:linear-gradient(135deg,#4fcacd,#5fdbde);color:#fff;font-size:30rpx;font-weight:700}.popup-content.data-v-d99a1025{width:600rpx;height:700rpx;background-repeat:no-repeat;border-radius:10px;display:flex;flex-direction:column;justify-content:center;align-items:center;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);background-position:center}.popup-title.data-v-d99a1025{font-size:30rpx;margin-top:50rpx;text-align:center}.Avatarimg.data-v-d99a1025{width:90rpx;height:90rpx;border-radius:50%;background-color:#ddd;margin-right:20rpx;margin-left:20rpx}.avatar.data-v-d99a1025{width:100%;height:100%;border-radius:50%}.NameMoney.data-v-d99a1025{display:flex;flex-direction:column}.TimeMoney.data-v-d99a1025{width:300rpx;display:flex;font-weight:700;font-size:27rpx;color:#161616}.NameMoney_Name.data-v-d99a1025{width:400rpx;text-align:left;font-weight:700;font-size:27rpx;color:#161616;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.TimeMoney_Time.data-v-d99a1025{display:flex;align-items:center;margin-top:10rpx}.pkTimeimg.data-v-d99a1025{width:31.49rpx;height:31.49rpx;margin-right:10rpx}.goldimg.data-v-d99a1025{width:31.49rpx;height:35rpx;margin-left:40rpx}.goldnb.data-v-d99a1025{display:flex;margin-left:5rpx}.noData.data-v-d99a1025{width:500rpx;height:400rpx;border-radius:10px;font-size:30rpx;color:#999}.scroll.data-v-d99a1025{width:500rpx;height:400rpx;border-radius:10px}.popup-text.data-v-d99a1025{color:#161616;font-size:36.26rpx;font-weight:700;margin-bottom:30rpx}.card-content.data-v-d99a1025{width:100%;height:100rpx;background-color:#fff;border-radius:10rpx;display:flex;align-items:center;font-size:28rpx;color:#7f7f7f;margin-top:20rpx}.createModule.data-v-d99a1025{position:fixed;bottom:0;right:0;z-index:998;width:100vw}.popup-btn.data-v-d99a1025{display:flex;justify-content:space-around;margin-top:50rpx}.invite.data-v-d99a1025{width:225.19rpx;height:78.24rpx;font-size:28.63rpx;line-height:80rpx;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-d99a1025{width:225.19rpx;height:78.24rpx;font-size:28.63rpx;line-height:80rpx;margin-left:30rpx;color:#03aba8;border-top-left-radius:50rpx;border-bottom-left-radius:50rpx;border-bottom-right-radius:50rpx;border:1rpx solid #03aba8}.popup-Hintcontent.data-v-d99a1025{width:600rpx;height:500rpx;background-repeat:no-repeat;border-radius:10px;display:flex;flex-direction:column;justify-content:center;align-items:center;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);background-position:center}.popup-texts.data-v-d99a1025{margin:70rpx 50rpx;color:#7e7e7e;font-size:26rpx}
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js");require("../../../adapter-vue.js");const n=require("../config.js"),u=require("../../../utils/enableSampleTaskStatus.js"),l=require("../offlinePushInfoManager/index.js"),a=require("../offlinePushInfoManager/const.js");Math||(s+i+o+r+t+v)();const i=()=>"./image-upload/index.js",o=()=>"./video-upload/index.js",r=()=>"./words/index.js",t=()=>"./toolbar-item-container/index.js",s=()=>"./emoji-picker/emoji-picker-dialog.js",v=()=>"./user-selector/index.js",f=e.defineComponent({options:{styleIsolation:"shared"},__name:"index",props:{displayType:{}},setup(i){const o=i,r=e.ref(),t=e.ref(!1),s=e.ref(""),v=e.ref(),f=e.ref(),c=e.ref([]),d=e.ref(!1),p=n.ChatConfig.getFeatureConfig(),I=e.ref(8),m=e.ref(0);e.onMounted((()=>{e.Jt.watch(e.o.CUSTOM,{activeConversation:g})})),e.onUnmounted((()=>{e.Jt.unwatch(e.o.CUSTOM,{activeConversation:g})}));const g=n=>{var u;n&&n!==(null==(u=r.value)?void 0:u.conversationID)&&(C(),p.InputImage&&p.InputVideo?I.value-=4:(p.InputImage||p.InputVideo)&&(I.value-=2),m.value=I.value,I.value-=c.value.length,1===I.value?d.value=p.InputEvaluation&&p.InputQuickReplies:I.value<1&&(d.value=p.InputEvaluation||p.InputQuickReplies),r.value=e.Jt.getData(e.o.CONV,"currentConversation"),t.value=n.startsWith(e.qt.TYPES.CONV_GROUP))},C=()=>{const l=n.ChatConfig.getChatType(),a={chatType:l};l===e.E.TUIChat.TYPE.CUSTOMER_SERVICE&&(a.filterVoice=!0,a.filterVideo=!0,u.enableSampleTaskStatus("customerService")),c.value=[...e.R.getExtensionList(e.E.TUIChat.EXTENSION.INPUT_MORE.EXT_ID,a)].filter((e=>{var n;return"search"!==(null==(n=null==e?void 0:e.data)?void 0:n.name)||p.MessageSearch})),c.value.forEach((n=>{var u;const l=null==(u=null==n?void 0:n.data)?void 0:u.name;"voiceCall"===l?e.ss.reportFeature(203,"voice-call"):"videoCall"===l?e.ss.reportFeature(203,"video-call"):"quickRoom"===l&&e.ss.reportFeature(204)}))};const h=(n,u)=>{var i,o,c,d,p,I,m;s.value=null==(i=null==n?void 0:n.data)?void 0:i.name,(null==(o=null==r?void 0:r.value)?void 0:o.type)===e.qt.TYPES.CONV_C2C?null==(I=null==(c=null==n?void 0:n.listener)?void 0:c.onClicked)||I.call(c,{userIDList:[null==(p=null==(d=null==r?void 0:r.value)?void 0:d.conversationID)?void 0:p.slice(3)],type:u,callParams:{offlinePushInfo:l.OfflinePushInfoManager.getOfflinePushInfo(a.PUSH_SCENE.CALL)}}):t.value&&(f.value=n,(null==(m=null==v?void 0:v.value)?void 0:m.toggleShow)&&v.value.toggleShow(!0))},k=e=>null==e?void 0:e.icon,S=e=>null==e?void 0:e.text,T=e=>{var n,u,i;null==(i=null==(u=null==(n=f.value)?void 0:n.listener)?void 0:u.onClicked)||i.call(u,{...e,callParams:{offlinePushInfo:l.OfflinePushInfoManager.getOfflinePushInfo(a.PUSH_SCENE.CALL)}}),f.value=null},E=()=>{f.value=null},P=e=>{d.value=I.value<=1&&!e};return(n,u)=>e.e({a:"emojiPicker"===o.displayType},"emojiPicker"===o.displayType?{}:e.e({b:e.unref(p).InputImage},e.unref(p).InputImage?{c:e.p({imageSourceType:"camera"})}:{},{d:e.unref(p).InputImage},e.unref(p).InputImage?{e:e.p({imageSourceType:"album"})}:{},{f:e.unref(p).InputVideo},e.unref(p).InputVideo?{g:e.p({videoSourceType:"album"})}:{},{h:e.unref(p).InputVideo},e.unref(p).InputVideo?{i:e.p({videoSourceType:"camera"})}:{},{j:e.unref(c).length>0},e.unref(c).length>0?{k:e.f(e.unref(c).slice(0,e.unref(m)),((e,n,u)=>({a:n})))}:{},{l:1===e.unref(I)},1===e.unref(I)?e.e({m:e.unref(p).InputQuickReplies},e.unref(p).InputQuickReplies?{n:e.o$1(P)}:{}):{},{o:e.unref(I)>1},e.unref(I)>1?e.e({p:e.unref(p).InputQuickReplies},e.unref(p).InputQuickReplies?{q:e.o$1(P)}:{}):{},{r:e.unref(I)<=1},e.unref(I)<=1?e.e({s:e.f(e.unref(c).slice(e.unref(m)),((n,u,l)=>e.e({a:n},n?{b:e.o$1((e=>(e=>{var n,u,l;const a=c.value.find((n=>{var u,l;return(null==(u=null==n?void 0:n.data)?void 0:u.name)===(null==(l=null==e?void 0:e.data)?void 0:l.name)}));switch(null==(n=null==a?void 0:a.data)?void 0:n.name){case"voiceCall":h(a,1);break;case"videoCall":h(a,2);break;case"search":null==(l=null==(u=null==a?void 0:a.listener)?void 0:u.onClicked)||l.call(u)}})(n)),u),c:"76f68da4-7-"+l,d:e.p({iconFile:k(n),title:S(n),iconWidth:"25px",iconHeight:"25px",needDialog:!1})}:{},{e:u}))),t:1===e.unref(I)},1===e.unref(I)?e.e({v:e.unref(p).InputQuickReplies},e.unref(p).InputQuickReplies?{w:e.o$1(P)}:{}):e.e({x:e.unref(p).InputQuickReplies},e.unref(p).InputQuickReplies?{y:e.o$1(P)}:{})):{},{z:e.unref(d)}),{A:e.sr(v,"76f68da4-10",{k:"userSelectorRef"}),B:e.o$1(T),C:e.o$1(E),D:e.p({type:e.unref(s),currentConversation:e.unref(r),isGroup:e.unref(t)})})}});wx.createComponent(f);
|
||||
"use strict";const e=require("../../../../common/vendor.js");require("../../../adapter-vue.js");const n=require("../config.js"),u=require("../../../utils/enableSampleTaskStatus.js"),a=require("../offlinePushInfoManager/index.js"),t=require("../offlinePushInfoManager/const.js");Math||(o+r+l+s+i)();const o=()=>"./image-upload/index.js",r=()=>"./video-upload/index.js",l=()=>"./words/index.js",i=()=>"./user-selector/index.js",s=()=>"./evaluate/CustomMessage.js",p=e.defineComponent({__name:"index",props:{displayType:{}},setup(o){const r=o,l=e.ref(),i=e.ref(!1),s=e.ref(""),p=e.ref(),f=e.ref(),v=e.ref([]),c=e.ref(!1),d=n.ChatConfig.getFeatureConfig(),I=e.ref(8),m=e.ref(0);e.ref(null);e.onMounted((()=>{e.Jt.watch(e.o.CUSTOM,{activeConversation:C})})),e.onUnmounted((()=>{e.Jt.unwatch(e.o.CUSTOM,{activeConversation:C})}));const C=n=>{var u;n&&n!==(null==(u=l.value)?void 0:u.conversationID)&&(g(),d.InputImage&&d.InputVideo?I.value-=4:(d.InputImage||d.InputVideo)&&(I.value-=2),m.value=I.value,I.value-=v.value.length,1===I.value?c.value=d.InputEvaluation&&d.InputQuickReplies:I.value<1&&(c.value=d.InputEvaluation||d.InputQuickReplies),l.value=e.Jt.getData(e.o.CONV,"currentConversation"),i.value=n.startsWith(e.qt.TYPES.CONV_GROUP))},g=()=>{const a=n.ChatConfig.getChatType(),t={chatType:a};a===e.E.TUIChat.TYPE.CUSTOMER_SERVICE&&(t.filterVoice=!0,t.filterVideo=!0,u.enableSampleTaskStatus("customerService")),v.value=[...e.R.getExtensionList(e.E.TUIChat.EXTENSION.INPUT_MORE.EXT_ID,t)].filter((e=>{var n;return"search"!==(null==(n=null==e?void 0:e.data)?void 0:n.name)||d.MessageSearch})),v.value.forEach((n=>{var u;const a=null==(u=null==n?void 0:n.data)?void 0:u.name;"voiceCall"===a?e.ss.reportFeature(203,"voice-call"):"videoCall"===a?e.ss.reportFeature(203,"video-call"):"quickRoom"===a&&e.ss.reportFeature(204)}))};const T=e=>{var n,u,o;null==(o=null==(u=null==(n=f.value)?void 0:n.listener)?void 0:u.onClicked)||o.call(u,{...e,callParams:{offlinePushInfo:a.OfflinePushInfoManager.getOfflinePushInfo(t.PUSH_SCENE.CALL)}}),f.value=null},h=()=>{f.value=null},S=e=>{c.value=I.value<=1&&!e};return(n,u)=>e.e({a:"emojiPicker"===r.displayType},"emojiPicker"===r.displayType?{}:e.e({b:e.unref(d).InputImage},e.unref(d).InputImage?{c:e.p({imageSourceType:"camera"})}:{},{d:e.unref(d).InputImage},e.unref(d).InputImage?{e:e.p({imageSourceType:"album"})}:{},{f:e.unref(d).InputVideo},e.unref(d).InputVideo?{g:e.p({videoSourceType:"album"})}:{},{h:e.unref(d).InputVideo},e.unref(d).InputVideo?{i:e.p({videoSourceType:"camera"})}:{},{j:e.unref(d).InputQuickReplies},e.unref(d).InputQuickReplies?{k:e.o$1(S)}:{},{l:e.unref(d).InputCustomMessage},e.unref(d).InputCustomMessage?{m:e.o$1(S)}:{}),{n:e.sr(p,"76f68da4-6",{k:"userSelectorRef"}),o:e.o$1(T),p:e.o$1(h),q:e.p({type:e.unref(s),currentConversation:e.unref(l),isGroup:e.unref(i)})})}});wx.createComponent(p);
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
"image-upload": "./image-upload/index",
|
||||
"video-upload": "./video-upload/index",
|
||||
"words": "./words/index",
|
||||
"toolbar-item-container": "./toolbar-item-container/index",
|
||||
"emoji-picker-dialog": "./emoji-picker/emoji-picker-dialog",
|
||||
"user-selector": "./user-selector/index"
|
||||
"user-selector": "./user-selector/index",
|
||||
"custom-message": "./evaluate/CustomMessage"
|
||||
}
|
||||
}
|
||||
@@ -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="{{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>
|
||||
<view class="{{['message-input-toolbar', 'message-input-toolbar-h5', 'message-input-toolbar-uni']}}"><view wx:if="{{a}}"></view><view wx:else class="barTool"><view class="barToolItem"><image-upload wx:if="{{b}}" u-i="76f68da4-0" bind:__l="__l" u-p="{{c}}"/></view><view class="barToolItem"><image-upload wx:if="{{d}}" u-i="76f68da4-1" bind:__l="__l" u-p="{{e}}"/></view><view class="barToolItem"><video-upload wx:if="{{f}}" u-i="76f68da4-2" bind:__l="__l" u-p="{{g}}"/></view><view class="barToolItem"><video-upload wx:if="{{h}}" u-i="76f68da4-3" bind:__l="__l" u-p="{{i}}"/></view><view class="barToolItem"><words wx:if="{{j}}" bindonDialogPopupShowOrHide="{{k}}" u-i="76f68da4-4" bind:__l="__l"/></view><view class="barToolItem"><custom-message wx:if="{{l}}" bindonDialogPopupShowOrHide="{{m}}" u-i="76f68da4-5" bind:__l="__l"/></view></view><user-selector wx:if="{{q}}" class="r" u-r="userSelectorRef" bindsubmit="{{o}}" bindcancel="{{p}}" u-i="76f68da4-6" bind:__l="__l" u-p="{{q}}"/></view>
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js");require("../../../adapter-vue.js");const n=require("../../../../common/assets.js"),o=require("../../../utils/env.js"),t=require("../utils/sendMessage.js"),u=require("../config.js");Math||(i+l+a+s+r)();const l=()=>"./message-input-editor.js",a=()=>"./message-input-at/index.js",i=()=>"./message-input-audio.js",r=()=>"./message-input-quote/index.js",s=()=>"../../common/Icon.js",p=e.defineComponent({__name:"index",props:{placeholder:{default:"this is placeholder"},isMuted:{type:Boolean,default:!0},muteText:{default:""},enableInput:{type:Boolean,default:!0},enableAt:{type:Boolean,default:!0},enableTyping:{type:Boolean,default:!0},replyOrReference:{default:()=>({})},inputToolbarDisplayType:{default:"none"}},emits:["changeToolbarDisplayType"],setup(l,{expose:a,emit:i}){const r=i,s=l,p=e.ref(),d=e.ref(),f=e.ref(),c=e.ref(!1),v=e.ref("editor"),m=u.ChatConfig.getFeatureConfig(),g=e.ref(m.InputVoice),y=e.ref(m.InputEmoji||m.InputStickers),T=e.ref(m.InputImage||m.InputVideo||m.InputEvaluation||m.InputQuickReplies);function h(e){v.value=e,"audio"===e&&r("changeToolbarDisplayType","none")}function b(e){r("changeToolbarDisplayType",e)}e.onMounted((()=>{e.Jt.watch(e.o.CONV,{currentConversation:q}),e.Jt.watch(e.o.CHAT,{quoteMessage:E})})),e.onUnmounted((()=>{e.Jt.unwatch(e.o.CONV,{currentConversation:q}),e.Jt.unwatch(e.o.CHAT,{quoteMessage:E})})),e.watch((()=>s.inputToolbarDisplayType),(e=>{"none"!==e&&h("editor")}));const j=(e,n)=>{t.sendTyping(e,n)},A=e=>{var n;null==(n=null==d?void 0:d.value)||n.toggleAtList(e)},C=()=>{o.isH5&&r("changeToolbarDisplayType","none")},I=e=>{var n,o;(null==(n=null==p?void 0:p.value)?void 0:n.insertAt)&&(null==(o=null==p?void 0:p.value)||o.insertAt(e))},x=()=>{var e,n;(null==(e=null==p?void 0:p.value)?void 0:e.blur)&&(null==(n=null==p?void 0:p.value)||n.blur())};function q(n){var o;f.value=n,c.value=(null==(o=f.value)?void 0:o.type)===e.qt.TYPES.CONV_GROUP}function E(e){(null==e?void 0:e.message)&&"quote"===(null==e?void 0:e.type)&&h("editor")}return a({insertEmoji:e=>{var n,o;(null==(n=null==p?void 0:p.value)?void 0:n.addEmoji)&&(null==(o=null==p?void 0:p.value)||o.addEmoji(e))},reEdit:e=>{var n,o;null==(n=null==p?void 0:p.value)||n.resetEditor(),null==(o=null==p?void 0:p.value)||o.setEditorContent(e)}}),(t,u)=>e.e({a:(e.unref(o.isWeChat)||e.unref(o.isApp))&&e.unref(g)},(e.unref(o.isWeChat)||e.unref(o.isApp))&&e.unref(g)?{b:"audio"===e.unref(v)?1:"",c:e.o$1(h),d:e.p({isEnableAudio:"audio"===e.unref(v)})}:{},{e:e.sr(p,"de604828-1",{k:"editor"}),f:"editor"===e.unref(v),g:e.o$1(j),h:e.o$1(A),i:e.o$1(C),j:e.p({placeholder:s.placeholder,isMuted:s.isMuted,muteText:s.muteText,enableInput:s.enableInput,enableAt:s.enableAt,enableTyping:s.enableTyping,isGroup:e.unref(c)}),k:s.enableAt},s.enableAt?{l:e.sr(d,"de604828-2",{k:"messageInputAtRef"}),m:e.o$1(I),n:e.o$1(x)}:{},{o:e.unref(y)},e.unref(y)?{p:e.o$1((e=>b("emojiPicker"))),q:e.p({file:e.unref(n.faceIcon),size:"23px",hotAreaSize:"3px"})}:{},{r:e.unref(T)},e.unref(T)?{s:e.o$1((e=>b("tools"))),t:e.p({file:e.unref(n.moreIcon),size:"23px",hotAreaSize:"3px"})}:{},{v:e.p({displayType:e.unref(v)}),w:e.n(!e.unref(o.isPC)&&"message-input-h5")})}}),d=e._export_sfc(p,[["__scopeId","data-v-de604828"]]);wx.createComponent(d);
|
||||
"use strict";const e=require("../../../../common/vendor.js");require("../../../adapter-vue.js");const n=require("../../../../common/assets.js"),t=require("../../../utils/env.js"),o=require("../utils/sendMessage.js"),u=require("../config.js");Math||(i+l+a+s+r)();const l=()=>"./message-input-editor.js",a=()=>"./message-input-at/index.js",i=()=>"./message-input-audio.js",r=()=>"./message-input-quote/index.js",s=()=>"../../common/Icon.js",p=e.defineComponent({__name:"index",props:{placeholder:{default:"this is placeholder"},isMuted:{type:Boolean,default:!0},muteText:{default:""},enableInput:{type:Boolean,default:!0},enableAt:{type:Boolean,default:!0},enableTyping:{type:Boolean,default:!0},replyOrReference:{default:()=>({})},inputToolbarDisplayType:{default:"none"}},emits:["changeToolbarDisplayType"],setup(l,{expose:a,emit:i}){const r=i,s=l,p=e.ref(),d=e.ref(),f=e.ref(),c=e.ref(!1),v=e.ref("editor"),m=u.ChatConfig.getFeatureConfig(),g=e.ref(m.InputVoice);e.ref(m.InputEmoji||m.InputStickers);const y=e.ref(m.InputImage||m.InputVideo||m.InputEvaluation||m.InputQuickReplies);function T(e){v.value=e,"audio"===e&&r("changeToolbarDisplayType","none")}e.onMounted((()=>{e.Jt.watch(e.o.CONV,{currentConversation:I}),e.Jt.watch(e.o.CHAT,{quoteMessage:q})})),e.onUnmounted((()=>{e.Jt.unwatch(e.o.CONV,{currentConversation:I}),e.Jt.unwatch(e.o.CHAT,{quoteMessage:q})})),e.watch((()=>s.inputToolbarDisplayType),(e=>{"none"!==e&&T("editor")}));const b=(e,n)=>{o.sendTyping(e,n)},h=e=>{var n;null==(n=null==d?void 0:d.value)||n.toggleAtList(e)},j=()=>{t.isH5&&r("changeToolbarDisplayType","none")},C=e=>{var n,t;(null==(n=null==p?void 0:p.value)?void 0:n.insertAt)&&(null==(t=null==p?void 0:p.value)||t.insertAt(e))},A=()=>{var e,n;(null==(e=null==p?void 0:p.value)?void 0:e.blur)&&(null==(n=null==p?void 0:p.value)||n.blur())};function I(n){var t;f.value=n,c.value=(null==(t=f.value)?void 0:t.type)===e.qt.TYPES.CONV_GROUP}function q(e){(null==e?void 0:e.message)&&"quote"===(null==e?void 0:e.type)&&T("editor")}return a({insertEmoji:e=>{var n,t;(null==(n=null==p?void 0:p.value)?void 0:n.addEmoji)&&(null==(t=null==p?void 0:p.value)||t.addEmoji(e))},reEdit:e=>{var n,t;null==(n=null==p?void 0:p.value)||n.resetEditor(),null==(t=null==p?void 0:p.value)||t.setEditorContent(e)}}),(o,u)=>e.e({a:(e.unref(t.isWeChat)||e.unref(t.isApp))&&e.unref(g)},(e.unref(t.isWeChat)||e.unref(t.isApp))&&e.unref(g)?{b:"audio"===e.unref(v)?1:"",c:e.o$1(T),d:e.p({isEnableAudio:"audio"===e.unref(v)})}:{},{e:e.sr(p,"c73567e1-1",{k:"editor"}),f:"editor"===e.unref(v),g:e.o$1(b),h:e.o$1(h),i:e.o$1(j),j:e.p({placeholder:s.placeholder,isMuted:s.isMuted,muteText:s.muteText,enableInput:s.enableInput,enableAt:s.enableAt,enableTyping:s.enableTyping,isGroup:e.unref(c)}),k:s.enableAt},s.enableAt?{l:e.sr(d,"c73567e1-2",{k:"messageInputAtRef"}),m:e.o$1(C),n:e.o$1(A)}:{},{o:e.unref(y)},e.unref(y)?{p:e.o$1((e=>{r("changeToolbarDisplayType","tools")})),q:e.p({file:e.unref(n.moreIcon),size:"23px",hotAreaSize:"3px"})}:{},{r:e.p({displayType:e.unref(v)}),s:e.n(!e.unref(t.isPC)&&"message-input-h5")})}}),d=e._export_sfc(p,[["__scopeId","data-v-c73567e1"]]);wx.createComponent(d);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="{{['data-v-de604828', 'message-input', w]}}"><view class="audio-main-content-line data-v-de604828"><message-input-audio wx:if="{{a}}" class="{{['data-v-de604828', b && 'message-input-wx-audio-open']}}" bindchangeDisplayType="{{c}}" u-i="de604828-0" bind:__l="__l" u-p="{{d}}"/><message-input-editor wx:if="{{j}}" data-c-h="{{!f}}" u-r="editor" class="message-input-editor r data-v-de604828" bindonTyping="{{g}}" bindonAt="{{h}}" bindonFocus="{{i}}" u-i="de604828-1" bind:__l="__l" u-p="{{j}}"/><message-input-at wx:if="{{k}}" class="r data-v-de604828" u-r="messageInputAtRef" bindinsertAt="{{m}}" bindonAtListOpen="{{n}}" u-i="de604828-2" bind:__l="__l"/><icon wx:if="{{o}}" class="icon icon-face data-v-de604828" bindonClick="{{p}}" u-i="de604828-3" bind:__l="__l" u-p="{{q}}"/><icon wx:if="{{r}}" class="icon icon-more data-v-de604828" bindonClick="{{s}}" u-i="de604828-4" bind:__l="__l" u-p="{{t}}"/></view><view class="data-v-de604828"><message-quote wx:if="{{v}}" class="data-v-de604828" style="{{'min-width:' + 0}}" u-i="de604828-5" bind:__l="__l" u-p="{{v}}"/></view></view>
|
||||
<view class="{{['data-v-c73567e1', 'message-input', s]}}"><view class="audio-main-content-line data-v-c73567e1"><message-input-audio wx:if="{{a}}" class="{{['data-v-c73567e1', b && 'message-input-wx-audio-open']}}" bindchangeDisplayType="{{c}}" u-i="c73567e1-0" bind:__l="__l" u-p="{{d}}"/><message-input-editor wx:if="{{j}}" data-c-h="{{!f}}" u-r="editor" class="message-input-editor r data-v-c73567e1" bindonTyping="{{g}}" bindonAt="{{h}}" bindonFocus="{{i}}" u-i="c73567e1-1" bind:__l="__l" u-p="{{j}}"/><message-input-at wx:if="{{k}}" class="r data-v-c73567e1" u-r="messageInputAtRef" bindinsertAt="{{m}}" bindonAtListOpen="{{n}}" u-i="c73567e1-2" bind:__l="__l"/><icon wx:if="{{o}}" class="icon icon-more data-v-c73567e1" bindonClick="{{p}}" u-i="c73567e1-3" bind:__l="__l" u-p="{{q}}"/></view><view class="data-v-c73567e1"><message-quote wx:if="{{r}}" class="data-v-c73567e1" style="{{'min-width:' + 0}}" u-i="c73567e1-4" bind:__l="__l" u-p="{{r}}"/></view></view>
|
||||
@@ -1 +1 @@
|
||||
body.data-v-de604828,div.data-v-de604828,ul.data-v-de604828,ol.data-v-de604828,dt.data-v-de604828,dd.data-v-de604828,li.data-v-de604828,dl.data-v-de604828,h1.data-v-de604828,h2.data-v-de604828,h3.data-v-de604828,h4.data-v-de604828,p.data-v-de604828{margin:0;padding:0;font-style:normal}ol.data-v-de604828,ul.data-v-de604828,li.data-v-de604828{list-style:none}img.data-v-de604828{border:0;vertical-align:middle;pointer-events:none}body.data-v-de604828{color:#000;background:#fff}.clear.data-v-de604828{clear:both;height:1px;width:100%;overflow:hidden;margin-top:-1px}a.data-v-de604828{color:#000;text-decoration:none;cursor:pointer}a.data-v-de604828:hover{text-decoration:none}input.data-v-de604828,textarea.data-v-de604828{-webkit-user-select:auto;user-select:auto}input.data-v-de604828:focus,input.data-v-de604828:active,textarea.data-v-de604828:focus,textarea.data-v-de604828:active{outline:none}.chat-aside.data-v-de604828{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)}.data-v-de604828:not(not){display:flex;flex-direction:column;min-width:0;box-sizing:border-box}.message-input.data-v-de604828{position:relative;display:flex;flex-direction:column;border:none;overflow:hidden;background:#ebf0f6}.message-input-h5.data-v-de604828{padding:10px 10px 15px}.message-input-editor.data-v-de604828{flex:1;display:flex}.message-input .icon.data-v-de604828{margin-left:3px}.message-input-wx-audio-open.data-v-de604828{flex:1}.audio-main-content-line.data-v-de604828{display:flex;flex-direction:row;align-items:center}
|
||||
body.data-v-c73567e1,div.data-v-c73567e1,ul.data-v-c73567e1,ol.data-v-c73567e1,dt.data-v-c73567e1,dd.data-v-c73567e1,li.data-v-c73567e1,dl.data-v-c73567e1,h1.data-v-c73567e1,h2.data-v-c73567e1,h3.data-v-c73567e1,h4.data-v-c73567e1,p.data-v-c73567e1{margin:0;padding:0;font-style:normal}ol.data-v-c73567e1,ul.data-v-c73567e1,li.data-v-c73567e1{list-style:none}img.data-v-c73567e1{border:0;vertical-align:middle;pointer-events:none}body.data-v-c73567e1{color:#000;background:#fff}.clear.data-v-c73567e1{clear:both;height:1px;width:100%;overflow:hidden;margin-top:-1px}a.data-v-c73567e1{color:#000;text-decoration:none;cursor:pointer}a.data-v-c73567e1:hover{text-decoration:none}input.data-v-c73567e1,textarea.data-v-c73567e1{-webkit-user-select:auto;user-select:auto}input.data-v-c73567e1:focus,input.data-v-c73567e1:active,textarea.data-v-c73567e1:focus,textarea.data-v-c73567e1:active{outline:none}.chat-aside.data-v-c73567e1{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)}.data-v-c73567e1:not(not){display:flex;flex-direction:column;min-width:0;box-sizing:border-box}.message-input.data-v-c73567e1{position:relative;display:flex;flex-direction:column;border:none;overflow:hidden;background:#ebf0f6}.message-input-h5.data-v-c73567e1{padding:10px 10px 15px}.message-input-editor.data-v-c73567e1{flex:1;display:flex}.message-input .icon.data-v-c73567e1{margin-left:3px}.message-input-wx-audio-open.data-v-c73567e1{flex:1}.audio-main-content-line.data-v-c73567e1{display:flex;flex-direction:row;align-items:center}
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../../../../common/vendor.js");require("../../../../adapter-vue.js");const n=require("../../../../utils/type-check.js"),s=require("../../../../constant.js"),t=require("../../../../../common/assets.js"),r=require("../../../../../stores/counter.js");Math||u();const u=()=>"../../../common/Icon.js",f=e.defineComponent({__name:"message-custom",props:{messageItem:{default:void 0},content:{default:void 0}},setup(u){r.useCounterStore();const f=u,i=e.ref(),o=e.ref(),a=e.ref(),_=e.ref({businessID:""});e.watchEffect((()=>{i.value=f.content,o.value=f.messageItem;const{payload:e}=f.messageItem;_.value=e.data||"",_.value=n.JSONToObject(e.data),e.data===s.CHAT_MSG_CUSTOM_TYPE.SERVICE&&(a.value=n.JSONToObject(e.extension))}));return(r,u)=>e.e({a:e.unref(_).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).SERVICE},e.unref(_).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).SERVICE?e.e({b:e.t(e.unref(a).title),c:e.unref(a).hyperlinks_text},e.unref(a).hyperlinks_text?{d:e.t(e.unref(a).hyperlinks_text.key),e:e.unref(a).hyperlinks_text.value}:{},{f:e.unref(a).item&&e.unref(a).item.length>0},e.unref(a).item&&e.unref(a).item.length>0?{g:e.f(e.unref(a).item,((s,t,r)=>e.e({a:e.unref(n.isUrl)(s.value)},e.unref(n.isUrl)(s.value)?{b:e.t(s.key),c:s.value}:{d:e.t(s.key)},{e:t})))}:{},{h:e.t(e.unref(a).description)}):e.unref(_).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).EVALUATE?{j:e.t(e.unref(e.Wt).t("message.custom.对本次服务评价")),k:e.f(Math.max(e.unref(_).score,0),((e,n,s)=>({a:"40f9568c-0-"+s,b:n}))),l:e.p({file:e.unref(t.star)}),m:e.t(e.unref(_).comment)}:e.unref(_).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).ORDER?{o:e.unref(_).imageUrl,p:e.t(e.unref(_).title),q:e.t(e.unref(_).description),r:e.t(e.unref(_).price),s:e.o$1((n=>{return s=e.unref(_).link,void window.open(s);var s}))}:e.unref(_).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).LINK?{v:e.t(e.unref(_).text),w:e.t(e.unref(e.Wt).t("message.custom.查看详情>>")),x:e.unref(_).link}:e.unref(_).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).PK?{z:e.unref(_).link,A:e.o$1((n=>function(n){const s=JSON.stringify(n);e.index.navigateTo({url:`/pages/PKMessageprocessing/PKMessageprocessing?customData=${s}`})}(e.unref(_))))}:{B:r.content.custom},{i:e.unref(_).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).EVALUATE,n:e.unref(_).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).ORDER,t:e.unref(_).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).LINK,y:e.unref(_).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).PK})}}),i=e._export_sfc(f,[["__scopeId","data-v-40f9568c"]]);wx.createComponent(i);
|
||||
"use strict";const e=require("../../../../../common/vendor.js");require("../../../../adapter-vue.js");const n=require("../../../../utils/type-check.js"),s=require("../../../../constant.js"),t=require("../../../../../common/assets.js"),r=require("../../../../../stores/counter.js");Math||u();const u=()=>"../../../common/Icon.js",f=e.defineComponent({__name:"message-custom",props:{messageItem:{default:void 0},content:{default:void 0}},setup(u){r.useCounterStore();const f=u,a=e.ref(),i=e.ref(),o=e.ref(),c=e.ref({businessID:""});e.watchEffect((()=>{a.value=f.content,i.value=f.messageItem;const{payload:e}=f.messageItem;c.value=e.data||"",c.value=n.JSONToObject(e.data),e.data===s.CHAT_MSG_CUSTOM_TYPE.SERVICE&&(o.value=n.JSONToObject(e.extension))}));return(r,u)=>e.e({a:e.unref(c).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).SERVICE},e.unref(c).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).SERVICE?e.e({b:e.t(e.unref(o).title),c:e.unref(o).hyperlinks_text},e.unref(o).hyperlinks_text?{d:e.t(e.unref(o).hyperlinks_text.key),e:e.unref(o).hyperlinks_text.value}:{},{f:e.unref(o).item&&e.unref(o).item.length>0},e.unref(o).item&&e.unref(o).item.length>0?{g:e.f(e.unref(o).item,((s,t,r)=>e.e({a:e.unref(n.isUrl)(s.value)},e.unref(n.isUrl)(s.value)?{b:e.t(s.key),c:s.value}:{d:e.t(s.key)},{e:t})))}:{},{h:e.t(e.unref(o).description)}):e.unref(c).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).EVALUATE?{j:e.t(e.unref(e.Wt).t("message.custom.对本次服务评价")),k:e.f(Math.max(e.unref(c).score,0),((e,n,s)=>({a:"1c4aa8ca-0-"+s,b:n}))),l:e.p({file:e.unref(t.star)}),m:e.t(e.unref(c).comment)}:e.unref(c).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).ORDER?{o:e.unref(c).imageUrl,p:e.t(e.unref(c).title),q:e.t(e.unref(c).description),r:e.t(e.unref(c).price),s:e.o$1((n=>{return s=e.unref(c).link,void window.open(s);var s}))}:e.unref(c).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).LINK?{v:e.t(e.unref(c).text),w:e.t(e.unref(e.Wt).t("message.custom.查看详情>>")),x:e.unref(c).link}:e.unref(c).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).PK?{z:e.unref(c).link,A:e.o$1((n=>function(n){const s=JSON.stringify(n);e.index.navigateTo({url:`/pages/PKMessageprocessing/PKMessageprocessing?customData=${s}`})}(e.unref(c))))}:{B:r.content.custom},{i:e.unref(c).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).EVALUATE,n:e.unref(c).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).ORDER,t:e.unref(c).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).LINK,y:e.unref(c).businessID===e.unref(s.CHAT_MSG_CUSTOM_TYPE).PK})}}),a=e._export_sfc(f,[["__scopeId","data-v-1c4aa8ca"]]);wx.createComponent(a);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="custom data-v-40f9568c"><block wx:if="{{a}}"><view class="data-v-40f9568c"><view class="data-v-40f9568c"><label class="data-v-40f9568c">{{b}}</label><navigator wx:if="{{c}}" class="data-v-40f9568c" href="{{e}}" target="view_window">{{d}}</navigator></view><view wx:if="{{f}}" class="data-v-40f9568c"><view wx:for="{{g}}" wx:for-item="item" wx:key="e" class="data-v-40f9568c"><navigator wx:if="{{item.a}}" class="data-v-40f9568c" href="{{item.c}}" target="view_window">{{item.b}}</navigator><view wx:else class="data-v-40f9568c">{{item.d}}</view></view></view><view class="data-v-40f9568c">{{h}}</view></view></block><block wx:elif="{{i}}"><view class="evaluate data-v-40f9568c"><view class="data-v-40f9568c">{{j}}</view><view class="evaluate-list data-v-40f9568c"><view wx:for="{{k}}" wx:for-item="item" wx:key="b" class="evaluate-list-item data-v-40f9568c"><icon wx:if="{{l}}" class="file-icon data-v-40f9568c" u-i="{{item.a}}" bind:__l="__l" u-p="{{l}}"/></view></view><view class="data-v-40f9568c">{{m}}</view></view></block><block wx:elif="{{n}}"><view class="order data-v-40f9568c" bindtap="{{s}}"><image class="data-v-40f9568c" src="{{o}}"/><view class="data-v-40f9568c"><view class="data-v-40f9568c">{{p}}</view><view class="data-v-40f9568c">{{q}}</view><label class="data-v-40f9568c">{{r}}</label></view></view></block><block wx:elif="{{t}}"><view class="textLink data-v-40f9568c"><view class="data-v-40f9568c">{{v}}</view><navigator class="data-v-40f9568c" href="{{x}}" target="view_window">{{w}}</navigator></view></block><block wx:elif="{{y}}"><view class="pk data-v-40f9568c" bindtap="{{A}}"><image class="Custommessageimage data-v-40f9568c" src="{{z}}" mode="scaleToFill"/></view></block><block wx:else><label class="data-v-40f9568c"><rich-text class="data-v-40f9568c" nodes="{{B}}"/></label></block></view>
|
||||
<view class="custom data-v-1c4aa8ca"><block wx:if="{{a}}"><view class="data-v-1c4aa8ca"><view class="data-v-1c4aa8ca"><label class="data-v-1c4aa8ca">{{b}}</label><navigator wx:if="{{c}}" class="data-v-1c4aa8ca" href="{{e}}" target="view_window">{{d}}</navigator></view><view wx:if="{{f}}" class="data-v-1c4aa8ca"><view wx:for="{{g}}" wx:for-item="item" wx:key="e" class="data-v-1c4aa8ca"><navigator wx:if="{{item.a}}" class="data-v-1c4aa8ca" href="{{item.c}}" target="view_window">{{item.b}}</navigator><view wx:else class="data-v-1c4aa8ca">{{item.d}}</view></view></view><view class="data-v-1c4aa8ca">{{h}}</view></view></block><block wx:elif="{{i}}"><view class="evaluate data-v-1c4aa8ca"><view class="data-v-1c4aa8ca">{{j}}</view><view class="evaluate-list data-v-1c4aa8ca"><view wx:for="{{k}}" wx:for-item="item" wx:key="b" class="evaluate-list-item data-v-1c4aa8ca"><icon wx:if="{{l}}" class="file-icon data-v-1c4aa8ca" u-i="{{item.a}}" bind:__l="__l" u-p="{{l}}"/></view></view><view class="data-v-1c4aa8ca">{{m}}</view></view></block><block wx:elif="{{n}}"><view class="order data-v-1c4aa8ca" bindtap="{{s}}"><image class="data-v-1c4aa8ca" src="{{o}}"/><view class="data-v-1c4aa8ca"><view class="data-v-1c4aa8ca">{{p}}</view><view class="data-v-1c4aa8ca">{{q}}</view><label class="data-v-1c4aa8ca">{{r}}</label></view></view></block><block wx:elif="{{t}}"><view class="textLink data-v-1c4aa8ca"><view class="data-v-1c4aa8ca">{{v}}</view><navigator class="data-v-1c4aa8ca" href="{{x}}" target="view_window">{{w}}</navigator></view></block><block wx:elif="{{y}}"><view class="pk data-v-1c4aa8ca" bindtap="{{A}}"><image class="Custommessageimage data-v-1c4aa8ca" src="{{z}}" mode="scaleToFill"/></view></block><block wx:else><label class="data-v-1c4aa8ca"><rich-text class="data-v-1c4aa8ca" nodes="{{B}}"/></label></block></view>
|
||||
@@ -1 +1 @@
|
||||
body.data-v-40f9568c,div.data-v-40f9568c,ul.data-v-40f9568c,ol.data-v-40f9568c,dt.data-v-40f9568c,dd.data-v-40f9568c,li.data-v-40f9568c,dl.data-v-40f9568c,h1.data-v-40f9568c,h2.data-v-40f9568c,h3.data-v-40f9568c,h4.data-v-40f9568c,p.data-v-40f9568c{margin:0;padding:0;font-style:normal}ol.data-v-40f9568c,ul.data-v-40f9568c,li.data-v-40f9568c{list-style:none}img.data-v-40f9568c{border:0;vertical-align:middle;pointer-events:none}body.data-v-40f9568c{color:#000;background:#fff}.clear.data-v-40f9568c{clear:both;height:1px;width:100%;overflow:hidden;margin-top:-1px}a.data-v-40f9568c{color:#000;text-decoration:none;cursor:pointer}a.data-v-40f9568c:hover{text-decoration:none}input.data-v-40f9568c,textarea.data-v-40f9568c{-webkit-user-select:auto;user-select:auto}input.data-v-40f9568c:focus,input.data-v-40f9568c:active,textarea.data-v-40f9568c:focus,textarea.data-v-40f9568c:active{outline:none}.chat-aside.data-v-40f9568c{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)}a.data-v-40f9568c{color:#679ce1}.custom.data-v-40f9568c{font-size:18px}.custom h1.data-v-40f9568c{font-size:14px;color:#000}.custom h1.data-v-40f9568c,.custom a.data-v-40f9568c,.custom p.data-v-40f9568c{font-size:14px}.custom .evaluate ul.data-v-40f9568c{display:flex;padding:10px 0}.custom .evaluate-list.data-v-40f9568c{display:flex;flex-direction:row}.custom .evaluate-list-item.data-v-40f9568c{padding:0 2px}.custom .order.data-v-40f9568c{display:flex}.custom .order main.data-v-40f9568c{padding-left:5px}.custom .order main p.data-v-40f9568c{font-family:PingFangSC-Regular;width:145px;line-height:17px;font-size:14px;color:#999;letter-spacing:0;margin-bottom:6px;word-break:break-word}.custom .order main span.data-v-40f9568c{font-family:PingFangSC-Regular;line-height:25px;color:#ff7201}.custom .order img.data-v-40f9568c{width:67px;height:67px}.custom .pk.data-v-40f9568c{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;background-color:#fff;border-radius:10px;padding:20px;box-sizing:border-box}.custom .pk h1.data-v-40f9568c{font-size:18px;color:#333;margin-bottom:10px}.custom .pk .button-group.data-v-40f9568c{display:flex;justify-content:center}.custom .pk .button-group .buttonAccept.data-v-40f9568c{width:40%;height:60rpx;background-color:rgba(132,255,0,.333);border-radius:10px;border:2px solid #26ff00;color:#fff;font-size:16px;text-align:center;line-height:60rpx;margin-bottom:10px;border:none;cursor:pointer}.custom .pk .button-group .buttonRefuse.data-v-40f9568c{width:40%;height:60rpx;background-color:rgba(255,0,0,.47);border:2px solid #ff0000;border-radius:10px;color:#fff;font-size:16px;line-height:60rpx;text-align:center;margin-bottom:10px;border:none;cursor:pointer}.Custommessageimage.data-v-40f9568c{width:385rpx;height:195rpx}
|
||||
body.data-v-1c4aa8ca,div.data-v-1c4aa8ca,ul.data-v-1c4aa8ca,ol.data-v-1c4aa8ca,dt.data-v-1c4aa8ca,dd.data-v-1c4aa8ca,li.data-v-1c4aa8ca,dl.data-v-1c4aa8ca,h1.data-v-1c4aa8ca,h2.data-v-1c4aa8ca,h3.data-v-1c4aa8ca,h4.data-v-1c4aa8ca,p.data-v-1c4aa8ca{margin:0;padding:0;font-style:normal}ol.data-v-1c4aa8ca,ul.data-v-1c4aa8ca,li.data-v-1c4aa8ca{list-style:none}img.data-v-1c4aa8ca{border:0;vertical-align:middle;pointer-events:none}body.data-v-1c4aa8ca{color:#000;background:#fff}.clear.data-v-1c4aa8ca{clear:both;height:1px;width:100%;overflow:hidden;margin-top:-1px}a.data-v-1c4aa8ca{color:#000;text-decoration:none;cursor:pointer}a.data-v-1c4aa8ca:hover{text-decoration:none}input.data-v-1c4aa8ca,textarea.data-v-1c4aa8ca{-webkit-user-select:auto;user-select:auto}input.data-v-1c4aa8ca:focus,input.data-v-1c4aa8ca:active,textarea.data-v-1c4aa8ca:focus,textarea.data-v-1c4aa8ca:active{outline:none}.chat-aside.data-v-1c4aa8ca{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)}a.data-v-1c4aa8ca{color:#679ce1}.custom.data-v-1c4aa8ca{font-size:18px}.custom h1.data-v-1c4aa8ca{font-size:14px;color:#000}.custom h1.data-v-1c4aa8ca,.custom a.data-v-1c4aa8ca,.custom p.data-v-1c4aa8ca{font-size:14px}.custom .evaluate ul.data-v-1c4aa8ca{display:flex;padding:10px 0}.custom .evaluate-list.data-v-1c4aa8ca{display:flex;flex-direction:row}.custom .evaluate-list-item.data-v-1c4aa8ca{padding:0 2px}.custom .order.data-v-1c4aa8ca{display:flex}.custom .order main.data-v-1c4aa8ca{padding-left:5px}.custom .order main p.data-v-1c4aa8ca{font-family:PingFangSC-Regular;width:145px;line-height:17px;font-size:14px;color:#999;letter-spacing:0;margin-bottom:6px;word-break:break-word}.custom .order main span.data-v-1c4aa8ca{font-family:PingFangSC-Regular;line-height:25px;color:#ff7201}.custom .order img.data-v-1c4aa8ca{width:67px;height:67px}.custom .pk.data-v-1c4aa8ca{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;background-color:#fff;border-radius:10px;padding:20px;box-sizing:border-box}.custom .pk h1.data-v-1c4aa8ca{font-size:18px;color:#333;margin-bottom:10px}.custom .pk .button-group.data-v-1c4aa8ca{display:flex;justify-content:center}.custom .pk .button-group .buttonAccept.data-v-1c4aa8ca{width:40%;height:60rpx;background-color:rgba(132,255,0,.333);border-radius:10px;border:2px solid #26ff00;color:#fff;font-size:16px;text-align:center;line-height:60rpx;margin-bottom:10px;border:none;cursor:pointer}.custom .pk .button-group .buttonRefuse.data-v-1c4aa8ca{width:40%;height:60rpx;background-color:rgba(255,0,0,.47);border:2px solid #ff0000;border-radius:10px;color:#fff;font-size:16px;line-height:60rpx;text-align:center;margin-bottom:10px;border:none;cursor:pointer}.Custommessageimage.data-v-1c4aa8ca{width:385rpx;height:195rpx}
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../../../../common/vendor.js");require("../../../../adapter-vue.js"),require("../../emoji-config/index.js");const o=e.defineComponent({__name:"message-face",props:{content:{type:Object,default:()=>({})}},setup(o){const t=o,n=e.ref(t.content.url);return e.onMounted((()=>{"custom"===t.content.type&&console.warn("CUSTOM_BIG_EMOJI_URL is required for custom emoji, please check your CUSTOM_BIG_EMOJI_URL.")})),(o,t)=>({a:e.unref(n)})}}),t=e._export_sfc(o,[["__scopeId","data-v-a83600e4"]]);wx.createComponent(t);
|
||||
"use strict";const e=require("../../../../../common/vendor.js");require("../../../../adapter-vue.js"),require("../../emoji-config/default-emoji.js"),require("../../../../utils/env.js");const o=e.defineComponent({__name:"message-face",props:{content:{type:Object,default:()=>({})}},setup(o){const t=o,n=e.ref(t.content.url);return e.onMounted((()=>{"custom"===t.content.type&&console.warn("CUSTOM_BIG_EMOJI_URL is required for custom emoji, please check your CUSTOM_BIG_EMOJI_URL.")})),(o,t)=>({a:e.unref(n)})}}),t=e._export_sfc(o,[["__scopeId","data-v-a83600e4"]]);wx.createComponent(t);
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../../../../common/vendor.js");require("../../../../adapter-vue.js"),require("../../emoji-config/index.js");const t=require("../../../../utils/env.js"),n=e.defineComponent({__name:"message-text",props:{content:{default:()=>({})},messageItem:{default:()=>({})},enableURLHighlight:{type:Boolean,default:!1}},setup(n){const a=n,l=e.ref([]);return e.watch((()=>a.messageItem),((t,n)=>{var o,r,s,u,i,m;(null==t?void 0:t.ID)!==(null==n?void 0:n.ID)&&(a.enableURLHighlight&&e.ss.reportFeature(208),a.messageItem.getMessageContent?l.value=null==(o=a.messageItem.getMessageContent())?void 0:o.text:l.value=null==(s=null==(r=e.Jt.getMessageModel(a.messageItem.ID))?void 0:r.getMessageContent())?void 0:s.text,l.value=l.value||(null==(u=a.content)?void 0:u.text),(null==(i=l.value)?void 0:i.length)?l.value=null==(m=l.value.map((t=>{if("img"===t.name&&"custom"===(null==t?void 0:t.type))return console.warn("CUSTOM_BASIC_EMOJI_URL is required for custom emoji."),t;if(a.enableURLHighlight&&"text"===t.name&&t.text){if(!e.A$1)return console.warn("parseTextAndValidateUrls not found. Please update @tencentcloud/universal-api to 2.3.7 or higher."),t;const n=e.A$1(t.text);if(n.length)return n.map((e=>({name:e.type,text:e.text,url:e.url})))}return t})))?void 0:m.flat():l.value=[])}),{deep:!0,immediate:!0}),(n,a)=>({a:e.f(e.unref(l),((n,a,l)=>e.e({a:"text"===n.name},"text"===n.name?{b:e.t(n.text)}:"url"===n.name?{d:e.t(n.text),e:e.o$1((a=>{var l;(l=n.url)&&(t.isUniFrameWork?e.i.navigateTo({url:`/pages/views/webview?url=${l}`}):e.i.open(l,"_blank"))}),a)}:{f:n.src,g:n.emojiKey},{c:"url"===n.name,h:a}))),b:e.n(e.unref(t.isPC)&&"text-select")})}}),a=e._export_sfc(n,[["__scopeId","data-v-7d054f1e"]]);wx.createComponent(a);
|
||||
"use strict";const e=require("../../../../../common/vendor.js");require("../../../../adapter-vue.js"),require("../../emoji-config/default-emoji.js");const t=require("../../../../utils/env.js"),n=e.defineComponent({__name:"message-text",props:{content:{default:()=>({})},messageItem:{default:()=>({})},enableURLHighlight:{type:Boolean,default:!1}},setup(n){const a=n,l=e.ref([]);return e.watch((()=>a.messageItem),((t,n)=>{var o,r,s,u,i,m;(null==t?void 0:t.ID)!==(null==n?void 0:n.ID)&&(a.enableURLHighlight&&e.ss.reportFeature(208),a.messageItem.getMessageContent?l.value=null==(o=a.messageItem.getMessageContent())?void 0:o.text:l.value=null==(s=null==(r=e.Jt.getMessageModel(a.messageItem.ID))?void 0:r.getMessageContent())?void 0:s.text,l.value=l.value||(null==(u=a.content)?void 0:u.text),(null==(i=l.value)?void 0:i.length)?l.value=null==(m=l.value.map((t=>{if("img"===t.name&&"custom"===(null==t?void 0:t.type))return console.warn("CUSTOM_BASIC_EMOJI_URL is required for custom emoji."),t;if(a.enableURLHighlight&&"text"===t.name&&t.text){if(!e.A$1)return console.warn("parseTextAndValidateUrls not found. Please update @tencentcloud/universal-api to 2.3.7 or higher."),t;const n=e.A$1(t.text);if(n.length)return n.map((e=>({name:e.type,text:e.text,url:e.url})))}return t})))?void 0:m.flat():l.value=[])}),{deep:!0,immediate:!0}),(n,a)=>({a:e.f(e.unref(l),((n,a,l)=>e.e({a:"text"===n.name},"text"===n.name?{b:e.t(n.text)}:"url"===n.name?{d:e.t(n.text),e:e.o$1((a=>{var l;(l=n.url)&&(t.isUniFrameWork?e.i.navigateTo({url:`/pages/views/webview?url=${l}`}):e.i.open(l,"_blank"))}),a)}:{f:n.src,g:n.emojiKey},{c:"url"===n.name,h:a}))),b:e.n(e.unref(t.isPC)&&"text-select")})}}),a=e._export_sfc(n,[["__scopeId","data-v-7d054f1e"]]);wx.createComponent(a);
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
"use strict";exports.CHAT_MSG_CUSTOM_TYPE={SERVICE:"consultion",EVALUATE:"evaluation",LINK:"text_link",PK:"pk",CALL:1,ORDER:"order"},exports.CONTACT_INFO_BUTTON_TYPE={SUBMIT:"submit",CANCEL:"cancel"},exports.CONTACT_INFO_LABEL_POSITION={LEFT:"left",TOP:"top"},exports.CONTACT_INFO_MORE_EDIT_TYPE={INPUT:"input",TEXTAREA:"textarea",SWITCH:"switch"},exports.CONV_CREATE_TYPE={TYPEC2C:"isC2C",TYPEGROUP:"isGroup",JOINGROUP:"joinGroup"},exports.CONV_OPERATION={DELETE:"delete",ISPINNED:"ispinned",DISPINNED:"dispinned",MUTE:"mute",NOTMUTE:"notmute"},exports.EMOJI_TYPE={BASIC:"basic",BIG:"big",CUSTOM:"CUSTOM"};
|
||||
"use strict";exports.CHAT_MSG_CUSTOM_TYPE={SERVICE:"consultion",EVALUATE:"evaluation",LINK:"text_link",PK:"pk",CALL:1,ORDER:"order"},exports.CONTACT_INFO_BUTTON_TYPE={SUBMIT:"submit",CANCEL:"cancel"},exports.CONTACT_INFO_LABEL_POSITION={LEFT:"left",TOP:"top"},exports.CONTACT_INFO_MORE_EDIT_TYPE={INPUT:"input",TEXTAREA:"textarea",SWITCH:"switch"},exports.CONV_CREATE_TYPE={TYPEC2C:"isC2C",TYPEGROUP:"isGroup",JOINGROUP:"joinGroup"},exports.CONV_OPERATION={DELETE:"delete",ISPINNED:"ispinned",DISPINNED:"dispinned",MUTE:"mute",NOTMUTE:"notmute"};
|
||||
|
||||
BIN
unpackage/dist/build/mp-weixin/assets/InvitationDark.c8a31c9e.png
vendored
Normal file
BIN
unpackage/dist/build/mp-weixin/assets/InvitationDark.c8a31c9e.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.5 KiB |
BIN
unpackage/dist/build/mp-weixin/assets/InvitationLight.ee30129f.png
vendored
Normal file
BIN
unpackage/dist/build/mp-weixin/assets/InvitationLight.ee30129f.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.9 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 opacity="0.795169">
|
||||
<circle cx="8" cy="8" r="7.5" stroke="#D5E0F2" style="stroke:#D5E0F2;"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 5C5.55228 5 6 5.44772 6 6C6 6.55228 5.55228 7 5 7C4.44772 7 4 6.55228 4 6C4 5.44772 4.44772 5 5 5Z" fill="#D5E0F2" style="fill:#D5E0F2;"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M11 5C11.5523 5 12 5.44772 12 6C12 6.55228 11.5523 7 11 7C10.4477 7 10 6.55228 10 6C10 5.44772 10.4477 5 11 5Z" fill="#D5E0F2" style="fill:#D5E0F2;"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 619 B |
@@ -1,8 +0,0 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g opacity="0.795169">
|
||||
<circle cx="8" cy="8" r="7.5" stroke="#232832" style="stroke:#232832;stroke:color(display-p3 0.1360 0.1574 0.1949);stroke-opacity:1;"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 5C5.55228 5 6 5.44772 6 6C6 6.55228 5.55228 7 5 7C4.44772 7 4 6.55228 4 6C4 5.44772 4.44772 5 5 5Z" fill="#232832" style="fill:#232832;fill:color(display-p3 0.1360 0.1574 0.1949);fill-opacity:1;"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M11 5C11.5523 5 12 5.44772 12 6C12 6.55228 11.5523 7 11 7C10.4477 7 10 6.55228 10 6C10 5.44772 10.4477 5 11 5Z" fill="#232832" style="fill:#232832;fill:color(display-p3 0.1360 0.1574 0.1949);fill-opacity:1;"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 804 B |
Binary file not shown.
|
Before Width: | Height: | Size: 4.9 KiB |
@@ -1 +1 @@
|
||||
"use strict";exports.AddIcon="/assets/add-circle.376cda7c.svg",exports.C2C="/assets/icon-c2c.6e2af86f.svg",exports.ForwardEachIcon="/assets/forward-each.d0857f96.svg",exports.ForwardMergeIcon="/assets/forward-merge.73273fff.svg",exports.SearchDefaultIcon="/assets/search-default.4e6b7fca.svg",exports.addSVG="/assets/add.6f2b9261.svg",exports.audioIcon="/assets/msg-audio.ac2cd1c9.svg",exports.audioIcon$1="/assets/audio.21bb2ba6.svg",exports.backIcon="/assets/back.b82bef7a.svg",exports.callVideoSVG="/assets/call-video.21b022ad.svg",exports.callVoiceSVG="/assets/call-voice.1ef6b7f7.svg",exports.cameraUniIcon="/assets/camera-uni.e7fd6e1a.png",exports.cancelIcon="/assets/cancel.051cb10c.svg",exports.checkIcon="/assets/check-sm.c3984331.svg",exports.closeIcon="/assets/input-close.0b5e85b2.svg",exports.closeIcon$1="/assets/close-dark.c1b1ccca.svg",exports.closeIcon$2="/assets/icon-close.90eb4be2.svg",exports.convertText="/assets/convertText_zh.51e06e84.svg",exports.copyIcon="/assets/msg-copy.8d896bef.svg",exports.createGroup="/assets/start-group.5f1c641f.svg",exports.dLeftArrowIcon="/assets/d-left-arrow.9b5f8cc0.svg",exports.dRightArrowIcon="/assets/d-right-arrow.7ab4b4ba.svg",exports.delIcon="/assets/msg-del.05341954.svg",exports.delIcon$1="/assets/del-icon.c693da44.svg",exports.doubleArrowIcon="/assets/double-arrow.c51bb7cf.svg",exports.downSVG="/assets/down-icon.50c12418.svg",exports.editIcon="/assets/edit.5adfff7a.svg",exports.faceIcon="/assets/face-uni.e33f5632.png",exports.faceIconDark="/assets/face-dark.21e333dd.svg",exports.faceIconLight="/assets/face-light.61678cbe.svg",exports.files="/assets/file-light.565ad764.svg",exports.forwardIcon="/assets/msg-forward.1907b7f9.svg",exports.iconRight="/assets/iconRight.ab6f6855.svg",exports.imRobotGuess="/assets/imRobotGuess.06ae9855.svg",exports.imageIconDark="/assets/image-dark.44be7480.svg",exports.imageIconLight="/assets/image-light.ef346b4b.svg",exports.imageUniIcon="/assets/image-uni.3e951cbb.png",exports.leftArrowIcon="/assets/left-arrow.be72449a.svg",exports.loadingIcon="/assets/loading.2a143778.png",exports.minusSVG="/assets/minus.887a634f.svg",exports.moreIcon="/assets/more-uni.030c2d9a.png",exports.multipleSelectIcon="/assets/multiple-select.d38619b0.svg",exports.muteIcon="/assets/mute.81a6d6d5.svg",exports.playIcon="/assets/video-play.58b451c9.png",exports.plusSVG="/assets/plus.f3b9aa49.svg",exports.quoteIcon="/assets/msg-quote.550cd8cb.svg",exports.radioIcon="/assets/radio.168a4b70.svg",exports.refresh="/assets/refresh.cddffc91.svg",exports.revokeIcon="/assets/msg-revoke.39595cc0.svg",exports.rightArrowIcon="/assets/right-arrow.0c0041ad.svg",exports.rightIcon="/assets/right-icon.b206bd3e.svg",exports.searchIcon="/assets/search.980f6827.svg",exports.selectedIcon="/assets/selected.1c6e50da.svg",exports.settingSVG="/assets/setting.161bfa16.svg",exports.star="/assets/star-light.d9a7aedf.png",exports.star$1="/assets/star.0d13712b.png",exports.starLine="/assets/starLine.f4211758.png",exports.translateIcon="/assets/translate.8c9408be.svg",exports.videoIconDark="/assets/video-dark.0bbf3476.svg",exports.videoIconLight="/assets/video-light.c7253748.svg",exports.videoUniIcon="/assets/video-uni.0b4d3e53.png",exports.wordsIconDark="/assets/words-dark.cda35c0a.svg",exports.wordsIconLight="/assets/words-light.97e1bc17.svg";
|
||||
"use strict";exports.AddIcon="/assets/add-circle.376cda7c.svg",exports.C2C="/assets/icon-c2c.6e2af86f.svg",exports.ForwardEachIcon="/assets/forward-each.d0857f96.svg",exports.ForwardMergeIcon="/assets/forward-merge.73273fff.svg",exports.InvitationDark="/assets/InvitationDark.c8a31c9e.png",exports.InvitationLight="/assets/InvitationLight.ee30129f.png",exports.SearchDefaultIcon="/assets/search-default.4e6b7fca.svg",exports.addSVG="/assets/add.6f2b9261.svg",exports.audioIcon="/assets/msg-audio.ac2cd1c9.svg",exports.audioIcon$1="/assets/audio.21bb2ba6.svg",exports.backIcon="/assets/back.b82bef7a.svg",exports.callVideoSVG="/assets/call-video.21b022ad.svg",exports.callVoiceSVG="/assets/call-voice.1ef6b7f7.svg",exports.cameraUniIcon="/assets/camera-uni.e7fd6e1a.png",exports.cancelIcon="/assets/cancel.051cb10c.svg",exports.checkIcon="/assets/check-sm.c3984331.svg",exports.closeIcon="/assets/input-close.0b5e85b2.svg",exports.closeIcon$1="/assets/close-dark.c1b1ccca.svg",exports.closeIcon$2="/assets/icon-close.90eb4be2.svg",exports.convertText="/assets/convertText_zh.51e06e84.svg",exports.copyIcon="/assets/msg-copy.8d896bef.svg",exports.createGroup="/assets/start-group.5f1c641f.svg",exports.dLeftArrowIcon="/assets/d-left-arrow.9b5f8cc0.svg",exports.dRightArrowIcon="/assets/d-right-arrow.7ab4b4ba.svg",exports.delIcon="/assets/msg-del.05341954.svg",exports.delIcon$1="/assets/del-icon.c693da44.svg",exports.doubleArrowIcon="/assets/double-arrow.c51bb7cf.svg",exports.downSVG="/assets/down-icon.50c12418.svg",exports.editIcon="/assets/edit.5adfff7a.svg",exports.files="/assets/file-light.565ad764.svg",exports.forwardIcon="/assets/msg-forward.1907b7f9.svg",exports.iconRight="/assets/iconRight.ab6f6855.svg",exports.imRobotGuess="/assets/imRobotGuess.06ae9855.svg",exports.imageIconDark="/assets/image-dark.44be7480.svg",exports.imageIconLight="/assets/image-light.ef346b4b.svg",exports.imageUniIcon="/assets/image-uni.3e951cbb.png",exports.leftArrowIcon="/assets/left-arrow.be72449a.svg",exports.loadingIcon="/assets/loading.2a143778.png",exports.minusSVG="/assets/minus.887a634f.svg",exports.moreIcon="/assets/more-uni.030c2d9a.png",exports.multipleSelectIcon="/assets/multiple-select.d38619b0.svg",exports.muteIcon="/assets/mute.81a6d6d5.svg",exports.playIcon="/assets/video-play.58b451c9.png",exports.plusSVG="/assets/plus.f3b9aa49.svg",exports.quoteIcon="/assets/msg-quote.550cd8cb.svg",exports.radioIcon="/assets/radio.168a4b70.svg",exports.refresh="/assets/refresh.cddffc91.svg",exports.revokeIcon="/assets/msg-revoke.39595cc0.svg",exports.rightArrowIcon="/assets/right-arrow.0c0041ad.svg",exports.rightIcon="/assets/right-icon.b206bd3e.svg",exports.searchIcon="/assets/search.980f6827.svg",exports.selectedIcon="/assets/selected.1c6e50da.svg",exports.settingSVG="/assets/setting.161bfa16.svg",exports.star="/assets/star-light.d9a7aedf.png",exports.star$1="/assets/star.0d13712b.png",exports.starLine="/assets/starLine.f4211758.png",exports.translateIcon="/assets/translate.8c9408be.svg",exports.videoIconDark="/assets/video-dark.0bbf3476.svg",exports.videoIconLight="/assets/video-light.c7253748.svg",exports.videoUniIcon="/assets/video-uni.0b4d3e53.png",exports.wordsIconDark="/assets/words-dark.cda35c0a.svg",exports.wordsIconLight="/assets/words-light.97e1bc17.svg";
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../common/vendor.js"),t=require("./addPrefixToHeaderIcon.js");exports.request=function(n){const{url:r,data:a,method:o,header:s,userInfo:i}=n,u="http://120.26.251.180:8086/"+r;return new Promise(i?(n,r)=>{e.index.getStorage({key:"userinfo",success:i=>{i.data?i.data.nickName?e.index.request({url:u,data:a,method:o,header:s,success:function(e){n(t.addPrefixToHeaderIcon(e.data))},fail:function(e){r(e)}}):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.reLaunch({url:"/pages/UserInformation/UserInformation"})):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}))},fail:function(t){e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}),r(t)}})}:(n,r)=>{e.index.request({url:u,data:a,method:o,header:s,success:function(e){n(t.addPrefixToHeaderIcon(e.data))},fail:function(e){r(e)}})})};
|
||||
"use strict";const e=require("../common/vendor.js"),t=require("./addPrefixToHeaderIcon.js");exports.request=function(n){const{url:r,data:a,method:o,header:s,userInfo:i}=n,u="https://pk.zhukeping.com/"+r;return new Promise(i?(n,r)=>{e.index.getStorage({key:"userinfo",success:i=>{i.data?i.data.nickName?e.index.request({url:u,data:a,method:o,header:s,success:function(e){n(t.addPrefixToHeaderIcon(e.data))},fail:function(e){r(e)}}):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.reLaunch({url:"/pages/UserInformation/UserInformation"})):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}))},fail:function(t){e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}),r(t)}})}:(n,r)=>{e.index.request({url:u,data:a,method:o,header:s,success:function(e){n(t.addPrefixToHeaderIcon(e.data))},fail:function(e){r(e)}})})};
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
<view class="page data-v-87c6f233"><image src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" class="HomeBackground data-v-87c6f233"></image></view><view class="top-navigation-container data-v-87c6f233"><top-navigation class="data-v-87c6f233" bindRealTimePk="{{a}}" bindMakeAppointmentPK="{{b}}" bindscreening="{{c}}" u-i="87c6f233-0" bind:__l="__l"></top-navigation></view><view class="contentList data-v-87c6f233"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-87c6f233" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{g}}" lower-threshold="100" bindscrolltolower="{{h}}" refresher-triggered="{{i}}"><block wx:if="{{d}}"><uni-card wx:for="{{e}}" wx:for-item="item" wx:key="k" class="data-v-87c6f233" u-s="{{['d']}}" u-i="{{item.l}}" bind:__l="__l"><view class="content-list data-v-87c6f233" bindtap="{{item.i}}" style="{{'border:' + item.j}}"><image class="headShot data-v-87c6f233" src="{{item.a}}" mode="scaleToFill"/><view class="content-list-title data-v-87c6f233"><view class="cardname data-v-87c6f233">{{item.b}}</view><view class="content-list-info data-v-87c6f233"><view class="{{['data-v-87c6f233', item.e && 'Gendermale', item.f && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-87c6f233" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/><image wx:else class="Genderimg data-v-87c6f233" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/><view class="age data-v-87c6f233">{{item.d}}</view></view><view class="RoomID data-v-87c6f233">PK时间: {{item.g}}</view><view class="Charm data-v-87c6f233">金币:</view><view class="charmValue data-v-87c6f233">{{item.h}}</view></view></view></view></uni-card></block><view wx:if="{{f}}" class="no-content data-v-87c6f233">暂无内容</view></scroll-view></view><view class="tabBar data-v-87c6f233"><tab-bar wx:if="{{k}}" class="data-v-87c6f233" bindpublishSucces="{{j}}" u-i="87c6f233-2" bind:__l="__l" u-p="{{k}}"></tab-bar></view><uni-popup wx:if="{{L}}" class="r data-v-87c6f233" u-s="{{['d']}}" u-r="popup" u-i="87c6f233-3" bind:__l="__l" u-p="{{L}}"><view class="popup-container data-v-87c6f233"><view class="popup-title data-v-87c6f233">筛选条件</view><view class="p-country data-v-87c6f233"><wht-select wx:if="{{m}}" class="data-v-87c6f233" style="width:350rpx" bindchange="{{l}}" u-i="87c6f233-4,87c6f233-3" bind:__l="__l" u-p="{{m}}"/></view><view class="popup-sex data-v-87c6f233"><view class="p-sex data-v-87c6f233"><wht-select wx:if="{{o}}" class="data-v-87c6f233" style="width:350rpx" bindchange="{{n}}" u-i="87c6f233-5,87c6f233-3" bind:__l="__l" u-p="{{o}}"/></view><view class="Gendericoncss data-v-87c6f233"><image wx:if="{{p}}" class="Gendericon data-v-87c6f233" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{q}}" class="Gendericon data-v-87c6f233" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{r}}" class="Gendericon data-v-87c6f233" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view class="popup-coin data-v-87c6f233"><view class="p-coin data-v-87c6f233"><view class="p-coin-title data-v-87c6f233">最小金币数</view><uni-number-box wx:if="{{t}}" class="data-v-87c6f233" u-i="87c6f233-6,87c6f233-3" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t}}"></uni-number-box><view wx:if="{{v}}" class="Hintcss data-v-87c6f233">请填写金币数量</view></view><view class="p-dar data-v-87c6f233">-</view><view class="p-coin data-v-87c6f233"><view class="p-coin-title data-v-87c6f233">最大金币数</view><uni-number-box wx:if="{{x}}" class="data-v-87c6f233" u-i="87c6f233-7,87c6f233-3" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"></uni-number-box><view wx:if="{{y}}" class="Hintcss data-v-87c6f233">请填写金币数量</view></view></view><view wx:if="{{z}}" class="p-time data-v-87c6f233"><view class="p-coin-title data-v-87c6f233">最小PK时间</view><uni-datetime-picker wx:if="{{B}}" class="data-v-87c6f233" u-i="87c6f233-8,87c6f233-3" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"/><view wx:if="{{C}}" class="Hintcss data-v-87c6f233">请选择日期</view></view><view wx:if="{{D}}" class="p-time data-v-87c6f233"><view class="p-coin-title data-v-87c6f233">最大PK时间</view><uni-datetime-picker wx:if="{{F}}" class="data-v-87c6f233" u-i="87c6f233-9,87c6f233-3" bind:__l="__l" bindupdateModelValue="{{E}}" u-p="{{F}}"/><view wx:if="{{G}}" class="Hintcss data-v-87c6f233">请选择日期</view></view><view class="popup-btn data-v-87c6f233"><view class="popup-btn-cancel data-v-87c6f233" bindtap="{{H}}">取消</view><view class="popup-btn-confirm data-v-87c6f233" bindtap="{{I}}">确定</view><view class="popup-btn-clear data-v-87c6f233" bindtap="{{J}}">清空</view></view></view></uni-popup>
|
||||
<view class="page data-v-c248507e"><image src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" class="HomeBackground data-v-c248507e"></image></view><view class="top-navigation-container data-v-c248507e"><top-navigation class="data-v-c248507e" bindRealTimePk="{{a}}" bindMakeAppointmentPK="{{b}}" bindscreening="{{c}}" u-i="c248507e-0" bind:__l="__l"></top-navigation></view><view class="contentList data-v-c248507e"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-c248507e" refresher-enabled="true" refresher-threshold="40" bindrefresherrefresh="{{g}}" lower-threshold="100" bindscrolltolower="{{h}}" refresher-triggered="{{i}}"><block wx:if="{{d}}"><uni-card wx:for="{{e}}" wx:for-item="item" wx:key="k" class="data-v-c248507e" u-s="{{['d']}}" u-i="{{item.l}}" bind:__l="__l"><view class="content-list data-v-c248507e" bindtap="{{item.i}}" style="{{'border:' + item.j}}"><image class="headShot data-v-c248507e" src="{{item.a}}" mode="scaleToFill"/><view class="content-list-title data-v-c248507e"><view class="cardname data-v-c248507e">{{item.b}}</view><view class="content-list-info data-v-c248507e"><view class="{{['data-v-c248507e', item.e && 'Gendermale', item.f && 'Genderfemale']}}"><image wx:if="{{item.c}}" class="Genderimg data-v-c248507e" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/><image wx:else class="Genderimg data-v-c248507e" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/><view class="age data-v-c248507e">{{item.d}}</view></view><view class="RoomID data-v-c248507e">PK时间: {{item.g}}</view><view class="Charm data-v-c248507e">金币:</view><view class="charmValue data-v-c248507e">{{item.h}}</view></view></view></view></uni-card></block><view wx:if="{{f}}" class="no-content data-v-c248507e">暂无内容</view></scroll-view></view><view class="tabBar data-v-c248507e"><tab-bar wx:if="{{k}}" class="data-v-c248507e" bindpublishSucces="{{j}}" u-i="c248507e-2" bind:__l="__l" u-p="{{k}}"></tab-bar></view><uni-popup wx:if="{{L}}" class="r data-v-c248507e" u-s="{{['d']}}" u-r="popup" u-i="c248507e-3" bind:__l="__l" u-p="{{L}}"><view class="popup-container data-v-c248507e"><view class="popup-title data-v-c248507e">筛选条件</view><view class="p-country data-v-c248507e"><wht-select wx:if="{{m}}" class="data-v-c248507e" style="width:350rpx" bindchange="{{l}}" u-i="c248507e-4,c248507e-3" bind:__l="__l" u-p="{{m}}"/></view><view class="popup-sex data-v-c248507e"><view class="p-sex data-v-c248507e"><wht-select wx:if="{{o}}" class="data-v-c248507e" style="width:350rpx" bindchange="{{n}}" u-i="c248507e-5,c248507e-3" bind:__l="__l" u-p="{{o}}"/></view><view class="Gendericoncss data-v-c248507e"><image wx:if="{{p}}" class="Gendericon data-v-c248507e" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{q}}" class="Gendericon data-v-c248507e" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{r}}" class="Gendericon data-v-c248507e" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view class="popup-coin data-v-c248507e"><view class="p-coin data-v-c248507e"><view class="p-coin-title data-v-c248507e">最小金币数</view><uni-number-box wx:if="{{t}}" class="data-v-c248507e" u-i="c248507e-6,c248507e-3" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t}}"></uni-number-box><view wx:if="{{v}}" class="Hintcss data-v-c248507e">请填写金币数量</view></view><view class="p-dar data-v-c248507e">-</view><view class="p-coin data-v-c248507e"><view class="p-coin-title data-v-c248507e">最大金币数</view><uni-number-box wx:if="{{x}}" class="data-v-c248507e" u-i="c248507e-7,c248507e-3" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"></uni-number-box><view wx:if="{{y}}" class="Hintcss data-v-c248507e">请填写金币数量</view></view></view><view wx:if="{{z}}" class="p-time data-v-c248507e"><view class="p-coin-title data-v-c248507e">最小PK时间</view><uni-datetime-picker wx:if="{{B}}" class="data-v-c248507e" u-i="c248507e-8,c248507e-3" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"/><view wx:if="{{C}}" class="Hintcss data-v-c248507e">请选择日期</view></view><view wx:if="{{D}}" class="p-time data-v-c248507e"><view class="p-coin-title data-v-c248507e">最大PK时间</view><uni-datetime-picker wx:if="{{F}}" class="data-v-c248507e" u-i="c248507e-9,c248507e-3" bind:__l="__l" bindupdateModelValue="{{E}}" u-p="{{F}}"/><view wx:if="{{G}}" class="Hintcss data-v-c248507e">请选择日期</view></view><view class="popup-btn data-v-c248507e"><view class="popup-btn-cancel data-v-c248507e" bindtap="{{H}}">取消</view><view class="popup-btn-confirm data-v-c248507e" bindtap="{{I}}">确定</view><view class="popup-btn-clear data-v-c248507e" bindtap="{{J}}">清空</view></view></view></uni-popup>
|
||||
@@ -1 +1 @@
|
||||
.page.data-v-87c6f233{position:relative;width:750rpx;height:1620rpx}.HomeBackground.data-v-87c6f233{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1}.top-navigation-container.data-v-87c6f233{position:fixed;top:160rpx;left:0;width:100%;height:114.5rpx}.Advertisement.data-v-87c6f233{position:fixed;top:300rpx;left:0;width:100%;height:100rpx;z-index:2}.contentList.data-v-87c6f233{position:fixed;top:312rpx;left:0;bottom:114.5rpx;width:100%}.scroll.data-v-87c6f233{height:90%;display:flex;flex-direction:column;justify-content:center;align-items:center}.content-list.data-v-87c6f233{display:flex;align-items:center;width:712rpx;height:161rpx;background:#fff;border-radius:15rpx;margin-bottom:12rpx;margin-left:20rpx}.headShot.data-v-87c6f233{width:101rpx;height:101rpx;border-radius:50rpx;margin-left:30rpx;margin-right:33rpx}.content-list-info.data-v-87c6f233{display:flex;align-items:center}.cardname.data-v-87c6f233{font-size:31rpx;color:#161616;line-height:38rpx;margin-bottom:20rpx}.Genderimg.data-v-87c6f233{width:15rpx;height:15rpx;margin-left:10rpx;margin-right:10rpx}.age.data-v-87c6f233{color:#fff;font-size:14rpx}.Gendermale.data-v-87c6f233{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.Genderfemale.data-v-87c6f233{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.RoomID.data-v-87c6f233{font-size:23rpx;color:#a3a3a3;line-height:38rpx}.Charm.data-v-87c6f233{font-size:23rpx;color:#a3a3a3;line-height:38rpx;margin-right:12rpx;margin-left:20rpx}.charmValue.data-v-87c6f233{font-size:23rpx;color:#161616;line-height:38rpx;font-weight:600}.no-content.data-v-87c6f233{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:28rpx;color:#a3a3a3;line-height:40rpx;text-align:center}.popup-container.data-v-87c6f233{height:1626px;width:650rpx;background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png);border-radius:15rpx;display:flex;flex-direction:column;align-items:center}.popup-title.data-v-87c6f233{font-size:50rpx;line-height:50rpx;margin-top:250rpx;font-weight:700;background:linear-gradient(135deg,#00afb2,#4fcacd);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.p-country.data-v-87c6f233{width:500rpx;height:100rpx;margin-top:80rpx}.popup-sex.data-v-87c6f233{width:500rpx;height:100rpx;margin-top:40rpx;display:flex;justify-content:space-between}.p-sex.data-v-87c6f233{width:420rpx;height:100rpx}.Gendericoncss.data-v-87c6f233{display:flex;justify-content:center;align-items:center;width:60rpx;height:60rpx;border-radius:50%;border:1rpx solid #ff9d0067;margin-left:20rpx;margin-top:10rpx}.Gendericon.data-v-87c6f233{width:40rpx;height:40rpx}.popup-coin.data-v-87c6f233{width:500rpx;margin-top:40rpx;display:flex}.p-coin.data-v-87c6f233{width:500rpx;display:flex;flex-direction:column;align-items:center}.p-dar.data-v-87c6f233{margin-top:30rpx}.p-coin-title.data-v-87c6f233{font-size:20rpx;color:#a3a3a3}.p-time.data-v-87c6f233{width:500rpx;margin-top:40rpx}.popup-btn-cancel.data-v-87c6f233{width:170rpx;height:60rpx;font-size:30rpx;color:#fff;line-height:60rpx;text-align:center;margin-right:20rpx;border-top-left-radius:50rpx;border-bottom-left-radius:50rpx;border-bottom-right-radius:50rpx;background-image:linear-gradient(135deg,#4fcacd,#5fdbde)}.popup-btn-confirm.data-v-87c6f233{width:170rpx;height:60rpx;font-size:30rpx;color:#fff;line-height:60rpx;text-align:center;margin-right:20rpx;border-top-left-radius:50rpx;border-bottom-left-radius:50rpx;border-bottom-right-radius:50rpx;background-image:linear-gradient(135deg,#4fcd9d,#5fdeba)}.popup-btn-clear.data-v-87c6f233{width:170rpx;height:60rpx;font-size:30rpx;color:#fff;line-height:60rpx;text-align:center;border-top-left-radius:50rpx;border-bottom-left-radius:50rpx;border-bottom-right-radius:50rpx;background-image:linear-gradient(135deg,#cd924f,#debc5f)}.Hintcss.data-v-87c6f233{font-size:18rpx;color:#f55}.popup-btn.data-v-87c6f233{width:600rpx;height:100rpx;display:flex;justify-content:space-around;align-items:center;margin-top:400rpx}
|
||||
.page.data-v-c248507e{position:relative;width:750rpx;height:1620rpx}.HomeBackground.data-v-c248507e{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1}.top-navigation-container.data-v-c248507e{position:fixed;top:160rpx;left:0;width:100%;height:114.5rpx}.Advertisement.data-v-c248507e{position:fixed;top:300rpx;left:0;width:100%;height:100rpx;z-index:2}.contentList.data-v-c248507e{position:fixed;top:312rpx;left:0;bottom:114.5rpx;width:100%}.scroll.data-v-c248507e{height:90%;display:flex;flex-direction:column;justify-content:center;align-items:center}.content-list.data-v-c248507e{display:flex;align-items:center;width:712rpx;height:161rpx;background:#fff;border-radius:15rpx;margin-bottom:12rpx;margin-left:20rpx}.headShot.data-v-c248507e{width:101rpx;height:101rpx;border-radius:50rpx;margin-left:30rpx;margin-right:33rpx}.content-list-info.data-v-c248507e{display:flex;align-items:center}.cardname.data-v-c248507e{font-size:31rpx;color:#161616;line-height:38rpx;margin-bottom:20rpx}.Genderimg.data-v-c248507e{width:15rpx;height:15rpx;margin-left:10rpx;margin-right:10rpx}.age.data-v-c248507e{color:#fff;font-size:14rpx}.Gendermale.data-v-c248507e{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/maleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.Genderfemale.data-v-c248507e{background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/femaleimg.png) no-repeat center;width:56.3rpx;height:29.58rpx;background-size:100% 100%;display:flex;align-items:center;margin-right:10rpx}.RoomID.data-v-c248507e{font-size:23rpx;color:#a3a3a3;line-height:38rpx}.Charm.data-v-c248507e{font-size:23rpx;color:#a3a3a3;line-height:38rpx;margin-right:12rpx;margin-left:20rpx}.charmValue.data-v-c248507e{font-size:23rpx;color:#161616;line-height:38rpx;font-weight:600}.no-content.data-v-c248507e{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:28rpx;color:#a3a3a3;line-height:40rpx;text-align:center}.popup-container.data-v-c248507e{height:1626px;width:650rpx;background:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png);border-radius:15rpx;display:flex;flex-direction:column;align-items:center}.popup-title.data-v-c248507e{font-size:50rpx;line-height:50rpx;margin-top:250rpx;font-weight:700;background:linear-gradient(135deg,#00afb2,#4fcacd);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.p-country.data-v-c248507e{width:500rpx;height:100rpx;margin-top:80rpx}.popup-sex.data-v-c248507e{width:500rpx;height:100rpx;margin-top:40rpx;display:flex;justify-content:space-between}.p-sex.data-v-c248507e{width:420rpx;height:100rpx}.Gendericoncss.data-v-c248507e{display:flex;justify-content:center;align-items:center;width:60rpx;height:60rpx;border-radius:50%;border:1rpx solid #ff9d0067;margin-left:20rpx;margin-top:10rpx}.Gendericon.data-v-c248507e{width:40rpx;height:40rpx}.popup-coin.data-v-c248507e{width:500rpx;margin-top:40rpx;display:flex}.p-coin.data-v-c248507e{width:500rpx;display:flex;flex-direction:column;align-items:center}.p-dar.data-v-c248507e{margin-top:30rpx}.p-coin-title.data-v-c248507e{font-size:20rpx;color:#a3a3a3}.p-time.data-v-c248507e{width:500rpx;margin-top:40rpx}.popup-btn-cancel.data-v-c248507e{width:170rpx;height:60rpx;font-size:30rpx;color:#fff;line-height:60rpx;text-align:center;margin-right:20rpx;border-top-left-radius:50rpx;border-bottom-left-radius:50rpx;border-bottom-right-radius:50rpx;background-image:linear-gradient(135deg,#4fcacd,#5fdbde)}.popup-btn-confirm.data-v-c248507e{width:170rpx;height:60rpx;font-size:30rpx;color:#fff;line-height:60rpx;text-align:center;margin-right:20rpx;border-top-left-radius:50rpx;border-bottom-left-radius:50rpx;border-bottom-right-radius:50rpx;background-image:linear-gradient(135deg,#4fcd9d,#5fdeba)}.popup-btn-clear.data-v-c248507e{width:170rpx;height:60rpx;font-size:30rpx;color:#fff;line-height:60rpx;text-align:center;border-top-left-radius:50rpx;border-bottom-left-radius:50rpx;border-bottom-right-radius:50rpx;background-image:linear-gradient(135deg,#cd924f,#debc5f)}.Hintcss.data-v-c248507e{font-size:18rpx;color:#f55}.popup-btn.data-v-c248507e{width:600rpx;height:100rpx;display:flex;justify-content:space-around;align-items:center;margin-top:400rpx}
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view wx:if="{{a}}" class="{{['data-v-d0da91b0', F, 'Mask']}}" bindtap="{{G}}"><view catchtap="{{E}}" class="containers data-v-d0da91b0"><view class="container data-v-d0da91b0"><image class="Fork data-v-d0da91b0" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-d0da91b0"><view class="Star data-v-d0da91b0"></view><view class="Title data-v-d0da91b0"></view><view class="Star data-v-d0da91b0"></view></view><view class="AnchorSelection data-v-d0da91b0"><view class="NameAnchor data-v-d0da91b0"><input class="NameAnchorcss data-v-d0da91b0" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-d0da91b0">请检查主播名称是否正确</view></view><view class="AnchorSelectioncss data-v-d0da91b0" bindtap="{{g}}">选择我的主播</view></view><view class="Accountnumber data-v-d0da91b0"><view class="Coins country data-v-d0da91b0"><wht-select wx:if="{{j}}" class="data-v-d0da91b0" style="width:350rpx" bindchange="{{h}}" bindblur="{{i}}" u-i="d0da91b0-0" bind:__l="__l" u-p="{{j}}"/><view wx:if="{{k}}" class="Hint data-v-d0da91b0">请选择国家</view></view><view class="Gender data-v-d0da91b0"><view class="Gendercs data-v-d0da91b0"><view class="Gendercss data-v-d0da91b0"><wht-select wx:if="{{m}}" class="data-v-d0da91b0" style="width:300rpx" bindchange="{{l}}" u-i="d0da91b0-1" bind:__l="__l" u-p="{{m}}"/></view><view class="Gendericoncss data-v-d0da91b0"><image wx:if="{{n}}" class="Gendericon data-v-d0da91b0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-d0da91b0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{p}}" class="Gendericon data-v-d0da91b0" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{q}}" class="Hintcss data-v-d0da91b0">请选择性别</view></view></view><view class="goldCoin data-v-d0da91b0"><view class="number-box data-v-d0da91b0"><view class="number-box-title data-v-d0da91b0">金币数量:</view><uni-number-box wx:if="{{s}}" class="data-v-d0da91b0" u-i="d0da91b0-2" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"></uni-number-box><view class="number-box-title data-v-d0da91b0">单位:</view><view class="number-box-unit data-v-d0da91b0">K</view></view><view wx:if="{{t}}" class="Hint data-v-d0da91b0">请填写金币数量</view></view><view class="time data-v-d0da91b0"><uni-datetime-picker wx:if="{{w}}" class="data-v-d0da91b0" u-i="d0da91b0-3" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"/><view wx:if="{{x}}" class="Hint data-v-d0da91b0">请选择日期</view></view><view class="goldCoin data-v-d0da91b0"><view class="number-box data-v-d0da91b0"><view class="number-box-title data-v-d0da91b0">选择场数:</view><uni-number-box wx:if="{{z}}" class="data-v-d0da91b0" u-i="d0da91b0-4" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-number-box><view class="number-box-title data-v-d0da91b0">次</view></view><view wx:if="{{A}}" class="Hint data-v-d0da91b0">请填写场数</view></view><view class="Remarkscss data-v-d0da91b0"><uni-easyinput wx:if="{{C}}" class="data-v-d0da91b0" u-i="d0da91b0-5" bind:__l="__l" bindupdateModelValue="{{B}}" u-p="{{C}}"></uni-easyinput></view><view class="Publish data-v-d0da91b0"><button bindtap="{{D}}" class="Publishcss data-v-d0da91b0">发布</button></view></view></view></view><uni-popup wx:if="{{N}}" class="r data-v-d0da91b0" u-s="{{['d']}}" u-r="popup" u-i="d0da91b0-6" bind:__l="__l" u-p="{{N}}"><view class="popup-container data-v-d0da91b0"><view class="popup-title data-v-d0da91b0">点击选择我的主播</view><scroll-view wx:if="{{H}}" show-scrollbar="false" scroll-y="true" class="scroll data-v-d0da91b0"><view wx:for="{{I}}" wx:for-item="item" wx:key="f" class="card data-v-d0da91b0"><view class="card-content data-v-d0da91b0" bindtap="{{item.d}}" style="{{'background:' + item.e}}"><view class="Avatarimg data-v-d0da91b0"><image class="avatar data-v-d0da91b0" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-d0da91b0"><view class="TimeMoney data-v-d0da91b0"><view class="NameMoney_Name data-v-d0da91b0">{{item.b}}</view></view><view class="TimeMoney data-v-d0da91b0"><view class="TimeMoney_country data-v-d0da91b0">{{item.c}}</view></view></view></view></view></scroll-view><view wx:if="{{J}}" class="no-data data-v-d0da91b0"><view class="no-data-text data-v-d0da91b0">暂无数据</view></view><view class="popup-btn data-v-d0da91b0"><button class="invite data-v-d0da91b0" type="primary" bindtap="{{K}}">确认</button><button class="cancel data-v-d0da91b0" type="default" bindtap="{{L}}">取消</button></view></view></uni-popup>
|
||||
<view wx:if="{{a}}" class="{{['data-v-bccbad10', F, 'Mask']}}" bindtap="{{G}}"><view catchtap="{{E}}" class="containers data-v-bccbad10"><view class="container data-v-bccbad10"><image class="Fork data-v-bccbad10" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-bccbad10"><view class="Star data-v-bccbad10"></view><view class="Title data-v-bccbad10"></view><view class="Star data-v-bccbad10"></view></view><view class="AnchorSelection data-v-bccbad10"><view class="NameAnchor data-v-bccbad10"><input class="NameAnchorcss data-v-bccbad10" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-bccbad10">请检查主播名称是否正确</view></view><view class="AnchorSelectioncss data-v-bccbad10" bindtap="{{g}}">选择我的主播</view></view><view class="Accountnumber data-v-bccbad10"><view class="Coins country data-v-bccbad10"><wht-select wx:if="{{j}}" class="data-v-bccbad10" style="width:350rpx" bindchange="{{h}}" bindblur="{{i}}" u-i="bccbad10-0" bind:__l="__l" u-p="{{j}}"/><view wx:if="{{k}}" class="Hint data-v-bccbad10">请选择国家</view></view><view class="Gender data-v-bccbad10"><view class="Gendercs data-v-bccbad10"><view class="Gendercss data-v-bccbad10"><wht-select wx:if="{{m}}" class="data-v-bccbad10" style="width:300rpx" bindchange="{{l}}" u-i="bccbad10-1" bind:__l="__l" u-p="{{m}}"/></view><view class="Gendericoncss data-v-bccbad10"><image wx:if="{{n}}" class="Gendericon data-v-bccbad10" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-bccbad10" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{p}}" class="Gendericon data-v-bccbad10" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{q}}" class="Hintcss data-v-bccbad10">请选择性别</view></view></view><view class="goldCoin data-v-bccbad10"><view class="number-box data-v-bccbad10"><view class="number-box-title data-v-bccbad10">金币数量:</view><uni-number-box wx:if="{{s}}" class="data-v-bccbad10" u-i="bccbad10-2" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"></uni-number-box><view class="number-box-title data-v-bccbad10">单位:</view><view class="number-box-unit data-v-bccbad10">K</view></view><view wx:if="{{t}}" class="Hint data-v-bccbad10">请填写金币数量</view></view><view class="time data-v-bccbad10"><uni-datetime-picker wx:if="{{w}}" class="data-v-bccbad10" u-i="bccbad10-3" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"/><view wx:if="{{x}}" class="Hint data-v-bccbad10">请选择日期</view></view><view class="goldCoin data-v-bccbad10"><view class="number-box data-v-bccbad10"><view class="number-box-title data-v-bccbad10">选择场数:</view><uni-number-box wx:if="{{z}}" class="data-v-bccbad10" u-i="bccbad10-4" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-number-box><view class="number-box-title data-v-bccbad10">次</view></view><view wx:if="{{A}}" class="Hint data-v-bccbad10">请填写场数</view></view><view class="Remarkscss data-v-bccbad10"><uni-easyinput wx:if="{{C}}" class="data-v-bccbad10" u-i="bccbad10-5" bind:__l="__l" bindupdateModelValue="{{B}}" u-p="{{C}}"></uni-easyinput></view><view class="Publish data-v-bccbad10"><button bindtap="{{D}}" class="Publishcss data-v-bccbad10">发布</button></view></view></view></view><uni-popup wx:if="{{N}}" class="r data-v-bccbad10" u-s="{{['d']}}" u-r="popup" u-i="bccbad10-6" bind:__l="__l" u-p="{{N}}"><view class="popup-container data-v-bccbad10"><view class="popup-title data-v-bccbad10">点击选择我的主播</view><scroll-view wx:if="{{H}}" show-scrollbar="false" scroll-y="true" class="scroll data-v-bccbad10"><view wx:for="{{I}}" wx:for-item="item" wx:key="f" class="card data-v-bccbad10"><view class="card-content data-v-bccbad10" bindtap="{{item.d}}" style="{{'background:' + item.e}}"><view class="Avatarimg data-v-bccbad10"><image class="avatar data-v-bccbad10" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-bccbad10"><view class="TimeMoney data-v-bccbad10"><view class="NameMoney_Name data-v-bccbad10">{{item.b}}</view></view><view class="TimeMoney data-v-bccbad10"><view class="TimeMoney_country data-v-bccbad10">{{item.c}}</view></view></view></view></view></scroll-view><view wx:if="{{J}}" class="no-data data-v-bccbad10"><view class="no-data-text data-v-bccbad10">暂无数据</view></view><view class="popup-btn data-v-bccbad10"><button class="invite data-v-bccbad10" type="primary" bindtap="{{K}}">确认</button><button class="cancel data-v-bccbad10" type="default" bindtap="{{L}}">取消</button></view></view></uni-popup>
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
<view wx:if="{{a}}" class="{{['data-v-bf183167', E, 'Mask']}}" bindtap="{{F}}"><view catchtap="{{D}}" class="containers data-v-bf183167"><view class="container data-v-bf183167"><image class="Fork data-v-bf183167" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-bf183167"><view class="Star data-v-bf183167"></view><view class="Title data-v-bf183167"></view><view class="Star data-v-bf183167"></view></view><view class="AnchorSelection data-v-bf183167"><view class="NameAnchor data-v-bf183167"><input class="NameAnchorcss data-v-bf183167" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-bf183167">请检查主播名称是否正确</view></view><view class="AnchorSelectioncss data-v-bf183167" bindtap="{{g}}">选择我的主播</view></view><view class="Accountnumber data-v-bf183167"><view class="Coins country data-v-bf183167"><wht-select wx:if="{{i}}" class="data-v-bf183167" style="width:350rpx" bindchange="{{h}}" u-i="bf183167-0" bind:__l="__l" u-p="{{i}}"/><view wx:if="{{j}}" class="Hint data-v-bf183167">请选择国家</view></view><view class="Gender data-v-bf183167"><view class="Gendercs data-v-bf183167"><view class="Gendercss data-v-bf183167"><wht-select wx:if="{{l}}" class="data-v-bf183167" style="width:300rpx" bindchange="{{k}}" u-i="bf183167-1" bind:__l="__l" u-p="{{l}}"/></view><view class="Gendericoncss data-v-bf183167"><image wx:if="{{m}}" class="Gendericon data-v-bf183167" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-bf183167" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-bf183167" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{p}}" class="Hintcss data-v-bf183167">请选择性别</view></view></view><view class="goldCoin data-v-bf183167"><view class="number-box data-v-bf183167"><view class="number-box-title data-v-bf183167">金币数量:</view><uni-number-box wx:if="{{r}}" class="data-v-bf183167" u-i="bf183167-2" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"></uni-number-box><view class="number-box-title data-v-bf183167">单位:</view><view class="number-box-unit data-v-bf183167">K</view></view><view wx:if="{{s}}" class="Hint data-v-bf183167">请填写金币数量</view></view><view class="time data-v-bf183167"><uni-datetime-picker wx:if="{{v}}" class="data-v-bf183167" u-i="bf183167-3" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"/><view wx:if="{{w}}" class="Hint data-v-bf183167">请选择日期</view></view><view class="goldCoin data-v-bf183167"><view class="number-box data-v-bf183167"><view class="number-box-title data-v-bf183167">选择场数:</view><uni-number-box wx:if="{{y}}" class="data-v-bf183167" u-i="bf183167-4" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"></uni-number-box><view class="number-box-title data-v-bf183167">次</view></view><view wx:if="{{z}}" class="Hint data-v-bf183167">请填写场数</view></view><view class="Remarkscss data-v-bf183167"><uni-easyinput wx:if="{{B}}" class="data-v-bf183167" u-i="bf183167-5" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"></uni-easyinput></view><view class="Publish data-v-bf183167"><button bindtap="{{C}}" class="Publishcss data-v-bf183167">发布</button></view></view></view></view><uni-popup wx:if="{{M}}" class="r data-v-bf183167" u-s="{{['d']}}" u-r="popup" u-i="bf183167-6" bind:__l="__l" u-p="{{M}}"><view class="popup-container data-v-bf183167"><view class="popup-title data-v-bf183167">点击选择我的主播</view><scroll-view wx:if="{{G}}" show-scrollbar="false" scroll-y="true" class="scroll data-v-bf183167"><view wx:for="{{H}}" wx:for-item="item" wx:key="f" class="card data-v-bf183167"><view class="card-content data-v-bf183167" bindtap="{{item.d}}" style="{{'background:' + item.e}}"><view class="Avatarimg data-v-bf183167"><image class="avatar data-v-bf183167" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-bf183167"><view class="TimeMoney data-v-bf183167"><view class="NameMoney_Name data-v-bf183167">{{item.b}}</view></view><view class="TimeMoney data-v-bf183167"><view class="TimeMoney_country data-v-bf183167">{{item.c}}</view></view></view></view></view></scroll-view><view wx:if="{{I}}" class="no-data data-v-bf183167"><view class="no-data-text data-v-bf183167">暂无数据</view></view><view class="popup-btn data-v-bf183167"><button class="invite data-v-bf183167" type="primary" bindtap="{{J}}">确认</button><button class="cancel data-v-bf183167" type="default" bindtap="{{K}}">取消</button></view></view></uni-popup>
|
||||
<view wx:if="{{a}}" class="{{['data-v-b18925b5', E, 'Mask']}}" bindtap="{{F}}"><view catchtap="{{D}}" class="containers data-v-b18925b5"><view class="container data-v-b18925b5"><image class="Fork data-v-b18925b5" bindtap="{{b}}" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fork.png" mode="scaleToFill"/><view class="Titlecss data-v-b18925b5"><view class="Star data-v-b18925b5"></view><view class="Title data-v-b18925b5"></view><view class="Star data-v-b18925b5"></view></view><view class="AnchorSelection data-v-b18925b5"><view class="NameAnchor data-v-b18925b5"><input class="NameAnchorcss data-v-b18925b5" cursor-color="#666666" placeholder-style="color:#666666" bindinput="{{c}}" placeholder="主播名称" bindblur="{{d}}" value="{{e}}"/><view wx:if="{{f}}" class="Hint data-v-b18925b5">请检查主播名称是否正确</view></view><view class="AnchorSelectioncss data-v-b18925b5" bindtap="{{g}}">选择我的主播</view></view><view class="Accountnumber data-v-b18925b5"><view class="Coins country data-v-b18925b5"><wht-select wx:if="{{i}}" class="data-v-b18925b5" style="width:350rpx" bindchange="{{h}}" u-i="b18925b5-0" bind:__l="__l" u-p="{{i}}"/><view wx:if="{{j}}" class="Hint data-v-b18925b5">请选择国家</view></view><view class="Gender data-v-b18925b5"><view class="Gendercs data-v-b18925b5"><view class="Gendercss data-v-b18925b5"><wht-select wx:if="{{l}}" class="data-v-b18925b5" style="width:300rpx" bindchange="{{k}}" u-i="b18925b5-1" bind:__l="__l" u-p="{{l}}"/></view><view class="Gendericoncss data-v-b18925b5"><image wx:if="{{m}}" class="Gendericon data-v-b18925b5" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/ask.png" mode="scaleToFill"/><image wx:if="{{n}}" class="Gendericon data-v-b18925b5" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/man.png" mode="scaleToFill"/><image wx:if="{{o}}" class="Gendericon data-v-b18925b5" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/girl.png" mode="scaleToFill"/></view></view><view wx:if="{{p}}" class="Hintcss data-v-b18925b5">请选择性别</view></view></view><view class="goldCoin data-v-b18925b5"><view class="number-box data-v-b18925b5"><view class="number-box-title data-v-b18925b5">金币数量:</view><uni-number-box wx:if="{{r}}" class="data-v-b18925b5" u-i="b18925b5-2" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"></uni-number-box><view class="number-box-title data-v-b18925b5">单位:</view><view class="number-box-unit data-v-b18925b5">K</view></view><view wx:if="{{s}}" class="Hint data-v-b18925b5">请填写金币数量</view></view><view class="time data-v-b18925b5"><uni-datetime-picker wx:if="{{v}}" class="data-v-b18925b5" u-i="b18925b5-3" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"/><view wx:if="{{w}}" class="Hint data-v-b18925b5">请选择日期</view></view><view class="goldCoin data-v-b18925b5"><view class="number-box data-v-b18925b5"><view class="number-box-title data-v-b18925b5">选择场数:</view><uni-number-box wx:if="{{y}}" class="data-v-b18925b5" u-i="b18925b5-4" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"></uni-number-box><view class="number-box-title data-v-b18925b5">次</view></view><view wx:if="{{z}}" class="Hint data-v-b18925b5">请填写场数</view></view><view class="Remarkscss data-v-b18925b5"><uni-easyinput wx:if="{{B}}" class="data-v-b18925b5" u-i="b18925b5-5" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"></uni-easyinput></view><view class="Publish data-v-b18925b5"><button bindtap="{{C}}" class="Publishcss data-v-b18925b5">发布</button></view></view></view></view><uni-popup wx:if="{{M}}" class="r data-v-b18925b5" u-s="{{['d']}}" u-r="popup" u-i="b18925b5-6" bind:__l="__l" u-p="{{M}}"><view class="popup-container data-v-b18925b5"><view class="popup-title data-v-b18925b5">点击选择我的主播</view><scroll-view wx:if="{{G}}" show-scrollbar="false" scroll-y="true" class="scroll data-v-b18925b5"><view wx:for="{{H}}" wx:for-item="item" wx:key="f" class="card data-v-b18925b5"><view class="card-content data-v-b18925b5" bindtap="{{item.d}}" style="{{'background:' + item.e}}"><view class="Avatarimg data-v-b18925b5"><image class="avatar data-v-b18925b5" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-b18925b5"><view class="TimeMoney data-v-b18925b5"><view class="NameMoney_Name data-v-b18925b5">{{item.b}}</view></view><view class="TimeMoney data-v-b18925b5"><view class="TimeMoney_country data-v-b18925b5">{{item.c}}</view></view></view></view></view></scroll-view><view wx:if="{{I}}" class="no-data data-v-b18925b5"><view class="no-data-text data-v-b18925b5">暂无数据</view></view><view class="popup-btn data-v-b18925b5"><button class="invite data-v-b18925b5" type="primary" bindtap="{{J}}">确认</button><button class="cancel data-v-b18925b5" type="default" bindtap="{{K}}">取消</button></view></view></uni-popup>
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
"use strict";const t=require("../../common/vendor.js"),e=require("../../components/request.js"),a=require("../../components/formatDate.js"),o={data:()=>({customData:{},SenderData:{},ReceiverData:{},PkIDInfodata:{},id:""}),onLoad(e){t.index.getStorage({key:"userinfo",success:t=>{this.id=t.data.id}}),this.customData=JSON.parse(e.customData),this.getPkyourInfo(),this.getPkmineInfo(),this.getPkIDInfo()},methods:{async getPkIDInfo(){await e.request({url:"pk/singleRecord",method:"POST",data:{id:this.customData.id},userInfo:!0}).then((t=>{this.PkIDInfodata=t.data}))},async getPkyourInfo(){await e.request({url:"pk/pkInfoDetail",method:"POST",data:{id:this.customData.pkIdA},userInfo:!0}).then((t=>{this.SenderData=t.data}))},async getPkmineInfo(){await e.request({url:"pk/pkInfoDetail",method:"POST",data:{id:this.customData.pkIdB},userInfo:!0}).then((t=>{this.ReceiverData=t.data}))},goBack(){t.wx$1.navigateBack({delta:1})},formatDate:a.formatDate,async operation(a){await e.request({url:"pk/updatePkStatus",method:"POST",data:{id:this.customData.id,pkStatus:a},userInfo:!0}).then((e=>{const o=1===a?"接受邀请成功":"拒绝邀请成功";200===e.code?(this.getPkIDInfo(),t.wx$1.showToast({title:o,icon:"success",duration:2e3}),t.wx$1.navigateBack({delta:1})):t.wx$1.showToast({title:"操作失败",icon:"none",duration:2e3})}))}}};const n=t._export_sfc(o,[["render",function(e,a,o,n,r,s){return t.e({a:t.o$1(((...t)=>s.goBack&&s.goBack(...t))),b:r.SenderData.anchorIcon,c:t.t(r.SenderData.anchorId),d:"1"===r.SenderData.sex},"1"===r.SenderData.sex?{e:t.t(1==r.SenderData.sex?"男":"女")}:{f:t.t(1==r.SenderData.sex?"男":"女")},{g:t.t(r.SenderData.country),h:t.t(s.formatDate(r.SenderData.pkTime)),i:t.t(r.SenderData.coin),j:t.t(r.SenderData.pkNumber),k:r.ReceiverData.anchorIcon,l:t.t(r.ReceiverData.anchorId),m:"1"===r.ReceiverData.sex},"1"===r.ReceiverData.sex?{n:t.t(1==r.ReceiverData.sex?"男":"女")}:{o:t.t(1==r.ReceiverData.sex?"男":"女")},{p:t.t(r.ReceiverData.country),q:t.t(s.formatDate(r.ReceiverData.pkTime)),r:t.t(r.ReceiverData.coin),s:t.t(r.ReceiverData.pkNumber),t:0===r.PkIDInfodata.pkStatus&&r.ReceiverData.senderId!==r.id},0===r.PkIDInfodata.pkStatus&&r.ReceiverData.senderId!==r.id?{v:t.o$1((t=>s.operation(1))),w:t.o$1((t=>s.operation(2)))}:{},{x:r.ReceiverData.senderId===r.id&&0===r.PkIDInfodata.pkStatus},(r.ReceiverData.senderId===r.id&&r.PkIDInfodata.pkStatus,{}),{y:1===r.PkIDInfodata.pkStatus},(r.PkIDInfodata.pkStatus,{}),{z:2===r.PkIDInfodata.pkStatus},(r.PkIDInfodata.pkStatus,{}))}],["__scopeId","data-v-e6394bdd"]]);wx.createPage(n);
|
||||
"use strict";const e=require("../../common/vendor.js"),t=require("../../components/request.js"),a=require("../../components/formatDate.js"),o={data:()=>({customData:{},SenderData:{},ReceiverData:{},PkIDInfodata:{},id:""}),onLoad(t){e.index.getStorage({key:"userinfo",success:e=>{this.id=e.data.id}}),this.customData=JSON.parse(t.customData),console.log("customData",this.customData),this.getPkyourInfo(),this.getPkmineInfo(),this.getPkIDInfo()},methods:{async getPkIDInfo(){await t.request({url:"pk/singleRecord",method:"POST",data:{id:this.customData.id},userInfo:!0}).then((e=>{this.PkIDInfodata=e.data}))},async getPkyourInfo(){await t.request({url:"pk/pkInfoDetail",method:"POST",data:{id:this.customData.pkIdA},userInfo:!0}).then((e=>{console.log(e.data),this.SenderData=e.data}))},async getPkmineInfo(){await t.request({url:"pk/pkInfoDetail",method:"POST",data:{id:this.customData.pkIdB},userInfo:!0}).then((e=>{console.log(e.data),this.ReceiverData=e.data}))},goBack(){e.wx$1.navigateBack({delta:1})},formatDate:a.formatDate,AcceptHint(){this.$refs.popups.open("center")},closeHint(){this.$refs.popups.close()},RefuseHint(){this.$refs.Refusepopup.open("center")},RefuseHintcloseHint(){this.$refs.Refusepopup.close()},async operation(a){await t.request({url:"pk/updatePkStatus",method:"POST",data:{id:this.customData.id,pkStatus:a},userInfo:!0}).then((t=>{const o=1===a?"接受邀请成功":"拒绝邀请成功";200===t.code?(this.getPkIDInfo(),this.$refs.popups.close(),this.$refs.Refusepopup.close(),e.wx$1.showToast({title:o,icon:"success",duration:2e3}),e.wx$1.navigateBack({delta:1})):e.wx$1.showToast({title:"操作失败",icon:"none",duration:2e3})}))}}};if(!Array){e.resolveComponent("uni-popup")()}Math;const s=e._export_sfc(o,[["render",function(t,a,o,s,n,r){return e.e({a:e.o$1(((...e)=>r.goBack&&r.goBack(...e))),b:n.SenderData.anchorIcon,c:e.t(n.SenderData.anchorId),d:"1"===n.SenderData.sex},"1"===n.SenderData.sex?{e:e.t(1==n.SenderData.sex?"男":"女")}:{f:e.t(1==n.SenderData.sex?"男":"女")},{g:e.t(n.SenderData.country),h:e.t(r.formatDate(n.SenderData.pkTime)),i:e.t(n.SenderData.coin),j:e.t(n.SenderData.pkNumber),k:n.ReceiverData.anchorIcon,l:e.t(n.ReceiverData.anchorId),m:"1"===n.ReceiverData.sex},"1"===n.ReceiverData.sex?{n:e.t(1==n.ReceiverData.sex?"男":"女")}:{o:e.t(1==n.ReceiverData.sex?"男":"女")},{p:e.t(n.ReceiverData.country),q:e.t(r.formatDate(n.ReceiverData.pkTime)),r:e.t(n.ReceiverData.coin),s:e.t(n.ReceiverData.pkNumber),t:0===n.PkIDInfodata.pkStatus&&n.ReceiverData.senderId!==n.id},0===n.PkIDInfodata.pkStatus&&n.ReceiverData.senderId!==n.id?{v:e.o$1((e=>r.AcceptHint())),w:e.o$1((e=>r.RefuseHint()))}:{},{x:n.ReceiverData.senderId===n.id&&0===n.PkIDInfodata.pkStatus},(n.ReceiverData.senderId===n.id&&n.PkIDInfodata.pkStatus,{}),{y:1===n.PkIDInfodata.pkStatus},(n.PkIDInfodata.pkStatus,{}),{z:2===n.PkIDInfodata.pkStatus},(n.PkIDInfodata.pkStatus,{}),{A:e.o$1((e=>r.operation(1))),B:e.o$1((e=>r.closeHint())),C:e.sr("popups","3a46aca8-0"),D:e.p({type:"center","border-radius":"10px 10px 0 0"}),E:e.o$1((e=>r.operation(2))),F:e.o$1((e=>r.RefuseHintcloseHint())),G:e.sr("Refusepopup","3a46aca8-1"),H:e.p({type:"center","border-radius":"10px 10px 0 0"})})}],["__scopeId","data-v-3a46aca8"]]);wx.createPage(s);
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "PK信息处理",
|
||||
"usingComponents": {}
|
||||
"usingComponents": {
|
||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
.background.data-v-e6394bdd{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.Navigation.data-v-e6394bdd{position:fixed;top:0;left:0;right:0;height:200rpx;display:flex;align-items:center;padding:0 60rpx;z-index:1}.Return.data-v-e6394bdd{width:60rpx;height:60rpx;margin-top:20rpx}.Content.data-v-e6394bdd{position:absolute;top:200rpx;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center}.sender.data-v-e6394bdd{width:100%;display:flex;flex-direction:column;align-items:center;margin-top:80rpx}.sengderIcon.data-v-e6394bdd{width:150rpx;height:150rpx;border-radius:50%;background-color:#fff;display:flex;justify-content:center;align-items:center}.Icon.data-v-e6394bdd{width:100%;height:100%;border-radius:50%}.Individual.data-v-e6394bdd{display:flex;justify-content:center;align-items:center;margin-top:34.35rpx}.name.data-v-e6394bdd{font-size:30.53rpx;color:#161616;margin-right:16.22rpx}.nation.data-v-e6394bdd{width:56.3rpx;height:29.58rpx;font-size:17.18rpx;color:#666;text-align:center;line-height:29.58rpx;background-color:#fff;border-radius:50rpx;padding:6rpx 12rpx;display:flex;justify-content:center;align-items:center}.male.data-v-e6394bdd{width:56.3rpx;height:29.58rpx;background-color:#5bced1;border-radius:50rpx;display:flex;justify-content:center;align-items:center;padding:6rpx 12rpx;margin-right:12rpx}.female.data-v-e6394bdd{width:56.3rpx;height:29.58rpx;background-color:#f3876f;border-radius:50rpx;display:flex;justify-content:center;align-items:center;padding:6rpx 12rpx;margin-right:12rpx}.age.data-v-e6394bdd{font-size:17.18rpx;color:#fff;margin-left:4rpx}.Time.data-v-e6394bdd{color:#666;font-size:26.72rpx;margin-top:48.7rpx}.goldCoin.data-v-e6394bdd{background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Backgroundofgoldcoins.png);width:334.83rpx;height:124.05rpx;margin-right:21rpx;display:flex;align-items:center}.Session.data-v-e6394bdd{background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fieldnumberbackground.png);width:334.83rpx;height:124.05rpx;display:flex;align-items:center}.SessionAndGoldCoin.data-v-e6394bdd{align-items:center;margin-top:60rpx;display:flex;justify-content:center}.goldtext.data-v-e6394bdd{font-size:28.63rpx;color:#929292}.goldnumber.data-v-e6394bdd{font-size:34.35rpx;color:#161616;font-weight:700}.goldcard.data-v-e6394bdd{display:flex;flex-direction:column;align-items:center}.button.data-v-e6394bdd{display:flex;justify-content:center;align-items:center;margin-top:150rpx}.buttontext.data-v-e6394bdd{font-size:40rpx;color:#666;font-weight:700}.accept.data-v-e6394bdd{width:325.38rpx;height:77.29rpx;margin-right:35.5rpx;border-radius:50rpx;background-color:#fff;border:1rpx solid #03aba8;color:#03aba8;font-size:28.63rpx;line-height:77.29rpx}.reject.data-v-e6394bdd{width:325.38rpx;height:77.29rpx;border-radius:50rpx;background-color:#03aba8;border:1rpx solid #03aba8;color:#fff;font-size:28.63rpx;line-height:77.29rpx}
|
||||
.background.data-v-3a46aca8{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.Navigation.data-v-3a46aca8{position:fixed;top:0;left:0;right:0;height:200rpx;display:flex;align-items:center;padding:0 60rpx;z-index:1}.Return.data-v-3a46aca8{width:60rpx;height:60rpx;margin-top:20rpx}.Content.data-v-3a46aca8{position:absolute;top:200rpx;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center}.sender.data-v-3a46aca8{width:100%;display:flex;flex-direction:column;align-items:center;margin-top:80rpx}.sengderIcon.data-v-3a46aca8{width:150rpx;height:150rpx;border-radius:50%;background-color:#fff;display:flex;justify-content:center;align-items:center}.Icon.data-v-3a46aca8{width:100%;height:100%;border-radius:50%}.Individual.data-v-3a46aca8{display:flex;justify-content:center;align-items:center;margin-top:34.35rpx}.name.data-v-3a46aca8{font-size:30.53rpx;color:#161616;margin-right:16.22rpx}.nation.data-v-3a46aca8{width:56.3rpx;height:29.58rpx;font-size:17.18rpx;color:#666;text-align:center;line-height:29.58rpx;background-color:#fff;border-radius:50rpx;padding:6rpx 12rpx;display:flex;justify-content:center;align-items:center}.male.data-v-3a46aca8{width:56.3rpx;height:29.58rpx;background-color:#5bced1;border-radius:50rpx;display:flex;justify-content:center;align-items:center;padding:6rpx 12rpx;margin-right:12rpx}.female.data-v-3a46aca8{width:56.3rpx;height:29.58rpx;background-color:#f3876f;border-radius:50rpx;display:flex;justify-content:center;align-items:center;padding:6rpx 12rpx;margin-right:12rpx}.age.data-v-3a46aca8{font-size:17.18rpx;color:#fff;margin-left:4rpx}.Time.data-v-3a46aca8{color:#666;font-size:26.72rpx;margin-top:48.7rpx}.goldCoin.data-v-3a46aca8{background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Backgroundofgoldcoins.png);width:334.83rpx;height:124.05rpx;margin-right:21rpx;display:flex;align-items:center}.Session.data-v-3a46aca8{background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Fieldnumberbackground.png);width:334.83rpx;height:124.05rpx;display:flex;align-items:center}.SessionAndGoldCoin.data-v-3a46aca8{align-items:center;margin-top:60rpx;display:flex;justify-content:center}.goldtext.data-v-3a46aca8{font-size:28.63rpx;color:#929292}.goldnumber.data-v-3a46aca8{font-size:34.35rpx;color:#161616;font-weight:700}.goldcard.data-v-3a46aca8{display:flex;flex-direction:column;align-items:center}.button.data-v-3a46aca8{display:flex;justify-content:center;align-items:center;margin-top:150rpx}.buttontext.data-v-3a46aca8{font-size:40rpx;color:#666;font-weight:700}.accept.data-v-3a46aca8{width:325.38rpx;height:77.29rpx;margin-right:35.5rpx;border-radius:50rpx;background-color:#fff;border:1rpx solid #03aba8;color:#03aba8;font-size:28.63rpx;line-height:77.29rpx}.reject.data-v-3a46aca8{width:325.38rpx;height:77.29rpx;border-radius:50rpx;background-color:#03aba8;border:1rpx solid #03aba8;color:#fff;font-size:28.63rpx;line-height:77.29rpx}.popup-Hintcontent.data-v-3a46aca8{width:600rpx;height:500rpx;background-repeat:no-repeat;border-radius:10px;display:flex;flex-direction:column;justify-content:center;align-items:center;background-image:url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);background-position:center}.popup-text.data-v-3a46aca8{color:#161616;font-size:36.26rpx;font-weight:700;margin-bottom:30rpx}.popup-texts.data-v-3a46aca8{margin:70rpx 50rpx;color:#7e7e7e;font-size:26rpx}.popup-btn.data-v-3a46aca8{display:flex;justify-content:space-around;margin-top:50rpx}.invite.data-v-3a46aca8{width:225.19rpx;height:78.24rpx;font-size:28.63rpx;line-height:80rpx;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-3a46aca8{width:225.19rpx;height:78.24rpx;font-size:28.63rpx;line-height:80rpx;margin-left:30rpx;color:#03aba8;border-top-left-radius:50rpx;border-bottom-left-radius:50rpx;border-bottom-right-radius:50rpx;border:1rpx solid #03aba8}
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),t=require("../../components/formatDate.js"),i=require("../../components/TimeFormatting.js"),n=require("../../components/request.js"),o={data:()=>({item:{},id:0,InvitingPartyEventID:null,list:[],selectedId:null,InvitingPartyEventindex:null,chatInfo:{},currentConversation:null,style:{backgroundColor:"#ffffff"}}),onLoad(t){this.getOpenerEventChannel().on("itemDetail",(e=>{this.item=e.item})),e.index.getStorage({key:"userinfo",success:e=>{this.id=e.data.id}}),e.index.getStorage({key:"chatInfo",success:e=>{this.chatInfo=e.data}})},methods:{formatDate:t.formatDate,TimeFormatting:i.TimeFormatting,Select(e,t){this.selectedId===e?(this.selectedId=null,this.InvitingPartyEventID=null,this.InvitingPartyEventindex=null):(this.selectedId=this.selectedId===e?null:e,this.InvitingPartyEventID=e,this.InvitingPartyEventindex=t)},Returnfunc(){e.index.navigateBack({delta:1})},open(){this.$refs.popup.open("center"),this.userlist()},invite(){if(this.item.pkTime!==this.list[this.InvitingPartyEventindex].pkTime)return void e.index.showToast({icon:"none",title:"请保持时间一致"});const t=`C2C${this.item.senderId}`,i=JSON.stringify(this.list[this.InvitingPartyEventindex]),n=JSON.stringify(this.item);e.index.redirectTo({url:`/TUIKit/components/TUIChat/index?conversationID=${t}&myitem=${i}&youritem=${n}`})},close(){this.$refs.popup.close()},openChat(){const t=`C2C${this.item.senderId}`;e.index.redirectTo({url:`/TUIKit/components/TUIChat/index?conversationID=${t}`})},async userlist(){e.index.showLoading({title:"加载中...",mask:!0});const t=await n.request({url:"pk/queryMyCanUsePkData",method:"POST",data:{userId:this.id},userInfo:!0});200===t.code?0!==t.data.length?(e.index.hideLoading(),this.list=t.data):(e.index.hideLoading(),setTimeout((()=>{this.openPopupQuantity(),this.$refs.popup.close()}),2e3)):(e.index.hideLoading(),e.index.showToast({title:"加载失败",icon:"none",duration:2e3}))},openPopupQuantity(){this.$refs.createModule.open()}},components:{NewAddedPk:()=>"../NewAddedPk/NewAddedPk2.js"}};if(!Array){(e.resolveComponent("uni-easyinput")+e.resolveComponent("uni-popup")+e.resolveComponent("NewAddedPk"))()}Math||((()=>"../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const s=e._export_sfc(o,[["render",function(t,i,n,o,s,d){return e.e({a:e.o$1(((...e)=>d.Returnfunc&&d.Returnfunc(...e))),b:s.item.anchorIcon,c:e.t(s.item.disPlayId),d:"1"===s.item.sex},(s.item.sex,{}),{e:e.t(s.item.country),f:e.t(d.formatDate(s.item.pkTime)),g:e.t(s.item.coin),h:e.t(s.item.pkNumber),i:e.s(s.style),j:e.o$1((e=>s.item.remark=e)),k:e.p({type:"textarea",placeholder:"备注",maxlength:"-1",disabled:"true",modelValue:s.item.remark}),l:s.item.senderId!==s.id},s.item.senderId!==s.id?{m:e.o$1((e=>d.openChat())),n:e.o$1((e=>d.open()))}:{},{o:0!==s.list.length},0!==s.list.length?{p:e.f(s.list,((t,i,n)=>({a:t.anchorIcon,b:e.t(t.anchorId),c:e.t(d.TimeFormatting(t.pkTime)),d:e.t(t.coin),e:e.o$1((e=>d.Select(t.id,i)),i),f:s.selectedId===t.id?"#b8ff8c74":"#ffffff",g:i})))}:{},{q:0===s.list.length},(s.list.length,{}),{r:e.o$1((e=>d.invite())),s:e.o$1((e=>d.close())),t:e.sr("popup","cae51916-1"),v:e.p({type:"center","border-radius":"10px 10px 0 0"}),w:e.sr("createModule","cae51916-2")})}],["__scopeId","data-v-cae51916"]]);wx.createPage(s);
|
||||
"use strict";const e=require("../../common/vendor.js"),t=require("../../components/formatDate.js"),n=require("../../components/TimeFormatting.js"),i=require("../../components/request.js"),o={data:()=>({item:{},id:0,InvitingPartyEventID:null,list:[],selectedId:null,InvitingPartyEventindex:null,chatInfo:{},currentConversation:null,style:{backgroundColor:"#ffffff"}}),onLoad(t){this.getOpenerEventChannel().on("itemDetail",(e=>{this.item=e.item})),e.index.getStorage({key:"userinfo",success:e=>{this.id=e.data.id}}),e.index.getStorage({key:"chatInfo",success:e=>{this.chatInfo=e.data}})},methods:{formatDate:t.formatDate,TimeFormatting:n.TimeFormatting,Select(e,t){this.selectedId===e?(this.selectedId=null,this.InvitingPartyEventID=null,this.InvitingPartyEventindex=null):(this.selectedId=this.selectedId===e?null:e,this.InvitingPartyEventID=e,this.InvitingPartyEventindex=t)},Returnfunc(){e.index.navigateBack({delta:1})},open(){this.$refs.popup.open("center"),this.userlist()},invite(){null!==this.InvitingPartyEventindex?this.$refs.popups.open("center"):e.index.showToast({title:"请选择您要参与的PK信息",icon:"none",duration:2e3})},closeHint(){this.$refs.popups.close()},inviteHint(){this.$refs.popups.close();const t=`C2C${this.item.senderId}`,n=JSON.stringify(this.list[this.InvitingPartyEventindex]),i=JSON.stringify(this.item);e.index.redirectTo({url:`/TUIKit/components/TUIChat/index?conversationID=${t}&myitem=${n}&youritem=${i}`})},close(){this.$refs.popup.close()},openChat(){const t=`C2C${this.item.senderId}`;e.index.navigateTo({url:`/TUIKit/components/TUIChat/index?conversationID=${t}`})},async userlist(){e.index.showLoading({title:"加载中...",mask:!0});const t=await i.request({url:"pk/queryMyCanUsePkData",method:"POST",data:{userId:this.id},userInfo:!0});200===t.code?0!==t.data.length?(e.index.hideLoading(),this.list=t.data):(e.index.hideLoading(),setTimeout((()=>{this.openPopupQuantity(),this.$refs.popup.close()}),2e3)):(e.index.hideLoading(),e.index.showToast({title:"加载失败",icon:"none",duration:2e3}))},openPopupQuantity(){this.$refs.createModule.open()}},components:{NewAddedPk:()=>"../NewAddedPk/NewAddedPk2.js"}};if(!Array){(e.resolveComponent("uni-easyinput")+e.resolveComponent("uni-popup")+e.resolveComponent("NewAddedPk"))()}Math||((()=>"../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const s=e._export_sfc(o,[["render",function(t,n,i,o,s,r){return e.e({a:e.o$1(((...e)=>r.Returnfunc&&r.Returnfunc(...e))),b:s.item.anchorIcon,c:e.t(s.item.disPlayId),d:"1"===s.item.sex},(s.item.sex,{}),{e:e.t(s.item.country),f:e.t(r.formatDate(s.item.pkTime)),g:e.t(s.item.coin),h:e.t(s.item.pkNumber),i:e.s(s.style),j:e.o$1((e=>s.item.remark=e)),k:e.p({type:"textarea",placeholder:"备注",maxlength:"-1",disabled:"true",modelValue:s.item.remark}),l:s.item.senderId!==s.id},s.item.senderId!==s.id?{m:e.o$1((e=>r.openChat())),n:e.o$1((e=>r.open()))}:{},{o:0!==s.list.length},0!==s.list.length?{p:e.f(s.list,((t,n,i)=>({a:t.anchorIcon,b:e.t(t.anchorId),c:e.t(r.TimeFormatting(t.pkTime)),d:e.t(t.coin),e:e.o$1((e=>r.Select(t.id,n)),n),f:s.selectedId===t.id?"#b8ff8c74":"#ffffff",g:n})))}:{},{q:0===s.list.length},(s.list.length,{}),{r:e.o$1((e=>r.invite())),s:e.o$1((e=>r.close())),t:e.sr("popup","6fe409f2-1"),v:e.p({type:"center","border-radius":"10px 10px 0 0"}),w:e.sr("createModule","6fe409f2-2"),x:e.o$1((e=>r.inviteHint())),y:e.o$1((e=>r.closeHint())),z:e.sr("popups","6fe409f2-3"),A:e.p({type:"center","border-radius":"10px 10px 0 0"})})}],["__scopeId","data-v-6fe409f2"]]);wx.createPage(s);
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"setting": {
|
||||
"urlCheck": false
|
||||
"urlCheck": true
|
||||
}
|
||||
}
|
||||
2
unpackage/dist/build/mp-weixin/recompose.js
vendored
2
unpackage/dist/build/mp-weixin/recompose.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"adapter-vue.js","sources":["TUIKit/adapter-vue.ts"],"sourcesContent":["let vueVersion: number;\nlet framework = 'vue2';\n// #ifndef VUE3\nexport * from '@vue/composition-api';\nvueVersion = 2;\n// #endif\n\n// #ifdef VUE3\nexport * from 'vue';\nvueVersion = 3;\nframework = 'vue3';\n// #endif\nconsole.warn(`[adapter-vue]: vue version is ${vueVersion}`);\nexport { vueVersion, framework };\n"],"names":["uni"],"mappings":";;AAAA,IAAI;AASJ,aAAa;AAGbA,cAAAA,MAAa,MAAA,QAAA,+BAAA,iCAAiC,UAAU,EAAE;"}
|
||||
{"version":3,"file":"adapter-vue.js","sources":["TUIKit/adapter-vue.ts"],"sourcesContent":["let vueVersion: number;\r\nlet framework = 'vue2';\r\n// #ifndef VUE3\r\nexport * from '@vue/composition-api';\r\nvueVersion = 2;\r\n// #endif\r\n\r\n// #ifdef VUE3\r\nexport * from 'vue';\r\nvueVersion = 3;\r\nframework = 'vue3';\r\n// #endif\r\nconsole.warn(`[adapter-vue]: vue version is ${vueVersion}`);\r\nexport { vueVersion, framework };\r\n"],"names":["uni"],"mappings":";;AAAA,IAAI;AASJ,aAAa;AAGbA,cAAAA,MAAa,MAAA,QAAA,+BAAA,iCAAiC,UAAU,EAAE;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","sources":["TUIKit/components/TUIChat/chat-header/index.vue","/Users/plw/Documents/outsource/tk-mini-program/TUIKit/components/TUIChat/chat-header/index.vue?type=component"],"sourcesContent":["<template>\n <div class=\"Navigation\">\n <div class=\"Navigationcontent\">\n <image\n @click=\"Returnfunc\"\n style=\"width: 46rpx;height: 46rpx;;\"\n src=\"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png\"\n mode=\"scaleToFill\"\n class=\"Navigation-return\"\n />\n <div class=\"Navigation-name\">\n {{ Title }}\n </div>\n <div></div>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { onMounted, onUnmounted, ref } from \"../../../adapter-vue\";\nimport {\n TUIStore,\n StoreName,\n IConversationModel,\n TUITranslateService,\n} from \"@tencentcloud/chat-uikit-engine\";\nimport { TUIGlobal } from \"@tencentcloud/universal-api\";\nimport { onLoad, onNavigationBarButtonTap } from \"@dcloudio/uni-app\";\n\nconst emits = defineEmits([\"openGroupManagement\"]);\nconst props = defineProps([\"isGroup\"]);\n\nconst currentConversation = ref<IConversationModel>();\nconst typingStatus = ref(false);\nconst Title = ref(\"Global\"); // 初始化为默认标题\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction Returnfunc() {\n uni.navigateBack({\n delta: 1,\n });\n}\n\nconst setChatHeaderContent = (content: string | undefined) => {\n Title.value = content || \"Global\"; // 确保默认值存在\n};\n\nonMounted(() => {\n TUIStore.watch(StoreName.CONV, {\n currentConversation: onCurrentConversationUpdated,\n });\n TUIStore.watch(StoreName.CHAT, {\n typingStatus: onTypingStatusUpdated,\n });\n});\n\nonUnmounted(() => {\n TUIStore.unwatch(StoreName.CONV, {\n currentConversation: onCurrentConversationUpdated,\n });\n TUIStore.unwatch(StoreName.CHAT, {\n typingStatus: onTypingStatusUpdated,\n });\n});\n\nonLoad(() => {\n setChatHeaderContent(currentConversation.value?.getShowName());\n});\n\nfunction onCurrentConversationUpdated(conversation: IConversationModel) {\n currentConversation.value = conversation;\n if (!typingStatus.value) {\n setChatHeaderContent(currentConversation?.value?.getShowName());\n }\n}\n\nfunction onTypingStatusUpdated(status: boolean) {\n typingStatus.value = status;\n if (typingStatus.value) {\n setChatHeaderContent(TUITranslateService.t(\"TUIChat.对方正在输入...\"));\n } else {\n setChatHeaderContent(currentConversation.value?.getShowName());\n }\n}\n</script>\n<style>\n.Navigation-name {\n font-size: 36rpx;\n color: #000000;\n font-weight: bold;\n}\n.Navigation {\n position: fixed;\n top: 0;\n left: 0;\n z-index: 999;\n width: 100%;\n height: 240rpx;\n background-image: url(\"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Navigationimg.png\");\n background-position: 100% 100%;\n background-repeat: no-repeat;\n}\n.Navigationcontent{\n width: 80%;\n height: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 60rpx;\n}\n</style>\n","import Component from '/Users/plw/Documents/outsource/tk-mini-program/TUIKit/components/TUIChat/chat-header/index.vue'\nwx.createComponent(Component)"],"names":["ref","uni","onMounted","TUIStore","StoreName","onUnmounted","onLoad","TUITranslateService","Component"],"mappings":";;;;;;;;AAgCA,UAAM,sBAAsBA,cAAAA;AACtB,UAAA,eAAeA,kBAAI,KAAK;AACxB,UAAA,QAAQA,kBAAI,QAAQ;AAyB1B,aAAS,aAAa;AACpBC,oBAAAA,MAAI,aAAa;AAAA,QACf,OAAO;AAAA,MAAA,CACR;AAAA,IACH;AAEM,UAAA,uBAAuB,CAAC,YAAgC;AAC5D,YAAM,QAAQ,WAAW;AAAA,IAAA;AAG3BC,kBAAAA,UAAU,MAAM;AACLC,uBAAA,MAAMC,gBAAU,MAAM;AAAA,QAC7B,qBAAqB;AAAA,MAAA,CACtB;AACQD,uBAAA,MAAMC,gBAAU,MAAM;AAAA,QAC7B,cAAc;AAAA,MAAA,CACf;AAAA,IAAA,CACF;AAEDC,kBAAAA,YAAY,MAAM;AACPF,uBAAA,QAAQC,gBAAU,MAAM;AAAA,QAC/B,qBAAqB;AAAA,MAAA,CACtB;AACQD,uBAAA,QAAQC,gBAAU,MAAM;AAAA,QAC/B,cAAc;AAAA,MAAA,CACf;AAAA,IAAA,CACF;AAEDE,kBAAAA,OAAO,MAAM;;AACU,4BAAA,yBAAoB,UAApB,mBAA2B,aAAa;AAAA,IAAA,CAC9D;AAED,aAAS,6BAA6B,cAAkC;;AACtE,0BAAoB,QAAQ;AACxB,UAAA,CAAC,aAAa,OAAO;AACF,8BAAA,gEAAqB,UAArB,mBAA4B,aAAa;AAAA,MAChE;AAAA,IACF;AAEA,aAAS,sBAAsB,QAAiB;;AAC9C,mBAAa,QAAQ;AACrB,UAAI,aAAa,OAAO;AACD,6BAAAC,cAAA,GAAoB,EAAE,mBAAmB,CAAC;AAAA,MAAA,OAC1D;AACgB,8BAAA,yBAAoB,UAApB,mBAA2B,aAAa;AAAA,MAC/D;AAAA,IACF;;;;;;;;;ACxGA,GAAG,gBAAgBC,SAAS;"}
|
||||
{"version":3,"file":"index.js","sources":["TUIKit/components/TUIChat/chat-header/index.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9UVUlLaXQvY29tcG9uZW50cy9UVUlDaGF0L2NoYXQtaGVhZGVyL2luZGV4LnZ1ZQ"],"sourcesContent":["<template>\r\n <div class=\"Navigation\">\r\n <div class=\"Navigationcontent\">\r\n <image\r\n @click=\"Returnfunc\"\r\n style=\"width: 46rpx;height: 46rpx;;\"\r\n src=\"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png\"\r\n mode=\"scaleToFill\"\r\n class=\"Navigation-return\"\r\n />\r\n <div class=\"Navigation-name\">\r\n {{ Title }}\r\n </div>\r\n <div></div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { onMounted, onUnmounted, ref } from \"../../../adapter-vue\";\r\nimport {\r\n TUIStore,\r\n StoreName,\r\n IConversationModel,\r\n TUITranslateService,\r\n} from \"@tencentcloud/chat-uikit-engine\";\r\nimport { TUIGlobal } from \"@tencentcloud/universal-api\";\r\nimport { onLoad, onNavigationBarButtonTap } from \"@dcloudio/uni-app\";\r\n\r\nconst emits = defineEmits([\"openGroupManagement\"]);\r\nconst props = defineProps([\"isGroup\"]);\r\n\r\nconst currentConversation = ref<IConversationModel>();\r\nconst typingStatus = ref(false);\r\nconst Title = ref(\"Global\"); // 初始化为默认标题\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nfunction Returnfunc() {\r\n uni.navigateBack({\r\n delta: 1,\r\n });\r\n}\r\n\r\nconst setChatHeaderContent = (content: string | undefined) => {\r\n Title.value = content || \"Global\"; // 确保默认值存在\r\n};\r\n\r\nonMounted(() => {\r\n TUIStore.watch(StoreName.CONV, {\r\n currentConversation: onCurrentConversationUpdated,\r\n });\r\n TUIStore.watch(StoreName.CHAT, {\r\n typingStatus: onTypingStatusUpdated,\r\n });\r\n});\r\n\r\nonUnmounted(() => {\r\n TUIStore.unwatch(StoreName.CONV, {\r\n currentConversation: onCurrentConversationUpdated,\r\n });\r\n TUIStore.unwatch(StoreName.CHAT, {\r\n typingStatus: onTypingStatusUpdated,\r\n });\r\n});\r\n\r\nonLoad(() => {\r\n setChatHeaderContent(currentConversation.value?.getShowName());\r\n});\r\n\r\nfunction onCurrentConversationUpdated(conversation: IConversationModel) {\r\n currentConversation.value = conversation;\r\n if (!typingStatus.value) {\r\n setChatHeaderContent(currentConversation?.value?.getShowName());\r\n }\r\n}\r\n\r\nfunction onTypingStatusUpdated(status: boolean) {\r\n typingStatus.value = status;\r\n if (typingStatus.value) {\r\n setChatHeaderContent(TUITranslateService.t(\"TUIChat.对方正在输入...\"));\r\n } else {\r\n setChatHeaderContent(currentConversation.value?.getShowName());\r\n }\r\n}\r\n</script>\r\n<style>\r\n.Navigation-name {\r\n font-size: 36rpx;\r\n color: #000000;\r\n font-weight: bold;\r\n}\r\n.Navigation {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n z-index: 999;\r\n width: 100%;\r\n height: 240rpx;\r\n background-image: url(\"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Navigationimg.png\");\r\n background-position: 100% 100%;\r\n background-repeat: no-repeat;\r\n}\r\n.Navigationcontent{\r\n width: 80%;\r\n height: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n padding: 60rpx;\r\n}\r\n</style>\r\n","import Component from 'D:/项目/tk-mini-program/TUIKit/components/TUIChat/chat-header/index.vue'\nwx.createComponent(Component)"],"names":["ref","uni","onMounted","TUIStore","StoreName","onUnmounted","onLoad","TUITranslateService","Component"],"mappings":";;;;;;;;AAgCA,UAAM,sBAAsBA,cAAAA;AACtB,UAAA,eAAeA,kBAAI,KAAK;AACxB,UAAA,QAAQA,kBAAI,QAAQ;AAyB1B,aAAS,aAAa;AACpBC,oBAAAA,MAAI,aAAa;AAAA,QACf,OAAO;AAAA,MAAA,CACR;AAAA,IACH;AAEM,UAAA,uBAAuB,CAAC,YAAgC;AAC5D,YAAM,QAAQ,WAAW;AAAA,IAAA;AAG3BC,kBAAAA,UAAU,MAAM;AACLC,uBAAA,MAAMC,gBAAU,MAAM;AAAA,QAC7B,qBAAqB;AAAA,MAAA,CACtB;AACQD,uBAAA,MAAMC,gBAAU,MAAM;AAAA,QAC7B,cAAc;AAAA,MAAA,CACf;AAAA,IAAA,CACF;AAEDC,kBAAAA,YAAY,MAAM;AACPF,uBAAA,QAAQC,gBAAU,MAAM;AAAA,QAC/B,qBAAqB;AAAA,MAAA,CACtB;AACQD,uBAAA,QAAQC,gBAAU,MAAM;AAAA,QAC/B,cAAc;AAAA,MAAA,CACf;AAAA,IAAA,CACF;AAEDE,kBAAAA,OAAO,MAAM;;AACU,4BAAA,yBAAoB,UAApB,mBAA2B,aAAa;AAAA,IAAA,CAC9D;AAED,aAAS,6BAA6B,cAAkC;;AACtE,0BAAoB,QAAQ;AACxB,UAAA,CAAC,aAAa,OAAO;AACF,8BAAA,gEAAqB,UAArB,mBAA4B,aAAa;AAAA,MAChE;AAAA,IACF;AAEA,aAAS,sBAAsB,QAAiB;;AAC9C,mBAAa,QAAQ;AACrB,UAAI,aAAa,OAAO;AACD,6BAAAC,cAAA,GAAoB,EAAE,mBAAmB,CAAC;AAAA,MAAA,OAC1D;AACgB,8BAAA,yBAAoB,UAApB,mBAA2B,aAAa;AAAA,MAC/D;AAAA,IACF;;;;;;;;;ACxGA,GAAG,gBAAgBC,SAAS;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"config.js","sources":["TUIKit/components/TUIChat/config.ts"],"sourcesContent":["class TUIChatConfig {\n static instance: TUIChatConfig;\n private chatType: string;\n private features: Record<string, any>;\n private theme: string;\n constructor() {\n this.chatType = '';\n this.features = {\n DownloadFile: true,\n CopyMessage: true,\n DeleteMessage: true,\n RevokeMessage: true,\n QuoteMessage: true,\n ForwardMessage: true,\n TranslateMessage: true,\n VoiceToText: true,\n MultiSelection: true,\n EmojiReaction: true,\n InputEmoji: true,\n InputStickers: true,\n InputImage: true,\n InputVoice: true,\n InputVideo: true,\n InputFile: true,\n InputEvaluation: true,\n InputQuickReplies: true,\n InputCustomMessage:true,\n InputMention: true,\n MessageSearch: true,\n ReadStatus: true,\n };\n this.theme = 'light';\n }\n\n static getInstance(): TUIChatConfig {\n if (!TUIChatConfig.instance) {\n TUIChatConfig.instance = new TUIChatConfig();\n }\n return TUIChatConfig.instance;\n }\n\n setChatType(chatType: string) {\n this.chatType = chatType;\n }\n\n getChatType() {\n return this.chatType;\n }\n\n hideTUIChatFeatures(features: string[]) {\n if (!features) {\n return;\n }\n features.forEach((feature: string) => {\n if (this.features[feature]) {\n this.features[feature] = false;\n }\n });\n }\n\n getFeatureConfig(key?: string) {\n if (key) {\n return this.features[key];\n }\n return this.features;\n }\n\n setTheme(theme: string) {\n this.theme = theme;\n }\n\n getTheme() {\n return this.theme;\n }\n}\n\nconst ChatConfig = TUIChatConfig.getInstance();\nconst hideTUIChatFeatures = ChatConfig.hideTUIChatFeatures.bind(ChatConfig);\n\nexport {\n hideTUIChatFeatures,\n};\n\nexport default ChatConfig;\n"],"names":[],"mappings":";AAAA,MAAM,cAAc;AAAA,EAKlB,cAAc;AACZ,SAAK,WAAW;AAChB,SAAK,WAAW;AAAA,MACd,cAAc;AAAA,MACd,aAAa;AAAA,MACb,eAAe;AAAA,MACf,eAAe;AAAA,MACf,cAAc;AAAA,MACd,gBAAgB;AAAA,MAChB,kBAAkB;AAAA,MAClB,aAAa;AAAA,MACb,gBAAgB;AAAA,MAChB,eAAe;AAAA,MACf,YAAY;AAAA,MACZ,eAAe;AAAA,MACf,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,WAAW;AAAA,MACX,iBAAiB;AAAA,MACjB,mBAAmB;AAAA,MACnB,oBAAmB;AAAA,MACnB,cAAc;AAAA,MACd,eAAe;AAAA,MACf,YAAY;AAAA,IAAA;AAEd,SAAK,QAAQ;AAAA,EACf;AAAA,EAEA,OAAO,cAA6B;AAC9B,QAAA,CAAC,cAAc,UAAU;AACb,oBAAA,WAAW,IAAI;IAC/B;AACA,WAAO,cAAc;AAAA,EACvB;AAAA,EAEA,YAAY,UAAkB;AAC5B,SAAK,WAAW;AAAA,EAClB;AAAA,EAEA,cAAc;AACZ,WAAO,KAAK;AAAA,EACd;AAAA,EAEA,oBAAoB,UAAoB;AACtC,QAAI,CAAC,UAAU;AACb;AAAA,IACF;AACS,aAAA,QAAQ,CAAC,YAAoB;AAChC,UAAA,KAAK,SAAS,OAAO,GAAG;AACrB,aAAA,SAAS,OAAO,IAAI;AAAA,MAC3B;AAAA,IAAA,CACD;AAAA,EACH;AAAA,EAEA,iBAAiB,KAAc;AAC7B,QAAI,KAAK;AACA,aAAA,KAAK,SAAS,GAAG;AAAA,IAC1B;AACA,WAAO,KAAK;AAAA,EACd;AAAA,EAEA,SAAS,OAAe;AACtB,SAAK,QAAQ;AAAA,EACf;AAAA,EAEA,WAAW;AACT,WAAO,KAAK;AAAA,EACd;AACF;AAEM,MAAA,aAAa,cAAc,YAAY;AACjB,WAAW,oBAAoB,KAAK,UAAU;;"}
|
||||
{"version":3,"file":"config.js","sources":["TUIKit/components/TUIChat/config.ts"],"sourcesContent":["class TUIChatConfig {\r\n static instance: TUIChatConfig;\r\n private chatType: string;\r\n private features: Record<string, any>;\r\n private theme: string;\r\n constructor() {\r\n this.chatType = '';\r\n this.features = {\r\n DownloadFile: true,\r\n CopyMessage: true,\r\n DeleteMessage: true,\r\n RevokeMessage: true,\r\n QuoteMessage: true,\r\n ForwardMessage: true,\r\n TranslateMessage: true,\r\n VoiceToText: true,\r\n MultiSelection: true,\r\n EmojiReaction: true,\r\n InputEmoji: true,\r\n InputStickers: true,\r\n InputImage: true,\r\n InputVoice: true,\r\n InputVideo: true,\r\n InputFile: true,\r\n InputEvaluation: true,\r\n InputQuickReplies: true,\r\n InputCustomMessage:true,\r\n InputMention: true,\r\n MessageSearch: true,\r\n ReadStatus: true,\r\n };\r\n this.theme = 'light';\r\n }\r\n\r\n static getInstance(): TUIChatConfig {\r\n if (!TUIChatConfig.instance) {\r\n TUIChatConfig.instance = new TUIChatConfig();\r\n }\r\n return TUIChatConfig.instance;\r\n }\r\n\r\n setChatType(chatType: string) {\r\n this.chatType = chatType;\r\n }\r\n\r\n getChatType() {\r\n return this.chatType;\r\n }\r\n\r\n hideTUIChatFeatures(features: string[]) {\r\n if (!features) {\r\n return;\r\n }\r\n features.forEach((feature: string) => {\r\n if (this.features[feature]) {\r\n this.features[feature] = false;\r\n }\r\n });\r\n }\r\n\r\n getFeatureConfig(key?: string) {\r\n if (key) {\r\n return this.features[key];\r\n }\r\n return this.features;\r\n }\r\n\r\n setTheme(theme: string) {\r\n this.theme = theme;\r\n }\r\n\r\n getTheme() {\r\n return this.theme;\r\n }\r\n}\r\n\r\nconst ChatConfig = TUIChatConfig.getInstance();\r\nconst hideTUIChatFeatures = ChatConfig.hideTUIChatFeatures.bind(ChatConfig);\r\n\r\nexport {\r\n hideTUIChatFeatures,\r\n};\r\n\r\nexport default ChatConfig;\r\n"],"names":[],"mappings":";AAAA,MAAM,cAAc;AAAA,EAKlB,cAAc;AACZ,SAAK,WAAW;AAChB,SAAK,WAAW;AAAA,MACd,cAAc;AAAA,MACd,aAAa;AAAA,MACb,eAAe;AAAA,MACf,eAAe;AAAA,MACf,cAAc;AAAA,MACd,gBAAgB;AAAA,MAChB,kBAAkB;AAAA,MAClB,aAAa;AAAA,MACb,gBAAgB;AAAA,MAChB,eAAe;AAAA,MACf,YAAY;AAAA,MACZ,eAAe;AAAA,MACf,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,WAAW;AAAA,MACX,iBAAiB;AAAA,MACjB,mBAAmB;AAAA,MACnB,oBAAmB;AAAA,MACnB,cAAc;AAAA,MACd,eAAe;AAAA,MACf,YAAY;AAAA,IAAA;AAEd,SAAK,QAAQ;AAAA,EACf;AAAA,EAEA,OAAO,cAA6B;AAC9B,QAAA,CAAC,cAAc,UAAU;AACb,oBAAA,WAAW,IAAI;IAC/B;AACA,WAAO,cAAc;AAAA,EACvB;AAAA,EAEA,YAAY,UAAkB;AAC5B,SAAK,WAAW;AAAA,EAClB;AAAA,EAEA,cAAc;AACZ,WAAO,KAAK;AAAA,EACd;AAAA,EAEA,oBAAoB,UAAoB;AACtC,QAAI,CAAC,UAAU;AACb;AAAA,IACF;AACS,aAAA,QAAQ,CAAC,YAAoB;AAChC,UAAA,KAAK,SAAS,OAAO,GAAG;AACrB,aAAA,SAAS,OAAO,IAAI;AAAA,MAC3B;AAAA,IAAA,CACD;AAAA,EACH;AAAA,EAEA,iBAAiB,KAAc;AAC7B,QAAI,KAAK;AACA,aAAA,KAAK,SAAS,GAAG;AAAA,IAC1B;AACA,WAAO,KAAK;AAAA,EACd;AAAA,EAEA,SAAS,OAAe;AACtB,SAAK,QAAQ;AAAA,EACf;AAAA,EAEA,WAAW;AACT,WAAO,KAAK;AAAA,EACd;AACF;AAEM,MAAA,aAAa,cAAc,YAAY;AACjB,WAAW,oBAAoB,KAAK,UAAU;;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"custom-emoji.js","sources":["TUIKit/components/TUIChat/emoji-config/custom-emoji.ts"],"sourcesContent":["import { IEmojiGroupList } from '../../../interface';\n\n/**\n* Custom big emoji\n*/\nexport const CUSTOM_BIG_EMOJI_URL: string = '';\n\nexport const CUSTOM_BIG_EMOJI_GROUP_LIST: IEmojiGroupList = [];\n\n/**\n* Custom basic emoji\n*/\nexport const CUSTOM_BASIC_EMOJI_URL: string = '';\n\nexport const CUSTOM_BASIC_EMOJI_URL_MAPPING: Record<string, string> = {};\n"],"names":[],"mappings":";AAKO,MAAM,uBAA+B;AAErC,MAAM,8BAA+C,CAAA;;;"}
|
||||
{"version":3,"file":"custom-emoji.js","sources":["TUIKit/components/TUIChat/emoji-config/custom-emoji.ts"],"sourcesContent":["import { IEmojiGroupList } from '../../../interface';\r\n\r\n/**\r\n* Custom big emoji\r\n*/\r\nexport const CUSTOM_BIG_EMOJI_URL: string = '';\r\n\r\nexport const CUSTOM_BIG_EMOJI_GROUP_LIST: IEmojiGroupList = [];\r\n\r\n/**\r\n* Custom basic emoji\r\n*/\r\nexport const CUSTOM_BASIC_EMOJI_URL: string = '';\r\n\r\nexport const CUSTOM_BASIC_EMOJI_URL_MAPPING: Record<string, string> = {};\r\n"],"names":[],"mappings":";AAKO,MAAM,uBAA+B;;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"default-emoji.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
||||
{"version":3,"file":"default-emoji.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"en.js","sources":["TUIKit/components/TUIChat/emoji-config/locales/en.ts"],"sourcesContent":["const Emoji = {\n '[TUIEmoji_Smile]': '[Smile]',\n '[TUIEmoji_Expect]': '[Expect]',\n '[TUIEmoji_Blink]': '[Blink]',\n '[TUIEmoji_Guffaw]': '[Guffaw]',\n '[TUIEmoji_KindSmile]': '[KindSmile]',\n '[TUIEmoji_Haha]': '[Haha]',\n '[TUIEmoji_Cheerful]': '[Cheerful]',\n '[TUIEmoji_Speechless]': '[Speechless]',\n '[TUIEmoji_Amazed]': '[Amazed]',\n '[TUIEmoji_Sorrow]': '[Sorrow]',\n '[TUIEmoji_Complacent]': '[Complacent]',\n '[TUIEmoji_Silly]': '[Silly]',\n '[TUIEmoji_Lustful]': '[Lustful]',\n '[TUIEmoji_Giggle]': '[Giggle]',\n '[TUIEmoji_Kiss]': '[Kiss]',\n '[TUIEmoji_Wail]': '[Wail]',\n '[TUIEmoji_TearsLaugh]': '[TearsLaugh]',\n '[TUIEmoji_Trapped]': '[Trapped]',\n '[TUIEmoji_Mask]': '[Mask]',\n '[TUIEmoji_Fear]': '[Fear]',\n '[TUIEmoji_BareTeeth]': '[BareTeeth]',\n '[TUIEmoji_FlareUp]': '[FlareUp]',\n '[TUIEmoji_Yawn]': '[Yawn]',\n '[TUIEmoji_Tact]': '[Tact]',\n '[TUIEmoji_Stareyes]': '[StarEyes]',\n '[TUIEmoji_ShutUp]': '[ShutUp]',\n '[TUIEmoji_Sigh]': '[Sigh]',\n '[TUIEmoji_Hehe]': '[Hehe]',\n '[TUIEmoji_Silent]': '[Silent]',\n '[TUIEmoji_Surprised]': '[Surprised]',\n '[TUIEmoji_Askance]': '[Askance]]',\n '[TUIEmoji_Ok]': '[OK]',\n '[TUIEmoji_Shit]': '[Shit]',\n '[TUIEmoji_Monster]': '[Monster]',\n '[TUIEmoji_Daemon]': '[Daemon]',\n '[TUIEmoji_Rage]': '[Rage]',\n '[TUIEmoji_Fool]': '[Fool]',\n '[TUIEmoji_Pig]': '[Pig]',\n '[TUIEmoji_Cow]': '[Cow]',\n '[TUIEmoji_Ai]': '[AI]',\n '[TUIEmoji_Skull]': '[Skull]',\n '[TUIEmoji_Bombs]': '[Bombs]',\n '[TUIEmoji_Coffee]': '[Coffee]',\n '[TUIEmoji_Cake]': '[Cake]',\n '[TUIEmoji_Beer]': '[Beer]',\n '[TUIEmoji_Flower]': '[Flower]',\n '[TUIEmoji_Watermelon]': '[Watermelon]',\n '[TUIEmoji_Rich]': '[Rich]',\n '[TUIEmoji_Heart]': '[Heart]',\n '[TUIEmoji_Moon]': '[Moon]',\n '[TUIEmoji_Sun]': '[Sun]',\n '[TUIEmoji_Star]': '[Star]',\n '[TUIEmoji_RedPacket]': '[RedPacket]',\n '[TUIEmoji_Celebrate]': '[Celebrate]',\n '[TUIEmoji_Bless]': '[Bless]',\n '[TUIEmoji_Fortune]': '[Fortune]',\n '[TUIEmoji_Convinced]': '[Convinced]',\n '[TUIEmoji_Prohibit]': '[Prohibit]',\n '[TUIEmoji_666]': '[666]',\n '[TUIEmoji_857]': '[857]',\n '[TUIEmoji_Knife]': '[Knife]',\n '[TUIEmoji_Like]': '[Like]',\n};\n\nexport default Emoji;\n"],"names":[],"mappings":";AAAA,MAAM,QAAQ;AAAA,EACZ,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,wBAAwB;AAAA,EACxB,mBAAmB;AAAA,EACnB,uBAAuB;AAAA,EACvB,yBAAyB;AAAA,EACzB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,yBAAyB;AAAA,EACzB,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,yBAAyB;AAAA,EACzB,sBAAsB;AAAA,EACtB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,wBAAwB;AAAA,EACxB,sBAAsB;AAAA,EACtB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,uBAAuB;AAAA,EACvB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,wBAAwB;AAAA,EACxB,sBAAsB;AAAA,EACtB,iBAAiB;AAAA,EACjB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,oBAAoB;AAAA,EACpB,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,yBAAyB;AAAA,EACzB,mBAAmB;AAAA,EACnB,oBAAoB;AAAA,EACpB,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,wBAAwB;AAAA,EACxB,wBAAwB;AAAA,EACxB,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,wBAAwB;AAAA,EACxB,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,oBAAoB;AAAA,EACpB,mBAAmB;AACrB;;"}
|
||||
{"version":3,"file":"en.js","sources":["TUIKit/components/TUIChat/emoji-config/locales/en.ts"],"sourcesContent":["const Emoji = {\r\n '[TUIEmoji_Smile]': '[Smile]',\r\n '[TUIEmoji_Expect]': '[Expect]',\r\n '[TUIEmoji_Blink]': '[Blink]',\r\n '[TUIEmoji_Guffaw]': '[Guffaw]',\r\n '[TUIEmoji_KindSmile]': '[KindSmile]',\r\n '[TUIEmoji_Haha]': '[Haha]',\r\n '[TUIEmoji_Cheerful]': '[Cheerful]',\r\n '[TUIEmoji_Speechless]': '[Speechless]',\r\n '[TUIEmoji_Amazed]': '[Amazed]',\r\n '[TUIEmoji_Sorrow]': '[Sorrow]',\r\n '[TUIEmoji_Complacent]': '[Complacent]',\r\n '[TUIEmoji_Silly]': '[Silly]',\r\n '[TUIEmoji_Lustful]': '[Lustful]',\r\n '[TUIEmoji_Giggle]': '[Giggle]',\r\n '[TUIEmoji_Kiss]': '[Kiss]',\r\n '[TUIEmoji_Wail]': '[Wail]',\r\n '[TUIEmoji_TearsLaugh]': '[TearsLaugh]',\r\n '[TUIEmoji_Trapped]': '[Trapped]',\r\n '[TUIEmoji_Mask]': '[Mask]',\r\n '[TUIEmoji_Fear]': '[Fear]',\r\n '[TUIEmoji_BareTeeth]': '[BareTeeth]',\r\n '[TUIEmoji_FlareUp]': '[FlareUp]',\r\n '[TUIEmoji_Yawn]': '[Yawn]',\r\n '[TUIEmoji_Tact]': '[Tact]',\r\n '[TUIEmoji_Stareyes]': '[StarEyes]',\r\n '[TUIEmoji_ShutUp]': '[ShutUp]',\r\n '[TUIEmoji_Sigh]': '[Sigh]',\r\n '[TUIEmoji_Hehe]': '[Hehe]',\r\n '[TUIEmoji_Silent]': '[Silent]',\r\n '[TUIEmoji_Surprised]': '[Surprised]',\r\n '[TUIEmoji_Askance]': '[Askance]]',\r\n '[TUIEmoji_Ok]': '[OK]',\r\n '[TUIEmoji_Shit]': '[Shit]',\r\n '[TUIEmoji_Monster]': '[Monster]',\r\n '[TUIEmoji_Daemon]': '[Daemon]',\r\n '[TUIEmoji_Rage]': '[Rage]',\r\n '[TUIEmoji_Fool]': '[Fool]',\r\n '[TUIEmoji_Pig]': '[Pig]',\r\n '[TUIEmoji_Cow]': '[Cow]',\r\n '[TUIEmoji_Ai]': '[AI]',\r\n '[TUIEmoji_Skull]': '[Skull]',\r\n '[TUIEmoji_Bombs]': '[Bombs]',\r\n '[TUIEmoji_Coffee]': '[Coffee]',\r\n '[TUIEmoji_Cake]': '[Cake]',\r\n '[TUIEmoji_Beer]': '[Beer]',\r\n '[TUIEmoji_Flower]': '[Flower]',\r\n '[TUIEmoji_Watermelon]': '[Watermelon]',\r\n '[TUIEmoji_Rich]': '[Rich]',\r\n '[TUIEmoji_Heart]': '[Heart]',\r\n '[TUIEmoji_Moon]': '[Moon]',\r\n '[TUIEmoji_Sun]': '[Sun]',\r\n '[TUIEmoji_Star]': '[Star]',\r\n '[TUIEmoji_RedPacket]': '[RedPacket]',\r\n '[TUIEmoji_Celebrate]': '[Celebrate]',\r\n '[TUIEmoji_Bless]': '[Bless]',\r\n '[TUIEmoji_Fortune]': '[Fortune]',\r\n '[TUIEmoji_Convinced]': '[Convinced]',\r\n '[TUIEmoji_Prohibit]': '[Prohibit]',\r\n '[TUIEmoji_666]': '[666]',\r\n '[TUIEmoji_857]': '[857]',\r\n '[TUIEmoji_Knife]': '[Knife]',\r\n '[TUIEmoji_Like]': '[Like]',\r\n};\r\n\r\nexport default Emoji;\r\n"],"names":[],"mappings":";AAAA,MAAM,QAAQ;AAAA,EACZ,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,wBAAwB;AAAA,EACxB,mBAAmB;AAAA,EACnB,uBAAuB;AAAA,EACvB,yBAAyB;AAAA,EACzB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,yBAAyB;AAAA,EACzB,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,yBAAyB;AAAA,EACzB,sBAAsB;AAAA,EACtB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,wBAAwB;AAAA,EACxB,sBAAsB;AAAA,EACtB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,uBAAuB;AAAA,EACvB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,wBAAwB;AAAA,EACxB,sBAAsB;AAAA,EACtB,iBAAiB;AAAA,EACjB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,oBAAoB;AAAA,EACpB,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,yBAAyB;AAAA,EACzB,mBAAmB;AAAA,EACnB,oBAAoB;AAAA,EACpB,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,wBAAwB;AAAA,EACxB,wBAAwB;AAAA,EACxB,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,wBAAwB;AAAA,EACxB,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,oBAAoB;AAAA,EACpB,mBAAmB;AACrB;;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"zh_cn.js","sources":["TUIKit/components/TUIChat/emoji-config/locales/zh_cn.ts"],"sourcesContent":["const Emoji: Record<string, string> = {\n '[TUIEmoji_Smile]': '[微笑]',\n '[TUIEmoji_Expect]': '[期待]',\n '[TUIEmoji_Blink]': '[眨眼]',\n '[TUIEmoji_Guffaw]': '[大笑]',\n '[TUIEmoji_KindSmile]': '[姨母笑]',\n '[TUIEmoji_Haha]': '[哈哈哈]',\n '[TUIEmoji_Cheerful]': '[愉快]',\n '[TUIEmoji_Speechless]': '[无语]',\n '[TUIEmoji_Amazed]': '[惊讶]',\n '[TUIEmoji_Sorrow]': '[悲伤]',\n '[TUIEmoji_Complacent]': '[得意]',\n '[TUIEmoji_Silly]': '[傻了]',\n '[TUIEmoji_Lustful]': '[色]',\n '[TUIEmoji_Giggle]': '[憨笑]',\n '[TUIEmoji_Kiss]': '[亲亲]',\n '[TUIEmoji_Wail]': '[大哭]',\n '[TUIEmoji_TearsLaugh]': '[哭笑]',\n '[TUIEmoji_Trapped]': '[困]',\n '[TUIEmoji_Mask]': '[口罩]',\n '[TUIEmoji_Fear]': '[恐惧]',\n '[TUIEmoji_BareTeeth]': '[龇牙]',\n '[TUIEmoji_FlareUp]': '[发怒]',\n '[TUIEmoji_Yawn]': '[打哈欠]',\n '[TUIEmoji_Tact]': '[机智]',\n '[TUIEmoji_Stareyes]': '[星星眼]',\n '[TUIEmoji_ShutUp]': '[闭嘴]',\n '[TUIEmoji_Sigh]': '[叹气]',\n '[TUIEmoji_Hehe]': '[呵呵]',\n '[TUIEmoji_Silent]': '[收声]',\n '[TUIEmoji_Surprised]': '[惊喜]',\n '[TUIEmoji_Askance]': '[白眼]',\n '[TUIEmoji_Ok]': '[OK]',\n '[TUIEmoji_Shit]': '[便便]',\n '[TUIEmoji_Monster]': '[怪兽]',\n '[TUIEmoji_Daemon]': '[恶魔]',\n '[TUIEmoji_Rage]': '[恶魔怒]',\n '[TUIEmoji_Fool]': '[衰]',\n '[TUIEmoji_Pig]': '[猪]',\n '[TUIEmoji_Cow]': '[牛]',\n '[TUIEmoji_Ai]': '[AI]',\n '[TUIEmoji_Skull]': '[骷髅]',\n '[TUIEmoji_Bombs]': '[炸弹]',\n '[TUIEmoji_Coffee]': '[咖啡]',\n '[TUIEmoji_Cake]': '[蛋糕]',\n '[TUIEmoji_Beer]': '[啤酒]',\n '[TUIEmoji_Flower]': '[花]',\n '[TUIEmoji_Watermelon]': '[瓜]',\n '[TUIEmoji_Rich]': '[壕]',\n '[TUIEmoji_Heart]': '[爱心]',\n '[TUIEmoji_Moon]': '[月亮]',\n '[TUIEmoji_Sun]': '[太阳]',\n '[TUIEmoji_Star]': '[星星]',\n '[TUIEmoji_RedPacket]': '[红包]',\n '[TUIEmoji_Celebrate]': '[庆祝]',\n '[TUIEmoji_Bless]': '[福]',\n '[TUIEmoji_Fortune]': '[发]',\n '[TUIEmoji_Convinced]': '[服]',\n '[TUIEmoji_Prohibit]': '[禁]',\n '[TUIEmoji_666]': '[666]',\n '[TUIEmoji_857]': '[857]',\n '[TUIEmoji_Knife]': '[刀]',\n '[TUIEmoji_Like]': '[赞]',\n};\n\nexport default Emoji;\n"],"names":[],"mappings":";AAAA,MAAM,QAAgC;AAAA,EACpC,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,wBAAwB;AAAA,EACxB,mBAAmB;AAAA,EACnB,uBAAuB;AAAA,EACvB,yBAAyB;AAAA,EACzB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,yBAAyB;AAAA,EACzB,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,yBAAyB;AAAA,EACzB,sBAAsB;AAAA,EACtB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,wBAAwB;AAAA,EACxB,sBAAsB;AAAA,EACtB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,uBAAuB;AAAA,EACvB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,wBAAwB;AAAA,EACxB,sBAAsB;AAAA,EACtB,iBAAiB;AAAA,EACjB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,oBAAoB;AAAA,EACpB,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,yBAAyB;AAAA,EACzB,mBAAmB;AAAA,EACnB,oBAAoB;AAAA,EACpB,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,wBAAwB;AAAA,EACxB,wBAAwB;AAAA,EACxB,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,wBAAwB;AAAA,EACxB,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,oBAAoB;AAAA,EACpB,mBAAmB;AACrB;;"}
|
||||
{"version":3,"file":"zh_cn.js","sources":["TUIKit/components/TUIChat/emoji-config/locales/zh_cn.ts"],"sourcesContent":["const Emoji: Record<string, string> = {\r\n '[TUIEmoji_Smile]': '[微笑]',\r\n '[TUIEmoji_Expect]': '[期待]',\r\n '[TUIEmoji_Blink]': '[眨眼]',\r\n '[TUIEmoji_Guffaw]': '[大笑]',\r\n '[TUIEmoji_KindSmile]': '[姨母笑]',\r\n '[TUIEmoji_Haha]': '[哈哈哈]',\r\n '[TUIEmoji_Cheerful]': '[愉快]',\r\n '[TUIEmoji_Speechless]': '[无语]',\r\n '[TUIEmoji_Amazed]': '[惊讶]',\r\n '[TUIEmoji_Sorrow]': '[悲伤]',\r\n '[TUIEmoji_Complacent]': '[得意]',\r\n '[TUIEmoji_Silly]': '[傻了]',\r\n '[TUIEmoji_Lustful]': '[色]',\r\n '[TUIEmoji_Giggle]': '[憨笑]',\r\n '[TUIEmoji_Kiss]': '[亲亲]',\r\n '[TUIEmoji_Wail]': '[大哭]',\r\n '[TUIEmoji_TearsLaugh]': '[哭笑]',\r\n '[TUIEmoji_Trapped]': '[困]',\r\n '[TUIEmoji_Mask]': '[口罩]',\r\n '[TUIEmoji_Fear]': '[恐惧]',\r\n '[TUIEmoji_BareTeeth]': '[龇牙]',\r\n '[TUIEmoji_FlareUp]': '[发怒]',\r\n '[TUIEmoji_Yawn]': '[打哈欠]',\r\n '[TUIEmoji_Tact]': '[机智]',\r\n '[TUIEmoji_Stareyes]': '[星星眼]',\r\n '[TUIEmoji_ShutUp]': '[闭嘴]',\r\n '[TUIEmoji_Sigh]': '[叹气]',\r\n '[TUIEmoji_Hehe]': '[呵呵]',\r\n '[TUIEmoji_Silent]': '[收声]',\r\n '[TUIEmoji_Surprised]': '[惊喜]',\r\n '[TUIEmoji_Askance]': '[白眼]',\r\n '[TUIEmoji_Ok]': '[OK]',\r\n '[TUIEmoji_Shit]': '[便便]',\r\n '[TUIEmoji_Monster]': '[怪兽]',\r\n '[TUIEmoji_Daemon]': '[恶魔]',\r\n '[TUIEmoji_Rage]': '[恶魔怒]',\r\n '[TUIEmoji_Fool]': '[衰]',\r\n '[TUIEmoji_Pig]': '[猪]',\r\n '[TUIEmoji_Cow]': '[牛]',\r\n '[TUIEmoji_Ai]': '[AI]',\r\n '[TUIEmoji_Skull]': '[骷髅]',\r\n '[TUIEmoji_Bombs]': '[炸弹]',\r\n '[TUIEmoji_Coffee]': '[咖啡]',\r\n '[TUIEmoji_Cake]': '[蛋糕]',\r\n '[TUIEmoji_Beer]': '[啤酒]',\r\n '[TUIEmoji_Flower]': '[花]',\r\n '[TUIEmoji_Watermelon]': '[瓜]',\r\n '[TUIEmoji_Rich]': '[壕]',\r\n '[TUIEmoji_Heart]': '[爱心]',\r\n '[TUIEmoji_Moon]': '[月亮]',\r\n '[TUIEmoji_Sun]': '[太阳]',\r\n '[TUIEmoji_Star]': '[星星]',\r\n '[TUIEmoji_RedPacket]': '[红包]',\r\n '[TUIEmoji_Celebrate]': '[庆祝]',\r\n '[TUIEmoji_Bless]': '[福]',\r\n '[TUIEmoji_Fortune]': '[发]',\r\n '[TUIEmoji_Convinced]': '[服]',\r\n '[TUIEmoji_Prohibit]': '[禁]',\r\n '[TUIEmoji_666]': '[666]',\r\n '[TUIEmoji_857]': '[857]',\r\n '[TUIEmoji_Knife]': '[刀]',\r\n '[TUIEmoji_Like]': '[赞]',\r\n};\r\n\r\nexport default Emoji;\r\n"],"names":[],"mappings":";AAAA,MAAM,QAAgC;AAAA,EACpC,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,wBAAwB;AAAA,EACxB,mBAAmB;AAAA,EACnB,uBAAuB;AAAA,EACvB,yBAAyB;AAAA,EACzB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,yBAAyB;AAAA,EACzB,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,yBAAyB;AAAA,EACzB,sBAAsB;AAAA,EACtB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,wBAAwB;AAAA,EACxB,sBAAsB;AAAA,EACtB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,uBAAuB;AAAA,EACvB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,wBAAwB;AAAA,EACxB,sBAAsB;AAAA,EACtB,iBAAiB;AAAA,EACjB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,oBAAoB;AAAA,EACpB,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,yBAAyB;AAAA,EACzB,mBAAmB;AAAA,EACnB,oBAAoB;AAAA,EACpB,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,wBAAwB;AAAA,EACxB,wBAAwB;AAAA,EACxB,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,wBAAwB;AAAA,EACxB,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,oBAAoB;AAAA,EACpB,mBAAmB;AACrB;;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"entry-chat-only.js","sources":["TUIKit/components/TUIChat/entry-chat-only.ts"],"sourcesContent":["import { TUILogin } from '@tencentcloud/tui-core';\nimport { TUIConversationService } from '@tencentcloud/chat-uikit-engine';\n// #ifdef MP-WEIXIN\nimport { TUIChatKit } from '../../index.ts';\n// #endif\n\nexport const initChat = (options: Record<string, string>) => {\n // #ifdef MP-WEIXIN\n // uni-app packages the mini program.\n // If you call TUIChatKit.init() directly during import, an error will be reported.\n // You need to init during the page onLoad.\n TUIChatKit.init();\n // #endif\n\n // When opening TUIChat, the options and options.conversationID parameters carried in the url,\n // determine whether to enter the Chat from the [Conversation List] or [Online Communication].\n const { chat } = TUILogin.getContext();\n if (options && options.conversationID && chat?.isReady()) {\n const { conversationID } = options;\n // verify conversationID\n if (!conversationID.startsWith('C2C') && !conversationID.startsWith('GROUP')) {\n console.warn('conversationID from options is invalid.');\n return;\n }\n // open chat\n TUIConversationService.switchConversation(conversationID);\n }\n};\n\nexport const logout = (flag: boolean) => {\n if (flag) {\n return TUILogin.logout();\n }\n return Promise.resolve();\n};\n"],"names":["TUIChatKit","TUILogin","uni","TUIConversationService"],"mappings":";;;AAMa,MAAA,WAAW,CAAC,YAAoC;AAK3DA,eAAA,WAAW,KAAK;AAKhB,QAAM,EAAE,KAAA,IAASC,cAAA,EAAS,WAAW;AACrC,MAAI,WAAW,QAAQ,mBAAkB,6BAAM,YAAW;AAClD,UAAA,EAAE,eAAmB,IAAA;AAEvB,QAAA,CAAC,eAAe,WAAW,KAAK,KAAK,CAAC,eAAe,WAAW,OAAO,GAAG;AAC/DC,oBAAAA,MAAA,MAAA,QAAA,sDAAA,yCAAyC;AACtD;AAAA,IACF;AAEAC,qBAAuB,mBAAmB,cAAc;AAAA,EAC1D;AACF;AAEa,MAAA,SAAS,CAAC,SAAkB;AACvC,MAAI,MAAM;AACR,WAAOF,cAAAA,EAAS;EAClB;AACA,SAAO,QAAQ;AACjB;;;"}
|
||||
{"version":3,"file":"entry-chat-only.js","sources":["TUIKit/components/TUIChat/entry-chat-only.ts"],"sourcesContent":["import { TUILogin } from '@tencentcloud/tui-core';\r\nimport { TUIConversationService } from '@tencentcloud/chat-uikit-engine';\r\n// #ifdef MP-WEIXIN\r\nimport { TUIChatKit } from '../../index.ts';\r\n// #endif\r\n\r\nexport const initChat = (options: Record<string, string>) => {\r\n // #ifdef MP-WEIXIN\r\n // uni-app packages the mini program.\r\n // If you call TUIChatKit.init() directly during import, an error will be reported.\r\n // You need to init during the page onLoad.\r\n TUIChatKit.init();\r\n // #endif\r\n\r\n // When opening TUIChat, the options and options.conversationID parameters carried in the url,\r\n // determine whether to enter the Chat from the [Conversation List] or [Online Communication].\r\n const { chat } = TUILogin.getContext();\r\n if (options && options.conversationID && chat?.isReady()) {\r\n const { conversationID } = options;\r\n // verify conversationID\r\n if (!conversationID.startsWith('C2C') && !conversationID.startsWith('GROUP')) {\r\n console.warn('conversationID from options is invalid.');\r\n return;\r\n }\r\n // open chat\r\n TUIConversationService.switchConversation(conversationID);\r\n }\r\n};\r\n\r\nexport const logout = (flag: boolean) => {\r\n if (flag) {\r\n return TUILogin.logout();\r\n }\r\n return Promise.resolve();\r\n};\r\n"],"names":["TUIChatKit","TUILogin","uni","TUIConversationService"],"mappings":";;;AAMa,MAAA,WAAW,CAAC,YAAoC;AAK3DA,eAAA,WAAW,KAAK;AAKhB,QAAM,EAAE,KAAA,IAASC,cAAA,EAAS,WAAW;AACrC,MAAI,WAAW,QAAQ,mBAAkB,6BAAM,YAAW;AAClD,UAAA,EAAE,eAAmB,IAAA;AAEvB,QAAA,CAAC,eAAe,WAAW,KAAK,KAAK,CAAC,eAAe,WAAW,OAAO,GAAG;AAC/DC,oBAAAA,MAAA,MAAA,QAAA,sDAAA,yCAAyC;AACtD;AAAA,IACF;AAEAC,qBAAuB,mBAAmB,cAAc;AAAA,EAC1D;AACF;AAEa,MAAA,SAAS,CAAC,SAAkB;AACvC,MAAI,MAAM;AACR,WAAOF,cAAAA,EAAS;EAClB;AACA,SAAO,QAAQ;AACjB;;;"}
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","sources":["TUIKit/components/TUIChat/index.vue?type=page"],"sourcesContent":["import MiniProgramPage from '/Users/plw/Documents/outsource/tk-mini-program/TUIKit/components/TUIChat/index.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,wBAAe,iBAAA;"}
|
||||
{"version":3,"file":"index.js","sources":["../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/VFVJS2l0XGNvbXBvbmVudHNcVFVJQ2hhdFxpbmRleC52dWU"],"sourcesContent":["import MiniProgramPage from 'D:/项目/tk-mini-program/TUIKit/components/TUIChat/index.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,wBAAe,iBAAA;"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"popupinvite.js","sources":["TUIKit/components/TUIChat/message-input-toolbar/evaluate/popupinvite.vue","/Users/plw/Documents/outsource/tk-mini-program/TUIKit/components/TUIChat/message-input-toolbar/evaluate/popupinvite.vue?type=component"],"sourcesContent":["<template>\n <uni-popup class=\"popupcss\" ref=\"popup\" type=\"center\" border-radius=\"10px 10px 0 0\">\n <view class=\"popup-content\">\n <view class=\"popup-title\">\n <view class=\"popup-text\">点击选择您要参与的主播</view>\n <view v-if=\"list.length !== 0\">\n <scroll-view show-scrollbar=\"false\" scroll-y=\"true\" class=\"scroll\">\n <view class=\"card\" v-for=\"(item, index) in list\" :key=\"index\">\n <view\n class=\"card-content\"\n @click=\"Select(item.id, index)\"\n :style=\"{\n background: selectedId === item.id ? '#b8ff8c74' : '#ffffff',\n }\"\n >\n <view class=\"Avatarimg\">\n <image class=\"avatar\" :src=\"item.anchorIcon\" mode=\"scaleToFill\" />\n </view>\n <view class=\"NameMoney\">\n <view class=\"TimeMoney\">\n <view class=\"NameMoney_Name\">{{ item.anchorId }}</view>\n </view>\n <view class=\"TimeMoney_Time\">\n <view class=\"pkTimeimg\">\n <image\n style=\"width: 31.49rpx; height: 31.49rpx; margin-top: 3rpx\"\n src=\"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png\"\n mode=\"scaleToFill\"\n />\n </view>\n <!-- <view>{{ TimeFormatting(item.pkTime) }}</view> -->\n <view class=\"goldimg\">\n <image\n style=\"width: 31.49rpx; height: 31.49rpx; margin-top: 4rpx\"\n src=\"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png\"\n mode=\"scaleToFill\"\n />\n </view>\n <view class=\"goldnb\">{{ item.coin }}K</view>\n </view>\n </view>\n </view>\n </view>\n </scroll-view>\n </view>\n <view class=\"noData\" v-if=\"list.length === 0\"\n >您还没有可参与的主播PK,快去新建一个吧!</view\n >\n </view>\n <view class=\"popup-btn\">\n <button class=\"invite\" type=\"primary\" @click=\"invite()\">邀请</button>\n <button class=\"cancel\" type=\"default\" @click=\"close()\">取消</button>\n </view>\n </view>\n </uni-popup>\n</template>\n\n<script>\nexport default {\n data() {\n return {\n title: \"Hello\",\n };\n },\n onLoad() {\n // 页面加载时执行\n },\n methods: {\n //确定邀请\n invite() {},\n //关闭弹窗\n close() {\n popup.value.close();\n },\n },\n};\n</script>\n\n<style scoped>\n/* 样式定义 */\n</style>\n","import Component from '/Users/plw/Documents/outsource/tk-mini-program/TUIKit/components/TUIChat/message-input-toolbar/evaluate/popupinvite.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;AA0DA,MAAK,YAAU;AAAA,EACb,OAAO;AACL,WAAO;AAAA,MACL,OAAO;AAAA;EAEV;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA;AAAA,IAEP,SAAS;AAAA,IAAE;AAAA;AAAA,IAEX,QAAQ;AACN,YAAM,MAAM;IACb;AAAA,EACF;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC1EA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"popupinvite.js","sources":["TUIKit/components/TUIChat/message-input-toolbar/evaluate/popupinvite.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9UVUlLaXQvY29tcG9uZW50cy9UVUlDaGF0L21lc3NhZ2UtaW5wdXQtdG9vbGJhci9ldmFsdWF0ZS9wb3B1cGludml0ZS52dWU"],"sourcesContent":["<template>\r\n <uni-popup class=\"popupcss\" ref=\"popup\" type=\"center\" border-radius=\"10px 10px 0 0\">\r\n <view class=\"popup-content\">\r\n <view class=\"popup-title\">\r\n <view class=\"popup-text\">点击选择您要参与的主播</view>\r\n <view v-if=\"list.length !== 0\">\r\n <scroll-view show-scrollbar=\"false\" scroll-y=\"true\" class=\"scroll\">\r\n <view class=\"card\" v-for=\"(item, index) in list\" :key=\"index\">\r\n <view\r\n class=\"card-content\"\r\n @click=\"Select(item.id, index)\"\r\n :style=\"{\r\n background: selectedId === item.id ? '#b8ff8c74' : '#ffffff',\r\n }\"\r\n >\r\n <view class=\"Avatarimg\">\r\n <image class=\"avatar\" :src=\"item.anchorIcon\" mode=\"scaleToFill\" />\r\n </view>\r\n <view class=\"NameMoney\">\r\n <view class=\"TimeMoney\">\r\n <view class=\"NameMoney_Name\">{{ item.anchorId }}</view>\r\n </view>\r\n <view class=\"TimeMoney_Time\">\r\n <view class=\"pkTimeimg\">\r\n <image\r\n style=\"width: 31.49rpx; height: 31.49rpx; margin-top: 3rpx\"\r\n src=\"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png\"\r\n mode=\"scaleToFill\"\r\n />\r\n </view>\r\n <!-- <view>{{ TimeFormatting(item.pkTime) }}</view> -->\r\n <view class=\"goldimg\">\r\n <image\r\n style=\"width: 31.49rpx; height: 31.49rpx; margin-top: 4rpx\"\r\n src=\"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png\"\r\n mode=\"scaleToFill\"\r\n />\r\n </view>\r\n <view class=\"goldnb\">{{ item.coin }}K</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </scroll-view>\r\n </view>\r\n <view class=\"noData\" v-if=\"list.length === 0\"\r\n >您还没有可参与的主播PK,快去新建一个吧!</view\r\n >\r\n </view>\r\n <view class=\"popup-btn\">\r\n <button class=\"invite\" type=\"primary\" @click=\"invite()\">邀请</button>\r\n <button class=\"cancel\" type=\"default\" @click=\"close()\">取消</button>\r\n </view>\r\n </view>\r\n </uni-popup>\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 //确定邀请\r\n invite() {},\r\n //关闭弹窗\r\n close() {\r\n popup.value.close();\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n/* 样式定义 */\r\n</style>\r\n","import Component from 'D:/项目/tk-mini-program/TUIKit/components/TUIChat/message-input-toolbar/evaluate/popupinvite.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;AA0DA,MAAK,YAAU;AAAA,EACb,OAAO;AACL,WAAO;AAAA,MACL,OAAO;AAAA;EAEV;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA;AAAA,IAEP,SAAS;AAAA,IAAE;AAAA;AAAA,IAEX,QAAQ;AACN,YAAM,MAAM;IACb;AAAA,EACF;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC1EA,GAAG,gBAAgB,SAAS;"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","sources":["TUIKit/components/TUIChat/message-input-toolbar/words/index.vue","/Users/plw/Documents/outsource/tk-mini-program/TUIKit/components/TUIChat/message-input-toolbar/words/index.vue?type=component"],"sourcesContent":["<template>\n <ToolbarItemContainer\n ref=\"container\"\n :iconFile=\"wordsIcon\"\n title=\"常用语\"\n :needBottomPopup=\"true\"\n :iconWidth=\"isUniFrameWork ? '26px' : '20px'\"\n :iconHeight=\"isUniFrameWork ? '26px' : '20px'\"\n @onDialogShow=\"onDialogShow\"\n @onDialogClose=\"onDialogClose\"\n >\n <div :class=\"['words', !isPC && 'words-h5']\">\n <div :class=\"['words-header', !isPC && 'words-h5-header']\">\n <span :class=\"['words-header-title', !isPC && 'words-h5-header-title']\">\n {{ TUITranslateService.t(\"Words.常用语-快捷回复工具\") }}\n </span>\n <span\n v-if=\"!isPC\"\n :class=\"['words-header-close', !isPC && 'words-h5-header-close']\"\n @click=\"closeDialog\"\n >\n 关闭\n </span>\n </div>\n <ul :class=\"['words-list', !isPC && 'words-h5-list']\">\n <li\n v-for=\"(item, index) in wordsList\"\n :key=\"index\"\n :class=\"['words-list-item', !isPC && 'words-h5-list-item']\"\n @click=\"selectWord(item)\"\n >\n {{ TUITranslateService.t(`Words.${item.value}`) }}\n </li>\n </ul>\n </div>\n </ToolbarItemContainer>\n</template>\n<script setup lang=\"ts\">\nimport {\n TUITranslateService,\n TUIStore,\n StoreName,\n IConversationModel,\n SendMessageParams,\n TUIChatService,\n} from '@tencentcloud/chat-uikit-engine';\nimport { ref } from '../../../../adapter-vue';\nimport ToolbarItemContainer from '../toolbar-item-container/index.vue';\nimport wordsIconLight from '../../../../assets/icon/words-light.svg';\nimport wordsIconDark from '../../../../assets/icon/words-dark.svg';\nimport { wordsList } from '../../utils/wordsList';\nimport { isEnabledMessageReadReceiptGlobal } from '../../utils/utils';\nimport { isPC, isUniFrameWork } from '../../../../utils/env';\nimport TUIChatConfig from '../../config';\n\nconst wordsIcon = TUIChatConfig.getTheme() === 'dark' ? wordsIconDark : wordsIconLight;\nconst emits = defineEmits(['onDialogPopupShowOrHide']);\nconst currentConversation = ref<IConversationModel>();\nconst container = ref();\n\nTUIStore.watch(StoreName.CONV, {\n currentConversation: (conversation: IConversationModel) => {\n currentConversation.value = conversation;\n },\n});\n\nconst selectWord = (item: any) => {\n const options = {\n to:\n currentConversation?.value?.groupProfile?.groupID\n || currentConversation?.value?.userProfile?.userID,\n conversationType: currentConversation?.value?.type,\n payload: {\n text: TUITranslateService.t(`Words.${item.value}`),\n },\n needReadReceipt: isEnabledMessageReadReceiptGlobal(),\n } as SendMessageParams;\n TUIChatService.sendTextMessage(options);\n // close dialog after submit evaluate\n container?.value?.toggleDialogDisplay(false);\n};\n\nconst closeDialog = () => {\n container?.value?.toggleDialogDisplay(false);\n};\n\nconst onDialogShow = () => {\n emits('onDialogPopupShowOrHide', true);\n};\n\nconst onDialogClose = () => {\n emits('onDialogPopupShowOrHide', false);\n};\n</script>\n<style scoped lang=\"scss\" src=\"./style/index.scss\"></style>\n","import Component from '/Users/plw/Documents/outsource/tk-mini-program/TUIKit/components/TUIChat/message-input-toolbar/words/index.vue'\nwx.createComponent(Component)"],"names":["TUIChatConfig","wordsIconDark","wordsIconLight","ref","TUIStore","StoreName","TUITranslateService","isEnabledMessageReadReceiptGlobal","TUIChatService"],"mappings":";;;;;;;;;;;AA+CA,MAAA,uBAAiC,MAAA;;;;;AAQjC,UAAM,YAAYA,iCAAAA,WAAc,SAAS,MAAM,SAASC,cAAgB,gBAAAC;AACxE,UAAM,QAAQ;AACd,UAAM,sBAAsBC,cAAAA;AAC5B,UAAM,YAAYA,cAAAA;AAETC,qBAAA,MAAMC,gBAAU,MAAM;AAAA,MAC7B,qBAAqB,CAAC,iBAAqC;AACzD,4BAAoB,QAAQ;AAAA,MAC9B;AAAA,IAAA,CACD;AAEK,UAAA,aAAa,CAAC,SAAc;;AAChC,YAAM,UAAU;AAAA,QACd,MACE,sEAAqB,UAArB,mBAA4B,iBAA5B,mBAA0C,cACvC,sEAAqB,UAArB,mBAA4B,gBAA5B,mBAAyC;AAAA,QAC9C,mBAAkB,gEAAqB,UAArB,mBAA4B;AAAA,QAC9C,SAAS;AAAA,UACP,MAAMC,cAAoB,GAAA,EAAE,SAAS,KAAK,KAAK,EAAE;AAAA,QACnD;AAAA,QACA,iBAAiBC,sCAAAA,kCAAkC;AAAA,MAAA;AAErDC,uBAAe,gBAAgB,OAAO;AAE3B,mDAAA,UAAA,mBAAO,oBAAoB;AAAA,IAAK;AAG7C,UAAM,cAAc,MAAM;;AACb,mDAAA,UAAA,mBAAO,oBAAoB;AAAA,IAAK;AAG7C,UAAM,eAAe,MAAM;AACzB,YAAM,2BAA2B,IAAI;AAAA,IAAA;AAGvC,UAAM,gBAAgB,MAAM;AAC1B,YAAM,2BAA2B,KAAK;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC1FxC,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"index.js","sources":["TUIKit/components/TUIChat/message-input-toolbar/words/index.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9UVUlLaXQvY29tcG9uZW50cy9UVUlDaGF0L21lc3NhZ2UtaW5wdXQtdG9vbGJhci93b3Jkcy9pbmRleC52dWU"],"sourcesContent":["<template>\r\n <ToolbarItemContainer\r\n ref=\"container\"\r\n :iconFile=\"wordsIcon\"\r\n title=\"常用语\"\r\n :needBottomPopup=\"true\"\r\n :iconWidth=\"isUniFrameWork ? '26px' : '20px'\"\r\n :iconHeight=\"isUniFrameWork ? '26px' : '20px'\"\r\n @onDialogShow=\"onDialogShow\"\r\n @onDialogClose=\"onDialogClose\"\r\n >\r\n <div :class=\"['words', !isPC && 'words-h5']\">\r\n <div :class=\"['words-header', !isPC && 'words-h5-header']\">\r\n <span :class=\"['words-header-title', !isPC && 'words-h5-header-title']\">\r\n {{ TUITranslateService.t(\"Words.常用语-快捷回复工具\") }}\r\n </span>\r\n <span\r\n v-if=\"!isPC\"\r\n :class=\"['words-header-close', !isPC && 'words-h5-header-close']\"\r\n @click=\"closeDialog\"\r\n >\r\n 关闭\r\n </span>\r\n </div>\r\n <ul :class=\"['words-list', !isPC && 'words-h5-list']\">\r\n <li\r\n v-for=\"(item, index) in wordsList\"\r\n :key=\"index\"\r\n :class=\"['words-list-item', !isPC && 'words-h5-list-item']\"\r\n @click=\"selectWord(item)\"\r\n >\r\n {{ TUITranslateService.t(`Words.${item.value}`) }}\r\n </li>\r\n </ul>\r\n </div>\r\n </ToolbarItemContainer>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport {\r\n TUITranslateService,\r\n TUIStore,\r\n StoreName,\r\n IConversationModel,\r\n SendMessageParams,\r\n TUIChatService,\r\n} from '@tencentcloud/chat-uikit-engine';\r\nimport { ref } from '../../../../adapter-vue';\r\nimport ToolbarItemContainer from '../toolbar-item-container/index.vue';\r\nimport wordsIconLight from '../../../../assets/icon/words-light.svg';\r\nimport wordsIconDark from '../../../../assets/icon/words-dark.svg';\r\nimport { wordsList } from '../../utils/wordsList';\r\nimport { isEnabledMessageReadReceiptGlobal } from '../../utils/utils';\r\nimport { isPC, isUniFrameWork } from '../../../../utils/env';\r\nimport TUIChatConfig from '../../config';\r\n\r\nconst wordsIcon = TUIChatConfig.getTheme() === 'dark' ? wordsIconDark : wordsIconLight;\r\nconst emits = defineEmits(['onDialogPopupShowOrHide']);\r\nconst currentConversation = ref<IConversationModel>();\r\nconst container = ref();\r\n\r\nTUIStore.watch(StoreName.CONV, {\r\n currentConversation: (conversation: IConversationModel) => {\r\n currentConversation.value = conversation;\r\n },\r\n});\r\n\r\nconst selectWord = (item: any) => {\r\n const options = {\r\n to:\r\n currentConversation?.value?.groupProfile?.groupID\r\n || currentConversation?.value?.userProfile?.userID,\r\n conversationType: currentConversation?.value?.type,\r\n payload: {\r\n text: TUITranslateService.t(`Words.${item.value}`),\r\n },\r\n needReadReceipt: isEnabledMessageReadReceiptGlobal(),\r\n } as SendMessageParams;\r\n TUIChatService.sendTextMessage(options);\r\n // close dialog after submit evaluate\r\n container?.value?.toggleDialogDisplay(false);\r\n};\r\n\r\nconst closeDialog = () => {\r\n container?.value?.toggleDialogDisplay(false);\r\n};\r\n\r\nconst onDialogShow = () => {\r\n emits('onDialogPopupShowOrHide', true);\r\n};\r\n\r\nconst onDialogClose = () => {\r\n emits('onDialogPopupShowOrHide', false);\r\n};\r\n</script>\r\n<style scoped lang=\"scss\" src=\"./style/index.scss\"></style>\r\n","import Component from 'D:/项目/tk-mini-program/TUIKit/components/TUIChat/message-input-toolbar/words/index.vue'\nwx.createComponent(Component)"],"names":["TUIChatConfig","wordsIconDark","wordsIconLight","ref","TUIStore","StoreName","TUITranslateService","isEnabledMessageReadReceiptGlobal","TUIChatService"],"mappings":";;;;;;;;;;;AA+CA,MAAA,uBAAiC,MAAA;;;;;AAQjC,UAAM,YAAYA,iCAAAA,WAAc,SAAS,MAAM,SAASC,cAAgB,gBAAAC;AACxE,UAAM,QAAQ;AACd,UAAM,sBAAsBC,cAAAA;AAC5B,UAAM,YAAYA,cAAAA;AAETC,qBAAA,MAAMC,gBAAU,MAAM;AAAA,MAC7B,qBAAqB,CAAC,iBAAqC;AACzD,4BAAoB,QAAQ;AAAA,MAC9B;AAAA,IAAA,CACD;AAEK,UAAA,aAAa,CAAC,SAAc;;AAChC,YAAM,UAAU;AAAA,QACd,MACE,sEAAqB,UAArB,mBAA4B,iBAA5B,mBAA0C,cACvC,sEAAqB,UAArB,mBAA4B,gBAA5B,mBAAyC;AAAA,QAC9C,mBAAkB,gEAAqB,UAArB,mBAA4B;AAAA,QAC9C,SAAS;AAAA,UACP,MAAMC,cAAoB,GAAA,EAAE,SAAS,KAAK,KAAK,EAAE;AAAA,QACnD;AAAA,QACA,iBAAiBC,sCAAAA,kCAAkC;AAAA,MAAA;AAErDC,uBAAe,gBAAgB,OAAO;AAE3B,mDAAA,UAAA,mBAAO,oBAAoB;AAAA,IAAK;AAG7C,UAAM,cAAc,MAAM;;AACb,mDAAA,UAAA,mBAAO,oBAAoB;AAAA,IAAK;AAG7C,UAAM,eAAe,MAAM;AACzB,YAAM,2BAA2B,IAAI;AAAA,IAAA;AAGvC,UAAM,gBAAgB,MAAM;AAC1B,YAAM,2BAA2B,KAAK;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC1FxC,GAAG,gBAAgB,SAAS;"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","sources":["TUIKit/components/TUIChat/message-list/link/index.ts"],"sourcesContent":["const Link = {\n product: {\n label: '产品文档',\n url: 'https://cloud.tencent.com/document/product/269/1499#.E7.BE.A4.E7.BB.84.E5.8A.9F.E8.83.BD',\n },\n customMessage: {\n label: '自定义消息',\n url: 'https://web.sdk.qcloud.com/im/doc/zh-cn/SDK.html#createCustomMessage',\n },\n complaint: {\n label: '点此投诉',\n url: 'https://cloud.tencent.com/apply/p/xc3oaubi98g',\n },\n implement: {\n label: '集成TUICallKit',\n url: 'https://cloud.tencent.com/document/product/269/79861',\n },\n purchase: {\n label: '开通腾讯实时音视频服务',\n url: 'https://cloud.tencent.com/document/product/1640/79968',\n },\n};\nexport default Link;\n"],"names":[],"mappings":";AAAA,MAAM,OAAO;AAAA,EACX,SAAS;AAAA,IACP,OAAO;AAAA,IACP,KAAK;AAAA,EACP;AAAA,EACA,eAAe;AAAA,IACb,OAAO;AAAA,IACP,KAAK;AAAA,EACP;AAAA,EACA,WAAW;AAAA,IACT,OAAO;AAAA,IACP,KAAK;AAAA,EACP;AAAA,EACA,WAAW;AAAA,IACT,OAAO;AAAA,IACP,KAAK;AAAA,EACP;AAAA,EACA,UAAU;AAAA,IACR,OAAO;AAAA,IACP,KAAK;AAAA,EACP;AACF;;"}
|
||||
{"version":3,"file":"index.js","sources":["TUIKit/components/TUIChat/message-list/link/index.ts"],"sourcesContent":["const Link = {\r\n product: {\r\n label: '产品文档',\r\n url: 'https://cloud.tencent.com/document/product/269/1499#.E7.BE.A4.E7.BB.84.E5.8A.9F.E8.83.BD',\r\n },\r\n customMessage: {\r\n label: '自定义消息',\r\n url: 'https://web.sdk.qcloud.com/im/doc/zh-cn/SDK.html#createCustomMessage',\r\n },\r\n complaint: {\r\n label: '点此投诉',\r\n url: 'https://cloud.tencent.com/apply/p/xc3oaubi98g',\r\n },\r\n implement: {\r\n label: '集成TUICallKit',\r\n url: 'https://cloud.tencent.com/document/product/269/79861',\r\n },\r\n purchase: {\r\n label: '开通腾讯实时音视频服务',\r\n url: 'https://cloud.tencent.com/document/product/1640/79968',\r\n },\r\n};\r\nexport default Link;\r\n"],"names":[],"mappings":";AAAA,MAAM,OAAO;AAAA,EACX,SAAS;AAAA,IACP,OAAO;AAAA,IACP,KAAK;AAAA,EACP;AAAA,EACA,eAAe;AAAA,IACb,OAAO;AAAA,IACP,KAAK;AAAA,EACP;AAAA,EACA,WAAW;AAAA,IACT,OAAO;AAAA,IACP,KAAK;AAAA,EACP;AAAA,EACA,WAAW;AAAA,IACT,OAAO;AAAA,IACP,KAAK;AAAA,EACP;AAAA,EACA,UAAU;AAAA,IACR,OAAO;AAAA,IACP,KAAK;AAAA,EACP;AACF;;"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"convert-content.js","sources":["TUIKit/components/TUIChat/message-list/message-elements/message-convert/convert-content.vue","/Users/plw/Documents/outsource/tk-mini-program/TUIKit/components/TUIChat/message-list/message-elements/message-convert/convert-content.vue?type=component"],"sourcesContent":["<template>\n <div class=\"message-convert-container\">\n <div\n v-if=\"convertFinished\"\n :class=\"{\n 'convert-content': true,\n 'occur': true,\n }\"\n >\n {{ convertText }}\n </div>\n <div\n :class=\"{\n 'loading': true,\n 'loading-end': convertFinished\n }\"\n >\n {{ TUITranslateService.t('TUIChat.转换中') }}...\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref, watch } from '../../../../../adapter-vue';\nimport {\n IMessageModel,\n TUITranslateService,\n} from '@tencentcloud/chat-uikit-engine';\nimport { convertor } from '../../../utils/convertVoiceToText';\n\ninterface IProps {\n message: IMessageModel;\n contentVisible: boolean;\n}\n\ninterface IEmits {\n (e: 'toggleErrorStatus', status: boolean): void;\n}\n\nconst emits = defineEmits<IEmits>();\nconst props = withDefaults(defineProps<IProps>(), {\n message: () => ({} as IMessageModel),\n isSingleConvert: false,\n});\n\nconst convertFinished = ref<boolean>(false);\nconst convertText = ref<string>('');\n\nwatch(() => props.contentVisible, (newVal: boolean) => {\n if (newVal) {\n convertor.get(props.message)\n .then((text) => {\n convertFinished.value = true;\n convertText.value = text;\n })\n .catch((err) => {\n convertFinished.value = true;\n emits('toggleErrorStatus', true);\n convertText.value = err.message;\n });\n }\n}, {\n immediate: true,\n});\n</script>\n\n<style lang=\"scss\" scoped>\n.message-convert-container {\n min-height: 20px;\n min-width: 80px;\n position: relative;\n transition: width 0.15s ease-out, height 0.15s ease-out, ;\n font-size: 14px;\n\n .loading {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 1;\n transition: opacity 0.3s ease-out;\n\n &.loading-end {\n opacity: 0;\n }\n }\n\n .convert-content {\n opacity: 0;\n\n &.occur {\n animation: occur 0.3s ease-out 0.45s forwards;\n\n @keyframes occur {\n 100% {\n opacity: 1;\n }\n }\n }\n }\n}\n</style>\n","import Component from '/Users/plw/Documents/outsource/tk-mini-program/TUIKit/components/TUIChat/message-list/message-elements/message-convert/convert-content.vue'\nwx.createComponent(Component)"],"names":["ref","watch","convertor"],"mappings":";;;;;;;;;;;;AAuCA,UAAM,QAAQ;AACd,UAAM,QAAQ;AAKR,UAAA,kBAAkBA,kBAAa,KAAK;AACpC,UAAA,cAAcA,kBAAY,EAAE;AAElCC,kBAAAA,MAAM,MAAM,MAAM,gBAAgB,CAAC,WAAoB;AACrD,UAAI,QAAQ;AACVC,2DAAA,UAAU,IAAI,MAAM,OAAO,EACxB,KAAK,CAAC,SAAS;AACd,0BAAgB,QAAQ;AACxB,sBAAY,QAAQ;AAAA,QAAA,CACrB,EACA,MAAM,CAAC,QAAQ;AACd,0BAAgB,QAAQ;AACxB,gBAAM,qBAAqB,IAAI;AAC/B,sBAAY,QAAQ,IAAI;AAAA,QAAA,CACzB;AAAA,MACL;AAAA,IAAA,GACC;AAAA,MACD,WAAW;AAAA,IAAA,CACZ;;;;;;;;;;;;;;AC9DD,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"convert-content.js","sources":["TUIKit/components/TUIChat/message-list/message-elements/message-convert/convert-content.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9UVUlLaXQvY29tcG9uZW50cy9UVUlDaGF0L21lc3NhZ2UtbGlzdC9tZXNzYWdlLWVsZW1lbnRzL21lc3NhZ2UtY29udmVydC9jb252ZXJ0LWNvbnRlbnQudnVl"],"sourcesContent":["<template>\r\n <div class=\"message-convert-container\">\r\n <div\r\n v-if=\"convertFinished\"\r\n :class=\"{\r\n 'convert-content': true,\r\n 'occur': true,\r\n }\"\r\n >\r\n {{ convertText }}\r\n </div>\r\n <div\r\n :class=\"{\r\n 'loading': true,\r\n 'loading-end': convertFinished\r\n }\"\r\n >\r\n {{ TUITranslateService.t('TUIChat.转换中') }}...\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\nimport { ref, watch } from '../../../../../adapter-vue';\r\nimport {\r\n IMessageModel,\r\n TUITranslateService,\r\n} from '@tencentcloud/chat-uikit-engine';\r\nimport { convertor } from '../../../utils/convertVoiceToText';\r\n\r\ninterface IProps {\r\n message: IMessageModel;\r\n contentVisible: boolean;\r\n}\r\n\r\ninterface IEmits {\r\n (e: 'toggleErrorStatus', status: boolean): void;\r\n}\r\n\r\nconst emits = defineEmits<IEmits>();\r\nconst props = withDefaults(defineProps<IProps>(), {\r\n message: () => ({} as IMessageModel),\r\n isSingleConvert: false,\r\n});\r\n\r\nconst convertFinished = ref<boolean>(false);\r\nconst convertText = ref<string>('');\r\n\r\nwatch(() => props.contentVisible, (newVal: boolean) => {\r\n if (newVal) {\r\n convertor.get(props.message)\r\n .then((text) => {\r\n convertFinished.value = true;\r\n convertText.value = text;\r\n })\r\n .catch((err) => {\r\n convertFinished.value = true;\r\n emits('toggleErrorStatus', true);\r\n convertText.value = err.message;\r\n });\r\n }\r\n}, {\r\n immediate: true,\r\n});\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.message-convert-container {\r\n min-height: 20px;\r\n min-width: 80px;\r\n position: relative;\r\n transition: width 0.15s ease-out, height 0.15s ease-out, ;\r\n font-size: 14px;\r\n\r\n .loading {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n opacity: 1;\r\n transition: opacity 0.3s ease-out;\r\n\r\n &.loading-end {\r\n opacity: 0;\r\n }\r\n }\r\n\r\n .convert-content {\r\n opacity: 0;\r\n\r\n &.occur {\r\n animation: occur 0.3s ease-out 0.45s forwards;\r\n\r\n @keyframes occur {\r\n 100% {\r\n opacity: 1;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n</style>\r\n","import Component from 'D:/项目/tk-mini-program/TUIKit/components/TUIChat/message-list/message-elements/message-convert/convert-content.vue'\nwx.createComponent(Component)"],"names":["ref","watch","convertor"],"mappings":";;;;;;;;;;;;AAuCA,UAAM,QAAQ;AACd,UAAM,QAAQ;AAKR,UAAA,kBAAkBA,kBAAa,KAAK;AACpC,UAAA,cAAcA,kBAAY,EAAE;AAElCC,kBAAAA,MAAM,MAAM,MAAM,gBAAgB,CAAC,WAAoB;AACrD,UAAI,QAAQ;AACVC,2DAAA,UAAU,IAAI,MAAM,OAAO,EACxB,KAAK,CAAC,SAAS;AACd,0BAAgB,QAAQ;AACxB,sBAAY,QAAQ;AAAA,QAAA,CACrB,EACA,MAAM,CAAC,QAAQ;AACd,0BAAgB,QAAQ;AACxB,gBAAM,qBAAqB,IAAI;AAC/B,sBAAY,QAAQ,IAAI;AAAA,QAAA,CACzB;AAAA,MACL;AAAA,IAAA,GACC;AAAA,MACD,WAAW;AAAA,IAAA,CACZ;;;;;;;;;;;;;;AC9DD,GAAG,gBAAgB,SAAS;"}
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","sources":["TUIKit/components/TUIChat/message-list/message-elements/message-convert/index.vue","/Users/plw/Documents/outsource/tk-mini-program/TUIKit/components/TUIChat/message-list/message-elements/message-convert/index.vue?type=component"],"sourcesContent":["<template>\n <div\n v-if=\"convertVisible\"\n ref=\"convertWrapperRef\"\n :class=\"{\n 'message-convert': true,\n 'reverse': props.message.flow === 'out',\n 'error': hasConvertError,\n }\"\n >\n <ConvertContent\n :message=\"props.message\"\n :contentVisible=\"convertVisible\"\n :isSingleConvert=\"isSingleConvert\"\n :convertWrapperRef=\"convertWrapperRef\"\n @toggleErrorStatus=\"toggleErrorStatus\"\n />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref, onMounted, onUnmounted } from '../../../../../adapter-vue';\nimport {\n TUIStore,\n StoreName,\n IMessageModel,\n} from '@tencentcloud/chat-uikit-engine';\nimport ConvertContent from './convert-content.vue';\nimport { IConvertInfo } from '../../../../../interface';\n\ninterface IProps {\n message: IMessageModel;\n}\n\nconst props = withDefaults(defineProps<IProps>(), {\n message: () => ({} as IMessageModel),\n});\n\nconst convertVisible = ref<boolean>(false);\nconst hasConvertError = ref<boolean>(false);\nconst convertWrapperRef = ref<HTMLDivElement>();\n\nlet isSingleConvert = true;\n\nonMounted(() => {\n TUIStore.watch(StoreName.CHAT, {\n voiceToTextInfo: onMessageConvertUpdated,\n });\n});\n\nonUnmounted(() => {\n TUIStore.unwatch(StoreName.CHAT, {\n voiceToTextInfo: onMessageConvertUpdated,\n });\n});\n\nfunction toggleErrorStatus(hasError: boolean) {\n hasConvertError.value = hasError;\n}\n\nfunction onMessageConvertUpdated(info: Map<string, IConvertInfo[]>) {\n if (info === undefined) return;\n isSingleConvert = false;\n const convertInfoList = info.get(props.message.conversationID) || [];\n for (let i = 0; i < convertInfoList.length; ++i) {\n const { messageID, visible } = convertInfoList[i];\n if (messageID === props.message.ID && visible !== undefined) {\n if (convertInfoList.length === 1 && visible) {\n isSingleConvert = true;\n }\n hasConvertError.value = false;\n convertVisible.value = visible;\n break;\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.message-convert {\n margin-top: 4px;\n margin-left: 44px;\n padding: 10px;\n background-color: #f2f7ff;\n border-radius: 10px;\n display: flex;\n flex-direction: column !important;\n transition: background-color 0.15s ease-out;\n\n &.error {\n background-color: #ffdfdf;\n }\n}\n\n.message-convert.reverse {\n margin-right: 44px;\n margin-left: auto;\n}\n</style>\n","import Component from '/Users/plw/Documents/outsource/tk-mini-program/TUIKit/components/TUIChat/message-list/message-elements/message-convert/index.vue'\nwx.createComponent(Component)"],"names":["ref","onMounted","TUIStore","StoreName","onUnmounted"],"mappings":";;;;;;AA2BA,MAAA,iBAA2B,MAAA;;;;;;;AAO3B,UAAM,QAAQ;AAIR,UAAA,iBAAiBA,kBAAa,KAAK;AACnC,UAAA,kBAAkBA,kBAAa,KAAK;AAC1C,UAAM,oBAAoBA,cAAAA;AAE1B,QAAI,kBAAkB;AAEtBC,kBAAAA,UAAU,MAAM;AACLC,uBAAA,MAAMC,gBAAU,MAAM;AAAA,QAC7B,iBAAiB;AAAA,MAAA,CAClB;AAAA,IAAA,CACF;AAEDC,kBAAAA,YAAY,MAAM;AACPF,uBAAA,QAAQC,gBAAU,MAAM;AAAA,QAC/B,iBAAiB;AAAA,MAAA,CAClB;AAAA,IAAA,CACF;AAED,aAAS,kBAAkB,UAAmB;AAC5C,sBAAgB,QAAQ;AAAA,IAC1B;AAEA,aAAS,wBAAwB,MAAmC;AAClE,UAAI,SAAS;AAAW;AACN,wBAAA;AAClB,YAAM,kBAAkB,KAAK,IAAI,MAAM,QAAQ,cAAc,KAAK;AAClE,eAAS,IAAI,GAAG,IAAI,gBAAgB,QAAQ,EAAE,GAAG;AAC/C,cAAM,EAAE,WAAW,QAAQ,IAAI,gBAAgB,CAAC;AAChD,YAAI,cAAc,MAAM,QAAQ,MAAM,YAAY,QAAW;AACvD,cAAA,gBAAgB,WAAW,KAAK,SAAS;AACzB,8BAAA;AAAA,UACpB;AACA,0BAAgB,QAAQ;AACxB,yBAAe,QAAQ;AACvB;AAAA,QACF;AAAA,MACF;AAAA,IACF;;;;;;;;;;;;;;;;;;;AC1EA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"index.js","sources":["TUIKit/components/TUIChat/message-list/message-elements/message-convert/index.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9UVUlLaXQvY29tcG9uZW50cy9UVUlDaGF0L21lc3NhZ2UtbGlzdC9tZXNzYWdlLWVsZW1lbnRzL21lc3NhZ2UtY29udmVydC9pbmRleC52dWU"],"sourcesContent":["<template>\r\n <div\r\n v-if=\"convertVisible\"\r\n ref=\"convertWrapperRef\"\r\n :class=\"{\r\n 'message-convert': true,\r\n 'reverse': props.message.flow === 'out',\r\n 'error': hasConvertError,\r\n }\"\r\n >\r\n <ConvertContent\r\n :message=\"props.message\"\r\n :contentVisible=\"convertVisible\"\r\n :isSingleConvert=\"isSingleConvert\"\r\n :convertWrapperRef=\"convertWrapperRef\"\r\n @toggleErrorStatus=\"toggleErrorStatus\"\r\n />\r\n </div>\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\nimport { ref, onMounted, onUnmounted } from '../../../../../adapter-vue';\r\nimport {\r\n TUIStore,\r\n StoreName,\r\n IMessageModel,\r\n} from '@tencentcloud/chat-uikit-engine';\r\nimport ConvertContent from './convert-content.vue';\r\nimport { IConvertInfo } from '../../../../../interface';\r\n\r\ninterface IProps {\r\n message: IMessageModel;\r\n}\r\n\r\nconst props = withDefaults(defineProps<IProps>(), {\r\n message: () => ({} as IMessageModel),\r\n});\r\n\r\nconst convertVisible = ref<boolean>(false);\r\nconst hasConvertError = ref<boolean>(false);\r\nconst convertWrapperRef = ref<HTMLDivElement>();\r\n\r\nlet isSingleConvert = true;\r\n\r\nonMounted(() => {\r\n TUIStore.watch(StoreName.CHAT, {\r\n voiceToTextInfo: onMessageConvertUpdated,\r\n });\r\n});\r\n\r\nonUnmounted(() => {\r\n TUIStore.unwatch(StoreName.CHAT, {\r\n voiceToTextInfo: onMessageConvertUpdated,\r\n });\r\n});\r\n\r\nfunction toggleErrorStatus(hasError: boolean) {\r\n hasConvertError.value = hasError;\r\n}\r\n\r\nfunction onMessageConvertUpdated(info: Map<string, IConvertInfo[]>) {\r\n if (info === undefined) return;\r\n isSingleConvert = false;\r\n const convertInfoList = info.get(props.message.conversationID) || [];\r\n for (let i = 0; i < convertInfoList.length; ++i) {\r\n const { messageID, visible } = convertInfoList[i];\r\n if (messageID === props.message.ID && visible !== undefined) {\r\n if (convertInfoList.length === 1 && visible) {\r\n isSingleConvert = true;\r\n }\r\n hasConvertError.value = false;\r\n convertVisible.value = visible;\r\n break;\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.message-convert {\r\n margin-top: 4px;\r\n margin-left: 44px;\r\n padding: 10px;\r\n background-color: #f2f7ff;\r\n border-radius: 10px;\r\n display: flex;\r\n flex-direction: column !important;\r\n transition: background-color 0.15s ease-out;\r\n\r\n &.error {\r\n background-color: #ffdfdf;\r\n }\r\n}\r\n\r\n.message-convert.reverse {\r\n margin-right: 44px;\r\n margin-left: auto;\r\n}\r\n</style>\r\n","import Component from 'D:/项目/tk-mini-program/TUIKit/components/TUIChat/message-list/message-elements/message-convert/index.vue'\nwx.createComponent(Component)"],"names":["ref","onMounted","TUIStore","StoreName","onUnmounted"],"mappings":";;;;;;AA2BA,MAAA,iBAA2B,MAAA;;;;;;;AAO3B,UAAM,QAAQ;AAIR,UAAA,iBAAiBA,kBAAa,KAAK;AACnC,UAAA,kBAAkBA,kBAAa,KAAK;AAC1C,UAAM,oBAAoBA,cAAAA;AAE1B,QAAI,kBAAkB;AAEtBC,kBAAAA,UAAU,MAAM;AACLC,uBAAA,MAAMC,gBAAU,MAAM;AAAA,QAC7B,iBAAiB;AAAA,MAAA,CAClB;AAAA,IAAA,CACF;AAEDC,kBAAAA,YAAY,MAAM;AACPF,uBAAA,QAAQC,gBAAU,MAAM;AAAA,QAC/B,iBAAiB;AAAA,MAAA,CAClB;AAAA,IAAA,CACF;AAED,aAAS,kBAAkB,UAAmB;AAC5C,sBAAgB,QAAQ;AAAA,IAC1B;AAEA,aAAS,wBAAwB,MAAmC;AAClE,UAAI,SAAS;AAAW;AACN,wBAAA;AAClB,YAAM,kBAAkB,KAAK,IAAI,MAAM,QAAQ,cAAc,KAAK;AAClE,eAAS,IAAI,GAAG,IAAI,gBAAgB,QAAQ,EAAE,GAAG;AAC/C,cAAM,EAAE,WAAW,QAAQ,IAAI,gBAAgB,CAAC;AAChD,YAAI,cAAc,MAAM,QAAQ,MAAM,YAAY,QAAW;AACvD,cAAA,gBAAgB,WAAW,KAAK,SAAS;AACzB,8BAAA;AAAA,UACpB;AACA,0BAAgB,QAAQ;AACxB,yBAAe,QAAQ;AACvB;AAAA,QACF;AAAA,MACF;AAAA,IACF;;;;;;;;;;;;;;;;;;;AC1EA,GAAG,gBAAgB,SAAS;"}
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"message-face.js","sources":["TUIKit/components/TUIChat/message-list/message-elements/message-face.vue","/Users/plw/Documents/outsource/tk-mini-program/TUIKit/components/TUIChat/message-list/message-elements/message-face.vue?type=component"],"sourcesContent":["<template>\n <div\n class=\"message-image\"\n >\n <img\n mode=\"aspectFit\"\n class=\"message-image\"\n :src=\"url\"\n >\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref, onMounted } from '../../../../adapter-vue';\nimport { CUSTOM_BIG_EMOJI_URL } from '../../emoji-config';\n\nconst props = defineProps({\n content: {\n type: Object,\n default: () => ({}),\n },\n});\n\nconst url = ref(props.content.url);\n\nonMounted(() => {\n if (props.content.type === 'custom') {\n if (!CUSTOM_BIG_EMOJI_URL) {\n uni.__f__('warn','at TUIKit/components/TUIChat/message-list/message-elements/message-face.vue:29','CUSTOM_BIG_EMOJI_URL is required for custom emoji, please check your CUSTOM_BIG_EMOJI_URL.');\n } else {\n url.value = CUSTOM_BIG_EMOJI_URL + props.content.name;\n }\n }\n});\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"../../../../assets/styles/common\";\n\n.message-image {\n width: 80px;\n height: 80px;\n}\n</style>\n","import Component from '/Users/plw/Documents/outsource/tk-mini-program/TUIKit/components/TUIChat/message-list/message-elements/message-face.vue'\nwx.createComponent(Component)"],"names":["ref","onMounted","uni"],"mappings":";;;;;;;;;;;;;AAgBA,UAAM,QAAQ;AAOd,UAAM,MAAMA,cAAA,IAAI,MAAM,QAAQ,GAAG;AAEjCC,kBAAAA,UAAU,MAAM;AACV,UAAA,MAAM,QAAQ,SAAS,UAAU;AACR;AACrBC,wBAAAA,MAAA,MAAM,QAAO,kFAAiF,4FAA4F;AAAA,QAGhM;AAAA,MACF;AAAA,IAAA,CACD;;;;;;;;;AChCD,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"message-face.js","sources":["TUIKit/components/TUIChat/message-list/message-elements/message-face.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9UVUlLaXQvY29tcG9uZW50cy9UVUlDaGF0L21lc3NhZ2UtbGlzdC9tZXNzYWdlLWVsZW1lbnRzL21lc3NhZ2UtZmFjZS52dWU"],"sourcesContent":["<template>\r\n <div\r\n class=\"message-image\"\r\n >\r\n <img\r\n mode=\"aspectFit\"\r\n class=\"message-image\"\r\n :src=\"url\"\r\n >\r\n </div>\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\nimport { ref, onMounted } from '../../../../adapter-vue';\r\nimport { CUSTOM_BIG_EMOJI_URL } from '../../emoji-config';\r\n\r\nconst props = defineProps({\r\n content: {\r\n type: Object,\r\n default: () => ({}),\r\n },\r\n});\r\n\r\nconst url = ref(props.content.url);\r\n\r\nonMounted(() => {\r\n if (props.content.type === 'custom') {\r\n if (!CUSTOM_BIG_EMOJI_URL) {\r\n uni.__f__('warn','at TUIKit/components/TUIChat/message-list/message-elements/message-face.vue:29','CUSTOM_BIG_EMOJI_URL is required for custom emoji, please check your CUSTOM_BIG_EMOJI_URL.');\r\n } else {\r\n url.value = CUSTOM_BIG_EMOJI_URL + props.content.name;\r\n }\r\n }\r\n});\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n@import \"../../../../assets/styles/common\";\r\n\r\n.message-image {\r\n width: 80px;\r\n height: 80px;\r\n}\r\n</style>\r\n","import Component from 'D:/项目/tk-mini-program/TUIKit/components/TUIChat/message-list/message-elements/message-face.vue'\nwx.createComponent(Component)"],"names":["ref","onMounted","uni"],"mappings":";;;;;;;;;;;;;;AAgBA,UAAM,QAAQ;AAOd,UAAM,MAAMA,cAAA,IAAI,MAAM,QAAQ,GAAG;AAEjCC,kBAAAA,UAAU,MAAM;AACV,UAAA,MAAM,QAAQ,SAAS,UAAU;AACR;AACrBC,wBAAAA,MAAA,MAAM,QAAO,kFAAiF,4FAA4F;AAAA,QAGhM;AAAA,MACF;AAAA,IAAA,CACD;;;;;;;;;AChCD,GAAG,gBAAgB,SAAS;"}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user