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,2 @@
|
||||
/*! For license information please see 1765aa4ae4fcbfcb768c717dfd0558f0.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/1765aa4ae4fcbfcb768c717dfd0558f0"],{"./src/pages/searchList/components/selectData/index.tsx":function(e,n,s){var t=s("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),c=s("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),l=s("./node_modules/react/cjs/react.production.min.js"),a=s("./node_modules/classnames/index.js"),o=s.n(a),i=s("./src/pages/searchList/components/selectData/index.module.scss"),r=s("./node_modules/react/cjs/react-jsx-runtime.production.min.js");n.default=function(e){var n,s=e.list,a=void 0===s?[]:s,u=e.defaultValue,d=void 0===u?[]:u,m=e.onClickTag,f=(0,l.useState)((null==d||null===(n=d[0])||void 0===n?void 0:n.id)||-1),p=(0,t.default)(f,2),_=p[0],b=p[1];(0,l.useEffect)((function(){var e;console.log("selectData defaultValue",d),j.current=d,b(null==d||null===(e=d[0])||void 0===e?void 0:e.id)}),[d]);var j=(0,l.useRef)([]);return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(c.View,{className:i.default.tabs_main,id:"tabs_main_ref",children:(0,r.jsx)(c.ScrollView,{className:i.default.tabs_scroll,scrollX:!0,scrollWithAnimation:!0,scrollIntoView:"tabs_".concat(_),children:(0,r.jsx)(c.View,{className:i.default.tabs_scroll,children:a.map((function(e,n){return(0,r.jsx)(c.View,{id:"tabs_".concat(e.id),className:i.default.tabs_item,onClick:function onClick(){return function clickEvent(e){console.log("clickEvent",e);var n=j.current.findIndex((function(n){return n.id===e.id}));console.log(n),-1!==n?j.current.splice(n,1):j.current=[e],console.log("multipleSelection",j.current),null==m||m(j.current),b(e.id)}(e)},children:(0,r.jsx)(c.View,{className:o()(i.default.tabs_item_con,j.current.some((function(n){return e.id===n.id}))?i.default.tabs_item_select:""),children:e.name})},n)}))})})})})}}}]);
|
||||
@@ -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 9996aa9f0d3c47748a31f7de83203e6f.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/9996aa9f0d3c47748a31f7de83203e6f"],{"./src/pages/searchList/components/selectData/index.module.scss":function(_,e){e.default={common_safe_area_y:"index-module__common_safe_area_y___DlVqh",hoverClass:"index-module__hoverClass___qlOWw","full-100":"index-module__full-100___bdJf8",tabs_main:"index-module__tabs_main___c_gLD",tabs_scroll:"index-module__tabs_scroll___mD9Hm",tabs_item:"index-module__tabs_item___C7xe5",tabs_item_con:"index-module__tabs_item_con___hybZu",tabs_index:"index-module__tabs_index___hR8hq",tabs_item_select:"index-module__tabs_item_select___t8gxb"}}}]);
|
||||
@@ -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 a9f502422a5cebf3f4d008798630c54f.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/a9f502422a5cebf3f4d008798630c54f"],{"./src/components/sortBtn/index.module.scss":function(_,e){e.default={common_safe_area_y:"index-module__common_safe_area_y___aiE8a",hoverClass:"index-module__hoverClass___rFrNB","full-100":"index-module__full-100___iCcB6",click:"index-module__click___Vd41t",bottom:"index-module__bottom___K2in9",top:"index-module__top___g5pgn",selected:"index-module__selected___RYQdE"}}}]);
|
||||
@@ -0,0 +1,2 @@
|
||||
/*! For license information please see b381c79a1fbfec5335fa7029f46ddeee.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/b381c79a1fbfec5335fa7029f46ddeee"],{"./src/components/sortBtn/index.tsx":function(e,t,n){var o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),a=n("./node_modules/classnames/index.js"),c=n.n(a),u=n("./node_modules/react/cjs/react.production.min.js"),r=n("./src/components/sortBtn/index.module.scss"),l=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js"),d=function SortBtn(e,t){var n=e.status,a=void 0===n?"none":n,d=e.onChange,i=e.sortValue,m=(0,u.useState)(),f=(0,o.default)(m,2),p=f[0],j=f[1];(0,u.useEffect)((function(){j((function(){return a}))}),[a]);var b=function changeSort(){var e="none",t="";return"none"==p&&(e="top",t=null==i?void 0:i.asc),"top"==p&&(e="bottom",t=null==i?void 0:i.desc),"bottom"==p&&(e="none"),j((function(){return e})),null==d||d({status:e,value:t}),{status:e,value:t}};return(0,u.useImperativeHandle)(t,(function(){return{changeSort:b}})),(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(s.View,{className:r.default.click,onClick:b,children:[(0,l.jsx)(s.View,{className:c()(r.default.top,"top"==p&&r.default.selected)}),(0,l.jsx)(s.View,{className:c()(r.default.bottom,"bottom"==p&&r.default.selected)})]})})};t.default=(0,u.forwardRef)(d)}}]);
|
||||
@@ -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,81 @@
|
||||
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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/searchList/components/selectData/index.module.scss ***!
|
||||
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
@charset "UTF-8";
|
||||
.index-module__common_safe_area_y___DlVqh {
|
||||
width: 100%;
|
||||
height: constant(safe-area-inset-bottom);
|
||||
/* 兼容 iOS < 11.2 */
|
||||
height: env(safe-area-inset-bottom);
|
||||
/* 兼容 iOS >= 11.2 */
|
||||
}
|
||||
.index-module__hoverClass___qlOWw {
|
||||
-webkit-filter: brightness(70%);
|
||||
filter: brightness(70%);
|
||||
}
|
||||
.index-module__full-100___bdJf8 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.index-module__tabs_main___c_gLD {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
.index-module__tabs_main___c_gLD .index-module__tabs_scroll___mD9Hm {
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.index-module__tabs_main___c_gLD .index-module__tabs_scroll___mD9Hm ::-webkit-scrollbar {
|
||||
display: none;
|
||||
width: 0;
|
||||
height: 0;
|
||||
color: transparent;
|
||||
}
|
||||
.index-module__tabs_main___c_gLD .index-module__tabs_scroll___mD9Hm .index-module__tabs_item___C7xe5 {
|
||||
display: inline-block;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.index-module__tabs_main___c_gLD .index-module__tabs_scroll___mD9Hm .index-module__tabs_item___C7xe5 .index-module__tabs_item_con___hybZu {
|
||||
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;
|
||||
font-size: 28rpx;
|
||||
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: 4rpx 26rpx;
|
||||
border-radius: 24rpx;
|
||||
background-color: #f6f6f6;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid transparent;
|
||||
color: #8a8a8a;
|
||||
}
|
||||
.index-module__tabs_main___c_gLD .index-module__tabs_scroll___mD9Hm .index-module__tabs_item___C7xe5 .index-module__tabs_index___hR8hq {
|
||||
height: 5rpx;
|
||||
width: 100%;
|
||||
background-color: #4581ff;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
border-radius: 50rpx;
|
||||
}
|
||||
.index-module__tabs_main___c_gLD .index-module__tabs_scroll___mD9Hm .index-module__tabs_item___C7xe5 .index-module__tabs_item_select___t8gxb {
|
||||
color: #4581ff;
|
||||
background-color: #eaf2ff;
|
||||
border: 1px solid #4581ff;
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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/sortBtn/index.module.scss ***!
|
||||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
@charset "UTF-8";
|
||||
.index-module__common_safe_area_y___aiE8a {
|
||||
width: 100%;
|
||||
height: constant(safe-area-inset-bottom);
|
||||
/* 兼容 iOS < 11.2 */
|
||||
height: env(safe-area-inset-bottom);
|
||||
/* 兼容 iOS >= 11.2 */
|
||||
}
|
||||
.index-module__hoverClass___rFrNB {
|
||||
-webkit-filter: brightness(70%);
|
||||
filter: brightness(70%);
|
||||
}
|
||||
.index-module__full-100___iCcB6 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.index-module__click___Vd41t {
|
||||
height: 40rpx;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-justify-content: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
-webkit-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
.index-module__bottom___K2in9 {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-style: solid;
|
||||
border-width: 0 10rpx 10rpx;
|
||||
border-color: transparent transparent #999999;
|
||||
-webkit-transform: rotate(180deg);
|
||||
-ms-transform: rotate(180deg);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
.index-module__top___g5pgn {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-style: solid;
|
||||
border-width: 0 10rpx 10rpx;
|
||||
border-color: transparent transparent #999999;
|
||||
margin-bottom: 5rpx;
|
||||
}
|
||||
.index-module__selected___RYQdE {
|
||||
border-color: transparent transparent #4581ff;
|
||||
}
|
||||
@@ -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