上传代码
1
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/__uniappchooselocation.js
vendored
Normal file
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/__uniapperror.png
vendored
Normal file
After Width: | Height: | Size: 5.7 KiB |
1
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/__uniappes6.js
vendored
Normal file
1
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/__uniappopenlocation.js
vendored
Normal file
1
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/__uniapppicker.js
vendored
Normal file
8
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/__uniappquill.js
vendored
Normal file
1
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/__uniappquillimageresize.js
vendored
Normal file
1
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/__uniappscan.js
vendored
Normal file
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/__uniappsuccess.png
vendored
Normal file
After Width: | Height: | Size: 2.0 KiB |
25
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/__uniappview.html
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<script>
|
||||
var __UniViewStartTime__ = Date.now();
|
||||
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
|
||||
CSS.supports('top: constant(a)'))
|
||||
document.write(
|
||||
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
|
||||
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
|
||||
</script>
|
||||
<title>View</title>
|
||||
<link rel="stylesheet" href="view.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script src="__uniappes6.js"></script>
|
||||
<script src="view.umd.min.js"></script>
|
||||
<script src="app-view.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
8
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/app-config-service.js
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
var isReady=false;var onReadyCallbacks=[];
|
||||
var isServiceReady=false;var onServiceReadyCallbacks=[];
|
||||
var __uniConfig = {"pages":["pages/index/index","pages/bleConnect/bleConnect","pages/sendCommand/sendCommand","pages/login/login","pages/my/my","pages/message/message","pages/product/product","pages/talk/talk","pages/test/test","pages/Statistics/Statistics","pages/testone/testone","pages/evaluate/evaluate","pages/signIn/signIn","pages/announcement/announcement","pages/orderManagement/orderManagement"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"tabBar":{"selectedColor":"#4095e5","list":[{"pagePath":"pages/index/index","text":"订单","iconPath":"static/tab/order.png","selectedIconPath":"static/tab/order1.png"},{"pagePath":"pages/message/message","text":"消息","iconPath":"static/tab/message.png","selectedIconPath":"static/tab/message1.png"},{"pagePath":"pages/my/my","text":"我的","iconPath":"static/tab/my.png","selectedIconPath":"static/tab/my1.png"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"weex","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"校快送商家端","compilerVersion":"4.36","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
|
||||
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"订单","enablePullDownRefresh":false}},{"path":"/pages/bleConnect/bleConnect","meta":{},"window":{"navigationBarTitleText":"蓝牙连接"}},{"path":"/pages/sendCommand/sendCommand","meta":{},"window":{"navigationBarTitleText":"发送测试"}},{"path":"/pages/login/login","meta":{},"window":{"navigationBarTitleText":"登录","enablePullDownRefresh":false}},{"path":"/pages/my/my","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的","enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/message/message","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"消息","enablePullDownRefresh":false}},{"path":"/pages/product/product","meta":{},"window":{"navigationBarTitleText":"商品管理","enablePullDownRefresh":false}},{"path":"/pages/talk/talk","meta":{},"window":{"navigationBarTitleText":"聊天","enablePullDownRefresh":false}},{"path":"/pages/test/test","meta":{},"window":{"navigationBarTitleText":"测试页面1","enablePullDownRefresh":false}},{"path":"/pages/Statistics/Statistics","meta":{},"window":{"navigationBarTitleText":"数据统计","enablePullDownRefresh":false}},{"path":"/pages/testone/testone","meta":{},"window":{"navigationBarTitleText":"测试页面1"}},{"path":"/pages/evaluate/evaluate","meta":{},"window":{"navigationBarTitleText":"评价管理","enablePullDownRefresh":false}},{"path":"/pages/signIn/signIn","meta":{},"window":{"navigationBarTitleText":"注册"}},{"path":"/pages/announcement/announcement","meta":{},"window":{"navigationBarTitleText":"公告管理"}},{"path":"/pages/orderManagement/orderManagement","meta":{},"window":{"navigationBarTitleText":"订单管理"}}];
|
||||
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
||||
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
||||
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});
|
154
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/app-config.js
vendored
Normal file
@ -0,0 +1,154 @@
|
||||
/******/ (function(modules) { // webpackBootstrap
|
||||
/******/ // install a JSONP callback for chunk loading
|
||||
/******/ function webpackJsonpCallback(data) {
|
||||
/******/ var chunkIds = data[0];
|
||||
/******/ var moreModules = data[1];
|
||||
/******/ var executeModules = data[2];
|
||||
/******/
|
||||
/******/ // add "moreModules" to the modules object,
|
||||
/******/ // then flag all "chunkIds" as loaded and fire callback
|
||||
/******/ var moduleId, chunkId, i = 0, resolves = [];
|
||||
/******/ for(;i < chunkIds.length; i++) {
|
||||
/******/ chunkId = chunkIds[i];
|
||||
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
|
||||
/******/ resolves.push(installedChunks[chunkId][0]);
|
||||
/******/ }
|
||||
/******/ installedChunks[chunkId] = 0;
|
||||
/******/ }
|
||||
/******/ for(moduleId in moreModules) {
|
||||
/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
|
||||
/******/ modules[moduleId] = moreModules[moduleId];
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/ if(parentJsonpFunction) parentJsonpFunction(data);
|
||||
/******/
|
||||
/******/ while(resolves.length) {
|
||||
/******/ resolves.shift()();
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ // add entry modules from loaded chunk to deferred list
|
||||
/******/ deferredModules.push.apply(deferredModules, executeModules || []);
|
||||
/******/
|
||||
/******/ // run deferred modules when all chunks ready
|
||||
/******/ return checkDeferredModules();
|
||||
/******/ };
|
||||
/******/ function checkDeferredModules() {
|
||||
/******/ var result;
|
||||
/******/ for(var i = 0; i < deferredModules.length; i++) {
|
||||
/******/ var deferredModule = deferredModules[i];
|
||||
/******/ var fulfilled = true;
|
||||
/******/ for(var j = 1; j < deferredModule.length; j++) {
|
||||
/******/ var depId = deferredModule[j];
|
||||
/******/ if(installedChunks[depId] !== 0) fulfilled = false;
|
||||
/******/ }
|
||||
/******/ if(fulfilled) {
|
||||
/******/ deferredModules.splice(i--, 1);
|
||||
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ return result;
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ // The module cache
|
||||
/******/ var installedModules = {};
|
||||
/******/
|
||||
/******/ // object to store loaded and loading chunks
|
||||
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
||||
/******/ // Promise = chunk loading, 0 = chunk loaded
|
||||
/******/ var installedChunks = {
|
||||
/******/ "app-config": 0
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ var deferredModules = [];
|
||||
/******/
|
||||
/******/ // The require function
|
||||
/******/ function __webpack_require__(moduleId) {
|
||||
/******/
|
||||
/******/ // Check if module is in cache
|
||||
/******/ if(installedModules[moduleId]) {
|
||||
/******/ return installedModules[moduleId].exports;
|
||||
/******/ }
|
||||
/******/ // Create a new module (and put it into the cache)
|
||||
/******/ var module = installedModules[moduleId] = {
|
||||
/******/ i: moduleId,
|
||||
/******/ l: false,
|
||||
/******/ exports: {}
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Execute the module function
|
||||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||||
/******/
|
||||
/******/ // Flag the module as loaded
|
||||
/******/ module.l = true;
|
||||
/******/
|
||||
/******/ // Return the exports of the module
|
||||
/******/ return module.exports;
|
||||
/******/ }
|
||||
/******/
|
||||
/******/
|
||||
/******/ // expose the modules object (__webpack_modules__)
|
||||
/******/ __webpack_require__.m = modules;
|
||||
/******/
|
||||
/******/ // expose the module cache
|
||||
/******/ __webpack_require__.c = installedModules;
|
||||
/******/
|
||||
/******/ // define getter function for harmony exports
|
||||
/******/ __webpack_require__.d = function(exports, name, getter) {
|
||||
/******/ if(!__webpack_require__.o(exports, name)) {
|
||||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // define __esModule on exports
|
||||
/******/ __webpack_require__.r = function(exports) {
|
||||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||||
/******/ }
|
||||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // create a fake namespace object
|
||||
/******/ // mode & 1: value is a module id, require it
|
||||
/******/ // mode & 2: merge all properties of value into the ns
|
||||
/******/ // mode & 4: return value when already ns object
|
||||
/******/ // mode & 8|1: behave like require
|
||||
/******/ __webpack_require__.t = function(value, mode) {
|
||||
/******/ if(mode & 1) value = __webpack_require__(value);
|
||||
/******/ if(mode & 8) return value;
|
||||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
||||
/******/ var ns = Object.create(null);
|
||||
/******/ __webpack_require__.r(ns);
|
||||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
||||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
||||
/******/ return ns;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||||
/******/ __webpack_require__.n = function(module) {
|
||||
/******/ var getter = module && module.__esModule ?
|
||||
/******/ function getDefault() { return module['default']; } :
|
||||
/******/ function getModuleExports() { return module; };
|
||||
/******/ __webpack_require__.d(getter, 'a', getter);
|
||||
/******/ return getter;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Object.prototype.hasOwnProperty.call
|
||||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
||||
/******/
|
||||
/******/ // __webpack_public_path__
|
||||
/******/ __webpack_require__.p = "/";
|
||||
/******/
|
||||
/******/ var jsonpArray = this["webpackJsonp"] = this["webpackJsonp"] || [];
|
||||
/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
|
||||
/******/ jsonpArray.push = webpackJsonpCallback;
|
||||
/******/ jsonpArray = jsonpArray.slice();
|
||||
/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
|
||||
/******/ var parentJsonpFunction = oldJsonpFunction;
|
||||
/******/
|
||||
/******/
|
||||
/******/ // run deferred modules from other chunks
|
||||
/******/ checkDeferredModules();
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ([]);
|
137807
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/app-service.js
vendored
Normal file
9444
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/app-view.js
vendored
Normal file
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/assets/uniicons.2579c7da.ttf
vendored
Normal file
1
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/manifest.json
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__3192E2A","name":"校快送商家端","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Bluetooth":{},"Camera":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"distribute":{"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.CALL_PHONE\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{"dSYMs":false},"plugins":{"statics":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"arguments":"{\"name\":\"\",\"path\":\"\",\"query\":\"\",\"id\":0}","allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.36","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"selectedColor":"#4095e5","list":[{"pagePath":"pages/index/index","text":"订单","iconPath":"static/tab/order.png","selectedIconPath":"static/tab/order1.png"},{"pagePath":"pages/message/message","text":"消息","iconPath":"static/tab/message.png","selectedIconPath":"static/tab/message1.png"},{"pagePath":"pages/my/my","text":"我的","iconPath":"static/tab/my.png","selectedIconPath":"static/tab/my1.png"}],"borderStyle":"rgba(0,0,0,0.4)","height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"},"locale":"zh-Hans"}
|
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/Gourmet/meishi-bangbangtang.png
vendored
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/Gourmet/meishi.png
vendored
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/Gourmet/meishi_caomei.png
vendored
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/Gourmet/meishi_hanbao.png
vendored
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/Gourmet/meishi_li.png
vendored
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/Gourmet/meishi_mangguo.png
vendored
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/Gourmet/meishi_manyuemei.png
vendored
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/Gourmet/meishi_niunai.png
vendored
Normal file
After Width: | Height: | Size: 968 B |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/Gourmet/meishi_pisa.png
vendored
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/Gourmet/meishi_qiyiguo.png
vendored
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/Gourmet/meishi_tusi.png
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/img/abc_ic_star_black_16dp.png
vendored
Normal file
After Width: | Height: | Size: 599 B |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/img/print.jpeg
vendored
Normal file
After Width: | Height: | Size: 93 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/login.jpg
vendored
Normal file
After Width: | Height: | Size: 104 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/logo.png
vendored
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/message.png
vendored
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/messageSelected.png
vendored
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/myBgc.jpg
vendored
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/order.png
vendored
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/orderSelected.png
vendored
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/shop.png
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/shopSelected.png
vendored
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/tab/message.png
vendored
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/tab/message1.png
vendored
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/tab/my.png
vendored
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/tab/my1.png
vendored
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/tab/order.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/static/tab/order1.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
61
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/uni_modules/lime-echart/static/echarts.min.js
vendored
Normal file
173
p-BluPrint_1.0.288888/unpackage/dist/dev/app-plus/uni_modules/lime-echart/static/uvue.html
vendored
Normal file
@ -0,0 +1,173 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title></title>
|
||||
<style type="text/css">
|
||||
html,
|
||||
body,
|
||||
.canvas {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow-y: hidden;
|
||||
background-color: transparent;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="canvas" id="limeChart"></div>
|
||||
<script type="text/javascript" src="./uni.webview.1.5.5.js"></script>
|
||||
<script type="text/javascript" src="./echarts.min.js"></script>
|
||||
<script type="text/javascript" src="./ecStat.min.js"></script>
|
||||
<!-- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-liquidfill@latest/dist/echarts-liquidfill.min.js"></script> -->
|
||||
<script>
|
||||
let chart = null;
|
||||
let cache = [];
|
||||
console.log = function() {
|
||||
emit('log', {
|
||||
log: arguments,
|
||||
})
|
||||
}
|
||||
|
||||
function emit(event, data) {
|
||||
postMessage({
|
||||
event,
|
||||
data
|
||||
})
|
||||
cache = []
|
||||
}
|
||||
|
||||
function postMessage(data) {
|
||||
uni.webView.postMessage({
|
||||
data
|
||||
})
|
||||
// window.__uniapp_x_.postMessage(JSON.stringify(data))
|
||||
};
|
||||
|
||||
function stringify(key, value) {
|
||||
if (typeof value === 'object' && value !== null) {
|
||||
if (cache.indexOf(value) !== -1) {
|
||||
return;
|
||||
}
|
||||
cache.push(value);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
function parse(name, callback, options) {
|
||||
const optionNameReg = /[\w]+\.setOption\(([\w]+\.)?([\w]+)\)/
|
||||
if (optionNameReg.test(callback)) {
|
||||
const optionNames = callback.match(optionNameReg)
|
||||
if (optionNames[1]) {
|
||||
const _this = optionNames[1].split('.')[0]
|
||||
window[_this] = {}
|
||||
window[_this][optionNames[2]] = options
|
||||
return optionNames[2]
|
||||
} else {
|
||||
return null
|
||||
}
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
function init(callback, options, opts, theme) {
|
||||
if (!chart) {
|
||||
chart = echarts.init(document.getElementById('limeChart'), theme, opts)
|
||||
|
||||
if (options) {
|
||||
chart.setOption(options)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function on(data) {
|
||||
if (chart && data.length > 0) {
|
||||
const [type, query] = data
|
||||
const key = `${type}${JSON.stringify(query||'')}`
|
||||
if (query) {
|
||||
chart.on(type, query, function(options) {
|
||||
var obj = {};
|
||||
Object.keys(options).forEach(function(key) {
|
||||
if (key != 'event') {
|
||||
obj[key] = options[key];
|
||||
}
|
||||
});
|
||||
emit(key, {
|
||||
event: key,
|
||||
options: obj,
|
||||
});
|
||||
});
|
||||
} else {
|
||||
chart.on(type, function(options) {
|
||||
var obj = {};
|
||||
Object.keys(options).forEach(function(key) {
|
||||
if (key != 'event') {
|
||||
obj[key] = options[key];
|
||||
}
|
||||
});
|
||||
emit(key, {
|
||||
event: key,
|
||||
options: obj,
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function setChart(callback, options) {
|
||||
if (!callback) return
|
||||
if (chart && callback && options) {
|
||||
var r = null
|
||||
const name = parse('r', callback, options)
|
||||
if (name) this[name] = options
|
||||
eval(`r = ${callback};`)
|
||||
if (r) {
|
||||
r(chart)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function setOption(data) {
|
||||
if (chart) chart.setOption(data[0], data[1])
|
||||
}
|
||||
|
||||
function showLoading(data) {
|
||||
if (chart) chart.showLoading(data[0], data[1])
|
||||
}
|
||||
|
||||
function hideLoading() {
|
||||
if (chart) chart.hideLoading()
|
||||
}
|
||||
|
||||
function clear() {
|
||||
if (chart) chart.clear()
|
||||
|
||||
}
|
||||
|
||||
function dispose() {
|
||||
if (chart) chart.dispose()
|
||||
}
|
||||
|
||||
function resize(size) {
|
||||
if (chart) chart.resize(size)
|
||||
}
|
||||
|
||||
function canvasToTempFilePath(opt) {
|
||||
if (chart) {
|
||||
delete opt.success
|
||||
const src = chart.getDataURL(opt)
|
||||
postMessage({
|
||||
// event: 'file',
|
||||
file: src
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|