1 |
- {"version":3,"sources":["uni-app:///main.js","webpack:///D:/yzm/worknew/wardrobe/pages/shopsoso/index.vue?9731","webpack:///D:/yzm/worknew/wardrobe/pages/shopsoso/index.vue?4926","webpack:///D:/yzm/worknew/wardrobe/pages/shopsoso/index.vue?3afb","webpack:///D:/yzm/worknew/wardrobe/pages/shopsoso/index.vue?40f9","uni-app:///pages/shopsoso/index.vue","webpack:///D:/yzm/worknew/wardrobe/pages/shopsoso/index.vue?7e34","webpack:///D:/yzm/worknew/wardrobe/pages/shopsoso/index.vue?e147"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/shopsoso/index.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/shopsoso/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=22164d2c&\"\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=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../exe/HBuilderX.3.4.7.20220422/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/shopsoso/index.vue\"\nexport default component.exports","export * from \"-!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=22164d2c&\"","var components\ntry {\n components = {\n tmMenubars: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-menubars/tm-menubars\" */ \"@/tm-vuetify/components/tm-menubars/tm-menubars.vue\"\n )\n },\n tmSearch: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-search/tm-search\" */ \"@/tm-vuetify/components/tm-search/tm-search.vue\"\n )\n },\n tmBadges: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-badges/tm-badges\" */ \"@/tm-vuetify/components/tm-badges/tm-badges.vue\"\n )\n },\n tmDropDownMenu: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-dropDownMenu/tm-dropDownMenu\" */ \"@/tm-vuetify/components/tm-dropDownMenu/tm-dropDownMenu.vue\"\n )\n },\n tmGrouplist: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-grouplist/tm-grouplist\" */ \"@/tm-vuetify/components/tm-grouplist/tm-grouplist.vue\"\n )\n },\n tmListitem: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-listitem/tm-listitem\" */ \"@/tm-vuetify/components/tm-listitem/tm-listitem.vue\"\n )\n },\n tmEmpty: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-empty/tm-empty\" */ \"@/tm-vuetify/components/tm-empty/tm-empty.vue\"\n )\n },\n tmSheet: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-sheet/tm-sheet\" */ \"@/tm-vuetify/components/tm-sheet/tm-sheet.vue\"\n )\n },\n tmMessage: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-message/tm-message\" */ \"@/tm-vuetify/components/tm-message/tm-message.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.$tm.vx.state()\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/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 \"-!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view :style=\"{ minHeight: sys.windowHeight + 'px' }\" :class=\"[$tm.vx.state().tmVuetify.black ? 'black' : ' ']\">\r\n\t\t<tm-menubars title=\"\" :shadow=\"0\" :showback=\"false\"></tm-menubars>\r\n\t\t<view class=\"C1b1b1b pb-10\">\r\n\t\t\t<view class=\"sousuo\">\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<tm-search @confirm=\"sosoFun\" class=\"fl\" v-model=\"soso\" color=\"white\" confirm-text=\"\"></tm-search>\r\n\t\t\t\t\t<text class=\"quxiao fr\" @click=\"goindex()\">取消</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"clear: both;\"></view>\r\n\t\t\t\t<view v-if=\"sosotype==1\">\r\n\t\t\t\t\t<text class=\"text-size-m fl mt-30\">搜索记录</text>\r\n\t\t\t\t\t<view class=\"fr mt-30 qingchu\" @click=\"qingkong\" v-if=\"libiaoList.length !=0\">\r\n\t\t\t\t\t\t<text class=\"text-size-s fl\">清空记录</text>\r\n\t\t\t\t\t\t<tm-badges :offset=\"[0,-5]\" icon=\"icon-times\"></tm-badges>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-if=\"sosotype==2\">\r\n\t\t\t\t\t<tm-dropDownMenu @change=\"change\" :type=\"typeclick\" un-color=\"white\" :list=\"list2\">\r\n\t\t\t\t\t</tm-dropDownMenu>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"clear: both;\"></view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 列表 -->\r\n\t\t<tm-grouplist class=\"liebiao mt-40\" v-if=\"sosotype==1 && libiaoList.length !=0\">\r\n\t\t\t<tm-listitem v-for=\"item in libiaoList\" @click=\"sousuo(item.name)\" :title=\"item.name\" left-icon=\"\"\r\n\t\t\t\tshow-left-icon :show-right-icon=\"false\">\r\n\t\t\t</tm-listitem>\r\n\t\t</tm-grouplist>\r\n\t\t<tm-empty v-if=\"sosotype==1 && libiaoList==undefined\" label=\"暂无数据\" color=\"white\" icon=\"icon-paperplane-fill\">\r\n\t\t</tm-empty>\r\n\t\t<div class=\"zhuti\" v-if=\"sosotype==2\">\r\n\t\t\t<tm-sheet class=\"kuang\" style=\"padding-bottom: 30px !important;\" v-if=\"listdata.length!=0\">\r\n\t\t\t\t<view style=\"width: 94%;margin:0 auto;\" class=\"remen\">\r\n\t\t\t\t\t<view v-for=\"(item,index) in listdata\" class=\"round-5 contone black mt-20\"\r\n\t\t\t\t\t\t:class=\"index%2==0?'fl':'fr'\" @click=\"goDetail(item)\">\r\n\t\t\t\t\t\t<image class=\"logo\" :src=\"item.image\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t<view class=\"pa-15 text-size-s\">\r\n\t\t\t\t\t\t\t<view class=\"text-overflow-2\">\r\n\t\t\t\t\t\t\t\t<text class=\"text-size-lg\">{{item.goods_name}}</text>\r\n\t\t\t\t\t\t\t\t<view class=\"text-gray mt-6\">销量:{{item.stock_num}}</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"mt-2 flex-between flex-center\">\r\n\t\t\t\t\t\t\t\t<view class=\"touxiang mt-30\">\r\n\t\t\t\t\t\t\t\t\t<text class=\"text-white text-size-m text-weight-b\">¥{{item.sale_price}}</text>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t\t<image @click.stop=\"jiarufuFun(item)\" class=\"remenzan\" src=\"/static/img/86.png\"\r\n\t\t\t\t\t\t\t\t\t\tmode=\"widthFix\"></image>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view style=\"clear: both;\"></view>\r\n\t\t\t\t\t<view style=\"clear: both;\" class=\"more ma-40 pt-40\" @click=\"gengmore()\"\r\n\t\t\t\t\t\tv-if=\"listdata.length<total\">\r\n\t\t\t\t\t\t<image src=\"/static/img/30.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t<text class=\"text-size-s\">下拉加载更多~</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</tm-sheet>\r\n\t\t\t<view style=\"height:60px\"></view>\r\n\t\t</div>\r\n\t\t<!-- 弹出层消息 -->\r\n\t\t<tm-message ref=\"toast\"></tm-message>\r\n\t</view>\r\n</template>\r\n<script>\r\n\timport {\r\n\t\tmyRequest\r\n\t} from '@/api/request.js'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tlibiaoList: [],\r\n\t\t\t\tactiveIndex: 0,\r\n\t\t\t\tsoso: '',\r\n\t\t\t\taddr: ['江西省', '南昌市', '西湖区'],\r\n\t\t\t\tvalue: '',\r\n\t\t\t\tlist2: [{\r\n\t\t\t\t\ttitle: '最近上新',\r\n\t\t\t\t\tshang: true\r\n\t\t\t\t}, {\r\n\t\t\t\t\ttitle: '价格',\r\n\t\t\t\t\tshang: true\r\n\t\t\t\t}, {\r\n\t\t\t\t\ttitle: '销量',\r\n\t\t\t\t\tshang: true\r\n\t\t\t\t}],\r\n\t\t\t\ttypeclick: 1,\r\n\t\t\t\tlistdata: [],\r\n\t\t\t\tsosotype: 1,\r\n\t\t\t\tpage: 1,\r\n\t\t\t\tpagesize: 8,\r\n\t\t\t\ttotal: 0,\r\n\t\t\t\tjia: 1,\r\n\t\t\t\tnum: 1,\r\n\t\t\t};\r\n\t\t},\r\n\t\tonLoad() {\r\n\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tthis.sys = uni.getSystemInfoSync();\r\n\t\t\tthis.getlishi()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// /去详情\r\n\t\t\tgoDetail(data) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/shopdetail/index?cartId=' + data.id+'&classId='+data.category_id\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 历史记录列表\r\n\t\t\tgetlishi() {\r\n\t\t\t\tvar that = this;\r\n\t\t\t\tmyRequest({\r\n\t\t\t\t\turl: \"/api/ShopGoods/shopSearchList\",\r\n\t\t\t\t\tmethod: 'get',\r\n\t\t\t\t\tdata: {}\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tif (res.data.code == 200) {\r\n\t\t\t\t\t\tthat.libiaoList = res.data.data;\r\n\t\t\t\t\t} else {}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tqingkong() {\r\n\t\t\t\tvar that = this;\r\n\t\t\t\tmyRequest({\r\n\t\t\t\t\turl: \"/api/ShopGoods/deleteShopSearch\",\r\n\t\t\t\t\tmethod: 'get',\r\n\t\t\t\t\tdata: {}\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tif (res.data.code == 200) {\r\n\t\t\t\t\t\tthat.getlishi();\r\n\t\t\t\t\t\tthat.$refs.toast.show({\r\n\t\t\t\t\t\t\tmodel: 'success',\r\n\t\t\t\t\t\t\tlabel: res.data.msg\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tsousuo(name) {\r\n\t\t\t\tconsole.log(name, 'nam');\r\n\t\t\t\tthis.soso = name;\r\n\t\t\t\tthis.sosoFun();\r\n\t\t\t},\r\n\t\t\tsosoFun() {\r\n\t\t\t\tlet that = this;\r\n\t\t\t\tmyRequest({\r\n\t\t\t\t\turl: '/api/ShopGoods/shopGoodsSearch',\r\n\t\t\t\t\tmethod: 'post',\r\n\t\t\t\t\tdata: {\r\n\t\t\t\t\t\tsearch: that.soso,\r\n\t\t\t\t\t\tpage: that.page,\r\n\t\t\t\t\t\tpagesize: that.pagesize,\r\n\t\t\t\t\t\tsale_price: that.jia,\r\n\t\t\t\t\t\tsale_num: that.num\r\n\t\t\t\t\t}\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tif (res.data.code == 200) {\r\n\t\t\t\t\t\tthat.listdata = [];\r\n\t\t\t\t\t\tif (res.data.data.length != 0) {\r\n\t\t\t\t\t\t\tthat.total = res.data.data.total;\r\n\t\t\t\t\t\t\tif (res.data.data.data.length > 0) {\r\n\t\t\t\t\t\t\t\tthat.listdata = res.data.data.data;\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tthat.listdata = [];\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthat.listdata = [];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthat.$refs.toast.show({\r\n\t\t\t\t\t\t\tmodel: 'error',\r\n\t\t\t\t\t\t\tlabel: res.data.msg\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\tthis.sosotype = 2\r\n\t\t\t},\r\n\r\n\t\t\tgengmore() {\r\n\t\t\t\t// this.randouh()\r\n\t\t\t},\r\n\t\t\tjiarufuFun(data) {\r\n\t\t\t\tvar that = this;\r\n\t\t\t\tconsole.log(data)\r\n\t\t\t\t// if(data.type==2){\r\n\t\t\t\tmyRequest({\r\n\t\t\t\t\turl: \"/api/ShopCart/addShopCart\",\r\n\t\t\t\t\tmethod: 'post',\r\n\t\t\t\t\tdata: {\r\n\t\t\t\t\t\tgoods_id: data.id,\r\n\t\t\t\t\t\tgoods_name: data.goods_name,\r\n\t\t\t\t\t\tgoods_image: data.image,\r\n\t\t\t\t\t\tgoods_price: data.sale_price,\r\n\t\t\t\t\t\tgoods_num: 1\r\n\t\t\t\t\t}\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tif (res.data.code == 200) {\r\n\t\t\t\t\t\tthat.$refs.toast.show({\r\n\t\t\t\t\t\t\tmodel: 'success',\r\n\t\t\t\t\t\t\tlabel: res.data.msg\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthat.$refs.toast.show({\r\n\t\t\t\t\t\t\tmodel: 'error',\r\n\t\t\t\t\t\t\tlabel: res.data.msg\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\t// uni.navigateTo({\r\n\t\t\t\t// \turl: \"/pages/gouwuche/index\",\r\n\t\t\t\t// })\r\n\t\t\t\t// console.log(data)\r\n\t\t\t\t// this.gouwuche.push(data)\r\n\t\t\t},\r\n\t\t\tgoindex() {\r\n\t\t\t\tuni.navigateBack();\r\n\t\t\t},\r\n\t\t\tchange(e) {\r\n\t\t\t\tconsole.log(e);\r\n\t\t\t\tif (e.title == '价格') {\r\n\t\t\t\t\tif (e.shang) {\r\n\t\t\t\t\t\tthis.jia = 1\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.jia = 2\r\n\t\t\t\t\t}\r\n\t\t\t\t\tconsole.log(e.shang);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (e.shang) {\r\n\t\t\t\t\t\tthis.num = 1\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.num = 2\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tthis.sosoFun()\r\n\t\t\t},\r\n\t\t},\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/deep/ .tm-menubars .body {\r\n\t\tbackground-color: #1b1b1b !important;\r\n\t}\r\n\r\n\t/deep/ .zhuti {\r\n\t\tpadding: 10px 10px;\r\n\t}\r\n\r\n\t/deep/ .kuang {\r\n\t\tmargin: 0 !important;\r\n\t\tpadding: 0px !important;\r\n\t}\r\n\r\n\t/deep/ .icon-search {\r\n\t\tfont-size: 23px !important;\r\n\t\tcolor: #8E8E93 !important;\r\n\t}\r\n\r\n\t/deep/ .tm-search {\r\n\t\twidth: 86%;\r\n\t\tbackground-color: #414141 !important;\r\n\t\tborder-radius: 10px;\r\n\t}\r\n\r\n\t/deep/ .tm-search .grey-darken-5 {\r\n\t\tbackground-color: #414141 !important;\r\n\t}\r\n\r\n\t.qingchu {\r\n\t\tbackground: #303440;\r\n\t\tpadding: 5px 15px;\r\n\t\tborder-radius: 20px;\r\n\t\twidth: 62px;\r\n\t}\r\n\r\n\t/deep/ .liebiao .grey-darken-4.bk {\r\n\t\tbackground-color: #0D0D0D !important;\r\n\t}\r\n\r\n\t/deep/ .liebiao .py-24 {\r\n\t\tpadding-top: 15px;\r\n\t\tpadding-bottom: 15px;\r\n\t}\r\n\r\n\t/deep/ .tm-grouplist {\r\n\t\tmargin: 0 10px !important;\r\n\t}\r\n\r\n\t.quxiao {\r\n\t\tcolor: #707070;\r\n\t\tline-height: 47px;\r\n\t}\r\n\r\n\t/deep/ .tm--badges--cm {\r\n\t\tborder: 1px solid #303440 !important;\r\n\t\tbackground-color: #303440 !important;\r\n\t\tright: -7px !important;\r\n\t\ttop: 6px !important;\r\n\t}\r\n\r\n\t/deep/ .tm--badges {\r\n\t\tdisplay: inherit !important;\r\n\t}\r\n\r\n\t.qingchu {\r\n\t\tbackground: #303440;\r\n\t\tpadding: 5px 15px;\r\n\t\tborder-radius: 20px;\r\n\t\twidth: 62px;\r\n\t}\r\n\r\n\t/deep/ .liebiao .grey-darken-4.bk {\r\n\t\tbackground-color: #0D0D0D !important;\r\n\t}\r\n\r\n\t/deep/ .liebiao .py-24 {\r\n\t\tpadding-top: 15px;\r\n\t\tpadding-bottom: 15px;\r\n\t}\r\n\r\n\t/deep/ .tm-grouplist {\r\n\t\tmargin: 0 10px !important;\r\n\t}\r\n\r\n\t/deep/ .qiehuan2 .tm-tabs-con-item-border {\r\n\t\tdisplay: none;\r\n\t}\r\n\r\n\t/deep/ .qiehuan1 .text-primary {\r\n\t\tcolor: white !important;\r\n\t}\r\n\r\n\t/deep/ .qiehuan2 .tm-tabs-con-item-text {\r\n\t\tfont-size: 14px;\r\n\t\tbackground: none !important;\r\n\t\theight: 28px;\r\n\t\tvertical-align: middle;\r\n\t\tline-height: 28px;\r\n\t\tborder-radius: 20px;\r\n\t\tpadding-left: 14px;\r\n\t\tpadding-right: 14px;\r\n\t\tmargin-top: 17%;\r\n\t}\r\n\r\n\t/deep/ .qiehuan2 .text-weight-b {\r\n\t\tfont-size: 14px;\r\n\t\tbackground: #303440 !important;\r\n\t\theight: 28px;\r\n\t\tvertical-align: middle;\r\n\t\tline-height: 28px;\r\n\t\tborder-radius: 20px;\r\n\t\tpadding-left: 14px;\r\n\t\tpadding-right: 14px;\r\n\t\tmargin-top: 17%;\r\n\t\tcolor: white !important;\r\n\t}\r\n\r\n\t.dingwei {\r\n\t\twidth: 21%;\r\n\t\tmargin-top: 3%;\r\n\t}\r\n\r\n\t.shuruk {\r\n\t\twidth: 77%;\r\n\t}\r\n\r\n\t.sousuo {\r\n\t\twidth: 94%;\r\n\t\tmargin: 0 auto;\r\n\t}\r\n\r\n\t.quxiao {\r\n\t\tcolor: #707070;\r\n\t\tline-height: 47px;\r\n\t}\r\n\r\n\t.contone {\r\n\t\twidth: 48%;\r\n\t}\r\n\r\n\t.logo {\r\n\t\twidth: 100%;\r\n\t}\r\n\r\n\t.remenzan {\r\n\t\twidth: 18px !important;\r\n\t\tmargin-top: 10px;\r\n\t}\r\n\r\n\t.more {\r\n\t\ttext-align: center;\r\n\t}\r\n\r\n\t.more image {\r\n\t\tmargin-right: 10px;\r\n\t\tvertical-align: middle;\r\n\t\twidth: 30px;\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1678780469887\n var cssReload = require(\"D:/yzm/exe/HBuilderX.3.4.7.20220422/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":""}
|