1
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user