diff --git a/pages.json b/pages.json index 6f8bb52..2ece81e 100644 --- a/pages.json +++ b/pages.json @@ -441,7 +441,13 @@ "navigationBarTitleText": "文章列表", "navigationStyle": "custom" } - } + }, + { + "path": "pages/ai/chat", + "style": { + "navigationBarTitleText": "" + } + } ], "tabBar": { "color": "#c8c8c8", diff --git a/pages/ai/chat.vue b/pages/ai/chat.vue new file mode 100644 index 0000000..9520adc --- /dev/null +++ b/pages/ai/chat.vue @@ -0,0 +1,226 @@ + + + + \ No newline at end of file diff --git a/pages/user/user.vue b/pages/user/user.vue index 5311f9e..f7db41f 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -15,6 +15,7 @@ 收款账号 新闻动态 修改密码 + AI客服 @@ -60,6 +61,10 @@ + + + + @@ -158,4 +163,22 @@ page { } } } +.ai-float-btn { + position: fixed; + bottom: 195px; + right: 30rpx; + width: 100rpx; + height: 100rpx; + border-radius: 50%; + background: linear-gradient(135deg, #a92924, #d4574e); + display: flex; + align-items: center; + justify-content: center; + box-shadow: 0 4rpx 20rpx rgba(169, 41, 36, 0.4); + z-index: 999; +} + +.ai-float-btn:active { + transform: scale(0.95); +}