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
19 KiB
1 lines
19 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/needsDetail/index.vue?5d2b","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/needsDetail/index.vue?2894","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/needsDetail/index.vue?227a","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/needsDetail/index.vue?ec3f","uni-app:///pages/demandHall/needsDetail/index.vue","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/needsDetail/index.vue?9d64","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/needsDetail/index.vue?c992"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,8G;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6Ft2B;AACA,mB;;AAEA;AACA,MADA,kBACA;AACA;AACA,qBADA;AAEA,YAFA;AAGA,gBAHA;;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,kBAnBA,4BAmBA;AACA;AACA;AACA,kCADA;AAEA,UAFA,CAEA;AACA;AACA;AACA,qEADA;;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,KAlDA;;AAoDA,cApDA,wBAoDA;AACA;AACA,sCADA;;AAGA,KAxDA,EAxDA,E;;;;;;;;;;;;;AChGA;AAAA;AAAA;AAAA;AAAqsC,CAAgB,gmCAAG,EAAC,C;;;;;;;;;;;ACAztC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/demandHall/needsDetail/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/demandHall/needsDetail/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=4695149f&\"\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/needsDetail/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=4695149f&\"","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/needsDetail/index.wxml-->\n<view class=\"needsDetail-box\">\n <view class=\"top-box\">\n <view class=\"count-down-box\">{{detail.resourceEndTime}}停止报名</view>\n <view class=\"needs-info\">\n <view class=\"info-item\">\n <view class=\"item-l\">需求标题:</view>\n <view class=\"item-r\">{{detail.title}}</view>\n </view>\n <view class=\"info-item\">\n <view class=\"item-l\">需求类型:</view>\n <view class=\"item-r\">{{detail.cname}}</view>\n </view>\n <view class=\"info-item\">\n <view class=\"item-l\">需求预算:</view>\n <view class=\"item-r\">{{detail.capital}}</view>\n </view>\n <view class=\"info-item\">\n <view class=\"item-l\">需求描述:</view>\n <view class=\"item-r\">{{detail.detailedDescription}}</view>\n </view>\n </view>\n </view>\n <view class=\"content-box\">\n <view class=\"company-info-box\" v-if=\"detail.enterprise.enterpriseType == 1\">\n <view class=\"title-box acea-row row-middle\">\n <view class=\"col-line\"></view>\n <text>发布公司</text>\n </view>\n <view class=\"company-card-box acea-row-nowrap row-middle\">\n <image :src=\"detail.enterprise.enterpriseLogo\" class=\"company-logo\" mode=\"aspectFill\"></image>\n <view class=\"info\">\n <view class=\"company-name\">{{detail.enterprise.enterpriseName}}</view>\n <view class=\"tags-box\">\n <view class=\"tag-item\">{{detail.cname}}</view>\n <!-- <view class=\"tag-item bgG\">IT软件</view> -->\n </view>\n <!-- <view class=\"slogan\">让全世界全世界牛起全世界牛起全世界牛起牛起来。</view> -->\n </view>\n </view>\n </view>\n <view class=\"company-info-box\" v-if=\"detail.enterprise.enterpriseType == 2\">\n <view class=\"title-box acea-row row-middle\">\n <view class=\"col-line\"></view>\n <text>发布人</text>\n </view>\n <view class=\"company-card-box acea-row-nowrap row-middle\">\n <image :src=\"detail.user.photo\" class=\"header-img\"></image>\n <view class=\"info\">\n <view class=\"user-name acea-row\">\n <view>{{detail.user.name}}</view>\n <image src=\"/static/images/home/cyrz.png\" v-if=\"detail.user.isAuthentication\"></image>\n <image class=\"tyg-tag\" src=\"/static/images/home/tyg.png\" v-if=\"detail.user.isVip\"></image>\n </view>\n <view class=\"slogan\">{{detail.user.address}}·{{detail.user.level}}</view>\n </view>\n </view>\n </view>\n <view class=\"add-content-box\">\n <view class=\"title-box mt40 acea-row row-middle\">\n <view class=\"col-line\"></view>\n <text>补充内容</text>\n </view>\n <view>\n <scroll-view scroll-x=\"true\" class=\"scroll-view_H\">\n <view v-for=\"(item, index) in detail.resourceImgs\" :key=\"index\" @tap=\"previewImg\">\n <image mode=\"aspectFill\" :src=\"item\"></image>\n </view>\n </scroll-view>\n <!-- <swiper class='swiper-block' autoplay='true' circular='true' previous-margin='90rpx' next-margin='90rpx' current='0' bindchange='swiperChange'>\n <block wx:key='img' wx:for='{{detail.resourceImgs}}'>\n <swiper-item class='swiper-item'>\n <image mode='aspectFill' src='{{item}}' class='slide-image {{swiperIndex == index ? \"active\" : \"\"}}' />\n </swiper-item>\n </block>\n </swiper> -->\n </view>\n </view>\n <!-- <view class=\"answer-box\">\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 <view class=\"btn-box\">\n <view class=\"contact-btn\" @tap=\"toNeedsContact\">立即报名</view>\n </view>\n</view>\n</template>\n\n<script>\n// pages/demandHall/needsDetail/index.js\nconst app = getApp();\n\nexport default {\n data() {\n return {\n isCompany: true,\n id: '',\n detail: {}\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 toNeedsContact() {\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/needsContact/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 previewImg() {\n uni.previewImage({\n urls: this.detail.resourceImgs\n });\n }\n\n }\n};\n</script>\n<style>\n/* pages/demandHall/needsDetail/index.wxss */\n.needsDetail-box{\n padding-bottom: 190rpx;\n}\n.top-box{\n width: 100%;\n padding: 0 40rpx 40rpx;\n background: linear-gradient(180deg, #FF5100 0%, #FFA782 100%);\n}\n.count-down-box{\n text-align: right;\n color: #FFFFFF;\n font-size: 24rpx;\n padding: 20rpx 0;\n}\n.needs-info{\n width: 100%;\n padding: 24rpx 20rpx;\n background: #fff;\n font-size: 28rpx;\n color: #1D1D1D;\n line-height: 34rpx;\n border-radius: 12rpx;\n}\n.info-item{\n display: flex;\n align-items: top;\n margin-bottom: 20rpx;\n}\n.item-l{\n color: #707070;\n}\n.item-r{\n width: 484rpx;\n margin-left: 16rpx;\n}\n.content-box{\n width: 100%;\n padding: 40rpx 0;\n}\n.company-info-box{\n padding: 0 40rpx;\n}\n.add-content-box{\n padding-left: 40rpx;\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\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.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.user-name{\n\n}\n.header-img{\n width: 120rpx;\n height: 120rpx;\n border-radius: 50%;\n margin-right: 20rpx;\n}\n.user-name image{\n width: 134rpx;\n height: 38rpx;\n margin-left: 12rpx;\n}\n.user-name .tyg-tag{\n width: 164rpx;\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\n.scroll-view_H{\n white-space: nowrap;\n width: 100%;\n margin-top: 28rpx;\n}\n.scroll-view_H view{\n display: inline-block;\n width: 216rpx;\n height: 216rpx;\n margin-right: 10rpx;\n}\n.scroll-view_H view image{\n width: 100%;\n height: 100%;\n border-radius: 8rpx;\n}\n\n.swiper-block {\n height: 300rpx;\n width: 100%;\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\n.answer-box{\n padding: 0 40rpx;\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 // 1635513139073\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":""} |