From 6cd009f621b8998bf3108682165eba0d029ae2b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=B2=E4=B9=88=E4=BA=86?= Date: Mon, 6 Feb 2023 13:34:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=88=87=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/css/base.scss | 142 +- components/Cn-page/Cn-page.vue | 13 +- pages.json | 6 + pages/device/APF/basic.vue | 103 + pages/device/APF/xieBo.vue | 89 + pages/device/detailAPF.vue | 138 + pages/index/index.vue | 57 +- pages/index/mine.vue | 10 +- static/device.png | Bin 0 -> 3777 bytes static/wangguan.png | Bin 0 -> 6159 bytes uni_modules/qiun-data-charts/changelog.md | 320 + .../qiun-data-charts/qiun-data-charts.vue | 1618 ++++ .../components/qiun-error/qiun-error.vue | 46 + .../components/qiun-loading/loading1.vue | 162 + .../components/qiun-loading/loading2.vue | 170 + .../components/qiun-loading/loading3.vue | 173 + .../components/qiun-loading/loading4.vue | 222 + .../components/qiun-loading/loading5.vue | 229 + .../components/qiun-loading/qiun-loading.vue | 36 + .../js_sdk/u-charts/config-echarts.js | 422 + .../js_sdk/u-charts/config-ucharts.js | 606 ++ .../js_sdk/u-charts/readme.md | 5 + .../js_sdk/u-charts/u-charts.js | 7706 +++++++++++++++++ .../js_sdk/u-charts/u-charts.min.js | 18 + uni_modules/qiun-data-charts/license.md | 201 + uni_modules/qiun-data-charts/package.json | 81 + uni_modules/qiun-data-charts/readme.md | 84 + .../static/app-plus/echarts.min.js | 23 + .../qiun-data-charts/static/h5/echarts.min.js | 23 + 29 files changed, 12591 insertions(+), 112 deletions(-) create mode 100644 pages/device/APF/basic.vue create mode 100644 pages/device/APF/xieBo.vue create mode 100644 pages/device/detailAPF.vue create mode 100644 static/device.png create mode 100644 static/wangguan.png create mode 100644 uni_modules/qiun-data-charts/changelog.md create mode 100644 uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue create mode 100644 uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue create mode 100644 uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue create mode 100644 uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue create mode 100644 uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue create mode 100644 uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue create mode 100644 uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue create mode 100644 uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue create mode 100644 uni_modules/qiun-data-charts/js_sdk/u-charts/config-echarts.js create mode 100644 uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js create mode 100644 uni_modules/qiun-data-charts/js_sdk/u-charts/readme.md create mode 100644 uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js create mode 100644 uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.min.js create mode 100644 uni_modules/qiun-data-charts/license.md create mode 100644 uni_modules/qiun-data-charts/package.json create mode 100644 uni_modules/qiun-data-charts/readme.md create mode 100644 uni_modules/qiun-data-charts/static/app-plus/echarts.min.js create mode 100644 uni_modules/qiun-data-charts/static/h5/echarts.min.js diff --git a/common/css/base.scss b/common/css/base.scss index b8ffebd..2b8b203 100644 --- a/common/css/base.scss +++ b/common/css/base.scss @@ -1,111 +1,103 @@ page { - background: #f3f4f5; + background: #f3f4f5; } // mt0,mr0,mb0,ml0 --> mt100,mr100,mb100,ml100 @for $i from 0 through 100 { .mt#{$i} { - margin-top: #{$i}rpx; + margin-top: #{$i}rpx; } - + .mr#{$i} { - margin-right: #{$i}rpx; + margin-right: #{$i}rpx; } - + .mb#{$i} { - margin-bottom: #{$i}rpx; + margin-bottom: #{$i}rpx; } - + .ml#{$i} { - margin-left: #{$i}rpx; + margin-left: #{$i}rpx; } - + .pt#{$i} { - padding-top: #{$i}rpx; + padding-top: #{$i}rpx; } - + .pr#{$i} { - padding-right: #{$i}rpx; + padding-right: #{$i}rpx; } - + .pb#{$i} { - padding-bottom: #{$i}rpx; + padding-bottom: #{$i}rpx; } - + .pl#{$i} { - padding-left: #{$i}rpx; + padding-left: #{$i}rpx; } - } - +} + .hide-txt { overflow-x: hidden; white-space: nowrap; text-overflow: ellipsis; word-break: break-all; -webkit-line-clamp: 1; - } - - .clamp-txt { +} + +.clamp-txt { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; word-break: break-all; - } - - -.bg-blue { - background: #277bc0; -} - -.list { - .list-card { - margin-bottom: 20rpx; - padding: 24rpx 20rpx; - background: #fff; - .list-card-title { - font-size: 28rpx; - color: #111; - font-weight: 700; - } - - .list-card-des { - display: flex; - align-items: center; - justify-content: space-between; - margin-top: 22rpx; - color: #999999; - font-size: 24rpx; - - .list-card-des-btn { - margin-left: 20rpx; - display: flex; - align-items: center; - justify-content: center; - height: 48rpx; - width: 120rpx; - border-radius: 4rpx; - color: #fff; - background: #449dff; - } - } - } } .fixed-btn { - position: fixed; - right: 80rpx; - bottom: 200rpx; - width: 126rpx; - height: 126rpx; - background: #fff; - border-radius: 50%; - display: flex; - align-items: center; - justify-content: center; - box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.2); - image { - height: 66rpx; - width: 66rpx; - } + position: fixed; + right: 80rpx; + bottom: 200rpx; + width: 126rpx; + height: 126rpx; + background: #fff; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.2); + + image { + height: 66rpx; + width: 66rpx; + } } + + +.grid-card { + background: #fff; + border-radius: 12rpx; + padding: 20rpx; + margin-bottom: 20rpx; + .grid-card-title { + font-size: 28rpx; + color: #111; + font-weight: 700; + margin-bottom: 10rpx; + } + + .grid-card-content-4, + .grid-card-content-3 { + display: grid; + font-size: 24rpx; + grid-template-columns: 1fr 1fr 1fr 1fr; + .item { + display: flex; + align-items: center; + min-height: 50rpx; + } + } + + .grid-card-content-3 { + grid-template-columns: 1fr 1fr 1fr; + } +} \ No newline at end of file diff --git a/components/Cn-page/Cn-page.vue b/components/Cn-page/Cn-page.vue index a2c9536..fad0a99 100644 --- a/components/Cn-page/Cn-page.vue +++ b/components/Cn-page/Cn-page.vue @@ -1,5 +1,5 @@