1
This commit is contained in:
Vendored
+2
File diff suppressed because one or more lines are too long
+65
@@ -0,0 +1,65 @@
|
||||
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
|
||||
|
||||
/*! ./components/productItem */
|
||||
|
||||
/*! ./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/cutSample */
|
||||
|
||||
/*! @/common/common */
|
||||
|
||||
/*! @/common/format */
|
||||
|
||||
/*! @/common/util */
|
||||
|
||||
/*! @/components/LabAndImg */
|
||||
|
||||
/*! @/components/infiniteScroll */
|
||||
|
||||
/*! @/components/popupSelectColor */
|
||||
|
||||
/*! @/components/search */
|
||||
|
||||
/*! @/use/useCommon */
|
||||
|
||||
/*! @tarojs/components */
|
||||
|
||||
/*! @tarojs/runtime */
|
||||
|
||||
/*! @tarojs/taro */
|
||||
|
||||
/*! classnames */
|
||||
|
||||
/*! react */
|
||||
|
||||
/*! react/jsx-runtime */
|
||||
|
||||
/*!*******************************************!*\
|
||||
!*** ./src/pages/cutSampleList/index.tsx ***!
|
||||
\*******************************************/
|
||||
|
||||
/*!***************************************************!*\
|
||||
!*** ./src/pages/cutSampleList/index.module.scss ***!
|
||||
\***************************************************/
|
||||
|
||||
/*!******************************************************************!*\
|
||||
!*** ./src/pages/cutSampleList/components/productItem/index.tsx ***!
|
||||
\******************************************************************/
|
||||
|
||||
/*!**************************************************************************!*\
|
||||
!*** ./src/pages/cutSampleList/components/productItem/index.module.scss ***!
|
||||
\**************************************************************************/
|
||||
|
||||
/*!****************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/cutSampleList/index.tsx ***!
|
||||
\****************************************************************************************************************/
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"navigationBarTitleText":"添加剪样","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
+199
@@ -0,0 +1,199 @@
|
||||
@charset "UTF-8";@import "./sub-common/f7c2016e1fc8045300ee51e652beb947.wxss";@import "./sub-common/31c2143408a2e4f5735ccb6e07aa07fc.wxss";@import "./sub-common/edc5d9d6e28f490fee0161e1c4f402b8.wxss";/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/pages/cutSampleList/index.module.scss ***!
|
||||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
|
||||
.index-module__common_safe_area_y___ajsiy {
|
||||
width: 100%;
|
||||
height: constant(safe-area-inset-bottom);
|
||||
/* 兼容 iOS < 11.2 */
|
||||
height: env(safe-area-inset-bottom);
|
||||
/* 兼容 iOS >= 11.2 */
|
||||
}
|
||||
.index-module__hoverClass___P85pz {
|
||||
-webkit-filter: brightness(70%);
|
||||
filter: brightness(70%);
|
||||
}
|
||||
.index-module__full-100___Paixk {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.index-module__main___wzD_R {
|
||||
min-height: 100vh;
|
||||
background-color: #f7f7f7;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
||||
.index-module__main___wzD_R .index-module__search___dT1NF {
|
||||
width: 100%;
|
||||
height: 96rpx;
|
||||
background-color: #fff;
|
||||
padding: 16rpx 24rpx;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.index-module__main___wzD_R .index-module__search___dT1NF .index-module__btn_reset___ObhMK {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
width: 100rpx;
|
||||
font-size: 28rpx;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: flex-end;
|
||||
-ms-flex-pack: end;
|
||||
justify-content: flex-end;
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
.index-module__main___wzD_R .index-module__get_card_con___gJFKi {
|
||||
background-color: #fff;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
height: calc(100vh - 260rpx);
|
||||
}
|
||||
.index-module__main___wzD_R .index-module__get_card_con___gJFKi .index-module__get_card_list___Ux2mj {
|
||||
padding: 0 16rpx;
|
||||
}
|
||||
.index-module__main___wzD_R .index-module__get_card_btn___CjjSA {
|
||||
height: 161rpx;
|
||||
background: #ffffff;
|
||||
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-box-shadow: 0rpx -5rpx 20rpx -8rpx rgba(0, 0, 0, 0.06);
|
||||
box-shadow: 0rpx -5rpx 20rpx -8rpx rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
.index-module__main___wzD_R .index-module__get_card_btn___CjjSA text {
|
||||
width: 702rpx;
|
||||
height: 80rpx;
|
||||
background: #8aaefa;
|
||||
border-radius: 40rpx;
|
||||
text-align: center;
|
||||
line-height: 80rpx;
|
||||
color: #fff;
|
||||
}
|
||||
.index-module__main___wzD_R .index-module__get_card_btn___CjjSA .index-module__selected___P8E7Z {
|
||||
background: #4581ff !important;
|
||||
}
|
||||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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/cutSampleList/components/productItem/index.module.scss ***!
|
||||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
@charset "UTF-8";
|
||||
.index-module__common_safe_area_y___El4Yl {
|
||||
width: 100%;
|
||||
height: constant(safe-area-inset-bottom);
|
||||
/* 兼容 iOS < 11.2 */
|
||||
height: env(safe-area-inset-bottom);
|
||||
/* 兼容 iOS >= 11.2 */
|
||||
}
|
||||
.index-module__hoverClass___IZ0Yu {
|
||||
-webkit-filter: brightness(70%);
|
||||
filter: brightness(70%);
|
||||
}
|
||||
.index-module__full-100___gD3ta {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.index-module__get_card_item___jUbax {
|
||||
padding: 24rpx 16rpx;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.index-module__get_card_item___jUbax .index-module__image___Ku5R9 {
|
||||
width: 144rpx;
|
||||
height: 144rpx;
|
||||
position: relative;
|
||||
}
|
||||
.index-module__get_card_item___jUbax .index-module__image___Ku5R9 text {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
font-size: 22rpx;
|
||||
width: 75rpx;
|
||||
height: 34rpx;
|
||||
background: rgba(0, 0, 0, 0.55);
|
||||
border-radius: 15rpx 0rpx 8rpx 0rpx;
|
||||
text-align: center;
|
||||
line-height: 34rpx;
|
||||
color: #fff;
|
||||
}
|
||||
.index-module__get_card_item___jUbax .index-module__card_info___bpIUe {
|
||||
margin-left: 24rpx;
|
||||
-webkit-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
.index-module__get_card_item___jUbax .index-module__card_info___bpIUe .index-module__card_info_name___F7LnN {
|
||||
font-size: 28rpx;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
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;
|
||||
}
|
||||
.index-module__get_card_item___jUbax .index-module__card_info___bpIUe .index-module__card_info_label___K2xc7 {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-flex-wrap: wrap;
|
||||
-ms-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
grid-gap: 10rpx 10rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.index-module__get_card_item___jUbax .index-module__card_info___bpIUe .index-module__card_info_label___K2xc7 text {
|
||||
padding: 5rpx 6rpx;
|
||||
font-size: 24rpx;
|
||||
color: #4581ff;
|
||||
height: 34rpx;
|
||||
text-align: center;
|
||||
line-height: 34rpx;
|
||||
background-color: rgba(69, 129, 255, 0.15);
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
.index-module__get_card_item___jUbax .index-module__card_info___bpIUe .index-module__desc___qc4qO {
|
||||
font-size: 24rpx;
|
||||
color: rgba(0, 0, 0, 0.4);
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.index-module__get_card_item___jUbax .index-module__checkBox___TtzFP {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.index-module__get_card_item___jUbax .index-module__checkBox___TtzFP .index-module__add_btn____V3A7 {
|
||||
width: 148rpx;
|
||||
height: 64rpx;
|
||||
border-radius: 40rpx;
|
||||
border: 1px solid #087eff;
|
||||
text-align: center;
|
||||
line-height: 64rpx;
|
||||
color: #4581ff;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
/*! For license information please see 0762d0d2445fe1200cae192cedb39f4b.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/0762d0d2445fe1200cae192cedb39f4b"],{"./src/components/infiniteScroll/index.tsx":function(e,r,o){var n=o("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),l=o("./node_modules/react/cjs/react.production.min.js"),s=o("./src/components/loadingCard/index.tsx"),t=o("./src/components/infiniteScroll/index.module.scss"),c=o("./src/components/dotLoading/index.tsx"),i=o("./src/components/empty/index.tsx"),f=o("./src/common/constant.ts"),a=o("./node_modules/react/cjs/react-jsx-runtime.production.min.js"),d=function InfiniteScroll(e){var r=e.styleObj,o=e.selfonScrollToLower,d=e.selfOnScrollToUpper,u=e.selfOnScroll,m=e.selfOnRefresherPulling,h=e.selfOnRefresherRefresh,p=e.selfOnRefresherRestore,x=e.selfOnRefresherAbort,R=e.safeAreaInsetBottom,j=void 0===R||R,w=e.enableLoadMoreStatus,T=void 0===w||w,g=e.children,S=e.lowerThresholdNum,b=void 0===S?30:S,v=e.paddingBottom,_=void 0===v?0:v,N=e.refresherTriggered,V=void 0!==N&&N,y=e.refresherEnabled,A=void 0!==y&&y,B=e.moreStatus,M=void 0===B||B,O=e.statusMore,L=void 0===O?0:O,P=e.enableBackToTop,U=void 0===P||P,k=e.emptySlot,C=e.defaultUrl,E=void 0===C?"":C,F=e.defaultText,I=void 0===F?"":F,G=(0,l.useMemo)((function(){if(0==L)return.1}),[L]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(n.ScrollView,{id:"infiniteScroll",style:r,className:t.default.scroll_main,scrollY:!0,onScrollToLower:function onScrollToLower(){return function scrollToLower(){null==o||o()}()},onScrollToUpper:function onScrollToUpper(){return function scrollToUpper(){null==d||d()}()},onScroll:function onScroll(e){return function scroll(e){null==u||u(e)}(e)},lowerThreshold:b,refresherEnabled:A,refresherTriggered:V,onRefresherPulling:function onRefresherPulling(){return function refresherPulling(){null==m||m()}()},onRefresherRefresh:function onRefresherRefresh(){return function refresherRefresh(){null==h||h()}()},onRefresherRestore:function onRefresherRestore(){return function refresherRestore(){null==p||p()}()},onRefresherAbort:function onRefresherAbort(){return function refresherAbort(){null==x||x()}()},refresherBackground:"#F8F8F8",enableBackToTop:U,scrollTop:G,children:[function component(){return T&&M?(0,a.jsxs)(a.Fragment,{children:[(2==L||3==L)&&(0,a.jsxs)(n.View,{style:{paddingBottom:"".concat(_,"rpx")},className:t.default.scrollViewCon,children:[g,(0,a.jsx)(n.View,{className:t.default.infinite_scroll,children:2==L?(0,a.jsxs)(n.View,{className:t.default.loading_more,children:["加载中",(0,a.jsx)(c.default,{})]}):(0,a.jsx)(n.View,{className:t.default.noMore,children:"没有更多数据了"})})]}),0==L&&(0,a.jsx)(s.default,{}),1==L&&(k||(0,a.jsx)(i.default,{picUrl:E?"".concat(f.IMG_CND_Prefix).concat(E):f.SEARCH_EMPTY_IMAGE,text:I||"暂无数据"}))]}):(0,a.jsx)(n.View,{style:{paddingBottom:"".concat(_,"rpx")},className:t.default.scrollViewCon,children:g})}(),j&&(0,a.jsx)(n.View,{className:"common_safe_area_y"})]})})};r.default=(0,l.memo)(d)}}]);
|
||||
@@ -0,0 +1,44 @@
|
||||
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/components/infiniteScroll/index.module.scss ***!
|
||||
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
@charset "UTF-8";
|
||||
.index-module__common_safe_area_y___TfGaJ {
|
||||
width: 100%;
|
||||
height: constant(safe-area-inset-bottom);
|
||||
/* 兼容 iOS < 11.2 */
|
||||
height: env(safe-area-inset-bottom);
|
||||
/* 兼容 iOS >= 11.2 */
|
||||
}
|
||||
.index-module__hoverClass___IvFjO {
|
||||
-webkit-filter: brightness(70%);
|
||||
filter: brightness(70%);
|
||||
}
|
||||
.index-module__full-100___Zf65j {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.index-module__scroll_main___rWSFU {
|
||||
height: 100%;
|
||||
}
|
||||
.index-module__scroll_main___rWSFU .index-module__infinite_scroll___GY4by {
|
||||
font-size: 24rpx;
|
||||
color: #ababab;
|
||||
width: 100%;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-justify-content: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.index-module__scroll_main___rWSFU .index-module__infinite_scroll___GY4by .index-module__loading_more___Iljay {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.index-module__scroll_main___rWSFU .index-module__infinite_scroll___GY4by .index-module__noMore___kPVsd {
|
||||
padding-top: 20rpx;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
/*! For license information please see 510d0e7078f44d770a0720344fb06369.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/510d0e7078f44d770a0720344fb06369"],{"./src/components/empty/index.module.scss":function(_,e){e.default={common_safe_area_y:"index-module__common_safe_area_y___qVHLM",hoverClass:"index-module__hoverClass___xmc2X","full-100":"index-module__full-100___f4rUs",mainBox:"index-module__mainBox___oYq7z",pic:"index-module__pic___jqHuf",text:"index-module__text___cFKLZ"}}}]);
|
||||
@@ -0,0 +1,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 b0deadd786ac48f22d299d1bc3b02f4a.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/b0deadd786ac48f22d299d1bc3b02f4a"],{"./src/api/cutSample.ts":function(e,t,u){u.d(t,{CutSampleOrderCancelApi:function(){return a},GetCutSampleOrderDetailApi:function(){return i},GetCutSampleOrderListApi:function(){return l},GetCutSampleOrderStatusApi:function(){return n},GetSampleOrderProductApi:function(){return p},submitCutSampleOrderApi:function(){return m}});var r=u("./src/use/useHttp.ts"),l=function GetCutSampleOrderListApi(){return(0,r.useRequest)({url:"/v1/mall/cutSampleOrder/list",method:"get"})},n=function GetCutSampleOrderStatusApi(){return(0,r.useRequest)({url:"/v1/mall/cutSampleOrder/audit_status",method:"get"})},a=function CutSampleOrderCancelApi(){return(0,r.useRequest)({url:"/v1/mall/cutSampleOrder/cancel",method:"put"})},p=function GetSampleOrderProductApi(){return(0,r.useRequest)({url:"/v1/mall/cutSampleOrder/products",method:"get"})},i=function GetCutSampleOrderDetailApi(){return(0,r.useRequest)({url:"/v1/mall/cutSampleOrder/detail",method:"get"})},m=function submitCutSampleOrderApi(){return(0,r.useRequest)({url:"/v1/mall/cutSampleOrder/submit",method:"post"})}}}]);
|
||||
@@ -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