作者 韩昌

完成11

<template>
<view>
<!-- 顶部navbar -->
<u-navbar @rightClick="rightClick" placeholder :autoBack="true">
<template #center>
<view class="topSearchBox">
<u-search
placeholder="请输入商家名称"
:clearabled="true"
:showAction="false"
v-model="searchValue"
@search="searchHandler1"
></u-search>
</view>
</template>
</u-navbar>
<u-sticky bgColor="#fff">
<u-navbar @rightClick="rightClick" placeholder :autoBack="true">
<template #center>
<view class="topSearchBox">
<u-search
placeholder="请输入商家名称"
:clearabled="true"
:showAction="false"
v-model="searchValue"
@search="searchHandler1"
></u-search>
</view>
</template>
</u-navbar>
<!-- 粘性tabs -->
<u-tabs
v-if="searchState == 1"
:list="list1"
:lineWidth="40"
lineColor="#6E16FF"
:inactiveStyle="inactiveStyle"
:activeStyle="activeStyle"
:scrollable="false"
></u-tabs>
</u-sticky>
<!-- 清空历史记录模态框 -->
<u-modal
... ... @@ -94,14 +106,31 @@
<!-- <u-empty mode="car" icon="http://cdn.uviewui.com/uview/empty/car.png"></u-empty> -->
</template>
<template v-if="searchState == 1">
<view v-for="item in searchList1" :key="item.id">
<!-- <view v-for="item in searchList1" :key="item.id">
{{ item.title }}
<image style="width: 200rpx; height: 300rpx" :src="item.image" mode="scaleToFill" />
{{ item.content }}
</view> -->
<view class="mainBox">
<custom-waterfalls-flow :value="searchList1" imageKey="image" :seat="2">
<view class="item" v-for="(item, index) in searchList1" :key="index" slot="slot{{index}}">
<view class="title flexC">{{ item.title }}</view>
<view class="flexJ">
<view class="flexA headerBox">
<image :src="item.user.avatar" mode="scaleToFill" />
<view>{{item.user.user_name}}</view>
</view>
<view class="flexA">
<u-rate activeIcon="heart-fill" inactiveIcon="heart" :count="count" v-model="value"></u-rate>
<view class="numText">{{ item.id }}</view>
</view>
</view>
</view>
</custom-waterfalls-flow>
</view>
</template>
<view @click="toListHandler">跳转列表搜索</view>
<!-- <view @click="toListHandler">跳转列表搜索</view> -->
</view>
</template>
... ... @@ -110,6 +139,35 @@ import { getList } from '@/api'
export default {
data() {
return {
list1: [
{
name: '美容美发',
},
{
name: '长发造型',
},
{
name: '好物分享',
},
{
name: '吹风机',
},
{
name: '好物评测',
},
],
list: [],
// 未选择样式
inactiveStyle: {
color: 'rgba(0,0,0,0.4)',
fontSize: '27rpx',
},
// 选择样式
activeStyle: {
color: 'rgba(50, 50, 51, 1)',
fontSize: '27rpx',
fontWeight: '700',
},
hotList: [
{ id: 1, title: '小米春季新款吹风机' },
{ id: 2, title: 'Dyson黑色吹风机' },
... ... @@ -137,6 +195,9 @@ export default {
hotSearchList: [],
// 搜索出来的内容
searchList1: [],
curPage: 1,
count: 1,
value: 1,
}
},
onLoad(options) {
... ... @@ -145,23 +206,48 @@ export default {
this.historyGoodsSearchList = uni.getStorageSync('historySearchList', this.historyGoodsSearchList) || []
},
methods: {
// async getList(val) {
// const { data } = await getList({
// type_id: '', // integer 否 论坛类型
// keywords: val, // string 否 关键词
// order: 1, // string 是 排序,1:评论,0:时间
// page: 1, // integer 是 页码
// rows: 4, // integer 是 条数
// })
// console.log(data)
// if (data.data.length == 0) {
// this.searchState = 0
// } else {
// this.searchState = 1
// setTimeout(() => {
// this.searchList1 = data.data
// this.searchList1.forEach((item, index) => {
// item.image = JSON.parse(data.data[index].file).imgList[0]
// })
// },600)
// }
// },
async getList(val) {
const { data } = await getList({
type_id: '', // integer 否 论坛类型
keywords: val, // string 否 关键词
keywords: val || '', // string 否 关键词
order: 1, // string 是 排序,1:评论,0:时间
page: 1, // integer 是 页码
rows: 4, // integer 是 条数
page: this.curPage, // integer 是 页码
rows: 13, // integer 是 条数
})
console.log(data)
if (data.data.length == 0) {
this.searchState = 0
} else {
this.searchState = 1
this.searchList1 = data.data
this.searchList1.forEach((item, index) => {
item.image = JSON.parse(data.data[index].file).imgList[0]
})
setTimeout(() => {
this.last_page = data.last_page
// this.list = this.list.concat(data.data)
this.searchList1 = data.data
this.searchList1.forEach((item, index) => {
item.image = JSON.parse(data.data[index].file).imgList[0]
})
}, 300)
}
},
// 确定清空历史搜索记录
... ... @@ -207,9 +293,9 @@ export default {
// 调接口
this.getList(val)
},
toListHandler(){
toListHandler() {
uni.navigateTo({ url: '/pages/index/list' })
}
},
},
}
</script>
... ... @@ -315,4 +401,29 @@ page {
}
}
}
.title {
color: rgba(0, 0, 0, 0.9);
font-size: 28rpx;
margin: 16rpx 0;
}
.headerBox {
color: rgba(0, 0, 0, 0.6);
font-size: 24rpx;
image {
width: 48rpx;
height: 48rpx;
border-radius: 50%;
margin-right: 8rpx;
}
}
.item {
padding: 0 16rpx 16rpx;
box-sizing: border-box;
}
.numText {
color: rgba(0, 0, 0, 0.4);
font-size: 24rpx;
margin-left: 8rpx;
}
</style>
... ...
... ... @@ -17,7 +17,6 @@
</u-navbar>
<!-- 粘性tabs -->
<u-tabs
:list="list1"
:lineWidth="40"
... ...
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/vue/kaoshi3/App.vue?3acd","webpack:///D:/vue/kaoshi3/App.vue?f039","uni-app:///App.vue","webpack:///D:/vue/kaoshi3/App.vue?8ae5","webpack:///D:/vue/kaoshi3/App.vue?8ad0"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","config","productionTip","use","uView","App","mpType","app","$mount"],"mappings":";;;;;;;;;iDAAA,wCAA8E;;;AAG9E;;AAEA,+E,wnCALmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAInBC,aAAIC,MAAJ,CAAWC,aAAX,GAA2B,KAA3B;AAEAF,aAAIG,GAAJ,CAAQC,gBAAR;AACAC,aAAIC,MAAJ,GAAa,KAAb;AACA,IAAMC,GAAG,GAAG,IAAIP,YAAJ;AACLK,YADK,EAAZ;;AAGA,UAAAE,GAAG,EAACC,MAAJ,G;;;;;;;;;;;;;;;;;ACXA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACc;;;AAGhE;AACoK;AACpK,gBAAgB,6KAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAqmB,CAAgB,6mBAAG,EAAC,C;;;;;;;;;;;;ACCznB;AACA;AACA;AACA,GAHA;AAIA;AACA;AACA,GANA;AAOA;AACA;AACA,GATA,E;;;;;;;;;;;ACDA;AAAA;AAAA;AAAA;AAAopC,CAAgB,4lCAAG,EAAC,C;;;;;;;;;;ACAxqC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import App from './App'\n\n\nimport Vue from 'vue'\nVue.config.productionTip = false\nimport uView from \"uview-ui\";\nVue.use(uView);\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()","var render, staticRenderFns, recyclableRender, components\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../高级前台制作/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 = \"App.vue\"\nexport default component.exports","import mod from \"-!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\n\texport default {\n\t\tonLaunch: function() {\n\t\t\t// console.log('App Launch')\n\t\t},\n\t\tonShow: function() {\n\t\t\t// console.log('App Show')\n\t\t},\n\t\tonHide: function() {\n\t\t\t// console.log('App Hide')\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\">\n\t/* 注意要写在第一行,同时给style标签加入lang=\"scss\"属性 */\n\t@import \"uview-ui/index.scss\";\n\t.flexJ {\n\t display: flex;\n\t justify-content: space-between;\n\t align-items: center;\n\t}\n\t.flexC {\n\t display: flex;\n\t justify-content: center;\n\t align-items: center;\n\t}\n\t.flexA {\n\t display: flex;\n\t // justify-content: center;\n\t align-items: center;\n\t}\n</style>\n","import mod from \"-!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669288654588\n var cssReload = require(\"D:/高级前台制作/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":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///D:/vue/kaoshi3/App.vue?f039","uni-app:///App.vue","webpack:///D:/vue/kaoshi3/App.vue?8ae5","webpack:///D:/vue/kaoshi3/App.vue?8ad0"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","config","productionTip","use","uView","App","mpType","app","$mount"],"mappings":";;;;;;;;;iDAAA,wCAA8E;;;AAG9E;;AAEA,+E,wnCALmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAInBC,aAAIC,MAAJ,CAAWC,aAAX,GAA2B,KAA3B;AAEAF,aAAIG,GAAJ,CAAQC,gBAAR;AACAC,aAAIC,MAAJ,GAAa,KAAb;AACA,IAAMC,GAAG,GAAG,IAAIP,YAAJ;AACLK,YADK,EAAZ;;AAGA,UAAAE,GAAG,EAACC,MAAJ,G;;;;;;;;;;;;;;;;;ACXA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACc;;;AAGhE;AACoK;AACpK,gBAAgB,6KAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAqmB,CAAgB,6mBAAG,EAAC,C;;;;;;;;;;;;ACCznB;AACA;AACA;AACA,GAHA;AAIA;AACA;AACA,GANA;AAOA;AACA;AACA,GATA,E;;;;;;;;;;;ACDA;AAAA;AAAA;AAAA;AAAopC,CAAgB,4lCAAG,EAAC,C;;;;;;;;;;ACAxqC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import App from './App'\n\n\nimport Vue from 'vue'\nVue.config.productionTip = false\nimport uView from \"uview-ui\";\nVue.use(uView);\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()","var render, staticRenderFns, recyclableRender, components\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../高级前台制作/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 = \"App.vue\"\nexport default component.exports","import mod from \"-!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\n\texport default {\n\t\tonLaunch: function() {\n\t\t\t// console.log('App Launch')\n\t\t},\n\t\tonShow: function() {\n\t\t\t// console.log('App Show')\n\t\t},\n\t\tonHide: function() {\n\t\t\t// console.log('App Hide')\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\">\n\t/* 注意要写在第一行,同时给style标签加入lang=\"scss\"属性 */\n\t@import \"uview-ui/index.scss\";\n\t.flexJ {\n\t display: flex;\n\t justify-content: space-between;\n\t align-items: center;\n\t}\n\t.flexC {\n\t display: flex;\n\t justify-content: center;\n\t align-items: center;\n\t}\n\t.flexA {\n\t display: flex;\n\t // justify-content: center;\n\t align-items: center;\n\t}\n</style>\n","import mod from \"-!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669288654588\n var cssReload = require(\"D:/高级前台制作/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":""}
\ No newline at end of file
... ...
{"version":3,"sources":[null],"names":[],"mappings":";QAAA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA,QAAQ,oBAAoB;QAC5B;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA,iBAAiB,4BAA4B;QAC7C;QACA;QACA,kBAAkB,2BAA2B;QAC7C;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;;QAEA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;QAEA;QACA;QACA;QACA;;;QAGA;QACA,oBAAoB;QACpB;QACA;QACA;QACA,uBAAuB,szDAAszD;QAC70D;QACA;QACA,mBAAmB,6BAA6B;QAChD;QACA;QACA;QACA;QACA;QACA,mBAAmB,8BAA8B;QACjD;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA,KAAK;QACL;QACA,KAAK;QACL;;QAEA;;QAEA;QACA,iCAAiC;;QAEjC;QACA;QACA;QACA,KAAK;QACL;QACA;QACA;QACA,MAAM;QACN;;QAEA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,wBAAwB,kCAAkC;QAC1D,MAAM;QACN;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA,0CAA0C,oBAAoB,WAAW;;QAEzE;QACA;QACA;QACA;QACA,gBAAgB,uBAAuB;QACvC;;;QAGA;QACA","file":"common/runtime.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"common/runtime\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"common/runtime\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"\" + chunkId + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"node-modules/uview-ui/components/u-empty/u-empty\":1,\"node-modules/uview-ui/components/u-icon/u-icon\":1,\"node-modules/uview-ui/components/u-modal/u-modal\":1,\"node-modules/uview-ui/components/u-navbar/u-navbar\":1,\"node-modules/uview-ui/components/u-search/u-search\":1,\"node-modules/uview-ui/components/u-rate/u-rate\":1,\"node-modules/uview-ui/components/u-sticky/u-sticky\":1,\"node-modules/uview-ui/components/u-tabs/u-tabs\":1,\"components/custom-waterfalls-flow/custom-waterfalls-flow\":1,\"node-modules/uview-ui/components/u-line/u-line\":1,\"node-modules/uview-ui/components/u-loading-icon/u-loading-icon\":1,\"node-modules/uview-ui/components/u-popup/u-popup\":1,\"node-modules/uview-ui/components/u-status-bar/u-status-bar\":1,\"node-modules/uview-ui/components/u-badge/u-badge\":1,\"node-modules/uview-ui/components/u-overlay/u-overlay\":1,\"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom\":1,\"node-modules/uview-ui/components/u-transition/u-transition\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"\" + ({\"node-modules/uview-ui/components/u-empty/u-empty\":\"node-modules/uview-ui/components/u-empty/u-empty\",\"node-modules/uview-ui/components/u-icon/u-icon\":\"node-modules/uview-ui/components/u-icon/u-icon\",\"node-modules/uview-ui/components/u-modal/u-modal\":\"node-modules/uview-ui/components/u-modal/u-modal\",\"node-modules/uview-ui/components/u-navbar/u-navbar\":\"node-modules/uview-ui/components/u-navbar/u-navbar\",\"node-modules/uview-ui/components/u-search/u-search\":\"node-modules/uview-ui/components/u-search/u-search\",\"node-modules/uview-ui/components/u-rate/u-rate\":\"node-modules/uview-ui/components/u-rate/u-rate\",\"node-modules/uview-ui/components/u-sticky/u-sticky\":\"node-modules/uview-ui/components/u-sticky/u-sticky\",\"node-modules/uview-ui/components/u-tabs/u-tabs\":\"node-modules/uview-ui/components/u-tabs/u-tabs\",\"components/custom-waterfalls-flow/custom-waterfalls-flow\":\"components/custom-waterfalls-flow/custom-waterfalls-flow\",\"node-modules/uview-ui/components/u-line/u-line\":\"node-modules/uview-ui/components/u-line/u-line\",\"node-modules/uview-ui/components/u-loading-icon/u-loading-icon\":\"node-modules/uview-ui/components/u-loading-icon/u-loading-icon\",\"node-modules/uview-ui/components/u-popup/u-popup\":\"node-modules/uview-ui/components/u-popup/u-popup\",\"node-modules/uview-ui/components/u-status-bar/u-status-bar\":\"node-modules/uview-ui/components/u-status-bar/u-status-bar\",\"node-modules/uview-ui/components/u-badge/u-badge\":\"node-modules/uview-ui/components/u-badge/u-badge\",\"node-modules/uview-ui/components/u-overlay/u-overlay\":\"node-modules/uview-ui/components/u-overlay/u-overlay\",\"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom\":\"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom\",\"node-modules/uview-ui/components/u-transition/u-transition\":\"node-modules/uview-ui/components/u-transition/u-transition\"}[chunkId]||chunkId) + \".wxss\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = global[\"webpackJsonp\"] = global[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":[null],"names":[],"mappings":";QAAA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA,QAAQ,oBAAoB;QAC5B;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA,iBAAiB,4BAA4B;QAC7C;QACA;QACA,kBAAkB,2BAA2B;QAC7C;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;;QAEA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;QAEA;QACA;QACA;QACA;;;QAGA;QACA,oBAAoB;QACpB;QACA;QACA;QACA,uBAAuB,szDAAszD;QAC70D;QACA;QACA,mBAAmB,6BAA6B;QAChD;QACA;QACA;QACA;QACA;QACA,mBAAmB,8BAA8B;QACjD;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA,KAAK;QACL;QACA,KAAK;QACL;;QAEA;;QAEA;QACA,iCAAiC;;QAEjC;QACA;QACA;QACA,KAAK;QACL;QACA;QACA;QACA,MAAM;QACN;;QAEA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,wBAAwB,kCAAkC;QAC1D,MAAM;QACN;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA,0CAA0C,oBAAoB,WAAW;;QAEzE;QACA;QACA;QACA;QACA,gBAAgB,uBAAuB;QACvC;;;QAGA;QACA","file":"common/runtime.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"common/runtime\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"common/runtime\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"\" + chunkId + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"node-modules/uview-ui/components/u-empty/u-empty\":1,\"node-modules/uview-ui/components/u-icon/u-icon\":1,\"node-modules/uview-ui/components/u-modal/u-modal\":1,\"node-modules/uview-ui/components/u-navbar/u-navbar\":1,\"node-modules/uview-ui/components/u-rate/u-rate\":1,\"node-modules/uview-ui/components/u-search/u-search\":1,\"node-modules/uview-ui/components/u-sticky/u-sticky\":1,\"node-modules/uview-ui/components/u-tabs/u-tabs\":1,\"components/custom-waterfalls-flow/custom-waterfalls-flow\":1,\"node-modules/uview-ui/components/u-line/u-line\":1,\"node-modules/uview-ui/components/u-loading-icon/u-loading-icon\":1,\"node-modules/uview-ui/components/u-popup/u-popup\":1,\"node-modules/uview-ui/components/u-status-bar/u-status-bar\":1,\"node-modules/uview-ui/components/u-badge/u-badge\":1,\"node-modules/uview-ui/components/u-overlay/u-overlay\":1,\"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom\":1,\"node-modules/uview-ui/components/u-transition/u-transition\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"\" + ({\"node-modules/uview-ui/components/u-empty/u-empty\":\"node-modules/uview-ui/components/u-empty/u-empty\",\"node-modules/uview-ui/components/u-icon/u-icon\":\"node-modules/uview-ui/components/u-icon/u-icon\",\"node-modules/uview-ui/components/u-modal/u-modal\":\"node-modules/uview-ui/components/u-modal/u-modal\",\"node-modules/uview-ui/components/u-navbar/u-navbar\":\"node-modules/uview-ui/components/u-navbar/u-navbar\",\"node-modules/uview-ui/components/u-rate/u-rate\":\"node-modules/uview-ui/components/u-rate/u-rate\",\"node-modules/uview-ui/components/u-search/u-search\":\"node-modules/uview-ui/components/u-search/u-search\",\"node-modules/uview-ui/components/u-sticky/u-sticky\":\"node-modules/uview-ui/components/u-sticky/u-sticky\",\"node-modules/uview-ui/components/u-tabs/u-tabs\":\"node-modules/uview-ui/components/u-tabs/u-tabs\",\"components/custom-waterfalls-flow/custom-waterfalls-flow\":\"components/custom-waterfalls-flow/custom-waterfalls-flow\",\"node-modules/uview-ui/components/u-line/u-line\":\"node-modules/uview-ui/components/u-line/u-line\",\"node-modules/uview-ui/components/u-loading-icon/u-loading-icon\":\"node-modules/uview-ui/components/u-loading-icon/u-loading-icon\",\"node-modules/uview-ui/components/u-popup/u-popup\":\"node-modules/uview-ui/components/u-popup/u-popup\",\"node-modules/uview-ui/components/u-status-bar/u-status-bar\":\"node-modules/uview-ui/components/u-status-bar/u-status-bar\",\"node-modules/uview-ui/components/u-badge/u-badge\":\"node-modules/uview-ui/components/u-badge/u-badge\",\"node-modules/uview-ui/components/u-overlay/u-overlay\":\"node-modules/uview-ui/components/u-overlay/u-overlay\",\"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom\":\"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom\",\"node-modules/uview-ui/components/u-transition/u-transition\":\"node-modules/uview-ui/components/u-transition/u-transition\"}[chunkId]||chunkId) + \".wxss\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = global[\"webpackJsonp\"] = global[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
... ...
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/vue/kaoshi3/pages/index/index.vue?88c2","webpack:///D:/vue/kaoshi3/pages/index/index.vue?04ce","webpack:///D:/vue/kaoshi3/pages/index/index.vue?af0e","webpack:///D:/vue/kaoshi3/pages/index/index.vue?a378","uni-app:///pages/index/index.vue","webpack:///D:/vue/kaoshi3/pages/index/index.vue?39ee","webpack:///D:/vue/kaoshi3/pages/index/index.vue?73d5"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,6F,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AAC0K;AAC1K,gBAAgB,6KAAU;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,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/DA;AAAA;AAAA;AAAA;AAAqoB,CAAgB,+mBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4GzpB,iD;AACA;AACA,MADA,kBACA;AACA;AACA;AACA,mCADA;AAEA,oCAFA;AAGA,kCAHA;AAIA,mCAJA;AAKA,+BALA;AAMA,mCANA;AAOA,uCAPA;AAQA,gCARA;AASA,iCATA;AAUA,gCAVA,CADA;;AAaA,mBAbA;AAcA,oBAdA;AAeA;AACA,4BAhBA;AAiBA,6BAjBA;AAkBA;AACA,oBAnBA;AAoBA,gCApBA;AAqBA,oBArBA;AAsBA;AACA,qBAvBA;AAwBA;AACA,uBAzBA;AA0BA;AACA,qBA3BA;;AA6BA,GA/BA;AAgCA,QAhCA,kBAgCA,OAhCA,EAgCA;AACA;AACA;AACA;AACA,GApCA;AAqCA;AACA,WADA,mBACA,GADA,EACA;AACA;AACA,+BADA,EACA;AACA,iCAFA,EAEA;AACA,4BAHA,EAGA;AACA,2BAJA,EAIA;AACA,2BALA,CAKA;AALA,oBADA,yCACA,IADA,mBACA,IADA;AAQA;AACA;AACA;AACA,iBAFA,MAEA;AACA;AACA;AACA;AACA;AACA,mBAFA;AAGA,iBAjBA;AAkBA,KAnBA;AAoBA;AACA,qCArBA,+CAqBA;AACA;AACA;AACA;AACA;AACA,yBADA;AAEA,uBAFA;;AAIA,KA7BA;AA8BA;AACA,kBA/BA,0BA+BA,GA/BA,EA+BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OARA,EADA;AAUA;AACA;AACA,uBAZA;AAaA,KA7CA;AA8CA;AACA,oBA/CA,4BA+CA,GA/CA,EA+CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OARA,EADA;AAUA;AACA;AACA,uBAZA;AAaA,KA9DA;AA+DA,iBA/DA,2BA+DA;AACA;AACA,KAjEA,EArCA,E;;;;;;;;;;;;;AC7GA;AAAA;AAAA;AAAA;AAA4sC,CAAgB,8lCAAG,EAAC,C;;;;;;;;;;;ACAhuC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/index.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=57280228&\"\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 \"!../../../../高级前台制作/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/index/index.vue\"\nexport default component.exports","export * from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=57280228&\"","var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uSearch: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-search/u-search\" */ \"uview-ui/components/u-search/u-search.vue\"\n )\n },\n uModal: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-modal/u-modal\" */ \"uview-ui/components/u-modal/u-modal.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.vue\"\n )\n },\n uEmpty: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-empty/u-empty\" */ \"uview-ui/components/u-empty/u-empty.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 this$1 = this\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function() {\n return (this$1.historyListShow = false)\n }\n\n _vm.e1 = function() {\n return (this$1.historyListShow = true)\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/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 \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\n <view>\n <!-- 顶部navbar -->\n <u-navbar @rightClick=\"rightClick\" placeholder :autoBack=\"true\">\n <template #center>\n <view class=\"topSearchBox\">\n <u-search\n placeholder=\"请输入商家名称\"\n :clearabled=\"true\"\n :showAction=\"false\"\n v-model=\"searchValue\"\n @search=\"searchHandler1\"\n ></u-search>\n </view>\n </template>\n </u-navbar>\n\n <!-- 清空历史记录模态框 -->\n <u-modal\n :show=\"historyListShow\"\n showCancelButton\n @cancel=\"() => (this.historyListShow = false)\"\n @confirm=\"confirmRemoveHistorySearchHandler\"\n :content=\"content\"\n ></u-modal>\n\n <!-- 版心 -->\n <template v-if=\"searchState == 2\">\n <view class=\"mainBox\">\n <view class=\"flexJ\" v-if=\"historyGoodsSearchList.length !== 0\">\n <view class=\"historyText\">历史搜索</view>\n <u-icon name=\"trash\" @click=\"() => (this.historyListShow = true)\"></u-icon>\n </view>\n\n <!-- 搜索记录 -->\n <view class=\"flexA historySearchBox\">\n <view\n class=\"historySearchText flexC\"\n v-for=\"item in historyGoodsSearchList\"\n :key=\"item\"\n @click=\"hotSearchHandler(item)\"\n >\n {{ item }}\n </view>\n </view>\n\n <!-- 热门搜索 -->\n <view class=\"hotSearchBox\">\n <view class=\"flexA\" style=\"margin-bottom: 32rpx\">\n <image style=\"width: 32rpx; height: 32rpx\" src=\"/static/hotsearch.png\" mode=\"scaleToFill\" />\n <view class=\"hotsearchText\">热门搜索</view>\n </view>\n\n <!-- 热门搜索内容 -->\n <view class=\"hotCentent\">\n <view class=\"leftHotList\">\n <view\n class=\"flexA\"\n style=\"margin-bottom: 32rpx\"\n v-for=\"item in firstList\"\n :key=\"item.id\"\n @click=\"hotSearchHandler(item.title)\"\n >\n <view\n class=\"index\"\n :style=\"{ background: item.id == 1 ? '#f03f30' : item.id == 2 ? '#f2b738' : item.id == 3 ? '#a3b5e1' : '' }\"\n >\n {{ item.id }}\n </view>\n <text>{{ item.title }}</text>\n </view>\n </view>\n <view class=\"line\"></view>\n <view class=\"rightHotList\">\n <view\n class=\"flexA\"\n style=\"margin-bottom: 32rpx\"\n v-for=\"item in secondList\"\n :key=\"item.id\"\n @click=\"hotSearchHandler(item.title)\"\n >\n <view class=\"index\">{{ item.id }}</view>\n <text>{{ item.title }}</text>\n </view>\n </view>\n </view>\n </view>\n </view>\n </template>\n <template v-if=\"searchState == 0\">\n <view style=\"margin-top: 300rpx\">\n <u-empty />\n </view>\n <!-- <u-empty mode=\"car\" icon=\"http://cdn.uviewui.com/uview/empty/car.png\"></u-empty> -->\n </template>\n <template v-if=\"searchState == 1\">\n <view v-for=\"item in searchList1\" :key=\"item.id\">\n {{ item.title }}\n <image style=\"width: 200rpx; height: 300rpx\" :src=\"item.image\" mode=\"scaleToFill\" />\n {{ item.content }}\n </view>\n </template>\n\n <view @click=\"toListHandler\">跳转列表搜索</view>\n </view>\n</template>\n\n<script>\nimport { getList } from '@/api'\nexport default {\n data() {\n return {\n hotList: [\n { id: 1, title: '小米春季新款吹风机' },\n { id: 2, title: 'Dyson黑色吹风机' },\n { id: 3, title: '便宜好用的吹风机' },\n { id: 4, title: '小米春季新款吹风机' },\n { id: 5, title: '高端吹风机' },\n { id: 6, title: '小米春季新款吹风机' },\n { id: 7, title: 'supersonic吹风机' },\n { id: 8, title: '超低价吹风机' },\n { id: 9, title: '明星同款吹风机' },\n { id: 10, title: '万能吹风机' },\n ],\n firstList: [],\n secondList: [],\n // 清空历史记录参数\n historyListShow: false,\n content: '您确定要清空历史记录吗?',\n // 搜索结果 0 有结果 1没有结果\n searchState: 2,\n historyGoodsSearchList: [],\n searchList: [],\n // 搜索框值\n searchValue: '',\n // 热门搜索数据\n hotSearchList: [],\n // 搜索出来的内容\n searchList1: [],\n }\n },\n onLoad(options) {\n this.firstList = this.hotList.slice(0, 5)\n this.secondList = this.hotList.slice(5)\n this.historyGoodsSearchList = uni.getStorageSync('historySearchList', this.historyGoodsSearchList) || []\n },\n methods: {\n async getList(val) {\n const { data } = await getList({\n type_id: '', //\tinteger\t否\t论坛类型\n keywords: val, //\tstring\t否\t关键词\n order: 1, //\tstring\t是\t排序,1:评论,0:时间\n page: 1, //\tinteger\t是\t页码\n rows: 4, //\tinteger\t是\t条数\n })\n console.log(data)\n if (data.data.length == 0) {\n this.searchState = 0\n } else {\n this.searchState = 1\n this.searchList1 = data.data\n this.searchList1.forEach((item, index) => {\n item.image = JSON.parse(data.data[index].file).imgList[0]\n })\n }\n },\n // 确定清空历史搜索记录\n confirmRemoveHistorySearchHandler() {\n uni.removeStorageSync('historySearchList')\n this.historyGoodsSearchList = []\n this.historyListShow = false\n uni.showToast({\n title: '清空历史记录成功',\n icon: 'success',\n })\n },\n // 搜索\n searchHandler1(val) {\n this.historyGoodsSearchList.indexOf(this.searchValue) == '-1'\n ? (() => {\n this.historyGoodsSearchList.push(this.searchValue)\n uni.setStorageSync('historySearchList', this.historyGoodsSearchList)\n if (this.historyGoodsSearchList.length > 10) {\n this.historyGoodsSearchList.shift()\n }\n // 调接口\n this.getList(val)\n })()\n : // : ''\n // 调接口\n this.getList(val)\n },\n // 热门搜索\n hotSearchHandler(val) {\n console.log(val)\n this.historyGoodsSearchList.indexOf(val) == '-1'\n ? (() => {\n this.historyGoodsSearchList.push(val)\n uni.setStorageSync('historySearchList', this.historyGoodsSearchList)\n if (this.historyGoodsSearchList.length > 10) {\n this.historyGoodsSearchList.shift()\n }\n // 调接口\n this.getList(val)\n })()\n : // : ''\n // 调接口\n this.getList(val)\n },\n toListHandler(){\n uni.navigateTo({ url: '/pages/index/list' })\n }\n },\n}\n</script>\n\n<style lang=\"scss\">\npage {\n background: #fff;\n}\n.topSearchBox {\n margin-right: 118rpx;\n}\n.mainBox {\n padding: 34rpx 32rpx 0;\n box-sizing: border-box;\n}\n.historyText {\n color: rgba(50, 50, 51, 1);\n font-size: 28rpx;\n font-weight: 700;\n margin-bottom: 32rpx;\n}\n.historySearchBox {\n flex-wrap: wrap;\n}\n.u-search__content {\n min-width: 426rpx !important;\n}\n/* .noSearchList {\n height: 100vh;\n background: #f6f8fa;\n} */\n.historySearchText {\n padding: 8rpx 12rpx;\n box-sizing: border-box;\n border-radius: 154rpx;\n background: rgba(247, 248, 250, 1);\n margin-right: 24rpx;\n margin-bottom: 24rpx;\n color: rgba(0, 0, 0, 0.9);\n font-size: 24rpx;\n}\n.hotsearchText {\n color: rgba(50, 50, 51, 1);\n font-size: 28rpx;\n font-weight: 700;\n margin-left: 10rpx;\n}\n.hotSearchBox {\n margin-top: 40rpx;\n border-radius: 20rpx;\n padding: 32rpx;\n box-sizing: border-box;\n background: linear-gradient(180.1deg, rgba(254, 242, 240, 1) 0%, rgba(255, 251, 248, 1) 35%, rgba(255, 255, 255, 0) 100%);\n}\n.hotCentent {\n display: flex;\n > .line {\n height: 328rpx;\n width: 2rpx;\n background: #e5e8ec;\n margin-right: 24rpx;\n }\n > .leftHotList {\n width: 286rpx;\n height: 40rpx;\n .index {\n width: 24rpx;\n height: 24rpx;\n border-radius: 8rpx;\n background: rgba(200, 201, 204, 1);\n color: rgba(255, 255, 255, 1);\n font-size: 20rpx;\n text-align: center;\n margin-right: 16rpx;\n }\n text {\n color: rgba(50, 50, 51, 1);\n font-size: 26rpx;\n }\n > .flexB {\n margin-bottom: 32rpx;\n }\n }\n > .rightHotList {\n width: 286rpx;\n height: 40rpx;\n .index {\n width: 24rpx;\n height: 24rpx;\n border-radius: 8rpx;\n background: rgba(200, 201, 204, 1);\n color: rgba(255, 255, 255, 1);\n font-size: 20rpx;\n text-align: center;\n margin-right: 16rpx;\n }\n text {\n color: rgba(50, 50, 51, 1);\n font-size: 26rpx;\n }\n > .flexB {\n margin-bottom: 32rpx;\n }\n }\n}\n</style>\n","import mod from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/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 \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/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 // 1669288653863\n var cssReload = require(\"D:/高级前台制作/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":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///D:/vue/kaoshi3/pages/index/index.vue?04ce","webpack:///D:/vue/kaoshi3/pages/index/index.vue?af0e","webpack:///D:/vue/kaoshi3/pages/index/index.vue?a378","uni-app:///pages/index/index.vue","webpack:///D:/vue/kaoshi3/pages/index/index.vue?39ee","webpack:///D:/vue/kaoshi3/pages/index/index.vue?73d5"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,6F,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AAC0K;AAC1K,gBAAgB,6KAAU;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,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,aAAa,4QAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnFA;AAAA;AAAA;AAAA;AAAqoB,CAAgB,+mBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyIzpB,iD;AACA;AACA,MADA,kBACA;AACA;AACA;AACA;AACA,oBADA,EADA;;AAIA;AACA,oBADA,EAJA;;AAOA;AACA,oBADA,EAPA;;AAUA;AACA,mBADA,EAVA;;AAaA;AACA,oBADA,EAbA,CADA;;;AAkBA,cAlBA;AAmBA;AACA;AACA,gCADA;AAEA,yBAFA,EApBA;;AAwBA;AACA;AACA,oCADA;AAEA,yBAFA;AAGA,yBAHA,EAzBA;;AA8BA;AACA,mCADA;AAEA,oCAFA;AAGA,kCAHA;AAIA,mCAJA;AAKA,+BALA;AAMA,mCANA;AAOA,uCAPA;AAQA,gCARA;AASA,iCATA;AAUA,gCAVA,CA9BA;;AA0CA,mBA1CA;AA2CA,oBA3CA;AA4CA;AACA,4BA7CA;AA8CA,6BA9CA;AA+CA;AACA,oBAhDA;AAiDA,gCAjDA;AAkDA,oBAlDA;AAmDA;AACA,qBApDA;AAqDA;AACA,uBAtDA;AAuDA;AACA,qBAxDA;AAyDA,gBAzDA;AA0DA,cA1DA;AA2DA,cA3DA;;AA6DA,GA/DA;AAgEA,QAhEA,kBAgEA,OAhEA,EAgEA;AACA;AACA;AACA;AACA,GApEA;AAqEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAtBA,mBAsBA,GAtBA,EAsBA;AACA;AACA,+BADA,EACA;AACA,uCAFA,EAEA;AACA,4BAHA,EAGA;AACA,uCAJA,EAIA;AACA,4BALA,CAKA;AALA,oBADA,yCACA,IADA,mBACA,IADA;AAQA;AACA;AACA;AACA,iBAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAFA;AAGA,mBAPA,EAOA,GAPA;AAQA,iBArBA;AAsBA,KA5CA;AA6CA;AACA,qCA9CA,+CA8CA;AACA;AACA;AACA;AACA;AACA,yBADA;AAEA,uBAFA;;AAIA,KAtDA;AAuDA;AACA,kBAxDA,0BAwDA,GAxDA,EAwDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OARA,EADA;AAUA;AACA;AACA,uBAZA;AAaA,KAtEA;AAuEA;AACA,oBAxEA,4BAwEA,GAxEA,EAwEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OARA,EADA;AAUA;AACA;AACA,uBAZA;AAaA,KAvFA;AAwFA,iBAxFA,2BAwFA;AACA;AACA,KA1FA,EArEA,E;;;;;;;;;;;;;AC1IA;AAAA;AAAA;AAAA;AAA4sC,CAAgB,8lCAAG,EAAC,C;;;;;;;;;;;ACAhuC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/index.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=57280228&\"\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 \"!../../../../高级前台制作/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/index/index.vue\"\nexport default component.exports","export * from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=57280228&\"","var components\ntry {\n components = {\n uSticky: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-sticky/u-sticky\" */ \"uview-ui/components/u-sticky/u-sticky.vue\"\n )\n },\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uSearch: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-search/u-search\" */ \"uview-ui/components/u-search/u-search.vue\"\n )\n },\n uTabs: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-tabs/u-tabs\" */ \"uview-ui/components/u-tabs/u-tabs.vue\"\n )\n },\n uModal: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-modal/u-modal\" */ \"uview-ui/components/u-modal/u-modal.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.vue\"\n )\n },\n uEmpty: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-empty/u-empty\" */ \"uview-ui/components/u-empty/u-empty.vue\"\n )\n },\n customWaterfallsFlow: function() {\n return import(\n /* webpackChunkName: \"components/custom-waterfalls-flow/custom-waterfalls-flow\" */ \"@/components/custom-waterfalls-flow/custom-waterfalls-flow.vue\"\n )\n },\n uRate: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-rate/u-rate\" */ \"uview-ui/components/u-rate/u-rate.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 this$1 = this\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function() {\n return (this$1.historyListShow = false)\n }\n\n _vm.e1 = function() {\n return (this$1.historyListShow = true)\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/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 \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\n <view>\n <!-- 顶部navbar -->\n <u-sticky bgColor=\"#fff\">\n <u-navbar @rightClick=\"rightClick\" placeholder :autoBack=\"true\">\n <template #center>\n <view class=\"topSearchBox\">\n <u-search\n placeholder=\"请输入商家名称\"\n :clearabled=\"true\"\n :showAction=\"false\"\n v-model=\"searchValue\"\n @search=\"searchHandler1\"\n ></u-search>\n </view>\n </template>\n </u-navbar>\n <!-- 粘性tabs -->\n <u-tabs\n v-if=\"searchState == 1\"\n :list=\"list1\"\n :lineWidth=\"40\"\n lineColor=\"#6E16FF\"\n :inactiveStyle=\"inactiveStyle\"\n :activeStyle=\"activeStyle\"\n :scrollable=\"false\"\n ></u-tabs>\n </u-sticky>\n\n <!-- 清空历史记录模态框 -->\n <u-modal\n :show=\"historyListShow\"\n showCancelButton\n @cancel=\"() => (this.historyListShow = false)\"\n @confirm=\"confirmRemoveHistorySearchHandler\"\n :content=\"content\"\n ></u-modal>\n\n <!-- 版心 -->\n <template v-if=\"searchState == 2\">\n <view class=\"mainBox\">\n <view class=\"flexJ\" v-if=\"historyGoodsSearchList.length !== 0\">\n <view class=\"historyText\">历史搜索</view>\n <u-icon name=\"trash\" @click=\"() => (this.historyListShow = true)\"></u-icon>\n </view>\n\n <!-- 搜索记录 -->\n <view class=\"flexA historySearchBox\">\n <view\n class=\"historySearchText flexC\"\n v-for=\"item in historyGoodsSearchList\"\n :key=\"item\"\n @click=\"hotSearchHandler(item)\"\n >\n {{ item }}\n </view>\n </view>\n\n <!-- 热门搜索 -->\n <view class=\"hotSearchBox\">\n <view class=\"flexA\" style=\"margin-bottom: 32rpx\">\n <image style=\"width: 32rpx; height: 32rpx\" src=\"/static/hotsearch.png\" mode=\"scaleToFill\" />\n <view class=\"hotsearchText\">热门搜索</view>\n </view>\n\n <!-- 热门搜索内容 -->\n <view class=\"hotCentent\">\n <view class=\"leftHotList\">\n <view\n class=\"flexA\"\n style=\"margin-bottom: 32rpx\"\n v-for=\"item in firstList\"\n :key=\"item.id\"\n @click=\"hotSearchHandler(item.title)\"\n >\n <view\n class=\"index\"\n :style=\"{ background: item.id == 1 ? '#f03f30' : item.id == 2 ? '#f2b738' : item.id == 3 ? '#a3b5e1' : '' }\"\n >\n {{ item.id }}\n </view>\n <text>{{ item.title }}</text>\n </view>\n </view>\n <view class=\"line\"></view>\n <view class=\"rightHotList\">\n <view\n class=\"flexA\"\n style=\"margin-bottom: 32rpx\"\n v-for=\"item in secondList\"\n :key=\"item.id\"\n @click=\"hotSearchHandler(item.title)\"\n >\n <view class=\"index\">{{ item.id }}</view>\n <text>{{ item.title }}</text>\n </view>\n </view>\n </view>\n </view>\n </view>\n </template>\n <template v-if=\"searchState == 0\">\n <view style=\"margin-top: 300rpx\">\n <u-empty />\n </view>\n <!-- <u-empty mode=\"car\" icon=\"http://cdn.uviewui.com/uview/empty/car.png\"></u-empty> -->\n </template>\n <template v-if=\"searchState == 1\">\n <!-- <view v-for=\"item in searchList1\" :key=\"item.id\">\n {{ item.title }}\n <image style=\"width: 200rpx; height: 300rpx\" :src=\"item.image\" mode=\"scaleToFill\" />\n {{ item.content }}\n </view> -->\n <view class=\"mainBox\">\n <custom-waterfalls-flow :value=\"searchList1\" imageKey=\"image\" :seat=\"2\">\n <view class=\"item\" v-for=\"(item, index) in searchList1\" :key=\"index\" slot=\"slot{{index}}\">\n <view class=\"title flexC\">{{ item.title }}</view>\n <view class=\"flexJ\">\n <view class=\"flexA headerBox\">\n <image :src=\"item.user.avatar\" mode=\"scaleToFill\" />\n <view>{{item.user.user_name}}</view>\n </view>\n <view class=\"flexA\">\n <u-rate activeIcon=\"heart-fill\" inactiveIcon=\"heart\" :count=\"count\" v-model=\"value\"></u-rate>\n <view class=\"numText\">{{ item.id }}</view>\n </view>\n </view>\n </view>\n </custom-waterfalls-flow>\n </view>\n </template>\n\n <!-- <view @click=\"toListHandler\">跳转列表搜索</view> -->\n </view>\n</template>\n\n<script>\nimport { getList } from '@/api'\nexport default {\n data() {\n return {\n list1: [\n {\n name: '美容美发',\n },\n {\n name: '长发造型',\n },\n {\n name: '好物分享',\n },\n {\n name: '吹风机',\n },\n {\n name: '好物评测',\n },\n ],\n list: [],\n // 未选择样式\n inactiveStyle: {\n color: 'rgba(0,0,0,0.4)',\n fontSize: '27rpx',\n },\n // 选择样式\n activeStyle: {\n color: 'rgba(50, 50, 51, 1)',\n fontSize: '27rpx',\n fontWeight: '700',\n },\n hotList: [\n { id: 1, title: '小米春季新款吹风机' },\n { id: 2, title: 'Dyson黑色吹风机' },\n { id: 3, title: '便宜好用的吹风机' },\n { id: 4, title: '小米春季新款吹风机' },\n { id: 5, title: '高端吹风机' },\n { id: 6, title: '小米春季新款吹风机' },\n { id: 7, title: 'supersonic吹风机' },\n { id: 8, title: '超低价吹风机' },\n { id: 9, title: '明星同款吹风机' },\n { id: 10, title: '万能吹风机' },\n ],\n firstList: [],\n secondList: [],\n // 清空历史记录参数\n historyListShow: false,\n content: '您确定要清空历史记录吗?',\n // 搜索结果 0 有结果 1没有结果\n searchState: 2,\n historyGoodsSearchList: [],\n searchList: [],\n // 搜索框值\n searchValue: '',\n // 热门搜索数据\n hotSearchList: [],\n // 搜索出来的内容\n searchList1: [],\n curPage: 1,\n count: 1,\n value: 1,\n }\n },\n onLoad(options) {\n this.firstList = this.hotList.slice(0, 5)\n this.secondList = this.hotList.slice(5)\n this.historyGoodsSearchList = uni.getStorageSync('historySearchList', this.historyGoodsSearchList) || []\n },\n methods: {\n // async getList(val) {\n // const { data } = await getList({\n // type_id: '', //\tinteger\t否\t论坛类型\n // keywords: val, //\tstring\t否\t关键词\n // order: 1, //\tstring\t是\t排序,1:评论,0:时间\n // page: 1, //\tinteger\t是\t页码\n // rows: 4, //\tinteger\t是\t条数\n // })\n // console.log(data)\n // if (data.data.length == 0) {\n // this.searchState = 0\n // } else {\n // this.searchState = 1\n // setTimeout(() => {\n // this.searchList1 = data.data\n // this.searchList1.forEach((item, index) => {\n // item.image = JSON.parse(data.data[index].file).imgList[0]\n // })\n // },600)\n // }\n // },\n async getList(val) {\n const { data } = await getList({\n type_id: '', //\tinteger\t否\t论坛类型\n keywords: val || '', //\tstring\t否\t关键词\n order: 1, //\tstring\t是\t排序,1:评论,0:时间\n page: this.curPage, //\tinteger\t是\t页码\n rows: 13, //\tinteger\t是\t条数\n })\n console.log(data)\n if (data.data.length == 0) {\n this.searchState = 0\n } else {\n this.searchState = 1\n setTimeout(() => {\n this.last_page = data.last_page\n // this.list = this.list.concat(data.data)\n this.searchList1 = data.data\n this.searchList1.forEach((item, index) => {\n item.image = JSON.parse(data.data[index].file).imgList[0]\n })\n }, 300)\n }\n },\n // 确定清空历史搜索记录\n confirmRemoveHistorySearchHandler() {\n uni.removeStorageSync('historySearchList')\n this.historyGoodsSearchList = []\n this.historyListShow = false\n uni.showToast({\n title: '清空历史记录成功',\n icon: 'success',\n })\n },\n // 搜索\n searchHandler1(val) {\n this.historyGoodsSearchList.indexOf(this.searchValue) == '-1'\n ? (() => {\n this.historyGoodsSearchList.push(this.searchValue)\n uni.setStorageSync('historySearchList', this.historyGoodsSearchList)\n if (this.historyGoodsSearchList.length > 10) {\n this.historyGoodsSearchList.shift()\n }\n // 调接口\n this.getList(val)\n })()\n : // : ''\n // 调接口\n this.getList(val)\n },\n // 热门搜索\n hotSearchHandler(val) {\n console.log(val)\n this.historyGoodsSearchList.indexOf(val) == '-1'\n ? (() => {\n this.historyGoodsSearchList.push(val)\n uni.setStorageSync('historySearchList', this.historyGoodsSearchList)\n if (this.historyGoodsSearchList.length > 10) {\n this.historyGoodsSearchList.shift()\n }\n // 调接口\n this.getList(val)\n })()\n : // : ''\n // 调接口\n this.getList(val)\n },\n toListHandler() {\n uni.navigateTo({ url: '/pages/index/list' })\n },\n },\n}\n</script>\n\n<style lang=\"scss\">\npage {\n background: #fff;\n}\n.topSearchBox {\n margin-right: 118rpx;\n}\n.mainBox {\n padding: 34rpx 32rpx 0;\n box-sizing: border-box;\n}\n.historyText {\n color: rgba(50, 50, 51, 1);\n font-size: 28rpx;\n font-weight: 700;\n margin-bottom: 32rpx;\n}\n.historySearchBox {\n flex-wrap: wrap;\n}\n.u-search__content {\n min-width: 426rpx !important;\n}\n/* .noSearchList {\n height: 100vh;\n background: #f6f8fa;\n} */\n.historySearchText {\n padding: 8rpx 12rpx;\n box-sizing: border-box;\n border-radius: 154rpx;\n background: rgba(247, 248, 250, 1);\n margin-right: 24rpx;\n margin-bottom: 24rpx;\n color: rgba(0, 0, 0, 0.9);\n font-size: 24rpx;\n}\n.hotsearchText {\n color: rgba(50, 50, 51, 1);\n font-size: 28rpx;\n font-weight: 700;\n margin-left: 10rpx;\n}\n.hotSearchBox {\n margin-top: 40rpx;\n border-radius: 20rpx;\n padding: 32rpx;\n box-sizing: border-box;\n background: linear-gradient(180.1deg, rgba(254, 242, 240, 1) 0%, rgba(255, 251, 248, 1) 35%, rgba(255, 255, 255, 0) 100%);\n}\n.hotCentent {\n display: flex;\n > .line {\n height: 328rpx;\n width: 2rpx;\n background: #e5e8ec;\n margin-right: 24rpx;\n }\n > .leftHotList {\n width: 286rpx;\n height: 40rpx;\n .index {\n width: 24rpx;\n height: 24rpx;\n border-radius: 8rpx;\n background: rgba(200, 201, 204, 1);\n color: rgba(255, 255, 255, 1);\n font-size: 20rpx;\n text-align: center;\n margin-right: 16rpx;\n }\n text {\n color: rgba(50, 50, 51, 1);\n font-size: 26rpx;\n }\n > .flexB {\n margin-bottom: 32rpx;\n }\n }\n > .rightHotList {\n width: 286rpx;\n height: 40rpx;\n .index {\n width: 24rpx;\n height: 24rpx;\n border-radius: 8rpx;\n background: rgba(200, 201, 204, 1);\n color: rgba(255, 255, 255, 1);\n font-size: 20rpx;\n text-align: center;\n margin-right: 16rpx;\n }\n text {\n color: rgba(50, 50, 51, 1);\n font-size: 26rpx;\n }\n > .flexB {\n margin-bottom: 32rpx;\n }\n }\n}\n\n.title {\n color: rgba(0, 0, 0, 0.9);\n font-size: 28rpx;\n margin: 16rpx 0;\n}\n.headerBox {\n color: rgba(0, 0, 0, 0.6);\n font-size: 24rpx;\n image {\n width: 48rpx;\n height: 48rpx;\n border-radius: 50%;\n margin-right: 8rpx;\n }\n}\n.item {\n padding: 0 16rpx 16rpx;\n box-sizing: border-box;\n}\n.numText {\n color: rgba(0, 0, 0, 0.4);\n font-size: 24rpx;\n margin-left: 8rpx;\n}\n</style>\n","import mod from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/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 \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/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 // 1669290144337\n var cssReload = require(\"D:/高级前台制作/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":""}
\ No newline at end of file
... ...
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/vue/kaoshi3/pages/index/list.vue?6161","webpack:///D:/vue/kaoshi3/pages/index/list.vue?569a","webpack:///D:/vue/kaoshi3/pages/index/list.vue?1ec6","webpack:///D:/vue/kaoshi3/pages/index/list.vue?3444","uni-app:///pages/index/list.vue","webpack:///D:/vue/kaoshi3/pages/index/list.vue?4f14","webpack:///D:/vue/kaoshi3/pages/index/list.vue?a8a3"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,2F,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,aAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiH;AACjH;AACwD;AACL;AACc;;;AAGjE;AAC0K;AAC1K,gBAAgB,6KAAU;AAC1B,EAAE,0EAAM;AACR,EAAE,+EAAM;AACR,EAAE,wFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mFAAU;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,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,4QAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/DA;AAAA;AAAA;AAAA;AAAooB,CAAgB,8mBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoExpB,iD;AACA;AACA,MADA,kBACA;AACA;AACA;AACA;AACA,oBADA,EADA;;AAIA;AACA,oBADA,EAJA;;AAOA;AACA,oBADA,EAPA;;AAUA;AACA,mBADA,EAVA;;AAaA;AACA,oBADA,EAbA,CADA;;;AAkBA,cAlBA;AAmBA;AACA;AACA,gCADA;AAEA,yBAFA,EApBA;;AAwBA;AACA;AACA,oCADA;AAEA,yBAFA;AAGA,yBAHA,EAzBA;;AA8BA,cA9BA;AA+BA,cA/BA;AAgCA,oBAhCA;AAiCA;AACA,qBAlCA;AAmCA,qBAnCA;AAoCA,gBApCA;AAqCA,kBArCA;;AAuCA,GAzCA;AA0CA,SA1CA,qBA0CA;AACA;AACA;AACA;AACA,gOADA,CADA;;;AAKA,GAjDA;AAkDA,eAlDA,2BAkDA;AACA;AACA;AACA;AACA,wBADA;AAEA,oBAFA;AAGA,kBAHA;;AAKA,KANA,MAMA;AACA;AACA;AACA;AACA,GA9DA;AA+DA;AACA,WADA,mBACA,GADA,EACA;AACA;AACA,+BADA,EACA;AACA,uCAFA,EAEA;AACA,4BAHA,EAGA;AACA,uCAJA,EAIA;AACA,4BALA,CAKA;AALA,oBADA,yCACA,IADA,mBACA,IADA;AAQA;AACA;AACA;AACA,iBAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAFA;AAGA,mBAPA,EAOA,GAPA;AAQA,iBArBA;AAsBA,KAvBA,EA/DA,E;;;;;;;;;;;;;ACrEA;AAAA;AAAA;AAAA;AAA2sC,CAAgB,6lCAAG,EAAC,C;;;;;;;;;;;ACA/tC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/list.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/list.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./list.vue?vue&type=template&id=fc532118&\"\nvar renderjs\nimport script from \"./list.vue?vue&type=script&lang=js&\"\nexport * from \"./list.vue?vue&type=script&lang=js&\"\nimport style0 from \"./list.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../高级前台制作/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/index/list.vue\"\nexport default component.exports","export * from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./list.vue?vue&type=template&id=fc532118&\"","var components\ntry {\n components = {\n uSticky: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-sticky/u-sticky\" */ \"uview-ui/components/u-sticky/u-sticky.vue\"\n )\n },\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uSearch: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-search/u-search\" */ \"uview-ui/components/u-search/u-search.vue\"\n )\n },\n uTabs: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-tabs/u-tabs\" */ \"uview-ui/components/u-tabs/u-tabs.vue\"\n )\n },\n customWaterfallsFlow: function() {\n return import(\n /* webpackChunkName: \"components/custom-waterfalls-flow/custom-waterfalls-flow\" */ \"@/components/custom-waterfalls-flow/custom-waterfalls-flow.vue\"\n )\n },\n uRate: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-rate/u-rate\" */ \"uview-ui/components/u-rate/u-rate.vue\"\n )\n },\n uEmpty: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-empty/u-empty\" */ \"uview-ui/components/u-empty/u-empty.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}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./list.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./list.vue?vue&type=script&lang=js&\"","<template>\r\n <view>\r\n <!-- 顶部navbar -->\r\n <u-sticky bgColor=\"#fff\">\r\n <u-navbar @rightClick=\"rightClick\" placeholder :autoBack=\"true\">\r\n <template #center>\r\n <view class=\"topSearchBox\">\r\n <u-search\r\n placeholder=\"请输入商家名称\"\r\n :clearabled=\"true\"\r\n :showAction=\"false\"\r\n v-model=\"searchValue\"\r\n @search=\"getList\"\r\n ></u-search>\r\n </view>\r\n </template>\r\n </u-navbar>\r\n\r\n <!-- 粘性tabs -->\r\n\r\n <u-tabs\r\n :list=\"list1\"\r\n :lineWidth=\"40\"\r\n lineColor=\"#6E16FF\"\r\n :inactiveStyle=\"inactiveStyle\"\r\n :activeStyle=\"activeStyle\"\r\n :scrollable=\"false\"\r\n ></u-tabs>\r\n </u-sticky>\r\n\r\n <!-- 列表版心 -->\r\n <template v-if=\"searchState == 1\">\r\n <view class=\"mainBox\">\r\n <custom-waterfalls-flow :value=\"list\" imageKey=\"image\" :seat=\"2\">\r\n <view class=\"item\" v-for=\"(item, index) in list\" :key=\"index\" slot=\"slot{{index}}\">\r\n <view class=\"title flexC\">{{ item.title }}</view>\r\n <view class=\"flexJ\">\r\n <view class=\"flexA headerBox\">\r\n <image src=\"/static/headImg.jpg\" mode=\"scaleToFill\" />\r\n <view>桥志三</view>\r\n </view>\r\n <view class=\"flexA\">\r\n <u-rate activeIcon=\"heart-fill\" inactiveIcon=\"heart\" :count=\"count\" v-model=\"value\"></u-rate>\r\n <view class=\"numText\">{{ item.id }}</view>\r\n </view>\r\n </view>\r\n </view>\r\n </custom-waterfalls-flow>\r\n </view>\r\n </template>\r\n\r\n <template v-if=\"searchState == 0\">\r\n <view style=\"margin-top: 300rpx\">\r\n <u-empty />\r\n </view>\r\n <!-- <u-empty mode=\"car\" icon=\"http://cdn.uviewui.com/uview/empty/car.png\"></u-empty> -->\r\n </template>\r\n <!-- <template v-if=\"searchState == 1\">\r\n <view v-for=\"item in searchList1\" :key=\"item.id\">\r\n {{ item.title }}\r\n {{ item.id }}\r\n {{ item.content }}\r\n </view>\r\n </template> -->\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport { getList } from '@/api'\r\nexport default {\r\n data() {\r\n return {\r\n list1: [\r\n {\r\n name: '美容美发',\r\n },\r\n {\r\n name: '长发造型',\r\n },\r\n {\r\n name: '好物分享',\r\n },\r\n {\r\n name: '吹风机',\r\n },\r\n {\r\n name: '好物评测',\r\n },\r\n ],\r\n list: [],\r\n // 未选择样式\r\n inactiveStyle: {\r\n color: 'rgba(0,0,0,0.4)',\r\n fontSize: '27rpx',\r\n },\r\n // 选择样式\r\n activeStyle: {\r\n color: 'rgba(50, 50, 51, 1)',\r\n fontSize: '27rpx',\r\n fontWeight: '700',\r\n },\r\n count: 1,\r\n value: 1,\r\n searchState: 1,\r\n //\r\n searchValue: '',\r\n searchList1: [],\r\n curPage: 1,\r\n last_page: 1,\r\n }\r\n },\r\n created() {\r\n this.getList()\r\n console.log(\r\n JSON.parse(\r\n '{\"video\":\"\",\"imgList\":[\"https:\\\\/\\\\/image.hairshop.vip\\\\/uploads\\\\/20220616\\\\/5998d3e20a0035e7874c4ae953659675.jpg\"],\"cover\":\"https:\\\\/\\\\/image.hairshop.vip\\\\/uploads\\\\/20220616\\\\/5998d3e20a0035e7874c4ae953659675.jpg\"}'\r\n )\r\n )\r\n },\r\n onReachBottom() {\r\n console.log('到底了')\r\n if (this.curPage === this.last_page) {\r\n uni.showToast({\r\n title: '没有更多数据了',\r\n icon: 'none',\r\n mask: true,\r\n })\r\n } else {\r\n this.curPage = this.curPage + 1\r\n this.getList()\r\n }\r\n },\r\n methods: {\r\n async getList(val) {\r\n const { data } = await getList({\r\n type_id: '', //\tinteger\t否\t论坛类型\r\n keywords: val || '', //\tstring\t否\t关键词\r\n order: 1, //\tstring\t是\t排序,1:评论,0:时间\r\n page: this.curPage, //\tinteger\t是\t页码\r\n rows: 13, //\tinteger\t是\t条数\r\n })\r\n console.log(data)\r\n if (data.data.length == 0) {\r\n this.searchState = 0\r\n } else {\r\n this.searchState = 1\r\n setTimeout(() => {\r\n this.last_page = data.last_page\r\n // this.list = this.list.concat(data.data)\r\n this.list = data.data\r\n this.list.forEach((item, index) => {\r\n item.image = JSON.parse(data.data[index].file).imgList[0]\r\n })\r\n }, 300)\r\n }\r\n },\r\n },\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n.topSearchBox {\r\n margin-right: 118rpx;\r\n}\r\npage {\r\n background: #f7f8fa;\r\n}\r\n.u-search__content {\r\n min-width: 426rpx !important;\r\n}\r\n.title {\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 28rpx;\r\n margin: 16rpx 0;\r\n}\r\n.headerBox {\r\n color: rgba(0, 0, 0, 0.6);\r\n font-size: 24rpx;\r\n image {\r\n width: 48rpx;\r\n height: 48rpx;\r\n border-radius: 50%;\r\n margin-right: 8rpx;\r\n }\r\n}\r\n.item {\r\n padding: 0 16rpx 16rpx;\r\n box-sizing: border-box;\r\n}\r\n.numText {\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 24rpx;\r\n margin-left: 8rpx;\r\n}\r\n.mainBox {\r\n width: 100%;\r\n height: 100%;\r\n padding: 16rpx;\r\n box-sizing: border-box;\r\n}\r\n</style>\r\n","import mod from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./list.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./list.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669288653858\n var cssReload = require(\"D:/高级前台制作/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":""}
\ No newline at end of file
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/vue/kaoshi3/pages/index/list.vue?6161","webpack:///D:/vue/kaoshi3/pages/index/list.vue?569a","webpack:///D:/vue/kaoshi3/pages/index/list.vue?1ec6","webpack:///D:/vue/kaoshi3/pages/index/list.vue?3444","uni-app:///pages/index/list.vue","webpack:///D:/vue/kaoshi3/pages/index/list.vue?4f14","webpack:///D:/vue/kaoshi3/pages/index/list.vue?a8a3"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,2F,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,aAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiH;AACjH;AACwD;AACL;AACc;;;AAGjE;AAC0K;AAC1K,gBAAgB,6KAAU;AAC1B,EAAE,0EAAM;AACR,EAAE,+EAAM;AACR,EAAE,wFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mFAAU;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,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,4QAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/DA;AAAA;AAAA;AAAA;AAAooB,CAAgB,8mBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmExpB,iD;AACA;AACA,MADA,kBACA;AACA;AACA;AACA;AACA,oBADA,EADA;;AAIA;AACA,oBADA,EAJA;;AAOA;AACA,oBADA,EAPA;;AAUA;AACA,mBADA,EAVA;;AAaA;AACA,oBADA,EAbA,CADA;;;AAkBA,cAlBA;AAmBA;AACA;AACA,gCADA;AAEA,yBAFA,EApBA;;AAwBA;AACA;AACA,oCADA;AAEA,yBAFA;AAGA,yBAHA,EAzBA;;AA8BA,cA9BA;AA+BA,cA/BA;AAgCA,oBAhCA;AAiCA;AACA,qBAlCA;AAmCA,qBAnCA;AAoCA,gBApCA;AAqCA,kBArCA;;AAuCA,GAzCA;AA0CA,SA1CA,qBA0CA;AACA;AACA;AACA;AACA,gOADA,CADA;;;AAKA,GAjDA;AAkDA,eAlDA,2BAkDA;AACA;AACA;AACA;AACA,wBADA;AAEA,oBAFA;AAGA,kBAHA;;AAKA,KANA,MAMA;AACA;AACA;AACA;AACA,GA9DA;AA+DA;AACA,WADA,mBACA,GADA,EACA;AACA;AACA,+BADA,EACA;AACA,uCAFA,EAEA;AACA,4BAHA,EAGA;AACA,uCAJA,EAIA;AACA,4BALA,CAKA;AALA,oBADA,yCACA,IADA,mBACA,IADA;AAQA;AACA;AACA;AACA,iBAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAFA;AAGA,mBAPA,EAOA,GAPA;AAQA,iBArBA;AAsBA,KAvBA,EA/DA,E;;;;;;;;;;;;;ACpEA;AAAA;AAAA;AAAA;AAA2sC,CAAgB,6lCAAG,EAAC,C;;;;;;;;;;;ACA/tC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/list.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/list.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./list.vue?vue&type=template&id=fc532118&\"\nvar renderjs\nimport script from \"./list.vue?vue&type=script&lang=js&\"\nexport * from \"./list.vue?vue&type=script&lang=js&\"\nimport style0 from \"./list.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../高级前台制作/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/index/list.vue\"\nexport default component.exports","export * from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./list.vue?vue&type=template&id=fc532118&\"","var components\ntry {\n components = {\n uSticky: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-sticky/u-sticky\" */ \"uview-ui/components/u-sticky/u-sticky.vue\"\n )\n },\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uSearch: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-search/u-search\" */ \"uview-ui/components/u-search/u-search.vue\"\n )\n },\n uTabs: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-tabs/u-tabs\" */ \"uview-ui/components/u-tabs/u-tabs.vue\"\n )\n },\n customWaterfallsFlow: function() {\n return import(\n /* webpackChunkName: \"components/custom-waterfalls-flow/custom-waterfalls-flow\" */ \"@/components/custom-waterfalls-flow/custom-waterfalls-flow.vue\"\n )\n },\n uRate: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-rate/u-rate\" */ \"uview-ui/components/u-rate/u-rate.vue\"\n )\n },\n uEmpty: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-empty/u-empty\" */ \"uview-ui/components/u-empty/u-empty.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}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./list.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./list.vue?vue&type=script&lang=js&\"","<template>\r\n <view>\r\n <!-- 顶部navbar -->\r\n <u-sticky bgColor=\"#fff\">\r\n <u-navbar @rightClick=\"rightClick\" placeholder :autoBack=\"true\">\r\n <template #center>\r\n <view class=\"topSearchBox\">\r\n <u-search\r\n placeholder=\"请输入商家名称\"\r\n :clearabled=\"true\"\r\n :showAction=\"false\"\r\n v-model=\"searchValue\"\r\n @search=\"getList\"\r\n ></u-search>\r\n </view>\r\n </template>\r\n </u-navbar>\r\n\r\n <!-- 粘性tabs -->\r\n <u-tabs\r\n :list=\"list1\"\r\n :lineWidth=\"40\"\r\n lineColor=\"#6E16FF\"\r\n :inactiveStyle=\"inactiveStyle\"\r\n :activeStyle=\"activeStyle\"\r\n :scrollable=\"false\"\r\n ></u-tabs>\r\n </u-sticky>\r\n\r\n <!-- 列表版心 -->\r\n <template v-if=\"searchState == 1\">\r\n <view class=\"mainBox\">\r\n <custom-waterfalls-flow :value=\"list\" imageKey=\"image\" :seat=\"2\">\r\n <view class=\"item\" v-for=\"(item, index) in list\" :key=\"index\" slot=\"slot{{index}}\">\r\n <view class=\"title flexC\">{{ item.title }}</view>\r\n <view class=\"flexJ\">\r\n <view class=\"flexA headerBox\">\r\n <image src=\"/static/headImg.jpg\" mode=\"scaleToFill\" />\r\n <view>桥志三</view>\r\n </view>\r\n <view class=\"flexA\">\r\n <u-rate activeIcon=\"heart-fill\" inactiveIcon=\"heart\" :count=\"count\" v-model=\"value\"></u-rate>\r\n <view class=\"numText\">{{ item.id }}</view>\r\n </view>\r\n </view>\r\n </view>\r\n </custom-waterfalls-flow>\r\n </view>\r\n </template>\r\n\r\n <template v-if=\"searchState == 0\">\r\n <view style=\"margin-top: 300rpx\">\r\n <u-empty />\r\n </view>\r\n <!-- <u-empty mode=\"car\" icon=\"http://cdn.uviewui.com/uview/empty/car.png\"></u-empty> -->\r\n </template>\r\n <!-- <template v-if=\"searchState == 1\">\r\n <view v-for=\"item in searchList1\" :key=\"item.id\">\r\n {{ item.title }}\r\n {{ item.id }}\r\n {{ item.content }}\r\n </view>\r\n </template> -->\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport { getList } from '@/api'\r\nexport default {\r\n data() {\r\n return {\r\n list1: [\r\n {\r\n name: '美容美发',\r\n },\r\n {\r\n name: '长发造型',\r\n },\r\n {\r\n name: '好物分享',\r\n },\r\n {\r\n name: '吹风机',\r\n },\r\n {\r\n name: '好物评测',\r\n },\r\n ],\r\n list: [],\r\n // 未选择样式\r\n inactiveStyle: {\r\n color: 'rgba(0,0,0,0.4)',\r\n fontSize: '27rpx',\r\n },\r\n // 选择样式\r\n activeStyle: {\r\n color: 'rgba(50, 50, 51, 1)',\r\n fontSize: '27rpx',\r\n fontWeight: '700',\r\n },\r\n count: 1,\r\n value: 1,\r\n searchState: 1,\r\n //\r\n searchValue: '',\r\n searchList1: [],\r\n curPage: 1,\r\n last_page: 1,\r\n }\r\n },\r\n created() {\r\n this.getList()\r\n console.log(\r\n JSON.parse(\r\n '{\"video\":\"\",\"imgList\":[\"https:\\\\/\\\\/image.hairshop.vip\\\\/uploads\\\\/20220616\\\\/5998d3e20a0035e7874c4ae953659675.jpg\"],\"cover\":\"https:\\\\/\\\\/image.hairshop.vip\\\\/uploads\\\\/20220616\\\\/5998d3e20a0035e7874c4ae953659675.jpg\"}'\r\n )\r\n )\r\n },\r\n onReachBottom() {\r\n console.log('到底了')\r\n if (this.curPage === this.last_page) {\r\n uni.showToast({\r\n title: '没有更多数据了',\r\n icon: 'none',\r\n mask: true,\r\n })\r\n } else {\r\n this.curPage = this.curPage + 1\r\n this.getList()\r\n }\r\n },\r\n methods: {\r\n async getList(val) {\r\n const { data } = await getList({\r\n type_id: '', //\tinteger\t否\t论坛类型\r\n keywords: val || '', //\tstring\t否\t关键词\r\n order: 1, //\tstring\t是\t排序,1:评论,0:时间\r\n page: this.curPage, //\tinteger\t是\t页码\r\n rows: 13, //\tinteger\t是\t条数\r\n })\r\n console.log(data)\r\n if (data.data.length == 0) {\r\n this.searchState = 0\r\n } else {\r\n this.searchState = 1\r\n setTimeout(() => {\r\n this.last_page = data.last_page\r\n // this.list = this.list.concat(data.data)\r\n this.list = data.data\r\n this.list.forEach((item, index) => {\r\n item.image = JSON.parse(data.data[index].file).imgList[0]\r\n })\r\n }, 300)\r\n }\r\n },\r\n },\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n.topSearchBox {\r\n margin-right: 118rpx;\r\n}\r\npage {\r\n background: #f7f8fa;\r\n}\r\n.u-search__content {\r\n min-width: 426rpx !important;\r\n}\r\n.title {\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 28rpx;\r\n margin: 16rpx 0;\r\n}\r\n.headerBox {\r\n color: rgba(0, 0, 0, 0.6);\r\n font-size: 24rpx;\r\n image {\r\n width: 48rpx;\r\n height: 48rpx;\r\n border-radius: 50%;\r\n margin-right: 8rpx;\r\n }\r\n}\r\n.item {\r\n padding: 0 16rpx 16rpx;\r\n box-sizing: border-box;\r\n}\r\n.numText {\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 24rpx;\r\n margin-left: 8rpx;\r\n}\r\n.mainBox {\r\n width: 100%;\r\n height: 100%;\r\n padding: 16rpx;\r\n box-sizing: border-box;\r\n}\r\n</style>\r\n","import mod from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./list.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./list.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1669289485762\n var cssReload = require(\"D:/高级前台制作/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":""}
\ No newline at end of file
... ...
... ... @@ -105,11 +105,11 @@
/******/
/******/
/******/ // mini-css-extract-plugin CSS loading
/******/ var cssChunks = {"node-modules/uview-ui/components/u-empty/u-empty":1,"node-modules/uview-ui/components/u-icon/u-icon":1,"node-modules/uview-ui/components/u-modal/u-modal":1,"node-modules/uview-ui/components/u-navbar/u-navbar":1,"node-modules/uview-ui/components/u-search/u-search":1,"node-modules/uview-ui/components/u-rate/u-rate":1,"node-modules/uview-ui/components/u-sticky/u-sticky":1,"node-modules/uview-ui/components/u-tabs/u-tabs":1,"components/custom-waterfalls-flow/custom-waterfalls-flow":1,"node-modules/uview-ui/components/u-line/u-line":1,"node-modules/uview-ui/components/u-loading-icon/u-loading-icon":1,"node-modules/uview-ui/components/u-popup/u-popup":1,"node-modules/uview-ui/components/u-status-bar/u-status-bar":1,"node-modules/uview-ui/components/u-badge/u-badge":1,"node-modules/uview-ui/components/u-overlay/u-overlay":1,"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom":1,"node-modules/uview-ui/components/u-transition/u-transition":1};
/******/ var cssChunks = {"node-modules/uview-ui/components/u-empty/u-empty":1,"node-modules/uview-ui/components/u-icon/u-icon":1,"node-modules/uview-ui/components/u-modal/u-modal":1,"node-modules/uview-ui/components/u-navbar/u-navbar":1,"node-modules/uview-ui/components/u-rate/u-rate":1,"node-modules/uview-ui/components/u-search/u-search":1,"node-modules/uview-ui/components/u-sticky/u-sticky":1,"node-modules/uview-ui/components/u-tabs/u-tabs":1,"components/custom-waterfalls-flow/custom-waterfalls-flow":1,"node-modules/uview-ui/components/u-line/u-line":1,"node-modules/uview-ui/components/u-loading-icon/u-loading-icon":1,"node-modules/uview-ui/components/u-popup/u-popup":1,"node-modules/uview-ui/components/u-status-bar/u-status-bar":1,"node-modules/uview-ui/components/u-badge/u-badge":1,"node-modules/uview-ui/components/u-overlay/u-overlay":1,"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom":1,"node-modules/uview-ui/components/u-transition/u-transition":1};
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
/******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
/******/ var href = "" + ({"node-modules/uview-ui/components/u-empty/u-empty":"node-modules/uview-ui/components/u-empty/u-empty","node-modules/uview-ui/components/u-icon/u-icon":"node-modules/uview-ui/components/u-icon/u-icon","node-modules/uview-ui/components/u-modal/u-modal":"node-modules/uview-ui/components/u-modal/u-modal","node-modules/uview-ui/components/u-navbar/u-navbar":"node-modules/uview-ui/components/u-navbar/u-navbar","node-modules/uview-ui/components/u-search/u-search":"node-modules/uview-ui/components/u-search/u-search","node-modules/uview-ui/components/u-rate/u-rate":"node-modules/uview-ui/components/u-rate/u-rate","node-modules/uview-ui/components/u-sticky/u-sticky":"node-modules/uview-ui/components/u-sticky/u-sticky","node-modules/uview-ui/components/u-tabs/u-tabs":"node-modules/uview-ui/components/u-tabs/u-tabs","components/custom-waterfalls-flow/custom-waterfalls-flow":"components/custom-waterfalls-flow/custom-waterfalls-flow","node-modules/uview-ui/components/u-line/u-line":"node-modules/uview-ui/components/u-line/u-line","node-modules/uview-ui/components/u-loading-icon/u-loading-icon":"node-modules/uview-ui/components/u-loading-icon/u-loading-icon","node-modules/uview-ui/components/u-popup/u-popup":"node-modules/uview-ui/components/u-popup/u-popup","node-modules/uview-ui/components/u-status-bar/u-status-bar":"node-modules/uview-ui/components/u-status-bar/u-status-bar","node-modules/uview-ui/components/u-badge/u-badge":"node-modules/uview-ui/components/u-badge/u-badge","node-modules/uview-ui/components/u-overlay/u-overlay":"node-modules/uview-ui/components/u-overlay/u-overlay","node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom":"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom","node-modules/uview-ui/components/u-transition/u-transition":"node-modules/uview-ui/components/u-transition/u-transition"}[chunkId]||chunkId) + ".wxss";
/******/ var href = "" + ({"node-modules/uview-ui/components/u-empty/u-empty":"node-modules/uview-ui/components/u-empty/u-empty","node-modules/uview-ui/components/u-icon/u-icon":"node-modules/uview-ui/components/u-icon/u-icon","node-modules/uview-ui/components/u-modal/u-modal":"node-modules/uview-ui/components/u-modal/u-modal","node-modules/uview-ui/components/u-navbar/u-navbar":"node-modules/uview-ui/components/u-navbar/u-navbar","node-modules/uview-ui/components/u-rate/u-rate":"node-modules/uview-ui/components/u-rate/u-rate","node-modules/uview-ui/components/u-search/u-search":"node-modules/uview-ui/components/u-search/u-search","node-modules/uview-ui/components/u-sticky/u-sticky":"node-modules/uview-ui/components/u-sticky/u-sticky","node-modules/uview-ui/components/u-tabs/u-tabs":"node-modules/uview-ui/components/u-tabs/u-tabs","components/custom-waterfalls-flow/custom-waterfalls-flow":"components/custom-waterfalls-flow/custom-waterfalls-flow","node-modules/uview-ui/components/u-line/u-line":"node-modules/uview-ui/components/u-line/u-line","node-modules/uview-ui/components/u-loading-icon/u-loading-icon":"node-modules/uview-ui/components/u-loading-icon/u-loading-icon","node-modules/uview-ui/components/u-popup/u-popup":"node-modules/uview-ui/components/u-popup/u-popup","node-modules/uview-ui/components/u-status-bar/u-status-bar":"node-modules/uview-ui/components/u-status-bar/u-status-bar","node-modules/uview-ui/components/u-badge/u-badge":"node-modules/uview-ui/components/u-badge/u-badge","node-modules/uview-ui/components/u-overlay/u-overlay":"node-modules/uview-ui/components/u-overlay/u-overlay","node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom":"node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom","node-modules/uview-ui/components/u-transition/u-transition":"node-modules/uview-ui/components/u-transition/u-transition"}[chunkId]||chunkId) + ".wxss";
/******/ var fullhref = __webpack_require__.p + href;
/******/ var existingLinkTags = document.getElementsByTagName("link");
/******/ for(var i = 0; i < existingLinkTags.length; i++) {
... ...
... ... @@ -95,12 +95,18 @@ __webpack_require__.r(__webpack_exports__);
var components
try {
components = {
uSticky: function() {
return Promise.all(/*! import() | node-modules/uview-ui/components/u-sticky/u-sticky */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-sticky/u-sticky")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-sticky/u-sticky.vue */ 195))
},
uNavbar: function() {
return Promise.all(/*! import() | node-modules/uview-ui/components/u-navbar/u-navbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-navbar/u-navbar")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-navbar/u-navbar.vue */ 154))
},
uSearch: function() {
return Promise.all(/*! import() | node-modules/uview-ui/components/u-search/u-search */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-search/u-search")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-search/u-search.vue */ 162))
},
uTabs: function() {
return Promise.all(/*! import() | node-modules/uview-ui/components/u-tabs/u-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-tabs/u-tabs")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-tabs/u-tabs.vue */ 203))
},
uModal: function() {
return Promise.all(/*! import() | node-modules/uview-ui/components/u-modal/u-modal */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-modal/u-modal")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-modal/u-modal.vue */ 170))
},
... ... @@ -109,6 +115,12 @@ try {
},
uEmpty: function() {
return Promise.all(/*! import() | node-modules/uview-ui/components/u-empty/u-empty */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-empty/u-empty")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-empty/u-empty.vue */ 187))
},
customWaterfallsFlow: function() {
return __webpack_require__.e(/*! import() | components/custom-waterfalls-flow/custom-waterfalls-flow */ "components/custom-waterfalls-flow/custom-waterfalls-flow").then(__webpack_require__.bind(null, /*! @/components/custom-waterfalls-flow/custom-waterfalls-flow.vue */ 211))
},
uRate: function() {
return Promise.all(/*! import() | node-modules/uview-ui/components/u-rate/u-rate */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-rate/u-rate")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-rate/u-rate.vue */ 218))
}
}
} catch (e) {
... ... @@ -283,10 +295,68 @@ __webpack_require__.r(__webpack_exports__);
var _api = __webpack_require__(/*! @/api */ 142);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {try {var info = gen[key](arg);var value = info.value;} catch (error) {reject(error);return;}if (info.done) {resolve(value);} else {Promise.resolve(value).then(_next, _throw);}}function _asyncToGenerator(fn) {return function () {var self = this,args = arguments;return new Promise(function (resolve, reject) {var gen = fn.apply(self, args);function _next(value) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);}function _throw(err) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);}_next(undefined);});};}var _default =
{
data: function data() {
return {
list1: [
{
name: '美容美发' },
{
name: '长发造型' },
{
name: '好物分享' },
{
name: '吹风机' },
{
name: '好物评测' }],
list: [],
// 未选择样式
inactiveStyle: {
color: 'rgba(0,0,0,0.4)',
fontSize: '27rpx' },
// 选择样式
activeStyle: {
color: 'rgba(50, 50, 51, 1)',
fontSize: '27rpx',
fontWeight: '700' },
hotList: [
{ id: 1, title: '小米春季新款吹风机' },
{ id: 2, title: 'Dyson黑色吹风机' },
... ... @@ -313,7 +383,10 @@ var _api = __webpack_require__(/*! @/api */ 142);function _interopRequireDefault
// 热门搜索数据
hotSearchList: [],
// 搜索出来的内容
searchList1: [] };
searchList1: [],
curPage: 1,
count: 1,
value: 1 };
},
onLoad: function onLoad(options) {
... ... @@ -322,23 +395,48 @@ var _api = __webpack_require__(/*! @/api */ 142);function _interopRequireDefault
this.historyGoodsSearchList = uni.getStorageSync('historySearchList', this.historyGoodsSearchList) || [];
},
methods: {
// async getList(val) {
// const { data } = await getList({
// type_id: '', // integer 否 论坛类型
// keywords: val, // string 否 关键词
// order: 1, // string 是 排序,1:评论,0:时间
// page: 1, // integer 是 页码
// rows: 4, // integer 是 条数
// })
// console.log(data)
// if (data.data.length == 0) {
// this.searchState = 0
// } else {
// this.searchState = 1
// setTimeout(() => {
// this.searchList1 = data.data
// this.searchList1.forEach((item, index) => {
// item.image = JSON.parse(data.data[index].file).imgList[0]
// })
// },600)
// }
// },
getList: function getList(val) {var _this = this;return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee() {var _yield$_getList, data;return _regenerator.default.wrap(function _callee$(_context) {while (1) {switch (_context.prev = _context.next) {case 0:_context.next = 2;return (
(0, _api.getList)({
type_id: '', // integer 否 论坛类型
keywords: val, // string 否 关键词
keywords: val || '', // string 否 关键词
order: 1, // string 是 排序,1:评论,0:时间
page: 1, // integer 是 页码
rows: 4 // integer 是 条数
page: _this.curPage, // integer 是 页码
rows: 13 // integer 是 条数
}));case 2:_yield$_getList = _context.sent;data = _yield$_getList.data;
console.log(data);
if (data.data.length == 0) {
_this.searchState = 0;
} else {
_this.searchState = 1;
_this.searchList1 = data.data;
_this.searchList1.forEach(function (item, index) {
item.image = JSON.parse(data.data[index].file).imgList[0];
});
setTimeout(function () {
_this.last_page = data.last_page;
// this.list = this.list.concat(data.data)
_this.searchList1 = data.data;
_this.searchList1.forEach(function (item, index) {
item.image = JSON.parse(data.data[index].file).imgList[0];
});
}, 300);
}case 6:case "end":return _context.stop();}}}, _callee);}))();
},
// 确定清空历史搜索记录
... ...
... ... @@ -4,10 +4,14 @@
"navigationBarBackgroundColor": "#2466e4",
"navigationStyle": "custom",
"usingComponents": {
"u-sticky": "/node-modules/uview-ui/components/u-sticky/u-sticky",
"u-navbar": "/node-modules/uview-ui/components/u-navbar/u-navbar",
"u-search": "/node-modules/uview-ui/components/u-search/u-search",
"u-tabs": "/node-modules/uview-ui/components/u-tabs/u-tabs",
"u-modal": "/node-modules/uview-ui/components/u-modal/u-modal",
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon",
"u-empty": "/node-modules/uview-ui/components/u-empty/u-empty"
"u-empty": "/node-modules/uview-ui/components/u-empty/u-empty",
"custom-waterfalls-flow": "/components/custom-waterfalls-flow/custom-waterfalls-flow",
"u-rate": "/node-modules/uview-ui/components/u-rate/u-rate"
}
}
\ No newline at end of file
... ...
<view><u-navbar vue-id="8dd740cc-1" placeholder="{{true}}" autoBack="{{true}}" data-event-opts="{{[['^rightClick',[['rightClick']]]]}}" bind:rightClick="__e" bind:__l="__l" vue-slots="{{['center']}}"><view class="topSearchBox" slot="center"><u-search vue-id="{{('8dd740cc-2')+','+('8dd740cc-1')}}" placeholder="请输入商家名称" clearabled="{{true}}" showAction="{{false}}" value="{{searchValue}}" data-event-opts="{{[['^search',[['searchHandler1']]],['^input',[['__set_model',['','searchValue','$event',[]]]]]]}}" bind:search="__e" bind:input="__e" bind:__l="__l"></u-search></view></u-navbar><u-modal vue-id="8dd740cc-3" show="{{historyListShow}}" showCancelButton="{{true}}" content="{{content}}" data-event-opts="{{[['^cancel',[['e0']]],['^confirm',[['confirmRemoveHistorySearchHandler']]]]}}" bind:cancel="__e" bind:confirm="__e" bind:__l="__l"></u-modal><block wx:if="{{searchState==2}}"><view class="mainBox"><block wx:if="{{historyGoodsSearchList.length!==0}}"><view class="flexJ"><view class="historyText">历史搜索</view><u-icon vue-id="8dd740cc-4" name="trash" data-event-opts="{{[['^click',[['e1']]]]}}" bind:click="__e" bind:__l="__l"></u-icon></view></block><view class="flexA historySearchBox"><block wx:for="{{historyGoodsSearchList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="*this"><view data-event-opts="{{[['tap',[['hotSearchHandler',['$0'],[[['historyGoodsSearchList','',__i0__]]]]]]]}}" class="historySearchText flexC" bindtap="__e">{{''+item+''}}</view></block></view><view class="hotSearchBox"><view class="flexA" style="margin-bottom:32rpx;"><image style="width:32rpx;height:32rpx;" src="/static/hotsearch.png" mode="scaleToFill"></image><view class="hotsearchText">热门搜索</view></view><view class="hotCentent"><view class="leftHotList"><block wx:for="{{firstList}}" wx:for-item="item" wx:for-index="__i1__" wx:key="id"><view data-event-opts="{{[['tap',[['hotSearchHandler',['$0'],[[['firstList','id',item.id,'title']]]]]]]}}" class="flexA" style="margin-bottom:32rpx;" bindtap="__e"><view class="index" style="{{'background:'+(item.id==1?'#f03f30':item.id==2?'#f2b738':item.id==3?'#a3b5e1':'')+';'}}">{{''+item.id+''}}</view><text>{{item.title}}</text></view></block></view><view class="line"></view><view class="rightHotList"><block wx:for="{{secondList}}" wx:for-item="item" wx:for-index="__i2__" wx:key="id"><view data-event-opts="{{[['tap',[['hotSearchHandler',['$0'],[[['secondList','id',item.id,'title']]]]]]]}}" class="flexA" style="margin-bottom:32rpx;" bindtap="__e"><view class="index">{{item.id}}</view><text>{{item.title}}</text></view></block></view></view></view></view></block><block wx:if="{{searchState==0}}"><view style="margin-top:300rpx;"><u-empty vue-id="8dd740cc-5" bind:__l="__l"></u-empty></view></block><block wx:if="{{searchState==1}}"><block wx:for="{{searchList1}}" wx:for-item="item" wx:for-index="__i3__" wx:key="id"><view>{{''+item.title+''}}<image style="width:200rpx;height:300rpx;" src="{{item.image}}" mode="scaleToFill"></image>{{''+item.content+''}}</view></block></block><view data-event-opts="{{[['tap',[['toListHandler',['$event']]]]]}}" bindtap="__e">跳转列表搜索</view></view>
\ No newline at end of file
<view><u-sticky vue-id="8dd740cc-1" bgColor="#fff" bind:__l="__l" vue-slots="{{['default']}}"><u-navbar vue-id="{{('8dd740cc-2')+','+('8dd740cc-1')}}" placeholder="{{true}}" autoBack="{{true}}" data-event-opts="{{[['^rightClick',[['rightClick']]]]}}" bind:rightClick="__e" bind:__l="__l" vue-slots="{{['center']}}"><view class="topSearchBox" slot="center"><u-search vue-id="{{('8dd740cc-3')+','+('8dd740cc-2')}}" placeholder="请输入商家名称" clearabled="{{true}}" showAction="{{false}}" value="{{searchValue}}" data-event-opts="{{[['^search',[['searchHandler1']]],['^input',[['__set_model',['','searchValue','$event',[]]]]]]}}" bind:search="__e" bind:input="__e" bind:__l="__l"></u-search></view></u-navbar><block wx:if="{{searchState==1}}"><u-tabs vue-id="{{('8dd740cc-4')+','+('8dd740cc-1')}}" list="{{list1}}" lineWidth="{{40}}" lineColor="#6E16FF" inactiveStyle="{{inactiveStyle}}" activeStyle="{{activeStyle}}" scrollable="{{false}}" bind:__l="__l"></u-tabs></block></u-sticky><u-modal vue-id="8dd740cc-5" show="{{historyListShow}}" showCancelButton="{{true}}" content="{{content}}" data-event-opts="{{[['^cancel',[['e0']]],['^confirm',[['confirmRemoveHistorySearchHandler']]]]}}" bind:cancel="__e" bind:confirm="__e" bind:__l="__l"></u-modal><block wx:if="{{searchState==2}}"><view class="mainBox"><block wx:if="{{historyGoodsSearchList.length!==0}}"><view class="flexJ"><view class="historyText">历史搜索</view><u-icon vue-id="8dd740cc-6" name="trash" data-event-opts="{{[['^click',[['e1']]]]}}" bind:click="__e" bind:__l="__l"></u-icon></view></block><view class="flexA historySearchBox"><block wx:for="{{historyGoodsSearchList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="*this"><view data-event-opts="{{[['tap',[['hotSearchHandler',['$0'],[[['historyGoodsSearchList','',__i0__]]]]]]]}}" class="historySearchText flexC" bindtap="__e">{{''+item+''}}</view></block></view><view class="hotSearchBox"><view class="flexA" style="margin-bottom:32rpx;"><image style="width:32rpx;height:32rpx;" src="/static/hotsearch.png" mode="scaleToFill"></image><view class="hotsearchText">热门搜索</view></view><view class="hotCentent"><view class="leftHotList"><block wx:for="{{firstList}}" wx:for-item="item" wx:for-index="__i1__" wx:key="id"><view data-event-opts="{{[['tap',[['hotSearchHandler',['$0'],[[['firstList','id',item.id,'title']]]]]]]}}" class="flexA" style="margin-bottom:32rpx;" bindtap="__e"><view class="index" style="{{'background:'+(item.id==1?'#f03f30':item.id==2?'#f2b738':item.id==3?'#a3b5e1':'')+';'}}">{{''+item.id+''}}</view><text>{{item.title}}</text></view></block></view><view class="line"></view><view class="rightHotList"><block wx:for="{{secondList}}" wx:for-item="item" wx:for-index="__i2__" wx:key="id"><view data-event-opts="{{[['tap',[['hotSearchHandler',['$0'],[[['secondList','id',item.id,'title']]]]]]]}}" class="flexA" style="margin-bottom:32rpx;" bindtap="__e"><view class="index">{{item.id}}</view><text>{{item.title}}</text></view></block></view></view></view></view></block><block wx:if="{{searchState==0}}"><view style="margin-top:300rpx;"><u-empty vue-id="8dd740cc-7" bind:__l="__l"></u-empty></view></block><block wx:if="{{searchState==1}}"><view class="mainBox"><custom-waterfalls-flow vue-id="8dd740cc-8" value="{{searchList1}}" imageKey="image" seat="{{2}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{searchList1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item" slot="slot{{index}}"><view class="title flexC">{{item.title}}</view><view class="flexJ"><view class="flexA headerBox"><image src="{{item.user.avatar}}" mode="scaleToFill"></image><view>{{item.user.user_name}}</view></view><view class="flexA"><u-rate bind:input="__e" vue-id="{{('8dd740cc-9-'+index)+','+('8dd740cc-8')}}" activeIcon="heart-fill" inactiveIcon="heart" count="{{count}}" value="{{value}}" data-event-opts="{{[['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:__l="__l"></u-rate><view class="numText">{{item.id}}</view></view></view></view></block></custom-waterfalls-flow></view></block></view>
\ No newline at end of file
... ...
... ... @@ -124,4 +124,28 @@ page {
.hotCentent > .rightHotList > .flexB {
margin-bottom: 32rpx;
}
.title {
color: rgba(0, 0, 0, 0.9);
font-size: 28rpx;
margin: 16rpx 0;
}
.headerBox {
color: rgba(0, 0, 0, 0.6);
font-size: 24rpx;
}
.headerBox image {
width: 48rpx;
height: 48rpx;
border-radius: 50%;
margin-right: 8rpx;
}
.item {
padding: 0 16rpx 16rpx;
box-sizing: border-box;
}
.numText {
color: rgba(0, 0, 0, 0.4);
font-size: 24rpx;
margin-left: 8rpx;
}
... ...
... ... @@ -238,7 +238,6 @@ __webpack_require__.r(__webpack_exports__);
var _api = __webpack_require__(/*! @/api */ 142);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {try {var info = gen[key](arg);var value = info.value;} catch (error) {reject(error);return;}if (info.done) {resolve(value);} else {Promise.resolve(value).then(_next, _throw);}}function _asyncToGenerator(fn) {return function () {var self = this,args = arguments;return new Promise(function (resolve, reject) {var gen = fn.apply(self, args);function _next(value) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);}function _throw(err) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);}_next(undefined);});};}var _default =
{
data: function data() {
... ...