1
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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/cell/index.module.scss ***!
|
||||
\************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
@charset "UTF-8";
|
||||
.index-module__common_safe_area_y___Hy8CD {
|
||||
width: 100%;
|
||||
height: constant(safe-area-inset-bottom);
|
||||
/* 兼容 iOS < 11.2 */
|
||||
height: env(safe-area-inset-bottom);
|
||||
/* 兼容 iOS >= 11.2 */
|
||||
}
|
||||
.index-module__hoverClass____48Wr {
|
||||
-webkit-filter: brightness(70%);
|
||||
filter: brightness(70%);
|
||||
}
|
||||
.index-module__full-100___cUILc {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.index-module__cell___hk78p {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-flex-flow: row nowrap;
|
||||
-ms-flex-flow: row nowrap;
|
||||
flex-flow: row nowrap;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
font-size: 28rpx;
|
||||
padding: 12rpx 0;
|
||||
}
|
||||
.index-module__cell___hk78p .index-module__title___zZSXo {
|
||||
min-width: 140rpx;
|
||||
-webkit-flex: none;
|
||||
-ms-flex: none;
|
||||
flex: none;
|
||||
color: #a9a9a9;
|
||||
}
|
||||
.index-module__cell___hk78p .index-module__desc___qzpy8 {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-flex-flow: row nowrap;
|
||||
-ms-flex-flow: row nowrap;
|
||||
flex-flow: row nowrap;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: flex-end;
|
||||
-ms-flex-pack: end;
|
||||
justify-content: flex-end;
|
||||
-webkit-flex: 1 1 auto;
|
||||
-ms-flex: 1 1 auto;
|
||||
flex: 1 1 auto;
|
||||
color: #3c3c3c;
|
||||
}
|
||||
.index-module__descText___vWAke {
|
||||
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: 2;
|
||||
}
|
||||
@@ -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,2 @@
|
||||
/*! For license information please see 25879ef99fc2cba95b81e3969057fc20.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/25879ef99fc2cba95b81e3969057fc20"],{"./src/components/cell/index.module.scss":function(_,e){e.default={common_safe_area_y:"index-module__common_safe_area_y___Hy8CD",hoverClass:"index-module__hoverClass____48Wr","full-100":"index-module__full-100___cUILc",cell:"index-module__cell___hk78p",title:"index-module__title___zZSXo",desc:"index-module__desc___qzpy8",descText:"index-module__descText___vWAke"}}}]);
|
||||
@@ -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,2 @@
|
||||
/*! For license information please see 874d00cd427ce94888e74806fd5336ac.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/874d00cd427ce94888e74806fd5336ac"],{"./src/components/cell/index.tsx":function(e,s,c){var n=c("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),t=c("./node_modules/classnames/index.js"),l=c.n(t),o=c("./node_modules/react/cjs/react.production.min.js"),a=c("./src/components/iconfont/iconfont.tsx"),i=c("./src/components/cell/index.module.scss"),r=c("./node_modules/react/cjs/react-jsx-runtime.production.min.js");s.default=function Cell(e){var s=e.title,c=e.desc,t=e.isLink,u=void 0!==t&&t,d=e.customClassName,m=e.customTitleClassName,x=e.customStyle,f=e.onClick,j=e.iconName,p=e.customDescClassName,w=(0,o.useRef)(f);w.current=f;var h=(0,o.useCallback)((function(){var e;return u&&(null===(e=w.current)||void 0===e?void 0:e.call(w))}),[u]),N=(0,o.useMemo)((function(){return(0,r.jsxs)(n.View,{className:l()(i.default.cell,d),style:x,onClick:h,children:[(0,r.jsxs)(n.View,{className:l()(i.default.title,m),children:[j&&(0,r.jsx)(a.default,{name:j,size:46}),(0,r.jsx)(n.View,{children:s})]}),(0,r.jsxs)(n.View,{className:i.default.desc,children:[(0,r.jsx)(n.View,{className:l()(i.default.descText,p),children:c}),u&&(0,r.jsx)(a.default,{name:"icon-rukou",size:46,color:"inherit"})]})]})}),[s,c,h,x]);return(0,r.jsx)(r.Fragment,{children:N})}}}]);
|
||||
@@ -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 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