This commit is contained in:
2023-05-12 11:43:37 +08:00
commit afec01d797
770 changed files with 38861 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
"use strict";/*! For license information please see index.js.LICENSE.txt */
(wx.webpackJsonp=wx.webpackJsonp||[]).push([["pages/search/index"],{"./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/search/index.tsx":function(e,s,a){var i=a("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),l=a("./node_modules/classnames/index.js"),d=a.n(l),t=a("./src/pages/search/index.module.scss"),n=a("./src/components/search/index.tsx"),_=a("./src/use/useLogin.ts"),r=a("./node_modules/react/cjs/react-jsx-runtime.production.min.js");s.default=function SearchBar(){return(0,_.default)(),(0,r.jsxs)(i.View,{className:t.default.main,children:[(0,r.jsx)(i.View,{className:t.default.search,children:(0,r.jsx)(n.default,{style:{width:"100%"},debounceTime:300,changeOnSearch:function changeOnSearch(e){return console.log(e)},placeholder:"请输入面料关键词",placeIcon:"out",showBtn:!0})}),(0,r.jsxs)(i.View,{className:t.default.hot,children:[(0,r.jsxs)(i.View,{className:t.default.hot_header,children:[(0,r.jsx)(i.View,{className:t.default.hot_header_title,children:"热门面料"}),(0,r.jsx)(i.View,{className:t.default.hot_header_up,children:"高级搜索"})]}),(0,r.jsxs)(i.View,{className:t.default.list,children:[(0,r.jsx)(i.View,{className:t.default.item,children:"9265"}),(0,r.jsx)(i.View,{className:t.default.item,children:"全棉双卫衣"}),(0,r.jsx)(i.View,{className:t.default.item,children:"全棉双卫衣"}),(0,r.jsx)(i.View,{className:t.default.item,children:"全棉双卫衣"}),(0,r.jsx)(i.View,{className:t.default.item,children:"全棉双卫衣"}),(0,r.jsx)(i.View,{className:t.default.item,children:"26s"})]})]}),(0,r.jsxs)(i.View,{className:t.default.history,children:[(0,r.jsxs)(i.View,{className:t.default.history_header,children:[(0,r.jsx)(i.View,{className:t.default.history_header_title,children:"历史搜索"}),(0,r.jsx)(i.View,{className:d()("iconfont icon-lajixiang",t.default.miconfont)})]}),(0,r.jsxs)(i.View,{className:t.default.list,children:[(0,r.jsx)(i.View,{className:t.default.item,children:"9265"}),(0,r.jsx)(i.View,{className:t.default.item,children:"全棉双卫衣"}),(0,r.jsx)(i.View,{className:t.default.item,children:"全棉双卫衣"}),(0,r.jsx)(i.View,{className:t.default.item,children:"全棉双卫衣"}),(0,r.jsx)(i.View,{className:t.default.item,children:"全棉双卫衣"}),(0,r.jsx)(i.View,{className:t.default.item,children:"26s"})]})]})]})}},"./src/pages/search/index.tsx":function(e,s,a){var i=a("./node_modules/@tarojs/runtime/dist/runtime.esm.js"),l=a("./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/search/index.tsx");l.default.enableShareAppMessage=!0;Page((0,i.createPageConfig)(l.default,"pages/search/index",{root:{cn:[]}},{navigationBarTitleText:"搜索",enableShareAppMessage:!0}||{})),l.default},"./src/pages/search/index.module.scss":function(e,s){s.default={common_safe_area_y:"index-module__common_safe_area_y___tx03l",hoverClass:"index-module__hoverClass___ZD20X","full-100":"index-module__full-100___BVK4Y",main:"index-module__main___fDQwd",search:"index-module__search___t8haT",hot:"index-module__hot___Xqxud",hot_header:"index-module__hot_header___lWIz6",hot_header_title:"index-module__hot_header_title___KdUh7",hot_header_up:"index-module__hot_header_up___e7GGE",list:"index-module__list___RKG2i",item:"index-module__item___BoSc6",history:"index-module__history___yqANh",history_header:"index-module__history_header___Dqwzb",history_header_title:"index-module__history_header_title___LuM3j",miconfont:"index-module__miconfont___9O1VN"}}},function(e){e.O(0,["taro","vendors","common"],(function(){return s="./src/pages/search/index.tsx",e(e.s=s);var s}));e.O()}]);
+27
View File
@@ -0,0 +1,27 @@
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ./index.module.scss */
/*! @/components/search */
/*! @/use/useLogin */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! classnames */
/*! react/jsx-runtime */
/*!************************************!*\
!*** ./src/pages/search/index.tsx ***!
\************************************/
/*!********************************************!*\
!*** ./src/pages/search/index.module.scss ***!
\********************************************/
/*!*********************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/search/index.tsx ***!
\*********************************************************************************************************/
+1
View File
@@ -0,0 +1 @@
{"navigationBarTitleText":"搜索","usingComponents":{"custom-wrapper":"../../custom-wrapper","comp":"../../comp"}}
+2
View File
@@ -0,0 +1,2 @@
<import src="../../base.wxml"/>
<template is="taro_tmpl" data="{{root:root}}" />
+108
View File
@@ -0,0 +1,108 @@
@charset "UTF-8";/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/pages/search/index.module.scss ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************/
.index-module__common_safe_area_y___tx03l {
width: 100%;
height: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
height: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
}
.index-module__hoverClass___ZD20X {
-webkit-filter: brightness(70%);
filter: brightness(70%);
}
.index-module__full-100___BVK4Y {
width: 100%;
height: 100%;
}
.index-module__main___fDQwd .index-module__search___t8haT {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
padding: 20rpx;
padding-bottom: 50rpx;
}
.index-module__main___fDQwd .index-module__hot___Xqxud {
padding: 0 20rpx;
}
.index-module__main___fDQwd .index-module__hot___Xqxud .index-module__hot_header___lWIz6 {
width: 100%;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
font-size: 24rpx;
}
.index-module__main___fDQwd .index-module__hot___Xqxud .index-module__hot_header___lWIz6 .index-module__hot_header_title___KdUh7 {
font-size: 28rpx;
color: #3c3c3c;
font-weight: 700;
}
.index-module__main___fDQwd .index-module__hot___Xqxud .index-module__hot_header___lWIz6 .index-module__hot_header_up___e7GGE {
color: #4581ff;
}
.index-module__main___fDQwd .index-module__hot___Xqxud .index-module__list___RKG2i {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
font-size: 24rpx;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
padding: 20rpx 0;
}
.index-module__main___fDQwd .index-module__hot___Xqxud .index-module__list___RKG2i .index-module__item___BoSc6 {
margin-right: 20rpx;
margin-bottom: 20rpx;
padding: 10rpx 20rpx;
background-color: #F0F0F0;
color: #707070;
border-radius: 50rpx;
}
.index-module__main___fDQwd .index-module__history___yqANh {
padding: 0 20rpx;
}
.index-module__main___fDQwd .index-module__history___yqANh .index-module__history_header___Dqwzb {
width: 100%;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
font-size: 24rpx;
}
.index-module__main___fDQwd .index-module__history___yqANh .index-module__history_header___Dqwzb .index-module__history_header_title___LuM3j {
font-size: 28rpx;
color: #3c3c3c;
font-weight: 700;
}
.index-module__main___fDQwd .index-module__history___yqANh .index-module__history_header___Dqwzb .index-module__miconfont___9O1VN {
font-size: 30rpx;
color: #707070;
}
.index-module__main___fDQwd .index-module__history___yqANh .index-module__list___RKG2i {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
font-size: 24rpx;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
padding: 20rpx 0;
}
.index-module__main___fDQwd .index-module__history___yqANh .index-module__list___RKG2i .index-module__item___BoSc6 {
margin-right: 20rpx;
margin-bottom: 20rpx;
padding: 10rpx 20rpx;
background-color: #F0F0F0;
color: #707070;
border-radius: 50rpx;
}