Compare commits
2 Commits
f738c1db94
...
1536637159
| Author | SHA1 | Date |
|---|---|---|
|
|
1536637159 | |
|
|
ac49885fad |
|
|
@ -4,15 +4,15 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export const TAB_BAR_CONFIG = [
|
export const TAB_BAR_CONFIG = [
|
||||||
{
|
// {
|
||||||
text: "在线咨询",
|
// text: "在线咨询",
|
||||||
icon: "/static/tabbar/tabbar-icon1.png",
|
// icon: "/static/tabbar/tabbar-icon1.png",
|
||||||
activeIcon: "/static/tabbar/tabbar-icon1-active.png",
|
// activeIcon: "/static/tabbar/tabbar-icon1-active.png",
|
||||||
pagePath: "/pages/consultation/index",
|
// pagePath: "/pages/consultation/index",
|
||||||
// 可选配置
|
// // 可选配置
|
||||||
badge: "", // 角标文字
|
// badge: "", // 角标文字
|
||||||
dot: false, // 是否显示小红点
|
// dot: false, // 是否显示小红点
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
text: "人工转接",
|
text: "人工转接",
|
||||||
icon: "/static/tabbar/tabbar-icon4.png",
|
icon: "/static/tabbar/tabbar-icon4.png",
|
||||||
|
|
|
||||||
29
pages.json
29
pages.json
|
|
@ -73,14 +73,14 @@
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
"path": "pages/consultation/index",
|
// "path": "pages/consultation/index",
|
||||||
"style": {
|
// "style": {
|
||||||
"navigationBarTitleText": "在线咨询",
|
// "navigationBarTitleText": "在线咨询",
|
||||||
"enablePullDownRefresh": false,
|
// "enablePullDownRefresh": false,
|
||||||
"navigationStyle": "custom"
|
// "navigationStyle": "custom"
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
"path": "pages/transfer/index",
|
"path": "pages/transfer/index",
|
||||||
"style": {
|
"style": {
|
||||||
|
|
@ -134,12 +134,13 @@
|
||||||
"borderStyle": "black",
|
"borderStyle": "black",
|
||||||
"backgroundColor": "#ffffff",
|
"backgroundColor": "#ffffff",
|
||||||
"list": [
|
"list": [
|
||||||
{
|
// 暂时不用在线咨询页面,保留配置便于恢复
|
||||||
"pagePath": "pages/consultation/index",
|
// {
|
||||||
"iconPath": "static/tabbar/icon_home.png",
|
// "pagePath": "pages/consultation/index",
|
||||||
"selectedIconPath": "static/tabbar/icon_home_active.png",
|
// "iconPath": "static/tabbar/icon_home.png",
|
||||||
"text": "在线咨询"
|
// "selectedIconPath": "static/tabbar/icon_home_active.png",
|
||||||
},
|
// "text": "在线咨询"
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
"pagePath": "pages/transfer/index",
|
"pagePath": "pages/transfer/index",
|
||||||
"iconPath": "static/tabbar/icon_message.png",
|
"iconPath": "static/tabbar/icon_message.png",
|
||||||
|
|
|
||||||
|
|
@ -231,7 +231,7 @@ export default {
|
||||||
this.isLoading = true;
|
this.isLoading = true;
|
||||||
try {
|
try {
|
||||||
const res = await this.$u.api.GetDialogueListApi({
|
const res = await this.$u.api.GetDialogueListApi({
|
||||||
"Item1.OnlineConsultationType": 2,
|
"Item1.OnlineConsultationType": 1,
|
||||||
});
|
});
|
||||||
const list = (res && res.data && res.data.item1) || [];
|
const list = (res && res.data && res.data.item1) || [];
|
||||||
this.chatList = this.normalizeDialogueList(list);
|
this.chatList = this.normalizeDialogueList(list);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue