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
16 KiB
1 lines
16 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/demandHall/needsContact/index.vue?28aa","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/demandHall/needsContact/index.vue?37cd","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/demandHall/needsContact/index.vue?5e8d","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/demandHall/needsContact/index.vue?f880","uni-app:///pages/demandHall/needsContact/index.vue","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/demandHall/needsContact/index.vue?41b9","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/demandHall/needsContact/index.vue?b749"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,+G;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2Br0B,mB;;AAEA;AACA,MADA,kBACA;AACA;AACA,kBADA;AAEA,qBAFA;AAGA,mBAHA;AAIA,iBAJA;;AAMA,GARA;AASA,gBATA;AAUA,WAVA;;AAYA;;;AAGA;AACA;AACA;AACA;AACA,uBADA;;AAGA;AACA;AACA,GAvBA;AAwBA;AACA,iBADA,yBACA,CADA,EACA;AACA;AACA;AACA,0CADA;;AAGA,KANA;;AAQA,aARA,qBAQA,CARA,EAQA;AACA;AACA;AACA,+BADA;;AAGA,KAbA;;AAeA,WAfA,qBAeA;AACA;AACA,uBADA;AAEA,UAFA,CAEA;AACA;AACA;AACA,+CADA;AAEA;AACA,wBADA,GAFA;;AAKA;AACA,4CADA;;AAGA;AACA,OAbA;AAcA,KA9BA;;AAgCA,UAhCA,oBAgCA;AACA;AACA;AACA,6BADA;AAEA,sBAFA;;AAIA;AACA;;AAEA;AACA,uCADA;AAEA;AACA,6BAHA;;AAKA;AACA;AACA;AACA,0BADA;AAEA,0BAFA;;AAIA;AACA;AACA,sBADA;;AAGA,WAJA,EAIA,IAJA;AAKA;AACA,OAZA;AAaA,KA3DA,EAxBA,E;;;;;;;;;;;;;AC7BA;AAAA;AAAA;AAAA;AAAupC,CAAgB,0oCAAG,EAAC,C;;;;;;;;;;;ACA3qC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/demandHall/needsContact/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/demandHall/needsContact/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=c9b2a9b0&\"\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/needsContact/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=c9b2a9b0&\"","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=\"needsDetail.enterprise.enterpriseLogo\" class=\"company-logo\"></image>\r\n <view class=\"info\">\r\n <view class=\"n-title-box acea-row row-between row-middle\">\r\n <view class=\"line1\">{{needsDetail.title}}</view>\r\n </view>\r\n <view class=\"n-tags acea-row\">\r\n <view class=\"n-tag-item\">{{needsDetail.cname}}</view>\r\n </view>\r\n <view class=\"price\">需求预算<text class=\"n-title-a\">{{needsDetail.capital}}</text></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=\"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\nconst app = getApp();\r\n\r\nexport default {\r\n data() {\r\n return {\r\n active: null,\r\n needsDetail: {},\r\n needsList: [],\r\n content: ''\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 needsDetail: data\r\n });\r\n // console.log(this.needsDetail);\r\n this.getList();\r\n },\r\n methods: {\r\n needItemClick(e) {\r\n let id = e.currentTarget.dataset.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: 1\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 needsList: res.data.data.content\r\n });\r\n }\r\n });\r\n },\r\n\r\n submit() {\r\n if (this.content == '' && this.demandId == 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.needsDetail.id,\r\n // demandId: this.needsDetail.id,\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 }\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 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.price{\r\n font-size: 28rpx;\r\n color: #707070;\r\n margin-top: 20rpx;\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: 112rpx;\r\n height: 36rpx;\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 // 1634867347996\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":""} |