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
File diff suppressed because one or more lines are too long
+85
View File
@@ -0,0 +1,85 @@
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ../infiniteScroll */
/*! ./index.module.scss */
/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */
/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty.js */
/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js */
/*! ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js */
/*! ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js */
/*! ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js */
/*! @/api/material */
/*! @/common/common */
/*! @/common/format */
/*! @/common/report/event */
/*! @/common/util */
/*! @/components/moveBtn */
/*! @/components/product */
/*! @/components/search */
/*! @/components/sideBar */
/*! @/pages/index/components/productClass */
/*! @/reducers/hooks */
/*! @/use/useCommon */
/*! @/use/useLogin */
/*! @/use/useUserInfo */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! classnames */
/*! react */
/*! react/jsx-runtime */
/*!**************************************!*\
!*** ./src/pages/category/index.tsx ***!
\**************************************/
/*!******************************************!*\
!*** ./src/components/sideBar/index.tsx ***!
\******************************************/
/*!**********************************************!*\
!*** ./src/pages/category/index.module.scss ***!
\**********************************************/
/*!**************************************************!*\
!*** ./src/components/sideBar/index.module.scss ***!
\**************************************************/
/*!***********************************************************!*\
!*** ./src/pages/index/components/productClass/index.tsx ***!
\***********************************************************/
/*!*******************************************************************!*\
!*** ./src/pages/index/components/productClass/index.module.scss ***!
\*******************************************************************/
/*!***********************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/category/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}}" />
+369
View File
@@ -0,0 +1,369 @@
@charset "UTF-8";@import "./sub-common/f7c2016e1fc8045300ee51e652beb947.wxss";@import "./sub-common/31c2143408a2e4f5735ccb6e07aa07fc.wxss";@import "./sub-common/a1b65bef95d2c29977f42d4ceadae1ad.wxss";/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/category/index.module.scss ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************/
.index-module__common_safe_area_y___iOpqS {
width: 100%;
height: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
height: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
}
.index-module__hoverClass___dJLpE {
-webkit-filter: brightness(70%);
filter: brightness(70%);
}
.index-module__full-100___uElL0 {
width: 100%;
height: 100%;
}
.index-module__main___gnu_m {
background-color: #fff;
height: 100vh;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.index-module__main___gnu_m .index-module__header___ZehWO {
background-color: #fff;
}
.index-module__main___gnu_m .index-module__search___Ny2tv {
width: 100%;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
padding: 20rpx;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__main___gnu_m .index-module__search___Ny2tv .index-module__search_collect___pUjQL {
font-size: 26rpx;
border: 2rpx solid #4581ff;
color: #4581ff;
border-radius: 50rpx;
width: 132rpx;
height: 44rpx;
text-align: center;
line-height: 44rpx;
}
.index-module__main___gnu_m .index-module__search___Ny2tv .index-module__search_input___oinjQ {
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
.index-module__main___gnu_m .index-module__products___Qc1do {
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
height: 0;
}
.index-module__main___gnu_m .index-module__products___Qc1do .index-module__product_right_con___kpEmk {
position: relative;
}
.index-module__main___gnu_m .index-module__products___Qc1do .index-module__product_right_con___kpEmk .index-module__product_class___qSuHC {
position: absolute;
top: 0;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/components/sideBar/index.module.scss ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.index-module__common_safe_area_y___L9zsl {
width: 100%;
height: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
height: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
}
.index-module__hoverClass___paqKP {
-webkit-filter: brightness(70%);
filter: brightness(70%);
}
.index-module__full-100___Bojxk {
width: 100%;
height: 100%;
}
.index-module__sideBar_main___NZpk9 {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
height: 100%;
}
.index-module__sideBar_main___NZpk9 .index-module__sideBar_select___XAPcJ {
width: 160rpx;
height: 100%;
background-color: #eaeaea;
border-radius: 0 10rpx 10rpx 0;
}
.index-module__sideBar_main___NZpk9 .index-module__sideBar_select___XAPcJ ::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
color: transparent;
}
.index-module__sideBar_main___NZpk9 .index-module__sideBar_select___XAPcJ .index-module__sideBar_select_title___lpxw6 {
height: 100%;
width: 100%;
margin: 13rpx 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: rgba(0, 0, 0, 0.6);
}
.index-module__sideBar_main___NZpk9 .index-module__sideBar_select___XAPcJ .index-module__sideBar_select_title___lpxw6:nth-child(1) {
margin: 0;
}
.index-module__sideBar_main___NZpk9 .index-module__sideBar_select___XAPcJ .index-module__sideBar_select_title___lpxw6:nth-last-child(1) {
margin: 0;
}
.index-module__sideBar_main___NZpk9 .index-module__sideBar_select___XAPcJ .index-module__sideBar_select_title___lpxw6 .index-module__title_con___kc9Nx {
padding: 0 20rpx;
text-align: center;
overflow: hidden;
display: -webkit-box;
white-space: normal;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
}
.index-module__sideBar_main___NZpk9 .index-module__sideBar_select___XAPcJ .index-module__sideBar_select_title___lpxw6 .index-module__sideBar_select_title_item___knvc9 {
height: 100%;
width: 100%;
font-size: 28rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
font-weight: 400;
}
.index-module__sideBar_main___NZpk9 .index-module__sideBar_select___XAPcJ .index-module__sideBar_select_title_select___EiKqC {
background-color: #4581ff;
color: #fff;
border-radius: 0rpx 14rpx 14rpx 0rpx;
}
.index-module__sideBar_main___NZpk9 .index-module__sideBar_con___vQOOA {
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
min-width: 0;
position: relative;
padding-top: 90rpx;
}
.index-module__sideBar_main___NZpk9 .index-module__sideBar_con___vQOOA .index-module__product_class___H1lxW {
width: 100%;
position: absolute;
top: 0;
z-index: 333;
}
.index-module__sideBar_main___NZpk9 .index-module__sideBar_con___vQOOA .index-module__sideBar_con_scroll___iRm3G {
width: 100%;
height: 100%;
}
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/index/components/productClass/index.module.scss ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.index-module__common_safe_area_y___rIjpO {
width: 100%;
height: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
height: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
}
.index-module__hoverClass___ovX_v {
-webkit-filter: brightness(70%);
filter: brightness(70%);
}
.index-module__full-100___RxXvX {
width: 100%;
height: 100%;
}
.index-module__class_main___Ur7tj {
position: relative;
height: 100%;
}
.index-module__product_class_main_line___LVKvG {
width: 100%;
height: 80rpx;
position: absolute;
top: 0;
left: 0;
margin-bottom: 20rpx;
background-color: #fff;
}
.index-module__product_class_main_line___LVKvG .index-module__product_class_scroll___xVN_e {
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding: 6rpx 90rpx 0 20rpx;
}
.index-module__product_class_main_line___LVKvG .index-module__product_class_scroll___xVN_e .index-module__product_class_list___wlcBq {
white-space: nowrap;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.index-module__product_class_main_line___LVKvG .index-module__product_class_scroll___xVN_e .index-module__product_class_list___wlcBq .index-module__product_class_item___gcQtm {
height: 56rpx;
line-height: 56rpx;
padding: 0 15rpx;
background: #f5f5f5;
border-radius: 29rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
font-size: 24rpx;
color: rgba(0, 0, 0, 0.8);
-webkit-box-sizing: border-box;
box-sizing: border-box;
max-width: 260rpx;
margin: 0 8rpx 16rpx 8rpx;
}
.index-module__product_class_main_line___LVKvG .index-module__product_class_scroll___xVN_e .index-module__product_class_list___wlcBq .index-module__product_class_item_selected____Ebog {
border: 1px solid #3c78f4;
color: #3c78f4;
background: #ecf2ff;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.index-module__product_class_main_line___LVKvG .index-module__product_class_more___YpwhD {
position: absolute;
right: 0;
top: 0;
width: 88rpx;
height: 100%;
background-color: #fff;
-webkit-box-shadow: -7rpx 0rpx 7rpx -5rpx rgba(0, 0, 0, 0.16);
box-shadow: -7rpx 0rpx 7rpx -5rpx rgba(0, 0, 0, 0.16);
line-height: 100%;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__product_class_main_line___LVKvG .index-module__product_class_more___YpwhD .index-module__product_class_more_icon___DBTnL {
margin-left: 20rpx;
display: inline-block;
-webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
font-size: 30rpx;
color: rgba(0, 0, 0, 0.5);
}
.index-module__product_class_main_block___Fjc7W {
width: 100%;
height: 100%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
position: absolute;
top: 0;
left: 0;
}
.index-module__product_class_main_block___Fjc7W .index-module__product_class_block_con___Mq5xC {
max-height: 500rpx;
background-color: #fff;
z-index: 333;
position: relative;
}
.index-module__product_class_main_block___Fjc7W .index-module__product_class_scroll___xVN_e {
-webkit-box-sizing: border-box;
box-sizing: border-box;
max-height: 500rpx;
padding: 0 20rpx;
padding: 6rpx 20rpx 0 20rpx;
}
.index-module__product_class_main_block___Fjc7W .index-module__product_class_scroll___xVN_e .index-module__product_class_list___wlcBq {
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: grid;
grid-template-columns: auto auto auto;
}
.index-module__product_class_main_block___Fjc7W .index-module__product_class_scroll___xVN_e .index-module__product_class_list___wlcBq .index-module__product_class_item___gcQtm {
width: 169rpx;
height: 56rpx;
line-height: 56rpx;
text-align: center;
padding: 0 15rpx;
background: #f5f5f5;
border-radius: 29rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
font-size: 24rpx;
color: rgba(0, 0, 0, 0.8);
margin: 0 8rpx 16rpx 8rpx;
-webkit-box-sizing: border-box;
box-sizing: border-box;
max-width: 260rpx;
overflow: hidden;
display: -webkit-box;
white-space: normal;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.index-module__product_class_main_block___Fjc7W .index-module__product_class_scroll___xVN_e .index-module__product_class_list___wlcBq .index-module__product_class_item_selected____Ebog {
border: 1px solid #3c78f4;
color: #3c78f4;
background: #ecf2ff;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.index-module__product_class_main_block___Fjc7W .index-module__product_class_close___nZgPh {
font-size: 24rpx;
color: rgba(0, 0, 0, 0.6);
text-align: center;
padding-bottom: 20rpx;
}
.index-module__product_class_main_block___Fjc7W .index-module__product_class_close___nZgPh .index-module__product_class_close_icon___eOPPG {
display: inline-block;
-webkit-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
transform: rotate(-90deg);
font-size: 27rpx;
color: rgba(0, 0, 0, 0.5);
padding: 0 10rpx;
}
.index-module__product_class_main_block___Fjc7W .index-module__product_class_block_mask___lxcxM {
position: absolute;
top: 0;
height: 100%;
width: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 100;
}
@@ -0,0 +1,2 @@
/*! For license information please see 071f0d2864ed3f21580488256af4d8b8.js.LICENSE.txt */
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/071f0d2864ed3f21580488256af4d8b8"],{"./src/components/product/index.tsx":function(e,s,c){var a=c("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),t=c("./node_modules/react/cjs/react.production.min.js"),i=c("./src/components/LabAndImg/index.tsx"),n=c("./src/components/iconfont/iconfont.tsx"),r=c("./src/components/tag/index.tsx"),o=c("./src/components/product/index.module.scss"),l=c("./src/common/common.ts"),d=c("./src/common/format.ts"),m=c("./src/reducers/hooks.ts"),u=c("./src/common/report/event.ts"),f=c("./node_modules/react/cjs/react-jsx-runtime.production.min.js");s.default=function Product(e){var s=e.productList,c=void 0===s?[]:s,p=e.pageName,x=void 0===p?"":p,_=(0,m.useSelector)((function(e){return e.userInfo})),h=(0,t.useCallback)((function(e){return{lab:e.lab,rgb:e.rgb,texture_url:e.texture_url}}),[c]);return(0,f.jsx)(a.View,{className:o.default.products_list,children:null==c?void 0:c.map((function(e){return(0,f.jsxs)(a.View,{className:o.default.products_item,onClick:function onClick(){return function handleClickGoods(e){(0,u.ClickGoods)({page_name:x||"未知页面",fabric_code:e.code,fabric_name:e.name,trigger_time:(0,d.formatDateTime)(new Date),purchaser_name:_.adminUserInfo.user_name||"未知用户",purchaser_id:_.adminUserInfo.user_id||0}),(0,l.goLink)("/pages/details/index?id=".concat(e.id))}(e)},children:[(0,f.jsxs)(a.View,{className:o.default.item_img,children:[(0,f.jsx)(i.default,{value:h(e)}),(0,f.jsxs)(a.View,{className:o.default.num,children:[e.product_color_count,"色"]}),e.is_favorite&&(0,f.jsx)(n.default,{customClassName:o.default.collection_icon,name:"icon-shoucang1",size:40})]}),(0,f.jsxs)(a.View,{className:o.default.item_con,children:[(0,f.jsxs)(a.View,{className:o.default.title,children:[(0,f.jsxs)(a.Text,{children:[(0,d.formatHashTag)(e.code,"")," "]}),e.name]}),(0,f.jsxs)(a.View,{className:o.default.tag_list,children:[(0,f.jsx)(r.default,{customClassName:o.default.tag,type:"primary",size:"small",circle:!0,children:e.width}),(0,f.jsx)(r.default,{customClassName:o.default.tag_g,type:"primary",size:"small",circle:!0,children:e.weight_density})]}),(0,f.jsx)(a.View,{className:o.default.des,children:e.component}),(0,f.jsxs)(a.View,{className:o.default.bottom,children:[(0,f.jsx)(a.View,{className:o.default.header_con,children:(0,f.jsx)(a.View,{children:!!e.product_screw_id&&(0,f.jsx)(r.default,{customClassName:o.default.header_label,circle:!0,type:"primary",size:"small",children:"配套螺纹"})})}),(0,f.jsxs)(a.View,{className:o.default.price,children:[(0,f.jsx)(a.View,{className:o.default.price_unit,children:"¥"}),(0,f.jsxs)(a.View,{className:o.default.price_num,children:[(0,d.formatPriceDiv)(e.lowest_price,100,!0),"起"]})]})]})]})]},e.id)}))})}}}]);
@@ -0,0 +1,2 @@
/*! For license information please see 0762d0d2445fe1200cae192cedb39f4b.js.LICENSE.txt */
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/0762d0d2445fe1200cae192cedb39f4b"],{"./src/components/infiniteScroll/index.tsx":function(e,r,o){var n=o("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),l=o("./node_modules/react/cjs/react.production.min.js"),s=o("./src/components/loadingCard/index.tsx"),t=o("./src/components/infiniteScroll/index.module.scss"),c=o("./src/components/dotLoading/index.tsx"),i=o("./src/components/empty/index.tsx"),f=o("./src/common/constant.ts"),a=o("./node_modules/react/cjs/react-jsx-runtime.production.min.js"),d=function InfiniteScroll(e){var r=e.styleObj,o=e.selfonScrollToLower,d=e.selfOnScrollToUpper,u=e.selfOnScroll,m=e.selfOnRefresherPulling,h=e.selfOnRefresherRefresh,p=e.selfOnRefresherRestore,x=e.selfOnRefresherAbort,R=e.safeAreaInsetBottom,j=void 0===R||R,w=e.enableLoadMoreStatus,T=void 0===w||w,g=e.children,S=e.lowerThresholdNum,b=void 0===S?30:S,v=e.paddingBottom,_=void 0===v?0:v,N=e.refresherTriggered,V=void 0!==N&&N,y=e.refresherEnabled,A=void 0!==y&&y,B=e.moreStatus,M=void 0===B||B,O=e.statusMore,L=void 0===O?0:O,P=e.enableBackToTop,U=void 0===P||P,k=e.emptySlot,C=e.defaultUrl,E=void 0===C?"":C,F=e.defaultText,I=void 0===F?"":F,G=(0,l.useMemo)((function(){if(0==L)return.1}),[L]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(n.ScrollView,{id:"infiniteScroll",style:r,className:t.default.scroll_main,scrollY:!0,onScrollToLower:function onScrollToLower(){return function scrollToLower(){null==o||o()}()},onScrollToUpper:function onScrollToUpper(){return function scrollToUpper(){null==d||d()}()},onScroll:function onScroll(e){return function scroll(e){null==u||u(e)}(e)},lowerThreshold:b,refresherEnabled:A,refresherTriggered:V,onRefresherPulling:function onRefresherPulling(){return function refresherPulling(){null==m||m()}()},onRefresherRefresh:function onRefresherRefresh(){return function refresherRefresh(){null==h||h()}()},onRefresherRestore:function onRefresherRestore(){return function refresherRestore(){null==p||p()}()},onRefresherAbort:function onRefresherAbort(){return function refresherAbort(){null==x||x()}()},refresherBackground:"#F8F8F8",enableBackToTop:U,scrollTop:G,children:[function component(){return T&&M?(0,a.jsxs)(a.Fragment,{children:[(2==L||3==L)&&(0,a.jsxs)(n.View,{style:{paddingBottom:"".concat(_,"rpx")},className:t.default.scrollViewCon,children:[g,(0,a.jsx)(n.View,{className:t.default.infinite_scroll,children:2==L?(0,a.jsxs)(n.View,{className:t.default.loading_more,children:["加载中",(0,a.jsx)(c.default,{})]}):(0,a.jsx)(n.View,{className:t.default.noMore,children:"没有更多数据了"})})]}),0==L&&(0,a.jsx)(s.default,{}),1==L&&(k||(0,a.jsx)(i.default,{picUrl:E?"".concat(f.IMG_CND_Prefix).concat(E):f.SEARCH_EMPTY_IMAGE,text:I||"暂无数据"}))]}):(0,a.jsx)(n.View,{style:{paddingBottom:"".concat(_,"rpx")},className:t.default.scrollViewCon,children:g})}(),j&&(0,a.jsx)(n.View,{className:"common_safe_area_y"})]})})};r.default=(0,l.memo)(d)}}]);
@@ -0,0 +1,44 @@
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/components/infiniteScroll/index.module.scss ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.index-module__common_safe_area_y___TfGaJ {
width: 100%;
height: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
height: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
}
.index-module__hoverClass___IvFjO {
-webkit-filter: brightness(70%);
filter: brightness(70%);
}
.index-module__full-100___Zf65j {
width: 100%;
height: 100%;
}
.index-module__scroll_main___rWSFU {
height: 100%;
}
.index-module__scroll_main___rWSFU .index-module__infinite_scroll___GY4by {
font-size: 24rpx;
color: #ababab;
width: 100%;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.index-module__scroll_main___rWSFU .index-module__infinite_scroll___GY4by .index-module__loading_more___Iljay {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__scroll_main___rWSFU .index-module__infinite_scroll___GY4by .index-module__noMore___kPVsd {
padding-top: 20rpx;
}
@@ -0,0 +1,2 @@
/*! For license information please see 510d0e7078f44d770a0720344fb06369.js.LICENSE.txt */
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/510d0e7078f44d770a0720344fb06369"],{"./src/components/empty/index.module.scss":function(_,e){e.default={common_safe_area_y:"index-module__common_safe_area_y___qVHLM",hoverClass:"index-module__hoverClass___xmc2X","full-100":"index-module__full-100___f4rUs",mainBox:"index-module__mainBox___oYq7z",pic:"index-module__pic___jqHuf",text:"index-module__text___cFKLZ"}}}]);
@@ -0,0 +1,234 @@
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/components/product/index.module.scss ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.index-module__common_safe_area_y___aLNaO {
width: 100%;
height: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
height: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
}
.index-module__hoverClass___uRAZL {
-webkit-filter: brightness(70%);
filter: brightness(70%);
}
.index-module__full-100___ebtcA {
width: 100%;
height: 100%;
}
.index-module__products_list___Di2TY {
padding: 0 20rpx 20rpx 20rpx;
-webkit-box-sizing: border-box;
box-sizing: border-box;
height: 100%;
}
.index-module__products_item___hVSDd {
width: 100%;
background-color: #fff;
border-radius: 16rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
overflow: hidden;
-webkit-box-shadow: 0rpx 0rpx 36rpx -7rpx rgba(0, 0, 0, 0.08);
box-shadow: 0rpx 0rpx 36rpx -7rpx rgba(0, 0, 0, 0.08);
}
.index-module__products_item___hVSDd:nth-child(n+2) {
margin-top: 16rpx;
}
.index-module__products_item___hVSDd .index-module__item_img___Ijcvj {
width: 188rpx;
height: 188rpx;
position: relative;
}
.index-module__products_item___hVSDd .index-module__item_img___Ijcvj image {
width: 100%;
height: 100%;
border-radius: 0;
}
.index-module__products_item___hVSDd .index-module__item_img___Ijcvj .index-module__num___MjBVU {
padding: 5rpx 10rpx 5rpx 20rpx;
font-size: 22rpx;
position: absolute;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.3);
border-radius: 36rpx 0rpx 0rpx 0rpx;
color: #fff;
text-align: center;
}
.index-module__products_item___hVSDd .index-module__item_img___Ijcvj .index-module__collection_icon___Wx0Jh {
position: absolute;
left: 12rpx;
top: 13rpx;
-webkit-filter: drop-shadow(0 0 10rpx -1px white);
filter: drop-shadow(0 0 10rpx -1px white);
}
.index-module__products_item___hVSDd .index-module__item_con___yY5XF {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: column nowrap;
-ms-flex-flow: column nowrap;
flex-flow: column nowrap;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
padding: 16rpx 20rpx;
font-size: 28rpx;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
.index-module__products_item___hVSDd .index-module__item_con___yY5XF .index-module__title___mj3Dr {
font-size: 28rpx;
color: #707070;
overflow: hidden;
display: -webkit-box;
white-space: normal;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
font-weight: 400;
}
.index-module__products_item___hVSDd .index-module__item_con___yY5XF .index-module__title___mj3Dr text {
color: #3c3c3c;
font-weight: 500;
}
.index-module__products_item___hVSDd .index-module__item_con___yY5XF .index-module__tag_list___P668g {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.index-module__products_item___hVSDd .index-module__item_con___yY5XF .index-module__tag_list___P668g .index-module__tag___eXORV,
.index-module__products_item___hVSDd .index-module__item_con___yY5XF .index-module__tag_list___P668g .index-module__tag_g___rvsn1 {
max-width: 260rpx;
height: 34rpx;
overflow: hidden;
display: -webkit-box;
white-space: normal;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
padding: 3rpx 10rpx;
background-color: #cde5ff;
font-size: 24rpx;
border-radius: 5rpx;
border: 0;
color: #4581ff;
margin-right: 10rpx;
margin-bottom: 10rpx;
}
.index-module__products_item___hVSDd .index-module__item_con___yY5XF .index-module__tag_list___P668g .index-module__tag_g___rvsn1 {
background-color: #ffe6ce;
color: #ee7500;
}
.index-module__products_item___hVSDd .index-module__item_con___yY5XF .index-module__introduce___w3B7J {
font-size: 24rpx;
color: #ababab;
overflow: hidden;
display: -webkit-box;
white-space: normal;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.index-module__products_item___hVSDd .index-module__item_con___yY5XF .index-module__des___RPGWs {
font-size: 24rpx;
color: #707070;
overflow: hidden;
display: -webkit-box;
white-space: normal;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.index-module__products_item___hVSDd .index-module__item_con___yY5XF .index-module__bottom___C5piy {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__products_item___hVSDd .index-module__item_con___yY5XF .index-module__header_con___VY7jF {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__products_item___hVSDd .index-module__item_con___yY5XF .index-module__header_label___Cawsq {
background: #fcf4e9;
border-radius: 5rpx;
font-size: 24rpx;
line-height: 34rpx;
height: 34rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
border: 0;
}
.index-module__products_item___hVSDd .index-module__item_con___yY5XF .index-module__header_label___Cawsq text {
display: inline-block;
height: 100%;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
background: #fcf4e9;
border-radius: 0rpx 5rpx 5rpx 0rpx;
color: #c57c26;
}
.index-module__products_item___hVSDd .index-module__item_con___yY5XF .index-module__price___degfh {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: flex-end;
-ms-flex-pack: end;
justify-content: flex-end;
color: #f64861;
-webkit-align-items: baseline;
-ms-flex-align: baseline;
align-items: baseline;
margin-top: 4rpx;
font-weight: 500;
}
.index-module__products_item___hVSDd .index-module__item_con___yY5XF .index-module__price_unit___Ilsd9 {
font-size: 18rpx;
}
.index-module__products_item___hVSDd .index-module__item_con___yY5XF .index-module__price_num___ztY3p {
font-size: 28rpx;
}
@@ -0,0 +1,2 @@
/*! For license information please see cf216475951e5960bcea5b5b9d46933b.js.LICENSE.txt */
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/cf216475951e5960bcea5b5b9d46933b"],{"./src/components/infiniteScroll/index.module.scss":function(_,e){e.default={common_safe_area_y:"index-module__common_safe_area_y___TfGaJ",hoverClass:"index-module__hoverClass___IvFjO","full-100":"index-module__full-100___Zf65j",scroll_main:"index-module__scroll_main___rWSFU",infinite_scroll:"index-module__infinite_scroll___GY4by",loading_more:"index-module__loading_more___Iljay",noMore:"index-module__noMore___kPVsd"}}}]);
@@ -0,0 +1,2 @@
/*! For license information please see d4d7ae6cf70fe19bf5c8f83e9b163279.js.LICENSE.txt */
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/d4d7ae6cf70fe19bf5c8f83e9b163279"],{"./src/components/product/index.module.scss":function(_,e){e.default={common_safe_area_y:"index-module__common_safe_area_y___aLNaO",hoverClass:"index-module__hoverClass___uRAZL","full-100":"index-module__full-100___ebtcA",products_list:"index-module__products_list___Di2TY",products_item:"index-module__products_item___hVSDd",item_img:"index-module__item_img___Ijcvj",num:"index-module__num___MjBVU",collection_icon:"index-module__collection_icon___Wx0Jh",item_con:"index-module__item_con___yY5XF",title:"index-module__title___mj3Dr",tag_list:"index-module__tag_list___P668g",tag:"index-module__tag___eXORV",tag_g:"index-module__tag_g___rvsn1",introduce:"index-module__introduce___w3B7J",des:"index-module__des___RPGWs",bottom:"index-module__bottom___C5piy",header_con:"index-module__header_con___VY7jF",header_label:"index-module__header_label___Cawsq",price:"index-module__price___degfh",price_unit:"index-module__price_unit___Ilsd9",price_num:"index-module__price_num___ztY3p"}}}]);
@@ -0,0 +1,2 @@
/*! For license information please see db6cc8fba2c34d36042a60bcf5f10485.js.LICENSE.txt */
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/db6cc8fba2c34d36042a60bcf5f10485"],{"./src/components/empty/index.tsx":function(e,s,c){var t=c("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),o=c("./node_modules/react/cjs/react.production.min.js"),a=c("./src/components/empty/index.module.scss"),n=c("./node_modules/react/cjs/react-jsx-runtime.production.min.js"),d=function Empty(e){var s=e.picUrl,c=void 0===s?"":s,o=e.text,d=void 0===o?"无搜索历史":o;return(0,n.jsxs)(t.View,{className:a.default.mainBox,children:[(0,n.jsx)(t.Image,{className:a.default.pic,mode:"aspectFill",lazyLoad:!0,src:c}),(0,n.jsx)(t.View,{className:a.default.text,children:d})]})};s.default=(0,o.memo)(d)}}]);
@@ -0,0 +1,44 @@
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/components/empty/index.module.scss ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.index-module__common_safe_area_y___qVHLM {
width: 100%;
height: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
height: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
}
.index-module__hoverClass___xmc2X {
-webkit-filter: brightness(70%);
filter: brightness(70%);
}
.index-module__full-100___f4rUs {
width: 100%;
height: 100%;
}
.index-module__mainBox___oYq7z {
height: 100%;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.index-module__mainBox___oYq7z .index-module__pic___jqHuf {
width: 522rpx;
height: 322rpx;
margin-bottom: 24rpx;
}
.index-module__mainBox___oYq7z .index-module__text___cFKLZ {
font-size: 26rpx;
color: #ababab;
font-weight: 400;
}