-
设备001
-
-

-
-
-
-
Document
-
-
-
-
-
-
设备001
-
-

-
-
-
-
\ No newline at end of file
diff --git a/static/html/.history/index_20250825151913.html b/static/html/.history/index_20250825151913.html
deleted file mode 100644
index 30ebf34..0000000
--- a/static/html/.history/index_20250825151913.html
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
-
Document
-
-
-
-
-
-
设备001
-
-

-
-
-
-
\ No newline at end of file
diff --git a/static/html/.history/index_20250825152013.html b/static/html/.history/index_20250825152013.html
deleted file mode 100644
index 30ebf34..0000000
--- a/static/html/.history/index_20250825152013.html
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
-
Document
-
-
-
-
-
-
设备001
-
-

-
-
-
-
\ No newline at end of file
diff --git a/static/html/dom-to-image.min.js b/static/html/dom-to-image.min.js
deleted file mode 100644
index bc73227..0000000
--- a/static/html/dom-to-image.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! dom-to-image 10-06-2017 */
-!function(a){"use strict";function b(a,b){function c(a){return b.bgcolor&&(a.style.backgroundColor=b.bgcolor),b.width&&(a.style.width=b.width+"px"),b.height&&(a.style.height=b.height+"px"),b.style&&Object.keys(b.style).forEach(function(c){a.style[c]=b.style[c]}),a}return b=b||{},g(b),Promise.resolve(a).then(function(a){return i(a,b.filter,!0)}).then(j).then(k).then(c).then(function(c){return l(c,b.width||q.width(a),b.height||q.height(a))})}function c(a,b){return h(a,b||{}).then(function(b){return b.getContext("2d").getImageData(0,0,q.width(a),q.height(a)).data})}function d(a,b){return h(a,b||{}).then(function(a){return a.toDataURL()})}function e(a,b){return b=b||{},h(a,b).then(function(a){return a.toDataURL("image/jpeg",b.quality||1)})}function f(a,b){return h(a,b||{}).then(q.canvasToBlob)}function g(a){"undefined"==typeof a.imagePlaceholder?v.impl.options.imagePlaceholder=u.imagePlaceholder:v.impl.options.imagePlaceholder=a.imagePlaceholder,"undefined"==typeof a.cacheBust?v.impl.options.cacheBust=u.cacheBust:v.impl.options.cacheBust=a.cacheBust}function h(a,c){function d(a){var b=document.createElement("canvas");if(b.width=c.width||q.width(a),b.height=c.height||q.height(a),c.bgcolor){var d=b.getContext("2d");d.fillStyle=c.bgcolor,d.fillRect(0,0,b.width,b.height)}return b}return b(a,c).then(q.makeImage).then(q.delay(100)).then(function(b){var c=d(a);return c.getContext("2d").drawImage(b,0,0),c})}function i(a,b,c){function d(a){return a instanceof HTMLCanvasElement?q.makeImage(a.toDataURL()):a.cloneNode(!1)}function e(a,b,c){function d(a,b,c){var d=Promise.resolve();return b.forEach(function(b){d=d.then(function(){return i(b,c)}).then(function(b){b&&a.appendChild(b)})}),d}var e=a.childNodes;return 0===e.length?Promise.resolve(b):d(b,q.asArray(e),c).then(function(){return b})}function f(a,b){function c(){function c(a,b){function c(a,b){q.asArray(a).forEach(function(c){b.setProperty(c,a.getPropertyValue(c),a.getPropertyPriority(c))})}a.cssText?b.cssText=a.cssText:c(a,b)}c(window.getComputedStyle(a),b.style)}function d(){function c(c){function d(a,b,c){function d(a){var b=a.getPropertyValue("content");return a.cssText+" content: "+b+";"}function e(a){function b(b){return b+": "+a.getPropertyValue(b)+(a.getPropertyPriority(b)?" !important":"")}return q.asArray(a).map(b).join("; ")+";"}var f="."+a+":"+b,g=c.cssText?d(c):e(c);return document.createTextNode(f+"{"+g+"}")}var e=window.getComputedStyle(a,c),f=e.getPropertyValue("content");if(""!==f&&"none"!==f){var g=q.uid();b.className=b.className+" "+g;var h=document.createElement("style");h.appendChild(d(g,c,e)),b.appendChild(h)}}[":before",":after"].forEach(function(a){c(a)})}function e(){a instanceof HTMLTextAreaElement&&(b.innerHTML=a.value),a instanceof HTMLInputElement&&b.setAttribute("value",a.value)}function f(){b instanceof SVGElement&&(b.setAttribute("xmlns","http://www.w3.org/2000/svg"),b instanceof SVGRectElement&&["width","height"].forEach(function(a){var c=b.getAttribute(a);c&&b.style.setProperty(a,c)}))}return b instanceof Element?Promise.resolve().then(c).then(d).then(e).then(f).then(function(){return b}):b}return c||!b||b(a)?Promise.resolve(a).then(d).then(function(c){return e(a,c,b)}).then(function(b){return f(a,b)}):Promise.resolve()}function j(a){return s.resolveAll().then(function(b){var c=document.createElement("style");return a.appendChild(c),c.appendChild(document.createTextNode(b)),a})}function k(a){return t.inlineAll(a).then(function(){return a})}function l(a,b,c){return Promise.resolve(a).then(function(a){return a.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),(new XMLSerializer).serializeToString(a)}).then(q.escapeXhtml).then(function(a){return'
'+a+""}).then(function(a){return'
"}).then(function(a){return"data:image/svg+xml;charset=utf-8,"+a})}function m(){function a(){var a="application/font-woff",b="image/jpeg";return{woff:a,woff2:a,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:b,jpeg:b,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"}}function b(a){var b=/\.([^\.\/]*?)$/g.exec(a);return b?b[1]:""}function c(c){var d=b(c).toLowerCase();return a()[d]||""}function d(a){return a.search(/^(data:)/)!==-1}function e(a){return new Promise(function(b){for(var c=window.atob(a.toDataURL().split(",")[1]),d=c.length,e=new Uint8Array(d),f=0;f
-
-
-
-
- Document
-
-
-
-
-
-
-
-
-

-
-
-
-
\ No newline at end of file
diff --git a/static/html/map.png b/static/html/map.png
deleted file mode 100644
index 37222a3..0000000
Binary files a/static/html/map.png and /dev/null differ
diff --git a/uni_modules/qiun-data-charts/js_sdk/u-charts/config-echarts.js b/uni_modules/qiun-data-charts/js_sdk/u-charts/config-echarts.js
index 7b8168f..e4829f5 100644
--- a/uni_modules/qiun-data-charts/js_sdk/u-charts/config-echarts.js
+++ b/uni_modules/qiun-data-charts/js_sdk/u-charts/config-echarts.js
@@ -57,6 +57,9 @@ const cfe = {
yAxisFormatDemo:function (value, index) {
return value + '元';
},
+ "percentage":function(val, index, series, opts){
+ return val+'%'
+ },
seriesFormatDemo:function(res){
return res.name + '年' + res.value + '元';
}
diff --git a/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js b/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js
index 17b28b3..d3d9f7b 100644
--- a/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js
+++ b/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js
@@ -59,6 +59,10 @@ const cfu = {
"xAxisDemo1":function(val, index, opts){return val+'年';},
"xAxisDemo2":function(val, index, opts){return formatDateTime(val,'h:m')},
"seriesDemo1":function(val, index, series, opts){return val+'元'},
+
+ "percentage":function(val, index, series, opts){
+ return val+'%'
+ },
"tooltipDemo1":function(item, category, index, opts){
if(index==0){
return '随便用'+item.data+'年'
diff --git a/utils/base64ToFile.js b/utils/base64ToFile.js
deleted file mode 100644
index dae0cc4..0000000
--- a/utils/base64ToFile.js
+++ /dev/null
@@ -1,50 +0,0 @@
-export default function lzFileWriter(id, fn) {
-
- plus.io.resolveLocalFileSystemURL('/static/html/index.html', function(entry) {
- let _we = plus.webview.create(entry.toLocalURL());
- _we.evalJS(`settitle("${id}");`)
- plus.globalEvent.addEventListener('plusMessage', (e) => {
- if(e.data.id==id){
- geturl(e.data.img, e.data.id + ".png",e.data.id)
- _we.close()
- }
-
- })
- })
-
- function geturl(base64, fileName,imgid) {
- plus.io.requestFileSystem(plus.io.PRIVATE_DOC, function(fs) {
- fs.root.getFile(fileName, {
- create: true
- }, function(fileEntry) {
- // 获得平台绝对路径
- var fullPath = fileEntry.fullPath;
-
- // 引入安卓原生类
- var Base64 = plus.android.importClass("android.util.Base64");
- var FileOutputStream = plus.android.importClass("java.io.FileOutputStream");
- //如果文件不存在则创建文件,如果文件存在则删除文件后重新创建文件
- var out = new FileOutputStream(fullPath);
- /**
- * 此处需要把base64前缀去除,在写入字节流数组
- * 去除头部data:image/jpg;base64,留下base64编码后的字符串
- **/
- let index = base64.indexOf(',')
- let base64Str = base64.slice(index + 1, base64.length)
- //base64解密得到字节流bytes;
- var bytes = Base64.decode(base64Str, 0);
- try {
- out.write(bytes); // byte 数组写入此文件输出流中。
- out.flush(); //刷新写入文件中去。
- out.close(); //关闭此文件输出流并释放与此流有关的所有系统资源。
- uni.setStorageSync(imgid,fullPath)
- fn(fullPath)
- } catch (e) {
- console.log(e.message);
- }
- });
- });
- }
-
-
-}
\ No newline at end of file
diff --git a/utils/requestbaidumap.js b/utils/requestbaidumap.js
deleted file mode 100644
index 9d67643..0000000
--- a/utils/requestbaidumap.js
+++ /dev/null
@@ -1,20 +0,0 @@
-export default function(url,data,method="get"){
- return new Promise((resolve, reject)=>{
- uni.request({
- url: 'https://api.map.baidu.com/direction/v2/'+url, //仅为示例,并非真实接口地址。
- data: {
- ak:"23rLBU4tBLeNEMsxCCnXXw6aYyuOJCwY",
- ...data
- },
- method:method,
- success: (res) => {
- console.log(res.data)
- if(res.data.status==0){
- resolve(res.data.result)
- }
-
- }
- });
-
- })
-}
\ No newline at end of file