|
@@ -38,7 +38,7 @@
|
|
|
|
|
|
<view class="chat-bottom">
|
|
|
<view class="uni-label">
|
|
|
- <label v-for="(item,index) in labelList" :key="index" @click="shortcuts(msgList,item)" :style="{backgroundColor:styleData.labelColor,color:styleData.fontColor}">{{item}}</label>
|
|
|
+ <label v-for="(item,index) in labelList" :key="index" @click="shortcuts(msgList,item)" :style="{backgroundColor:styleData.labelColor,color:styleData.fontColor,borderColor:styleData.borderColor}">{{item}}</label>
|
|
|
</view>
|
|
|
<view class="send-msg">
|
|
|
<view class="uni-textarea">
|
|
@@ -74,7 +74,8 @@
|
|
|
|
|
|
import axios from 'axios';
|
|
|
import loadingPointsVue from '../../components/loadingPoints.vue';
|
|
|
- import {styleChange,handleSend,scrollToBottom,shortcuts} from "../../until/fun.js"
|
|
|
+ import {handleSend,scrollToBottom,shortcuts} from "../../until/fun.js"
|
|
|
+
|
|
|
|
|
|
const msgList = reactive({
|
|
|
// 输入框
|
|
@@ -101,8 +102,8 @@
|
|
|
fontColor:"black",
|
|
|
btnColor:"rgb(30,144,255)",
|
|
|
contentColor:"#fff",
|
|
|
- labelColor:"#fff"
|
|
|
-
|
|
|
+ labelColor:"#fff",
|
|
|
+ borderColor:"rgb(30,144,255)"
|
|
|
})
|
|
|
|
|
|
const labelList = ref([
|
|
@@ -113,6 +114,8 @@
|
|
|
"加油卡",
|
|
|
"易捷加油"
|
|
|
])
|
|
|
+
|
|
|
+
|
|
|
|
|
|
//滚动至聊天底部
|
|
|
watch([msgList.otherChatList, msgList.chatList], (newVal) => {
|