|
@@ -1,90 +1,100 @@
|
|
// 接口请求地址
|
|
// 接口请求地址
|
|
-export const BASE_URL = 'https://www.gyxqcdz.com';//正式
|
|
|
|
-// export const BASE_URL = 'https://ceshi.gyxqcdz.com';//测试
|
|
|
|
|
|
+// export const BASE_URL = 'https://www.gyxqcdz.com';//正式
|
|
|
|
+export const BASE_URL = "https://ceshi.gyxqcdz.com"; //测试
|
|
|
|
+// export const BASE_URL = '';//测试
|
|
|
|
|
|
// 分享地址
|
|
// 分享地址
|
|
-export const FORWARD_URL = 'https://www.gyxqcdz.com/pc/#';//正式
|
|
|
|
-// export const FORWARD_URL = 'https://ceshi.gyxqcdz.com/pc/#';//测试
|
|
|
|
|
|
+// export const FORWARD_URL = 'https://www.gyxqcdz.com/pc/#';//正式
|
|
|
|
+export const FORWARD_URL = "https://ceshi.gyxqcdz.com/pc/#"; //测试
|
|
|
|
|
|
// 阿里云oss文件域名
|
|
// 阿里云oss文件域名
|
|
-export const OSS_URL = 'https://gaoyixia.oss-cn-hangzhou.aliyuncs.com/';
|
|
|
|
|
|
+export const OSS_URL = "https://gaoyixia.oss-cn-hangzhou.aliyuncs.com/";
|
|
|
|
|
|
// 微信appid
|
|
// 微信appid
|
|
-export const WX_APP_ID = 'wx9c6bb6d105d7e75c';
|
|
|
|
|
|
+export const WX_APP_ID = "wx9c6bb6d105d7e75c";
|
|
|
|
|
|
// 高德地图key
|
|
// 高德地图key
|
|
-export const AMAP_KEY = '5295cbb966c063bde1ed33c1de7ed6bd';
|
|
|
|
|
|
+export const AMAP_KEY = "5295cbb966c063bde1ed33c1de7ed6bd";
|
|
|
|
|
|
// DRM加密证书
|
|
// DRM加密证书
|
|
-export const DRM_CERT_ID = '4fb3aca2f14a4666945e0902a544d138';
|
|
|
|
|
|
+export const DRM_CERT_ID = "4fb3aca2f14a4666945e0902a544d138";
|
|
|
|
|
|
// UrlScheme
|
|
// UrlScheme
|
|
-export const SCHEME_IOS = 'gotit2782015695';
|
|
|
|
-export const SCHEME_ANDRIOD = 'myinfo';
|
|
|
|
|
|
+export const SCHEME_IOS = "gotit2782015695";
|
|
|
|
+export const SCHEME_ANDRIOD = "myinfo";
|
|
|
|
|
|
// 视频可上传的文件类型
|
|
// 视频可上传的文件类型
|
|
-export const VIDEO_UPLOAD_FILE_TYPE = 'video/*';
|
|
|
|
|
|
+export const VIDEO_UPLOAD_FILE_TYPE = "video/*";
|
|
|
|
|
|
// 图文可上传的文件类型
|
|
// 图文可上传的文件类型
|
|
-export const IMAGE_TEXT_UPLOAD_FILE_TYPE = '.doc,.docx,.ppt,.pptx,.xls,.xlsx,.pdf,.zip';
|
|
|
|
|
|
+export const IMAGE_TEXT_UPLOAD_FILE_TYPE =
|
|
|
|
+ ".doc,.docx,.ppt,.pptx,.xls,.xlsx,.pdf,.zip";
|
|
|
|
|
|
// 资料可上传的文件类型
|
|
// 资料可上传的文件类型
|
|
-export const INFORMATION_UPLOAD_FILE_TYPE = '.doc,.docx,.ppt,.pptx,.xls,.xlsx,.pdf,.zip';
|
|
|
|
|
|
+export const INFORMATION_UPLOAD_FILE_TYPE =
|
|
|
|
+ ".doc,.docx,.ppt,.pptx,.xls,.xlsx,.pdf,.zip";
|
|
|
|
|
|
// 资料可预览的文件类型
|
|
// 资料可预览的文件类型
|
|
-export const INFORMATION_PREVIEWABLE_FILE_TYPE = ['doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'pdf'];
|
|
|
|
|
|
+export const INFORMATION_PREVIEWABLE_FILE_TYPE = [
|
|
|
|
+ "doc",
|
|
|
|
+ "docx",
|
|
|
|
+ "ppt",
|
|
|
|
+ "pptx",
|
|
|
|
+ "xls",
|
|
|
|
+ "xlsx",
|
|
|
|
+ "pdf",
|
|
|
|
+];
|
|
|
|
|
|
export const ICON = {
|
|
export const ICON = {
|
|
- ['doc']: require('../assets/icon/information_file/doc.png'),
|
|
|
|
- ['ppt']: require('../assets/icon/information_file/ppt.png'),
|
|
|
|
- ['pdf']: require('../assets/icon/information_file/pdf.png'),
|
|
|
|
- ['xls']: require('../assets/icon/information_file/xls.png'),
|
|
|
|
- ['zip']: require('../assets/icon/information_file/doc.png'),
|
|
|
|
- ['doc_bg']: require('../assets/icon/information_file/doc_bg.png'),
|
|
|
|
- ['ppt_bg']: require('../assets/icon/information_file/ppt_bg.png'),
|
|
|
|
- ['pdf_bg']: require('../assets/icon/information_file/pdf_bg.png'),
|
|
|
|
- ['xls_bg']: require('../assets/icon/information_file/xls_bg.png'),
|
|
|
|
- ['zip_bg']: require('../assets/icon/information_file/zip_bg.png'),
|
|
|
|
- ['folder_bg']: require('../assets/icon/information_file/folder_bg.png'),
|
|
|
|
- ['doc_refer']: require('../assets/icon/information_file/doc_refer.png'),
|
|
|
|
- ['ppt_refer']: require('../assets/icon/information_file/ppt_refer.png'),
|
|
|
|
- ['pdf_refer']: require('../assets/icon/information_file/pdf_refer.png'),
|
|
|
|
- ['xls_refer']: require('../assets/icon/information_file/xlsx_refer.png'),
|
|
|
|
- ['zip_refer']: require('../assets/icon/information_file/zip_refer.png'),
|
|
|
|
|
|
+ ["doc"]: require("../assets/icon/information_file/doc.png"),
|
|
|
|
+ ["ppt"]: require("../assets/icon/information_file/ppt.png"),
|
|
|
|
+ ["pdf"]: require("../assets/icon/information_file/pdf.png"),
|
|
|
|
+ ["xls"]: require("../assets/icon/information_file/xls.png"),
|
|
|
|
+ ["zip"]: require("../assets/icon/information_file/doc.png"),
|
|
|
|
+ ["doc_bg"]: require("../assets/icon/information_file/doc_bg.png"),
|
|
|
|
+ ["ppt_bg"]: require("../assets/icon/information_file/ppt_bg.png"),
|
|
|
|
+ ["pdf_bg"]: require("../assets/icon/information_file/pdf_bg.png"),
|
|
|
|
+ ["xls_bg"]: require("../assets/icon/information_file/xls_bg.png"),
|
|
|
|
+ ["zip_bg"]: require("../assets/icon/information_file/zip_bg.png"),
|
|
|
|
+ ["folder_bg"]: require("../assets/icon/information_file/folder_bg.png"),
|
|
|
|
+ ["doc_refer"]: require("../assets/icon/information_file/doc_refer.png"),
|
|
|
|
+ ["ppt_refer"]: require("../assets/icon/information_file/ppt_refer.png"),
|
|
|
|
+ ["pdf_refer"]: require("../assets/icon/information_file/pdf_refer.png"),
|
|
|
|
+ ["xls_refer"]: require("../assets/icon/information_file/xlsx_refer.png"),
|
|
|
|
+ ["zip_refer"]: require("../assets/icon/information_file/zip_refer.png"),
|
|
};
|
|
};
|
|
|
|
|
|
// 资料模块图标
|
|
// 资料模块图标
|
|
export const INFORMATION_ICON = {
|
|
export const INFORMATION_ICON = {
|
|
- // word文件
|
|
|
|
- ['doc']: ICON.doc,
|
|
|
|
- ['docx']: ICON.doc,
|
|
|
|
- ['doc_bg']: ICON.doc_bg,
|
|
|
|
- ['docx_bg']: ICON.doc_bg,
|
|
|
|
- ['doc_refer']: ICON.doc_refer,
|
|
|
|
- ['docx_refer']: ICON.doc_refer,
|
|
|
|
- // ppt文件
|
|
|
|
- ['ppt']: ICON.ppt,
|
|
|
|
- ['pptx']: ICON.ppt,
|
|
|
|
- ['ppt_bg']: ICON.ppt_bg,
|
|
|
|
- ['pptx_bg']: ICON.ppt_bg,
|
|
|
|
- ['ppt_refer']: ICON.ppt_refer,
|
|
|
|
- ['pptx_refer']: ICON.ppt_refer,
|
|
|
|
- // xls表格文件
|
|
|
|
- ['xls']: ICON.xls,
|
|
|
|
- ['xlsx']: ICON.xls,
|
|
|
|
- ['xls_bg']: ICON.xls_bg,
|
|
|
|
- ['xlsx_bg']: ICON.xls_bg,
|
|
|
|
- ['xls_refer']: ICON.xls_refer,
|
|
|
|
- ['xlsx_refer']: ICON.xls_refer,
|
|
|
|
- // ptf文件
|
|
|
|
- ['pdf']: ICON.pdf,
|
|
|
|
- ['pdf_bg']: ICON.pdf_bg,
|
|
|
|
- ['pdf_refer']: ICON.pdf_refer,
|
|
|
|
- // zip压缩包文件
|
|
|
|
- ['zip']: ICON.zip,
|
|
|
|
- ['zip_bg']: ICON.zip_bg,
|
|
|
|
- ['zip_refer']: ICON.zip_refer,
|
|
|
|
- // 文件夹
|
|
|
|
- ['folder_bg']: ICON.folder_bg,
|
|
|
|
|
|
+ // word文件
|
|
|
|
+ ["doc"]: ICON.doc,
|
|
|
|
+ ["docx"]: ICON.doc,
|
|
|
|
+ ["doc_bg"]: ICON.doc_bg,
|
|
|
|
+ ["docx_bg"]: ICON.doc_bg,
|
|
|
|
+ ["doc_refer"]: ICON.doc_refer,
|
|
|
|
+ ["docx_refer"]: ICON.doc_refer,
|
|
|
|
+ // ppt文件
|
|
|
|
+ ["ppt"]: ICON.ppt,
|
|
|
|
+ ["pptx"]: ICON.ppt,
|
|
|
|
+ ["ppt_bg"]: ICON.ppt_bg,
|
|
|
|
+ ["pptx_bg"]: ICON.ppt_bg,
|
|
|
|
+ ["ppt_refer"]: ICON.ppt_refer,
|
|
|
|
+ ["pptx_refer"]: ICON.ppt_refer,
|
|
|
|
+ // xls表格文件
|
|
|
|
+ ["xls"]: ICON.xls,
|
|
|
|
+ ["xlsx"]: ICON.xls,
|
|
|
|
+ ["xls_bg"]: ICON.xls_bg,
|
|
|
|
+ ["xlsx_bg"]: ICON.xls_bg,
|
|
|
|
+ ["xls_refer"]: ICON.xls_refer,
|
|
|
|
+ ["xlsx_refer"]: ICON.xls_refer,
|
|
|
|
+ // ptf文件
|
|
|
|
+ ["pdf"]: ICON.pdf,
|
|
|
|
+ ["pdf_bg"]: ICON.pdf_bg,
|
|
|
|
+ ["pdf_refer"]: ICON.pdf_refer,
|
|
|
|
+ // zip压缩包文件
|
|
|
|
+ ["zip"]: ICON.zip,
|
|
|
|
+ ["zip_bg"]: ICON.zip_bg,
|
|
|
|
+ ["zip_refer"]: ICON.zip_refer,
|
|
|
|
+ // 文件夹
|
|
|
|
+ ["folder_bg"]: ICON.folder_bg,
|
|
};
|
|
};
|
|
-
|
|
|