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:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/resourcesDetail/index.vue?b60e","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/resourcesDetail/index.vue?8639","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/resourcesDetail/index.vue?af7d","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/resourcesDetail/index.vue?3bff","uni-app:///pages/demandHall/resourcesDetail/index.vue","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/resourcesDetail/index.vue?6efa","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/resourcesDetail/index.vue?0efa"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,kH;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACa;;;AAGjE;AACmN;AACnN,gBAAgB,iNAAU;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;AAAk1B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkEt2B;AACA,mB;;AAEA;AACA,MADA,kBACA;AACA;AACA,YADA;AAEA,gBAFA;AAGA,oBAHA;;AAKA,GAPA;;AASA,gBATA;AAUA,WAVA;;AAYA;;;AAGA;AACA;AACA,oBADA;;AAGA;AACA,GApBA;;AAsBA;;;AAGA,gCAzBA;;AA2BA;;;AAGA,8BA9BA;;AAgCA;;;AAGA,8BAnCA;;AAqCA;;;AAGA,kCAxCA;;AA0CA;;;AAGA,oDA7CA;;AA+CA;;;AAGA,4CAlDA;;AAoDA;;;AAGA,oDAvDA;AAwDA;AACA,mBADA,6BACA;AACA;AACA,oFADA;;AAGA,KALA;;AAOA,aAPA,uBAOA;AACA;AACA,mBADA;AAEA,UAFA,CAEA;AACA;AACA;AACA,iCADA;;AAGA;AACA,OARA;AASA,KAjBA;;AAmBA;AACA,sBApBA,8BAoBA,CApBA,EAoBA;AACA;AACA;AACA,kCADA;AAEA,UAFA,CAEA;AACA;AACA;AACA,yEADA;;AAGA,SAJA,MAIA;AACA;AACA;AACA,yBADA;AAEA,mCAFA;AAGA;AACA;AACA;AACA,+CADA;;AAGA;AACA,eATA;;AAWA,WAZA,MAYA;AACA;AACA,iCADA;AAEA,0BAFA;AAGA,4BAHA;;AAKA;AACA;AACA,OA5BA;AA6BA,KAnDA;;AAqDA,gBArDA,wBAqDA,CArDA,EAqDA;AACA;AACA;AACA,qCADA;;AAGA,KA1DA;;AA4DA,cA5DA,wBA4DA;AACA;AACA,sCADA;;AAGA,KAhEA,EAxDA,E;;;;;;;;;;;;;ACrEA;AAAA;AAAA;AAAA;AAAqsC,CAAgB,gmCAAG,EAAC,C;;;;;;;;;;;ACAztC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/demandHall/resourcesDetail/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/demandHall/resourcesDetail/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=0ef06d27&\"\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 \"!../../../../../../../../Applications/HBuilderX.app/Contents/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/resourcesDetail/index.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=0ef06d27&\"","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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\n<!--pages/demandHall/resourcesDetail/index.wxml-->\n<view class=\"resourcesDetail-page\">\n <view class=\"img-box\">\n <image :src=\"detail.resourceImgs[0]\" mode=\"aspectFill\"></image>\n </view>\n <view class=\"detail-box\">\n <view class=\"r-name\">{{detail.title}}</view>\n <view class=\"tag\">{{detail.cname}}</view>\n <view class=\"title-box acea-row row-middle\">\n <view class=\"col-line\"></view>\n <text>基本信息</text>\n </view>\n <view class=\"info-box\">\n <view class=\"info-item acea-row-nowrap\">\n <view class=\"label\">标题</view>\n <view class=\"colG\">{{detail.title}}</view>\n </view>\n <view class=\"info-item acea-row-nowrap\">\n <view class=\"label\">资金需求</view>\n <view class=\"colG\">{{detail.capital}}</view>\n </view>\n </view>\n <view class=\"title-box mt40 acea-row row-middle\">\n <view class=\"col-line\"></view>\n <text>发布信息</text>\n </view>\n <view class=\"company-card-box acea-row-nowrap\" @tap=\"toCompanyDetail\">\n <image :src=\"detail.enterprise.enterpriseLogo\" class=\"company-logo\" mode=\"aspectFill\"></image>\n <view class=\"info\">\n <view class=\"company-name line1\">{{detail.enterprise.enterpriseName}}</view>\n <view class=\"tags-box\">\n <!-- <view class=\"tag-item\">网站建设</view> -->\n <view class=\"tag-item bgG\">{{detail.cname}}</view>\n </view>\n <view class=\"slogan\">{{detail.enterprise.enterpriseTitle}}</view>\n </view>\n </view>\n <view class=\"title-box mt40 acea-row row-middle\">\n <view class=\"col-line\"></view>\n <text>详细描述</text>\n </view>\n <view class=\"desc-box\">\n <text>{{detail.detailedDescription}}</text>\n </view>\n <view class=\"title-box mt40 acea-row row-middle\">\n <view class=\"col-line\"></view>\n <text>补充内容</text>\n </view>\n </view>\n <view>\n <swiper class=\"swiper-block\" autoplay=\"true\" circular=\"true\" previous-margin=\"90rpx\" next-margin=\"90rpx\" current=\"0\" @change=\"swiperChange\">\n <block v-for=\"(item, index) in detail.resourceImgs\" :key=\"index\">\n <swiper-item class=\"swiper-item\" @tap=\"previewImg\">\n <image mode=\"aspectFill\" :src=\"item\" :class=\"'slide-image ' + (swiperIndex == index ? 'active' : '')\"></image>\n </swiper-item>\n </block>\n </swiper>\n </view>\n <view class=\"btn-box\">\n <view class=\"contact-btn\" @tap=\"toResourcesContact\">立即沟通</view>\n </view>\n</view>\n</template>\n\n<script>\n// pages/demandHall/resourcesDetail/index.js\nconst app = getApp();\n\nexport default {\n data() {\n return {\n id: '',\n detail: {},\n swiperIndex: 0\n };\n },\n\n components: {},\n props: {},\n\n /**\n * 生命周期函数--监听页面加载\n */\n onLoad: function (options) {\n this.setData({\n id: options.id\n });\n this.getDetail();\n },\n\n /**\n * 生命周期函数--监听页面初次渲染完成\n */\n onReady: function () {},\n\n /**\n * 生命周期函数--监听页面显示\n */\n onShow: function () {},\n\n /**\n * 生命周期函数--监听页面隐藏\n */\n onHide: function () {},\n\n /**\n * 生命周期函数--监听页面卸载\n */\n onUnload: function () {},\n\n /**\n * 页面相关事件处理函数--监听用户下拉动作\n */\n onPullDownRefresh: function () {},\n\n /**\n * 页面上拉触底事件的处理函数\n */\n onReachBottom: function () {},\n\n /**\n * 用户点击右上角分享\n */\n onShareAppMessage: function () {},\n methods: {\n toCompanyDetail() {\n uni.navigateTo({\n url: '/pages/demandHall/companyDetail/index?id=' + this.detail.enterprise.id\n });\n },\n\n getDetail() {\n app.http('get', 'Resources/resourceInfo', {\n id: this.id\n }).then(res => {\n if (res.data.success) {\n this.setData({\n detail: res.data.data\n });\n }\n });\n },\n\n // 立即沟通\n toResourcesContact(e) {\n let str = encodeURIComponent(JSON.stringify(this.detail));\n app.http('GET', 'Communicate/checkOwner', {\n resourceId: this.detail.id\n }).then(res => {\n if (res.data.success) {\n uni.navigateTo({\n url: '/pages/demandHall/resourcesContact/index?detail=' + str\n });\n } else {\n if (res.data.status == '5112') {\n uni.showModal({\n title: '提示',\n content: res.data.msg,\n success: response => {\n if (response.confirm) {\n uni.navigateTo({\n url: '/pages/release/index'\n });\n }\n }\n });\n } else {\n uni.showToast({\n title: res.data.msg,\n icon: 'none',\n duration: 2000\n });\n }\n }\n });\n },\n\n swiperChange(e) {\n const that = this;\n that.setData({\n swiperIndex: e.detail.current\n });\n },\n\n previewImg() {\n uni.previewImage({\n urls: this.detail.resourceImgs\n });\n }\n\n }\n};\n</script>\n<style>\n/* pages/demandHall/resourcesDetail/index.wxss */\n.resourcesDetail-page{\n padding-bottom: 150rpx;\n position: relative;\n}\n.btn-box{\n width: 100%;\n height: 150rpx;\n line-height: 150rpx;\n align-self: center;\n background: #fff;\n border-top: 1rpx solid #ececec;\n text-align: right;\n padding-right: 52rpx;\n position: fixed;\n bottom: 0;\n}\n.contact-btn{\n display: inline-block;\n width: 240rpx;\n height: 88rpx;\n text-align: center;\n line-height: 88rpx;\n background: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);\n border-radius: 12rpx;\n font-size: 32rpx;\n color: #fff;\n}\n.img-box{\n width: 100%;\n height: 392rpx;\n}\n.img-box image{\n width: 100%;\n height: 100%;\n}\n.detail-box{\n padding: 34rpx 40rpx;\n}\n.r-name{\n font-size: 40rpx;\n line-height: 56rpx;\n color: #1D1D1D;\n}\n.tag{\n width: 216rpx;\n height: 48rpx;\n line-height: 48rpx;\n text-align: center;\n font-size: 24rpx;\n color: #fff;\n background: linear-gradient(314deg, #FF5100 0%, #FF8800 100%);\n border-radius: 8rpx;\n margin: 16rpx 0;\n}\n.col-line{\n width: 8rpx;\n height: 36rpx;\n background: #FF7942;\n border-radius: 4rpx;\n margin-right: 14rpx;\n}\n.info-item{\n margin-top: 20rpx;\n font-size: 28rpx;\n line-height: 40rpx;\n color: #1D1D1D;\n}\n.label{\n width: 144rpx;\n}\n.colG{\n font-size: 28rpx;\n line-height: 40rpx;\n color: #707070;\n margin-left: 20rpx;\n}\n.mt40{\n margin-top: 40rpx;\n}\n.company-card-box {\n padding: 30rpx 12rpx;\n margin-top: 34rpx;\n box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);\n}\n.company-logo{\n width: 150rpx;\n height: 150rpx;\n margin-right: 20rpx;\n border-radius: 8rpx;\n}\n.info{\n width: 70%;\n}\n.company-name{\n font-size: 32rpx;\n line-height: 44rpx;\n}\n.slogan{\n font-size: 24rpx;\n line-height: 34rpx;\n color: #666;\n margin: 4rpx 0 12rpx;\n}\n.tags-box{\n margin: 6rpx 0 10rpx;\n}\n.tag-item{\n width: 112rpx;\n height: 36rpx;\n display: inline-block;\n line-height: 36rpx;\n text-align: center;\n font-size: 20rpx;\n background: linear-gradient(312deg, #FFB788 0%, #F9C8A7 100%);\n color: #fff;\n border-radius: 4rpx;\n margin-right: 8rpx;\n}\n.bgG{\n background: linear-gradient(134deg, #AEC8F6 0%, #76A6FA 100%);\n}\n.desc-box{\n /* padding: 0rpx 40rpx; */\n margin-top: 34rpx;\n}\n.desc-box text{\n font-size: 28rpx;\n color: #707070;\n line-height: 40rpx;\n}\n\n.swiper-block {\n height: 300rpx;\n width: 100%;\n}\n \n.swiper-item {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n overflow: unset;\n}\n.slide-image {\n height: 250rpx;\n width: 520rpx;\n border-radius: 9rpx;\n margin: 0rpx 30rpx;\n z-index: 1;\n}\n.active {\n transform: scale(1.14);\n transition: all 0.2s ease-in 0s;\n z-index: 20;\n}\n</style>","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 // 1635513139060\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""}