feat: 输入区域的调整
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<textarea
|
<textarea
|
||||||
class="textarea"
|
class="textarea"
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="快速订票,呼叫服务"
|
:placeholder="placeholder"
|
||||||
cursor-spacing="65"
|
cursor-spacing="65"
|
||||||
confirm-type='done'
|
confirm-type='done'
|
||||||
v-model="inputMessage"
|
v-model="inputMessage"
|
||||||
@@ -35,6 +35,7 @@ const props = defineProps({
|
|||||||
})
|
})
|
||||||
const emit = defineEmits(['update:inputMessage', 'send', 'noHideKeyboard'])
|
const emit = defineEmits(['update:inputMessage', 'send', 'noHideKeyboard'])
|
||||||
|
|
||||||
|
const placeholder = ref('快告诉朵朵您在想什么~')
|
||||||
const inputMessage = ref(props.inputMessage || '')
|
const inputMessage = ref(props.inputMessage || '')
|
||||||
|
|
||||||
// 保持和父组件同步
|
// 保持和父组件同步
|
||||||
|
|||||||
@@ -31,27 +31,27 @@
|
|||||||
itemList.value = [
|
itemList.value = [
|
||||||
{
|
{
|
||||||
icon: '/static/quick/quick_icon_yuding.png',
|
icon: '/static/quick/quick_icon_yuding.png',
|
||||||
title: '预定门票',
|
title: '快速预定',
|
||||||
content: '快速预定天沐温泉门票',
|
content: '预定门票、房间、餐食',
|
||||||
type: 'Command.quickBooking'
|
type: 'Command.quickBooking'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: '/static/quick/quick_icon_find.png',
|
icon: '/static/quick/quick_icon_find.png',
|
||||||
title: '探索发现',
|
title: '探索发现',
|
||||||
content: '亲子、团建等更多玩法',
|
content: '探索玩法、出片佳地',
|
||||||
type: 'Command.discovery'
|
type: 'Command.discovery'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
icon: '/static/quick/quick_icon_order.png',
|
||||||
|
title: '订单/工单',
|
||||||
|
content: '我的订单/工单',
|
||||||
|
type: 'MyOrder'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
icon: '/static/quick/quick_icon_call.png',
|
icon: '/static/quick/quick_icon_call.png',
|
||||||
title: '呼叫服务',
|
title: '呼叫服务',
|
||||||
content: '加床、订麻将机...',
|
content: '加水、客房服务等',
|
||||||
type: 'Command.createWorkOrder'
|
type: 'Command.createWorkOrder'
|
||||||
},
|
|
||||||
{
|
|
||||||
icon: '/static/quick/quick_icon_order.png',
|
|
||||||
title: '我的订单',
|
|
||||||
content: '快速查看订单',
|
|
||||||
type: 'MyOrder'
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user