You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
31 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/resourcesOrder/index.vue?e08f","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/resourcesOrder/index.vue?0a23","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/resourcesOrder/index.vue?d16a","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/resourcesOrder/index.vue?4b95","uni-app:///pages/user/resourcesOrder/index.vue","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/resourcesOrder/index.vue?fe33","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/resourcesOrder/index.vue?ba02"],"names":["createPage","Page"],"mappings":"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","file":"pages/user/resourcesOrder/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/user/resourcesOrder/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=444c3507&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/user/resourcesOrder/index.vue\"\nexport default component.exports","export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=444c3507&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n<!--pages/user/resourcesOrder/index.wxml-->\r\n<view class=\"order-page\">\r\n <view class=\"tabs-box acea-row row-between\">\r\n <view :class=\"'tab ' + (tabActive == 1 ? 'tab-a' : '')\" data-i=\"1\" @tap=\"tabClick\">沟通中</view>\r\n <view :class=\"'tab ' + (tabActive == 2 ? 'tab-a' : '')\" data-i=\"2\" @tap=\"tabClick\">进行中</view>\r\n <view :class=\"'tab ' + (tabActive == 3 ? 'tab-a' : '')\" data-i=\"3\" @tap=\"tabClick\">已结束</view>\r\n </view>\r\n <view class=\"list\">\r\n <view class=\"no-list\" v-if=\"list.length == 0\">\r\n <image src=\"https://download.cyjyyjy.com/no-needs.png\"></image>\r\n <view>暂无订单</view>\r\n <view class=\"to-btn\" @tap=\"toDemandHall\">去需求广场</view>\r\n </view>\r\n <view v-for=\"(item, index) in list\" :key=\"index\" v-if=\"list.length > 0\" class=\"item\">\r\n <view class=\"number acea-row row-between row-middle\">\r\n <text v-if=\"tabActive == 1\"></text>\r\n <text v-else>项目编号 {{item.projectCode}}</text>\r\n <view class=\"status\" v-if=\"item.projectState != 5\">{{tabActive == 1 ? '沟通中' : tabActive == 2 ? '进行中' : '已结束'}}</view>\r\n <view class=\"status\" v-else>平台介入中</view>\r\n </view>\r\n <view class=\"info-box acea-row\">\r\n <image :src=\"item.resourceInfo.logo\" v-if=\"tabActive == 1\"></image>\r\n <image :src=\"item.projectResource.logo\" v-else></image>\r\n <view class=\"info\">\r\n <view class=\"i-title line1\">{{item.resourceInfo.name || item.projectResource.name}}</view>\r\n <view class=\"tag-item\" v-if=\"tabActive != 1\">{{item.cooperationMode}}</view>\r\n <view class=\"i-desc\" v-if=\"tabActive == 1\">{{item.resourceInfo.content}}</view>\r\n <view class=\"projectinfo-box\">\r\n <view class=\"acea-row row-middle\" v-if=\"tabActive != 1\">\r\n <view class=\"p-label\">项目名称:</view>\r\n <view>{{item.projectName}}</view>\r\n </view>\r\n <view class=\"acea-row row-middle line1\" v-if=\"tabActive != 1\">\r\n <view class=\"p-label\">合作方:</view>\r\n <view>{{item.partner}}</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"concat-list-box\" v-if=\"tabActive == 1\">\r\n <view class=\"open-btn acea-row row-middle\" @tap=\"openClick\" :data-idx=\"index\">\r\n <text>{{!item.open ? '展开' : '收起'}}</text> \r\n <image :class=\"'arrow-down ' + (!item.open ? '' : 'arrow-up')\" src=\"/static/images/arrow-d.png\"></image>\r\n </view>\r\n <view :class=\"'concat-list ' + (item.open ? 'list-open' : '')\">\r\n <view v-for=\"(c, index2) in item.partnerInfos\" :key=\"index2\" class=\"concat-item acea-row-nowrap row-middle row-between\" @tap=\"toApplyDetail\" :data-item=\"item\">\r\n <view class=\"acea-row row-middle\">\r\n <image :src=\"c.logo\" class=\"logo\"></image>\r\n <view class=\"name-box acea-row\">\r\n <view class=\"name acea-row row-middle line1\">\r\n <view class=\"company-name\">{{c.name}}</view>\r\n <text class=\"concat-status\" v-if=\"c.comminuteState == 1\">等待立项</text>\r\n <text class=\"concat-status\" v-if=\"c.comminuteState == 2\">等待对方确认</text>\r\n <text class=\"concat-status\" v-if=\"c.comminuteState == 3\">已立项</text>\r\n <text class=\"concat-status\" v-if=\"c.comminuteState == 4\">项目流标</text>\r\n </view>\r\n <view class=\"desc line1\">{{c.content}}</view>\r\n </view>\r\n </view>\r\n <image src=\"/static/images/home/call.png\" class=\"call\" @tap.stop=\"call\" :data-item=\"c\"></image>\r\n <view :class=\"'create-btn ' + (c.comminuteState != 1 ? 'default' : '')\" v-if=\"c.haveRight == 1\" @tap.stop=\"createProject\" :data-item=\"item\" :data-id=\"c.communicateId\" :data-comminutestate=\"c.comminuteState\">立项</view>\r\n <!-- <text class=\"concat-status\" wx:if=\"{{c.comminuteState == 2}}\" data-item=\"{{item}}\" data-id=\"{{c.communicateId}}\">等待对方确认</text>\r\n <text class=\"concat-status\" wx:if=\"{{c.comminuteState == 3}}\" data-item=\"{{item}}\" data-id=\"{{c.communicateId}}\">已立项</text>\r\n <text class=\"concat-status\" wx:if=\"{{c.comminuteState == 4}}\" data-item=\"{{item}}\" data-id=\"{{c.communicateId}}\">项目流标</text> -->\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"progress-box\" v-if=\"tabActive != 1\">\r\n <view v-for=\"(progress, index2) in item.stageResultsDtoList\" :key=\"index2\" class=\"progress-item acea-row row-between row-middle\">\r\n <view class=\"acea-row row-middle\">\r\n <image src=\"/static/images/home/progress.png\"></image>\r\n <text>{{progress.name}} ¥{{progress.money}}</text>\r\n </view>\r\n <view class=\"progress-status\" v-if=\"progress.state == 0\">未开始</view>\r\n <view class=\"progress-status\" v-if=\"progress.state == 1\">申请开启</view>\r\n <view class=\"progress-status\" v-if=\"progress.state == 2\">进行中</view>\r\n <view class=\"progress-status colorO\" v-if=\"progress.state == 3\">已结束</view>\r\n </view>\r\n </view>\r\n <view class=\"btn-box acea-row row-between row-bottom\" v-if=\"tabActive != 1\">\r\n <view class=\"start-time\" v-if=\"tabActive == 2\">{{item.examineTime}}项目开启</view>\r\n <view v-if=\"tabActive == 3\">项目已圆满结束</view>\r\n <view class=\"btns acea-row\">\r\n <view class=\"btn-item\" v-if=\"tabActive == 2 && item.deliverType == 1\" @tap=\"openNextProgress\" :data-item=\"item\">开启下阶段</view> \r\n <view class=\"btn-item\" v-if=\"tabActive == 2 && item.deliverType == 2\" @tap=\"applyDelivery\" :data-item=\"item\">申请交付</view>\r\n <view class=\"btn-item\" v-if=\"tabActive == 3\" @tap=\"toPlatform\" :data-item=\"item\">平台介入</view>\r\n </view>\r\n </view>\r\n </view>\r\n <!-- <view class=\"item\">\r\n <view class=\"number acea-row row-between row-middle\">\r\n <text>项目编号 17262626272727</text>\r\n <view class=\"status\">{{tabActive == 1 ? '沟通中' : tabActive == 2 ? '进行中' : '已结束'}}</view>\r\n </view>\r\n <view class=\"info-box acea-row row-middle\" >\r\n <image src=\"../../../images/home/company-img.png\"></image>\r\n <view class=\"info\">\r\n <view class=\"i-title line1\">教育类学校官网网站建设</view>\r\n <view class=\"tag-item\">定金尾款</view>\r\n <view class=\"i-desc\" wx:if=\"{{tabActive == 1}}\">针对中小学教育机构、课外培训辅导机构,提供官网升级优化和专业的网站建设定制化服务。</view>\r\n <view class=\"projectinfo-box\">\r\n <view class=\"acea-row row-middle\" wx:if=\"{{tabActive != 1}}\">\r\n <view class=\"p-label\">项目名称:</view>\r\n <view>武汉大学武汉大学网建设</view>\r\n </view>\r\n <view class=\"acea-row row-middle line1\" wx:if=\"{{tabActive != 1}}\">\r\n <view class=\"p-label\">合作方:</view>\r\n <view>武汉楚象科技有限公司</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"concat-list-box\" wx:if=\"{{ tabActive == 1 }}\">\r\n <view class=\"open-btn\" bindtap=\"openClick\">展开/收起</view>\r\n <view class=\"concat-list {{open ? 'list-open' : ''}}\">\r\n <view class=\"concat-item acea-row row-middle row-between\" wx:for=\"{{7}}\" wx:key=\"index\" bindtap=\"toApplyDetail\">\r\n <image src=\"../../../images/user/header.png\" class=\"logo\"></image>\r\n <view class=\"name-box acea-row\">\r\n <view class=\"name acea-row row-middle\">\r\n <view class=\"company-name line1\">武汉出牛科技科技有限公有限公司</view>\r\n <text class=\"concat-status\">未沟通</text>\r\n </view>\r\n <view class=\"desc line1\">您好,我对您发布的信息很感兴的信息很感兴趣</view>\r\n </view>\r\n <image src=\"../../../images/home/call.png\" class=\"call\"></image>\r\n <view class=\"create-btn\">立项</view>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"progress-box\" wx:if=\"{{ tabActive != 1 }}\">\r\n <view class=\"progress-item acea-row row-between row-middle\">\r\n <view class=\"acea-row row-middle\">\r\n <image src=\"../../../images/home/progress.png\"></image>\r\n <text>阶段1 定金</text>\r\n </view>\r\n <view class=\"progress-status\">已结束</view>\r\n </view>\r\n <view class=\"progress-item acea-row row-between row-middle\">\r\n <view class=\"acea-row row-middle\">\r\n <image src=\"../../../images/home/progress.png\"></image>\r\n <text>阶段2 定金</text>\r\n </view>\r\n <view class=\"progress-status\">已结束</view>\r\n </view>\r\n <view class=\"progress-item acea-row row-between row-middle\">\r\n <view class=\"acea-row row-middle\">\r\n <image src=\"../../../images/home/progress.png\"></image>\r\n <text>阶段3 尾款</text>\r\n </view>\r\n <view class=\"progress-status colorO\">已结束</view>\r\n </view>\r\n </view>\r\n <view class=\"btn-box acea-row row-between row-bottom\" wx:if=\"{{ tabActive != 1 }}\">\r\n <view class=\"start-time\" wx:if=\"{{ tabActive == 2 }}\">2021/08/31项目开启</view>\r\n <view class=\"\" wx:if=\"{{ tabActive == 3 }}\">项目已圆满结束</view>\r\n <view class=\"btns acea-row\">\r\n <view class=\"btn-item\" wx:if=\"{{ tabActive == 2 }}\">开启下阶段</view>\r\n <view class=\"btn-item default\" wx:if=\"{{ tabActive == 2 }}\">申请交付</view>\r\n <view class=\"btn-item\" wx:if=\"{{ tabActive == 3 }}\">合作反馈</view>\r\n </view>\r\n </view>\r\n </view> -->\r\n </view>\r\n</view>\r\n</template>\r\n\r\n<script>\r\n// pages/user/resourcesOrder/index.js\r\nconst app = getApp();\r\n\r\nexport default {\r\n data() {\r\n return {\r\n tabActive: 1,\r\n list: []\r\n };\r\n },\r\n\r\n components: {},\r\n props: {},\r\n\r\n /**\r\n * 生命周期函数--监听页面加载\r\n */\r\n onLoad: function (options) {},\r\n\r\n /**\r\n * 生命周期函数--监听页面初次渲染完成\r\n */\r\n onReady: function () {},\r\n\r\n /**\r\n * 生命周期函数--监听页面显示\r\n */\r\n onShow: function () {\r\n // console.log(this.data.tabActive)\r\n if (this.tabActive == 1) {\r\n this.getCommunicates();\r\n } else {\r\n this.getProjectList();\r\n }\r\n },\r\n\r\n /**\r\n * 生命周期函数--监听页面隐藏\r\n */\r\n onHide: function () {},\r\n\r\n /**\r\n * 生命周期函数--监听页面卸载\r\n */\r\n onUnload: function () {},\r\n\r\n /**\r\n * 页面相关事件处理函数--监听用户下拉动作\r\n */\r\n onPullDownRefresh: function () {\r\n if (this.tabActive == 1) {\r\n this.getCommunicates();\r\n } else {\r\n this.getProjectList();\r\n }\r\n },\r\n\r\n /**\r\n * 页面上拉触底事件的处理函数\r\n */\r\n onReachBottom: function () {},\r\n\r\n /**\r\n * 用户点击右上角分享\r\n */\r\n onShareAppMessage: function () {},\r\n methods: {\r\n toDemandHall() {\r\n uni.switchTab({\r\n url: '/pages/demandHall/index'\r\n });\r\n },\r\n\r\n tabClick(e) {\r\n let i = e.currentTarget.dataset.i;\r\n this.setData({\r\n tabActive: i\r\n });\r\n\r\n if (i == 1) {\r\n this.getCommunicates();\r\n } else {\r\n this.getProjectList();\r\n }\r\n },\r\n\r\n // 获取 沟通中\r\n getCommunicates() {\r\n app.http('get', 'Communicate/resourceCommunicates').then(res => {\r\n if (res.data.success) {\r\n if (res.data.data.length > 0) {\r\n res.data.data.map(item => {\r\n item.open = false;\r\n });\r\n res.data.data[0].open = true;\r\n }\r\n\r\n this.setData({\r\n list: res.data.data\r\n });\r\n uni.stopPullDownRefresh();\r\n }\r\n });\r\n },\r\n\r\n //获取进行中、已结束列表\r\n getProjectList() {\r\n app.http('get', 'Project/listProject', {\r\n projectState: this.tabActive - 1,\r\n projectType: 1\r\n }).then(res => {\r\n if (res.data.success) {\r\n res.data.data.map(item => {\r\n item.stageResultsDtoList.map(stage => {\r\n if (stage.state == 1) {\r\n item.showBtn = true;\r\n }\r\n });\r\n });\r\n this.setData({\r\n list: res.data.data\r\n });\r\n uni.stopPullDownRefresh();\r\n }\r\n });\r\n },\r\n\r\n // 开启下一阶段\r\n openNextProgress(e) {\r\n let item = e.currentTarget.dataset.item;\r\n console.log(item);\r\n uni.showModal({\r\n title: '提示!',\r\n content: '是否申请开启下阶段?',\r\n\r\n success(res) {\r\n if (res.confirm) {\r\n app.http('get', 'Project/applyNextStage', {\r\n projectCode: item.projectCode\r\n }).then(res => {\r\n if (res.data.success) {\r\n uni.showToast({\r\n title: '操作成功!',\r\n duration: 2000\r\n });\r\n }\r\n });\r\n }\r\n }\r\n\r\n });\r\n },\r\n\r\n //点击展开\r\n openClick(e) {\r\n let idx = e.currentTarget.dataset.idx;\r\n console.log(idx);\r\n let list = this.list;\r\n list[idx].open = !list[idx].open;\r\n this.setData({\r\n list: list\r\n });\r\n },\r\n\r\n // 跳转申请详情\r\n toApplyDetail(e) {\r\n let data = encodeURIComponent(JSON.stringify(e.currentTarget.dataset.item));\r\n uni.navigateTo({\r\n url: '/pages/demandHall/applyDetail/index?data=' + data\r\n });\r\n },\r\n\r\n //申请交付\r\n applyDelivery(e) {\r\n let item = e.currentTarget.dataset.item;\r\n uni.showModal({\r\n title: '提示',\r\n content: '是否确认提交申请交付',\r\n success: r => {\r\n if (r.confirm) {\r\n app.http('GET', 'Project/applyDeliveryProject', {\r\n projectId: item.id\r\n }).then(res => {\r\n if (res.data.success) {\r\n uni.showToast({\r\n title: '操作成功!'\r\n });\r\n }\r\n });\r\n }\r\n }\r\n });\r\n },\r\n\r\n // 拨打电话\r\n call(e) {\r\n let item = e.currentTarget.dataset.item;\r\n uni.makePhoneCall({\r\n phoneNumber: item.phone\r\n });\r\n },\r\n\r\n // 立项\r\n createProject(e) {\r\n console.log(e);\r\n let id = e.currentTarget.dataset.id,\r\n comminutestate = e.currentTarget.dataset.comminutestate;\r\n\r\n if (comminutestate == 1) {\r\n uni.showModal({\r\n title: \"提示!\",\r\n content: '是否确认立项?',\r\n\r\n success(res) {\r\n if (res.confirm) {\r\n uni.navigateTo({\r\n url: '/pages/demandHall/createProject/index?id=' + id\r\n });\r\n }\r\n }\r\n\r\n });\r\n }\r\n },\r\n\r\n // 平台介入\r\n toPlatform(e) {\r\n let code = e.currentTarget.dataset.item.projectCode;\r\n uni.navigateTo({\r\n url: '/pages/demandHall/platform/index?code=' + code\r\n });\r\n }\r\n\r\n }\r\n};\r\n</script>\r\n<style>\r\n/* pages/user/resourcesOrder/index.wxss */\r\nimage{\r\n border-radius: 8rpx;\r\n}\r\n.order-page{\r\n width: 100%;\r\n min-height: 100vh;\r\n background: #EEEEEE;\r\n}\r\n.tabs-box{\r\n width: 100%;\r\n padding: 18rpx 72rpx;\r\n background: #fff; \r\n}\r\n.tab{\r\n text-align: center;\r\n font-size: 28rpx;\r\n color: #707070;\r\n position: relative;\r\n}\r\n.tab::after{\r\n display: block;\r\n content: '';\r\n width: 100%;\r\n height: 8rpx;\r\n border-radius: 8rpx;\r\n background: #FF6D31;\r\n position: absolute;\r\n bottom: -22rpx;\r\n left: 50%;\r\n opacity: 0;\r\n transform: translateX(-50%) scaleX(0);\r\n transition: all .2s ease,opacity .15s ease;\r\n}\r\n.tab-a::after{\r\n opacity: 1;\r\n left: 0;\r\n transform: translateX(0%) scaleX(1);\r\n}\r\n.list{\r\n width: 100%;\r\n padding: 32rpx 40rpx;\r\n}\r\n.no-order{\r\n text-align: center;\r\n line-height: 50rpx;\r\n font-size: 28rpx;\r\n color: #666666;\r\n}\r\n.item{\r\n width: 100%;\r\n padding: 20rpx 20rpx 32rpx;\r\n background: #fff;\r\n border-radius: 12rpx;\r\n margin-bottom: 20rpx;\r\n}\r\n.number{\r\n margin-bottom: 24rpx;\r\n color: #666666;\r\n font-size: 28rpx;\r\n}\r\n.status{\r\n font-weight: 500;\r\n font-size: 28rpx;\r\n color: #FF5100;\r\n}\r\n.info-box image{\r\n width: 154rpx;\r\n height: 154rpx;\r\n border-radius: 8rpx;\r\n margin-right: 12rpx;\r\n}\r\n.info{\r\n width: 450rpx;\r\n font-size: 28rpx;\r\n}\r\n.i-title{\r\n font-weight: 500;\r\n line-height: 40rpx;\r\n color: #1D1D1D;\r\n}\r\n.i-desc{\r\n font-size: 24rpx;\r\n font-weight: 400;\r\n line-height: 34rpx;\r\n color: #666666;\r\n}\r\n.projectinfo-box{\r\n font-size: 24rpx;\r\n color: #1D1D1D;\r\n}\r\n.p-label{\r\n color: #666666;\r\n}\r\n.time{\r\n color: #A7A7A7;\r\n font-size: 24rpx;\r\n}\r\n.colO{\r\n font-size: 28rpx;\r\n margin: 24rpx 0 4rpx;\r\n color: #FF5100;\r\n}\r\n\r\n.tag-item{\r\n width: 114rpx;\r\n height: 36rpx;\r\n line-height: 34rpx;\r\n text-align: center;\r\n color: #FF5100;\r\n border: 2rpx solid #FF5100;\r\n background: #fff;\r\n border-radius: 4rpx;\r\n font-size: 24rpx;\r\n margin: 5rpx 0;\r\n}\r\n.open-btn{\r\n color: #FF5100;\r\n font-weight: 500;\r\n font-size: 28rpx;\r\n margin: 20rpx 0;\r\n}\r\n.arrow-down{\r\n width: 25rpx;\r\n height: 14rpx;\r\n margin-left: 12rpx;\r\n}\r\n.arrow-up{\r\n \r\n transform: rotate(180deg);\r\n}\r\n\r\n.concat-list{\r\n height: 0rpx;\r\n padding-bottom: 0rpx;\r\n margin-bottom: 0rpx;\r\n overflow:hidden;\r\n transition: height 200ms ease;\r\n}\r\n.list-open{\r\n height: 500rpx;\r\n padding-bottom: 28rpx;\r\n margin-bottom: 12rpx;\r\n overflow-y: scroll;\r\n transition: height 300ms ease;\r\n}\r\n.concat-item{\r\n width: 100%;\r\n height: 154rpx;\r\n border-top: 2px solid #EEEEEE;\r\n}\r\n.logo-box{\r\n width: 380rpx;\r\n}\r\n.logo{\r\n width: 92rpx;\r\n height: 92rpx;\r\n margin-right: 10rpx;\r\n}\r\n.call{\r\n width: 54rpx;\r\n height: 54rpx;\r\n}\r\n.name-box{\r\n width: 330rpx;\r\n font-size: 28rpx;\r\n}\r\n.concat-status{\r\n font-size: 24rpx;\r\n display: inline-block;\r\n margin-left: 2rpx;\r\n color: #FF5100;\r\n}\r\n.name{\r\n width: 100%;\r\n font-weight: 500;\r\n line-height: 40rpx;\r\n color: #1D1D1D;\r\n}\r\n.company-name{\r\n width: auto;\r\n margin-right: 10rpx;\r\n}\r\n.desc{\r\n font-size: 20rpx;\r\n color: #707070;\r\n margin-top: 16rpx;\r\n}\r\n.create-btn{\r\n width:120rpx;\r\n height: 50rpx;\r\n padding: 0 6rpx;\r\n font-size: 24rpx;\r\n background: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);\r\n border-radius: 12rpx;\r\n text-align: center;\r\n line-height: 50rpx;\r\n color: #fff;\r\n}\r\n.progress-box{\r\n margin-top: 32rpx;\r\n padding-top: 32rpx;\r\n border-top: 1px solid #EEEEEE;\r\n}\r\n.progress-item{\r\n width: 100%;\r\n height: 54rpx;\r\n background: #f8f8f8;\r\n padding: 0rpx 20rpx;\r\n font-size: 26rpx;\r\n font-weight: 500;\r\n margin-bottom: 16rpx;\r\n}\r\n.progress-item image{\r\n width: 24rpx;\r\n height: 24rpx;\r\n margin-right: 8rpx;\r\n}\r\n.colorO{\r\n color: #FF8350;\r\n}\r\n\r\n.btn-box{\r\n margin-top: 20rpx;\r\n color: #FF5100;\r\n}\r\n.btn-item{\r\n font-size: 28rpx;\r\n width: 162rpx;\r\n height: 56rpx;\r\n line-height: 56rpx;\r\n text-align: center;\r\n background: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);\r\n border-radius: 12rpx;\r\n color: #fff;\r\n margin-left: 16rpx;\r\n}\r\n.default{\r\n background: linear-gradient(134deg, #BFBFBF 0%, #BFBFBF 100%);\r\n}\r\n.btn-box .start-time{\r\n font-size: 22rpx;\r\n color: #1D1D1D;\r\n}\r\n</style>","import mod from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1634960521979\n var cssReload = require(\"D:/Program Files/HBuilderX.3.1.13.20210514/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}