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
27 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/needsOrder/index.vue?0c9c","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/needsOrder/index.vue?2b92","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/needsOrder/index.vue?5132","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/needsOrder/index.vue?5d12","uni-app:///pages/user/needsOrder/index.vue","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/needsOrder/index.vue?bffe","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/needsOrder/index.vue?5d6e"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,uG;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACa;;;AAGjE;AAC+M;AAC/M,gBAAgB,uNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAizB,CAAgB,i0BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiHr0B;AACA,mB;;AAEA;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ages/user/needsOrder/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/user/needsOrder/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=26e2e30f&\"\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/needsOrder/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=26e2e30f&\"","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\" class=\"item\" v-if=\"tabActive == 1\">\r\n <view class=\"needs-info-box\">\r\n <view class=\"n-title-box acea-row row-between\">\r\n <view>{{item.resourceInfo.name}}</view>\r\n <!-- <view class=\"status\" wx:if=\"{{item.comminuteState == 3}}\">项目已成立</view> -->\r\n </view>\r\n <view class=\"n-price\">需求预算 <text class=\"colO\">{{item.resourceInfo.budget}}</text></view>\r\n <view class=\"n-desc\">{{item.resourceInfo.content}}</view>\r\n </view>\r\n <view class=\"concat-list-box\">\r\n <!-- <view class=\"open-btn acea-row row-middle\" bindtap=\"openClick\" data-idx=\"{{index}}\">\r\n <text>{{!item.open ? '展开' : '收起'}}</text> \r\n <image class=\"arrow-down {{!item.open ? '' : 'arrow-up'}}\" src=\"../../../images/arrow-d.png\"></image>\r\n </view> -->\r\n <!-- <view class=\"concat-list {{item.open ? 'list-open' : ''}}\" > -->\r\n <view v-for=\"(info, index2) in item.partnerInfos\" :key=\"index2\" class=\"info-item\">\r\n <view class=\" acea-row row-middle\">\r\n <image :src=\"info.logo\"></image>\r\n <view class=\"info2\">\r\n <view class=\"projectinfo-box acea-row-nowrap row-between\">\r\n <view class=\"acea-row row-middle line1\">\r\n <view class=\"p-label\">合作方:</view>\r\n <view>{{info.name}}</view>\r\n </view>\r\n <view class=\"status\" v-if=\"info.comminuteState == 1\">已申请</view>\r\n <view class=\"status\" v-if=\"info.comminuteState == 2\">等待立项</view>\r\n <view class=\"status\" v-if=\"info.comminuteState == 3\">项目成立中</view>\r\n <view class=\"status\" v-if=\"info.comminuteState == 4\">已取消立项</view>\r\n </view>\r\n <!-- <view cl哦ass=\"tag-item\" wx:if=\"{{info.comminuteState == 1}}\">{{info.cooperationMode}}</view> -->\r\n </view>\r\n </view>\r\n <view class=\"btn-box acea-row row-between row-middle\">\r\n <view class=\"start-time\">{{info.createTime}}项目开启</view>\r\n <view class=\"btns acea-row\">\r\n <view class=\"btn-item\" v-if=\"info.comminuteState == 1\" @tap=\"cancelCommunicate\" :data-info=\"info\">取消沟通</view>\r\n <view class=\"btn-item\" v-if=\"info.comminuteState == 2 || info.comminuteState == 3\" @tap=\"toCreateProject\" :data-item=\"info\">查看立项书</view>\r\n <view class=\"btn-item\" v-if=\"info.comminuteState == 2\" @tap=\"confirm\" :data-item=\"item\" :data-id=\"info.communicateId\">确认立项</view>\r\n <view class=\"btn-item default\" v-if=\"info.comminuteState == 2\" @tap=\"cancelProject\" :data-item=\"item\" :data-id=\"info.communicateId\">取消立项</view>\r\n </view>\r\n </view>\r\n </view>\r\n <!-- </view> -->\r\n </view>\r\n </view>\r\n <view v-for=\"(item, index) in list\" :key=\"index\" class=\"item\" v-if=\"tabActive != 1\">\r\n <view class=\"number acea-row row-between row-middle\">\r\n <text>项目编号 {{item.projectCode}}</text>\r\n <!-- <view class=\"status\">{{tabActive == 2 ? '进行中' : '已结束'}}</view> -->\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 row-middle\">\r\n <image :src=\"item.projectResource.logo\"></image>\r\n <view class=\"info\">\r\n <view class=\"i-title line1\">{{item.resourcesDto.title || item.projectResource.name}}</view>\r\n <view class=\"tag-item\">{{item.cooperationMode}}</view>\r\n <view class=\"i-desc\" v-if=\"tabActive == 1\">{{item.resourcesDto.detailedDescription}}</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=\"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.nextStageFlag\" @tap=\"agreenOpen\" :data-item=\"item\">同意开启</view>\r\n <view class=\"btn-item\" v-if=\"tabActive == 2 && item.deliveryFlag\" @tap=\"deliveryProject\" :data-item=\"item\">同意交付</view>\r\n <view class=\"btn-item\" v-if=\"tabActive == 2\" @tap=\"toPlatform\" :data-item=\"item\">平台介入</view>\r\n \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/needsOrder/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 this.getCommunicates();\r\n },\r\n\r\n /**\r\n * 生命周期函数--监听页面初次渲染完成\r\n */\r\n onReady: function () {},\r\n\r\n /**\r\n * 生命周期函数--监听页面显示\r\n */\r\n onShow: function () {// this.getCommunicates()\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/demandCommunicates').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 console.log(res.data.data);\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 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 getProjectList() {\r\n app.http('get', 'Project/listProject', {\r\n projectState: this.tabActive - 1,\r\n projectType: 2\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 agreenOpen(e) {\r\n let item = e.currentTarget.dataset.item;\r\n console.log(item);\r\n const stage = item.stageResultsDtoList.filter(item => {\r\n return item.state == 1;\r\n });\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/startNextStage', {\r\n stageResultId: stage[0].id\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 this.getProjectList();\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 cancelCommunicate(e) {\r\n let info = e.currentTarget.dataset.info;\r\n console.log(info);\r\n let that = this;\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', 'Communicate/cancelCommunicates', {\r\n communicateId: info.communicateId\r\n }).then(res => {\r\n if (res.data.success) {\r\n uni.showToast({\r\n title: '操作成功!',\r\n duration: 1500\r\n });\r\n setTimeout(() => {\r\n that.getCommunicates();\r\n }, 1500);\r\n }\r\n });\r\n }\r\n }\r\n\r\n });\r\n },\r\n\r\n //查看立项书\r\n toCreateProject(e) {\r\n let item = e.currentTarget.dataset.item;\r\n uni.navigateTo({\r\n url: '/pages/demandHall/createProject/index?state=' + item.comminuteState + '&id=' + item.communicateId\r\n });\r\n },\r\n\r\n confirm(e) {\r\n let item = e.currentTarget.dataset.item;\r\n let communicateId = e.currentTarget.dataset.id;\r\n let that = this;\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', 'Communicate/aggreProject', {\r\n projectId: item.partnerInfos[0].projectId\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 setTimeout(() => {\r\n that.getCommunicates();\r\n }, 2000);\r\n }\r\n });\r\n }\r\n }\r\n\r\n });\r\n },\r\n\r\n cancelProject(e) {\r\n let item = e.currentTarget.dataset.item;\r\n let communicateId = e.currentTarget.dataset.id;\r\n let that = this;\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('post', 'Communicate/cancelProject', {\r\n communicateId: communicateId,\r\n partnerInfos: item.partnerInfos\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 that.getCommunicates();\r\n }\r\n });\r\n }\r\n }\r\n\r\n });\r\n },\r\n\r\n //同意交付\r\n deliveryProject(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/deliveryProject', {\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 this.getProjectList();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }\r\n\r\n }\r\n};\r\n</script>\r\n<style>\r\n/* pages/user/needsOrder/index.wxss */\r\n@import \"../resourcesOrder/index.css\";\r\n\r\n.needs-info-box{\r\n border: none !important;\r\n}\r\n.info2{\r\n width: calc(100% - 120rpx);\r\n}\r\n.info-item image{\r\n width: 90rpx;\r\n height: 90rpx;\r\n margin-right: 24rpx;\r\n}\r\n.info-item{\r\n font-size: 24rpx;\r\n border-top: 2rpx solid #F0F0F0;\r\n padding: 20rpx 0;\r\n}\r\n.projectinfo-box{\r\n font-size: 26rpx;\r\n margin: 2rpx 0;\r\n}\r\n.tag-item{\r\n /* transform: scale(0.8); */\r\n margin: 0;\r\n}\r\n\r\n.needs-info-box{\r\n /* padding-bottom: 22rpx; */\r\n border-bottom: 2rpx solid #F0F0F0;\r\n margin-bottom: 22rpx;\r\n}\r\n.n-title{\r\n color: #1D1D1D;\r\n font-size: 32rpx;\r\n line-height: 44rpx;\r\n}\r\n.n-price{\r\n color: #707070;\r\n font-size: 28rpx;\r\n margin: 8rpx 0;\r\n}\r\n.n-desc{\r\n font-size: 24rpx;\r\n line-height: 34rpx;\r\n color: #333333;\r\n}\r\n.btn-box{\r\n margin-top: 10rpx;\r\n}\r\n.btn-item {\r\n font-size: 24rpx;\r\n width: 130rpx;\r\n height: 50rpx;\r\n line-height: 50rpx;\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: 8rpx;\r\n}\r\n.status {\r\n min-width: 150rpx;\r\n text-align: right;\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 // 1634960524160\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":""}