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
31 KiB
1 lines
31 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/index.vue?24c5","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/index.vue?a21c","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/index.vue?20b5","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/index.vue?9728","uni-app:///pages/demandHall/index.vue","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/index.vue?1983","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/demandHall/index.vue?5ee6"],"names":["createPage","Page"],"mappings":"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","file":"pages/demandHall/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/demandHall/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=762bd5c0&\"\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/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=762bd5c0&\"","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<view class=\"dmandhall-page\">\n <view class=\"top-box acea-row row-between-wrapper\">\n <view class=\"top-l-box acea-row\">\n <view :class=\"'tab-item ' + (active == 1 ? 'tab-item-a' : '')\" data-i=\"1\" @tap=\"topTabClick\">资源供应</view>\n <view :class=\"'tab-item ' + (active == 2 ? 'tab-item-a' : '')\" data-i=\"2\" @tap=\"topTabClick\">需求广场</view>\n </view>\n <view class=\"top-r-box acea-row\">\n <!-- <image src=\"../../images/home/search2.png\"></image> -->\n <!-- <image src=\"../../images/home/message2.png\"></image> -->\n </view>\n\t\t<view class=\"resource-tabs acea-row row-around\">\n\t\t <view :class=\"'tab ' + (tabActive == 1 ? 'tab-a' : '')\" data-i=\"1\" @tap=\"tabClick\">资源列表</view>\n\t\t <view :class=\"'tab ' + (tabActive == 2 ? 'tab-a' : '')\" data-i=\"2\" @tap=\"tabClick\">企业列表</view>\n\t\t</view>\n\t\t<view class=\"screen-box acea-row row-between-wrapper\">\n\t\t <view class=\"screen-result\">\n\t\t {{choseCagetory}}\n\t\t <text v-if=\"choseCagetory != '' && choseBusiness != ''\">-</text>\n\t\t {{choseBusiness}}\n\t\t </view>\n\t\t <view class=\"screen acea-row row-middle\" @tap=\"showDialog\">\n\t\t <text>筛选</text>\n\t\t <image src=\"/static/images/home/screen.png\"></image>\n\t\t </view>\n\t\t</view>\n </view>\n <!-- 资源供应 -->\n <view class=\"resource-box\" v-if=\"active == 1\">\n <view class=\"resource-list\">\n <view v-for=\"(item, index) in list\" :key=\"index\" class=\"resource-item acea-row-nowrap\" @tap=\"toResourceDetail\" :data-id=\"item.id\" v-if=\"tabActive == 1\">\n <view class=\"logo-box\">\n <image :src=\"item.resourceImgs[0]\" mode=\"aspectFill\"></image>\n </view>\n <view class=\"resource-info\">\n <view class=\"title\">{{item.title}}</view>\n <view class=\"tags-box\">\n <view class=\"tag-item\">{{item.cname}}</view>\n </view>\n <view class=\"desc line1\">{{item.detailedDescription}}</view>\n <view class=\"price\">¥{{item.capital}}</view>\n <view class=\"company-info\">\n\t\t\t\t\t\t<!-- {{item.enterpriseName}} -->\n <text class=\"line1\">{{item.enterpriseName}}</text>\n <!-- <text>武汉</text> -->\n </view>\n <view class=\"toMore-btn\">了解详情</view>\n </view>\n </view>\n <view v-for=\"(item, index) in companyList\" :key=\"index\" class=\"resource-item acea-row-nowrap\" v-if=\"tabActive == 2\" @tap=\"toCompanyDetail\" :data-id=\"item.id\">\n <view class=\"logo-box\">\n <view :class=\"'tips-item ' + (item.enterpriseType == 2 ? 'bg2' : '' )\">{{item.enterpriseType == 1 ? '企业' : '个人'}}</view>\n <image :src=\"item.enterpriseLogo\" mode=\"aspectFill\"></image>\n </view>\n <view class=\"resource-info\">\n <view class=\"title line1\">{{item.enterpriseName}}</view>\n <view class=\"tags-box\">\n <view class=\"tag-item\">{{item.cname}}</view>\n <!-- <view class=\"tag-item bgG\">IT软件</view>\n <view class=\"tag-item bgO\">APP开发</view> -->\n </view>\n <view class=\"desc line2\" v-if=\"item.enterpriseType == 1\">{{item.enterpriseTitle}}</view>\n <view class=\"anli-list acea-row row-between\">\n <view class=\"anli-item acea-row\">\n <image v-for=\"(item, index2) in item.imgPaths\" :key=\"index2\" mode=\"aspectFill\" :src=\"item\" v-if=\"index2 < 2\"></image>\n <!-- <text>购物商城优秀资源</text> -->\n </view>\n <!-- <view class=\"anli-item acea-row row-column\">\n <image src=\"../../images/home/item-bg.png\"></image>\n <text>购物商城优秀资源</text>\n </view> -->\n </view>\n <!-- <view class=\"comment\">“非常有责任心” , “老板阅历和经验很丰富”,“很好”</view> -->\n </view>\n </view>\n <!-- <view class=\"resource-item acea-row-nowrap\" wx:if=\"{{tabActive == 2}}\" bindtap=\"toCompanyDetail\" wx:for=\"{{companyList}}\" wx:key=\"index\">\n <image src=\"../../images/home/company-img.png\"></image>\n <view class=\"resource-info\">\n <view class=\"title\">出牛科技</view>\n <view class=\"tags-box\">\n <view class=\"tag-item\">网站建设</view>\n <view class=\"tag-item bgG\">IT软件</view>\n <view class=\"tag-item bgO\">APP开发</view>\n </view>\n <view class=\"desc line2\">专注微信小程序及微信公众号开发,模板定制化服务,十年经...</view>\n <view class=\"anli-list acea-row row-between\">\n <view class=\"anli-item acea-row row-column\">\n <image mode=\"aspectFill\" src=\"../../images/home/company-img.png\"></image>\n <text>购物商城优秀资源</text>\n </view>\n <view class=\"anli-item acea-row row-column\">\n <image mode=\"aspectFill\" src=\"../../images/home/item-bg.png\"></image>\n <text>购物商城优秀资源</text>\n </view>\n </view>\n <view class=\"comment\">“非常有责任心” , “老板阅历和经验很丰富”,“很好”</view>\n </view>\n </view> -->\n </view>\n\t\t<view class=\"no-more\">\n\t\t\t{{loading ? '加载更多...' : '没有更多啦...'}}\n\t\t</view>\n </view>\n <!-- 需求 -->\n <view class=\"company-list-box\" v-if=\"active == 2\">\n <view class=\"screen-box acea-row row-between-wrapper\">\n <!-- <view class=\"screen-result\">IT软件 · 企业网站</view> -->\n <view class=\"screen-result\"> </view>\n <view class=\"screen acea-row row-middle\" @tap=\"showDialog\">\n <text>筛选</text>\n <image src=\"/static/images/home/screen.png\"></image>\n </view>\n </view>\n <view class=\"company-list\">\n <view v-for=\"(item, index) in list\" :key=\"index\" class=\"company-item\" :data-id=\"item.id\" @tap=\"toNeedsDetail\">\n <view class=\"title-box acea-row row-between\">\n <view class=\"title line1\">{{item.title}}</view>\n <view class=\"price\">{{item.capital}}</view>\n </view>\n <view class=\"tags-box\">\n <view class=\"tag-item\">{{item.cname}}</view>\n </view>\n <view class=\"desc line2\">{{item.detailedDescription}}</view>\n <view class=\"btn-box acea-row row-between row-middle\">\n <view class=\"end-time\">{{item.resourceEndTime}}截止报名</view>\n <view class=\"toMore-btn\">了解详情</view>\n </view>\n </view>\n </view>\n </view>\n <view class=\"mask-box\" v-if=\"showScreenDialog\">\n <view :class=\"'screen-dialog-box ' + (showScreenDialog ? 'move' : '')\">\n <view class=\"screen-list\">\n <view class=\"screen-item\">\n <view class=\"screen-title\">所有服务</view>\n <view class=\"acea-row\">\n <view v-for=\"(item, index) in cagetoryList\" :key=\"index\" :class=\"'item ' + (cagetoryActive == index ? 'item-active' : '')\" @tap=\"cagetoryClick\" :data-i=\"index\" :data-item=\"item\">{{item.cagetoryName}}</view>\n </view>\n </view>\n <!-- <view class=\"screen-item\">\n <view class=\"screen-title\">主题</view>\n <view class=\"acea-row\">\n <view class=\"item\" wx:for=\"{{9}}\" wx:key=\"index\">网站开发</view>\n </view>\n </view> -->\n <!-- <view class=\"screen-item\">\n <view class=\"screen-title\">选择城市</view>\n <view class=\"acea-row\">\n <view class=\"item\" wx:for=\"{{5}}\" wx:key=\"index\">武汉</view>\n </view>\n </view> -->\n <!-- <view class=\"screen-item\">\n <view class=\"screen-title\">区间价格</view>\n <view class=\"price-box acea-row row-middle\">\n <view class=\"low-price\"><input type=\"text\" placeholder=\"最低价\" /></view>\n <view class=\"across-line\"></view>\n <view class=\"low-price\"><input type=\"text\" placeholder=\"最高价\" /></view>\n </view>\n </view> -->\n <view class=\"screen-item\">\n <view class=\"screen-title\">商家身份<text class=\"fz20\">(所有商家均实名认证)</text></view>\n <view class=\"acea-row\">\n <view :class=\"'item ' + (enterpriseType == 2 ? 'item-active' : '')\" @tap=\"businessChange\" data-name=\"个人认证\" data-type=\"2\">个人认证</view>\n <view :class=\"'item ' + (enterpriseType == 1 ? 'item-active' : '')\" @tap=\"businessChange\" data-name=\"企业认证\" data-type=\"1\">企业认证</view>\n </view>\n </view>\n <view class=\"submit-box acea-row\">\n <view class=\"btn reset\" @tap=\"resetClick\">重置</view>\n <view class=\"btn finish\" @tap=\"finishClick\">完成</view>\n </view>\n </view>\n </view>\n </view>\n <tabbar :current=\"currentTabIndex\" @click=\"tabBarClick\"></tabbar>\n</view>\n</template>\n\n<script>\n// pages/demandHall/index.js\nconst app = getApp();\nimport tabbar from \"../../tabbarComponent/tabbar\";\n\nexport default {\n data() {\n return {\n tabbar: {},\n active: '1',\n // 1资源供应,2需求广场\n tabActive: '1',\n // 1资源列表,2企业列表\n list: [],\n showScreenDialog: false,\n companyList: [],\n pageSize: 5,\n pageNumber: 0,\n loading: true,\n //是否加载更多\n cagetoryList: [],\n // 分类列表\n enterpriseType: '',\n //筛选企业/个人\n resourceCagetoryId: '',\n //筛选分类\n choseCagetory: '',\n choseBusiness: '',\n cagetoryActive: \"\",\n size: 0,\n cName: \"\",\n\t\t\tcurrentTabIndex: 1,\n };\n },\n\n components: {\n tabbar\n },\n props: {},\n\n /**\n * 生命周期函数--监听页面加载\n */\n onLoad: function (options) {\n this.getCagetoryList();\n },\n\n /**\n * 页面上拉触底事件的处理函数\n */\n onReachBottom: function () {\n this.setData({\n pageNumber: this.pageNumber + 1\n });\n this.getPageData();\n },\n\n /**\n * 生命周期函数--监听页面显示\n */\n onShow: function () {\n this.getPageData();\n },\n\n /**\n * 页面相关事件处理函数--监听用户下拉动作\n */\n onPullDownRefresh: function () {\n\t\tthis.setData({\n\t\t loading: true,\n\t\t pageNumber: 0,\n\t\t});\n\t\t\n this.getPageData();\n },\n methods: {\n\t\ttabBarClick(index){\n\t\t\tconsole.log('返回tabBar索引:' + index)\n\t\t\tthis.currentTabIndex = index\n\t\t},\n topTabClick(e) {\n this.setData({\n active: e.currentTarget.dataset.i,\n loading: true,\n pageNumber: 1,\n list: [],\n enterpriseType: '',\n cagetoryActive: null,\n resourceCagetoryId: ''\n });\n this.getPageData();\n },\n\n tabClick(e) {\n this.setData({\n tabActive: e.currentTarget.dataset.i,\n loading: true,\n pageNumber: 0,\n pageSize: 5,\n // enterpriseType: '',\n cagetoryActive: null // resourceCagetoryId:''\n\n });\n\n if (e.currentTarget.dataset.i == 2) {\n this.getCompanyList();\n } else {\n this.getPageData();\n }\n },\n\n showDialog() {\n this.setData({\n showScreenDialog: true\n });\n },\n\n toResourceDetail(e) {\n let id = e.currentTarget.dataset.id;\n uni.navigateTo({\n url: '/pages/demandHall/resourcesDetail/index?id=' + id\n });\n },\n\n toCompanyDetail(e) {\n let id = e.currentTarget.dataset.id;\n uni.navigateTo({\n url: '/pages/demandHall/companyDetail/index?id=' + id\n });\n },\n\n toNeedsDetail(e) {\n let id = e.currentTarget.dataset.id;\n uni.navigateTo({\n url: '/pages/demandHall/needsDetail/index?id=' + id\n });\n },\n\n getCagetoryList() {\n app.http('get', 'ResourcesCagetory/listResourcesCagetory').then(res => {\n if (res.data.success) {\n this.setData({\n cagetoryList: res.data.data\n });\n }\n });\n },\n\n cagetoryClick(e) {\n let item = e.currentTarget.dataset.item;\n let i = e.currentTarget.dataset.i;\n console.log(item);\n this.setData({\n cagetoryActive: i,\n resourceCagetoryId: item.id,\n choseCagetory: item.cagetoryName\n });\n },\n\n businessChange(e) {\n let type = e.currentTarget.dataset.type;\n let name = e.currentTarget.dataset.name;\n this.setData({\n choseBusiness: name,\n enterpriseType: type\n });\n },\n\n finishClick() {\n this.setData({\n loading: true,\n pageNumber: 0,\n pageSize: 5\n });\n this.tabActive == 1 ? this.getPageData() : this.getCompanyList();\n this.setData({\n showScreenDialog: false\n });\n },\n\n resetClick() {\n this.setData({\n cName: '',\n cagetoryActive: null,\n resourceCagetoryId: '',\n enterpriseType: '',\n choseBusiness: '',\n choseCagetory: ''\n });\n },\n\n getPageData() {\n if (this.loading) {\n app.http('post', `Resources/listResources?page=${this.pageNumber}&size=${this.pageSize}`, {\n resourceType: this.active,\n resourceCagetoryId: this.resourceCagetoryId,\n enterpriseType: this.enterpriseType\n }).then(res => {\n if (res.data.success) {\n uni.stopPullDownRefresh();\n\n if (res.data.data.content.length < this.pageSize) {\n this.setData({\n loading: false\n });\n }\n\n if (this.pageNumber > 0) {\n this.setData({\n list: this.list.concat(res.data.data.content)\n });\n } else {\n this.setData({\n list: res.data.data.content\n });\n }\n }\n });\n } else {\n uni.stopPullDownRefresh();\n }\n },\n\n getCompanyList() {\n app.http('post', `Enterprise/listEnterprise?page=${this.pageNumber}&size=${this.pageSize}`, {\n industryId: this.resourceCagetoryId,\n enterpriseType: this.enterpriseType\n }).then(res => {\n if (res.data.success) {\n this.setData({\n companyList: res.data.data.content\n });\n }\n });\n }\n\n }\n};\n</script>\n<style>\n/* pages/demandHall/index.wxss */\nimage{\n border-radius: 8rpx;\n}\n.dmandhall-page{\n padding-bottom: 210rpx;\n min-height: 100vh;\n font-size: 28rpx;\n background: #F5F5F5;\n}\n.top-box{\n width: 100%;\n padding: 16rpx 0;\n background: #fff;\n\tposition: fixed;\n\ttop: 0;\n\tz-index: 99;\n}\n.top-l-box{\n\tpadding-left: 40rpx;\n}\n.tab-item{\n width: 162rpx;\n height: 40rpx;\n line-height: 40rpx;\n text-align: center;\n margin-right: 12rpx;\n font-size: 28rpx;\n color: #BFBFBF;\n font-weight: 500;\n}\n.tab-item-a{\n font-size: 36rpx;\n color: #FF5100;\n}\n.top-r-box image{\n width: 36rpx;\n height: 36rpx;\n margin-left: 30rpx;\n}\n.resource-tabs{\n width: 100%;\n padding-top: 10rpx;\n background: #fff;\n border-bottom: 2rpx solid #EEEEEE;\n}\n.tab{\n width: 162rpx;\n padding: 26rpx 0;\n font-size: 28rpx;\n color: #BFBFBF;\n position: relative;\n font-weight: 500;\n}\n.tab::after{\n display: block;\n content: '';\n width: 50rpx;\n height: 16rpx;\n border-radius: 8rpx;\n background: #FF5100;\n position: absolute;\n bottom: -8rpx;\n left: 50%;\n margin-left: -50rpx;\n opacity: 0;\n transform:scaleX(0);\n transition: all .2s ease,opacity .15s ease;\n}\n.tab-a{\n color: #333;\n}\n.tab-a::after{\n opacity: 1;\n transform: scaleX(1);\n}\n.no-more{\n\ttext-align: center;\n\tline-height: 38rpx;\n\tfont-size: 28rpx;\n\tcolor: #9C9C9C;\n}\n\n.screen-box{\n width: 100%;\n height: 94rpx;\n padding: 0 38rpx;\n color: #666;\n background: #fff;\n}\n.screen-result{\n font-size: 28rpx;\n color: #FF5100;\n}\n.screen image{\n width: 27rpx;\n height: 27rpx;\n margin-left: 6rpx;\n}\n\n.resource-list{\n width: 100%;\n padding: 290rpx 40rpx 24rpx;\n}\n.resource-item{\n width: 100%;\n min-height: 302rpx;\n background: #fff;\n border-radius: 12rpx;\n padding: 20rpx;\n margin-bottom: 20rpx;\n position: relative;\n}\n.logo-box{\n width: 154rpx;\n height: 154rpx;\n margin-right: 20rpx;\n position: relative;\n}\n.logo-box image{\n width: 100%;\n height: 100%;\n}\n.tips-item {\n padding: 2rpx 6rpx;\n line-height: 28rpx;\n font-size: 20rpx;\n color: #fff;\n background: rgba(255, 81, 0, 0.63);\n border-radius: 8rpx;\n margin-right: 14rpx;\n position: absolute;\n top: 4rpx;\n left: 4rpx;\n}\n.bg2 {\n background: rgba(255, 170, 0, 0.63);\n}\n.resource-info{\n width: calc(100% - 170rpx);\n}\n.resource-item .title{\n font-size: 32rpx;\n font-weight: 500;\n line-height: 44rpx;\n color: #1D1D1D;\n}\n.desc{\n font-size: 24rpx;\n color: #666666;\n line-height: 34rpx;\n}\n.price{\n color: #FF5100;\n line-height: 40rpx;\n font-weight: 600;\n margin: 10rpx 0 40rpx;\n}\n.company-info{\n\twidth: 66%;\n color: #A7A7A7;\n font-size: 24rpx;\n}\n.company-info text{\n display: inline-block;\n margin-right: 18rpx;\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: 34rpx;\n text-align: center;\n font-size: 20rpx;\n border: 2rpx solid #FFAA00;\n color: #FFAA00;\n border-radius: 4rpx;\n margin-right: 8rpx;\n}\n.bgG{\n border: 1rpx solid #3A9EFA;\n color: #3A9EFA;\n}\n.bgO{\n border: 1rpx solid #FC9367;\n color: #FC9367;\n}\n.toMore-btn{\n width: 164rpx;\n height: 44rpx;\n background: linear-gradient(141deg, #FFA782 0%, #FF6D31 100%);\n border-radius: 8rpx;\n font-size: 28rpx;\n font-weight: bold;\n line-height: 40rpx;\n color: #FFFFFF;\n text-align: center;\n line-height: 44rpx;\n position: absolute;\n right: 20rpx;\n bottom: 20rpx;\n}\n.anli-list{\n font-size: 24rpx;\n color: #666;\n margin: 24rpx 0 20rpx;\n}\n.anli-item image{\n width: 220rpx;\n height: 136rpx;\n margin-right: 8rpx;\n}\n.comment{\n font-size: 20rpx;\n color: #FF6D31;\n}\n.company-list-box{\n width: 100%;\n background: #fff;\n}\n.company-list{\n width: 100%;\n border-top: 2rpx solid #EEEEEE;\n}\n.company-item{\n width: 100%;\n padding: 40rpx;\n border-bottom: 2rpx solid #EEEEEE;\n}\n.title-box .title{\n width: 550rpx;\n}\n.title-box .price{\n margin: 0;\n}\n.company-item .tags-box{\n margin: 20rpx 0;\n}\n.btn-box{\n margin-top: 20rpx;\n font-size: 24rpx;\n color: #707070;\n}\n.btn-box .toMore-btn{\n position: static;\n}\n\n.mask-box{\n width: 100%;\n height: 100vh;\n background: rgba(0,0,0,.6);\n position:fixed;\n top: 0;/* #ifdef H5 */\n top: calc(88rpx + constant(safe-area-inset-top));\n top: calc(88rpx + env(safe-area-inset-top));/* #endif */\n left: 0;\n z-index: 9999;\n}\n.screen-dialog-box{\n width: 602rpx;\n height: 100%;\n /* padding-bottom: 160rpx; */\n overflow-y: scroll;\n background-color: #fff;\n position: absolute;\n top: 0;\n right: 0rpx;\n animation: move 200ms ease;\n}\n/* .move{\n right: 0rpx;\n} */\n@keyframes move{\n 0%{\n transform: translateX(800rpx);\n }\n 100%{\n transform: translateX(0rpx);\n }\n}\n.screen-item{\n width: 100%;\n padding: 0 38rpx;\n padding-bottom: 22rpx;\n border-bottom: 2rpx solid #EEEEEE;\n}\n.screen-title{\n font-size: 24rpx;\n color: #000;\n margin-bottom: 32rpx;\n}\n.screen-item{\n padding-top: 40rpx;\n}\n\n.screen-item .item{\n width: 162rpx;\n height: 48rpx;\n line-height: 48rpx;\n text-align: center;\n font-size: 24rpx;\n color: #666666;\n background: #F6F6F6;\n border-radius: 4rpx;\n margin-bottom: 20rpx;\n margin-right: 20rpx;\n}\n.screen-item .item:nth-child(3n){\n margin-right: 0;\n}\n.screen-item .item-active{\n border: 2rpx solid #FF6E33;\n color: #FE7D26;\n background: #FDEFE6;\n}\n.across-line{\n width: 44rpx;\n height: 2rpx;\n background: #ACABAB;\n margin: 0 12rpx;\n}\n.low-price{\n width: 228rpx;\n height: 60rpx;\n background: #F6F5F5;\n border-radius: 4rpx;\n}\n.low-price input{\n width: 100%;\n height: 100%;\n text-align: center;\n}\n.fz20{\n font-size: 20rpx;\n color: #393939;\n}\n.submit-box{\n width: 602rpx;\n height: 100rpx;\n box-shadow: 2rpx 0px 12rpx rgba(0, 0, 0, 0.16);\n position: fixed;\n bottom: 0;\n right: 0;\n}\n.submit-box .btn{\n width: 50%;\n height: 100%;\n line-height: 100rpx;\n text-align: center;\n}\n.submit-box .finish{\n background: #FF660C;\n color: #fff;\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 // 1635513139003\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":""} |