忽略 unpackage 目录
This commit is contained in:
parent
efe578cf0b
commit
a7ae41b3bc
1
.idea/.gitignore
vendored
1
.idea/.gitignore
vendored
@ -6,3 +6,4 @@
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
unpackage
|
||||
|
||||
@ -73,5 +73,14 @@
|
||||
"uniStatistics" : {
|
||||
"enable" : false
|
||||
},
|
||||
"vueVersion" : "3"
|
||||
"vueVersion" : "3",
|
||||
"h5" : {
|
||||
"router" : {
|
||||
"base" : "",
|
||||
"mode" : "hash"
|
||||
},
|
||||
"devServer" : {
|
||||
"https" : false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
107
pages/chat/ChatInputArea.vue
Normal file
107
pages/chat/ChatInputArea.vue
Normal file
@ -0,0 +1,107 @@
|
||||
<template>
|
||||
<view class="area-input">
|
||||
<!-- 发送语音 -->
|
||||
<view class="input-container-voice">
|
||||
<image src='/static/input_voice_icon.png'></image>
|
||||
</view>
|
||||
<!-- 输入框 -->
|
||||
<textarea
|
||||
class="textarea"
|
||||
type="text"
|
||||
placeholder="快速订票,呼叫服务"
|
||||
cursor-spacing="65"
|
||||
confirm-type='done'
|
||||
v-model="inputMessage"
|
||||
@confirm="sendMessage"
|
||||
@touchend="handleNoHideKeyboard"
|
||||
:confirm-hold="true"
|
||||
auto-height
|
||||
:show-confirm-bar='false'
|
||||
:hold-keyboard="holdKeyboard"
|
||||
maxlength="300"
|
||||
/>
|
||||
<view class="input-container-send" @click="sendMessage">
|
||||
<image src='/static/input_send_icon.png'></image>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, watch } from 'vue'
|
||||
|
||||
const props = defineProps({
|
||||
inputMessage: String,
|
||||
holdKeyboard: Boolean
|
||||
})
|
||||
const emit = defineEmits(['update:inputMessage', 'send', 'noHideKeyboard'])
|
||||
|
||||
const inputMessage = ref(props.inputMessage || '')
|
||||
|
||||
// 保持和父组件同步
|
||||
watch(() => props.inputMessage, (val) => {
|
||||
inputMessage.value = val
|
||||
})
|
||||
|
||||
const sendMessage = () => {
|
||||
if (!inputMessage.value.trim()) return;
|
||||
emit('send', inputMessage.value)
|
||||
inputMessage.value = ''
|
||||
emit('update:inputMessage', inputMessage.value)
|
||||
}
|
||||
|
||||
const handleNoHideKeyboard = () => {
|
||||
emit('noHideKeyboard')
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.area-input {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 22px;
|
||||
background-color: #FFFFFF;
|
||||
box-shadow: 0px 0px 20px 0px rgba(52,25,204,0.05);
|
||||
margin: 0 12px;
|
||||
|
||||
.input-container-voice {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
flex-shrink: 0;
|
||||
align-self: flex-end;
|
||||
|
||||
image {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
.input-container-send {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
flex-shrink: 0;
|
||||
align-self: flex-end;
|
||||
|
||||
image {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
.textarea {
|
||||
flex: 1;
|
||||
max-height: 92px;
|
||||
min-height: 22px;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
margin-bottom: 2px;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@ -1,19 +1,15 @@
|
||||
<template>
|
||||
<view class="chat-container" @touchend="handleTouchEnd">
|
||||
<!-- 顶部的背景 -->
|
||||
<chat-top-bg-img class="chat-container-bg"></chat-top-bg-img>
|
||||
|
||||
<!-- 顶部自定义导航栏 -->
|
||||
<view class="nav-bar-container" :style="{
|
||||
paddingTop: statusBarHeight + 'px',
|
||||
backgroundColor: navBgColor,
|
||||
}">
|
||||
<chat-top-nav-bar @openDrawer="openDrawer"></chat-top-nav-bar>
|
||||
</view>
|
||||
<ChatTopBgImg class="chat-container-bg"></ChatTopBgImg>
|
||||
|
||||
<view class="chat-container-msg-list">
|
||||
<!-- logo栏 -->
|
||||
<chat-top-banner class="chat-container-top-bannar"></chat-top-banner>
|
||||
<!-- 顶部自定义导航栏 -->
|
||||
<view class="nav-bar-container" :style="{
|
||||
paddingTop: statusBarHeight + 'px',
|
||||
}">
|
||||
<ChatTopNavBar @openDrawer="openDrawer"></ChatTopNavBar>
|
||||
</view>
|
||||
|
||||
<!-- 消息列表(可滚动区域) -->
|
||||
<scroll-view
|
||||
@ -22,17 +18,12 @@
|
||||
:scroll-with-animation="true"
|
||||
class="area-msg-list"
|
||||
>
|
||||
<!-- logo栏 -->
|
||||
<ChatTopBanner class="chat-container-top-bannar"></ChatTopBanner>
|
||||
|
||||
<view style="padding: 6px 12px;">
|
||||
<OneFeelMK001></OneFeelMK001>
|
||||
</view>
|
||||
<view style="padding: 6px 12px;">
|
||||
<OneFeelMK001></OneFeelMK001>
|
||||
</view>
|
||||
<view style="padding: 6px 12px;">
|
||||
<OneFeelMK001></OneFeelMK001>
|
||||
</view>
|
||||
|
||||
<ChatCardAI class="message-item message-item-ai" text="查信息、预定下单、探索玩法、呼叫服务、我通通可以满足,快试试问我问题吧!">
|
||||
|
||||
</ChatCardAI>
|
||||
|
||||
<view class="area-msg-list-content" v-for="item in chatMsgList" :key="item.msgId" :id="item.msgId">
|
||||
<template v-if="item.msgType === MessageRole.AI">
|
||||
@ -59,32 +50,12 @@
|
||||
<view class="footer-area">
|
||||
<ChatMoreTips @replySent="handleReply"></ChatMoreTips>
|
||||
<ChatQuickAccess @replySent="handleReply"></ChatQuickAccess>
|
||||
|
||||
<view class="area-input">
|
||||
<!-- 发送语音 -->
|
||||
<view class="input-container-voice">
|
||||
<image src='/static/input_voice_icon.png'></image>
|
||||
</view>
|
||||
<!-- 输入框 -->
|
||||
<textarea
|
||||
class="textarea"
|
||||
type="text"
|
||||
placeholder="快速订票,呼叫服务"
|
||||
cursor-spacing="65"
|
||||
confirm-type='done'
|
||||
v-model="inputMessage"
|
||||
@confirm="sendMessage"
|
||||
@touchend="handleNoHideKeyboard"
|
||||
:confirm-hold="true"
|
||||
auto-height
|
||||
:show-confirm-bar='false'
|
||||
:hold-keyboard="holdKeyboard"
|
||||
maxlength="300"
|
||||
<ChatInputArea
|
||||
v-model:inputMessage="inputMessage"
|
||||
:holdKeyboard="holdKeyboard"
|
||||
@send="sendMessage"
|
||||
@noHideKeyboard="handleNoHideKeyboard"
|
||||
/>
|
||||
<view class="input-container-send" @click="sendMessage">
|
||||
<image src='/static/input_send_icon.png'></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -92,7 +63,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { onMounted, getCurrentInstance, nextTick } from 'vue'
|
||||
import { ref, watch } from 'vue'
|
||||
import { ref } from 'vue'
|
||||
import { defineEmits } from 'vue'
|
||||
import { onLoad } from '@dcloudio/uni-app';
|
||||
import ChatTopBanner from './ChatTopBanner.vue';
|
||||
@ -102,19 +73,15 @@
|
||||
import ChatCardMine from './ChatCardMine.vue';
|
||||
import ChatQuickAccess from './ChatQuickAccess.vue';
|
||||
import ChatMoreTips from './ChatMoreTips.vue';
|
||||
|
||||
import ChatInputArea from './ChatInputArea.vue'
|
||||
|
||||
import { MessageRole, ChatModel, MessageType } from '../../model/ChatModel';
|
||||
|
||||
import OneFeelMK001 from '../module/OneFeelMK001.vue';
|
||||
|
||||
|
||||
const instance = getCurrentInstance(); // 获取当前组件实例
|
||||
|
||||
|
||||
// 导航栏相关
|
||||
const statusBarHeight = ref(20);
|
||||
const navBgColor = ref('rgba(66, 173, 249, 0)');
|
||||
const navOpacity = ref(0);
|
||||
|
||||
|
||||
const timer = ref(null)
|
||||
const holdKeyboard = ref(false) // focus时,点击页面的时候不收起键盘
|
||||
const holdKeyboardFlag = ref(true) // 是否在键盘弹出,点击界面时关闭键盘
|
||||
@ -124,27 +91,8 @@
|
||||
|
||||
// 锚点ID(控制滚动位置)
|
||||
const lastMsgId = ref('anchor-bottom');
|
||||
|
||||
// 针对小程序键盘收起问题处理
|
||||
// #ifdef MP-WEIXIN
|
||||
holdKeyboard.value = true
|
||||
// #endif
|
||||
|
||||
|
||||
// 滚动临界值(根据实际banner高度调整)
|
||||
const SCROLL_THRESHOLD = 200;
|
||||
const handleScroll = (e) => {
|
||||
const scrollTopVal = e.detail.scrollTop;
|
||||
// 计算透明度 (0-1之间)
|
||||
let opacity = Math.min(scrollTopVal / SCROLL_THRESHOLD, 1);
|
||||
// 如果滚动到接近顶部,透明度设为0
|
||||
if (scrollTopVal < 10) {
|
||||
opacity = 0;
|
||||
}
|
||||
navOpacity.value = opacity;
|
||||
navBgColor.value = `rgba(66, 173, 249, ${opacity})`;
|
||||
};
|
||||
|
||||
// 打开抽屉
|
||||
const emits = defineEmits(['openDrawer'])
|
||||
const openDrawer = () => {
|
||||
@ -167,7 +115,6 @@
|
||||
|
||||
onMounted(() => {
|
||||
initData()
|
||||
|
||||
})
|
||||
|
||||
const initData = () => {
|
||||
@ -201,11 +148,12 @@
|
||||
}
|
||||
|
||||
// 发送消息
|
||||
const sendMessage = () => {
|
||||
if (!inputMessage.value.trim()) return;
|
||||
const sendMessage = (message: string) => {
|
||||
console.log("inputMessage list:", message)
|
||||
if (!message.trim()) return;
|
||||
handleNoHideKeyboard()
|
||||
// 发送消息代码
|
||||
loadMessage(inputMessage.value)
|
||||
loadMessage(message)
|
||||
inputMessage.value = ''
|
||||
scrollToBottom()
|
||||
}
|
||||
@ -252,169 +200,5 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.chat-container {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: #E9F3F7;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden !important;
|
||||
position: relative;
|
||||
|
||||
.chat-container-bg {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 0;
|
||||
height: 270px;
|
||||
background: linear-gradient( 180deg, #42ADF9 0%, #6CD1FF 51%, #E9F3F7 99%);
|
||||
}
|
||||
|
||||
/* 顶部导航栏样式 */
|
||||
.nav-bar-container {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 999;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.chat-container-msg-list {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
z-index: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.chat-container-top-bannar {
|
||||
width: 100vw;
|
||||
flex-shrink: 0;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.area-msg-list {
|
||||
width: 100vw;
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
padding: 4px 0 0;
|
||||
overscroll-behavior: contain; /* 阻止滚动穿透 */
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.area-msg-list-content {
|
||||
/* 隐藏滚动条 */
|
||||
scrollbar-width: none;
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.message-item {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.message-item-ai {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.message-item-mine {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.message-item-other {
|
||||
justify-content: center;
|
||||
background-color: white;
|
||||
margin: 6px 12px;
|
||||
padding: 8px 24px;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
||||
|
||||
text {
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer-area {
|
||||
width: 100vw;
|
||||
flex-shrink: 0;
|
||||
padding: 4px 0 24px 0;
|
||||
background-color: #E9F3F7;
|
||||
touch-action: pan-x; /* 仅允许横向触摸滚动 */
|
||||
overflow-x: auto; /* 允许横向滚动 */
|
||||
overflow-y: hidden; /* 禁止垂直滚动 */
|
||||
}
|
||||
|
||||
.area-input {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 22px;
|
||||
background-color: #FFFFFF;
|
||||
box-shadow: 0px 0px 20px 0px rgba(52,25,204,0.05);
|
||||
margin: 0 12px;
|
||||
|
||||
.input-container-voice {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
flex-shrink: 0;
|
||||
align-self: flex-end;
|
||||
|
||||
image {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
.input-container-send {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
flex-shrink: 0;
|
||||
align-self: flex-end;
|
||||
|
||||
image {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
.textarea {
|
||||
flex: 1;
|
||||
max-height: 92px;
|
||||
min-height: 22px;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
margin-bottom: 2px;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
display: none;
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
-webkit-appearance: none;
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
@import "styles/ChatMainList.scss";
|
||||
</style>
|
||||
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="top-bg-content" :style="{marginTop: marginContentTop + 'px'}">
|
||||
<view class="top-bg-content">
|
||||
<view class="top-item1">
|
||||
<view class="top-item1-left">
|
||||
<image src="/static/hello_xiaomu_icon@2x.png"></image>
|
||||
@ -13,20 +13,6 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
import { onLoad } from '@dcloudio/uni-app';
|
||||
|
||||
const statusBarHeight = ref(20);
|
||||
const marginContentTop = ref(44)
|
||||
|
||||
onLoad(() => {
|
||||
uni.getSystemInfo({
|
||||
success: (res) => {
|
||||
statusBarHeight.value = res.statusBarHeight || 20;
|
||||
marginContentTop.value += statusBarHeight.value;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
154
pages/chat/styles/ChatMainList.scss
Normal file
154
pages/chat/styles/ChatMainList.scss
Normal file
@ -0,0 +1,154 @@
|
||||
.chat-container {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: #E9F3F7;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden !important;
|
||||
position: relative;
|
||||
|
||||
.chat-container-bg {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 0;
|
||||
height: 270px;
|
||||
background: linear-gradient( 180deg, #42ADF9 0%, #6CD1FF 51%, #E9F3F7 99%);
|
||||
}
|
||||
|
||||
.chat-container-msg-list {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
z-index: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.chat-container-top-bannar {
|
||||
width: 100vw;
|
||||
flex-shrink: 0;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.area-msg-list {
|
||||
width: 100vw;
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
padding: 4px 0 0;
|
||||
overscroll-behavior: contain; /* 阻止滚动穿透 */
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.area-msg-list-content {
|
||||
/* 隐藏滚动条 */
|
||||
scrollbar-width: none;
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.message-item {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.message-item-ai {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.message-item-mine {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.message-item-other {
|
||||
justify-content: center;
|
||||
background-color: white;
|
||||
margin: 6px 12px;
|
||||
padding: 8px 24px;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
||||
|
||||
text {
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer-area {
|
||||
width: 100vw;
|
||||
flex-shrink: 0;
|
||||
padding: 4px 0 24px 0;
|
||||
background-color: #E9F3F7;
|
||||
touch-action: pan-x; /* 仅允许横向触摸滚动 */
|
||||
overflow-x: auto; /* 允许横向滚动 */
|
||||
overflow-y: hidden; /* 禁止垂直滚动 */
|
||||
}
|
||||
|
||||
.area-input {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 22px;
|
||||
background-color: #FFFFFF;
|
||||
box-shadow: 0px 0px 20px 0px rgba(52,25,204,0.05);
|
||||
margin: 0 12px;
|
||||
|
||||
.input-container-voice {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
flex-shrink: 0;
|
||||
align-self: flex-end;
|
||||
|
||||
image {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
.input-container-send {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
flex-shrink: 0;
|
||||
align-self: flex-end;
|
||||
|
||||
image {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
.textarea {
|
||||
flex: 1;
|
||||
max-height: 92px;
|
||||
min-height: 22px;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
margin-bottom: 2px;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
display: none;
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
-webkit-appearance: none;
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/app.js
vendored
1
unpackage/dist/build/mp-weixin/app.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./common/vendor.js");Math;const e={__name:"App",setup:e=>(o.onLaunch((()=>{console.log("App Launch")})),o.onShow((()=>{console.log("App Show")})),o.onHide((()=>{console.log("App Hide")})),()=>{})};function p(){return{app:o.createSSRApp(e)}}p().app.mount("#app"),exports.createApp=p;
|
||||
10
unpackage/dist/build/mp-weixin/app.json
vendored
10
unpackage/dist/build/mp-weixin/app.json
vendored
@ -1,10 +0,0 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/chat/ChatQuickAccess",
|
||||
"pages/order/list",
|
||||
"pages/order/detail"
|
||||
],
|
||||
"window": {},
|
||||
"usingComponents": {}
|
||||
}
|
||||
2
unpackage/dist/build/mp-weixin/app.wxss
vendored
2
unpackage/dist/build/mp-weixin/app.wxss
vendored
@ -1,2 +0,0 @@
|
||||
page,body,#app{font-family:PingFang SC,PingFang SC;background-color:#e9f3f7;height:100vh;width:100vw}.mb12{margin-bottom:12px}
|
||||
page::after{position:fixed;content:'';left:-1000px;top:-1000px;-webkit-animation:shadow-preload .1s;-webkit-animation-delay:3s;animation:shadow-preload .1s;animation-delay:3s}@-webkit-keyframes shadow-preload{0%{background-image:url(https://cdn1.dcloud.net.cn/516b49774d3055345153556c643367325a446869596a59785a6a6b304f44426b4e7a6c6d/img/shadow-grey.png)}100%{background-image:url(https://cdn1.dcloud.net.cn/516b49774d3055345153556c643367325a446869596a59785a6a6b304f44426b4e7a6c6d/img/shadow-grey.png)}}@keyframes shadow-preload{0%{background-image:url(https://cdn1.dcloud.net.cn/516b49774d3055345153556c643367325a446869596a59785a6a6b304f44426b4e7a6c6d/img/shadow-grey.png)}100%{background-image:url(https://cdn1.dcloud.net.cn/516b49774d3055345153556c643367325a446869596a59785a6a6b304f44426b4e7a6c6d/img/shadow-grey.png)}}page{--status-bar-height:25px;--top-window-height:0px;--window-top:0px;--window-bottom:0px;--window-left:0px;--window-right:0px;--window-magin:0px}[data-c-h="true"]{display: none !important;}
|
||||
@ -1 +0,0 @@
|
||||
"use strict";exports._imports_0="/assets/back.6961004c.png",exports._imports_0$1="/static/logo.png",exports._imports_0$2="/static/icons/clock.png",exports._imports_0$3="/assets/icon_house.8779a05f.png",exports._imports_0$4="/assets/icon_clock.50bb3f13.png",exports._imports_0$5="/static/hello_xiaomu_icon@2x.png",exports._imports_0$6="/static/top_bg_icon.png",exports._imports_0$7="/static/drawer_icon.png",exports._imports_0$8="/static/quick/quick_icon_bg.png",exports._imports_0$9="/static/wave_icon.png",exports._imports_1="/static/input_voice_icon.png",exports._imports_1$1="/assets/icon_card.c038c52d.png",exports._imports_1$2="/static/hello_logo_icon@2x.png",exports._imports_1$3="/static/test/mk_img_1.png",exports._imports_2="/static/input_send_icon.png",exports._imports_2$1="/assets/icon_arrow.228274ee.png";
|
||||
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
"use strict";const e=require("../../common/vendor.js");Math||(a+t+r)();const r=()=>"../../third/ex-drawer/ex-drawer.js",a=()=>"../drawer/DrawerHome.js",t=()=>"../chat/ChatMainList.js",d={__name:"index",setup(r){const a=e.ref(),t=()=>{a.value.open()},d=()=>{a.value.close()};return(r,s)=>({a:e.o(d),b:e.o(t),c:e.sr(a,"d04dbe9a-0",{k:"drawer"}),d:e.p({width:"488"})})}},s=e._export_sfc(d,[["__scopeId","data-v-d04dbe9a"]]);wx.createPage(s);
|
||||
@ -1,8 +0,0 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"ex-drawer": "../../third/ex-drawer/ex-drawer",
|
||||
"drawer-home": "../drawer/DrawerHome",
|
||||
"chat-main-list": "../chat/ChatMainList"
|
||||
}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<ex-drawer wx:if="{{d}}" class="r data-v-d04dbe9a" u-s="{{['d']}}" u-r="drawer" u-i="d04dbe9a-0" bind:__l="__l" u-p="{{d}}"><view class="mian-drawer data-v-d04dbe9a" slot="drawerContent"><drawer-home class="data-v-d04dbe9a" bindcloseDrawer="{{a}}" u-i="d04dbe9a-1,d04dbe9a-0" bind:__l="__l"></drawer-home></view><view class="mian-container data-v-d04dbe9a" slot="containerContent"><chat-main-list class="data-v-d04dbe9a" bindopenDrawer="{{b}}" u-i="d04dbe9a-2,d04dbe9a-0" bind:__l="__l"></chat-main-list></view></ex-drawer>
|
||||
@ -1 +0,0 @@
|
||||
.mian-drawer.data-v-d04dbe9a{height:100vh;background-color:#fff}.mian-container.data-v-d04dbe9a{width:100vw;height:100vh;background-color:#fff}
|
||||
@ -1,29 +0,0 @@
|
||||
{
|
||||
"appid": "wxb71a18420dee6fdc",
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "3.8.10",
|
||||
"packOptions": {
|
||||
"ignore": [],
|
||||
"include": []
|
||||
},
|
||||
"setting": {
|
||||
"coverView": true,
|
||||
"es6": true,
|
||||
"postcss": true,
|
||||
"minified": true,
|
||||
"enhance": true,
|
||||
"showShadowRootInWxmlPanel": true,
|
||||
"packNpmRelationList": [],
|
||||
"babelSetting": {
|
||||
"ignore": [],
|
||||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
}
|
||||
},
|
||||
"condition": {},
|
||||
"editorSetting": {
|
||||
"tabIndent": "insertSpaces",
|
||||
"tabSize": 2
|
||||
},
|
||||
"projectArchitecture": "miniProgram"
|
||||
}
|
||||
@ -1,7 +0,0 @@
|
||||
{
|
||||
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
||||
"projectname": "YGChatCS",
|
||||
"setting": {
|
||||
"compileHotReLoad": true
|
||||
}
|
||||
}
|
||||
BIN
unpackage/dist/build/mp-weixin/static/logo.png
vendored
BIN
unpackage/dist/build/mp-weixin/static/logo.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 3.9 KiB |
@ -1,8 +0,0 @@
|
||||
{
|
||||
"hash": "96899c5d",
|
||||
"configHash": "0c19608b",
|
||||
"lockfileHash": "5efa0b12",
|
||||
"browserHash": "2b2a532c",
|
||||
"optimized": {},
|
||||
"chunks": {}
|
||||
}
|
||||
3
unpackage/dist/cache/.vite/deps/package.json
vendored
3
unpackage/dist/cache/.vite/deps/package.json
vendored
@ -1,3 +0,0 @@
|
||||
{
|
||||
"type": "module"
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"App2.js","sources":["/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/App.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/App.vue'\nwx.createComponent(Component)"],"names":["Component"],"mappings":";;AACA,GAAG,gBAAgBA,IAAS,SAAA;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ChatQuickAccess.js","sources":["pages/chat/ChatQuickAccess.vue"],"sourcesContent":["<template>\n\t<view class=\"quick-access\">\n\t\t<view class=\"quick-access-scroll\">\n\t\t\t<view class=\"quick-access-item\" v-for=\"(item, index) in itemList\" :key=\"index\" @click=\"sendReply(item.title)\">\n\t\t\t\t<image class=\"quick-access-item-bg\" src=\"/static/quick/quick_icon_bg.png\" mode=\"aspectFill\"></image>\n\t\t\t\t<view class=\"quick-access-item-title\">\n\t\t\t\t\t<image :src=\"item.icon\"></image>\n\t\t\t\t\t<text>{{ item.title }}</text>\n\t\t\t\t</view>\n\t\t\t\t<text class=\"quick-access-item-content\">{{ item.content }}</text>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script setup>\n\timport { onMounted, ref } from 'vue';\n\tconst itemList = ref([])\n\t\n\tconst emits = defineEmits(['replySent']);\n\t\n\tconst sendReply = (text) => {\n\t\temits('replySent', text); // 向父组件传递数据\n\t}\n\t\n\tonMounted(() => {\n\t\tinitData()\n\t})\n\t\n\tconst initData = () => {\n\t\titemList.value = [\n\t\t\t{\n\t\t\t\ticon: '/static/quick/quick_icon_yuding.png',\n\t\t\t\ttitle: '预定门票',\n\t\t\t\tcontent: '快速预定天沐温泉门票',\n\t\t\t},\n\t\t\t{\n\t\t\t\ticon: '/static/quick/quick_icon_find.png',\n\t\t\t\ttitle: '探索发现',\n\t\t\t\tcontent: '亲子、团建等更多玩法',\n\t\t\t},\n\t\t\t{\n\t\t\t\ticon: '/static/quick/quick_icon_call.png',\n\t\t\t\ttitle: '呼叫服务',\n\t\t\t\tcontent: '加床、订麻将机...',\n\t\t\t},\n\t\t\t{\n\t\t\t\ticon: '/static/quick/quick_icon_order.png',\n\t\t\t\ttitle: '我的订单',\n\t\t\t\tcontent: '快速查看订单',\n\t\t\t}\n\t\t] \n\t}\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n\t.quick-access {\n\t\twidth: 100%;\n\t\t\n\t\t&-scroll {\n\t\t display: flex;\n\t\t flex-direction: row;\n\t\t overflow-x: auto;\n\t\t white-space: nowrap;\n\t\t -webkit-overflow-scrolling: touch; \n\t\t \n\t\t /* 隐藏滚动条 */\n\t\t scrollbar-width: none; \n\t\t &::-webkit-scrollbar {\n\t\t display: none; \n\t\t }\n\t\t }\n\t\t\n\t\t.quick-access-item {\n\t\t\tflex: 0 0 104px; \n\t\t\tborder-radius: 8px;\n\t\t\tmargin: 4px 4px 8px 4px;\n\t\t\tbox-shadow: 0 2px 5px 0px rgba(0,0,0,0.1);\n\t\t\tpadding: 12px;\n\t\t\tdisplay: inline-flex; \n\t\t\tflex-direction: column;\n\t\t\t\t\t\t\n\t\t\tposition: relative;\n\t\t\t\n\t\t\t&:first-child {\n\t\t\t\tmargin-left: 12px;\n\t\t\t}\n\t\t\t\t\n\t\t\t&:last-child {\n\t\t\t\tmargin-right: 12px;\n\t\t\t}\n\t\t\t\n\t\t\t.quick-access-item-bg {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tz-index: 0;\n\t\t\t\tborder-radius: 8px;\n\t\t\t\twidth: 128px;\n\t\t\t\theight: 56px;\n\t\t\t}\n\t\t\t\n\t\t\t.quick-access-item-title {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tz-index: 1;\n\t\t\t\t\n\t\t\t\timage {\n\t\t\t\t\twidth: 16px;\n\t\t\t\t\theight: 16px;\n\t\t\t\t\tmargin-right: 4px;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttext {\n\t\t\t\t\tfont-family: PingFang SC, PingFang SC;\n\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tcolor: #201F32;\n\t\t\t\t\tline-height: 16px;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t.quick-access-item-content {\n\t\t\t\tz-index: 1;\n\t\t\t\tmargin-top: 4px;\n\t\t\t\tfont-family: PingFang SC, PingFang SC;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 10px;\n\t\t\t\tcolor: #678CAD;\n\t\t\t\tline-height: 18px;\n\t\t\t}\n\t\t}\n\t}\n\n</style>\n"],"names":["ref","onMounted"],"mappings":";;;;;;;AAiBC,UAAM,WAAWA,cAAG,IAAC,EAAE;AAEvB,UAAM,QAAQ;AAEd,UAAM,YAAY,CAAC,SAAS;AAC3B,YAAM,aAAa,IAAI;AAAA,IACvB;AAEDC,kBAAAA,UAAU,MAAM;AACf,eAAU;AAAA,IACZ,CAAE;AAED,UAAM,WAAW,MAAM;AACtB,eAAS,QAAQ;AAAA,QAChB;AAAA,UACC,MAAM;AAAA,UACN,OAAO;AAAA,UACP,SAAS;AAAA,QACT;AAAA,QACD;AAAA,UACC,MAAM;AAAA,UACN,OAAO;AAAA,UACP,SAAS;AAAA,QACT;AAAA,QACD;AAAA,UACC,MAAM;AAAA,UACN,OAAO;AAAA,UACP,SAAS;AAAA,QACT;AAAA,QACD;AAAA,UACC,MAAM;AAAA,UACN,OAAO;AAAA,UACP,SAAS;AAAA,QACT;AAAA,MACD;AAAA,IACD;;;;;;;;;;;;;;;;;;;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script setup>\nimport { onLaunch, onShow, onHide } from \"@dcloudio/uni-app\";\n\nonLaunch(() => {\n console.log(\"App Launch\");\n});\n\nonShow(() => {\n console.log(\"App Show\");\n});\n\nonHide(() => {\n console.log(\"App Hide\");\n});\n</script>\n\n<style lang=\"scss\">\n/* 添加全局样式 */\npage,\nbody,\n#app {\n font-family: PingFang SC, PingFang SC;\n background-color: #E9F3F7;\n height: 100vh;\n width: 100vw;\n}\n\n.mb12 {\n margin-bottom: 12px;\n}\n</style>\n","import App from './App'\n\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n return {\n app\n }\n}\n// #endif"],"names":["onLaunch","uni","onShow","onHide","createSSRApp","App"],"mappings":";;;;;;;;;;;;AAGAA,kBAAAA,SAAS,MAAM;AACbC,oBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,IAC1B,CAAC;AAEDC,kBAAAA,OAAO,MAAM;AACXD,oBAAAA,MAAA,MAAA,OAAA,gBAAY,UAAU;AAAA,IACxB,CAAC;AAEDE,kBAAAA,OAAO,MAAM;AACXF,oBAAAA,MAAA,MAAA,OAAA,iBAAY,UAAU;AAAA,IACxB,CAAC;;;;;ACEM,SAAS,YAAY;AAC1B,QAAM,MAAMG,cAAY,aAACC,SAAG;AAC5B,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"assets.js","sources":["static/quick/quick_icon_bg.png","pages/order/images/back.png","static/logo.png","static/input_voice_icon.png","static/input_send_icon.png","../../../../static/icons/clock.png","pages/order/components/GoodsInfo/images/icon_house.png","pages/order/components/NoticeInfo/images/icon_clock.png","pages/order/components/NoticeInfo/images/icon_card.png","pages/order/components/NoticeInfo/images/icon_arrow.png","static/hello_xiaomu_icon@2x.png","static/hello_logo_icon@2x.png","static/top_bg_icon.png","static/drawer_icon.png","static/wave_icon.png","static/test/mk_img_1.png"],"sourcesContent":["export default \"__VITE_ASSET__ff753b35__\"","export default \"__VITE_ASSET__6961004c__\"","export default \"__VITE_ASSET__46719607__\"","export default \"__VITE_ASSET__76f969d6__\"","export default \"__VITE_ASSET__e6bd7a29__\"","export default \"/static/icons/clock.png\"","export default \"__VITE_ASSET__8779a05f__\"","export default \"__VITE_ASSET__50bb3f13__\"","export default \"__VITE_ASSET__c038c52d__\"","export default \"__VITE_ASSET__228274ee__\"","export default \"__VITE_ASSET__2eba501c__\"","export default \"__VITE_ASSET__51733f19__\"","export default \"__VITE_ASSET__ead16fdc__\"","export default \"__VITE_ASSET__a9576f2b__\"","export default \"__VITE_ASSET__d889f8a8__\"","export default \"__VITE_ASSET__c4efe7df__\""],"names":[],"mappings":";AAAA,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;;;;;;;;;;;;;;;;;"}
|
||||
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvY29tcG9uZW50cy9Db21tYW5kV3JhcHBlci9pbmRleC52dWU"],"sourcesContent":["import Component from 'D:/YGChatCS/components/CommandWrapper/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["components/FormCard/index.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvY29tcG9uZW50cy9Gb3JtQ2FyZC9pbmRleC52dWU"],"sourcesContent":["<template>\r\n <view class=\"form-wrapper\">\r\n <view class=\"form-header\">\r\n <image class=\"form-icon\" src=\"./images/icon_minus.png\"></image>\r\n <text class=\"form-title\">游客1</text>\r\n </view>\r\n <view class=\"form-item\">\r\n <text class=\"form-label\">姓 名</text>\r\n <input class=\"form-input\" v-model=\"name\" placeholder=\"请输入姓名\" />\r\n </view>\r\n <view class=\"form-item\">\r\n <text class=\"form-label\">手机号</text>\r\n <input\r\n class=\"form-input\"\r\n v-model=\"phone\"\r\n placeholder=\"请输入手机号\"\r\n @blur=\"validatePhone\"\r\n />\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport { ref } from \"vue\";\r\n\r\n// Local state\r\nconst name = ref(\"\");\r\nconst phone = ref(\"\");\r\nconst phoneError = ref(\"\");\r\n\r\n// Methods\r\nconst validatePhone = () => {\r\n const phoneRegex = /^1[3-9]\\d{9}$/;\r\n if (!phone.value) {\r\n phoneError.value = \"手机号不能为空\";\r\n } else if (!phoneRegex.test(phone.value)) {\r\n phoneError.value = \"请输入正确的手机号\";\r\n } else {\r\n phoneError.value = \"\";\r\n }\r\n};\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@import \"./styles/index.scss\";\r\n</style>\r\n","import Component from 'D:/YGChatCS/components/FormCard/index.vue'\nwx.createComponent(Component)"],"names":["ref"],"mappings":";;;;;;AA0BA,UAAM,OAAOA,cAAAA,IAAI,EAAE;AACnB,UAAM,QAAQA,cAAAA,IAAI,EAAE;AACpB,UAAM,aAAaA,cAAAA,IAAI,EAAE;AAGzB,UAAM,gBAAgB,MAAM;AAC1B,YAAM,aAAa;AACnB,UAAI,CAAC,MAAM,OAAO;AAChB,mBAAW,QAAQ;AAAA,MACpB,WAAU,CAAC,WAAW,KAAK,MAAM,KAAK,GAAG;AACxC,mBAAW,QAAQ;AAAA,MACvB,OAAS;AACL,mBAAW,QAAQ;AAAA,MACpB;AAAA,IACH;;;;;;;;;;;;;;ACvCA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["components/ImageSwiper/index.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvY29tcG9uZW50cy9JbWFnZVN3aXBlci9pbmRleC52dWU"],"sourcesContent":["<template>\n <view class=\"image-swiper\">\n <swiper\n class=\"swiper-box\"\n :autoplay=\"false\"\n :interval=\"3000\"\n :duration=\"1000\"\n :current=\"active\"\n >\n <swiper-item\n class=\"swiper-item\"\n v-for=\"(item, index) in thumbnails\"\n :key=\"index\"\n >\n <image :src=\"item.url\" mode=\"aspectFill\"></image>\n </swiper-item>\n </swiper>\n\n <view class=\"custom-indicator\">\n 图片{{ active + 1 }}/{{ thumbnails.length }}\n </view>\n\n <view class=\"thumbnail-box\">\n <view\n v-for=\"(thumb, index) in thumbnails\"\n :key=\"index\"\n class=\"thumbnail-item\"\n @click=\"handleThumbnailClick(index)\"\n >\n <image :src=\"thumb.url\" mode=\"aspectFill\"></image>\n <text>{{ thumb.description }}</text>\n </view>\n </view>\n </view>\n</template>\n\n<script setup>\nimport { ref } from \"vue\";\n\nconst active = ref(0);\n\nconst thumbnails = ref([\n {\n url: \"https://fastly.picsum.photos/id/866/654/400.jpg?hmac=z3vI4CYrpnXEgimSlJCDwXRxEa-UDHiRwzGEyB8V-po\",\n description: \"瑶山古寨\",\n },\n {\n url: \"https://fastly.picsum.photos/id/284/654/400.jpg?hmac=89XRCJxYTblKIFGLOp6hJ9U0GC8BQrcnJwE5pG21NAk\",\n description: \"民俗表演\",\n },\n {\n url: \"https://fastly.picsum.photos/id/281/654/400.jpg?hmac=hcAJB7y2Xz3DVuz6S4XeQZgzaTJ_QWnxtbnaagZL6Fs\",\n description: \"特色美食\",\n },\n {\n url: \"https://fastly.picsum.photos/id/435/654/400.jpg?hmac=TSVDxfo-zXbunxNQK0erSG_nmKcS20xfhbQsCAXLlHo\",\n description: \"传统服饰\",\n },\n {\n url: \"https://fastly.picsum.photos/id/737/654/400.jpg?hmac=VED05oEK3XB0Aa_DUVoZjTAf0bHjAmNYyJky4lq5vVo\",\n description: \"其他\",\n },\n]);\n\nconst handleThumbnailClick = (index) => {\n active.value = index;\n};\n</script>\n\n<style scoped lang=\"scss\">\n@import \"./styles/index.scss\";\n</style>\n","import Component from 'D:/YGChatCS/components/ImageSwiper/index.vue'\nwx.createComponent(Component)"],"names":["ref"],"mappings":";;;;;AAuCA,UAAM,SAASA,cAAAA,IAAI,CAAC;AAEpB,UAAM,aAAaA,cAAAA,IAAI;AAAA,MACrB;AAAA,QACE,KAAK;AAAA,QACL,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,KAAK;AAAA,QACL,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,KAAK;AAAA,QACL,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,KAAK;AAAA,QACL,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,KAAK;AAAA,QACL,aAAa;AAAA,MACd;AAAA,IACH,CAAC;AAED,UAAM,uBAAuB,CAAC,UAAU;AACtC,aAAO,QAAQ;AAAA,IACjB;;;;;;;;;;;;;;;;;;;;;;;;;ACjEA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["components/OrderCardItem/index.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvY29tcG9uZW50cy9PcmRlckNhcmRJdGVtL2luZGV4LnZ1ZQ"],"sourcesContent":["<template>\r\n <view class=\"service-order-item\">\r\n <view class=\"order-header\">\r\n <image class=\"order-icon\" src=\"./images/icon_order.png\"></image>\r\n <text class=\"order-title\">温泉早鸟票</text>\r\n <text :class=\"['order-status', `status-${orderStatus}`]\">{{\r\n orderStatusText\r\n }}</text>\r\n </view>\r\n <view class=\"order-details\">\r\n <view class=\"detail-item\">\r\n <text class=\"detail-label\">订单编号:</text>\r\n <text class=\"detail-value\">{{ orderId }}</text>\r\n </view>\r\n <view class=\"detail-item\">\r\n <text class=\"detail-label\">游客人数:</text>\r\n <text class=\"detail-value\">{{ touristCount }}人</text>\r\n </view>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport { ref, computed } from \"vue\";\r\n\r\n// Sample data\r\nconst orderId = ref(\"7378400483776544\");\r\nconst touristCount = ref(7);\r\nconst orderStatus = ref(\"pending\"); // Options: 'canceled', 'pending', 'refundProcessing', 'refunded', 'completed'\r\n\r\n// Computed property for order status text\r\nconst orderStatusText = computed(() => {\r\n switch (orderStatus.value) {\r\n case \"canceled\":\r\n return \"已取消\";\r\n case \"pending\":\r\n return \"待确认\";\r\n case \"refundProcessing\":\r\n return \"退款中\";\r\n case \"refunded\":\r\n return \"已退款\";\r\n case \"completed\":\r\n return \"已完成\";\r\n default:\r\n return \"\";\r\n }\r\n});\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@import \"./styles/index.scss\";\r\n</style>\r\n","import Component from 'D:/YGChatCS/components/OrderCardItem/index.vue'\nwx.createComponent(Component)"],"names":["ref","computed"],"mappings":";;;;;;AA0BA,UAAM,UAAUA,cAAAA,IAAI,kBAAkB;AACtC,UAAM,eAAeA,cAAAA,IAAI,CAAC;AAC1B,UAAM,cAAcA,cAAAA,IAAI,SAAS;AAGjC,UAAM,kBAAkBC,cAAQ,SAAC,MAAM;AACrC,cAAQ,YAAY,OAAK;AAAA,QACvB,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT;AACE,iBAAO;AAAA,MACV;AAAA,IACH,CAAC;;;;;;;;;;;;;AC7CD,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvY29tcG9uZW50cy9SZXNwb25zZUludHJvL2luZGV4LnZ1ZQ"],"sourcesContent":["import Component from 'D:/YGChatCS/components/ResponseIntro/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvY29tcG9uZW50cy9SZXNwb25zZVdyYXBwZXIvaW5kZXgudnVl"],"sourcesContent":["import Component from 'D:/YGChatCS/components/ResponseWrapper/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["components/ServiceOrderItem/index.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvY29tcG9uZW50cy9TZXJ2aWNlT3JkZXJJdGVtL2luZGV4LnZ1ZQ"],"sourcesContent":["<template>\r\n <view class=\"service-order-item\">\r\n <view class=\"order-header\">\r\n <image class=\"order-icon\" src=\"./images/icon_order.png\"></image>\r\n <text class=\"order-title\">温泉早鸟票</text>\r\n <text :class=\"['order-status', `status-${orderStatus}`]\">{{\r\n orderStatusText\r\n }}</text>\r\n </view>\r\n <view class=\"order-details\">\r\n <view class=\"detail-item\">\r\n <text class=\"detail-label\">订单编号:</text>\r\n <text class=\"detail-value\">{{ orderId }}</text>\r\n </view>\r\n <view class=\"detail-item\">\r\n <text class=\"detail-label\">游客人数:</text>\r\n <text class=\"detail-value\">{{ touristCount }}人</text>\r\n </view>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport { ref, computed } from \"vue\";\r\n\r\n// Sample data\r\nconst orderId = ref(\"7378400483776544\");\r\nconst touristCount = ref(7);\r\nconst orderStatus = ref(\"pending\"); // Options: 'canceled', 'pending', 'refundProcessing', 'refunded', 'completed'\r\n\r\n// Computed property for order status text\r\nconst orderStatusText = computed(() => {\r\n switch (orderStatus.value) {\r\n case \"canceled\":\r\n return \"已取消\";\r\n case \"pending\":\r\n return \"待确认\";\r\n case \"refundProcessing\":\r\n return \"退款中\";\r\n case \"refunded\":\r\n return \"已退款\";\r\n case \"completed\":\r\n return \"已完成\";\r\n default:\r\n return \"\";\r\n }\r\n});\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@import \"./styles/index.scss\";\r\n</style>\r\n","import Component from 'D:/YGChatCS/components/ServiceOrderItem/index.vue'\nwx.createComponent(Component)"],"names":["ref","computed"],"mappings":";;;;;;AA0BA,UAAM,UAAUA,cAAAA,IAAI,kBAAkB;AACtC,UAAM,eAAeA,cAAAA,IAAI,CAAC;AAC1B,UAAM,cAAcA,cAAAA,IAAI,SAAS;AAGjC,UAAM,kBAAkBC,cAAQ,SAAC,MAAM;AACrC,cAAQ,YAAY,OAAK;AAAA,QACvB,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT;AACE,iBAAO;AAAA,MACV;AAAA,IACH,CAAC;;;;;;;;;;;;;AC7CD,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["components/ServiceTipsWord/index.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvY29tcG9uZW50cy9TZXJ2aWNlVGlwc1dvcmQvaW5kZXgudnVl"],"sourcesContent":["<template>\r\n <view class=\"service-prompt\">\r\n <view class=\"service-header\">\r\n <text class=\"header-text\">你可以这样问我</text>\r\n <image\r\n class=\"header-icon\"\r\n src=\"./images/icon_refresh.png\"\r\n @click=\"handleRefresh\"\r\n ></image>\r\n </view>\r\n <view class=\"service-buttons\">\r\n <text class=\"service-button\" @click=\"handleClick('bed')\">\r\n 帮我加一张床\r\n </text>\r\n <text class=\"service-button\" @click=\"handleClick('hotWater')\">\r\n 房间热水不够热\r\n </text>\r\n <text class=\"service-button\" @click=\"handleClick('mahjong')\">\r\n 帮忙加一台麻将机\r\n </text>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport { ref } from \"vue\";\r\n\r\nconst handleRefresh = (type) => {\r\n console.log(`Button clicked: ${type}`);\r\n};\r\n\r\nconst handleClick = (type) => {\r\n console.log(`Button clicked: ${type}`);\r\n // Add your logic here based on the type (e.g., 'bed', 'hotWater', 'mahjong')\r\n};\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@import \"./styles/index.scss\";\r\n</style>\r\n","import Component from 'D:/YGChatCS/components/ServiceTipsWord/index.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;;;;;AA2BA,UAAM,gBAAgB,CAAC,SAAS;AAC9BA,oBAAA,MAAA,MAAA,OAAA,8CAAY,mBAAmB,IAAI,EAAE;AAAA,IACvC;AAEA,UAAM,cAAc,CAAC,SAAS;AAC5BA,oBAAA,MAAA,MAAA,OAAA,8CAAY,mBAAmB,IAAI,EAAE;AAAA,IAEvC;;;;;;;;;;;;;ACjCA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["components/Stepper/index.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvY29tcG9uZW50cy9TdGVwcGVyL2luZGV4LnZ1ZQ"],"sourcesContent":["<template>\r\n <view class=\"stepper-wrapper\">\r\n <image\r\n class=\"stepper-btn stepper-btn-minus\"\r\n src=\"./images/icon_minus.png\"\r\n mode=\"aspectFill\"\r\n @click=\"decrease\"\r\n ></image>\r\n <text class=\"stepper-text\">{{ value }}</text>\r\n <image\r\n class=\"stepper-btn stepper-btn-plus\"\r\n src=\"./images/icon_plus.png\"\r\n mode=\"aspectFill\"\r\n @click=\"increase\"\r\n ></image>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport { ref, defineProps, defineEmits } from \"vue\";\r\n\r\n// Props\r\nconst props = defineProps({\r\n modelValue: {\r\n type: Number,\r\n default: 1,\r\n },\r\n min: {\r\n type: Number,\r\n default: 1,\r\n },\r\n max: {\r\n type: Number,\r\n default: 100,\r\n },\r\n});\r\n\r\n// Emit\r\nconst emit = defineEmits([\"update:modelValue\"]);\r\n\r\n// Local state\r\nconst value = ref(props.modelValue);\r\n\r\n// Methods\r\nconst decrease = () => {\r\n if (value.value === 1) return;\r\n\r\n if (value.value > props.min) {\r\n value.value--;\r\n emit(\"update:modelValue\", value.value);\r\n }\r\n};\r\n\r\nconst increase = () => {\r\n if (value.value < props.max) {\r\n value.value++;\r\n emit(\"update:modelValue\", value.value);\r\n }\r\n};\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@import \"./styles/index.scss\";\r\n</style>\r\n","import Component from 'D:/YGChatCS/components/Stepper/index.vue'\nwx.createComponent(Component)"],"names":["ref"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAsBA,UAAM,QAAQ;AAgBd,UAAM,OAAO;AAGb,UAAM,QAAQA,cAAG,IAAC,MAAM,UAAU;AAGlC,UAAM,WAAW,MAAM;AACrB,UAAI,MAAM,UAAU;AAAG;AAEvB,UAAI,MAAM,QAAQ,MAAM,KAAK;AAC3B,cAAM;AACN,aAAK,qBAAqB,MAAM,KAAK;AAAA,MACtC;AAAA,IACH;AAEA,UAAM,WAAW,MAAM;AACrB,UAAI,MAAM,QAAQ,MAAM,KAAK;AAC3B,cAAM;AACN,aAAK,qBAAqB,MAAM,KAAK;AAAA,MACtC;AAAA,IACH;;;;;;;;;;;;;ACzDA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvY29tcG9uZW50cy9TdW1DYXJkL2luZGV4LnZ1ZQ"],"sourcesContent":["import Component from 'D:/YGChatCS/components/SumCard/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["components/TagsGroup/index.vue","C:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovd3d3L1lHQ2hhdENTL2NvbXBvbmVudHMvVGFnc0dyb3VwL2luZGV4LnZ1ZQ"],"sourcesContent":["<template>\r\n <view class=\"tags-group\">\r\n <view class=\"tag-item\" v-for=\"(tag, index) in tags\" :key=\"index\">\r\n {{ tag }}\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nconst tags = [\r\n '门票套餐',\r\n '民俗活动',\r\n '车程路况'\r\n];\r\n</script>\r\n\r\n<style scoped>\r\n@import './styles/index.scss';\r\n</style>","import Component from 'D:/www/YGChatCS/components/TagsGroup/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;AASA,UAAM,OAAO;AAAA,MACX;AAAA,MACA;AAAA,MACA;AAAA,IACF;;;;;;;;;;;;;;ACZA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["components/create-service-order/index.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvY29tcG9uZW50cy9jcmVhdGUtc2VydmljZS1vcmRlci9pbmRleC52dWU"],"sourcesContent":["<template>\r\n <view class=\"create-service-order\">\r\n <view class=\"create-service-wrapper\">\r\n <view class=\"order-header\">\r\n <text>创建服务工单</text>\r\n </view>\r\n <view class=\"order-content\">\r\n <view class=\"order-item\">\r\n <image src=\"./images/icon_service.png\" class=\"order-icon\"></image>\r\n <text class=\"order-description\">加一台麻将机</text>\r\n </view>\r\n <view class=\"order-line\"></view>\r\n <view class=\"order-details\">\r\n <view class=\"detail-item\">\r\n <text class=\"detail-label\">房间号:</text>\r\n <text class=\"detail-value\">302</text>\r\n </view>\r\n <view class=\"detail-item\">\r\n <text class=\"detail-label\">服务时间:</text>\r\n <text class=\"detail-value\">2025-09-12 12:00</text>\r\n </view>\r\n <view class=\"detail-item\">\r\n <text class=\"detail-label\">联系房客:</text>\r\n <input\r\n class=\"detail-input\"\r\n placeholder=\"请填写联系人\"\r\n v-model=\"contactName\"\r\n />\r\n </view>\r\n <view class=\"detail-item\">\r\n <text class=\"detail-label\">联系电话:</text>\r\n <input\r\n class=\"detail-input\"\r\n placeholder=\"请填写联系电话\"\r\n v-model=\"contactPhone\"\r\n />\r\n </view>\r\n </view>\r\n <button class=\"order-button\" @click=\"handleCall\">立即呼叫</button>\r\n </view>\r\n </view>\r\n\r\n <view class=\"footer-help\">\r\n <image src=\"./images/icon_volume.png\" class=\"help-icon\"></image>\r\n <text class=\"help-text\">没解决问题?给我打电话吧!</text>\r\n <text class=\"help-phone\" @click=\"makePhoneCall\">15185111210</text>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport { ref } from \"vue\";\r\n\r\nconst contactName = ref(\"\");\r\nconst contactPhone = ref(\"\");\r\n\r\nconst handleCall = () => {\r\n // Logic to handle the call action\r\n console.log(\"Calling with:\", contactName.value, contactPhone.value);\r\n};\r\n\r\nconst makePhoneCall = () => {\r\n // 使用 uniapp 的 API 拨打电话\r\n uni.makePhoneCall({\r\n phoneNumber: \"15185111210\",\r\n });\r\n};\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@import \"./styles/index.scss\";\r\n</style>\r\n","import Component from 'D:/YGChatCS/components/create-service-order/index.vue'\nwx.createComponent(Component)"],"names":["ref","uni"],"mappings":";;;;;;AAqDA,UAAM,cAAcA,cAAAA,IAAI,EAAE;AAC1B,UAAM,eAAeA,cAAAA,IAAI,EAAE;AAE3B,UAAM,aAAa,MAAM;AAEvBC,0BAAY,MAAA,OAAA,mDAAA,iBAAiB,YAAY,OAAO,aAAa,KAAK;AAAA,IACpE;AAEA,UAAM,gBAAgB,MAAM;AAE1BA,oBAAAA,MAAI,cAAc;AAAA,QAChB,aAAa;AAAA,MACjB,CAAG;AAAA,IACH;;;;;;;;;;;;;;;;ACjEA,GAAG,gBAAgB,SAAS;"}
|
||||
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["components/service-prompt/index.vue","E:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovWUdDaGF0Q1MvY29tcG9uZW50cy9zZXJ2aWNlLXByb21wdC9pbmRleC52dWU"],"sourcesContent":["<template>\r\n <view class=\"service-prompt\">\r\n <view class=\"service-header\">\r\n <text class=\"header-text\">你可以这样问我</text>\r\n <image class=\"header-icon\" src=\"./images/icon_refresh.png\"></image>\r\n </view>\r\n <view class=\"service-buttons\">\r\n <button class=\"service-button\" @click=\"handleClick('bed')\">\r\n 帮我加一张床\r\n </button>\r\n <button class=\"service-button\" @click=\"handleClick('hotWater')\">\r\n 房间热水不够热\r\n </button>\r\n <button class=\"service-button\" @click=\"handleClick('mahjong')\">\r\n 帮忙加一台麻将机\r\n </button>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport { ref } from \"vue\";\r\n\r\nconst handleClick = (type) => {\r\n console.log(`Button clicked: ${type}`);\r\n // Add your logic here based on the type (e.g., 'bed', 'hotWater', 'mahjong')\r\n};\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@import \"./styles/index.scss\";\r\n</style>\r\n","import Component from 'D:/YGChatCS/components/service-prompt/index.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;;;;;AAuBA,UAAM,cAAc,CAAC,SAAS;AAC5BA,oBAAA,MAAA,MAAA,OAAA,6CAAY,mBAAmB,IAAI,EAAE;AAAA,IAEvC;;;;;;;;;;;;ACzBA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"main.js","sources":["App.vue","main.js"],"sourcesContent":["\n\n<script setup>\n import { onLaunch,onShow,onHide } from '@dcloudio/uni-app'\n\n\tonLaunch(() => {\n\t\tconsole.log('App Launch')\n\t})\n\t\n\tonShow(() => {\n\t\tconsole.log('App Show')\n\t})\n\t\n\tonHide(() => {\n\t\tconsole.log('App Hide')\n\t})\n</script>\n\n<style lang=\"scss\">\n\t/* 添加全局样式 */\n\tpage, body, #app {\n\t height: 100vh;\n\t width: 100vh;\n\t}\n\t\n</style>\n","import App from './App'\n\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n return {\n app\n }\n}\n// #endif"],"names":["onLaunch","uni","onShow","onHide","createSSRApp","App"],"mappings":";;;;;;;;AAKCA,kBAAAA,SAAS,MAAM;AACdC,oBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,IAC1B,CAAE;AAEDC,kBAAAA,OAAO,MAAM;AACZD,oBAAAA,MAAA,MAAA,OAAA,iBAAY,UAAU;AAAA,IACxB,CAAE;AAEDE,kBAAAA,OAAO,MAAM;AACZF,oBAAAA,MAAA,MAAA,OAAA,iBAAY,UAAU;AAAA,IACxB,CAAE;;;;;ACAK,SAAS,YAAY;AAC1B,QAAM,MAAMG,cAAY,aAACC,SAAG;AAC5B,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ChatModel.js","sources":["model/ChatModel.ts"],"sourcesContent":["\nexport enum MessageRole {\n\tAI = \"AI\",\n\tME = \"ME\",\n\tOTHER = \"OTHER\"\n}\n\nexport enum MessageType {\n\tTEXT = 'TEXT',\n\tIMAGE = 'IMAGE'\n}\n\n\n\nexport interface TextContent {\n type: MessageType;\n text: string;\n}\n\nexport interface ImageContent {\n type: MessageType;\n url: string;\n}\n\nexport type MessageContent = TextContent | ImageContent;\n\nexport interface ChatModel {\n\tmsgId: string;\n\tmsgType: MessageRole;\n\tmsg: string;\n\tmsgContent?: MessageContent;\n}\n\n\n\n"],"names":["MessageRole","MessageType"],"mappings":";AACY,IAAA,gCAAAA,iBAAL;AACNA,eAAA,IAAK,IAAA;AACLA,eAAA,IAAK,IAAA;AACLA,eAAA,OAAQ,IAAA;AAHGA,SAAAA;AAAA,GAAA,eAAA,CAAA,CAAA;AAMA,IAAA,gCAAAC,iBAAL;AACNA,eAAA,MAAO,IAAA;AACPA,eAAA,OAAQ,IAAA;AAFGA,SAAAA;AAAA,GAAA,eAAA,CAAA,CAAA;;;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ChatAICard.js","sources":["/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatAICard.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatAICard.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ChatCardAI.js","sources":["/Users/gleen/UniAppProjects/YGChatCS/pages/chat/ChatCardAI.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/YGChatCS/pages/chat/ChatCardAI.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ChatCardMine.js","sources":["/Users/gleen/UniAppProjects/YGChatCS/pages/chat/ChatCardMine.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/YGChatCS/pages/chat/ChatCardMine.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AACA,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
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ChatMineCard.js","sources":["/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatMineCard.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/chat/ChatMineCard.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ChatMoreTips.js","sources":["pages/chat/ChatMoreTips.vue","/Users/gleen/UniAppProjects/YGChatCS/pages/chat/ChatMoreTips.vue?type=component"],"sourcesContent":["<template>\n\t<view class=\"more-tips\">\n\t\t<view class=\"more-tips-scroll\">\n\t\t\t<view class=\"more-tips-item\" v-for=\"(item, index) in itemList\" :key=\"index\">\n\t\t\t\t<text class=\"more-tips-item-title\" @click=\"sendReply(item.title)\">{{ item.title }}</text>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script setup>\n\timport { onMounted, ref } from 'vue';\n\tconst itemList = ref([])\n\tconst emits = defineEmits(['replySent']);\n\n\tconst sendReply = (text) => {\n\t\temits('replySent', text); // 向父组件传递数据\n\t}\n\t\n\tonMounted(() => {\n\t\tinitData()\n\t})\n\t\n\tconst initData = () => {\n\t\titemList.value = [\n\t\t\t{\n\t\t\t\ttitle: '定温泉票',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '定酒店',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '优惠套餐',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '亲子玩法',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '了解交通',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '看看酒店',\n\t\t\t},\n\t\t\t{\n\t\t\t\ttitle: '看看美食',\n\t\t\t}\n\t\t] \n\t}\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n\t.more-tips {\n\t\twidth: 100%;\n\t\t\n\t\t&-scroll {\n\t\t display: flex;\n\t\t flex-direction: row;\n\t\t overflow-x: auto;\n\t\t white-space: nowrap;\n\t\t -webkit-overflow-scrolling: touch; \n\t\t \n\t\t /* 隐藏滚动条 */\n\t\t scrollbar-width: none; \n\t\t &::-webkit-scrollbar {\n\t\t display: none; \n\t\t }\n\t\t }\n\t\t\n\t\t.more-tips-item {\n\t\t\tborder-radius: 8px;\n\t\t\tmargin: 4px;\n\t\t\tbox-shadow: 0 2px 5px 0px rgba(0,0,0,0.1);\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tpadding: 2px 12px;\n\t\t\tdisplay: flex; \n\t\t\tflex-direction: column;\n\t\t\tmin-width: 46px;\n\t\t\t\n\t\t\t&:first-child {\n\t\t\t\tmargin-left: 12px;\n\t\t\t}\n\t\t\t\t\n\t\t\t&:last-child {\n\t\t\t\tmargin-right: 12px;\n\t\t\t}\n\t\t\t\n\t\t\t.more-tips-item-title {\n\t\t\t\tfont-family: PingFang SC, PingFang SC;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tfont-size: 12px;\n\t\t\t\tcolor: #00A6FF;\n\t\t\t\tline-height: 24px;\n\t\t\t\ttext-align: center;\n\t\t\t}\n\t\t}\n\t}\n</style>\n","import Component from '/Users/gleen/UniAppProjects/YGChatCS/pages/chat/ChatMoreTips.vue'\nwx.createComponent(Component)"],"names":["ref","onMounted"],"mappings":";;;;;;AAYC,UAAM,WAAWA,cAAG,IAAC,EAAE;AACvB,UAAM,QAAQ;AAEd,UAAM,YAAY,CAAC,SAAS;AAC3B,YAAM,aAAa,IAAI;AAAA,IACvB;AAEDC,kBAAAA,UAAU,MAAM;AACf,eAAU;AAAA,IACZ,CAAE;AAED,UAAM,WAAW,MAAM;AACtB,eAAS,QAAQ;AAAA,QAChB;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,QACD;AAAA,UACC,OAAO;AAAA,QACP;AAAA,MACD;AAAA,IACD;;;;;;;;;;;;;;;AC9CF,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ChatQuickAccess.js","sources":["pages/chat/ChatQuickAccess.vue?type=page"],"sourcesContent":["import MiniProgramPage from '/Users/gleen/UniAppProjects/YGChatCS/pages/chat/ChatQuickAccess.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,gBAAe,eAAA;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ChatQuickAccess2.js","sources":["/Users/gleen/UniAppProjects/YGChatCS/pages/chat/ChatQuickAccess.vue?type=page"],"sourcesContent":["import MiniProgramPage from '/Users/gleen/UniAppProjects/YGChatCS/pages/chat/ChatQuickAccess.vue'\nwx.createPage(MiniProgramPage)"],"names":["MiniProgramPage"],"mappings":";;AACA,GAAG,WAAWA,gBAAe,eAAA;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ChatTopBanner.js","sources":["pages/chat/ChatTopBanner.vue","/Users/gleen/UniAppProjects/YGChatCS/pages/chat/ChatTopBanner.vue?type=component"],"sourcesContent":["<template>\n\t<view class=\"top-bg-content\" :style=\"{marginTop: marginContentTop + 'px'}\">\n\t\t<view class=\"top-item1\">\n\t\t\t<view class=\"top-item1-left\">\n\t\t\t\t<image src=\"/static/hello_xiaomu_icon@2x.png\"></image>\n\t\t\t\t<text>2025/02/10 多云 -3~6℃</text>\t\t\t\t\t\t \n\t\t\t</view>\n\t\t\t<view class=\"top-item1-right\">\n\t\t\t\t<image src=\"/static/hello_logo_icon@2x.png\" ></image>\n\t\t\t</view>\t\t\t \t\t\t \n\t\t</view>\n\t</view>\n</template>\n\n<script setup>\n\timport { ref } from 'vue';\n\timport { onLoad } from '@dcloudio/uni-app';\n\t\n\tconst statusBarHeight = ref(20);\n\tconst marginContentTop = ref(44) \n\t\n\tonLoad(() => {\n\t uni.getSystemInfo({\n\t success: (res) => {\n\t statusBarHeight.value = res.statusBarHeight || 20;\n\t\t marginContentTop.value += statusBarHeight.value;\n\t }\n\t });\n\t});\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n\t.top-bg-content {\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t\talign-items: stretch;\n\t\tflex-direction: column;\n\t}\n\t\n\t.top-item1 {\n\t\tdisplay: flex;\n\t\tflex-direction: row;\n\t\tjustify-content: space-between;\n\t\tmargin: 0 46px 0 32px;\n\t\t\n\t\t.top-item1-left {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tjustify-content: flex-end;\n\t\t\t\n\t\t\timage {\n\t\t\t\twidth: 118px;\n\t\t\t\theight: 52px;\n\t\t\t}\n\t\t\ttext {\n\t\t\t\tfont-family: PingFang SC, PingFang SC;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 12px;\n\t\t\t\tcolor: #1E4C69;\n\t\t\t\tline-height: 24px;\n\t\t\t\ttext-align: justify;\n\t\t\t\tfont-style: normal;\n\t\t\t\ttext-transform: none;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.top-item1-right {\n\t\t\timage {\n\t\t\t\twidth: 96px;\n\t\t\t\theight: 96px;\n\t\t\t}\n\t\t}\n\t}\n</style>","import Component from '/Users/gleen/UniAppProjects/YGChatCS/pages/chat/ChatTopBanner.vue'\nwx.createComponent(Component)"],"names":["ref","onLoad","uni"],"mappings":";;;;;;AAkBC,UAAM,kBAAkBA,kBAAI,EAAE;AAC9B,UAAM,mBAAmBA,cAAG,IAAC,EAAE;AAE/BC,kBAAAA,OAAO,MAAM;AACXC,oBAAAA,MAAI,cAAc;AAAA,QAChB,SAAS,CAAC,QAAQ;AAChB,0BAAgB,QAAQ,IAAI,mBAAmB;AAClD,2BAAiB,SAAS,gBAAgB;AAAA,QACxC;AAAA,MACN,CAAI;AAAA,IACJ,CAAE;;;;;;;;;;;AC3BF,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ChatTopBgImg.js","sources":["/Users/gleen/UniAppProjects/YGChatCS/pages/chat/ChatTopBgImg.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/YGChatCS/pages/chat/ChatTopBgImg.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ChatTopNavBar.js","sources":["pages/chat/ChatTopNavBar.vue","/Users/gleen/UniAppProjects/YGChatCS/pages/chat/ChatTopNavBar.vue?type=component"],"sourcesContent":["<template>\n\t<view class=\"nav-bar\">\n\t <view class=\"nav-item\" @click=\"openDrawer\">\n\t <image src=\"/static/drawer_icon.png\" mode=\"aspectFit\" class=\"nav-item-icon\"></image>\n\t </view>\n\t</view>\n</template>\n\n<script setup>\n\timport { defineEmits } from 'vue'\n\t\n\tconst emits = defineEmits(['openDrawer'])\n\t\n\tconst openDrawer = () => {\n\t\temits('openDrawer')\n\t\tconsole.log('=============打开抽屉')\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.nav-bar {\n\t display: flex;\n\t align-items: center;\n\t height: 44px;\n\t padding: 0 15px;\n\t \n\t .nav-item {\n\t width: 24px;\n\t height: 24px;\n\t margin-right: 10px;\n\t }\n\t .nav-item-icon {\n\t\t width: 100%;\n\t\t height: 100%;\n\t }\n\t}\n</style>","import Component from '/Users/gleen/UniAppProjects/YGChatCS/pages/chat/ChatTopNavBar.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;;;;;;AAWC,UAAM,QAAQ;AAEd,UAAM,aAAa,MAAM;AACxB,YAAM,YAAY;AAClBA,oBAAAA,yDAAY,mBAAmB;AAAA,IAC/B;;;;;;;;;;ACfF,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"DrawerContent.js","sources":["pages/drawer/DrawerContent.vue","/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/drawer/DrawerContent.vue?type=component"],"sourcesContent":["<template>\n <view class=\"drawer-window-wrap\">\n <scroll-view scroll-y class=\"DrawerPage\" :class=\"modalName == 'viewModal' ? 'show' : ''\">\n <!-- 主页面 -->\n <slot></slot>\n </scroll-view>\n\t\n <!-- 关闭抽屉 -->\n <view class=\"DrawerClose\" :class=\"modalName == 'viewModal' ? 'show' : ''\" @tap=\"hide()\">\n <u-icon name=\"backspace\"></u-icon>\n </view>\n\t\n <!-- 抽屉页面 -->\n <scroll-view scroll-y class=\"DrawerWindow\" :class=\"modalName == 'viewModal' ? 'show' : ''\">\n <slot name=\"drawer\"></slot>\n </scroll-view>\n\t\n </view>\n</template>\n \n<script>\n export default {\n data() {\n return {\n modalName: null\n }\n },\n methods: {\n // 打开抽屉\n show() {\n this.modalName = 'viewModal'\n },\n // 关闭抽屉\n hide() {\n this.modalName = null\n }\n }\n }\n</script>\n \n<style lang=\"scss\" scoped>\n page {\n width: 100vw;\n overflow: hidden !important;\n }\n \n .DrawerPage {\n position: fixed;\n width: 100vw;\n height: 100vh;\n left: 0vw;\n background-color: #f1f1f1;\n transition: all 0.4s;\n }\n \n .DrawerPage.show {\n transform: scale(0.9, 0.9);\n left: 85vw;\n box-shadow: 0 0 60rpx rgba(0, 0, 0, 0.2);\n transform-origin: 0;\n }\n \n .DrawerWindow {\n position: absolute;\n width: 85vw;\n height: 100vh;\n left: 0;\n top: 0;\n transform: scale(0.9, 0.9) translateX(-100%);\n opacity: 0;\n pointer-events: none;\n transition: all 0.4s;\n background-image: linear-gradient(45deg, #1cbbb4, #2979ff) !important;\n }\n \n .DrawerWindow.show {\n transform: scale(1, 1) translateX(0%);\n opacity: 1;\n pointer-events: all;\n }\n \n .DrawerClose {\n position: absolute;\n width: 40vw;\n height: 100vh;\n right: 0;\n top: 0;\n color: transparent;\n padding-bottom: 50rpx;\n display: flex;\n align-items: flex-end;\n justify-content: center;\n background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.6));\n letter-spacing: 5px;\n font-size: 50rpx;\n opacity: 0;\n pointer-events: none;\n transition: all 0.4s;\n }\n \n .DrawerClose.show {\n opacity: 1;\n pointer-events: all;\n width: 15vw;\n color: #fff;\n }\n \n</style>\n","import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/drawer/DrawerContent.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;AAqBE,MAAK,YAAU;AAAA,EACb,OAAO;AACL,WAAO;AAAA,MACL,WAAW;AAAA,IACb;AAAA,EACD;AAAA,EACD,SAAS;AAAA;AAAA,IAEP,OAAO;AACL,WAAK,YAAY;AAAA,IAClB;AAAA;AAAA,IAED,OAAO;AACL,WAAK,YAAY;AAAA,IACnB;AAAA,EACF;AACF;;;;;;;;;;;;;;;;;ACpCF,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"DrawerHome.js","sources":["pages/drawer/DrawerHome.vue","/Users/gleen/UniAppProjects/YGChatCS/pages/drawer/DrawerHome.vue?type=component"],"sourcesContent":["<template>\n\t<view class=\"drawer-home\"> \n\t\t<view class=\"drawer-home-nav\">\n\t\t\t<text>抽屉页面</text>\n\t\t</view>\n\t\t\n\t\t<button @click=\"closeDrawer\" type=\"default\">关闭</button>\n\t\t<button @click=\"login\" type=\"default\">登录</button>\n\t\t<view class=\"drawer-list\">\n\t\t\t<view v-for=\"(item,index) in 100\" :key=\"index\">\n\t\t\t\t<text class=\"message-item\">{{item}}</text>\n\t\t\t</view>\n\t\t</view>\n\t\t\n\t</view>\n</template>\n\n<script setup>\n\timport { defineEmits } from 'vue'\n\tconst emits = defineEmits(['closeDrawer'])\n import * as loginMnager from '@/manager/LoginManager'\n\t\n\tconst closeDrawer = () => {\n\t\temits('closeDrawer')\n\t\tconsole.log('=============关闭抽屉')\n\t}\n\n\tconst login = () => {\n\t\tloginMnager.loginAuth()\n\t\t\t.then(res => {\n\t\t\t\tconsole.log('登录成功', res)\n\t\t\t\t// 这里可以处理登录成功后的逻辑,比如保存 token 等\n\t\t\t})\n\t\t\t.catch(err => {\n\t\t\t\tconsole.error('登录失败', err)\n\t\t\t\t// 这里可以处理登录失败的逻辑\n\t\t\t})\n\t\tconsole.log('=============登录')\n\t\t// 这里可以处理登录逻辑,比如调用登录接口等\n\t}\t\t\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n\t.drawer-home {\n\t\twidth: 100%;\n\t\theight: 100vh;\n\t\tbackground-color: #E9F3F7;\n\t\tpadding-top: 44px;\n\t\t\n\t\t.drawer-home-nav {\n\t\t\tpadding: 12px;\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\t\t\t\n\t\t\ttext {\n\t\t\t\tfont-size: 20px;\n\t\t\t\ttext-align: center;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.drawer-list {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\theight: 100%;\n\t\t\toverflow-y: scroll;\n\t\t}\n\t\t\n\t\t.message-item {\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\t\t\tbackground-color: white;\n\t\t\tmargin: 6px 12px;\n\t\t\tpadding: 8px 24px;\n\t\t\tborder-radius: 4px;\n\t\t\tfont-size: 14px;\n\t\t\tbox-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);\n\t\t\t\n\t\t\ttext {\n\t\t\t\tfont-family: PingFang SC, PingFang SC;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tcolor: #333333;\n\t\t\t}\n\t\t}\n\t}\n</style>","import Component from '/Users/gleen/UniAppProjects/YGChatCS/pages/drawer/DrawerHome.vue'\nwx.createComponent(Component)"],"names":["uni","loginMnager.loginAuth"],"mappings":";;;;;;;AAmBC,UAAM,QAAQ;AAGd,UAAM,cAAc,MAAM;AACzB,YAAM,aAAa;AACnBA,oBAAAA,wDAAY,mBAAmB;AAAA,IAC/B;AAED,UAAM,QAAQ,MAAM;AACnBC,qCAAuB,EACrB,KAAK,SAAO;AACZD,sBAAAA,MAAA,MAAA,OAAA,qCAAY,QAAQ,GAAG;AAAA,MAE3B,CAAI,EACA,MAAM,SAAO;AACbA,sBAAAA,MAAA,MAAA,SAAA,qCAAc,QAAQ,GAAG;AAAA,MAE7B,CAAI;AACFA,oBAAAA,MAAY,MAAA,OAAA,qCAAA,iBAAiB;AAAA,IAE7B;;;;;;;;;;;;;;;;ACtCF,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
@ -1 +0,0 @@
|
||||
{"version":3,"file":"DrawerHome.js","sources":["pages/index/DrawerHome.vue","/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/index/DrawerHome.vue?type=component"],"sourcesContent":["<template>\n\t<view class=\"drawer-home\"> \n\t\t<text class=\"drawer-home-nav\">抽屉页面</text>\n\t\t<button @click=\"closeDrawer\" type=\"default\">关闭</button>\n\t\t<view class=\"\" v-for=\"(item,index) in 100\" :key=\"index\">\n\t\t\t{{item}}\n\t\t</view>\n\t</view>\n</template>\n\n<script setup>\n\timport { defineEmits } from 'vue'\n\tconst emits = defineEmits(['closeDrawer'])\n\t\n\tconst closeDrawer = () => {\n\t\temits('closeDrawer')\n\t\tconsole.log('=============关闭抽屉')\n\t}\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n\t.drawer-home {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tbackground-color: greenyellow;\n\t\t\n\t\t.drawer-home-nav {\n\t\t\tmargin-top: 100px;\n\t\t\tfont-size: 30px;\n\t\t}\n\t}\n</style>","import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/index/DrawerHome.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;;;;;AAYC,UAAM,QAAQ;AAEd,UAAM,cAAc,MAAM;AACzB,YAAM,aAAa;AACnBA,oBAAAA,uDAAY,mBAAmB;AAAA,IAC/B;;;;;;;;;;;;;;;AChBF,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"Home.js","sources":["pages/index/Home.vue","/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/index/Home.vue?type=component"],"sourcesContent":["<template>\n\t<view class=\"home\"> \n\t\t<text class=\"home-nav\">主页面</text>\n\t\t<text>主页面</text>\n\t\t<text>主页面</text>\n\t\t\n\t\t<button @click=\"openDrawer\" type=\"default\">打开</button>\n\t\t\n\t\t<text>主页面</text>\n\t\t<view class=\"\" v-for=\"(item,index) in 100\" :key=\"index\">\n\t\t\t{{item}}\n\t\t</view>\n\t</view>\n</template>\n\n<script setup>\n\timport { defineEmits } from 'vue'\n\t\n\tconst emits = defineEmits(['openDrawer'])\n\t\n\tconst openDrawer = () => {\n\t\temits('openDrawer')\n\t\tconsole.log('=============打开抽屉')\n\t}\n\t\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n\t.home {\n\t\twidth: 100vh;\n\t\theight: 100vh;\n\t\tbackground-color: red;\n\t\t\n\t\t.home-nav {\n\t\t\tmargin-top: 100px;\n\t\t\tfont-size: 30px;\n\t\t}\n\t}\n</style>","import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/index/Home.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;;;;;AAkBC,UAAM,QAAQ;AAEd,UAAM,aAAa,MAAM;AACxB,YAAM,YAAY;AAClBA,oBAAAA,iDAAY,mBAAmB;AAAA,IAC/B;;;;;;;;;;;;;;;ACtBF,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"InputArea.js","sources":["/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/index/InputArea.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/index/InputArea.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"MessageInputArea.js","sources":["/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/index/MessageInputArea.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/Tianmu/YGTianmuCS/pages/index/MessageInputArea.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["pages/index/index.vue","pages/index/index.vue?type=page"],"sourcesContent":["<template>\n\t<ex-drawer ref='drawer' width=\"488\">\n\t\t<!-- 抽屉页面 -->\n\t\t<view class=\"mian-drawer\" slot=\"drawerContent\">\n\t\t\t<drawer-home @closeDrawer=\"closeDrawer\" ></drawer-home>\n\t\t</view>\n\t\t\n\t\t<!-- 主页面 -->\n\t\t<view class=\"mian-container\" slot=\"containerContent\">\n\t\t\t<chat-main-list @openDrawer=\"openDrawer\"></chat-main-list>\n\t\t</view>\n\t</ex-drawer>\t\n\t\n</template>\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport exDrawer from '@/third/ex-drawer/ex-drawer.vue'\n\timport DrawerHome from '@/pages/drawer/DrawerHome.vue'\n\timport ChatMainList from '../chat/ChatMainList.vue'\n\t\n\tconst drawer = ref()\n\t\n\tconst openDrawer = () => {\n\t\tdrawer.value.open()\n\t}\n\t\n\tconst closeDrawer = () => {\n\t\tdrawer.value.close()\n\t}\n\n</script>\n\n<style lang=\"scss\" scoped>\n\t.mian-drawer{\n\t\theight: 100vh;\n\t\tbackground-color: #ffffff;\n\t}\n\t.mian-container{\n\t\twidth: 100vw;\n\t\theight: 100vh;\n\t\tbackground-color: #ffffff;\n\t}\n</style>","import MiniProgramPage from '/Users/gleen/UniAppProjects/YGChatCS/pages/index/index.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref"],"mappings":";;;;;AAiBC,MAAM,WAAW,MAAW;AAC5B,MAAM,aAAa,MAAW;AAC9B,MAAM,eAAe,MAAW;;;;AAEhC,UAAM,SAASA,cAAAA,IAAK;AAEpB,UAAM,aAAa,MAAM;AACxB,aAAO,MAAM,KAAM;AAAA,IACnB;AAED,UAAM,cAAc,MAAM;AACzB,aAAO,MAAM,MAAO;AAAA,IACpB;;;;;;;;;;;;;;;;AC5BF,GAAG,WAAW,eAAe;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"OneFeelMK001.js","sources":["/Users/gleen/UniAppProjects/YGChatCS/pages/module/OneFeelMK001.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/YGChatCS/pages/module/OneFeelMK001.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["pages/order/components/GoodsInfo/index.vue","/Users/gleen/UniAppProjects/YGChatCS/pages/order/components/GoodsInfo/index.vue?type=component"],"sourcesContent":["<template>\n <view class=\"goods-info mb12\">\n <view class=\"hotel-header\">\n <image class=\"hotel-icon\" src=\"./images/icon_house.png\"></image>\n <text class=\"hotel-name\">天沐温泉酒店</text>\n </view>\n <view class=\"goods-detail\">\n <image class=\"goods-image\" :src=\"goodsImage\"></image>\n <view class=\"goods-description\">\n <text class=\"goods-title\">温泉早鸟票</text>\n <text class=\"goods-date\">预定时间:5月1日</text>\n </view>\n </view>\n <view class=\"included-services\">\n <text class=\"services-title\">包含服务</text>\n <view class=\"service-item\">\n <text class=\"service-name\">· 精致下午茶</text>\n <text class=\"service-quantity\">1份</text>\n </view>\n <view class=\"service-item\">\n <text class=\"service-name\">· 接机或接站</text>\n <text class=\"service-quantity\">1份</text>\n </view>\n </view>\n </view>\n</template>\n\n<script setup>\nconst goodsImage = 'https://example.com/path/to/image.jpg'; // Replace with actual image URL\n</script>\n\n<style scoped lang=\"scss\">\n@import './styles/index.scss';\n</style>","import Component from '/Users/gleen/UniAppProjects/YGChatCS/pages/order/components/GoodsInfo/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;AA4BA,MAAM,aAAa;;;;;;;;;;;;;AC3BnB,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["/Users/gleen/UniAppProjects/YGChatCS/pages/order/components/NoticeInfo/index.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/YGChatCS/pages/order/components/NoticeInfo/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["/Users/gleen/UniAppProjects/YGChatCS/pages/order/components/OrderInfo/index.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/YGChatCS/pages/order/components/OrderInfo/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["/Users/gleen/UniAppProjects/YGChatCS/pages/order/components/OrderStatusInfo/index.vue?type=component"],"sourcesContent":["import Component from '/Users/gleen/UniAppProjects/YGChatCS/pages/order/components/OrderStatusInfo/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sources":["pages/order/components/UserInfo/index.vue","/Users/gleen/UniAppProjects/YGChatCS/pages/order/components/UserInfo/index.vue?type=component"],"sourcesContent":["<template>\n <view class=\"user-info mb12\">\n <view class=\"user-info-title\">游客信息</view>\n <view class=\"user-info-item\">\n <text class=\"label\">联系游客:</text>\n <text class=\"value\">{{ contactName }}</text>\n </view>\n <view class=\"user-info-item\">\n <text class=\"label\">联系电话:</text>\n <text class=\"value\">{{ contactPhone }}</text>\n </view>\n </view>\n</template>\n\n<script setup>\nconst contactName = '李元一';\nconst contactPhone = '13172891829';\n</script>\n\n<style scoped>\n@import './styles/index.scss';\n</style>","import Component from '/Users/gleen/UniAppProjects/YGChatCS/pages/order/components/UserInfo/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;AAeA,MAAM,cAAc;AACpB,MAAM,eAAe;;;;;;;;;;;;;ACfrB,GAAG,gBAAgB,SAAS;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"detail.js","sources":["pages/order/detail.vue","pages/order/detail.vue?type=page"],"sourcesContent":["<template>\n <view class=\"order-detail-wrapper\">\n <image class=\"icon-back\" src=\"./images/back.png\" />\n <OrderStatusInfo />\n <GoodsInfo />\n <UserInfo />\n <NoticeInfo />\n <OrderInfo />\n </view>\n</template>\n\n<script setup>\nimport OrderStatusInfo from './components/OrderStatusInfo/index.vue'\nimport GoodsInfo from './components/GoodsInfo/index.vue'\nimport UserInfo from './components/UserInfo/index.vue'\nimport NoticeInfo from './components/NoticeInfo/index.vue'\nimport OrderInfo from './components/OrderInfo/index.vue'\n</script>\n\n<style lang=\"scss\" scoped>\n@import './styles/detail.scss';\n</style>","import MiniProgramPage from '/Users/gleen/UniAppProjects/YGChatCS/pages/order/detail.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;;;;AAYA,MAAM,kBAAkB,MAAW;AACnC,MAAM,YAAY,MAAW;AAC7B,MAAM,WAAW,MAAW;AAC5B,MAAM,aAAa,MAAW;AAC9B,MAAM,YAAY,MAAW;;;;;;;;;;;;ACf7B,GAAG,WAAW,eAAe;"}
|
||||
@ -1 +0,0 @@
|
||||
{"version":3,"file":"list.js","sources":["pages/order/list.vue?type=page"],"sourcesContent":["import MiniProgramPage from '/Users/gleen/UniAppProjects/YGChatCS/pages/order/list.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;;;;;AACA,GAAG,WAAW,eAAe;"}
|
||||
File diff suppressed because one or more lines are too long
58
unpackage/dist/dev/mp-weixin/ChatQuickAccess.js
vendored
58
unpackage/dist/dev/mp-weixin/ChatQuickAccess.js
vendored
@ -1,58 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("./common/vendor.js");
|
||||
const common_assets = require("./common/assets.js");
|
||||
const _sfc_main = {
|
||||
__name: "ChatQuickAccess",
|
||||
emits: ["replySent"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const itemList = common_vendor.ref([]);
|
||||
const emits = __emit;
|
||||
const sendReply = (text) => {
|
||||
emits("replySent", text);
|
||||
};
|
||||
common_vendor.onMounted(() => {
|
||||
initData();
|
||||
});
|
||||
const initData = () => {
|
||||
itemList.value = [
|
||||
{
|
||||
icon: "/static/quick/quick_icon_yuding.png",
|
||||
title: "预定门票",
|
||||
content: "快速预定天沐温泉门票"
|
||||
},
|
||||
{
|
||||
icon: "/static/quick/quick_icon_find.png",
|
||||
title: "探索发现",
|
||||
content: "亲子、团建等更多玩法"
|
||||
},
|
||||
{
|
||||
icon: "/static/quick/quick_icon_call.png",
|
||||
title: "呼叫服务",
|
||||
content: "加床、订麻将机..."
|
||||
},
|
||||
{
|
||||
icon: "/static/quick/quick_icon_order.png",
|
||||
title: "我的订单",
|
||||
content: "快速查看订单"
|
||||
}
|
||||
];
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(itemList.value, (item, index, i0) => {
|
||||
return {
|
||||
a: item.icon,
|
||||
b: common_vendor.t(item.title),
|
||||
c: common_vendor.t(item.content),
|
||||
d: index,
|
||||
e: common_vendor.o(($event) => sendReply(item.title), index)
|
||||
};
|
||||
}),
|
||||
b: common_assets._imports_0$8
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-eca4a9d2"]]);
|
||||
exports.MiniProgramPage = MiniProgramPage;
|
||||
//# sourceMappingURL=../.sourcemap/mp-weixin/ChatQuickAccess.js.map
|
||||
34
unpackage/dist/dev/mp-weixin/app.js
vendored
34
unpackage/dist/dev/mp-weixin/app.js
vendored
@ -1,34 +0,0 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const common_vendor = require("./common/vendor.js");
|
||||
if (!Math) {
|
||||
"./pages/index/index.js";
|
||||
"./pages/chat/ChatQuickAccess.js";
|
||||
"./pages/order/list.js";
|
||||
"./pages/order/detail.js";
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "App",
|
||||
setup(__props) {
|
||||
common_vendor.onLaunch(() => {
|
||||
common_vendor.index.__f__("log", "at App.vue:5", "App Launch");
|
||||
});
|
||||
common_vendor.onShow(() => {
|
||||
common_vendor.index.__f__("log", "at App.vue:9", "App Show");
|
||||
});
|
||||
common_vendor.onHide(() => {
|
||||
common_vendor.index.__f__("log", "at App.vue:13", "App Hide");
|
||||
});
|
||||
return () => {
|
||||
};
|
||||
}
|
||||
};
|
||||
function createApp() {
|
||||
const app = common_vendor.createSSRApp(_sfc_main);
|
||||
return {
|
||||
app
|
||||
};
|
||||
}
|
||||
createApp().app.mount("#app");
|
||||
exports.createApp = createApp;
|
||||
//# sourceMappingURL=../.sourcemap/mp-weixin/app.js.map
|
||||
10
unpackage/dist/dev/mp-weixin/app.json
vendored
10
unpackage/dist/dev/mp-weixin/app.json
vendored
@ -1,10 +0,0 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/chat/ChatQuickAccess",
|
||||
"pages/order/list",
|
||||
"pages/order/detail"
|
||||
],
|
||||
"window": {},
|
||||
"usingComponents": {}
|
||||
}
|
||||
37
unpackage/dist/dev/mp-weixin/app.wxss
vendored
37
unpackage/dist/dev/mp-weixin/app.wxss
vendored
@ -1,37 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
/* 添加全局样式 */
|
||||
page,
|
||||
body,
|
||||
#app {
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
background-color: #E9F3F7;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
}
|
||||
.mb12 {
|
||||
margin-bottom: 12px;
|
||||
}page{--status-bar-height:25px;--top-window-height:0px;--window-top:0px;--window-bottom:0px;--window-left:0px;--window-right:0px;--window-magin:0px}[data-c-h="true"]{display: none !important;}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 311 B |
Binary file not shown.
|
Before Width: | Height: | Size: 866 B |
Binary file not shown.
|
Before Width: | Height: | Size: 984 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.0 KiB |
34
unpackage/dist/dev/mp-weixin/common/assets.js
vendored
34
unpackage/dist/dev/mp-weixin/common/assets.js
vendored
@ -1,34 +0,0 @@
|
||||
"use strict";
|
||||
const _imports_0$9 = "/static/quick/quick_icon_bg.png";
|
||||
const _imports_0$8 = "/assets/back.6961004c.png";
|
||||
const _imports_0$7 = "/static/logo.png";
|
||||
const _imports_1$3 = "/static/input_voice_icon.png";
|
||||
const _imports_2$1 = "/static/input_send_icon.png";
|
||||
const _imports_0$6 = "/static/icons/clock.png";
|
||||
const _imports_0$5 = "/assets/icon_house.8779a05f.png";
|
||||
const _imports_0$4 = "/assets/icon_clock.50bb3f13.png";
|
||||
const _imports_1$2 = "/assets/icon_card.c038c52d.png";
|
||||
const _imports_2 = "/assets/icon_arrow.228274ee.png";
|
||||
const _imports_0$3 = "/static/hello_xiaomu_icon@2x.png";
|
||||
const _imports_1$1 = "/static/hello_logo_icon@2x.png";
|
||||
const _imports_0$2 = "/static/top_bg_icon.png";
|
||||
const _imports_0$1 = "/static/drawer_icon.png";
|
||||
const _imports_0 = "/static/wave_icon.png";
|
||||
const _imports_1 = "/static/test/mk_img_1.png";
|
||||
exports._imports_0 = _imports_0$8;
|
||||
exports._imports_0$1 = _imports_0$7;
|
||||
exports._imports_0$2 = _imports_0$6;
|
||||
exports._imports_0$3 = _imports_0$5;
|
||||
exports._imports_0$4 = _imports_0$4;
|
||||
exports._imports_0$5 = _imports_0$3;
|
||||
exports._imports_0$6 = _imports_0$2;
|
||||
exports._imports_0$7 = _imports_0$1;
|
||||
exports._imports_0$8 = _imports_0$9;
|
||||
exports._imports_0$9 = _imports_0;
|
||||
exports._imports_1 = _imports_1$3;
|
||||
exports._imports_1$1 = _imports_1$2;
|
||||
exports._imports_1$2 = _imports_1$1;
|
||||
exports._imports_1$3 = _imports_1;
|
||||
exports._imports_2 = _imports_2$1;
|
||||
exports._imports_2$1 = _imports_2;
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/assets.js.map
|
||||
7938
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
7938
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
File diff suppressed because it is too large
Load Diff
15
unpackage/dist/dev/mp-weixin/model/ChatModel.js
vendored
15
unpackage/dist/dev/mp-weixin/model/ChatModel.js
vendored
@ -1,15 +0,0 @@
|
||||
"use strict";
|
||||
var MessageRole = /* @__PURE__ */ ((MessageRole2) => {
|
||||
MessageRole2["AI"] = "AI";
|
||||
MessageRole2["ME"] = "ME";
|
||||
MessageRole2["OTHER"] = "OTHER";
|
||||
return MessageRole2;
|
||||
})(MessageRole || {});
|
||||
var MessageType = /* @__PURE__ */ ((MessageType2) => {
|
||||
MessageType2["TEXT"] = "TEXT";
|
||||
MessageType2["IMAGE"] = "IMAGE";
|
||||
return MessageType2;
|
||||
})(MessageType || {});
|
||||
exports.MessageRole = MessageRole;
|
||||
exports.MessageType = MessageType;
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/model/ChatModel.js.map
|
||||
@ -1,21 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
__name: "ChatCardAI",
|
||||
props: {
|
||||
text: {
|
||||
type: String,
|
||||
default: ""
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.t(__props.text)
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-efbf549a"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/chat/ChatCardAI.js.map
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="chat-ai data-v-efbf549a"><text class="data-v-efbf549a">{{a}}</text><slot></slot></view>
|
||||
@ -1,48 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.chat-ai.data-v-efbf549a {
|
||||
margin: 6px 12px;
|
||||
padding: 16px;
|
||||
background: rgba(255, 255, 255, 0.4);
|
||||
box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 4px 20px 20px 20px;
|
||||
border: 1px solid;
|
||||
border-color: #FFFFFF;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-width: 100%;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.chat-ai text.data-v-efbf549a {
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
line-height: 22px;
|
||||
text-align: justify;
|
||||
font-style: normal;
|
||||
text-transform: none;
|
||||
}
|
||||
@ -1,21 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
__name: "ChatCardMine",
|
||||
props: {
|
||||
text: {
|
||||
type: String,
|
||||
default: ""
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.t(__props.text)
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-f46289cb"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/chat/ChatCardMine.js.map
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="chat-mine data-v-f46289cb"><text class="data-v-f46289cb">{{a}}</text><slot></slot></view>
|
||||
@ -1,48 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.chat-mine.data-v-f46289cb {
|
||||
margin: 6px 12px;
|
||||
padding: 8px 16px;
|
||||
background-color: #00A6FF;
|
||||
box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 20px 4px 20px 20px;
|
||||
border: 1px solid;
|
||||
border-color: #FFFFFF;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-width: 100%;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.chat-mine text.data-v-f46289cb {
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
line-height: 22px;
|
||||
text-align: justify;
|
||||
font-style: normal;
|
||||
text-transform: none;
|
||||
}
|
||||
@ -1,157 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const model_ChatModel = require("../../model/ChatModel.js");
|
||||
if (!Math) {
|
||||
(ChatTopBgImg + ChatTopNavBar + ChatTopBanner + OneFeelMK001 + ChatCardAI + ChatCardMine + ChatMoreTips + ChatQuickAccess)();
|
||||
}
|
||||
const ChatTopBanner = () => "./ChatTopBanner.js";
|
||||
const ChatTopBgImg = () => "./ChatTopBgImg.js";
|
||||
const ChatTopNavBar = () => "./ChatTopNavBar.js";
|
||||
const ChatCardAI = () => "./ChatCardAI.js";
|
||||
const ChatCardMine = () => "./ChatCardMine.js";
|
||||
const ChatQuickAccess = () => "./ChatQuickAccess2.js";
|
||||
const ChatMoreTips = () => "./ChatMoreTips.js";
|
||||
const OneFeelMK001 = () => "../module/OneFeelMK001.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "ChatMainList",
|
||||
emits: ["openDrawer"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const statusBarHeight = common_vendor.ref(20);
|
||||
const navBgColor = common_vendor.ref("rgba(66, 173, 249, 0)");
|
||||
common_vendor.ref(0);
|
||||
const timer = common_vendor.ref(null);
|
||||
const holdKeyboard = common_vendor.ref(false);
|
||||
const holdKeyboardFlag = common_vendor.ref(true);
|
||||
const chatMsgList = common_vendor.ref([]);
|
||||
const inputMessage = common_vendor.ref("");
|
||||
const lastMsgId = common_vendor.ref("anchor-bottom");
|
||||
holdKeyboard.value = true;
|
||||
const emits = __emit;
|
||||
const openDrawer = () => {
|
||||
emits("openDrawer");
|
||||
common_vendor.index.__f__("log", "at pages/chat/ChatMainList.vue:152", "=============打开抽屉");
|
||||
};
|
||||
const handleReply = (text) => {
|
||||
loadMessage(text);
|
||||
scrollToBottom();
|
||||
};
|
||||
common_vendor.onLoad(() => {
|
||||
common_vendor.index.getSystemInfo({
|
||||
success: (res) => {
|
||||
statusBarHeight.value = res.statusBarHeight || 20;
|
||||
}
|
||||
});
|
||||
});
|
||||
common_vendor.onMounted(() => {
|
||||
initData();
|
||||
});
|
||||
const initData = () => {
|
||||
const msg = {
|
||||
msgId: `msg_${0}`,
|
||||
msgType: model_ChatModel.MessageRole.AI,
|
||||
msg: "查信息、预定下单、探索玩法、呼叫服务、我通通可以满足,快试试问我问题吧!"
|
||||
};
|
||||
chatMsgList.value.push(msg);
|
||||
};
|
||||
const handleTouchEnd = () => {
|
||||
clearTimeout(timer.value);
|
||||
timer.value = setTimeout(() => {
|
||||
if (handleNoHideKeyboard) {
|
||||
common_vendor.index.hideKeyboard();
|
||||
}
|
||||
holdKeyboardFlag.value = true;
|
||||
}, 50);
|
||||
};
|
||||
const handleNoHideKeyboard = () => {
|
||||
holdKeyboardFlag.value = false;
|
||||
};
|
||||
const sendMessage = () => {
|
||||
if (!inputMessage.value.trim())
|
||||
return;
|
||||
handleNoHideKeyboard();
|
||||
loadMessage(inputMessage.value);
|
||||
inputMessage.value = "";
|
||||
scrollToBottom();
|
||||
};
|
||||
const loadMessage = (text) => {
|
||||
const newMsg = {
|
||||
msgId: `msg_${chatMsgList.value.length}`,
|
||||
msgType: model_ChatModel.MessageRole.ME,
|
||||
msg: text,
|
||||
msgContent: {
|
||||
type: model_ChatModel.MessageType.TEXT,
|
||||
text
|
||||
}
|
||||
};
|
||||
chatMsgList.value.push(newMsg);
|
||||
let type = chatMsgList.value.length % 3 === 0;
|
||||
const newMsgAI = {
|
||||
msgId: `msg_${chatMsgList.value.length}`,
|
||||
msgType: model_ChatModel.MessageRole.AI,
|
||||
msg: `我是ai,你输入的内容是:${text}`,
|
||||
msgContent: {
|
||||
type: type ? model_ChatModel.MessageType.IMAGE : model_ChatModel.MessageType.TEXT,
|
||||
url: ""
|
||||
}
|
||||
};
|
||||
chatMsgList.value.push(newMsgAI);
|
||||
common_vendor.index.__f__("log", "at pages/chat/ChatMainList.vue:239", "发送的新消息:", JSON.stringify(newMsg));
|
||||
};
|
||||
const scrollToBottom = () => {
|
||||
lastMsgId.value = `${chatMsgList.value[chatMsgList.value.length - 1].msgId}`;
|
||||
common_vendor.nextTick$1(() => {
|
||||
lastMsgId.value = "anchor-bottom";
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(openDrawer),
|
||||
b: statusBarHeight.value + "px",
|
||||
c: navBgColor.value,
|
||||
d: common_vendor.f(chatMsgList.value, (item, k0, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.msgType === common_vendor.unref(model_ChatModel.MessageRole).AI
|
||||
}, item.msgType === common_vendor.unref(model_ChatModel.MessageRole).AI ? common_vendor.e({
|
||||
b: item.msgContent && item.msgContent.type === common_vendor.unref(model_ChatModel.MessageType).IMAGE
|
||||
}, item.msgContent && item.msgContent.type === common_vendor.unref(model_ChatModel.MessageType).IMAGE ? {
|
||||
c: common_assets._imports_0$1
|
||||
} : {}, {
|
||||
d: "d7316ec5-7-" + i0 + "," + ("d7316ec5-6-" + i0),
|
||||
e: "d7316ec5-6-" + i0,
|
||||
f: common_vendor.p({
|
||||
text: item.msg
|
||||
})
|
||||
}) : item.msgType === common_vendor.unref(model_ChatModel.MessageRole).ME ? {
|
||||
h: "d7316ec5-8-" + i0,
|
||||
i: common_vendor.p({
|
||||
text: item.msg
|
||||
})
|
||||
} : {
|
||||
j: common_vendor.t(item.msg)
|
||||
}, {
|
||||
g: item.msgType === common_vendor.unref(model_ChatModel.MessageRole).ME,
|
||||
k: item.msgId,
|
||||
l: item.msgId
|
||||
});
|
||||
}),
|
||||
e: lastMsgId.value,
|
||||
f: lastMsgId.value,
|
||||
g: common_vendor.o(handleReply),
|
||||
h: common_vendor.o(handleReply),
|
||||
i: common_assets._imports_1,
|
||||
j: common_vendor.o(sendMessage),
|
||||
k: common_vendor.o(handleNoHideKeyboard),
|
||||
l: holdKeyboard.value,
|
||||
m: inputMessage.value,
|
||||
n: common_vendor.o(($event) => inputMessage.value = $event.detail.value),
|
||||
o: common_assets._imports_2,
|
||||
p: common_vendor.o(sendMessage),
|
||||
q: common_vendor.o(handleTouchEnd)
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-d7316ec5"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/chat/ChatMainList.js.map
|
||||
@ -1,13 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"chat-top-banner": "./ChatTopBanner",
|
||||
"chat-top-bg-img": "./ChatTopBgImg",
|
||||
"chat-top-nav-bar": "./ChatTopNavBar",
|
||||
"chat-card-a-i": "./ChatCardAI",
|
||||
"chat-card-mine": "./ChatCardMine",
|
||||
"chat-quick-access": "./ChatQuickAccess",
|
||||
"chat-more-tips": "./ChatMoreTips",
|
||||
"one-feel-m-k001": "../module/OneFeelMK001"
|
||||
}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="chat-container data-v-d7316ec5" bindtouchend="{{q}}"><chat-top-bg-img class="chat-container-bg data-v-d7316ec5" u-i="d7316ec5-0" bind:__l="__l"></chat-top-bg-img><view class="nav-bar-container data-v-d7316ec5" style="{{'padding-top:' + b + ';' + ('background-color:' + c)}}"><chat-top-nav-bar class="data-v-d7316ec5" bindopenDrawer="{{a}}" u-i="d7316ec5-1" bind:__l="__l"></chat-top-nav-bar></view><view class="chat-container-msg-list data-v-d7316ec5"><chat-top-banner class="chat-container-top-bannar data-v-d7316ec5" u-i="d7316ec5-2" bind:__l="__l"></chat-top-banner><scroll-view scroll-y scroll-into-view="{{f}}" scroll-with-animation="{{true}}" class="area-msg-list data-v-d7316ec5"><view class="data-v-d7316ec5" style="padding:6px 12px"><one-feel-m-k001 class="data-v-d7316ec5" u-i="d7316ec5-3" bind:__l="__l"></one-feel-m-k001></view><view class="data-v-d7316ec5" style="padding:6px 12px"><one-feel-m-k001 class="data-v-d7316ec5" u-i="d7316ec5-4" bind:__l="__l"></one-feel-m-k001></view><view class="data-v-d7316ec5" style="padding:6px 12px"><one-feel-m-k001 class="data-v-d7316ec5" u-i="d7316ec5-5" bind:__l="__l"></one-feel-m-k001></view><view wx:for="{{d}}" wx:for-item="item" wx:key="k" class="area-msg-list-content data-v-d7316ec5" id="{{item.l}}"><block wx:if="{{item.a}}"><chat-card-a-i wx:if="{{item.f}}" u-s="{{['d']}}" class="message-item message-item-ai data-v-d7316ec5" u-i="{{item.e}}" bind:__l="__l" u-p="{{item.f}}"><image wx:if="{{item.b}}" class="data-v-d7316ec5" src="{{item.c}}" style="width:100px;height:100px"></image><one-feel-m-k001 class="data-v-d7316ec5" u-i="{{item.d}}" bind:__l="__l"></one-feel-m-k001></chat-card-a-i></block><block wx:elif="{{item.g}}"><chat-card-mine wx:if="{{item.i}}" class="message-item message-item-mine data-v-d7316ec5" u-i="{{item.h}}" bind:__l="__l" u-p="{{item.i}}"></chat-card-mine></block><block wx:else><text class="message-item message-item-other data-v-d7316ec5">{{item.j}}</text></block></view><view class="data-v-d7316ec5" id="{{e}}"></view></scroll-view><view class="footer-area data-v-d7316ec5"><chat-more-tips class="data-v-d7316ec5" bindreplySent="{{g}}" u-i="d7316ec5-9" bind:__l="__l"></chat-more-tips><chat-quick-access class="data-v-d7316ec5" bindreplySent="{{h}}" u-i="d7316ec5-10" bind:__l="__l"></chat-quick-access><view class="area-input data-v-d7316ec5"><view class="input-container-voice data-v-d7316ec5"><image class="data-v-d7316ec5" src="{{i}}"></image></view><block wx:if="{{r0}}"><textarea class="textarea data-v-d7316ec5" type="text" placeholder="快速订票,呼叫服务" cursor-spacing="65" confirm-type="done" bindconfirm="{{j}}" bindtouchend="{{k}}" confirm-hold="{{true}}" auto-height show-confirm-bar="{{false}}" hold-keyboard="{{l}}" maxlength="300" value="{{m}}" bindinput="{{n}}"/></block><view class="input-container-send data-v-d7316ec5" bindtap="{{p}}"><image class="data-v-d7316ec5" src="{{o}}"></image></view></view></view></view></view>
|
||||
@ -1,171 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.chat-container.data-v-d7316ec5 {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: #E9F3F7;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden !important;
|
||||
position: relative;
|
||||
/* 顶部导航栏样式 */
|
||||
}
|
||||
.chat-container .chat-container-bg.data-v-d7316ec5 {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 0;
|
||||
height: 270px;
|
||||
background: linear-gradient(180deg, #42ADF9 0%, #6CD1FF 51%, #E9F3F7 99%);
|
||||
}
|
||||
.chat-container .nav-bar-container.data-v-d7316ec5 {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 999;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
.chat-container .chat-container-msg-list.data-v-d7316ec5 {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
z-index: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
.chat-container .chat-container-top-bannar.data-v-d7316ec5 {
|
||||
width: 100vw;
|
||||
flex-shrink: 0;
|
||||
touch-action: none;
|
||||
}
|
||||
.chat-container .area-msg-list.data-v-d7316ec5 {
|
||||
width: 100vw;
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
padding: 4px 0 0;
|
||||
overscroll-behavior: contain;
|
||||
/* 阻止滚动穿透 */
|
||||
-webkit-overflow-scrolling: touch;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.chat-container .area-msg-list .area-msg-list-content.data-v-d7316ec5 {
|
||||
/* 隐藏滚动条 */
|
||||
scrollbar-width: none;
|
||||
}
|
||||
.chat-container .area-msg-list .area-msg-list-content.data-v-d7316ec5::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
.chat-container .area-msg-list .message-item.data-v-d7316ec5 {
|
||||
display: flex;
|
||||
}
|
||||
.chat-container .area-msg-list .message-item-ai.data-v-d7316ec5 {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.chat-container .area-msg-list .message-item-mine.data-v-d7316ec5 {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.chat-container .area-msg-list .message-item-other.data-v-d7316ec5 {
|
||||
justify-content: center;
|
||||
background-color: white;
|
||||
margin: 6px 12px;
|
||||
padding: 8px 24px;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.chat-container .area-msg-list .message-item-other text.data-v-d7316ec5 {
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
}
|
||||
.footer-area.data-v-d7316ec5 {
|
||||
width: 100vw;
|
||||
flex-shrink: 0;
|
||||
padding: 4px 0 24px 0;
|
||||
background-color: #E9F3F7;
|
||||
touch-action: pan-x;
|
||||
/* 仅允许横向触摸滚动 */
|
||||
overflow-x: auto;
|
||||
/* 允许横向滚动 */
|
||||
overflow-y: hidden;
|
||||
/* 禁止垂直滚动 */
|
||||
}
|
||||
.area-input.data-v-d7316ec5 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 22px;
|
||||
background-color: #FFFFFF;
|
||||
box-shadow: 0px 0px 20px 0px rgba(52, 25, 204, 0.05);
|
||||
margin: 0 12px;
|
||||
}
|
||||
.area-input .input-container-voice.data-v-d7316ec5 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
flex-shrink: 0;
|
||||
align-self: flex-end;
|
||||
}
|
||||
.area-input .input-container-voice image.data-v-d7316ec5 {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
.area-input .input-container-send.data-v-d7316ec5 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
flex-shrink: 0;
|
||||
align-self: flex-end;
|
||||
}
|
||||
.area-input .input-container-send image.data-v-d7316ec5 {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
.area-input .textarea.data-v-d7316ec5 {
|
||||
flex: 1;
|
||||
max-height: 92px;
|
||||
min-height: 22px;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
margin-bottom: 2px;
|
||||
align-items: center;
|
||||
}
|
||||
.data-v-d7316ec5::-webkit-scrollbar {
|
||||
display: none;
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
-webkit-appearance: none;
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
}
|
||||
@ -1,55 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
__name: "ChatMoreTips",
|
||||
emits: ["replySent"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const itemList = common_vendor.ref([]);
|
||||
const emits = __emit;
|
||||
const sendReply = (text) => {
|
||||
emits("replySent", text);
|
||||
};
|
||||
common_vendor.onMounted(() => {
|
||||
initData();
|
||||
});
|
||||
const initData = () => {
|
||||
itemList.value = [
|
||||
{
|
||||
title: "定温泉票"
|
||||
},
|
||||
{
|
||||
title: "定酒店"
|
||||
},
|
||||
{
|
||||
title: "优惠套餐"
|
||||
},
|
||||
{
|
||||
title: "亲子玩法"
|
||||
},
|
||||
{
|
||||
title: "了解交通"
|
||||
},
|
||||
{
|
||||
title: "看看酒店"
|
||||
},
|
||||
{
|
||||
title: "看看美食"
|
||||
}
|
||||
];
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(itemList.value, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.o(($event) => sendReply(item.title), index),
|
||||
c: index
|
||||
};
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-d881dd42"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/chat/ChatMoreTips.js.map
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="more-tips data-v-d881dd42"><view class="more-tips-scroll data-v-d881dd42"><view wx:for="{{a}}" wx:for-item="item" wx:key="c" class="more-tips-item data-v-d881dd42"><text class="more-tips-item-title data-v-d881dd42" bindtap="{{item.b}}">{{item.a}}</text></view></view></view>
|
||||
@ -1,64 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.more-tips.data-v-d881dd42 {
|
||||
width: 100%;
|
||||
}
|
||||
.more-tips-scroll.data-v-d881dd42 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
/* 隐藏滚动条 */
|
||||
scrollbar-width: none;
|
||||
}
|
||||
.more-tips-scroll.data-v-d881dd42::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
.more-tips .more-tips-item.data-v-d881dd42 {
|
||||
border-radius: 8px;
|
||||
margin: 4px;
|
||||
box-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.1);
|
||||
background-color: #FFFFFF;
|
||||
padding: 2px 12px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 46px;
|
||||
}
|
||||
.more-tips .more-tips-item.data-v-d881dd42:first-child {
|
||||
margin-left: 12px;
|
||||
}
|
||||
.more-tips .more-tips-item.data-v-d881dd42:last-child {
|
||||
margin-right: 12px;
|
||||
}
|
||||
.more-tips .more-tips-item .more-tips-item-title.data-v-d881dd42 {
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
color: #00A6FF;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
@ -1,4 +0,0 @@
|
||||
"use strict";
|
||||
const ChatQuickAccess = require("../../ChatQuickAccess.js");
|
||||
wx.createPage(ChatQuickAccess.MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/chat/ChatQuickAccess.js.map
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user