From 35c2972e1589f801dabe1c7168e17f5a1298c2ad Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Fri, 11 Oct 2024 18:01:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E8=AF=95=EF=BC=8C?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=95=B0=E6=8D=AE=E6=B8=B2=E6=9F=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .hbuilderx/launch.json | 32 +++-- api/phaseTwo/homePage.js | 10 ++ config.js | 26 ++-- .../index/components/bar-charts-model.vue | 32 +++-- .../index/components/pie-charts-model.vue | 71 +++++++--- pages/realName/index/index.vue | 134 ++++++++++-------- 6 files changed, 183 insertions(+), 122 deletions(-) create mode 100644 api/phaseTwo/homePage.js diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 582561b..4ccd172 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -1,16 +1,20 @@ -{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ - // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 - "version": "0.0", - "configurations": [{ - "app-plus" : - { - "launchtype" : "local" - }, - "default" : - { - "launchtype" : "local" - }, - "type" : "uniCloud" - } +{ + // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ + // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 + "version" : "0.0", + "configurations" : [ + { + "app-plus" : { + "launchtype" : "local" + }, + "default" : { + "launchtype" : "local" + }, + "type" : "uniCloud" + }, + { + "playground" : "custom", + "type" : "uni-app:app-android" + } ] } diff --git a/api/phaseTwo/homePage.js b/api/phaseTwo/homePage.js new file mode 100644 index 0000000..f71e52b --- /dev/null +++ b/api/phaseTwo/homePage.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' + +// 获取首页数据 +export function getHomePageListApi(data) { + return request({ + url: '/bmw/homePage/getAppHomePageData', + method: 'post', + data: data + }) +} diff --git a/config.js b/config.js index 5d7fa9e..a7c1f72 100644 --- a/config.js +++ b/config.js @@ -25,15 +25,15 @@ module.exports = { // baseUrl:'/prod-api', // http://192.168.0.14:19999 - // loginBaseUrl:'http://112.29.103.165:1616', - loginBaseUrl:'http://192.168.0.14:27018', + loginBaseUrl: 'http://112.29.103.165:1616', + // loginBaseUrl: 'http://192.168.0.14:27018', // loginBaseUrl:'http://192.168.0.14:19999', // baseUrl:'http://192.168.0.14:2900', - baseUrl:'http://192.168.0.14:19999', + baseUrl: 'http://192.168.0.14:19999', // loginUrl: 'http://112.29.103.165:1616', login: 'http://192.168.0.14:19200', // 图片展示基础地址 - fileUrl:'http://192.168.0.14:19999/exam-file/', + fileUrl: 'http://192.168.0.14:19999/exam-file/', // 上传文件地址 uploadUrl: 'http://192.168.0.14:19999/exam-file/file/uploadBase64', bmwUrl: 'http://192.168.0.14:19999/exam-bmw', @@ -43,21 +43,21 @@ module.exports = { tjFile: 'http://192.168.0.14:18077/medicalDocumentation/statics/', //实名制移动端-登录接口 - realLoginUrl:'http://192.168.0.14:9200/', + realLoginUrl: 'http://192.168.0.14:9200/', //实名制移动端-移动 - realAppUrl:'http://192.168.0.14:1913/app', + realAppUrl: 'http://192.168.0.14:1913/app', //实名制移动端-安培 - realExamUrl:'http://192.168.0.14:1910', + realExamUrl: 'http://192.168.0.14:1910', //实名制移动端-文件 - realFileUrl:'http://192.168.0.14:1909/file/', + realFileUrl: 'http://192.168.0.14:1909/file/', //实名制移动端 - realBmwUrl:'http://192.168.0.14:1911/bmw', - - // 应用信息 + realBmwUrl: 'http://192.168.0.14:1911/bmw', + + // 应用信息 appInfo: { // 应用名称 - name: "作业管控智慧平台", + name: '作业管控智慧平台', // 应用版本 - version: "1.1.0", + version: '1.1.0' } } diff --git a/pages/realName/index/components/bar-charts-model.vue b/pages/realName/index/components/bar-charts-model.vue index bc4535d..d763794 100644 --- a/pages/realName/index/components/bar-charts-model.vue +++ b/pages/realName/index/components/bar-charts-model.vue @@ -5,6 +5,7 @@ @@ -812,10 +824,10 @@ export default { height: 46rpx; } - .swiper-warning { + .uni-notice-bar { flex: 1; height: 50rpx; - line-height: 50rpx; + // line-height: 50rpx; // background-color: orange; } }