diff --git a/api/bussness.js b/api/bussness.js
new file mode 100644
index 0000000..7b3ee17
--- /dev/null
+++ b/api/bussness.js
@@ -0,0 +1,10 @@
+import oahttp from "@/utils/aa.js";
+
+/**
+ * 绑定scoket
+ */
+export const bindScoket = (data) => oahttp.post('/im/doBindUid', data)
+// 发送消息
+export const sendMsgApi = (data) => oahttp.post('/im/sendMessage', data)
+// 发送文件
+// export const sendFileApi = (data) => oahttp.post('/im/doBindUid', data)
\ No newline at end of file
diff --git a/api/index.js b/api/index.js
new file mode 100644
index 0000000..6c38943
--- /dev/null
+++ b/api/index.js
@@ -0,0 +1,28 @@
+// let Token = localStorage.getItem("token")
+let Token = uni.getStorageSync("token")
+let request = (METHOD, URL, DATA) => {
+ return new Promise((reslove, reject) => {
+ uni.request({
+ url: 'https://ceshi-im.lihaink.cn/' + URL,
+ method: METHOD,
+ data: {
+ ...DATA
+ },
+ header: {
+ 'content-type': 'application/json',
+ "Authorization": Token || ""
+
+ },
+ success: function(res) {
+ reslove(res)
+ },
+ fail: function(err) {
+ reject(err)
+ },
+
+ });
+ })
+}
+
+
+export default request;
\ No newline at end of file
diff --git a/components/business/talk.vue b/components/business/talk.vue
new file mode 100644
index 0000000..5b54724
--- /dev/null
+++ b/components/business/talk.vue
@@ -0,0 +1,692 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.content}}
+
+
+
+
+
+
+
+
+
+ 点击预览
+
+
+
+
+
+
+
+
+ {{item.sendTime}}
+
+
+
+
+
+
+
+ {{item.content}}
+
+
+
+
+
+
+
+
+
+ 点击预览
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 图片
+
+
+
+
+ 视频
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/app.js b/config/app.js
index 164dda3..7094130 100644
--- a/config/app.js
+++ b/config/app.js
@@ -1,10 +1,11 @@
let httpApiThree;
let httpApi; // 总域名
let httpApiTwo; // 物流系统域名
+let httpApiTest
-// const env = 'dev'; // 开发
+const env = 'dev'; // 开发
// const env = 'prod'; // 生产
-const env = 'prew'; // 预上线
+// const env = 'prew'; // 预上线
switch (env) {
case 'prod':
@@ -21,6 +22,7 @@ switch (env) {
httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试
httpApiTwo = 'https://ceshi-logistics.lihaink.cn' //测试环境
+ httpApiTest = 'http://192.168.1.12:8081' //测试环境
}
@@ -48,6 +50,7 @@ module.exports = {
HTTP_REQUEST_URL: httpApi,
HTTP_REQUEST_URL_THREE: httpApiThree,
HTTP_REQUEST_URL_TWO: httpApiTwo,
+ httpApiTest: httpApiTest,
// #ifdef H5
//H5接口是浏览器地址
diff --git a/pages.json b/pages.json
index 1087349..471397c 100644
--- a/pages.json
+++ b/pages.json
@@ -1,751 +1,761 @@
{
- "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- "path": "pages/oaHome/oaHome",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": true,
- "app-plus": {
- "titleNView": false
- },
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
- },
- {
- "path": "pages/oaLogin/oaLogin",
- "style": {
- "navigationBarTitleText": "登录",
- "app-plus": {
- "titleNView": false,
- "bounce": "none"
- },
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+ {
+ "path": "pages/oaHome/oaHome",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": true,
+ "app-plus": {
+ "titleNView": false
+ },
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "pages/oaLogin/oaLogin",
+ "style": {
+ "navigationBarTitleText": "登录",
+ "app-plus": {
+ "titleNView": false,
+ "bounce": "none"
+ },
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- },
- {
- "path": "pages/business/business",
- "style": {
- "navigationBarTitleText": "商机信息",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ },
+ {
+ "path": "pages/business/business",
+ "style": {
+ "navigationBarTitleText": "商机信息",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- },
- {
- "path": "pages/index/index",
- "style": {
- "navigationBarTitleText": "uni-app",
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
- },
- {
- "path": "pages/oaExamine/oaExamine",
- "style": {
- "navigationBarTitleText": "审批",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
- },
- {
- "path": "pages/oaTask/oaTask",
- "style": {
- "navigationBarTitleText": "今日任务",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
- },
- {
- "path": "pages/oaMy/oaMy",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": true,
- "app-plus": {
- "titleNView": false
- },
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
- }, {
- "path": "pages/oaManager/oaManager",
- "style": {
- "navigationBarTitleText": "片区经理",
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ },
+ {
+ "path": "pages/business/talkDetail",
+ "style": {
+ "navigationBarTitleText": "商机信息",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "pages/oaNews/oaNews",
- "style": {
- "navigationBarTitleText": "公告详情",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ },
+ {
+ "path": "pages/index/index",
+ "style": {
+ "navigationBarTitleText": "uni-app",
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "pages/oaExamine/oaExamine",
+ "style": {
+ "navigationBarTitleText": "审批",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "pages/oaTask/oaTask",
+ "style": {
+ "navigationBarTitleText": "今日任务",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "pages/oaMy/oaMy",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": true,
+ "app-plus": {
+ "titleNView": false
+ },
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
+ }, {
+ "path": "pages/oaManager/oaManager",
+ "style": {
+ "navigationBarTitleText": "片区经理",
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "pages/logistics/index",
- "style": {
- "navigationBarTitleText": "订单列表",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "pages/oaNews/oaNews",
+ "style": {
+ "navigationBarTitleText": "公告详情",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "pages/logistics/te",
- "style": {
- "navigationBarTitleText": "测试",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "pages/logistics/index",
+ "style": {
+ "navigationBarTitleText": "订单列表",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "pages/logistics/logisticDetil",
- "style": {
- "navigationBarTitleText": "订单详情",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "pages/logistics/te",
+ "style": {
+ "navigationBarTitleText": "测试",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "pages/logistics/deliveryDetil",
- "style": {
- "navigationBarTitleText": "配送信息",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "pages/logistics/logisticDetil",
+ "style": {
+ "navigationBarTitleText": "订单详情",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "pages/logistics/post",
- "style": {
- "navigationBarTitleText": "驿站",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "pages/logistics/deliveryDetil",
+ "style": {
+ "navigationBarTitleText": "配送信息",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "pages/updatePassword/updatePassword",
- "style": {
- "navigationBarTitleText": "修改密码",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "pages/logistics/post",
+ "style": {
+ "navigationBarTitleText": "驿站",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "uni_modules/guyue-updater/pages/updater",
- "style": {
- "app-plus": {
- "animationDuration": 200,
- "animationType": "fade-in",
- "background": "transparent",
- "backgroundColorTop": "transparent",
- "bounce": "none",
- "popGesture": "none",
- "scrollIndicator": false,
- "titleNView": false
- },
- "backgroundColor": "transparent",
- "disableScroll": true,
- "navigationStyle": "custom"
- }
- }, {
- "path": "pages/moreFun/moreFun",
- "style": {
- "navigationBarTitleText": "更多功能",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "pages/updatePassword/updatePassword",
+ "style": {
+ "navigationBarTitleText": "修改密码",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "pages/otherSetting/otherSetting",
- "style": {
- "navigationBarTitleText": "其他设置",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
- }, {
- "path": "pages/webView/webView",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "uni_modules/guyue-updater/pages/updater",
+ "style": {
+ "app-plus": {
+ "animationDuration": 200,
+ "animationType": "fade-in",
+ "background": "transparent",
+ "backgroundColorTop": "transparent",
+ "bounce": "none",
+ "popGesture": "none",
+ "scrollIndicator": false,
+ "titleNView": false
+ },
+ "backgroundColor": "transparent",
+ "disableScroll": true,
+ "navigationStyle": "custom"
+ }
+ }, {
+ "path": "pages/moreFun/moreFun",
+ "style": {
+ "navigationBarTitleText": "更多功能",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }
- ],
- "subPackages": [{
- "root": "pages/views",
- "name": "views",
- "pages": [{
- "path": "application",
- "style": {
- "navigationBarTitleText": "地图首页",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "new_task",
- "style": {
- "navigationBarTitleText": "新建任务",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "com_approve",
- "style": {
- "navigationBarTitleText": "通用审批",
- "enablePullDownRefresh": false
- }
- }, {
- "path": "personal_center",
- "style": {
- "navigationBarTitleText": "个人中心1",
- "enablePullDownRefresh": false
- }
+ }, {
+ "path": "pages/otherSetting/otherSetting",
+ "style": {
+ "navigationBarTitleText": "其他设置",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
+ }, {
+ "path": "pages/webView/webView",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "task_details",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
- }
+ }
+ ],
+ "subPackages": [{
+ "root": "pages/views",
+ "name": "views",
+ "pages": [{
+ "path": "application",
+ "style": {
+ "navigationBarTitleText": "地图首页",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "new_task",
+ "style": {
+ "navigationBarTitleText": "新建任务",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "com_approve",
+ "style": {
+ "navigationBarTitleText": "通用审批",
+ "enablePullDownRefresh": false
+ }
+ }, {
+ "path": "personal_center",
+ "style": {
+ "navigationBarTitleText": "个人中心1",
+ "enablePullDownRefresh": false
+ }
- }, {
- "path": "personal_center_two",
- "style": {
- "navigationBarTitleText": "个人中心2",
- "enablePullDownRefresh": false
- }
+ }, {
+ "path": "task_details",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
- }, {
- "path": "public_document",
- "style": {
- "navigationBarTitleText": "公司公示文档",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "personal_center_two",
+ "style": {
+ "navigationBarTitleText": "个人中心2",
+ "enablePullDownRefresh": false
+ }
- }, {
- "path": "leave_request",
- "style": {
- "navigationBarTitleText": "请假申请",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "public_document",
+ "style": {
+ "navigationBarTitleText": "公司公示文档",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }
- ]
- }, {
- "root": "subpkg",
- "name": "subpkg",
- "pages": [{
- "path": "personnel/personnel",
- "style": {
- "navigationBarTitleText": "人员管理",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "leave_request",
+ "style": {
+ "navigationBarTitleText": "请假申请",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "finance/finance",
- "style": {
- "navigationBarTitleText": "财务管理",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }
+ ]
+ }, {
+ "root": "subpkg",
+ "name": "subpkg",
+ "pages": [{
+ "path": "personnel/personnel",
+ "style": {
+ "navigationBarTitleText": "人员管理",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "topUp/topUp",
- "style": {
- "navigationBarTitleText": "账户充值",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white",
- "app-plus": {
- "titleNView": {
- "buttons": [{
- "color": "#fff",
- "text": "充值记录",
- "fontSize": "15",
- "width": "90"
- }]
- }
- }
- }
+ }, {
+ "path": "finance/finance",
+ "style": {
+ "navigationBarTitleText": "财务管理",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "contract/contract",
- "style": {
- "navigationBarTitleText": "合同管理",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0022C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "topUp/topUp",
+ "style": {
+ "navigationBarTitleText": "账户充值",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white",
+ "app-plus": {
+ "titleNView": {
+ "buttons": [{
+ "color": "#fff",
+ "text": "充值记录",
+ "fontSize": "15",
+ "width": "90"
+ }]
+ }
+ }
+ }
- }, {
- "path": "contractDetail/contractDetail",
- "style": {
- "navigationBarTitleText": "合同详情",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "contract/contract",
+ "style": {
+ "navigationBarTitleText": "合同管理",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0022C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "pdfView/pdfView",
- "style": {
- "navigationBarTitleText": "合同内容",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "contractDetail/contractDetail",
+ "style": {
+ "navigationBarTitleText": "合同详情",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "companyInfo/companyInfo",
- "style": {
- "navigationBarTitleText": "公司信息",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "pdfView/pdfView",
+ "style": {
+ "navigationBarTitleText": "合同内容",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "companySign/companySign",
- "style": {
- "navigationBarTitleText": "签约公司详情",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "companyInfo/companyInfo",
+ "style": {
+ "navigationBarTitleText": "公司信息",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "personnelDetails/personnelDetails",
- "style": {
- "navigationBarTitleText": "人员详细信息",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "companySign/companySign",
+ "style": {
+ "navigationBarTitleText": "签约公司详情",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "orderDetail/orderDetail",
- "style": {
- "navigationBarTitleText": "流水详情",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "personnelDetails/personnelDetails",
+ "style": {
+ "navigationBarTitleText": "人员详细信息",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "withdrawDeposit/withdrawDeposit",
- "style": {
- "navigationBarTitleText": "提现余额",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white",
- "app-plus": {
- "titleNView": {
- "buttons": [{
- "color": "#fff",
- "text": "提现记录",
- "fontSize": "15",
- "width": "90"
- }]
- }
- }
- }
- }, {
- "path": "withdrawDeposit/company",
- "style": {
- "navigationBarTitleText": "提现",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white",
- "app-plus": {
- "titleNView": {
- "buttons": [{
- "color": "#fff",
- "text": "提现记录",
- "fontSize": "15",
- "width": "90"
- }]
- }
- }
- }
- }, {
- "path": "withdrawList/withdrawList",
- "style": {
- "navigationBarTitleText": "提现记录",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "orderDetail/orderDetail",
+ "style": {
+ "navigationBarTitleText": "流水详情",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "noticeList/noticeList",
- "style": {
- "navigationBarTitleText": "公告列表",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "withdrawDeposit/withdrawDeposit",
+ "style": {
+ "navigationBarTitleText": "提现余额",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white",
+ "app-plus": {
+ "titleNView": {
+ "buttons": [{
+ "color": "#fff",
+ "text": "提现记录",
+ "fontSize": "15",
+ "width": "90"
+ }]
+ }
+ }
+ }
+ }, {
+ "path": "withdrawDeposit/company",
+ "style": {
+ "navigationBarTitleText": "提现",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white",
+ "app-plus": {
+ "titleNView": {
+ "buttons": [{
+ "color": "#fff",
+ "text": "提现记录",
+ "fontSize": "15",
+ "width": "90"
+ }]
+ }
+ }
+ }
+ }, {
+ "path": "withdrawList/withdrawList",
+ "style": {
+ "navigationBarTitleText": "提现记录",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "topUpList/topUpList",
- "style": {
- "navigationBarTitleText": "充值记录",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "noticeList/noticeList",
+ "style": {
+ "navigationBarTitleText": "公告列表",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "companyAdmin/companyAdmin",
- "style": {
- "navigationBarTitleText": "公司管理",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "topUpList/topUpList",
+ "style": {
+ "navigationBarTitleText": "充值记录",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "newPersonnel/newPersonnel",
- "style": {
- "navigationBarTitleText": "新增人员",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "companyAdmin/companyAdmin",
+ "style": {
+ "navigationBarTitleText": "公司管理",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "archives/archives",
- "style": {
- "navigationBarTitleText": "档案管理",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "newPersonnel/newPersonnel",
+ "style": {
+ "navigationBarTitleText": "新增人员",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "newArchives/newArchives",
- "style": {
- "navigationBarTitleText": "信息登记",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "archives/archives",
+ "style": {
+ "navigationBarTitleText": "档案管理",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "updateArchives/updateArchives",
- "style": {
- "navigationBarTitleText": "信息更新",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "newArchives/newArchives",
+ "style": {
+ "navigationBarTitleText": "信息登记",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "fixedAssets/fixedAssets",
- "style": {
- "navigationBarTitleText": "固定资产",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "updateArchives/updateArchives",
+ "style": {
+ "navigationBarTitleText": "信息更新",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "taskAdmin/taskAdmin",
- "style": {
- "navigationBarTitleText": "任务管理",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "fixedAssets/fixedAssets",
+ "style": {
+ "navigationBarTitleText": "固定资产",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "archivesDetail/archivesDetail",
- "style": {
- "navigationBarTitleText": "档案详情",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "taskAdmin/taskAdmin",
+ "style": {
+ "navigationBarTitleText": "任务管理",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "captain/captain",
- "style": {
- "navigationBarTitleText": "队长列表",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "archivesDetail/archivesDetail",
+ "style": {
+ "navigationBarTitleText": "档案详情",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "companyFinance/companyFinance",
- "style": {
- "navigationBarTitleText": "公司财务",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "captain/captain",
+ "style": {
+ "navigationBarTitleText": "队长列表",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "companyUnsign/companyUnsign",
- "style": {
- "navigationBarTitleText": "未签约公司列表",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "companyFinance/companyFinance",
+ "style": {
+ "navigationBarTitleText": "公司财务",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "submit/submit",
- "style": {
- "navigationBarTitleText": "提交审核",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "companyUnsign/companyUnsign",
+ "style": {
+ "navigationBarTitleText": "未签约公司列表",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "dispatching/dispatching",
- "style": {
- "navigationBarTitleText": "任务:宣传配送",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "submit/submit",
+ "style": {
+ "navigationBarTitleText": "提交审核",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "blockTransaction/blockTransaction",
- "style": {
- "navigationBarTitleText": "任务:片区交易",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "dispatching/dispatching",
+ "style": {
+ "navigationBarTitleText": "任务:宣传配送",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "fileTask/fileTask",
- "style": {
- "navigationBarTitleText": "已更新商机",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "blockTransaction/blockTransaction",
+ "style": {
+ "navigationBarTitleText": "任务:片区交易",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "property/index",
- "style": {
- "navigationBarTitleText": "资产管理",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "fileTask/fileTask",
+ "style": {
+ "navigationBarTitleText": "已更新商机",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "property/chosseCompany",
- "style": {
- "navigationBarTitleText": "选择公司",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "property/index",
+ "style": {
+ "navigationBarTitleText": "资产管理",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "property/vehicle",
- "style": {
- "navigationBarTitleText": "三轮车游走",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "property/chosseCompany",
+ "style": {
+ "navigationBarTitleText": "选择公司",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "property/vehicle_a",
- "style": {
- "navigationBarTitleText": "三轮车详情",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "property/vehicle",
+ "style": {
+ "navigationBarTitleText": "三轮车游走",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "property/success",
- "style": {
- "navigationBarTitleText": "生成合同",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "property/vehicle_a",
+ "style": {
+ "navigationBarTitleText": "三轮车详情",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "property/contractList",
- "style": {
- "navigationBarTitleText": "合同列表",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "property/success",
+ "style": {
+ "navigationBarTitleText": "生成合同",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "buyShare/buyShare",
- "style": {
- "navigationBarTitleText": "任务:入股任务",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "property/contractList",
+ "style": {
+ "navigationBarTitleText": "合同列表",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "otherTask/otherTask",
- "style": {
- "navigationBarTitleText": "任务:其他任务",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "buyShare/buyShare",
+ "style": {
+ "navigationBarTitleText": "任务:入股任务",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "property/agencyList",
- "style": {
- "navigationBarTitleText": "签约列表",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "otherTask/otherTask",
+ "style": {
+ "navigationBarTitleText": "任务:其他任务",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "shareCapital/shareCapital",
- "style": {
- "navigationBarTitleText": "股金管理",
- "enablePullDownRefresh": true,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "property/agencyList",
+ "style": {
+ "navigationBarTitleText": "签约列表",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "merchantAudit/merchantAudit",
- "style": {
- "navigationBarTitleText": "商户入驻审核",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "shareCapital/shareCapital",
+ "style": {
+ "navigationBarTitleText": "股金管理",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "merchantTransaction/merchantTransaction",
- "style": {
- "navigationBarTitleText": "商户交易审核",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "merchantAudit/merchantAudit",
+ "style": {
+ "navigationBarTitleText": "商户入驻审核",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "merchantDetails/merchantDetails",
- "style": {
- "navigationBarTitleText": "商户详情",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "merchantTransaction/merchantTransaction",
+ "style": {
+ "navigationBarTitleText": "商户交易审核",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "serviceTask/serviceTask4",
- "style": {
- "navigationBarTitleText": "督促团队学习",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
- }, {
- "path": "serviceTask/serviceTask",
- "style": {
- "navigationBarTitleText": "任务",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "merchantDetails/merchantDetails",
+ "style": {
+ "navigationBarTitleText": "商户详情",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }, {
- "path": "complaint/complaint",
- "style": {
- "navigationBarTitleText": "投诉反馈",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#0122C7",
- "navigationBarTextStyle": "white"
- }
+ }, {
+ "path": "serviceTask/serviceTask4",
+ "style": {
+ "navigationBarTitleText": "督促团队学习",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
+ }, {
+ "path": "serviceTask/serviceTask",
+ "style": {
+ "navigationBarTitleText": "任务",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
- }]
- }],
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "uni-app",
- "navigationBarBackgroundColor": "#F8F8F8",
- "backgroundColor": "#F8F8F8"
- },
- "tabBar": {
- "color": "#282828",
- "selectedColor": "#0122C7",
- "borderStyle": "white",
- "backgroundColor": "#ffffff",
- "list": [{
- "pagePath": "pages/oaHome/oaHome",
- "text": "首页",
- "iconPath": "static/tabs-icon/home.png",
- "selectedIconPath": "static/tabs-icon/home-a.png"
- },
- {
- "pagePath": "pages/oaExamine/oaExamine",
- "text": "审批",
- "iconPath": "static/tabs-icon/Task.png",
- "selectedIconPath": "static/tabs-icon/Task-a.png"
- },
- {
- "pagePath": "pages/oaTask/oaTask",
- "text": "任务",
- "iconPath": "static/tabs-icon/approval.png",
- "selectedIconPath": "static/tabs-icon/approval-a.png"
- },
- // {
- // "pagePath": "pages/oaManager/oaManager",
- // "text": "片区经理",
- // "iconPath": "static/tabs-icon/manager.png",
- // "selectedIconPath": "static/tabs-icon/manager-a.png"
- // },
- {
- "pagePath": "pages/business/business",
- "text": "商机",
- "iconPath": "static/tabs-icon/manager.png",
- "selectedIconPath": "static/tabs-icon/manager-a.png"
- },
- {
- "pagePath": "pages/oaMy/oaMy",
- "text": "我的",
- "iconPath": "static/tabs-icon/my.png",
- "selectedIconPath": "static/tabs-icon/my-a.png"
- }
- ]
- },
- "uniIdRouter": {}
+ }, {
+ "path": "complaint/complaint",
+ "style": {
+ "navigationBarTitleText": "投诉反馈",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#0122C7",
+ "navigationBarTextStyle": "white"
+ }
+
+ }]
+ }],
+ "globalStyle": {
+ "navigationBarTextStyle": "black",
+ "navigationBarTitleText": "uni-app",
+ "navigationBarBackgroundColor": "#F8F8F8",
+ "backgroundColor": "#F8F8F8"
+ },
+ "tabBar": {
+ "color": "#282828",
+ "selectedColor": "#0122C7",
+ "borderStyle": "white",
+ "backgroundColor": "#ffffff",
+ "list": [{
+ "pagePath": "pages/oaHome/oaHome",
+ "text": "首页",
+ "iconPath": "static/tabs-icon/home.png",
+ "selectedIconPath": "static/tabs-icon/home-a.png"
+ },
+ {
+ "pagePath": "pages/oaExamine/oaExamine",
+ "text": "审批",
+ "iconPath": "static/tabs-icon/Task.png",
+ "selectedIconPath": "static/tabs-icon/Task-a.png"
+ },
+ {
+ "pagePath": "pages/oaTask/oaTask",
+ "text": "任务",
+ "iconPath": "static/tabs-icon/approval.png",
+ "selectedIconPath": "static/tabs-icon/approval-a.png"
+ },
+ // {
+ // "pagePath": "pages/oaManager/oaManager",
+ // "text": "片区经理",
+ // "iconPath": "static/tabs-icon/manager.png",
+ // "selectedIconPath": "static/tabs-icon/manager-a.png"
+ // },
+ {
+ "pagePath": "pages/business/business",
+ "text": "商机",
+ "iconPath": "static/tabs-icon/manager.png",
+ "selectedIconPath": "static/tabs-icon/manager-a.png"
+ },
+ {
+ "pagePath": "pages/oaMy/oaMy",
+ "text": "我的",
+ "iconPath": "static/tabs-icon/my.png",
+ "selectedIconPath": "static/tabs-icon/my-a.png"
+ }
+ ]
+ },
+ "uniIdRouter": {}
}
\ No newline at end of file
diff --git a/pages/business/business.vue b/pages/business/business.vue
index f943cfa..15a1b68 100644
--- a/pages/business/business.vue
+++ b/pages/business/business.vue
@@ -1,34 +1,189 @@
-
-
-
-
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+ 10
+
+
+
+
+
+ 张三
+
+
+ 张三的消息sdfksdgflkgkdfgdfkjghkjdfh g的身份和迪斯科解放和恐惧受到攻击速度来看
+
+
+
+
+ 10:58
+
+
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
diff --git a/pages/business/talkDetail.vue b/pages/business/talkDetail.vue
new file mode 100644
index 0000000..f41c76a
--- /dev/null
+++ b/pages/business/talkDetail.vue
@@ -0,0 +1,701 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.content}}
+
+
+
+
+
+
+
+
+
+ 点击预览
+
+
+
+
+
+
+
+
+ {{item.sendTime}}
+
+
+
+
+
+
+
+ {{item.content}}
+
+
+
+
+
+
+
+
+
+ 点击预览
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 图片
+
+
+
+
+ 视频
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/business/talkDetil1.nvue b/pages/business/talkDetil1.nvue
new file mode 100644
index 0000000..eb396f1
--- /dev/null
+++ b/pages/business/talkDetil1.nvue
@@ -0,0 +1,224 @@
+
+
+
+
+
+
+ 10:25
+
+
+
+
+
+
+ 是独立建国路口附近过来的疯狂进攻打法了适当放宽是独立访客
+
+
+
+
+
+
+
+
+ 是独立建国路口附近过来的疯狂进攻打法了适当放宽是独立访客
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 发送
+
+
+
+
+
+ 图片
+
+
+
+
+ 视频
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/static/img/bussness/Plus.png b/static/img/bussness/Plus.png
new file mode 100644
index 0000000..a90ff86
Binary files /dev/null and b/static/img/bussness/Plus.png differ
diff --git a/static/img/bussness/SP.png b/static/img/bussness/SP.png
new file mode 100644
index 0000000..a786f63
Binary files /dev/null and b/static/img/bussness/SP.png differ
diff --git a/static/img/bussness/XC.png b/static/img/bussness/XC.png
new file mode 100644
index 0000000..e9eba65
Binary files /dev/null and b/static/img/bussness/XC.png differ
diff --git a/utils/aa.js b/utils/aa.js
new file mode 100644
index 0000000..629a9f0
--- /dev/null
+++ b/utils/aa.js
@@ -0,0 +1,118 @@
+import {
+ httpApiTest,
+ HEADER,
+ TOKENNAME,
+} from '@/config/app';
+import {
+ Toast
+} from '../libs/uniApi';
+// import { checkLogin } from '../libs/login';
+import store from '../store';
+
+function toLogin() {
+ uni.showToast({
+ title: '请先登录',
+ icon: 'none',
+ duration: 1000
+ });
+}
+
+function baseRequestTwo(url, method, data, {
+ noAuth = false,
+ noVerify = false
+}) {
+ let Url = httpApiTest,
+ header = HEADER;
+ if (!noAuth) {
+ // 已经未登录了,禁止请求
+ if (!store.state.config.request) return Promise.reject({
+ msg: '未登录'
+ });
+ //登录过期自动登录
+ if (!store.state.app.token) {
+ toLogin();
+ store.commit("SET_REQUEST", false);
+ return Promise.reject({
+ msg: '未登录'
+ });
+ }
+ }
+
+ // if (store.state.app.token) header[TOKENNAME] = 'Bearer ' + store.state.app.token;
+ if (store.state.app.token) header[TOKENNAME] = store.state.app.token;
+
+ // header[TOKENNAME] = 'Bearer sdjflidshjgfkbdasgjmasbgvhauuiavhkesvndkaesbvkjsdbv';
+ return new Promise((reslove, reject) => {
+ // uni.showLoading({
+ // title: '加载中'
+ // })
+ uni.request({
+ // url: Url + '/api/v1' + url,
+ url: Url + '/api' + url,
+ method: method || 'GET',
+ header: {
+ ...header
+
+ },
+ data: method != 'GET' ? data || {} : {},
+ params: method == 'GET' ? data : {},
+ success: (res) => {
+ // uni.hideLoading()
+ if (noVerify)
+ // reslove(res.data, res);
+ reslove(res.data);
+ else if (res.data.code == -1) {
+ store.commit("LOGOUT");
+ store.commit("SET_REQUEST", false);
+ reject(res.data);
+ } else if (res.data.code == 0) {
+ // uni.hideLoading();
+ if (res.data.show != 1 && res.data.msg != '无登录信息') {
+ uni.showToast({
+ title: res.data.msg || '请检查网络',
+ icon: 'none',
+ })
+ }
+ reject(res.data);
+ } else if (res.data.code == 1) {
+ store.commit("SET_REQUEST");
+ reslove(res.data);
+ } else if (res.data.code == 200) {
+ store.commit("SET_REQUEST");
+ reslove(res.data.data);
+ } else if ([410000, 410001, 410002, 40000].indexOf(res.data.code) !== -1) {
+ toLogin();
+ reject(res.data);
+ } else if (res.data.code == 501) {
+ // uni.reLaunch({
+ // url: '/pages/error/index'
+ // })
+ reject(res.data);
+ } else {
+ // uni.hideLoading();
+ uni.showToast({
+ title: res.data.msg || '请检查网络',
+ icon: 'none'
+ })
+ reject(res.data.msg || '请检查网络');
+ }
+ },
+ fail: (message) => {
+ // uni.hideLoading()
+ uni.showToast({
+ title: '网络错误',
+ icon: 'none'
+ })
+ reject('请求失败');
+ }
+ })
+ });
+}
+
+const oahttp = {};
+
+['options', 'get', 'post', 'put', 'head', 'delete', 'trace', 'connect'].forEach((method) => {
+ oahttp[method] = (api, data, opt) => baseRequestTwo(api, method, data, opt || {})
+});
+
+export default oahttp;
\ No newline at end of file