From 3f88a4f81bbfc424caa1391f4b3969c26fbf8485 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 05 九月 2025 17:57:41 +0800
Subject: [PATCH] 销售管理真机测试,bug修改
---
src/pages_qiun/static/js/config.js | 79 +++++++++++++++++++++++++++++++++++++++
1 files changed, 79 insertions(+), 0 deletions(-)
diff --git a/src/pages_qiun/static/js/config.js b/src/pages_qiun/static/js/config.js
new file mode 100644
index 0000000..074515b
--- /dev/null
+++ b/src/pages_qiun/static/js/config.js
@@ -0,0 +1,79 @@
+
+const COLOR = [
+ "#EE6A66", "#6BC588", "#FFC300", "#24ABFD"
+];
+
+var ISCANVAS2D = true;
+
+switch (uni.getSystemInfoSync().platform) {
+ case 'android':
+ ISCANVAS2D = true
+ break;
+ case 'ios':
+ ISCANVAS2D = true
+ break;
+ default:
+ ISCANVAS2D = false
+ break;
+}
+
+const RESPOND = {
+ success: 0,
+ warn: 301,
+ error: 500,
+};
+
+const TIMEARRAY = [
+ {
+ text: '褰撳ぉ',
+ value: 'today'
+ },
+ {
+ text: '鏄ㄥぉ',
+ value: 'yesterday'
+ },
+ {
+ text: '鏈懆',
+ value: 'week'
+ },
+ {
+ text: '涓婂懆',
+ value: 'weeklast'
+ },
+ {
+ text: '鏈湀',
+ value: 'month'
+ },
+ {
+ text: '涓婃湀',
+ value: 'monthlast'
+ },
+ {
+ text: '鎸囧畾鏃ユ湡',
+ value: 'auto'
+ }
+];
+const TABLIST = [
+ {name:"浼佷笟寰俊",type:"WECHAT"},
+ {name:"浼氬憳杩愯惀",type:"OPERATE"},
+ {name:"浼氬憳鍋ュ悍",type:"GJJK"},
+ {name:"浼氬憳鏈嶅姟",type:"SERVICE"},
+];
+
+const CARD_MENU = [
+ {title:"浼氬憳鎶ヨ〃涓績",author:"howcode",img:"https://s1.ax1x.com/2023/03/31/ppRp4iV.jpg",url:"/myPackageA/pages/main/index"},
+ {title:"鏅烘収鏁欒偛鎶ヨ〃涓績",author:"howcode",img:"https://s1.ax1x.com/2023/03/31/ppRp5GT.jpg",url:"/myPackageA/pages/school/index"},
+ {title:"宸梾鎶ヨ〃涓績",author:"绉嬩簯",img:"https://s1.ax1x.com/2023/03/31/ppRpfI0.jpg",url:""},
+ {title:"杩愬姩鎶ヨ〃涓績",author:"howcode",img:"https://s1.ax1x.com/2023/03/31/ppRpWaq.jpg",url:"/myPackageA/pages/sport/index"},
+ {title:"璐㈠姟鎶ヨ〃涓績",author:"howcode",img:"https://s1.ax1x.com/2023/03/31/ppRpozF.jpg",url:"/myPackageA/pages/finance/index"},
+]
+
+
+export default {
+ COLOR,
+ TIMEARRAY,
+ TABLIST,
+ RESPOND,
+ ISCANVAS2D,
+ CARD_MENU
+}
\ No newline at end of file
--
Gitblit v1.9.3