2 lines
58 KiB
JavaScript
2 lines
58 KiB
JavaScript
"use strict";require("./sub-common/db6cc8fba2c34d36042a60bcf5f10485.js");require("./sub-common/510d0e7078f44d770a0720344fb06369.js");require("./sub-common/0762d0d2445fe1200cae192cedb39f4b.js");require("./sub-common/cf216475951e5960bcea5b5b9d46933b.js");require("./sub-common/669b91dc08b3dd9a4d8d68849195075c.js");require("./sub-common/c1ac499864f8adb168cc162c3e25e504.js");require("./sub-common/42aa399095655e26e89ff8601d93d33a.js");require("./sub-common/b15a59e62f0de52477cd87cdc0559eda.js");require("./sub-common/26f66b4953f388c7812a8993ef58cdc3.js");require("./sub-common/1560f0b0875ace1edafcce378337baf8.js");require("./sub-common/8919209ac5faab92b678fcb20d9a2155.js");require("./sub-common/932400230807213391bf842279a6e498.js");/*! For license information please see index.js.LICENSE.txt */
|
|
(wx.webpackJsonp=wx.webpackJsonp||[]).push([["pages/details/index"],{"./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/details/index.tsx":function(e,t,n){var o=n("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),a=n("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js"),l=n("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),s=n("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),r=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),i=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),c=n("./node_modules/@tarojs/taro/index.js"),d=n.n(c),u=n("./node_modules/classnames/index.js"),_=n.n(u),m=n("./node_modules/react/cjs/react.production.min.js"),f=n("./src/pages/details/components/swiper/index.tsx"),x=n("./src/pages/details/components/orderCount/index.tsx"),p=n("./src/pages/details/index.module.scss"),h=n("./src/pages/details/components/feature/index.tsx"),g=n("./src/pages/details/components/recommend/index.tsx"),w=n("./src/pages/details/components/scrollViewX/index.tsx"),j=n("./src/components/shopCart/index.tsx"),b=n("./src/common/format.ts"),v=n("./src/api/material.ts"),C=n("./src/use/useLogin.ts"),N=n("./src/api/share.ts"),V=n("./src/common/enum.ts"),k=n("./src/use/useUserInfo.ts"),S=n("./src/components/LabAndImg/index.tsx"),y=n("./src/common/common.ts"),T=n("./src/components/addCollection/index.tsx"),I=n("./src/api/favorite.ts"),D=n("./src/use/useCommonData.ts"),P=n("./src/components/moveBtn/index.tsx"),A=n("./src/components/Dialog/index.tsx"),B=n("./src/components/normalButton/index.tsx"),L=n("./src/components/iconfont/iconfont.tsx"),R=n("./src/components/LabAndImgShow/index.tsx"),F=n("./src/components/popupSelectColor/index.tsx"),U=n("./src/api/colorCard.ts"),G=n("./src/common/constant.ts"),M=n("./src/common/report/event.ts"),E=n("./src/use/useCommon.ts"),O=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js");t.default=function Details(e){var t,n,u,z,H=(0,C.default)(),J=H.getPhoneNumber,q=H.userInfo,K=(0,c.useRouter)(),W=(0,m.useState)({id:"",share:null}),Z=(0,r.default)(W,2),Y=Z[0],X=Z[1],$=(0,m.useState)(0),Q=(0,r.default)($,2),ee=Q[0],te=Q[1],ne=(0,m.useState)(!1),oe=(0,r.default)(ne,2),ae=oe[0],le=oe[1],se=function(){var e=(0,s.default)((0,a.default)().mark((function _callee(){return(0,a.default)().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:console.log("router.params",K.params),K.params.id&&X((0,l.default)((0,l.default)({},Y),{},{id:K.params.id}));case 2:case"end":return e.stop()}}),_callee)})));return function judgeParam(){return e.apply(this,arguments)}}(),re=(0,D.default)(),ie=re.getShopCount,ce=re.commonData,de=(0,m.useState)({}),ue=(0,r.default)(de,2),_e=ue[0],me=ue[1],fe=(0,v.GetProductDetailApi)().fetchData,xe=function(){var e=(0,s.default)((0,a.default)().mark((function _callee2(){var e,t;return(0,a.default)().wrap((function _callee2$(n){for(;;)switch(n.prev=n.next){case 0:return console.log("params",Y),n.next=3,fe({id:Y.id});case 3:e=n.sent,t=e.data,te(t.id),me(t),d().stopPullDownRefresh();case 8:case"end":return n.stop()}}),_callee2)})));return function getProductDetail(){return e.apply(this,arguments)}}(),pe=(0,m.useMemo)((function(){return(0,b.formatHashTag)(_e.code,_e.name)}),[_e]),he=(0,m.useMemo)((function(){return(0,b.formatHashTag)(_e.product_screw_code,_e.product_screw_name)}),[_e]),ge=(0,m.useState)(!1),we=(0,r.default)(ge,2),je=we[0],be=we[1],ve=(0,m.useState)(!1),Ce=(0,r.default)(ve,2),Ne=Ce[0],Ve=Ce[1],ke=(0,m.useMemo)((function(){var e=_e.texture_url?_e.texture_url.toString().split(","):[],t=e.length>0?e[0]:"/mall/share_img_01.png";return(0,b.formatImgUrl)(t,"!w400")}),[_e]),Se=(0,k.default)(),ye=Se.setSortCode,Te=Se.userInfo,Ie=V.SHARE_SCENE.ShareDetail,De=(0,N.GetShortCodeApi)().fetchData,Pe=function(){var e=(0,s.default)((0,a.default)().mark((function _callee3(){var e,t;return(0,a.default)().wrap((function _callee3$(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,De({share_user_id:Te.adminUserInfo.user_id,type:Ie.value,product_id:parseInt(Y.id)});case 2:e=n.sent,t=e.data,ye((0,l.default)((0,l.default)({},Te.sort_code),{},{shareShortDetail:{id:Number(K.params.id),title:pe,code:t.md5_key,img:ke}}));case 5:case"end":return n.stop()}}),_callee3)})));return function getShortCode(){return e.apply(this,arguments)}}();(0,c.useDidShow)((function(){se(),be(!1),ie()})),(0,m.useEffect)((function(){Y.id&&xe()}),[Y]);var Ae=function(){var e=(0,s.default)((0,a.default)().mark((function _callee4(){var e,t,n=arguments;return(0,a.default)().wrap((function _callee4$(o){for(;;)switch(o.prev=o.next){case 0:if(e=n.length>0&&void 0!==n[0]?n[0]:"to_phone",t=n.length>1&&void 0!==n[1]?n[1]:{},_e.id){o.next=4;break}return o.abrupt("return",!1);case 4:if("to_phone"!=e){o.next=16;break}if(t.detail.code){o.next=7;break}return o.abrupt("return",y.alert.error("请授权手机号"));case 7:return o.prev=7,o.next=10,J(t.detail.code);case 10:o.next=16;break;case 12:return o.prev=12,o.t0=o.catch(7),d().showToast({icon:"none",title:o.t0}),o.abrupt("return",!1);case 16:(0,M.SpxqyClickPurchaseGoods)({trigger_time:(0,b.formatDateTime)(new Date),purchaser_name:q.adminUserInfo.user_name||"未知用户",purchaser_id:q.adminUserInfo.user_id||0}),te(_e.id),le(!1),Ve(!0);case 20:case"end":return o.stop()}}),_callee4,null,[[7,12]])})));return function placeOrder(){return e.apply(this,arguments)}}(),Be=(0,m.useState)(!1),Le=(0,r.default)(Be,2),Re=Le[0],Fe=Le[1],Ue=(0,m.useState)(!1),Ge=(0,r.default)(Ue,2),Me=Ge[0],Ee=Ge[1],Oe=(0,I.AddFavoriteApi)().fetchData,ze=(0,m.useCallback)(function(){var e=(0,s.default)((0,a.default)().mark((function _callee5(e){var t;return(0,a.default)().wrap((function _callee5$(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Oe({favorite_id:e.id,product_id:Number(Y.id)});case 2:(t=n.sent).success?(y.alert.none("收藏成功"),Fe(!0),xe(),(0,M.SpxqyCollectGoods)({fabric_code:(0,b.formatRemoveHashTag)(_e.code),fabric_name:_e.name,trigger_time:(0,b.formatDateTime)(new Date),purchaser_name:q.adminUserInfo.user_name||"未知用户",purchaser_id:q.adminUserInfo.user_id||0})):y.alert.none(t.msg),Ee(!1);case 5:case"end":return n.stop()}}),_callee5)})));return function(t){return e.apply(this,arguments)}}(),[Y,_e]);(0,m.useEffect)((function(){_e.code&&(Pe(),Fe((function(){return _e.is_favorite})))}),[_e]);var He=(0,m.useCallback)((function(){Ee(!1)}),[]),Je=(0,I.DelFavoriteProductApi)().fetchData,qe=function(){var e=(0,s.default)((0,a.default)().mark((function _callee6(){return(0,a.default)().wrap((function _callee6$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Je({favorite_id:_e.favorite_id,product_id:[_e.id]});case 2:e.sent.success&&(Fe(!1),xe(),y.alert.none("已取消收藏"));case 4:case"end":return e.stop()}}),_callee6)})));return function delFavoriteProduct(){return e.apply(this,arguments)}}();(0,c.usePullDownRefresh)((function(){xe()}));var Ke=(0,m.useState)(!1),We=(0,r.default)(Ke,2),Ze=We[0],Ye=We[1],Xe=(0,m.useRef)({}),$e=(0,m.useState)(!1),Qe=(0,r.default)($e,2),et=Qe[0],tt=Qe[1],nt=function handleCloseDialog(){tt(!1)},ot=(0,m.useMemo)((function(){return{product_screw_id:null==_e?void 0:_e.product_screw_id,product_screw_name:null==_e?void 0:_e.product_screw_name,product_screw_code:null==_e?void 0:_e.product_screw_code,screw_rgb:null==_e?void 0:_e.screw_rgb,screw_lab:null==_e?void 0:_e.screw_lab,screw_texture_url:null==_e?void 0:_e.screw_texture_url}}),[_e]),at=(0,m.useCallback)((function(e){te(e),Ve(!0),le(!0)}),[]),lt=(0,U.GetColorCardOrderByProductApi)().fetchData,st=function(){var e=(0,s.default)((0,a.default)().mark((function _callee7(){var e,t;return(0,a.default)().wrap((function _callee7$(n){for(;;)switch(n.prev=n.next){case 0:if(null!=q&&null!==(e=q.adminUserInfo)&&void 0!==e&&e.phone){n.next=2;break}return n.abrupt("return",(0,y.goLink)("/pages/login/index"));case 2:return n.next=4,lt({product_id:_e.id});case 4:(t=n.sent).data&&(t.data.count=1,d().setStorageSync("colorCard",JSON.stringify([t.data])),(0,M.ClickGetColorCard)({page_name:"pages/details/index",trigger_time:(0,b.formatDateTime)(new Date),purchaser_name:q.adminUserInfo.user_name||"未知用户",purchaser_id:q.adminUserInfo.user_id||0}),d().navigateTo({url:"/pages/colorCardOrder/index"}));case 6:case"end":return n.stop()}}),_callee7)})));return function getColorCardData(){return e.apply(this,arguments)}}(),rt=(0,m.useState)(!1),it=(0,r.default)(rt,2),ct=it[0],dt=it[1],ut=(0,m.useState)([]),_t=(0,r.default)(ut,2),mt=_t[0],ft=_t[1],xt=(0,m.useState)([]),pt=(0,r.default)(xt,2),ht=pt[0],gt=pt[1];(0,m.useEffect)((function(){jt()}),[]);var wt=(0,v.MallCherryestimate_catevideolist)().fetchData,jt=function(){var e=(0,s.default)((0,a.default)().mark((function _callee8(){var e;return(0,a.default)().wrap((function _callee8$(t){for(;;)switch(t.prev=t.next){case 0:return console.log(K.params.id,"4545646"),t.next=3,wt((0,l.default)({},bt.current));case 3:e=t.sent,1==bt.current.page&&e.data.list.length&&(gt([e.data.list[0]]||0),Pt(!0)),e.data.list.length||(gt([]),yt(!1),Pt(!1)),e.data.list.length&&(ft([].concat((0,o.default)(mt),(0,o.default)(e.data.list))),console.log(mt,"456456")),bt.current.total=e.data.total;case 8:case"end":return t.stop()}}),_callee8)})));return function getVideoList(){return e.apply(this,arguments)}}(),bt=(0,m.useRef)({page:1,size:10,product_id:Number(K.params.id),total:0,status:0}),vt=(0,v.MallCherryestimate_catevideoview)().fetchData,Ct=function(){var e=(0,s.default)((0,a.default)().mark((function _callee9(e,t){var n;return(0,a.default)().wrap((function _callee9$(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,vt({id:e});case 2:yt(!1),(n=d().createVideoContext(t)).requestFullScreen({direction:0}),n.play();case 6:case"end":return o.stop()}}),_callee9)})));return function handPlay(t,n){return e.apply(this,arguments)}}(),Nt=(0,m.useMemo)((function(){return{lab:Xe.current.lab,rgb:Xe.current.rgb,texture_url:Xe.current.texture_url,title:Xe.current.code}}),[Xe.current]),Vt=(0,m.useState)(!0),kt=(0,r.default)(Vt,2),St=kt[0],yt=kt[1],Tt=(0,m.useState)(!1),It=(0,r.default)(Tt,2),Dt=It[0],Pt=It[1],At=(0,m.useState)(!1),Bt=(0,r.default)(At,2),Lt=Bt[0],Rt=Bt[1];return(0,E.useBuriedDataPoint)("pages/details/index"),(0,O.jsx)(P.default,{pageName:"pages/details/index",showList:["order"],playVideo:St,floatVideoFile:ht,showFloatVideo:Dt,children:(0,O.jsxs)(i.View,{className:p.default.main,children:[(0,O.jsxs)(i.View,{className:p.default.content,children:[(0,O.jsx)(f.default,{onClickImage:function handleClickMainImage(e){(0,M.SpxqyClickMasterDiagram)({fabric_code:(0,b.formatRemoveHashTag)(_e.code),fabric_name:_e.name,trigger_time:(0,b.formatDateTime)(new Date),purchaser_name:q.adminUserInfo.user_name||"未知用户",purchaser_id:q.adminUserInfo.user_id||0})},list:_e.texture_url?_e.texture_url.toString().split(","):[]}),(0,O.jsxs)(i.View,{className:p.default.product_header,children:[(0,O.jsxs)(i.View,{className:p.default.title,children:[_e.code&&(0,O.jsx)(i.View,{className:p.default.name,children:pe}),(0,O.jsx)(i.View,{className:p.default.des,children:_e.describe})]}),(0,O.jsxs)(i.View,{className:p.default.collect,onClick:function openCollection(){_e.is_favorite?qe():Ee(!0)},children:[Re?(0,O.jsx)(L.default,{name:"icon-shoucangchenggong",size:45,color:"#ffc300"}):(0,O.jsx)(L.default,{name:"icon-dianjishoucang",size:45}),(0,O.jsx)(i.View,{className:p.default.text,children:"收藏"})]}),(0,O.jsxs)(i.View,{className:p.default.share,children:[(0,O.jsx)(L.default,{name:"icon-fenxiangshangpin",size:45}),(0,O.jsx)(i.View,{className:p.default.text,children:"分享"}),(0,O.jsx)(i.Button,{onClick:function handleClickShare(){(0,M.SpxqyClickShareGoods)({fabric_code:(0,b.formatRemoveHashTag)(_e.code),fabric_name:_e.name,trigger_time:(0,b.formatDateTime)(new Date),purchaser_name:q.adminUserInfo.user_name||"未知用户",purchaser_id:q.adminUserInfo.user_id||0})},"open-type":"share",className:p.default.shareBtn})]})]}),(0,O.jsxs)(i.View,{className:p.default.des_data,children:[(0,O.jsxs)(i.View,{className:p.default.flexBox,children:[(0,O.jsx)(i.View,{className:p.default.title,children:"商品参数"}),_e.is_instruct&&(0,O.jsx)(i.View,{className:p.default.flexRight,onClick:function handleShowDetailInfo(){(0,M.SpxqyClickDetailedInformation)({fabric_code:(0,b.formatRemoveHashTag)(_e.code),fabric_name:_e.name,trigger_time:(0,b.formatDateTime)(new Date),purchaser_name:q.adminUserInfo.user_name||"未知用户",purchaser_id:q.adminUserInfo.user_id||0}),Ye(!0)},children:"详细信息 >"})]}),(0,O.jsxs)(i.View,{className:p.default.con,children:[(0,O.jsxs)(i.View,{className:p.default.des_text,children:["幅宽:",(0,O.jsx)(i.Text,{children:_e.width})]}),(0,O.jsxs)(i.View,{className:p.default.des_text,children:["工艺:",(0,O.jsx)(i.Text,{children:_e.craft})]}),(0,O.jsxs)(i.View,{className:p.default.des_text,children:["空差:",(0,O.jsxs)(i.Text,{children:[_e.weight_error_discount/1e3,"KG"]})]}),(0,O.jsxs)(i.View,{className:p.default.des_text,children:["克重:",(0,O.jsx)(i.Text,{children:_e.weight_density})]}),(0,O.jsxs)(i.View,{className:p.default.des_text,children:["成分:",(0,O.jsx)(i.Text,{children:_e.component})]}),(0,O.jsxs)(i.View,{className:p.default.des_text,children:["纸筒:",(0,O.jsxs)(i.Text,{children:[_e.tube/1e3,"KG"]})]}),(0,O.jsxs)(i.View,{className:p.default.des_text,children:["出米数:",(0,O.jsx)(i.Text,{children:_e.length_to_weight_rate/100})]}),(0,O.jsxs)(i.View,{className:p.default.des_text,children:["开单减空差:",(0,O.jsxs)(i.Text,{children:[_e.weight_error/1e3,"KG"]})]})]})]}),mt.length>0&&(0,O.jsxs)(i.View,{className:p.default.scroll_box,children:[(0,O.jsx)(i.View,{className:p.default.title,children:"性能测评"}),(0,O.jsx)(w.default,{onScrollToLower:function onScrollToLower(){return function handOnScrollToLower(){bt.current.page*bt.current.size>=bt.current.total||(bt.current.page+=1,jt(),console.log(111,bt.current.page))}()},children:mt.map((function(e,t){return(0,O.jsxs)(i.View,{className:p.default.item_box,children:[(0,O.jsx)(i.View,{className:p.default.cricle,onClick:function onClick(){return Ct(e.estimate_video_id,"video".concat(t))},children:(0,O.jsx)(L.default,{customClassName:p.default.icon,name:"icon-shouqi1",size:30})}),(0,O.jsx)(i.Image,{className:p.default.img_style,src:e.video_pic.length?G.IMG_CND_Prefix+e.video_pic[0]:G.IMG_CND_Prefix+e.frame_pic,mode:"aspectFill"}),(0,O.jsx)(i.Video,{style:{display:"block",width:"250rpx",height:"270rpx",borderTopLeftRadius:"8rpx",borderTopRightRadius:"8rpx"},id:"video".concat(t),src:G.IMG_CND_Prefix+e.video_url[0],"object-fit":"contain","show-center-play-btn":!1,"show-play-btn":!1,"show-fullscreen-btn":!1,onFullScreenChange:function onFullScreenChange(e){return function handleClose(e,t){e.detail.fullScreen||d().createVideoContext(t).pause()}(e,"video".concat(t))}}),(0,O.jsxs)(i.View,{className:p.default.bottom_big,children:[(0,O.jsx)(i.View,{className:p.default.bottom_box,children:e.title}),(0,O.jsx)(i.View,{className:p.default.title_name,children:e.result})]})]},t)}))})]}),(null==_e?void 0:_e.clothes_is_consult)&&(null==_e||null===(t=_e.clothes_is_consult)||void 0===t?void 0:t.length)>0&&(0,O.jsxs)(i.View,{className:p.default.tag_box,children:[(0,O.jsx)(i.View,{className:p.default.title,children:"适用成衣参考"}),(0,O.jsx)(i.View,{className:p.default.tag_big,children:null==_e?void 0:_e.clothes_is_consult.map((function(e,t){return(0,O.jsxs)(i.View,{className:p.default.tag_item,children:[(0,O.jsx)(i.Image,{className:p.default.tag_img,mode:"aspectFill",src:G.IMG_CND_Prefix+(null==e?void 0:e.icon[0])}),(0,O.jsx)(i.View,{className:p.default.tag_title,children:null==e?void 0:e.product_label_name})]},t)}))})]}),!(null==_e||!_e.product_screw_id)&&(0,O.jsx)(i.View,{style:{margin:"0 20rpx",marginTop:"20rpx"},children:(0,O.jsx)(g.default,{onClick:at,data:ot})}),(0,O.jsxs)(i.View,{className:p.default.product_color,children:[(0,O.jsxs)(i.View,{className:p.default.title,children:["色号信息 (",null==_e||null===(n=_e.product_color_list)||void 0===n?void 0:n.length,")"]}),(0,O.jsx)(i.View,{className:p.default.list,children:null==_e||null===(u=_e.product_color_list)||void 0===u?void 0:u.map((function(e){return(0,O.jsxs)(i.View,{className:p.default.item,onClick:function onClick(){return function handleClickProductColor(e){console.log("current",e),Xe.current=e,tt(!0),(0,M.SpxqyClickSkuThumbnail)({color_id:e.id,color_name:e.name,fabric_code:(0,b.formatRemoveHashTag)(_e.code),fabric_name:_e.name,trigger_time:(0,b.formatDateTime)(new Date),purchaser_name:q.adminUserInfo.user_name||"未知用户",purchaser_id:q.adminUserInfo.user_id||0})}(e)},children:[(0,O.jsx)(i.View,{className:p.default.item_color,children:(0,O.jsx)(S.default,{suffix:"!w200",value:{lab:e.lab,rgb:e.rgb,texture_url:e.texture_url,title:e.code},round:!0,name:(0,b.formatRemoveHashTag)(e.code)})}),(0,O.jsx)(i.View,{className:p.default.item_name,children:e.name}),(0,O.jsxs)(i.View,{className:p.default.bulk_price,children:[(0,b.formatPriceDiv)(e.bulk_price),"/Kg",e.last_bulk_price&&e.bulk_price!==e.last_bulk_price?e.bulk_price>e.last_bulk_price?(0,O.jsx)(L.default,{name:"icon-shuzhishangsheng",size:28,color:"red",customStyle:{marginLeft:"6rpx"}}):(0,O.jsx)(L.default,{name:"icon-shuzhixiajiang",size:28,color:"#3466d7",customStyle:{marginLeft:"6rpx"}}):null]})]},e.id)}))})]}),(0,O.jsx)(i.View,{className:p.default.product_detail,children:(0,O.jsx)(i.RichText,{nodes:""})})]}),(0,O.jsxs)(i.View,{className:p.default.product_buy,children:[(0,O.jsxs)(i.View,{className:p.default.icon_btn,children:[(0,O.jsxs)(i.View,{className:p.default.buy_cart,onClick:function onClick(){return(0,y.goLink)("/pages/shopCar/index",{},"switchTab")},children:[(0,O.jsx)(i.View,{className:_()("iconfont icon-gouwuche",p.default.miconfont)}),(0,O.jsx)(i.View,{className:p.default.text,children:"购物车"}),ce.shopCount>0&&(0,O.jsx)(i.View,{className:p.default.product_num,children:ce.shopCount>99?"99+":ce.shopCount})]}),(0,O.jsxs)(i.View,{className:p.default.buy_cart,onClick:st,children:[(0,O.jsx)(L.default,{name:"icon-lingseka",size:50}),(0,O.jsx)(i.View,{className:p.default.text,children:"领取色卡"})]}),(0,O.jsxs)(i.View,{className:p.default.buy_cart,onClick:function openColorSelect(){var e;if(null==q||null===(e=q.adminUserInfo)||void 0===e||!e.phone)return(0,y.goLink)("/pages/login/index");dt(!0)},children:[(0,O.jsx)(L.default,{name:"icon-lingjianyang",size:50}),(0,O.jsx)(i.View,{className:p.default.text,children:"领取剪样"})]})]}),!(null!==(z=q.adminUserInfo)&&void 0!==z&&z.is_authorize_phone)&&(0,O.jsxs)(i.View,{className:p.default.buy_btn,children:[(0,O.jsx)(i.Button,{className:p.default.wxBtn,"open-type":"getPhoneNumber",onGetPhoneNumber:function onGetPhoneNumber(e){return Ae("to_phone",e)}}),"选购商品"]})||(0,O.jsx)(i.View,{className:p.default.buy_btn,onClick:function onClick(){return Ae("to_order")},children:"选购商品"})]}),(0,O.jsx)(x.default,{show:Ne,recommendStatus:ae,is_first_login:_e.is_first_login,onClose:function onClose(){return Ve(!1)},recom_title:he,title:pe,productId:ee,productCode:_e.code,productName:_e.name}),(0,O.jsx)(j.default,{show:je,onClose:function onClose(){return be(!1)}}),(0,O.jsx)(T.default,{show:Me,onAdd:ze,onClose:He}),(0,O.jsx)(h.default,{showPopup:Ze,closePopup:function closePopup(){return Ye(!1)},productName:pe,productIds:Number(null==Y?void 0:Y.id)}),(0,O.jsx)(A.default,{show:et,onClose:nt,onChange:function handleChangeDialog(e){tt(e)},children:(0,O.jsxs)(i.View,{className:p.default.productColorDialog,children:[(0,O.jsxs)(i.View,{className:p.default.productColorDialog_content,children:[(0,O.jsx)(i.View,{className:p.default.productColorDialog_img,children:(0,O.jsx)(S.default,{customImageStyle:{borderRadius:"0"},showStatus:!1,value:Nt,onClick:function handleShowLabAndImg(){console.log("handleShowLabAndImg"),Rt(!0)}})}),(0,O.jsxs)(i.View,{className:p.default.productColorDialog_info,children:[(0,O.jsxs)(i.View,{className:p.default.productColorDialog_title,children:[(0,O.jsx)(i.Text,{className:p.default.productColorDialog_name,children:(0,b.formatHashTag)(Xe.current.code,Xe.current.name)}),(0,O.jsxs)(i.View,{className:p.default.productColorDialog_price,children:[(0,O.jsxs)(i.Text,{children:["¥",(0,b.formatPriceDiv)(Xe.current.bulk_price),"/KG"]}),Xe.current.last_bulk_price&&Xe.current.bulk_price!==Xe.current.last_bulk_price?Xe.current.bulk_price>Xe.current.last_bulk_price?(0,O.jsx)(i.Text,{style:{color:"red",marginLeft:"10rpx"},children:"↑"}):(0,O.jsx)(i.Text,{style:{color:"green",marginLeft:"10rpx"},children:"↓"}):null]})]}),(0,O.jsx)(i.View,{className:p.default.productColorDialog_bottomBar,children:Xe.current.length_cut_price?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(i.Text,{className:p.default.productColorDialog_history,children:["更新于:",(0,b.formatDateTime)(Xe.current.update_price_time,"YYYY-MM-DD")]}),(0,O.jsxs)(i.Text,{className:p.default.productColorDialog_oldPrice,children:["¥",(0,b.formatPriceDiv)(Xe.current.last_bulk_price),"/KG"]})]}):(0,O.jsx)(i.Text,{className:p.default.productColorDialog_history,children:"暂无历史报价"})})]})]}),(0,O.jsx)(i.View,{className:p.default.productColorDialog_button,children:(0,O.jsx)(B.default,{circle:!0,type:"primary",size:"normal",onClick:nt,children:"知道了"})})]})}),(0,O.jsx)(F.default,{onSelected:function onCutSampleList(e){var t=(0,l.default)({},_e);e.map((function(e){e.count=1})),t.colors=e,d().setStorageSync("cutSample",JSON.stringify([t])),(0,M.GetCutSample)({page_name:"pages/details/index",trigger_time:(0,b.formatDateTime)(new Date),purchaser_name:q.adminUserInfo.user_name||"未知用户",purchaser_id:q.adminUserInfo.user_id||0}),d().redirectTo({url:"/pages/cutSampleListOrder/index"})},show:ct,product_id:_e.id,onClose:function onClose(){return dt(!1)}}),(0,O.jsx)(R.default,{value:Nt,show:Lt,onClose:function closeLabImgShow(){Rt(!1)}})]})})}},"./src/api/materialColor.ts":function(e,t,n){n.d(t,{GetColorList:function(){return a}});var o=n("./src/use/useHttp.ts"),a=function GetColorList(){return(0,o.useRequest)({url:"/v3/mallCherry/product/color/list",method:"get"})}},"./src/components/addCollection/index.tsx":function(e,t,n){var o=n("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js"),a=n("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),l=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),r=n("./node_modules/@tarojs/taro/index.js"),i=n("./node_modules/react/cjs/react.production.min.js"),c=n("./src/components/iconfont/iconfont.tsx"),d=n("./src/components/divider/index.tsx"),u=n("./src/components/addCollection/index.module.scss"),_=n("./src/components/popup/index.tsx"),m=n("./src/api/favorite.ts"),f=n("./src/common/common.ts"),x=n("./src/common/util.ts"),p=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js"),h=function AddCollection(e){var t=e.show,n=void 0!==t&&t,h=e.onClose,g=e.onAdd,w=(0,i.useState)([]),j=(0,l.default)(w,2),b=j[0],v=j[1],C=(0,m.FavoriteListApi)().fetchData,N=function(){var e=(0,a.default)((0,o.default)().mark((function _callee(){var e;return(0,o.default)().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,C((0,x.getFilterData)());case 2:e=t.sent,v((function(){return e.data.list}));case 4:case"end":return t.stop()}}),_callee)})));return function getFavoriteList(){return e.apply(this,arguments)}}();(0,r.useDidShow)((function(){n&&N()})),(0,i.useEffect)((function(){n&&N()}),[n]);return(0,p.jsxs)(_.default,{show:n,onClose:h,showTitle:!0,title:"加入收藏夹",children:[(0,p.jsx)(d.default,{direction:"horizontal",customStyles:{marginTop:"0px",marginBottom:"12px"}}),(0,p.jsx)(s.ScrollView,{className:u.default.scrollStyle,scrollY:!0,children:(0,p.jsxs)(s.View,{className:u.default.collection_con,children:[b.map((function(e,t){return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(s.View,{className:u.default.collection_item,onClick:function onClick(){return null==g?void 0:g(e)},children:[(0,p.jsx)(s.View,{className:u.default.collectionImage}),(0,p.jsx)(s.Text,{className:u.default.text,children:e.name})]},t),(0,p.jsx)(d.default,{direction:"horizontal",customStyles:{margin:"12px 0"}})]})})),(0,p.jsxs)(s.View,{className:u.default.collection_item,onClick:function handleNewCollection(){(0,f.goLink)("/pages/collection/collectionDetail/index",{title:"新建收藏夹",isEdit:!1,editData:null})},children:[(0,p.jsx)(s.View,{className:u.default.collectionImage,children:(0,p.jsx)(c.default,{name:"icon-xinzengshoucangjia",size:40})}),(0,p.jsx)(s.Text,{className:u.default.text,children:"新建收藏夹"})]}),(0,p.jsx)(d.default,{direction:"horizontal",customStyles:{margin:"12px 0"}})]})})]})};t.default=(0,i.memo)(h)},"./src/pages/details/components/feature/index.tsx":function(e,t,n){var o=n("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js"),a=n("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),l=n("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),s=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),r=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),i=n("./node_modules/@tarojs/taro/index.js"),c=n.n(i),d=n("./node_modules/react/cjs/react.production.min.js"),u=n("./src/pages/details/components/goods/index.tsx"),_=n("./src/pages/details/components/feature/index.module.scss"),m=n("./src/components/popup/index.tsx"),f=n("./src/common/common.ts"),x=n("./src/api/favorite.ts"),p=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js"),h=function FeaturePopup(e){var t=e.productIds,n=e.showPopup,i=(0,x.Mallproductinstruct)().fetchData,h=(0,d.useState)(""),g=(0,s.default)(h,2),w=g[0],j=g[1],b=(0,d.useState)([]),v=(0,s.default)(b,2),C=v[0],N=v[1],V=function(){var e=(0,l.default)((0,o.default)().mark((function _callee(){var e;return(0,o.default)().wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:return c().showLoading({title:"加载中..."}),n.next=3,i({product_id:t});case 3:(e=n.sent).data?(c().hideLoading(),j(e.data.instructions),N((0,a.default)(e.data.product_list))):c().hideLoading();case 5:case"end":return n.stop()}}),_callee)})));return function getRich(){return e.apply(this,arguments)}}();(0,d.useEffect)((function(){n&&V()}),[n]);return(0,p.jsx)(m.default,{showTitle:!1,show:e.showPopup,onClose:function onClose(){var t;return null===(t=e.closePopup)||void 0===t?void 0:t.call(e)},children:(0,p.jsx)(r.ScrollView,{scrollY:!0,className:_.default.sollBox,children:(0,p.jsxs)(r.View,{className:_.default.main,children:[(0,p.jsx)(r.View,{className:_.default.title,children:null==e?void 0:e.productName}),(0,p.jsx)(r.View,{className:_.default.line}),(0,p.jsx)(r.RichText,{nodes:w,userSelect:!0,onTap:function onTap(){return function richTextClick(){var e=w;if(e.includes("src")){var t=[];e.replace(/]*src=['"]([^'"]+)[^>]*>/gi,(function(e,n){t.push(n)})),c().previewImage({current:t[0],urls:t})}}()}}),(0,p.jsx)(r.View,{className:_.default.topFont,children:"推荐面料"}),C.map((function(e,t){return(0,p.jsx)(u.default,{clickItem:function clickItem(){return(0,f.goLink)("/pages/details/index?id=".concat(e.id))},data:e},t)}))]})})})};t.default=(0,d.memo)(h)},"./src/pages/details/components/goods/index.tsx":function(e,t,n){var o=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),a=n("./node_modules/react/cjs/react.production.min.js"),l=n("./src/pages/details/components/goods/index.module.scss"),s=n("./src/components/LabAndImg/index.tsx"),r=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js"),i=function Goods(e){var t,n,i,c,d,u,_,m,f,x=(0,a.useCallback)((function(e){return{lab:e.lab,rgb:e.rgb,texture_url:e.texture_url}}),[]);return(0,r.jsxs)(o.View,{className:l.default.itemBox,onClick:function onClick(){var t;return null==e||null===(t=e.clickItem)||void 0===t?void 0:t.call(e)},children:[""===(null===(t=e.data)||void 0===t?void 0:t.texture_url)&&(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(o.View,{className:l.default.picBox,children:[(0,r.jsx)(o.Image,{className:l.default.pic,mode:"aspectFill",src:"https://test.cdn.zzfzyc.com/mall/no_img.png"}),(0,r.jsxs)(o.View,{className:l.default.posBox,children:[null===(n=e.data)||void 0===n?void 0:n.product_color_count,"色"]})]})}),""!==(null===(i=e.data)||void 0===i?void 0:i.texture_url)&&(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(o.View,{className:l.default.leftBox,children:[(0,r.jsx)(s.default,{value:x(e.data)}),(0,r.jsxs)(o.View,{className:l.default.posBox,children:[null===(c=e.data)||void 0===c?void 0:c.product_color_count,"色"]})]})}),(0,r.jsxs)(o.View,{className:l.default.rightBox,children:[(0,r.jsxs)(o.View,{className:l.default.productName,children:[null===(d=e.data)||void 0===d?void 0:d.code,"#",null===(u=e.data)||void 0===u?void 0:u.name]}),(0,r.jsx)(o.View,{className:l.default.tips,children:null===(_=e.data)||void 0===_?void 0:_.component}),(0,r.jsxs)(o.View,{className:l.default.flexTag,children:[(0,r.jsx)(o.View,{className:l.default.tagOne,children:null===(m=e.data)||void 0===m?void 0:m.width}),(0,r.jsx)(o.View,{className:l.default.tagTwo,children:null===(f=e.data)||void 0===f?void 0:f.weight_density})]})]})]})};t.default=(0,a.memo)(i)},"./src/pages/details/components/guidePopup/index.tsx":function(e,t,n){var o=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),a=n("./node_modules/react/cjs/react.production.min.js"),l=n("./src/pages/details/components/guidePopup/index.module.scss"),s=n("./src/components/iconfont/iconfont.tsx"),r=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js"),i=function guidePopup(e){return(0,r.jsx)(o.View,{className:l.default.main,children:(0,r.jsx)(o.View,{className:l.default.mask,children:(0,r.jsxs)(o.View,{className:l.default.bigBox,children:[(0,r.jsxs)(o.View,{className:l.default.topTitleBox,children:[(0,r.jsx)(o.View,{className:l.default.topTitle,children:"下单类型"}),(0,r.jsx)(s.default,{name:"icon-tishi",size:30})]}),(0,r.jsxs)(o.View,{className:l.default.modeBox,children:[(0,r.jsx)(o.View,{className:l.default.modeKindOne,children:"大货"}),(0,r.jsx)(o.View,{className:l.default.modeKindTwo,children:"剪版"}),(0,r.jsx)(o.View,{className:l.default.modeKindTwo,children:"散剪"})]}),(0,r.jsx)(o.View,{className:l.default.line}),(0,r.jsx)(o.View,{className:l.default.pleaseFont,children:"请选择你需要的商品类型✨"}),(0,r.jsx)(o.View,{className:l.default.saleFont,children:"大货:按【条数】销售;"}),(0,r.jsx)(o.View,{className:l.default.saleFont,children:"剪版:按【米】销售;"}),(0,r.jsxs)(o.View,{className:l.default.flexBox,children:[(0,r.jsx)(o.View,{className:l.default.flexLeft,children:"散剪:按【公斤】销售;"}),(0,r.jsx)(o.View,{className:l.default.flexRight,onClick:function onClick(){var t;return null===(t=e.closePopup)||void 0===t?void 0:t.call(e)},children:"我知道了"})]})]})})})};t.default=(0,a.memo)(i)},"./src/pages/details/components/orderCount/index.tsx":function(e,t,n){var o=n("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js"),a=n("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),l=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=n("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),r=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),i=n("./node_modules/@tarojs/taro/index.js"),c=n.n(i),d=n("./node_modules/big.js/big.mjs"),u=n("./node_modules/classnames/index.js"),_=n.n(u),m=n("./node_modules/react/cjs/react.production.min.js"),f=n("./src/pages/details/components/guidePopup/index.tsx"),x=n("./src/pages/details/components/orderCount/index.module.scss"),p=n("./src/components/popup/index.tsx"),h=n("./src/components/loadingCard/index.tsx"),g=n("./src/components/search/index.tsx"),w=n("./src/components/counter/index.tsx"),j=n("./src/reducers/hooks.ts"),b=n("./src/api/materialColor.ts"),v=n("./src/api/shopCart.ts"),C=n("./src/use/useLogin.ts"),N=n("./src/common/format.ts"),V=n("./src/common/util.ts"),k=n("./src/components/LabAndImg/index.tsx"),S=n("./src/use/useCommonData.ts"),y=n("./src/components/LabAndImgShow/index.tsx"),T=n("./src/components/iconfont/iconfont.tsx"),I=n("./src/common/common.ts"),D=n("./src/components/organizationNameModal/index.tsx"),P=n("./src/api/company.ts"),A=n("./src/components/normalButton/index.tsx"),B=n("./src/common/enum.ts"),L=n("./src/common/report/event.ts"),R=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js"),F=B.SALE_MODE_SETTING,U=function ScrollList(e){var t=e.list,n=e.getLabAndImg,o=e.formatPrice,a=e.onAdd,l=e.getInputValue,s=e.selectIndex;return(0,R.jsx)(r.View,{className:x.default.color_con,children:(0,R.jsx)(r.ScrollView,{className:x.default.virtual_list,scrollY:!0,children:t.map((function(e,t){return(0,R.jsx)(M,{item:e,getLabAndImg:n,formatPrice:o,onAdd:a,getInputValue:l,selectIndex:s},t)}))})})},G=function Rows(e){var t=e.item,n=e.getLabAndImg,o=e.formatPrice,a=e.onAdd,l=e.getInputValue,s=e.selectIndex;return console.log("row Rerender",t),(0,R.jsx)(R.Fragment,{children:t?(0,R.jsx)(E,{getLabAndImg:n,formatPrice:o,onAdd:a,getInputValue:l,selectIndex:s,item:t},t.id):(0,R.jsx)(r.View,{className:x.default.item,children:"没有显示出来"})})},M=(0,m.memo)(G),E=(0,m.memo)((function(e){console.log("ColorItem Rerender");var t=e.formatPrice,n=e.onAdd,o=e.getInputValue,a=e.selectIndex,i=e.item,c=e.getLabAndImg,d=(0,m.useRef)(a),u=F[a];(0,m.useEffect)((function(){d.current!==a&&(g(!1),d.current=a)}),[a]);var _=function onGetInputValue(e){0==e?(g(!1),o(e,(0,s.default)((0,s.default)({},i),{},{showInput:!1}))):o(e,(0,s.default)((0,s.default)({},i),{},{showInput:h}))},f=(0,m.useState)(!1),p=(0,l.default)(f,2),h=p[0],g=p[1];return(0,R.jsxs)(r.View,{className:x.default.item,children:[(0,R.jsx)(r.View,{className:x.default.item_color,children:(0,R.jsx)(k.default,{value:{color_id:i.id,color_name:i.name,lab:i.lab,rgb:i.rgb,texture_url:i.texture_url,title:i.code},showStatus:!1,onClick:c})}),(0,R.jsxs)(r.View,{className:x.default.item_con,children:[(0,R.jsx)(r.View,{className:x.default.title,children:(0,N.formatHashTag)(i.code,i.name)}),(0,R.jsx)(r.View,{className:x.default.flexBox,children:(0,R.jsx)(r.View,{className:x.default.num,children:t(i)})})]}),(0,R.jsx)(r.View,{className:x.default.btn_con,children:h?(0,R.jsx)(r.View,{className:x.default.btn_count,children:(0,R.jsx)(w.default,{onBlue:_,defaultNum:i.count,step:u.step,digits:u.digits,onClickBtn:_,unit:u.unit,minNum:u.minNum,maxNum:u.maxNum,returnZero:!0})}):(0,R.jsx)(r.View,{className:x.default.btn,onClick:function onAddClick(){g(!0),n((0,s.default)((0,s.default)({},i),{},{showInput:!0}))},children:"添加"})})]},i.id)})),O=function OrderCount(e){var t=e.show,n=void 0!==t&&t,i=e.onClose,u=e.title,w=void 0===u?"":u,k=e.productId,G=void 0===k?0:k,M=e.is_first_login,E=void 0===M||M,O=e.recommendStatus,z=void 0!==O&&O,H=e.recom_title,J=void 0===H?"":H,q=e.productName,K=void 0===q?"":q,W=e.productCode,Z=void 0===W?"":W;console.log("OrderCount Rerender");var Y=(0,j.useSelector)((function(e){return e.userInfo})).adminUserInfo,X=(0,m.useState)(B.ENUM_SALE_MODE.SALE_MODE_BULK),$=(0,l.default)(X,2),Q=$[0],ee=$[1],te=(0,b.GetColorList)(),ne=te.fetchData,oe=(te.state,(0,m.useState)([])),ae=(0,l.default)(oe,2),le=ae[0],se=ae[1],re=(0,m.useRef)({physical_warehouse:null==Y?void 0:Y.physical_warehouse,sale_mode:Q,product_id:0,code_or_name:null}),ie=(0,m.useCallback)((function(e){return e.map((function(e){return e.count=F[Q].defaultNum,e}))}),[Q]),ce=function(){var e=(0,a.default)((0,o.default)().mark((function _callee(){var e,t,n;return(0,o.default)().wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,ne((0,V.getFilterData)(re.current));case 2:e=o.sent,t=e.data,n=ie(t.list),st((function(){se(n)})),ve(n);case 7:case"end":return o.stop()}}),_callee)})));return function getColorList(){return e.apply(this,arguments)}}(),de=(0,m.useState)(!1),ue=(0,l.default)(de,2),_e=ue[0],me=ue[1];(0,m.useEffect)((function(){return function(){se([])}}),[]);var fe=function closePopup(){null==i||i(),me(!1),se([])},xe=(0,m.useState)({sumCount:0,kindCount:0,color_list:[]}),pe=(0,l.default)(xe,2),he=pe[0],ge=pe[1],we=(0,m.useState)(le),je=(0,l.default)(we,2),be=je[0],ve=je[1];(0,m.useEffect)((function(){console.log("tempList.current");var e=0,t=0,n=[],o={};be.forEach((function(a){a.showInput&&(e=(0,d.default)(e).add(a.count).toNumber(),t++,o=Q===B.ENUM_SALE_MODE.SALE_MODE_BULK?{product_color_id:a.id,roll:a.count,sale_price:(0,N.formatPriceDiv)(a.bulk_price)}:{product_color_id:a.id,length:(0,N.formatMeterMul)(a.count),sale_price:1==Q?(0,N.formatPriceDiv)(a.length_cut_price):(0,N.formatPriceDiv)(a.weight_cut_price)},n.push(o))})),console.log(e,t,n),ge({sumCount:e,kindCount:t,color_list:n})}),[be]);var Ce=(0,m.useCallback)((function(e,t){console.log("getInputValue",t),ve((function(n){return n.map((function(n){return t.id===n.id&&(n.count=parseFloat(e),n.showInput=t.showInput),n}))}))}),[]),Ne=(0,m.useCallback)((function(e){ve((function(t){return t.map((function(t){return e.id===t.id&&(t.showInput=e.showInput,t.count=F[Q].defaultNum),t}))})),console.log("onAdd",e)}),[Q]),Ve=(0,m.useState)(!1),ke=(0,l.default)(Ve,2),Se=ke[0],ye=ke[1];(0,m.useEffect)((function(){n&&G&&(ee(0),re.current.code_or_name=null,ye(!1),re.current.product_id=G,ce()),me(n)}),[n,G]),(0,m.useEffect)((function(){ye(!1)}),[Q]);var Te=(0,S.default)().getShopCount,Ie=(0,C.default)().getSelfUserInfo,De=(0,v.AddShoppingCartApi)().fetchData,Pe=function(){var e=(0,a.default)((0,o.default)().mark((function _callee2(){var e;return(0,o.default)().wrap((function _callee2$(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Ie();case 3:t.next=9;break;case 5:return t.prev=5,t.t0=t.catch(0),c().showToast({icon:"none",title:"授权失败,请求完善授权"}),t.abrupt("return",!1);case 9:if(0!=he.sumCount){t.next=12;break}return c().showToast({icon:"none",title:"请选择面料颜色!"}),t.abrupt("return",!1);case 12:return t.next=14,De({sale_mode:Q,color_list:he.color_list,is_screw_recommend:z});case 14:(e=t.sent).success?(c().showToast({title:"添加成功"}),Te(),null==i||i(),(0,L.SpxqyClickAddToShoppingCart)({trigger_time:(0,N.formatDateTime)(new Date),purchaser_name:Fe.adminUserInfo.user_name||"未知用户",purchaser_id:Fe.adminUserInfo.user_id||0})):c().showToast({icon:"none",title:e.msg});case 16:case"end":return t.stop()}}),_callee2,null,[[0,5]])})));return function addShopCart(){return e.apply(this,arguments)}}(),Ae=(0,m.useState)(!1),Be=(0,l.default)(Ae,2),Le=Be[0],Re=Be[1],Fe=(0,j.useSelector)((function(e){return e.userInfo})),Ue=function handleClose(){Re(!1)},Ge=function(){var e=(0,a.default)((0,o.default)().mark((function _callee3(){return(0,o.default)().wrap((function _callee3$(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Ie();case 3:e.next=9;break;case 5:return e.prev=5,e.t0=e.catch(0),c().showToast({icon:"none",title:"授权失败,请求完善授权"}),e.abrupt("return",!1);case 9:if(0!=he.sumCount){e.next=12;break}return c().showToast({icon:"none",title:"请选择面料颜色!"}),e.abrupt("return",!1);case 12:if(!Fe.adminUserInfo.first_change_name){e.next=15;break}return Re(!0),e.abrupt("return");case 15:(0,L.SpxqyClickBuyNow)({trigger_time:(0,N.formatDateTime)(new Date),purchaser_name:Fe.adminUserInfo.user_name||"未知用户",purchaser_id:Fe.adminUserInfo.user_id||0}),c().navigateTo({url:"/pages/order/speedComfirm?sale_mode=".concat(Number(Q),"&buyList=").concat(JSON.stringify(he.color_list))}),console.log(Q,":selectIndex",he.color_list,":selectCount.color_list",z,":recommendStatus");case 18:case"end":return e.stop()}}),_callee3,null,[[0,5]])})));return function handShopBuy(){return e.apply(this,arguments)}}(),Me=(0,C.default)().getAdminUserInfo,Ee=(0,P.companyUpdateApi)().fetchData,Oe=(0,P.companyDetailApi)().fetchData,ze=function(){var e=(0,a.default)((0,o.default)().mark((function _callee4(e){var t,n;return(0,o.default)().wrap((function _callee4$(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Oe();case 2:return t=o.sent,o.next=5,Ee((0,s.default)((0,s.default)({},t.data),{},{company_name:e}));case 5:(n=o.sent).success?(Me(),Ue(),I.alert.success("保存成功")):I.alert.none(n.msg);case 7:case"end":return o.stop()}}),_callee4)})));return function handleOrganizationNameModalConfirm(t){return e.apply(this,arguments)}}(),He=(0,m.useCallback)((function(e){re.current.code_or_name=e,ce()}),[]),Je=(0,m.useRef)(null),qe=(0,m.useCallback)((function(e){var t=Number((0,N.formatPriceDiv)(e[F[Q].priceField]));return(0,R.jsxs)(r.View,{className:x.default.priceText,children:[(0,R.jsx)(r.Text,{children:"¥"}),t,(0,R.jsxs)(r.Text,{children:[" /",F[Q].eunit]})]})}),[Q]),Ke=(0,m.useState)(!1),We=(0,l.default)(Ke,2),Ze=We[0],Ye=We[1],Xe=(0,m.useState)(),$e=(0,l.default)(Xe,2),Qe=$e[0],et=$e[1],tt=(0,m.useCallback)((function(e){console.log("val",e,Z,K),(0,L.SpxqyClickSkuThumbnail)({color_id:e.color_id,color_name:e.color_name,fabric_code:(0,N.formatRemoveHashTag)(Z),fabric_name:K,trigger_time:(0,N.formatDateTime)(new Date),purchaser_name:Fe.adminUserInfo.user_name||"未知用户",purchaser_id:Fe.adminUserInfo.user_id||0}),Ye(!0),et(e)}),[Z,K]),nt=(0,m.useCallback)((function(){Ye(!1)}),[]),ot=(0,m.useTransition)(),at=(0,l.default)(ot,2),lt=at[0],st=at[1],rt=(0,m.useState)(!0),it=(0,l.default)(rt,2),ct=it[0],dt=it[1];(0,m.useEffect)((function(){n&&(E||(console.log(E,"showGuidePopupshowGuidePopup"),console.log(2222),dt(!1)))}),[n]);var ut=(0,m.useMemo)((function(){return 0==Q?"大货单位:条":1==Q?"剪版单位:米":"散剪单位:米"}),[Q]);return(0,R.jsxs)(r.View,{className:x.default.shop_cart_main,children:[(0,R.jsx)(p.default,{safeAreaInsetBottom:!1,showTitle:!1,show:_e,onClose:function onClose(){return fe()},children:(0,R.jsxs)(r.View,{className:x.default.popup_con,children:[(0,R.jsxs)(r.View,{className:x.default.header,children:[(0,R.jsxs)(r.View,{className:x.default.header_title,onClick:function onNavigator(){z&&(0,I.goLink)("/pages/details/index",{id:G})},children:[(0,R.jsx)(r.Text,{children:z?J:w}),(0,R.jsx)(T.default,{name:"icon-rukou",color:"#000000FF"})]}),z&&(0,R.jsxs)(r.View,{className:x.default.header_label,children:[(0,R.jsx)(r.Text,{children:"推荐"}),(0,R.jsx)(r.Text,{children:"配套螺纹"})]})]}),(0,R.jsxs)(r.View,{className:x.default.search,children:[(0,R.jsxs)(r.View,{className:x.default.search_title,children:["下单类型 ",(0,R.jsx)(r.View,{onClick:function onClick(){return dt(!0)},children:(0,R.jsx)(T.default,{name:"icon-tishi",size:30})}),":"]}),(0,R.jsx)(r.View,{className:x.default.search_list,children:F.map((function(e,t){return(0,R.jsx)(r.View,{onClick:function onClick(){return function selectProduct(e){re.current.code_or_name=null,ce(),ee(e)}(t)},className:_()(x.default.search_item,Q==t&&x.default.search_item_select),children:e.title},t)}))})]}),Se&&(0,R.jsxs)(r.View,{className:x.default.colorFind,children:[(0,R.jsx)(r.View,{className:x.default.search,children:(0,R.jsx)(g.default,{placeIcon:"out",ref:Je,changeOnSearch:He,debounceTime:400})}),(0,R.jsx)(r.View,{className:x.default.text,onClick:function onClick(){return function clearSearch(){Je.current.clearInput(),ye(!1)}()},children:"取消"})]}),(0,R.jsxs)(r.View,{className:x.default.colorNum,children:[(0,R.jsxs)(r.View,{className:x.default.title,children:[(0,R.jsxs)(r.Text,{children:["颜色分类 (",le.length,")"]}),(0,R.jsx)(r.Text,{children:ut})]}),!Se&&(0,R.jsx)(r.View,{className:_()("iconfont icon-sousuo",x.default.miconfont),onClick:function onClick(){return function changeSearchShow(){ye(!0)}()}})]}),(0,R.jsx)(r.View,{className:x.default.product_color_con,id:"product_color_con",children:lt?(0,R.jsx)(r.View,{className:x.default.noList,style:{margin:"60rpx 0"},children:(0,R.jsx)(h.default,{})}):(0,R.jsx)(U,{list:le,getLabAndImg:tt,selectIndex:Q,formatPrice:qe,onAdd:Ne,getInputValue:Ce})}),(0,R.jsx)(r.View,{className:x.default.buy_btn,children:(0,R.jsxs)(r.View,{className:x.default.buy_btn_con,children:[(0,R.jsxs)(r.View,{className:x.default.count,children:["当前已选",he.kindCount,"种,共",he.sumCount,F[Q].unit]}),(0,R.jsxs)(r.View,{className:x.default.button,children:[(0,R.jsx)(A.default,{circle:!0,customClassName:x.default.add_cart,round:!0,disabled:!he.kindCount,onClick:function onClick(){return Pe()},children:"加入购物车"}),(0,R.jsx)(A.default,{circle:!0,customClassName:x.default.add_cart,round:!0,disabled:!he.kindCount,onClick:function onClick(){return Ge()},children:"立即购买"})]})]})})]})}),ct&&_e&&(0,R.jsx)(f.default,{closePopup:function closePopup(){return dt(!1)}}),(0,R.jsx)(r.View,{children:(0,R.jsx)(y.default,{value:Qe,show:Ze,onClose:nt})}),(0,R.jsx)(D.default,{zIndex:99999,showModal:Le,onClose:Ue,onShowModalChange:function handleShowChange(e){Re(e)},onConfirm:ze})]})};t.default=(0,m.memo)(O)},"./src/pages/details/components/recommend/index.tsx":function(e,t,n){var o=n("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js"),a=n("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),l=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),s=n("./node_modules/@tarojs/taro/index.js"),r=n.n(s),i=n("./node_modules/react/cjs/react.production.min.js"),c=n("./src/pages/details/components/recommend/index.module.scss"),d=n("./src/components/LabAndImg/index.tsx"),u=n("./src/components/iconfont/iconfont.tsx"),_=n("./src/common/format.ts"),m=n("./src/use/useLogin.ts"),f=n("./src/common/common.ts"),x=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js");t.default=(0,i.memo)((function(e){var t,n=e.onClick,s=e.data,p=(0,i.useMemo)((function(){return{lab:null==s?void 0:s.screw_lab,rgb:null==s?void 0:s.screw_rgb,texture_url:null==s?void 0:s.screw_texture_url}}),[s]),h=(0,m.default)(),g=h.getPhoneNumber,w=h.userInfo,j=function(){var e=(0,a.default)((0,o.default)().mark((function _callee(e){return(0,o.default)().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:if(e.detail.code){t.next=2;break}return t.abrupt("return",f.alert.error("请授权手机号"));case 2:return t.prev=2,t.next=5,g(e.detail.code);case 5:t.next=11;break;case 7:return t.prev=7,t.t0=t.catch(2),r().showToast({icon:"none",title:t.t0}),t.abrupt("return",!1);case 11:case"end":return t.stop()}}),_callee,null,[[2,7]])})));return function getPhone(t){return e.apply(this,arguments)}}();return(0,x.jsxs)(l.View,{className:c.default.recommend,children:[(0,x.jsxs)(l.View,{className:c.default.con,onClick:function onClick(){return null==n?void 0:n(null==s?void 0:s.product_screw_id)},children:[(0,x.jsx)(l.View,{className:c.default.recommend_title,children:"螺纹配套"}),(0,x.jsxs)(l.View,{className:c.default.recommend_con,children:[(0,x.jsx)(l.View,{className:c.default.img,children:(0,x.jsx)(d.default,{value:p,customImageStyle:{borderRadius:0}})}),(0,x.jsxs)(l.View,{className:c.default.con,children:[(0,x.jsx)(l.Text,{children:(0,_.formatHashTag)(null==s?void 0:s.product_screw_code,null==s?void 0:s.product_screw_name)}),(0,x.jsx)(l.Text,{children:"专属配套螺纹推荐"})]}),(0,x.jsxs)(l.View,{className:c.default.open_select,children:[(0,x.jsx)(l.Text,{children:"去选购"}),(0,x.jsx)(u.default,{name:"icon-rukou",size:37})]})]})]}),!(null!==(t=w.adminUserInfo)&&void 0!==t&&t.is_authorize_phone)&&(0,x.jsx)(l.Button,{className:c.default.wxBtn,"open-type":"getPhoneNumber",onGetPhoneNumber:function onGetPhoneNumber(e){return j(e)}})]})}))},"./src/pages/details/components/scrollViewX/index.tsx":function(e,t,n){var o=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),a=n("./node_modules/react/cjs/react.production.min.js"),l=n("./src/pages/details/components/scrollViewX/index.module.scss"),s=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js"),r=function ScrollViewX(e){return(0,s.jsx)(o.ScrollView,{className:l.default.scrollStyle,scrollX:!0,lowerThreshold:50,onScrollToLower:e.onScrollToLower,enhanced:!0,pagingEnabled:!0,enablePassive:"true",children:e.children})};t.default=(0,a.memo)(r)},"./src/pages/details/components/swiper/index.tsx":function(e,t,n){var o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),a=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),l=n("./node_modules/@tarojs/taro/index.js"),s=n.n(l),r=n("./node_modules/react/cjs/react.production.min.js"),i=n("./src/pages/details/components/swiper/index.module.scss"),c=n("./src/common/format.ts"),d=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js");t.default=function SwiperComp(e){var t=e.list,n=void 0===t?[]:t,l=e.onClickImage,u=(0,r.useState)(1),_=(0,o.default)(u,2),m=_[0],f=_[1],x=(0,r.useRef)(null),p=(0,r.useMemo)((function(){return n.length}),[n]),h=(0,r.useMemo)((function(){return null==n?void 0:n.map((function(e){return(0,c.formatImgUrl)(e,"")}))}),[n]);return(0,d.jsxs)(a.View,{className:i.default.swiper,children:[n.length>0&&(0,d.jsx)(a.Swiper,{className:i.default.swiper_item,circular:!0,onAnimationFinish:function onAnimationFinish(e){return function swiperChange(e){f(e.detail.current+1)}(e)},children:null==n?void 0:n.map((function(e,t){return(0,d.jsx)(a.SwiperItem,{children:(0,d.jsx)(a.View,{className:i.default.image_item,onClick:function onClick(){return function onShowImage(e,t){null==l||l(e),s().previewImage({current:h[t],urls:h})}(e,t)},children:(0,d.jsx)(a.Image,{mode:"aspectFill",src:(0,c.formatImgUrl)(e,"")})})},t)}))}),n.length>0&&(0,d.jsx)(a.View,{className:i.default.page,ref:x,children:"".concat(m,"/").concat(p)})]})}},"./src/pages/details/index.tsx":function(e,t,n){var o=n("./node_modules/@tarojs/runtime/dist/runtime.esm.js"),a=n("./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/details/index.tsx");a.default.enableShareAppMessage=!0;Page((0,o.createPageConfig)(a.default,"pages/details/index",{root:{cn:[]}},{navigationBarTitleText:"商品详情",enablePullDownRefresh:!0,backgroundTextStyle:"dark",enableShareAppMessage:!0}||{})),a.default},"./src/components/addCollection/index.module.scss":function(e,t){t.default={common_safe_area_y:"index-module__common_safe_area_y___nYNI2",hoverClass:"index-module__hoverClass___dN23G","full-100":"index-module__full-100___Pni78",collection_con:"index-module__collection_con___wo8PS",collection_item:"index-module__collection_item___TIOA1",collectionImage:"index-module__collectionImage___tiqFZ",miconfont:"index-module__miconfont___V5Ip7",text:"index-module__text___xwWSy",scrollStyle:"index-module__scrollStyle___YH52y"}},"./src/pages/details/components/feature/index.module.scss":function(e,t){t.default={common_safe_area_y:"index-module__common_safe_area_y___s5yje",hoverClass:"index-module__hoverClass___Tzi7j","full-100":"index-module__full-100___TFY_R",sollBox:"index-module__sollBox___ZzasC",main:"index-module__main___AaDJe",title:"index-module__title___bObAw",line:"index-module__line___pBmc2",topFont:"index-module__topFont___eG3WT"}},"./src/pages/details/components/goods/index.module.scss":function(e,t){t.default={common_safe_area_y:"index-module__common_safe_area_y___U8ntl",hoverClass:"index-module__hoverClass___h0Oyk","full-100":"index-module__full-100___sRu7n",itemBox:"index-module__itemBox___lr97E",picBox:"index-module__picBox___oCfwZ",pic:"index-module__pic___EDvvX",posBox:"index-module__posBox___UJGeb",leftBox:"index-module__leftBox___NVwqe",rightBox:"index-module__rightBox___FxR1A",productName:"index-module__productName___u8Tfj",tips:"index-module__tips___VoWoq",flexTag:"index-module__flexTag___aVse_",tagOne:"index-module__tagOne___iyPJD",tagTwo:"index-module__tagTwo___jHVw4"}},"./src/pages/details/components/guidePopup/index.module.scss":function(e,t){t.default={common_safe_area_y:"index-module__common_safe_area_y___AVMSJ",hoverClass:"index-module__hoverClass___s1F7Q","full-100":"index-module__full-100___XNlpg",main:"index-module__main___IK2ms",mask:"index-module__mask___q2Y7Z",bigBox:"index-module__bigBox___F4GaP",topTitleBox:"index-module__topTitleBox___M32e2",topTitle:"index-module__topTitle___vpGz4",modeBox:"index-module__modeBox___wqkRt",modeKindOne:"index-module__modeKindOne___VuSWX",modeKindTwo:"index-module__modeKindTwo___XRTrs",line:"index-module__line___iKJ0R",pleaseFont:"index-module__pleaseFont___nASCN",saleFont:"index-module__saleFont___j4x2_",flexBox:"index-module__flexBox___HBUO8",flexLeft:"index-module__flexLeft___UBJ0R",flexRight:"index-module__flexRight___wEh1A"}},"./src/pages/details/components/orderCount/index.module.scss":function(e,t){t.default={common_safe_area_y:"index-module__common_safe_area_y___ttAic",hoverClass:"index-module__hoverClass___fYy3k","full-100":"index-module__full-100___rjDf_",shop_cart_main:"index-module__shop_cart_main___n1i9m",popup_con:"index-module__popup_con___u3cq9",header:"index-module__header___c71NK",header_title:"index-module__header_title___b9Vrc",header_label:"index-module__header_label___jGLxb",colorFind:"index-module__colorFind___Tll2m",search:"index-module__search___ZNYZd",text:"index-module__text___ywIOY",search_title:"index-module__search_title___XlAHB",search_list:"index-module__search_list___aj8EO",search_item:"index-module__search_item___LeQUy",search_item_select:"index-module__search_item_select___ElwDI",colorNum:"index-module__colorNum___Rgtd6",title:"index-module__title___vhhw7",miconfont:"index-module__miconfont___WW3K4",product_color_con:"index-module__product_color_con___VP7UM",color_con:"index-module__color_con___wDtyR",virtual_list:"index-module__virtual_list___ppXkt",item:"index-module__item___b56bI",item_color:"index-module__item_color___WeFhu",item_con:"index-module__item_con___LGSZ4",flexBox:"index-module__flexBox___Te7ZI",numone:"index-module__numone___gH3DI",num:"index-module__num___XBNCe",weight_error:"index-module__weight_error___s8d1D",priceText:"index-module__priceText___Ncwms",btn_con:"index-module__btn_con___SSlw0",btn:"index-module__btn___FaWoC",btn_count:"index-module__btn_count___CCRf_",noData:"index-module__noData___poHVp",buy_btn:"index-module__buy_btn___MM4RW",count:"index-module__count___PA6XM",button:"index-module__button___QZcuv",buy_btn_con:"index-module__buy_btn_con___Yc7R2",add_cart:"index-module__add_cart___m8m15",noList:"index-module__noList___PWHYh"}},"./src/pages/details/components/recommend/index.module.scss":function(e,t){t.default={common_safe_area_y:"index-module__common_safe_area_y___LgllZ",hoverClass:"index-module__hoverClass___H5DTZ","full-100":"index-module__full-100___ispS_",recommend:"index-module__recommend____S_1o",recommend_title:"index-module__recommend_title___kv0Z1",recommend_con:"index-module__recommend_con___Jo2ch",img:"index-module__img___Nb4aP",con:"index-module__con___qmDHh",open_select:"index-module__open_select___pnHCt",wxBtn:"index-module__wxBtn___OjNtw"}},"./src/pages/details/components/scrollViewX/index.module.scss":function(e,t){t.default={common_safe_area_y:"index-module__common_safe_area_y___gylFb",hoverClass:"index-module__hoverClass___nvX0W","full-100":"index-module__full-100___HSJW3",scrollStyle:"index-module__scrollStyle___qmqit"}},"./src/pages/details/components/swiper/index.module.scss":function(e,t){t.default={common_safe_area_y:"index-module__common_safe_area_y___AL233",hoverClass:"index-module__hoverClass___MvKUj","full-100":"index-module__full-100___epVqL",swiper:"index-module__swiper___gOY5o",swiper_item:"index-module__swiper_item___O3Mlj",image_item:"index-module__image_item___Hqygo",page:"index-module__page___I3AYc"}},"./src/pages/details/index.module.scss":function(e,t){t.default={common_safe_area_y:"index-module__common_safe_area_y___wX224",hoverClass:"index-module__hoverClass___zy8FT","full-100":"index-module__full-100___ExBJa",main:"index-module__main___JW_tP",content:"index-module__content___lXs4u",product_header:"index-module__product_header___iV5Av",title:"index-module__title___nMkJg",name:"index-module__name___P9xj_",des:"index-module__des___lxPuc",share:"index-module__share___ryJs_",collect:"index-module__collect___K5ONy",text:"index-module__text___dTZpy",shareBtn:"index-module__shareBtn___pWAEW",miconfont:"index-module__miconfont___LK80o",collected:"index-module__collected___pzuZA",des_data:"index-module__des_data___S9AF_",flexBox:"index-module__flexBox___kxHgg",flexRight:"index-module__flexRight___u4N5a",con:"index-module__con___GXeQW",des_text:"index-module__des_text___JEpMy",product_color:"index-module__product_color___sFPVY",list:"index-module__list___rAwxo",item:"index-module__item___RLJUX",item_color:"index-module__item_color___otJGY",item_name:"index-module__item_name___bFaSE",bulk_price:"index-module__bulk_price___GWYR6",ccum_box:"index-module__ccum_box___xukiB",scroll_box:"index-module__scroll_box___GwUNC",item_box:"index-module__item_box___ATDNR",cricle:"index-module__cricle___yEp5Z",icon:"index-module__icon___L4JWZ",img_style:"index-module__img_style___IqhlJ",bottom_big:"index-module__bottom_big___c4nk8",bottom_box:"index-module__bottom_box___cjVdG",title_name:"index-module__title_name___tSUk5",tag_box:"index-module__tag_box___wn5jZ",tag_big:"index-module__tag_big___cShGT",tag_item:"index-module__tag_item___iRjNZ",tag_img:"index-module__tag_img___WZBtW",tag_title:"index-module__tag_title___OamXS",product_detail:"index-module__product_detail___JuTws",product_buy:"index-module__product_buy___lx3zF",icon_btn:"index-module__icon_btn___nQZOR",buy_cart:"index-module__buy_cart___VTt31",product_num:"index-module__product_num___J0hoA",customer_service:"index-module__customer_service___RBeIH",buy_btn:"index-module__buy_btn___CRvFm",wxBtn:"index-module__wxBtn___VOJpD",productColorDialog:"index-module__productColorDialog___wWJqk",productColorDialog_img:"index-module__productColorDialog_img___h9ept",productColorDialog_content:"index-module__productColorDialog_content___jtF3t",productColorDialog_info:"index-module__productColorDialog_info___ZPnWl",productColorDialog_title:"index-module__productColorDialog_title___r7V2y",productColorDialog_price:"index-module__productColorDialog_price___ZlWd9",productColorDialog_bottomBar:"index-module__productColorDialog_bottomBar___K5Eti",productColorDialog_oldPrice:"index-module__productColorDialog_oldPrice___hojkp"}}},function(e){e.O(0,["sub-common/f7c2016e1fc8045300ee51e652beb947","sub-common/db6cc8fba2c34d36042a60bcf5f10485","sub-common/510d0e7078f44d770a0720344fb06369","sub-common/0762d0d2445fe1200cae192cedb39f4b","sub-common/31c2143408a2e4f5735ccb6e07aa07fc","sub-common/cf216475951e5960bcea5b5b9d46933b","sub-common/669b91dc08b3dd9a4d8d68849195075c","sub-common/c1ac499864f8adb168cc162c3e25e504","sub-common/250080eb60ade1f13b8a4c2fd2ffc72c","sub-common/42aa399095655e26e89ff8601d93d33a","sub-common/b1dcec3deb42eb0cf7320d2c3136243b","sub-common/b15a59e62f0de52477cd87cdc0559eda","sub-common/26f66b4953f388c7812a8993ef58cdc3","sub-common/1560f0b0875ace1edafcce378337baf8","sub-common/8919209ac5faab92b678fcb20d9a2155","sub-common/edc5d9d6e28f490fee0161e1c4f402b8","sub-common/932400230807213391bf842279a6e498","taro","vendors","common"],(function(){return t="./src/pages/details/index.tsx",e(e.s=t);var t}));e.O()}]); |