From de8b7a310c91bef70cafcdcd14ce0933ed8bcd5c Mon Sep 17 00:00:00 2001
From: mk <2403457699@qq.com>
Date: Thu, 27 Mar 2025 16:00:52 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5AI=E5=8A=A9=E6=89=8B=E6=82=AC?=
=?UTF-8?q?=E6=B5=AE=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/index/index.js | 14 +++++++++++++-
pages/index/index.wxml | 6 +++++-
pages/index/index.wxss | 22 ++++++++++++++++++++++
pages/work2/work2.js | 12 ------------
pages/work2/work2.wxml | 5 +----
5 files changed, 41 insertions(+), 18 deletions(-)
diff --git a/pages/index/index.js b/pages/index/index.js
index 74d98dd..3414441 100644
--- a/pages/index/index.js
+++ b/pages/index/index.js
@@ -332,6 +332,18 @@ IDCard(){
wx.navigateTo({
url: '../../subpages/OCRCard/pages/index/index',
})
+},
+async geOpenwebuiToken(){
+ const {code,data} = await api.userOpenwebui()
+ if(code === 0 ){
+ return data;
+ }
+},
+async toAI(){
+ let token = await this.geOpenwebuiToken()
+ wx.navigateTo({
+ url: '/pages/webView/webView?token='+ encodeURIComponent(token) +'&url='+'https://openwebui.elinkservice.cn/auth',
+ })
}
-
})
+
diff --git a/pages/index/index.wxml b/pages/index/index.wxml
index 0081f66..0f73314 100644
--- a/pages/index/index.wxml
+++ b/pages/index/index.wxml
@@ -150,5 +150,9 @@
-
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/index/index.wxss b/pages/index/index.wxss
index 549e208..05aa1be 100644
--- a/pages/index/index.wxss
+++ b/pages/index/index.wxss
@@ -1029,4 +1029,26 @@ line-height: 52rpx;
.card_text{
margin-left: 20rpx;
font-size: 32rpx;
+}
+.movable-area{
+ pointer-events:none;
+ z-index: 100;
+ width: 100%;
+ height: 100%;
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+}
+.movable-view{
+ pointer-events:auto;
+ height: 50px;
+ width: 50px;
+
+}
+.image-wrapper{
+ width: 190rpx;
+ height: 190rpx;
+
}
\ No newline at end of file
diff --git a/pages/work2/work2.js b/pages/work2/work2.js
index 37cf4a3..fb5175a 100644
--- a/pages/work2/work2.js
+++ b/pages/work2/work2.js
@@ -126,18 +126,6 @@ Page({
url: '/pages/webView/webView?worktoken='+token+'&Hotline='+'https://epmet-preview.elinkservice.cn/epmet-work-h5/#/Hotline',
})
},
- async geOpenwebuiToken(){
- const {code,data} = await api.userOpenwebui()
- if(code === 0 ){
- return data;
- }
- },
- async toAI(){
- let token = await this.geOpenwebuiToken()
- wx.navigateTo({
- url: '/pages/webView/webView?token='+ encodeURIComponent(token) +'&url='+'https://openwebui.elinkservice.cn/auth',
- })
- }
// onAddHouse(){
// wx.navigateTo({
// url: '../../subpages/addhouse/pages/addhouse/addhouse',
diff --git a/pages/work2/work2.wxml b/pages/work2/work2.wxml
index bf6f744..7be6ea7 100644
--- a/pages/work2/work2.wxml
+++ b/pages/work2/work2.wxml
@@ -84,10 +84,7 @@
热线接办
-
-
- AI助手
-
+