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

{"version":3,"sources":["uni-app:///main.js","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/demandHall/resourcesContact/index.vue?6dee","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/demandHall/resourcesContact/index.vue?f082","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/demandHall/resourcesContact/index.vue?de5a","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/demandHall/resourcesContact/index.vue?e343","uni-app:///pages/demandHall/resourcesContact/index.vue","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/demandHall/resourcesContact/index.vue?7e31","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/demandHall/resourcesContact/index.vue?e32a"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,mH;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwCr0B;AACA,mB;;AAEA;AACA,MADA,kBACA;AACA;AACA,kBADA;AAEA,yBAFA;AAGA,uBAHA;AAIA,iBAJA;;AAMA,GARA;;AAUA,gBAVA;AAWA,WAXA;;AAaA;;;AAGA;AACA;AACA;AACA;AACA,2BADA;;AAGA;AACA;AACA,GAxBA;AAyBA;AACA,iBADA,yBACA,CADA,EACA;AACA;AACA;AACA;AACA,0CADA;;AAGA,KAPA;;AASA,aATA,qBASA,CATA,EASA;AACA;AACA;AACA,+BADA;;AAGA,KAdA;;AAgBA,WAhBA,qBAgBA;AACA;AACA,uBADA;AAEA,UAFA,CAEA;AACA;AACA;AACA,+CADA;AAEA;AACA,wBADA,GAFA;;AAKA;AACA,gDADA;;AAGA;AACA,OAbA;AAcA,KA/BA;;AAiCA,UAjCA,oBAiCA;AACA;AACA;AACA,6BADA;AAEA,sBAFA;;AAIA;AACA;;AAEA;AACA,2CADA;AAEA,6BAFA;AAGA,6BAHA;;AAKA;AACA;AACA;AACA,0BADA;AAEA,0BAFA;;AAIA;AACA;AACA,sBADA;;AAGA,WAJA,EAIA,IAJA;AAKA,SAVA,MAUA;AACA;AACA,+BADA;AAEA,wBAFA;;AAIA;AACA,OAjBA;AAkBA,KAjEA,EAzBA,E;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAupC,CAAgB,0oCAAG,EAAC,C;;;;;;;;;;;ACA3qC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/demandHall/resourcesContact/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/demandHall/resourcesContact/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=439338c0&\"\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/demandHall/resourcesContact/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=439338c0&\"","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/demandHall/contact/index.wxml-->\r\n<view class=\"contact-page\">\r\n <view class=\"company-card-box acea-row-nowrap\">\r\n <image :src=\"resourcesDetail.enterprise.enterpriseLogo\" class=\"company-logo\" mode=\"aspectFill\"></image>\r\n <view class=\"info\">\r\n <view class=\"company-name line1\">{{resourcesDetail.title}}</view>\r\n <view class=\"tags-box\">\r\n <view class=\"tag-item\">{{resourcesDetail.cname}}</view>\r\n </view>\r\n <view class=\"slogan\">{{resourcesDetail.enterprise.enterpriseName}}</view>\r\n </view>\r\n </view>\r\n <view class=\"tips acea-row row-middle\">\r\n <view class=\"t-icon\">!</view>\r\n <text>请明确您的需求!</text>\r\n </view>\r\n <!-- <view class=\"needs-list\" v-if=\"resourcesList.length > 0\">\r\n <view v-for=\"(item, index) in resourcesList\" :key=\"index\" class=\"need-item\" @tap=\"needItemClick\" :data-id=\"item.id\">\r\n <view :class=\"'n-title ' + (active == item.id ? 'n-title-a' : '') + ' acea-row row-middle'\">\r\n <view class=\"dot\"></view>\r\n <text>发送需求给企业(个人)</text>\r\n </view>\r\n <view class=\"n-title-box acea-row row-between row-middle\">\r\n <view>{{item.title}}</view>\r\n <view class=\"colO\">发布中</view>\r\n </view>\r\n <view class=\"n-tags acea-row\">\r\n <view class=\"n-tag-item\">{{item.cname}}</view>\r\n </view>\r\n </view>\r\n </view> -->\r\n <view class=\"area-box\">\r\n <textarea placeholder=\"请输入您的申请内容\" :value=\"content\" @input=\"inpChange\"></textarea>\r\n </view>\r\n <view class=\"submit-btn\" @tap=\"submit\">提交申请</view>\r\n</view>\r\n</template>\r\n\r\n<script>\r\n// pages/demandHall/contact/index.js\r\nconst app = getApp();\r\n\r\nexport default {\r\n data() {\r\n return {\r\n active: null,\r\n resourcesDetail: {},\r\n resourcesList: [],\r\n content: ''\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 console.log(options);\r\n let data = JSON.parse(decodeURIComponent(options.detail));\r\n this.setData({\r\n resourcesDetail: data\r\n });\r\n console.log(this.resourcesDetail);\r\n this.getList();\r\n },\r\n methods: {\r\n needItemClick(e) {\r\n let id = e.currentTarget.dataset.id;\r\n console.log(id);\r\n this.setData({\r\n active: e.currentTarget.dataset.id\r\n });\r\n },\r\n\r\n inpChange(e) {\r\n console.log(e);\r\n this.setData({\r\n content: e.detail.value\r\n });\r\n },\r\n\r\n getList() {\r\n app.http('post', 'Resources/listMyResourcesPublish', {\r\n resourceType: 2\r\n }).then(res => {\r\n if (res.data.success) {\r\n res.data.data.content.length > 0 ? this.setData({\r\n active: res.data.data.content[0].id\r\n }) : this.setData({\r\n active: null\r\n });\r\n this.setData({\r\n resourcesList: res.data.data.content\r\n });\r\n }\r\n });\r\n },\r\n\r\n submit() {\r\n if (this.content == '' && this.active == null) {\r\n uni.showToast({\r\n title: '请填写您的申请内容!',\r\n icon: 'none'\r\n });\r\n return;\r\n }\r\n\r\n let data = {\r\n resourceId: this.resourcesDetail.id,\r\n demandId: this.active,\r\n content: this.content\r\n };\r\n app.http('post', 'Communicate/create', data).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 uni.navigateBack({\r\n delta: 1\r\n });\r\n }, 2000);\r\n } else {\r\n uni.showToast({\r\n title: res.data.msg,\r\n icon: 'none'\r\n });\r\n }\r\n });\r\n }\r\n\r\n }\r\n};\r\n</script>\r\n<style>\r\n/* pages/demandHall/contact/index.wxss */\r\n.contact-page{\r\n width: 100%;\r\n min-height: 100vh;\r\n padding: 40rpx;\r\n background: #EFEFEF;\r\n}\r\n.company-card-box {\r\n width: 100%;\r\n height: 210rpx;\r\n padding: 30rpx 12rpx;\r\n background: #FFFFFF;\r\n box-shadow: 0rpx 6rpx 12rpx rgba(0, 0, 0, 0.16);\r\n border-radius: 12rpx;\r\n}\r\n.info{\r\n width: 70%;\r\n}\r\n.company-logo{\r\n width: 150rpx;\r\n height: 150rpx;\r\n margin-right: 20rpx;\r\n}\r\n.company-name{\r\n font-size: 36rpx;\r\n line-height: 56rpx;\r\n font-weight: 500;\r\n color: #1D1D1D;\r\n}\r\n.slogan{\r\n font-size: 24rpx;\r\n line-height: 34rpx;\r\n color: #666;\r\n margin: 4rpx 0 12rpx;\r\n}\r\n.tags-box{\r\n margin: 6rpx 0 10rpx;\r\n}\r\n.tag-item{\r\n width: 112rpx;\r\n height: 36rpx;\r\n display: inline-block;\r\n line-height: 36rpx;\r\n text-align: center;\r\n font-size: 20rpx;\r\n background: linear-gradient(314deg, #FF5100 0%, #FF8800 100%);\r\n color: #fff;\r\n border-radius: 8rpx;\r\n margin-right: 8rpx;\r\n}\r\n.tips{\r\n margin: 32rpx 0;\r\n font-size: 24rpx;\r\n color: #1D1D1D;\r\n}\r\n.t-icon{\r\n width: 28rpx;\r\n height: 28rpx;\r\n border-radius: 50%;\r\n border: 1px solid #1D1D1D;\r\n text-align: center;\r\n line-height: 25rpx;\r\n color: #1D1D1D;\r\n font-size: 24rpx;\r\n font-weight: bold;\r\n margin-right: 10rpx;\r\n}\r\n.needs-list{\r\n width: 100%;\r\n}\r\n.need-item{\r\n width: 100%;\r\n padding: 20rpx 0;\r\n background: #FFFFFF;\r\n box-shadow: 0rpx 6rpx 12rpx rgba(0, 0, 0, 0.16);\r\n border-radius: 12rpx;\r\n margin-bottom: 32rpx;\r\n}\r\n.n-title{\r\n width: 100%;\r\n padding: 18rpx 26rpx;\r\n border-bottom: 2rpx solid #E2E2E2;\r\n font-size: 24rpx;\r\n color: #979797;\r\n font-weight: 500;\r\n}\r\n.dot{\r\n width: 28rpx;\r\n height: 28rpx;\r\n border: 2rpx solid #979797;\r\n border-radius: 50%;\r\n margin-right: 6rpx;\r\n}\r\n.n-title-a .dot{\r\n position: relative;\r\n border-color: #FF7E42;\r\n}\r\n.n-title-a .dot::before{\r\n content: '';\r\n display: inline-block;\r\n width: 20rpx;\r\n height: 20rpx;\r\n border-radius: 50%;\r\n border-color: #FF7E42;\r\n background: #FF7E42;\r\n position: absolute;\r\n top: 2rpx;\r\n left: 2rpx;\r\n}\r\n.n-title-a{\r\n color: #FF7E42;\r\n}\r\n\r\n.n-title-box{\r\n padding: 0 26rpx;\r\n font-size: 28rpx;\r\n color: #1D1D1D;\r\n margin: 16rpx 0 8rpx;\r\n}\r\n.colO{\r\n color: #FF5100;\r\n font-size: 500;\r\n}\r\n.n-tags{\r\n padding: 0 26rpx;\r\n}\r\n.n-tag-item{\r\n width: auto;\r\n height: 36rpx;\r\n padding: 0 8rpx;\r\n line-height: 34rpx;\r\n text-align: center;\r\n border: 1rpx solid #FFAA00;\r\n color: #FFAA00;\r\n border-radius: 4rpx;\r\n margin-right: 8rpx;\r\n font-size: 24rpx;\r\n}\r\n.bgG{\r\n border: 1rpx solid #3A9EFA;\r\n color: #3A9EFA;\r\n}\r\n.bgO{\r\n border: 1rpx solid #FC9367;\r\n color: #FC9367;\r\n}\r\n.area-box{\r\n width: 100%;\r\n height: 900rpx;\r\n padding: 42rpx 24rpx;\r\n background: #fff;\r\n border-radius: 12rpx;\r\n}\r\n.area-box textarea{\r\n width: 100%;\r\n height: 50%;\r\n}\r\n.submit-btn{\r\n width: 240rpx;\r\n height: 88rpx;\r\n line-height: 88rpx;\r\n text-align: center;\r\n background: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);\r\n border-radius: 12rpx;\r\n font-size: 32rpx;\r\n color: #fff;\r\n /* margin: 32rpx auto; */\r\n position: absolute;\r\n bottom: 80rpx;\r\n left: 50%;\r\n margin-left: -120rpx;\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 // 1634867347984\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":""}