develop #1
172
manifest.json
172
manifest.json
@ -1,79 +1,93 @@
|
|||||||
{
|
{
|
||||||
"name": "EMS移动端",
|
"name" : "上动EMS",
|
||||||
"appid": "__UNI__B330617",
|
"appid" : "__UNI__B330617",
|
||||||
"description": "",
|
"description" : "",
|
||||||
"versionName": "1.2.0",
|
"versionName" : "1.2.0",
|
||||||
"versionCode": "100",
|
"versionCode" : "100",
|
||||||
"transformPx": false,
|
"transformPx" : false,
|
||||||
"app-plus": {
|
"app-plus" : {
|
||||||
"usingComponents": true,
|
"usingComponents" : true,
|
||||||
"nvueCompiler": "uni-app",
|
"nvueCompiler" : "uni-app",
|
||||||
"safearea": {
|
"safearea" : {
|
||||||
"background": "#FFFFFF",
|
"background" : "#FFFFFF",
|
||||||
"top": {
|
"top" : {
|
||||||
"offset": "auto"
|
"offset" : "auto"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"splashscreen": {
|
"splashscreen" : {
|
||||||
"alwaysShowBeforeRender": true,
|
"alwaysShowBeforeRender" : true,
|
||||||
"waiting": true,
|
"waiting" : true,
|
||||||
"autoclose": true,
|
"autoclose" : true,
|
||||||
"delay": 0
|
"delay" : 0
|
||||||
},
|
},
|
||||||
"modules": {},
|
"modules" : {},
|
||||||
"distribute": {
|
"distribute" : {
|
||||||
"android": {
|
"android" : {
|
||||||
"permissions": [
|
"permissions" : [
|
||||||
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
|
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
|
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
|
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
|
||||||
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
|
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
|
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
||||||
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ios": {
|
"ios" : {
|
||||||
"dSYMs": false
|
"dSYMs" : false
|
||||||
},
|
},
|
||||||
"sdkConfigs": {}
|
"sdkConfigs" : {},
|
||||||
}
|
"icons" : {
|
||||||
},
|
"android" : {
|
||||||
"quickapp": {},
|
"hdpi" : "static/logo.png",
|
||||||
"mp-weixin": {
|
"xhdpi" : "static/logo.png",
|
||||||
"appid": "wxccd7e2a0911b3397",
|
"xxhdpi" : "static/logo.png",
|
||||||
"setting": {
|
"xxxhdpi" : "static/logo.png"
|
||||||
"urlCheck": false,
|
},
|
||||||
"es6": false,
|
"ios" : {
|
||||||
"minified": true,
|
"appstore" : ""
|
||||||
"postcss": true
|
}
|
||||||
},
|
},
|
||||||
"optimization": {
|
"splashscreen" : {
|
||||||
"subPackages": true
|
"androidStyle" : "common"
|
||||||
},
|
}
|
||||||
"usingComponents": true
|
}
|
||||||
},
|
},
|
||||||
"vueVersion": "2",
|
"quickapp" : {},
|
||||||
"h5": {
|
"mp-weixin" : {
|
||||||
"template": "static/index.html",
|
"appid" : "wxccd7e2a0911b3397",
|
||||||
"devServer": {
|
"setting" : {
|
||||||
"port": 9090,
|
"urlCheck" : false,
|
||||||
"https": false
|
"es6" : false,
|
||||||
},
|
"minified" : true,
|
||||||
"title": "EMS-App",
|
"postcss" : true
|
||||||
"router": {
|
},
|
||||||
"mode": "hash",
|
"optimization" : {
|
||||||
"base": "./"
|
"subPackages" : true
|
||||||
}
|
},
|
||||||
},
|
"usingComponents" : true
|
||||||
"locale": "zh-Hans",
|
},
|
||||||
"fallbackLocale": "zh-Hans"
|
"vueVersion" : "2",
|
||||||
}
|
"h5" : {
|
||||||
|
"template" : "static/index.html",
|
||||||
|
"devServer" : {
|
||||||
|
"port" : 9090,
|
||||||
|
"https" : false
|
||||||
|
},
|
||||||
|
"title" : "上动EMS",
|
||||||
|
"router" : {
|
||||||
|
"mode" : "hash",
|
||||||
|
"base" : "./"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"locale" : "zh-Hans",
|
||||||
|
"fallbackLocale" : "zh-Hans"
|
||||||
|
}
|
||||||
|
|||||||
@ -1,75 +1,75 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="about-container">
|
<view class="about-container">
|
||||||
<view class="header-section text-center">
|
<view class="header-section text-center">
|
||||||
<image style="width: 150rpx;height: 150rpx;" src="/static/logo200.png" mode="widthFix">
|
<image style="width: 150rpx;height: 150rpx;" src="/static/logo.png" mode="widthFix">
|
||||||
</image>
|
</image>
|
||||||
<uni-title type="h2" title="EMS移动端"></uni-title>
|
<uni-title type="h2" title="EMS移动端"></uni-title>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="content-section">
|
<view class="content-section">
|
||||||
<view class="menu-list">
|
<view class="menu-list">
|
||||||
<view class="list-cell list-cell-arrow">
|
<view class="list-cell list-cell-arrow">
|
||||||
<view class="menu-item-box">
|
<view class="menu-item-box">
|
||||||
<view>版本信息</view>
|
<view>版本信息</view>
|
||||||
<view class="text-right">v{{version}}</view>
|
<view class="text-right">v{{version}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="list-cell list-cell-arrow">
|
<view class="list-cell list-cell-arrow">
|
||||||
<view class="menu-item-box">
|
<view class="menu-item-box">
|
||||||
<view>官方邮箱</view>
|
<view>官方邮箱</view>
|
||||||
<view class="text-right">ems@xx.com</view>
|
<view class="text-right">ems@xx.com</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="list-cell list-cell-arrow">
|
<view class="list-cell list-cell-arrow">
|
||||||
<view class="menu-item-box">
|
<view class="menu-item-box">
|
||||||
<view>服务热线</view>
|
<view>服务热线</view>
|
||||||
<view class="text-right">400-999-9999</view>
|
<view class="text-right">400-999-9999</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="list-cell list-cell-arrow">
|
<view class="list-cell list-cell-arrow">
|
||||||
<view class="menu-item-box">
|
<view class="menu-item-box">
|
||||||
<view>公司网站</view>
|
<view>公司网站</view>
|
||||||
<view class="text-right">
|
<view class="text-right">
|
||||||
<uni-link :href="url" :text="url" showUnderLine="false"></uni-link>
|
<uni-link :href="url" :text="url" showUnderLine="false"></uni-link>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="copyright">
|
<view class="copyright">
|
||||||
<view>Copyright © 2025 上海电动工具研究所(集团)有限公司.</view>
|
<view>Copyright © 2025 上海电动工具研究所(集团)有限公司.</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
url: getApp().globalData.config.appInfo.site_url,
|
url: getApp().globalData.config.appInfo.site_url,
|
||||||
version: getApp().globalData.config.appInfo.version
|
version: getApp().globalData.config.appInfo.version
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
page {
|
page {
|
||||||
background-color: #f8f8f8;
|
background-color: #f8f8f8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.copyright {
|
.copyright {
|
||||||
margin-top: 50rpx;
|
margin-top: 50rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 60rpx;
|
line-height: 60rpx;
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-section {
|
.header-section {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 30rpx 0 0;
|
padding: 30rpx 0 0;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -75,7 +75,7 @@
|
|||||||
<date-range-select ref="chartDateRangeSelect" @updateDate="updateChartDate"
|
<date-range-select ref="chartDateRangeSelect" @updateDate="updateChartDate"
|
||||||
style="margin-bottom: 10px;" />
|
style="margin-bottom: 10px;" />
|
||||||
<view class="chart-container">
|
<view class="chart-container">
|
||||||
<qiun-data-charts type="line" :reload="showChart" :optsWatch='false' :opts="options"
|
<qiun-data-charts type="area" :reload="showChart" :optsWatch='false' :opts="options"
|
||||||
:chartData="chartsData" :ontouch="true" :inScrollView="true" :pageScrollTop="pageScrollTop" />
|
:chartData="chartsData" :ontouch="true" :inScrollView="true" :pageScrollTop="pageScrollTop" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -140,6 +140,7 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
options: {
|
options: {
|
||||||
|
padding: [10, 5, 0, 10],
|
||||||
duration: 0,
|
duration: 0,
|
||||||
animation: false,
|
animation: false,
|
||||||
dataLabel: false,
|
dataLabel: false,
|
||||||
@ -149,6 +150,16 @@
|
|||||||
itemCount: 3,
|
itemCount: 3,
|
||||||
disableGrid: true
|
disableGrid: true
|
||||||
},
|
},
|
||||||
|
extra: {
|
||||||
|
area: {
|
||||||
|
type: "curve",
|
||||||
|
opacity: 0.2,
|
||||||
|
addLine: true,
|
||||||
|
width: 2,
|
||||||
|
gradient: true,
|
||||||
|
activeType: "hollow"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
range: [],
|
range: [],
|
||||||
end: Date.now(),
|
end: Date.now(),
|
||||||
|
|||||||
@ -41,7 +41,7 @@
|
|||||||
<uni-section title="一周充放曲线" type="line" class="sections-list">
|
<uni-section title="一周充放曲线" type="line" class="sections-list">
|
||||||
<date-range-select ref="weekChartDateRangeSelect" @updateDate="updateWeekChartDate" />
|
<date-range-select ref="weekChartDateRangeSelect" @updateDate="updateWeekChartDate" />
|
||||||
<view style="width:100%;height: 250px;">
|
<view style="width:100%;height: 250px;">
|
||||||
<qiun-data-charts type="line" :chartData="weekChartData" :optsWatch='false' :inScrollView="true"
|
<qiun-data-charts type="area" :chartData="weekChartData" :optsWatch='false' :inScrollView="true"
|
||||||
:pageScrollTop="pageScrollTop" :opts="options" :ontouch="true" />
|
:pageScrollTop="pageScrollTop" :opts="options" :ontouch="true" />
|
||||||
</view>
|
</view>
|
||||||
</uni-section>
|
</uni-section>
|
||||||
@ -49,7 +49,7 @@
|
|||||||
<uni-section title="当日功率曲线" type="line" class="sections-list">
|
<uni-section title="当日功率曲线" type="line" class="sections-list">
|
||||||
<date-range-select ref="activeChartDateRangeSelect" @updateDate="updateActiveChartDate" />
|
<date-range-select ref="activeChartDateRangeSelect" @updateDate="updateActiveChartDate" />
|
||||||
<view style="width:100%;height: 250px;">
|
<view style="width:100%;height: 250px;">
|
||||||
<qiun-data-charts type="line" :chartData="activeChartData" :optsWatch='false' :inScrollView="true"
|
<qiun-data-charts type="area" :chartData="activeChartData" :optsWatch='false' :inScrollView="true"
|
||||||
:pageScrollTop="pageScrollTop" :opts="glqxOptions" :ontouch="true" />
|
:pageScrollTop="pageScrollTop" :opts="glqxOptions" :ontouch="true" />
|
||||||
</view>
|
</view>
|
||||||
</uni-section>
|
</uni-section>
|
||||||
@ -78,6 +78,7 @@
|
|||||||
activeChartData: {},
|
activeChartData: {},
|
||||||
pageScrollTop: 0,
|
pageScrollTop: 0,
|
||||||
glqxOptions: {
|
glqxOptions: {
|
||||||
|
padding: [10, 5, 0, 10],
|
||||||
dataLabel: false,
|
dataLabel: false,
|
||||||
enableScroll: true,
|
enableScroll: true,
|
||||||
xAxis: {
|
xAxis: {
|
||||||
@ -85,6 +86,16 @@
|
|||||||
itemCount: 3,
|
itemCount: 3,
|
||||||
disableGrid: true
|
disableGrid: true
|
||||||
},
|
},
|
||||||
|
extra: {
|
||||||
|
area: {
|
||||||
|
type: "curve",
|
||||||
|
opacity: 0.2,
|
||||||
|
addLine: true,
|
||||||
|
width: 2,
|
||||||
|
gradient: true,
|
||||||
|
activeType: "hollow"
|
||||||
|
}
|
||||||
|
}
|
||||||
// update: true,
|
// update: true,
|
||||||
// duration: 2,
|
// duration: 2,
|
||||||
// animation: false,
|
// animation: false,
|
||||||
@ -92,6 +103,7 @@
|
|||||||
// padding: [10, 15, 10, 15]
|
// padding: [10, 15, 10, 15]
|
||||||
},
|
},
|
||||||
options: {
|
options: {
|
||||||
|
padding: [10, 5, 0, 10],
|
||||||
dataLabel: false,
|
dataLabel: false,
|
||||||
enableScroll: true,
|
enableScroll: true,
|
||||||
xAxis: {
|
xAxis: {
|
||||||
@ -99,6 +111,16 @@
|
|||||||
itemCount: 5,
|
itemCount: 5,
|
||||||
disableGrid: true
|
disableGrid: true
|
||||||
},
|
},
|
||||||
|
extra: {
|
||||||
|
area: {
|
||||||
|
type: "curve",
|
||||||
|
opacity: 0.2,
|
||||||
|
addLine: true,
|
||||||
|
width: 2,
|
||||||
|
gradient: true,
|
||||||
|
activeType: "hollow"
|
||||||
|
}
|
||||||
|
}
|
||||||
// update: true,
|
// update: true,
|
||||||
// duration: 2,
|
// duration: 2,
|
||||||
// animation: false,
|
// animation: false,
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 39 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 36 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 37 KiB |
BIN
static/logo.png
BIN
static/logo.png
Binary file not shown.
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 31 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 7.8 KiB |
Reference in New Issue
Block a user