1
This commit is contained in:
Vendored
+2
File diff suppressed because one or more lines are too long
+193
@@ -0,0 +1,193 @@
|
||||
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
|
||||
|
||||
/*! ../divider */
|
||||
|
||||
/*! ../goods */
|
||||
|
||||
/*! ../goods/index.module.scss */
|
||||
|
||||
/*! ../guidePopup/index */
|
||||
|
||||
/*! ../iconfont/iconfont */
|
||||
|
||||
/*! ./components/feature */
|
||||
|
||||
/*! ./components/orderCount */
|
||||
|
||||
/*! ./components/recommend */
|
||||
|
||||
/*! ./components/scrollViewX */
|
||||
|
||||
/*! ./components/swiper */
|
||||
|
||||
/*! ./index.module.scss */
|
||||
|
||||
/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.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/colorCard */
|
||||
|
||||
/*! @/api/company */
|
||||
|
||||
/*! @/api/favorite */
|
||||
|
||||
/*! @/api/material */
|
||||
|
||||
/*! @/api/materialColor */
|
||||
|
||||
/*! @/api/share */
|
||||
|
||||
/*! @/api/shopCart */
|
||||
|
||||
/*! @/common/common */
|
||||
|
||||
/*! @/common/constant */
|
||||
|
||||
/*! @/common/enum */
|
||||
|
||||
/*! @/common/format */
|
||||
|
||||
/*! @/common/report/event */
|
||||
|
||||
/*! @/common/util */
|
||||
|
||||
/*! @/components/Dialog */
|
||||
|
||||
/*! @/components/LabAndImg */
|
||||
|
||||
/*! @/components/LabAndImgShow */
|
||||
|
||||
/*! @/components/addCollection */
|
||||
|
||||
/*! @/components/counter */
|
||||
|
||||
/*! @/components/iconfont/iconfont */
|
||||
|
||||
/*! @/components/loadingCard */
|
||||
|
||||
/*! @/components/moveBtn */
|
||||
|
||||
/*! @/components/normalButton */
|
||||
|
||||
/*! @/components/organizationNameModal */
|
||||
|
||||
/*! @/components/popup */
|
||||
|
||||
/*! @/components/popupSelectColor */
|
||||
|
||||
/*! @/components/search */
|
||||
|
||||
/*! @/components/shopCart */
|
||||
|
||||
/*! @/reducers/hooks */
|
||||
|
||||
/*! @/use/useCommon */
|
||||
|
||||
/*! @/use/useCommonData */
|
||||
|
||||
/*! @/use/useHttp */
|
||||
|
||||
/*! @/use/useLogin */
|
||||
|
||||
/*! @/use/useUserInfo */
|
||||
|
||||
/*! @tarojs/components */
|
||||
|
||||
/*! @tarojs/runtime */
|
||||
|
||||
/*! @tarojs/taro */
|
||||
|
||||
/*! big.js */
|
||||
|
||||
/*! classnames */
|
||||
|
||||
/*! react */
|
||||
|
||||
/*! react/jsx-runtime */
|
||||
|
||||
/*!**********************************!*\
|
||||
!*** ./src/api/materialColor.ts ***!
|
||||
\**********************************/
|
||||
|
||||
/*!*************************************!*\
|
||||
!*** ./src/pages/details/index.tsx ***!
|
||||
\*************************************/
|
||||
|
||||
/*!*********************************************!*\
|
||||
!*** ./src/pages/details/index.module.scss ***!
|
||||
\*********************************************/
|
||||
|
||||
/*!************************************************!*\
|
||||
!*** ./src/components/addCollection/index.tsx ***!
|
||||
\************************************************/
|
||||
|
||||
/*!******************************************************!*\
|
||||
!*** ./src/pages/details/components/goods/index.tsx ***!
|
||||
\******************************************************/
|
||||
|
||||
/*!*******************************************************!*\
|
||||
!*** ./src/pages/details/components/swiper/index.tsx ***!
|
||||
\*******************************************************/
|
||||
|
||||
/*!********************************************************!*\
|
||||
!*** ./src/components/addCollection/index.module.scss ***!
|
||||
\********************************************************/
|
||||
|
||||
/*!********************************************************!*\
|
||||
!*** ./src/pages/details/components/feature/index.tsx ***!
|
||||
\********************************************************/
|
||||
|
||||
/*!**********************************************************!*\
|
||||
!*** ./src/pages/details/components/recommend/index.tsx ***!
|
||||
\**********************************************************/
|
||||
|
||||
/*!***********************************************************!*\
|
||||
!*** ./src/pages/details/components/guidePopup/index.tsx ***!
|
||||
\***********************************************************/
|
||||
|
||||
/*!***********************************************************!*\
|
||||
!*** ./src/pages/details/components/orderCount/index.tsx ***!
|
||||
\***********************************************************/
|
||||
|
||||
/*!************************************************************!*\
|
||||
!*** ./src/pages/details/components/scrollViewX/index.tsx ***!
|
||||
\************************************************************/
|
||||
|
||||
/*!**************************************************************!*\
|
||||
!*** ./src/pages/details/components/goods/index.module.scss ***!
|
||||
\**************************************************************/
|
||||
|
||||
/*!***************************************************************!*\
|
||||
!*** ./src/pages/details/components/swiper/index.module.scss ***!
|
||||
\***************************************************************/
|
||||
|
||||
/*!****************************************************************!*\
|
||||
!*** ./src/pages/details/components/feature/index.module.scss ***!
|
||||
\****************************************************************/
|
||||
|
||||
/*!******************************************************************!*\
|
||||
!*** ./src/pages/details/components/recommend/index.module.scss ***!
|
||||
\******************************************************************/
|
||||
|
||||
/*!*******************************************************************!*\
|
||||
!*** ./src/pages/details/components/guidePopup/index.module.scss ***!
|
||||
\*******************************************************************/
|
||||
|
||||
/*!*******************************************************************!*\
|
||||
!*** ./src/pages/details/components/orderCount/index.module.scss ***!
|
||||
\*******************************************************************/
|
||||
|
||||
/*!********************************************************************!*\
|
||||
!*** ./src/pages/details/components/scrollViewX/index.module.scss ***!
|
||||
\********************************************************************/
|
||||
|
||||
/*!**********************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/details/index.tsx ***!
|
||||
\**********************************************************************************************************/
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"navigationBarTitleText":"商品详情","enablePullDownRefresh":true,"backgroundTextStyle":"dark","usingComponents":{"custom-wrapper":"../../custom-wrapper","comp":"../../comp"}}
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
<import src="../../base.wxml"/>
|
||||
<template is="taro_tmpl" data="{{root:root}}" />
|
||||
Vendored
+1500
File diff suppressed because it is too large
Load Diff
@@ -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 1560f0b0875ace1edafcce378337baf8.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/1560f0b0875ace1edafcce378337baf8"],{"./src/components/shopCart/components/productItem/index.module.scss":function(_,e){e.default={common_safe_area_y:"index-module__common_safe_area_y___qlCUj",hoverClass:"index-module__hoverClass___U06jB","full-100":"index-module__full-100___Bl_Ur",product_item:"index-module__product_item___z6Vx0",checkbox:"index-module__checkbox___WuJMV",img:"index-module__img___nL6LB",des:"index-module__des____wkTs",subtitle:"index-module__subtitle___x1wjX",tag:"index-module__tag___jdkkN",count:"index-module__count___gyYmw",btn_count:"index-module__btn_count___SNYbE",long:"index-module__long___qf79D",product_item_name:"index-module__product_item_name___xYkhg",product_item_name_header:"index-module__product_item_name_header___zlqI0",price:"index-module__price___UXJSb",title:"index-module__title___LgKUP",no_product_item_select:"index-module__no_product_item_select___M_n6L"}}}]);
|
||||
@@ -0,0 +1,339 @@
|
||||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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/shopCart/index.module.scss ***!
|
||||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
@charset "UTF-8";
|
||||
.index-module__common_safe_area_y___ccGnr {
|
||||
width: 100%;
|
||||
height: constant(safe-area-inset-bottom);
|
||||
/* 兼容 iOS < 11.2 */
|
||||
height: env(safe-area-inset-bottom);
|
||||
/* 兼容 iOS >= 11.2 */
|
||||
}
|
||||
.index-module__hoverClass___gTUgM {
|
||||
-webkit-filter: brightness(70%);
|
||||
filter: brightness(70%);
|
||||
}
|
||||
.index-module__full-100___O7snw {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__popup_con___y3rOB {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
height: 80vh;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__header___Fkmjh {
|
||||
width: 100%;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
padding: 30rpx;
|
||||
font-size: 28rpx;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
color: #ababab;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__header___Fkmjh .index-module__miconfont___WCOzn {
|
||||
font-size: 40rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__count_all___CBjuZ {
|
||||
font-size: 22rpx;
|
||||
color: #ABABAB;
|
||||
padding: 30rpx 20rpx;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__search___sxzuE {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
padding: 0 30rpx;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__search___sxzuE .index-module__search_item___J0yVs {
|
||||
width: 200rpx;
|
||||
height: 55rpx;
|
||||
text-align: center;
|
||||
line-height: 55rpx;
|
||||
color: #ababab;
|
||||
font-size: 24rpx;
|
||||
background-color: #f0f0f0;
|
||||
border-radius: 50rpx;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__search___sxzuE .index-module__search_item_select___j2U7K {
|
||||
border: 2rpx solid #4581ff;
|
||||
background-color: #ecf5ff;
|
||||
color: #4581ff;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN {
|
||||
padding: 30rpx;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
-webkit-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
height: 0;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__scroll___XgNi2 {
|
||||
height: 100%;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS {
|
||||
padding-bottom: 120rpx;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__product_item___JkDOa {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__product_item___JkDOa:nth-child(n+2) {
|
||||
margin-top: 37rpx;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__product_item___JkDOa .index-module__checkbox___iwkrf {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__product_item___JkDOa .index-module__img___P6j5a {
|
||||
width: 126rpx;
|
||||
height: 126rpx;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__product_item___JkDOa .index-module__img___P6j5a image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__product_item___JkDOa .index-module__des___BygXN {
|
||||
-webkit-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
margin-left: 20rpx;
|
||||
padding-right: 10rpx;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__product_item___JkDOa .index-module__des___BygXN .index-module__subtitle___OHRTL {
|
||||
color: #ababab;
|
||||
font-size: 24rpx;
|
||||
margin: 10rpx 0;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__product_item___JkDOa .index-module__des___BygXN .index-module__tag_____ISZ {
|
||||
font-size: 22rpx;
|
||||
color: #fff;
|
||||
background-color: #4581ff;
|
||||
border-radius: 10rpx;
|
||||
width: 65rpx;
|
||||
height: 33rpx;
|
||||
text-align: center;
|
||||
line-height: 33rpx;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__no_product_item_select___jZhOw {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__count___rIRby {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__count___rIRby .index-module__btn_count___q_l0I {
|
||||
width: 235rpx;
|
||||
height: 64rpx;
|
||||
background-color: #ECF5FF;
|
||||
border-radius: 40rpx 0rpx 16rpx 0rpx;
|
||||
padding: 0 20rpx;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__count___rIRby .index-module__long___MWfGP {
|
||||
color: #4581ff;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__product_item_name___vWPVX {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
color: #3C3C3C;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__product_item_name_header___ZEGQk {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10rpx;
|
||||
margin-left: 20rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__product_item_name_header___ZEGQk .index-module__price___Dne74 {
|
||||
font-size: 28rpx;
|
||||
font-weight: 700;
|
||||
color: #3c3c3c;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__product_item_name_header___ZEGQk .index-module__price___Dne74 text {
|
||||
font-size: 22rpx;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__product_list___R2YCS .index-module__product_item_name_header___ZEGQk .index-module__title___FuOxK {
|
||||
font-size: 28rpx;
|
||||
color: #3c3c3c;
|
||||
padding-right: 10rpx;
|
||||
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;
|
||||
-webkit-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__empty____wXM7 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-justify-content: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__empty____wXM7 .index-module__title___FuOxK {
|
||||
color: #ababab;
|
||||
font-size: 22rpx;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__con___M3zqN .index-module__empty____wXM7 .index-module__btn___yoqkR {
|
||||
width: 222rpx;
|
||||
height: 68rpx;
|
||||
background-color: #4581ff;
|
||||
font-size: 28rpx;
|
||||
text-align: center;
|
||||
line-height: 68rpx;
|
||||
margin-top: 42rpx;
|
||||
color: #fff;
|
||||
border-radius: 50rpx;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__buy_btn___S9lS1 {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
bottom: 20rpx;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-justify-content: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
padding-bottom: constant(safe-area-inset-bottom);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
z-index: 999;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__buy_btn___S9lS1 .index-module__buy_con___M7y2i {
|
||||
width: 702rpx;
|
||||
height: 95rpx;
|
||||
background-color: #3c3c3c;
|
||||
border-radius: 50rpx;
|
||||
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;
|
||||
padding: 20rpx 0;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
-webkit-box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__buy_btn___S9lS1 .index-module__buy_con___M7y2i .index-module__icon___REXwD {
|
||||
width: 100rpx;
|
||||
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;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__buy_btn___S9lS1 .index-module__buy_con___M7y2i .index-module__icon___REXwD .index-module__miconfont___WCOzn {
|
||||
font-size: 39rpx;
|
||||
color: #fff;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__buy_btn___S9lS1 .index-module__buy_con___M7y2i .index-module__price_con___ZDMQk {
|
||||
-webkit-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__buy_btn___S9lS1 .index-module__buy_con___M7y2i .index-module__price_con___ZDMQk .index-module__price_real___Z0aPl {
|
||||
font-size: 32rpx;
|
||||
color: #fff;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__buy_btn___S9lS1 .index-module__buy_con___M7y2i .index-module__price_con___ZDMQk .index-module__price_real___Z0aPl text {
|
||||
font-size: 22rpx;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__buy_btn___S9lS1 .index-module__buy_con___M7y2i .index-module__price_con___ZDMQk .index-module__price_forecast___Ggj9H {
|
||||
font-size: 22rpx;
|
||||
color: #ababab;
|
||||
}
|
||||
.index-module__shop_cart_main___JXPT9 .index-module__buy_btn___S9lS1 .index-module__buy_con___M7y2i .index-module__goPay___F2QQ6 {
|
||||
width: 200rpx;
|
||||
height: 95rpx;
|
||||
background-color: #4581ff;
|
||||
border-radius: 0rpx 50rpx 50rpx 0rpx;
|
||||
text-align: center;
|
||||
line-height: 95rpx;
|
||||
font-size: 32rpx;
|
||||
color: #fff;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
/*! For license information please see 26f66b4953f388c7812a8993ef58cdc3.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/26f66b4953f388c7812a8993ef58cdc3"],{"./src/components/shopCart/index.module.scss":function(_,e){e.default={common_safe_area_y:"index-module__common_safe_area_y___ccGnr",hoverClass:"index-module__hoverClass___gTUgM","full-100":"index-module__full-100___O7snw",shop_cart_main:"index-module__shop_cart_main___JXPT9",popup_con:"index-module__popup_con___y3rOB",header:"index-module__header___Fkmjh",miconfont:"index-module__miconfont___WCOzn",count_all:"index-module__count_all___CBjuZ",search:"index-module__search___sxzuE",search_item:"index-module__search_item___J0yVs",search_item_select:"index-module__search_item_select___j2U7K",con:"index-module__con___M3zqN",scroll:"index-module__scroll___XgNi2",product_list:"index-module__product_list___R2YCS",product_item:"index-module__product_item___JkDOa",checkbox:"index-module__checkbox___iwkrf",img:"index-module__img___P6j5a",des:"index-module__des___BygXN",subtitle:"index-module__subtitle___OHRTL",tag:"index-module__tag_____ISZ",no_product_item_select:"index-module__no_product_item_select___jZhOw",count:"index-module__count___rIRby",btn_count:"index-module__btn_count___q_l0I",long:"index-module__long___MWfGP",product_item_name:"index-module__product_item_name___vWPVX",product_item_name_header:"index-module__product_item_name_header___ZEGQk",price:"index-module__price___Dne74",title:"index-module__title___FuOxK",empty:"index-module__empty____wXM7",btn:"index-module__btn___yoqkR",buy_btn:"index-module__buy_btn___S9lS1",buy_con:"index-module__buy_con___M7y2i",icon:"index-module__icon___REXwD",price_con:"index-module__price_con___ZDMQk",price_real:"index-module__price_real___Z0aPl",price_forecast:"index-module__price_forecast___Ggj9H",goPay:"index-module__goPay___F2QQ6"}}}]);
|
||||
@@ -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 42aa399095655e26e89ff8601d93d33a.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/42aa399095655e26e89ff8601d93d33a"],{"./src/components/shopCart/components/productItem/index.tsx":function(e,s,t){var a=t("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),l=t("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),c=t("./node_modules/react/cjs/react.production.min.js"),n=t("./node_modules/classnames/index.js"),o=t.n(n),d=t("./node_modules/big.js/big.mjs"),u=t("./src/components/shopCart/components/productItem/index.module.scss"),r=t("./src/components/checkbox/index.tsx"),i=t("./src/components/counter/index.tsx"),m=t("./src/components/LabAndImg/index.tsx"),f=t("./src/common/format.ts"),p=t("./node_modules/react/cjs/react-jsx-runtime.production.min.js"),x=function ProductItem(e){var s=e.onChangeCount,t=e.onChangeSelect,n=e.item,x=e.sale_model,_=(0,c.useCallback)((function(){t((0,a.default)((0,a.default)({},n),{},{selected:!0}))}),[n]),j=(0,c.useCallback)((function(){t((0,a.default)((0,a.default)({},n),{},{selected:!1}))}),[n]),b=(0,c.useCallback)((function(){}),[]),h=(0,c.useCallback)((function(e){var t=0==n.sale_mode?parseFloat(e):0,l=0!=n.sale_mode?parseFloat(new d.default(parseFloat(e)).times(100)):0;s((0,a.default)((0,a.default)({},n),{},{roll:t,length:l}))}),[n]),w=(0,c.useMemo)((function(){return{lab:n.lab,rgb:n.rgb,texture_url:n.texture_url,title:n.product_color_code}}),[n]);(0,c.useCallback)((function(){x==n.sale_mode&&t((0,a.default)((0,a.default)({},n),{},{selected:!n.selected}))}),[n]);console.log("刷新2::",n);var N=(0,c.useCallback)((function(e){return Number((0,f.formatPriceDiv)(e))}),[]),g=(0,c.useCallback)((function(e){return 0==e.sale_mode?e.roll:e.length/100}),[]),C=(0,c.useCallback)((function(e){return 0==e.sale_mode?"条":"米"}),[]),k=(0,c.useMemo)((function(){return x!=n.sale_mode}),[n]);return(0,p.jsxs)(l.View,{className:o()(u.default.product_item,k&&u.default.no_product_item_select),children:[(0,p.jsx)(l.View,{className:u.default.checkbox,children:(0,p.jsx)(r.default,{status:n.selected,onSelect:_,onClose:j,disabled:k})}),(0,p.jsx)(l.View,{className:u.default.img,children:(0,p.jsx)(m.default,{value:w,showStatus:!1,onClick:b})}),(0,p.jsxs)(l.View,{className:u.default.product_item_name,children:[(0,p.jsxs)(l.View,{className:u.default.product_item_name_header,children:[(0,p.jsx)(l.View,{className:u.default.title,children:(0,f.formatHashTag)(n.product_code,n.product_name)}),(0,p.jsxs)(l.View,{className:u.default.price,children:[(0,p.jsx)(l.Text,{children:"¥"}),N(n.sale_price),(0,p.jsxs)(l.Text,{children:["/",n.eunit]})]})]}),(0,p.jsxs)(l.View,{className:u.default.count,children:[(0,p.jsxs)(l.View,{className:u.default.des,children:[(0,p.jsx)(l.View,{className:u.default.subtitle,children:"".concat(n.product_color_code," ").concat(n.product_color_name)}),(0,p.jsx)(l.View,{className:u.default.tag,children:n.sale_mode_name})]}),(0,p.jsx)(l.View,{className:u.default.btn_count,children:(0,p.jsx)(i.default,{onBlue:h,defaultNum:g(n),step:n.step,digits:n.digits,onClickBtn:h,unit:C(n),minNum:n.minNum,maxNum:n.maxNum,disabled:k})})]})]})]})};s.default=(0,c.memo)(x)}}]);
|
||||
@@ -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 669b91dc08b3dd9a4d8d68849195075c.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/669b91dc08b3dd9a4d8d68849195075c"],{"./src/api/colorCard.ts":function(r,e,t){t.d(e,{ColorCardOrderCancelApi:function(){return a},GetColorCardApi:function(){return u},GetColorCardOrderApi:function(){return n},GetColorCardOrderByProductApi:function(){return C},GetColorCardOrderDetailApi:function(){return c},GetColorCardOrderStatusApi:function(){return l},SubmitColorCardApi:function(){return d}});var o=t("./src/use/useHttp.ts"),u=function GetColorCardApi(){return(0,o.useRequest)({url:"/v1/mall/colorCardOrder/canAddCard",method:"post"})},d=function SubmitColorCardApi(){return(0,o.useRequest)({url:"/v1/mall/colorCardOrder/submit",method:"post"})},n=function GetColorCardOrderApi(){return(0,o.useRequest)({url:"/v1/mall/colorCardOrder/list",method:"get"})},l=function GetColorCardOrderStatusApi(){return(0,o.useRequest)({url:"/v1/mall/colorCardOrder/enum/auditStatus",method:"get"})},a=function ColorCardOrderCancelApi(){return(0,o.useRequest)({url:"/v1/mall/colorCardOrder/cancel",method:"post"})},c=function GetColorCardOrderDetailApi(){return(0,o.useRequest)({url:"/v1/mall/colorCardOrder",method:"get"})},C=function GetColorCardOrderByProductApi(){return(0,o.useRequest)({url:"/v1/mall/product/colorCard",method:"get"})}}}]);
|
||||
@@ -0,0 +1,2 @@
|
||||
/*! For license information please see 8919209ac5faab92b678fcb20d9a2155.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/8919209ac5faab92b678fcb20d9a2155"],{"./src/components/popupSelectColor/index.tsx":function(e,t,n){var s=n("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),a=n("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),l=n("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js"),o=n("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),c=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),u=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),r=n("./node_modules/classnames/index.js"),i=n.n(r),d=n("./node_modules/react/cjs/react.production.min.js"),m=n("./src/components/popupSelectColor/index.module.scss"),f=n("./src/components/popup/index.tsx"),p=n("./src/components/LabAndImg/index.tsx"),x=n("./src/components/iconfont/iconfont.tsx"),h=n("./src/api/material.ts"),j=n("./src/common/format.ts"),b=n("./src/common/common.ts"),_=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js");t.default=(0,d.memo)((function(e){var t=e.show,n=void 0!==t&&t,r=e.onClose,p=e.product_id,x=e.onSelected,j=e.defaultValueIds,v=void 0===j?[]:j,V=(0,d.useState)([]),N=(0,c.default)(V,2),C=N[0],g=N[1],S=(0,h.GetProductDetailApi)().fetchData,k=function(){var e=(0,o.default)((0,l.default)().mark((function _callee(){var e;return(0,l.default)().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S({id:p});case 2:e=t.sent,g(y(e.data.product_color_list)||[]);case 4:case"end":return t.stop()}}),_callee)})));return function getProductDetail(){return e.apply(this,arguments)}}();(0,d.useEffect)((function(){n&&p&&k(),!n&&g([])}),[n,p]);var T=(0,d.useRef)([]);(0,d.useEffect)((function(){T.current=C}),[C]);var y=function initData(e){return v.length>0?null==e?void 0:e.map((function(t,n){return v.includes(t.id)?e[n]=(0,a.default)((0,a.default)({},t),{},{status:!0}):t})):e},A=(0,d.useCallback)((function(e){T.current.map((function(t,n){t.id===e.id&&(T.current[n]=(0,a.default)((0,a.default)({},t),{},{status:!t.status}))})),g((function(){return(0,s.default)(T.current)}))}),[]),D=(0,d.useMemo)((function(){var e=0;return C.map((function(t){return t.status&&(e+=1)})),e}),[C]),E=function onCloseEven(){var e=0;null==C||C.map((function(t){t.status&&e++})),null==r||r(e)};return(0,_.jsx)(u.View,{className:m.default.main,children:(0,_.jsxs)(f.default,{show:n,showTitle:!1,onClose:E,children:[(0,_.jsxs)(u.View,{className:m.default.header,children:[(0,_.jsxs)(u.Text,{children:["请选择色号剪样( ",C.length," )"]}),(0,_.jsx)(u.Text,{children:"剪样大小为A4,大约22cm*30cm"})]}),(0,_.jsx)(u.View,{className:m.default.color_list,children:(0,_.jsx)(u.ScrollView,{scrollY:!0,className:m.default.scroll_view,children:(0,_.jsx)(u.View,{className:m.default.color_list_con,children:null==C?void 0:C.map((function(e){return(0,_.jsx)(w,{item:e,onSelect:A},e.id)}))})})}),(0,_.jsxs)(u.View,{className:m.default.btns,children:[(0,_.jsx)(u.View,{className:m.default.cancel,onClick:E,children:"取消"}),(0,_.jsxs)(u.View,{className:i()(m.default.submit,D&&m.default.selected),onClick:function onSubmit(){if(D<=0)return b.alert.none("请选择色号");var e=[];null==C||C.map((function(t){t.status&&e.push((0,a.default)((0,a.default)({},t),{},{count:1}))})),null==x||x(e)},children:["领取剪样(",D,")"]})]})]})})}));var w=(0,d.memo)((function(e){var t=e.item,n=e.onSelect;return(0,_.jsxs)(u.View,{className:m.default.item,onClick:function onClick(){return null==n?void 0:n(t)},children:[(0,_.jsxs)(u.View,{className:i()(m.default.item_color,t.status&&m.default.select_color),children:[(0,_.jsx)(p.default,{value:{lab:t.lab,rgb:t.rgb,texture_url:t.texture_url},round:!0,name:(0,j.formatHashTag)(t.code)}),t.status&&(0,_.jsx)(u.View,{className:m.default.icon,children:(0,_.jsx)(x.default,{name:"icon-xuanzhongyanse",size:35})})]}),(0,_.jsx)(u.View,{className:m.default.item_name,children:t.name})]},t.id)}))}}]);
|
||||
@@ -0,0 +1,2 @@
|
||||
/*! For license information please see 932400230807213391bf842279a6e498.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/932400230807213391bf842279a6e498"],{"./src/components/popupSelectColor/index.module.scss":function(_,e){e.default={common_safe_area_y:"index-module__common_safe_area_y___OHaXZ",hoverClass:"index-module__hoverClass___KrOyU","full-100":"index-module__full-100___igu2F",main:"index-module__main___yAH6K",header:"index-module__header___t9Rv6",color_list:"index-module__color_list___vMc4c",scroll_view:"index-module__scroll_view___GPL6Z",color_list_con:"index-module__color_list_con___PM7bF",item:"index-module__item____72YW",item_color:"index-module__item_color___cAsxC",icon:"index-module__icon___JOKhm",select_color:"index-module__select_color___R2Rct",item_name:"index-module__item_name___HD6KV",btns:"index-module__btns___IwvLo",cancel:"index-module__cancel___DzfaG",submit:"index-module__submit___tEGCz",selected:"index-module__selected___dOB6M"}}}]);
|
||||
@@ -0,0 +1,2 @@
|
||||
/*! For license information please see b15a59e62f0de52477cd87cdc0559eda.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/b15a59e62f0de52477cd87cdc0559eda"],{"./src/api/favorite.ts":function(t,e,r){r.d(e,{AddFavoriteApi:function(){return c},CreateFavoriteApi:function(){return i},DelFavoriteApi:function(){return n},DelFavoriteProductApi:function(){return s},FavoriteListApi:function(){return o},Mallproductinstruct:function(){return p},MoveFavoriteProductApi:function(){return l},UpdateFavoriteApi:function(){return a}});var u=r("./src/use/useHttp.ts"),o=function FavoriteListApi(){return(0,u.useRequest)({url:"/v1/mall/favorite/list",method:"get"})},i=function CreateFavoriteApi(){return(0,u.useRequest)({url:"/v1/mall/favorite",method:"post"})},n=function DelFavoriteApi(){return(0,u.useRequest)({url:"/v1/mall/favorite",method:"delete"})},a=function UpdateFavoriteApi(){return(0,u.useRequest)({url:"/v1/mall/favorite",method:"put"})},c=function AddFavoriteApi(){return(0,u.useRequest)({url:"/v1/mall/favorite/product",method:"post"})},s=function DelFavoriteProductApi(){return(0,u.useRequest)({url:"/v1/mall/favorite/product",method:"delete"})},l=function MoveFavoriteProductApi(){return(0,u.useRequest)({url:"/v1/mall/favorite/product",method:"put"})},p=function Mallproductinstruct(){return(0,u.useRequest)({url:"/v2/mall/product/instruct",method:"get"})}}}]);
|
||||
@@ -0,0 +1,156 @@
|
||||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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/shopCart/components/productItem/index.module.scss ***!
|
||||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
@charset "UTF-8";
|
||||
.index-module__common_safe_area_y___qlCUj {
|
||||
width: 100%;
|
||||
height: constant(safe-area-inset-bottom);
|
||||
/* 兼容 iOS < 11.2 */
|
||||
height: env(safe-area-inset-bottom);
|
||||
/* 兼容 iOS >= 11.2 */
|
||||
}
|
||||
.index-module__hoverClass___U06jB {
|
||||
-webkit-filter: brightness(70%);
|
||||
filter: brightness(70%);
|
||||
}
|
||||
.index-module__full-100___Bl_Ur {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.index-module__product_item___z6Vx0 {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.index-module__product_item___z6Vx0:nth-child(n+2) {
|
||||
margin-top: 37rpx;
|
||||
}
|
||||
.index-module__product_item___z6Vx0 .index-module__checkbox___WuJMV {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.index-module__product_item___z6Vx0 .index-module__img___nL6LB {
|
||||
width: 126rpx;
|
||||
height: 126rpx;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.index-module__product_item___z6Vx0 .index-module__img___nL6LB image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.index-module__product_item___z6Vx0 .index-module__des____wkTs {
|
||||
-webkit-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
margin-left: 20rpx;
|
||||
padding-right: 10rpx;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.index-module__product_item___z6Vx0 .index-module__des____wkTs .index-module__subtitle___x1wjX {
|
||||
color: #ababab;
|
||||
font-size: 24rpx;
|
||||
margin: 10rpx 0;
|
||||
}
|
||||
.index-module__product_item___z6Vx0 .index-module__des____wkTs .index-module__tag___jdkkN {
|
||||
font-size: 22rpx;
|
||||
color: #fff;
|
||||
background-color: #4581ff;
|
||||
border-radius: 10rpx;
|
||||
width: 65rpx;
|
||||
height: 33rpx;
|
||||
text-align: center;
|
||||
line-height: 33rpx;
|
||||
}
|
||||
.index-module__product_item___z6Vx0 .index-module__count___gyYmw {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.index-module__product_item___z6Vx0 .index-module__count___gyYmw .index-module__btn_count___SNYbE {
|
||||
width: 235rpx;
|
||||
height: 64rpx;
|
||||
background-color: #ecf5ff;
|
||||
border-radius: 40rpx 0rpx 16rpx 0rpx;
|
||||
padding: 0 20rpx;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.index-module__product_item___z6Vx0 .index-module__count___gyYmw .index-module__long___qf79D {
|
||||
color: #4581ff;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.index-module__product_item___z6Vx0 .index-module__product_item_name___xYkhg {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
color: #3c3c3c;
|
||||
}
|
||||
.index-module__product_item___z6Vx0 .index-module__product_item_name_header___zlqI0 {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10rpx;
|
||||
margin-left: 20rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.index-module__product_item___z6Vx0 .index-module__product_item_name_header___zlqI0 .index-module__price___UXJSb {
|
||||
font-size: 28rpx;
|
||||
font-weight: 700;
|
||||
color: #3c3c3c;
|
||||
}
|
||||
.index-module__product_item___z6Vx0 .index-module__product_item_name_header___zlqI0 .index-module__price___UXJSb text {
|
||||
font-size: 22rpx;
|
||||
}
|
||||
.index-module__product_item___z6Vx0 .index-module__product_item_name_header___zlqI0 .index-module__title___LgKUP {
|
||||
font-size: 28rpx;
|
||||
color: #3c3c3c;
|
||||
padding-right: 10rpx;
|
||||
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;
|
||||
-webkit-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
.index-module__no_product_item_select___M_n6L {
|
||||
opacity: 0.3;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -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,117 @@
|
||||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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/popupSelectColor/index.module.scss ***!
|
||||
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
@charset "UTF-8";
|
||||
.index-module__common_safe_area_y___OHaXZ {
|
||||
width: 100%;
|
||||
height: constant(safe-area-inset-bottom);
|
||||
/* 兼容 iOS < 11.2 */
|
||||
height: env(safe-area-inset-bottom);
|
||||
/* 兼容 iOS >= 11.2 */
|
||||
}
|
||||
.index-module__hoverClass___KrOyU {
|
||||
-webkit-filter: brightness(70%);
|
||||
filter: brightness(70%);
|
||||
}
|
||||
.index-module__full-100___igu2F {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__header___t9Rv6 {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
padding: 32rpx 40rpx;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__header___t9Rv6 text:nth-child(1) {
|
||||
font-size: 32rpx;
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__header___t9Rv6 text:nth-child(2) {
|
||||
font-size: 28rpx;
|
||||
color: rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__color_list___vMc4c {
|
||||
padding: 0 40rpx;
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__color_list___vMc4c .index-module__scroll_view___GPL6Z {
|
||||
height: 70vh;
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__color_list___vMc4c .index-module__color_list_con___PM7bF {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, auto);
|
||||
grid-gap: 37rpx 40rpx;
|
||||
padding-bottom: 170rpx;
|
||||
-webkit-justify-content: flex-start;
|
||||
-ms-flex-pack: start;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__color_list___vMc4c .index-module__item____72YW {
|
||||
width: 136rpx;
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__color_list___vMc4c .index-module__item____72YW .index-module__item_color___cAsxC {
|
||||
width: 136rpx;
|
||||
height: 136rpx;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border-radius: 50%;
|
||||
position: relative;
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__color_list___vMc4c .index-module__item____72YW .index-module__item_color___cAsxC .index-module__icon___JOKhm {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__color_list___vMc4c .index-module__item____72YW .index-module__select_color___R2Rct {
|
||||
border: 4rpx solid #4581ff;
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__color_list___vMc4c .index-module__item____72YW .index-module__item_name___HD6KV {
|
||||
font-size: 24rpx;
|
||||
color: #666666;
|
||||
text-align: center;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__btns___IwvLo {
|
||||
height: 162rpx;
|
||||
background: #ffffff;
|
||||
-webkit-box-shadow: 0rpx -5rpx 20rpx -8rpx rgba(0, 0, 0, 0.06);
|
||||
box-shadow: 0rpx -5rpx 20rpx -8rpx rgba(0, 0, 0, 0.06);
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
padding: 16rpx 24rpx 0 24rpx;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__btns___IwvLo .index-module__cancel___DzfaG,
|
||||
.index-module__main___yAH6K .index-module__btns___IwvLo .index-module__submit___tEGCz {
|
||||
width: 335rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 40rpx;
|
||||
border: 1px solid #087eff;
|
||||
text-align: center;
|
||||
line-height: 80rpx;
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__btns___IwvLo .index-module__cancel___DzfaG {
|
||||
font-size: 28rpx;
|
||||
color: #4581ff;
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__btns___IwvLo .index-module__submit___tEGCz {
|
||||
font-size: 28rpx;
|
||||
color: #fff;
|
||||
background: #9cbcff;
|
||||
}
|
||||
.index-module__main___yAH6K .index-module__btns___IwvLo .index-module__selected___dOB6M {
|
||||
background: #4581ff !important;
|
||||
}
|
||||
@@ -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