diff --git a/dist/pages/activityList/components/details/index.js b/dist/pages/activityList/components/details/index.js index 8768ba8..01e63d1 100644 --- a/dist/pages/activityList/components/details/index.js +++ b/dist/pages/activityList/components/details/index.js @@ -1,2 +1,2 @@ /*! For license information please see index.js.LICENSE.txt */ -"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["pages/activityList/components/details/index"],{"./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./src/pages/activityList/components/details/index.tsx":function(e,t,n){var s=n("./node_modules/@antmjs/vantui/es/button/index.js"),i=n("./node_modules/@antmjs/vantui/es/cell/index.js"),a=n("./node_modules/@antmjs/vantui/es/image/index.js"),o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),c=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),d=n("webpack/container/remote/@tarojs/taro"),l=n.n(d),r=n("webpack/container/remote/react"),u=n("./src/utils/index.ts"),m=n("webpack/container/remote/react/jsx-runtime");t.default=function details(){var e,t=(0,r.useState)([]),n=(0,o.default)(t,2),d=n[0],p=n[1],x=(0,r.useState)(0),f=(0,o.default)(x,2),j=f[0],v=f[1];return(0,r.useEffect)((function(){}),[]),(0,r.useEffect)((function(){var e,t=l().getSystemInfoSync(),n=t.screenHeight,s=t.safeArea,i=void 0===s?{}:s,a=null!==(e=n-(null==i?void 0:i.bottom))&&void 0!==e?e:0;v(a);var o={tableName:"cityNew",id:"80516fb66370bcf300b8f43c5f4dd52b",okFun:function okFun(e){var t;console.log("res",e),p(null!==(t=null==e?void 0:e.data)&&void 0!==t?t:[])}};(0,u.getTable)(o)}),[]),(0,m.jsxs)(c.View,{className:"detailContent",children:[(0,m.jsxs)(c.View,{children:[(0,m.jsx)(c.View,{children:"活动标题活动标题活动标题活动标题活动标题活动标题活动标题"}),(0,m.jsx)(a.default,{width:"100%",height:"120px",fit:"cover",src:"https://img.yzcdn.cn/vant/cat.jpeg"}),(0,m.jsxs)(c.View,{children:[(0,m.jsx)(i.default,{isLink:!0,icon:"clock",title:"2022年11月22日",linkType:"navigateTo",url:"/pages/dashboard/index"}),(0,m.jsx)(i.default,{isLink:!0,icon:"location",title:"广东省深圳市龙华区你好",linkType:"navigateTo",url:"/pages/dashboard/index"})]}),[1,2,3,4].map((function(e){return(0,m.jsx)(a.default,{round:!0,width:"30px",height:"30px",src:"https://img.yzcdn.cn/vant/cat.jpeg"})}))]}),(0,m.jsx)(c.View,{onClick:function onClick(){},className:"RichText",children:(0,m.jsx)(c.RichText,{nodes:null==d||null===(e=d[0])||void 0===e?void 0:e.richText})}),(0,m.jsx)(c.View,{className:"detailBtn",style:{bottom:"".concat(null!=j?j:0,"px")},children:(0,m.jsx)(s.default,{type:"primary",block:!0,children:"立即参加"})})]})}},"./src/pages/activityList/components/details/index.tsx":function(e,t,n){var s=n("webpack/container/remote/@tarojs/runtime"),i=n("./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./src/pages/activityList/components/details/index.tsx");Page((0,s.createPageConfig)(i.default,"pages/activityList/components/details/index",{root:{cn:[]}},{navigationBarTitleText:"活动详情"}||{}))}},function(e){e.O(0,["taro","vendors","common"],(function(){return t="./src/pages/activityList/components/details/index.tsx",e(e.s=t);var t}));e.O()}]); \ No newline at end of file +"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["pages/activityList/components/details/index"],{"./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./src/pages/activityList/components/details/index.tsx":function(e,t,n){var s=n("./node_modules/@antmjs/vantui/es/button/index.js"),i=n("./node_modules/@antmjs/vantui/es/cell/index.js"),a=n("./node_modules/@antmjs/vantui/es/image/index.js"),o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),c=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),l=n("webpack/container/remote/@tarojs/taro"),d=n.n(l),r=n("webpack/container/remote/react"),u=n("./src/utils/index.ts"),m=n("webpack/container/remote/react/jsx-runtime");t.default=function details(){var e,t=(0,r.useState)([]),n=(0,o.default)(t,2),l=n[0],p=n[1],x=(0,r.useState)(0),j=(0,o.default)(x,2),f=j[0],v=j[1];return(0,r.useEffect)((function(){}),[]),(0,r.useEffect)((function(){var e,t=d().getSystemInfoSync(),n=t.screenHeight,s=t.safeArea,i=void 0===s?{}:s,a=null!==(e=n-(null==i?void 0:i.bottom))&&void 0!==e?e:0;v(a);var o={tableName:"cityNew",id:"80516fb66370bcf300b8f43c5f4dd52b",okFun:function okFun(e){var t;console.log("res",e),p(null!==(t=null==e?void 0:e.data)&&void 0!==t?t:[])}};(0,u.getTable)(o)}),[]),(0,m.jsxs)(c.View,{className:"detailContent",children:[(0,m.jsxs)(c.View,{children:[(0,m.jsx)(c.View,{children:"活动标题活动标题活动标题活动标题活动标题活动标题活动标题"}),(0,m.jsx)(a.default,{width:"100%",height:"180px",fit:"cover",src:"https://img.yzcdn.cn/vant/cat.jpeg"}),(0,m.jsxs)(c.View,{children:[(0,m.jsx)(i.default,{isLink:!0,icon:"clock",title:"2022年11月22日",linkType:"navigateTo",url:"/pages/dashboard/index"}),(0,m.jsx)(i.default,{isLink:!0,icon:"location",title:"广东省深圳市龙华区你好",linkType:"navigateTo",url:"/pages/dashboard/index"})]}),(0,m.jsx)(c.View,{className:"imagesArr",children:[1,2,3,4].map((function(e){return(0,m.jsx)(a.default,{round:!0,width:"30px",height:"30px",src:"https://img.yzcdn.cn/vant/cat.jpeg",style:{marginRight:"5px"}})}))})]}),(0,m.jsx)(c.View,{onClick:function onClick(){},className:"RichText",children:(0,m.jsx)(c.RichText,{nodes:null==l||null===(e=l[0])||void 0===e?void 0:e.richText})}),(0,m.jsx)(c.View,{className:"detailBtn",style:{bottom:"".concat(null!=f?f:0,"px")},children:(0,m.jsx)(s.default,{type:"primary",block:!0,children:"立即参加"})})]})}},"./src/pages/activityList/components/details/index.tsx":function(e,t,n){var s=n("webpack/container/remote/@tarojs/runtime"),i=n("./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./src/pages/activityList/components/details/index.tsx");Page((0,s.createPageConfig)(i.default,"pages/activityList/components/details/index",{root:{cn:[]}},{navigationBarTitleText:"活动详情"}||{}))}},function(e){e.O(0,["taro","vendors","common"],(function(){return t="./src/pages/activityList/components/details/index.tsx",e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/dist/pages/activityList/components/details/index.wxss b/dist/pages/activityList/components/details/index.wxss index 364f6ec..b57cd22 100644 --- a/dist/pages/activityList/components/details/index.wxss +++ b/dist/pages/activityList/components/details/index.wxss @@ -25,3 +25,15 @@ width: 95%; position: fixed; } +.imagesArr { + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding: 10rpx; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} diff --git a/dist/pages/home/index.js b/dist/pages/home/index.js index 05f14d5..bdbc11c 100644 --- a/dist/pages/home/index.js +++ b/dist/pages/home/index.js @@ -1,2 +1,2 @@ /*! For license information please see index.js.LICENSE.txt */ -(wx.webpackJsonp=wx.webpackJsonp||[]).push([["pages/home/index"],{"./node_modules/@antmjs/vantui/es/field/index.js":function(e,t,n){"use strict";n.d(t,{Field:function(){return Field}});var o=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),r=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),a=n("webpack/container/remote/@tarojs/taro"),i=n("webpack/container/remote/react"),s=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),c=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),l=n("./node_modules/@antmjs/vantui/es/cell/index.js"),u=n("./node_modules/@antmjs/vantui/es/icon/index.js"),d=(n("./node_modules/@antmjs/vantui/es/utils/index.js"),n("./node_modules/@antmjs/vantui/es/field/wxs.js")),m=n("webpack/container/remote/react/jsx-runtime");n("webpack/container/remote/@tarojs/runtime").document;function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t=W}),children:h.length>=W?W:h.length}),"/"+W]}),G&&(0,m.jsx)(s.View,{className:c.bem("field__error-message",[B,{disabled:A,error:U}]),children:G})]})}},"./node_modules/@antmjs/vantui/es/field/wxs.js":function(e,t,n){"use strict";n.d(t,{inputStyle:function(){return inputStyle}});var o=n("./node_modules/@antmjs/vantui/es/wxs/style.js"),r=n("./node_modules/@antmjs/vantui/es/wxs/add-unit.js");function inputStyle(e){return e&&"Object"===e.constructor.name?(0,o.style)({"min-height":(0,r.addUnit)(e.minHeight),"max-height":(0,r.addUnit)(e.maxHeight)}):""}},"./node_modules/@antmjs/vantui/es/grid-item/index.js":function(e,t,n){"use strict";var o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),r=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),a=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),i=n("webpack/container/remote/react"),s=n("./node_modules/@antmjs/vantui/es/common/jumpLink.js"),c=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),l=n("./node_modules/@antmjs/vantui/es/icon/index.js"),u=n("./node_modules/@antmjs/vantui/es/grid-item/wxs.js"),d=n("webpack/container/remote/react/jsx-runtime"),m=["icon","iconColor","iconPrefix","dot","info","badge","text","setChildrenInstance","parentInstance","index","url","linkType","style","className"];t.default=function GridItem(e){var t=e.icon,n=e.iconColor,f=e.iconPrefix,p=void 0===f?"van-icon":f,j=e.dot,b=e.info,v=e.badge,h=e.text,g=e.setChildrenInstance,y=e.parentInstance,w=e.index,x=e.url,_=e.linkType,S=e.style,O=e.className,k=(0,r.default)(e,m),C=(0,i.useState)({}),P=(0,o.default)(C,2),T=P[0],N=P[1];(0,i.useEffect)((function(){g(w,{updateStyle:D})}),[w,g]),(0,i.useEffect)((function(){D()}),[y.columnNum]);var D=(0,i.useCallback)((function(){var e=y.columnNum,t=y.border,n=y.square,o=y.gutter,r=y.clickable,a=y.center,i=y.direction,s=y.reverse,c=y.iconSize;N({center:a,border:t,square:n,gutter:o,clickable:r,direction:i,reverse:s,iconSize:c,index:w,columnNum:e})}),[y,w]);return(0,d.jsx)(a.View,{className:" "+c.bem("grid-item",{square:null==T?void 0:T.square})+" "+O,style:c.style([u.wrapperStyle({square:null==T?void 0:T.square,gutter:null==T?void 0:T.gutter,columnNum:null==T?void 0:T.columnNum,index:null==T?void 0:T.index}),S]),onClick:function onClick(e){var t;x&&(0,s.jumpLink)(x,_),null==k||null===(t=k.onClick)||void 0===t||t.call(k,e)},children:(0,d.jsx)(a.View,{className:"content-class "+c.bem("grid-item__content",[null==T?void 0:T.direction,{center:null==T?void 0:T.center,square:null==T?void 0:T.square,reverse:null==T?void 0:T.reverse,clickable:null==T?void 0:T.clickable,surround:(null==T?void 0:T.border)&&(null==T?void 0:T.gutter)}])+" "+(null!=T&&T.border?"van-hairline--surround":""),style:u.contentStyle({square:null==T?void 0:T.square,gutter:null==T?void 0:T.gutter}),children:k.children||(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(a.View,{className:"van-grid-item__icon icon-class",children:t?(0,d.jsx)(l.default,{name:t,color:n,classPrefix:p,dot:j,info:v||b,size:null==T?void 0:T.iconSize}):T.renderIcon}),(0,d.jsx)(a.View,{className:"van-grid-item__text text-class",children:h?(0,d.jsx)(a.Text,{children:h}):T.renderText})]})})})}},"./node_modules/@antmjs/vantui/es/grid-item/wxs.js":function(e,t,n){"use strict";n.d(t,{wrapperStyle:function(){return wrapperStyle},contentStyle:function(){return contentStyle}});var o=n("./node_modules/@antmjs/vantui/es/wxs/style.js"),r=n("./node_modules/@antmjs/vantui/es/wxs/add-unit.js");function wrapperStyle(e){var t=100/e.columnNum+"%";return(0,o.style)({width:t,"padding-top":e.square?t:null,"padding-right":(0,r.addUnit)(e.gutter),"margin-top":e.index>=e.columnNum&&!e.square?(0,r.addUnit)(e.gutter):null})}function contentStyle(e){return e.square?(0,o.style)({right:(0,r.addUnit)(e.gutter),bottom:(0,r.addUnit)(e.gutter),height:"auto"}):""}},"./node_modules/@antmjs/vantui/es/grid/index.js":function(e,t,n){"use strict";var o=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),r=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),a=n("webpack/container/remote/react"),i=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),s=n("./node_modules/@antmjs/vantui/es/grid/wxs.js"),c=n("webpack/container/remote/react/jsx-runtime"),l=["gutter","clickable","columnNum","center","border","direction","iconSize","square","reverse","className","style"];t.default=function Grid(e){var t=e.gutter,n=void 0===t?null:t,u=e.clickable,d=e.columnNum,m=void 0===d?4:d,f=e.center,p=void 0===f||f,j=e.border,b=void 0===j||j,v=e.direction,h=e.iconSize,g=void 0===h?"48":h,y=e.square,w=e.reverse,x=void 0!==w&&w,_=e.className,S=void 0===_?"":_,O=e.style,k=void 0===O?{}:O,C=(0,o.default)(e,l),P=(0,a.useRef)([]),T=(0,a.useCallback)((function(){P.current.forEach((function(e){e.updateStyle()}))}),[]);(0,a.useEffect)((function(){T()}),[T]);var N=(0,a.useCallback)((function(e,t){P.current[e]=t}),[]),D=(0,a.useMemo)((function(){var e=[];return C.children&&Array.isArray(C.children)&&C.children.forEach((function(t,o){e.push((0,a.cloneElement)(t,{setChildrenInstance:N,key:o,index:o,parentInstance:{columnNum:m,border:b,square:y,gutter:n,clickable:u,center:p,direction:v,reverse:x,iconSize:g}}))})),e}),[C.children,m]);return(0,c.jsx)(r.View,{className:"van-grid "+(b&&!n?"van-hairline--top":"")+" "+S,style:i.style([s.rootStyle({gutter:n}),k]),children:D})}},"./node_modules/@antmjs/vantui/es/grid/wxs.js":function(e,t,n){"use strict";n.d(t,{rootStyle:function(){return rootStyle}});var o=n("./node_modules/@antmjs/vantui/es/wxs/style.js"),r=n("./node_modules/@antmjs/vantui/es/wxs/add-unit.js");function rootStyle(e){return(0,o.style)({"padding-left":(0,r.addUnit)(e.gutter)})}},"./node_modules/@antmjs/vantui/es/notice-bar/index.js":function(e,t,n){"use strict";var o=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),r=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),a=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),i=n("webpack/container/remote/@tarojs/taro"),s=n("webpack/container/remote/react"),c=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),l=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),u=n("./node_modules/@antmjs/vantui/es/common/utils.js"),d=n("./node_modules/@antmjs/vantui/es/icon/index.js"),m=n("./node_modules/@antmjs/vantui/es/notice-bar/wxs.js"),f=n("webpack/container/remote/react/jsx-runtime"),p=["text","mode","url","openType","delay","speed","scrollable","leftIcon","color","backgroundColor","background","wrapable","renderLeftIcon","renderRightIcon","onClick","onClose","style","className","children"];function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0];h.current.timer&&clearTimeout(h.current.timer),h.current.timer=null,b((function(t){return _objectSpread(_objectSpread({},t),{},{animationData:h.current.resetAnimation.translateX(e?0:h.current.wrapWidth).step().export()})})),setTimeout((function(){(0,u.requestAnimationFrame)((function(){b((function(e){return _objectSpread(_objectSpread({},e),{},{animationData:h.current.animation.translateX(-h.current.contentWidth).step().export()})}))}))}),10),h.current.timer=setTimeout((function(){G()}),h.current.duration)}),[]),J=(0,s.useCallback)((function(){(0,u.requestAnimationFrame)((function(){Promise.all([(0,u.getRect)(null,".van-notice-bar__content_".concat(o.unitag)),(0,u.getRect)(null,".van-notice-bar__wrap_".concat(o.unitag))]).then((function(e){var t=e[0],n=e[1];null!=t&&null!=n&&t.width&&n.width&&!1!==I&&(0,i.nextTick)((function(){(I||n.width<=t.width)&&(h.current.wrapWidth=n.width,h.current.contentWidth=t.width,h.current.duration=(n.width+t.width)/N*1e3,h.current.animation=(0,i.createAnimation)({duration:h.current.duration,timingFunction:"linear",delay:P}),G(!0))}))}))}))}),[o.unitag,I,N,P,G]),Q=(0,s.useCallback)((function(e){"closeable"===x&&(h.current.timer&&clearTimeout(h.current.timer),h.current.timer=null,b((function(e){return _objectSpread(_objectSpread({},e),{},{show:!1})})),null==Y||Y(e))}),[x,Y]);return o.show&&(0,f.jsxs)(c.View,_objectSpread(_objectSpread({className:l.bem("notice-bar",{withicon:x,wrapable:K})+" ".concat(H||""),style:l.style([m.rootStyle({color:z,backgroundColor:q,background:F}),W])},U),{},{onClick:X,children:[V?(0,f.jsx)(d.default,{name:V,className:"van-notice-bar__left-icon"}):R,(0,f.jsx)(c.View,{className:"van-notice-bar__wrap van-notice-bar__wrap_".concat(o.unitag),children:(0,f.jsxs)(c.View,{className:"van-notice-bar__content van-notice-bar__content_".concat(o.unitag," ")+(!1!==I||K?"":"van-ellipsis"),animation:o.animationData,children:[y,!y&&B]})}),"closeable"===x?(0,f.jsx)(d.default,{className:"van-notice-bar__right-icon",name:"cross",onClick:Q}):"link"===x?(0,f.jsx)(c.Navigator,{url:S,openType:k,children:(0,f.jsx)(d.default,{className:"van-notice-bar__right-icon",name:"arrow"})}):L]}))}},"./node_modules/@antmjs/vantui/es/notice-bar/wxs.js":function(e,t,n){"use strict";n.d(t,{rootStyle:function(){return rootStyle}});var o=n("./node_modules/@antmjs/vantui/es/wxs/style.js");function rootStyle(e){return(0,o.style)({color:e.color,"background-color":e.backgroundColor,background:e.background})}},"./node_modules/@antmjs/vantui/es/search/index.js":function(e,t,n){"use strict";var o=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),r=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),a=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),i=n("webpack/container/remote/react"),s=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),c=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),l=n("./node_modules/@antmjs/vantui/es/field/index.js"),u=n("webpack/container/remote/react/jsx-runtime"),d=["value","defaultValue","label","focus","error","disabled","readonly","inputAlign","showAction","leftIcon","rightIcon","placeholder","placeholderStyle","actionText","background","maxlength","shape","clearable","clearTrigger","clearIcon","renderLabel","renderLeftIcon","renderRightIcon","renderAction","onFocus","onBlur","onChange","onClear","onClickInput","onSearch","onCancel","style","className"];function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t=me&&xe({pace:-me})},ge=function prev(){he(),Ce(),Oe((function(){Oe((function(){T.current.moving=!1,xe({pace:-1,isEmit:!0})}))}))},ye=function next(){he(),Ce(),Oe((function(){Oe((function(){T.current.moving=!1,xe({pace:1,isEmit:!0})}))}))},we=function to(e){he(),Ce(),Oe((function(){Oe((function(){var t;T.current.moving=!1,t=c.loop&&me===e?0===F?0:e:e%me,xe({pace:t-F,isEmit:!0})}))}))},xe=function move(e){var t=e.pace,n=void 0===t?0:t,o=e.offset,r=void 0===o?0:o,a=e.isEmit,i=void 0!==a&&a;if(!(me<=1)){var s=_e(n),l=Se(s,r);if(c.loop){if(Array.isArray(d)&&d[0]&&l!==je){var u=l0;te[me-1]=m?-fe:0}ne(te)}i&&F!==s&&c.onChange&&c.onChange((s+me)%me),F=s,K(s),$(l),Te(l)}},_e=function getActive(e){if(e){var t=F+e;return c.loop?ke(t,-1,me):ke(t,0,me-1)}return F},Se=function getOffset(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e*Number(se);c.loop||(n=Math.min(n,-je));var o=t-n;return c.loop||(o=ke(o,je,0)),o},Oe=function requestFrame(e){h.requestAnimationFrame.call(h,e)},ke=function range(e,t,n){return Math.min(Math.max(e,t),n)},Ce=function touchReset(){le.startX=0,le.startY=0,le.deltaX=0,le.deltaY=0,le.offsetX=0,le.offsetY=0,le.delta=0,le.stateDirection="",le.touchTime=0},Pe=m()((n={},(0,i.default)(n,"van-swiper__inner",!0),(0,i.default)(n,"van-swiper__vertical",I),n)),Te=function getStyle(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q,t=P.current,n=0;if(S){var o=I?B:X,r=I?(null==A?void 0:A.height)-o:(null==A?void 0:A.width)-o;n=e+(F!==me-1||c.loop?r/2:-r/2)}else n=e;t.style.transitionDuration="".concat(T.current.moving?0:c.duration,"ms"),t.style[I?"height":"width"]="".concat(Number(se)*me,"px"),t.style[I?"width":"height"]="".concat(I?X:B,"px"),t.style.transform="translate3D".concat(I?"(0,".concat(n,"px,0)"):"(".concat(n,"px,0,0)"))};(0,u.useEffect)((function(){T.current.activePagination=(F+me)%me}),[F]);var Ne=function queryRect(e){return new Promise((function(t){var n=(0,f.createSelectorQuery)();n.select("#".concat(e.id))&&n.select("#".concat(e.id)).boundingClientRect(),n.exec((function(e){t(e[0])}))}))},De=function(){var e=(0,o.default)(l().mark((function _callee(){var e,t,n,o,r,a,i=arguments;return l().wrap((function _callee$(s){for(;;)switch(s.prev=s.next){case 0:return e=i.length>0&&void 0!==i[0]?i[0]:+c.initPage,s.next=3,Ne(C.current);case 3:t=s.sent,n=Math.max(Math.min(me-1,e),0),o=c.width?+c.width:null==t?void 0:t.width,r=c.height?+c.height:null==t?void 0:t.height,se=I?r:o,fe=me*Number(se),a=Se(n),T.current.moving=!0,ae&&(T.current.moving=!1),z(t),K(n),Y(o),U(r),$(a),ie(!0);case 18:case"end":return s.stop()}}),_callee)})));return function init(){return e.apply(this,arguments)}}();(0,u.useEffect)((function(){ae&&Te()}),[I,X,B,Q,ae]),(0,u.useEffect)((function(){return function(){ie(!1)}}),[]),(0,u.useEffect)((function(){be(),ve()}),[d]),(0,u.useEffect)((function(){De()}),[c.initPage]),(0,u.useEffect)((function(){return function(){be()}}),[]),(0,f.useReady)((function(){De(),p().nextTick((function(){setTimeout((function(){be(),ve()}),16)}))}));var Ie=function itemStyle(e){var t={},n=c.direction||w,o=se;o&&(t["horizontal"===n?"width":"height"]="".concat(o,"px"));var r=te[e];return r&&(t.transform="translate3D".concat("horizontal"===n?"(".concat(r,"px,0,0)"):"(0,".concat(r,"px,0)"))),t};return(0,u.useImperativeHandle)(t,(function(){return{to:we,next:ye,prev:ge}})),(0,v.jsx)(b.DataContext.Provider,{value:pe,children:(0,v.jsxs)(j.View,_objectSpread(_objectSpread({className:"van-swiper ".concat(x),ref:C},k),{},{id:"container-"+D,onTouchStart:function onTouchStart(e){c.isPreventDefault&&e.preventDefault(),c.isStopPropagation&&e.stopPropagation(),c.touchable&&(!function touchStart(e){var t,n;Ce(),le.startX=(null==e||null===(t=e.touches[0])||void 0===t?void 0:t.clientX)||0,le.startY=(null==e||null===(n=e.touches[0])||void 0===n?void 0:n.clientY)||0}(e),le.touchTime=Date.now(),be(),he())},onTouchMove:function onTouchMove(e){c.touchable&&T.current.moving&&(!function touchMove(e){var t,n;le.deltaX=((null==e||null===(t=e.touches[0])||void 0===t?void 0:t.clientX)||0)-le.startX,le.deltaY=((null==e||null===(n=e.touches[0])||void 0===n?void 0:n.clientY)||0)-le.startY,le.offsetX=Math.abs(le.deltaX),le.offsetY=Math.abs(le.deltaY),le.delta=I?le.deltaY:le.deltaX,le.stateDirection||(le.stateDirection=function getDirection(e,t){return e>t&&e>5?"horizontal":t>e&&t>5?"vertical":""}(le.offsetX,le.offsetY))}(e),le.stateDirection===c.direction&&xe({offset:le.delta}))},onTouchEnd:function onTouchEnd(){if(c.touchable&&T.current.moving){var e=le.delta/(Date.now()-le.touchTime),t=Math.abs(e)>.3||Math.abs(le.delta)>+(se/2).toFixed(2),n=0;if(T.current.moving=!1,t&&le.stateDirection===c.direction){var o=I?le.offsetY:le.offsetX;n=c.loop?o>0?le.delta>0?-1:1:0:-Math[le.delta>0?"ceil":"floor"](le.delta/se),xe({pace:n,isEmit:!0})}else le.delta?xe({pace:0}):Te();ve()}},catchMove:I,style:_objectSpread(_objectSpread({},O),{},{height:B}),children:[(0,v.jsxs)(j.View,{className:Pe,ref:P,children:[u.Children.map(de,(function(e,t){return(0,v.jsx)(j.View,{className:"van-swiper-item-wrapper",style:Ie(t),children:e},t)})),(0,v.jsx)(j.View,{className:"van-swiper-item-wrapper",style:Ie(0),children:de&&de.length?de[0]:""})]}),c.paginationVisible&&!("pageContent"in c)?(0,v.jsx)(j.View,{className:m()((s={},(0,i.default)(s,"van-swiper__pagination",!0),(0,i.default)(s,"van-swiper__pagination-vertical",I),s)),children:u.Children.map(de,(function(e,t){var n;return(0,v.jsx)(j.Text,{style:(F+me)%me===t?{backgroundColor:c.paginationColor}:void 0,className:m()((n={},(0,i.default)(n,"van-swiper__pagination-item",!0),(0,i.default)(n,"active",(F+me)%me===t),n))},t)}))}):(0,v.jsx)(j.View,{children:_})]}))})},x=(0,u.forwardRef)(w);t.default=x},"./node_modules/@antmjs/vantui/es/toast/events.js":function(e,t,n){"use strict";n.d(t,{on:function(){return on},off:function(){return off},trigger:function(){return trigger}});var o=n("webpack/container/remote/@tarojs/taro"),r=new o.Events;function trigger(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o0&&(y=setTimeout((function(){(0,f.trigger)("toast_clear",e)}),t.duration)))},N=(0,s.useCallback)((function(e){P(e)}),[]),D=(0,s.useCallback)((function(e){g=Object.assign(g,e)}),[]),I=(0,s.useCallback)((function(){g=Object.assign({},h)}),[]);return(0,s.useEffect)((function(){return(0,f.on)("toast_show",T),(0,f.on)("toast_clear",N),(0,f.on)("toast_setDefaultOptions",D),(0,f.on)("toast_resetDefaultOptions",I),function(){(0,f.off)("toast_show",T),(0,f.off)("toast_clear",N),(0,f.off)("toast_setDefaultOptions",D),(0,f.off)("toast_resetDefaultOptions",I)}}),[]),(0,j.jsxs)(i.View,{children:[(o.mask||o.forbidClick)&&(0,j.jsx)(l.default,{show:o.show,zIndex:O,style:o.mask?"":"background-color: transparent;"}),(0,j.jsx)(c.default,{show:o.show,style:O?{zIndex:O}:{},className:"van-toast__container",children:(0,j.jsxs)(i.View,_objectSpread(_objectSpread({id:"van-toast",className:"van-toast van-toast--"+("text"===o.type||"html"===o.type?"text":"icon")+" van-toast--".concat(o.position," ").concat(_),style:x,onTouchMove:function noop(){}},k),{},{children:["text"===o.type?(0,j.jsx)(i.Text,{children:o.message}):"html"===o.type?(0,j.jsx)(i.RichText,{nodes:o.message}):(0,j.jsxs)(i.View,{className:"van-toast__box",children:["loading"===o.type?(0,j.jsx)(d.default,{color:"white",type:o.loadingType,className:"van-toast__loading"}):(0,j.jsx)(u.default,{className:"van-toast__icon",name:o.type}),o.message&&(0,j.jsx)(i.Text,{className:"van-toast__text",children:o.message})]}),S]}))})]})}Toast.show=p.default,Toast.loading=p.default.loading,Toast.success=p.default.success,Toast.fail=p.default.fail,Toast.clear=p.default.clear,Toast.setDefaultOptions=p.default.setDefaultOptions,Toast.resetDefaultOptions=p.default.resetDefaultOptions,t.default=Toast},"./node_modules/@antmjs/vantui/es/toast/toast.js":function(e,t,n){"use strict";var o=n("./node_modules/@antmjs/vantui/es/common/validator.js"),r=n("./node_modules/@antmjs/vantui/es/toast/events.js");var a=function createMethod(e){return function(t){return i(Object.assign({type:e},function parseOptions(e){return(0,o.isObj)(e)?e:{message:e}}(t)))}},i=function Toast(e){(0,r.trigger)("toast_show",e)};i.loading=a("loading"),i.success=a("success"),i.fail=a("fail"),i.clear=function(e){(0,r.trigger)("toast_clear",e)},i.setDefaultOptions=function(e){(0,r.trigger)("toast_setDefaultOptions",e)},i.resetDefaultOptions=function(){(0,r.trigger)("toast_resetDefaultOptions")},t.default=i},"./node_modules/@antmjs/vantui/es/utils/index.js":function(e,t,n){"use strict";n.d(t,{resizeTextarea:function(){return resizeTextarea}});n("./node_modules/@babel/runtime/helpers/esm/typeof.js"),n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),n("webpack/container/remote/react"),n("webpack/container/remote/@tarojs/taro");var o=n("./node_modules/@antmjs/vantui/es/utils/type.js"),r=n("webpack/container/remote/@tarojs/runtime").window,a=n("webpack/container/remote/@tarojs/runtime").document;function setScrollTop(e,t){"scrollTop"in e?e.scrollTop=t:e.scrollTo(e.scrollX,t)}function resizeTextarea(e,t){var n=function getRootScrollTop(){return r.pageYOffset||a.documentElement.scrollTop||a.body.scrollTop||0}();e.style.height="auto",e.style.lineHeight="inherit",e.rows=1;var i=e.scrollHeight;if(console.info(i),(0,o.isObject)(t)){var s=t.maxHeight,c=t.minHeight;void 0!==s&&(i=Math.min(i,"number"==typeof s?s:Number(s.replace("px","")))),void 0!==c&&(i=Math.max(i,"number"==typeof c?c:Number(c.replace("px",""))))}i&&(e.style.height="".concat(i,"px"),function setRootScrollTop(e){setScrollTop(r,e),setScrollTop(a.body,e)}(n))}},"./node_modules/@antmjs/vantui/es/utils/type.js":function(e,t,n){"use strict";function isString(e){return"[object String]"===toString.call(e)}function isNumber(e){return"[object Number]"===toString.call(e)}function isObject(e){return"[object Object]"===toString.call(e)}n.d(t,{isString:function(){return isString},isNumber:function(){return isNumber},isObject:function(){return isObject}})},"./node_modules/classnames/index.js":function(e,t,n){var o,r=n("webpack/container/remote/@tarojs/runtime").window,a=n("./node_modules/@babel/runtime/helpers/typeof.js").default;!function(){"use strict";var i={}.hasOwnProperty;function classNames(){for(var e=[],t=0;t=W}),children:h.length>=W?W:h.length}),"/"+W]}),G&&(0,m.jsx)(s.View,{className:c.bem("field__error-message",[B,{disabled:A,error:U}]),children:G})]})}},"./node_modules/@antmjs/vantui/es/field/wxs.js":function(e,t,n){"use strict";n.d(t,{inputStyle:function(){return inputStyle}});var o=n("./node_modules/@antmjs/vantui/es/wxs/style.js"),r=n("./node_modules/@antmjs/vantui/es/wxs/add-unit.js");function inputStyle(e){return e&&"Object"===e.constructor.name?(0,o.style)({"min-height":(0,r.addUnit)(e.minHeight),"max-height":(0,r.addUnit)(e.maxHeight)}):""}},"./node_modules/@antmjs/vantui/es/grid-item/index.js":function(e,t,n){"use strict";var o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),r=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),a=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),i=n("webpack/container/remote/react"),s=n("./node_modules/@antmjs/vantui/es/common/jumpLink.js"),c=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),l=n("./node_modules/@antmjs/vantui/es/icon/index.js"),u=n("./node_modules/@antmjs/vantui/es/grid-item/wxs.js"),d=n("webpack/container/remote/react/jsx-runtime"),m=["icon","iconColor","iconPrefix","dot","info","badge","text","setChildrenInstance","parentInstance","index","url","linkType","style","className"];t.default=function GridItem(e){var t=e.icon,n=e.iconColor,f=e.iconPrefix,p=void 0===f?"van-icon":f,j=e.dot,b=e.info,v=e.badge,h=e.text,g=e.setChildrenInstance,y=e.parentInstance,w=e.index,x=e.url,_=e.linkType,S=e.style,O=e.className,k=(0,r.default)(e,m),C=(0,i.useState)({}),P=(0,o.default)(C,2),T=P[0],N=P[1];(0,i.useEffect)((function(){g(w,{updateStyle:D})}),[w,g]),(0,i.useEffect)((function(){D()}),[y.columnNum]);var D=(0,i.useCallback)((function(){var e=y.columnNum,t=y.border,n=y.square,o=y.gutter,r=y.clickable,a=y.center,i=y.direction,s=y.reverse,c=y.iconSize;N({center:a,border:t,square:n,gutter:o,clickable:r,direction:i,reverse:s,iconSize:c,index:w,columnNum:e})}),[y,w]);return(0,d.jsx)(a.View,{className:" "+c.bem("grid-item",{square:null==T?void 0:T.square})+" "+O,style:c.style([u.wrapperStyle({square:null==T?void 0:T.square,gutter:null==T?void 0:T.gutter,columnNum:null==T?void 0:T.columnNum,index:null==T?void 0:T.index}),S]),onClick:function onClick(e){var t;x&&(0,s.jumpLink)(x,_),null==k||null===(t=k.onClick)||void 0===t||t.call(k,e)},children:(0,d.jsx)(a.View,{className:"content-class "+c.bem("grid-item__content",[null==T?void 0:T.direction,{center:null==T?void 0:T.center,square:null==T?void 0:T.square,reverse:null==T?void 0:T.reverse,clickable:null==T?void 0:T.clickable,surround:(null==T?void 0:T.border)&&(null==T?void 0:T.gutter)}])+" "+(null!=T&&T.border?"van-hairline--surround":""),style:u.contentStyle({square:null==T?void 0:T.square,gutter:null==T?void 0:T.gutter}),children:k.children||(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(a.View,{className:"van-grid-item__icon icon-class",children:t?(0,d.jsx)(l.default,{name:t,color:n,classPrefix:p,dot:j,info:v||b,size:null==T?void 0:T.iconSize}):T.renderIcon}),(0,d.jsx)(a.View,{className:"van-grid-item__text text-class",children:h?(0,d.jsx)(a.Text,{children:h}):T.renderText})]})})})}},"./node_modules/@antmjs/vantui/es/grid-item/wxs.js":function(e,t,n){"use strict";n.d(t,{wrapperStyle:function(){return wrapperStyle},contentStyle:function(){return contentStyle}});var o=n("./node_modules/@antmjs/vantui/es/wxs/style.js"),r=n("./node_modules/@antmjs/vantui/es/wxs/add-unit.js");function wrapperStyle(e){var t=100/e.columnNum+"%";return(0,o.style)({width:t,"padding-top":e.square?t:null,"padding-right":(0,r.addUnit)(e.gutter),"margin-top":e.index>=e.columnNum&&!e.square?(0,r.addUnit)(e.gutter):null})}function contentStyle(e){return e.square?(0,o.style)({right:(0,r.addUnit)(e.gutter),bottom:(0,r.addUnit)(e.gutter),height:"auto"}):""}},"./node_modules/@antmjs/vantui/es/grid/index.js":function(e,t,n){"use strict";var o=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),r=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),a=n("webpack/container/remote/react"),i=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),s=n("./node_modules/@antmjs/vantui/es/grid/wxs.js"),c=n("webpack/container/remote/react/jsx-runtime"),l=["gutter","clickable","columnNum","center","border","direction","iconSize","square","reverse","className","style"];t.default=function Grid(e){var t=e.gutter,n=void 0===t?null:t,u=e.clickable,d=e.columnNum,m=void 0===d?4:d,f=e.center,p=void 0===f||f,j=e.border,b=void 0===j||j,v=e.direction,h=e.iconSize,g=void 0===h?"48":h,y=e.square,w=e.reverse,x=void 0!==w&&w,_=e.className,S=void 0===_?"":_,O=e.style,k=void 0===O?{}:O,C=(0,o.default)(e,l),P=(0,a.useRef)([]),T=(0,a.useCallback)((function(){P.current.forEach((function(e){e.updateStyle()}))}),[]);(0,a.useEffect)((function(){T()}),[T]);var N=(0,a.useCallback)((function(e,t){P.current[e]=t}),[]),D=(0,a.useMemo)((function(){var e=[];return C.children&&Array.isArray(C.children)&&C.children.forEach((function(t,o){e.push((0,a.cloneElement)(t,{setChildrenInstance:N,key:o,index:o,parentInstance:{columnNum:m,border:b,square:y,gutter:n,clickable:u,center:p,direction:v,reverse:x,iconSize:g}}))})),e}),[C.children,m]);return(0,c.jsx)(r.View,{className:"van-grid "+(b&&!n?"van-hairline--top":"")+" "+S,style:i.style([s.rootStyle({gutter:n}),k]),children:D})}},"./node_modules/@antmjs/vantui/es/grid/wxs.js":function(e,t,n){"use strict";n.d(t,{rootStyle:function(){return rootStyle}});var o=n("./node_modules/@antmjs/vantui/es/wxs/style.js"),r=n("./node_modules/@antmjs/vantui/es/wxs/add-unit.js");function rootStyle(e){return(0,o.style)({"padding-left":(0,r.addUnit)(e.gutter)})}},"./node_modules/@antmjs/vantui/es/notice-bar/index.js":function(e,t,n){"use strict";var o=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),r=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),a=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),i=n("webpack/container/remote/@tarojs/taro"),s=n("webpack/container/remote/react"),c=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),l=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),u=n("./node_modules/@antmjs/vantui/es/common/utils.js"),d=n("./node_modules/@antmjs/vantui/es/icon/index.js"),m=n("./node_modules/@antmjs/vantui/es/notice-bar/wxs.js"),f=n("webpack/container/remote/react/jsx-runtime"),p=["text","mode","url","openType","delay","speed","scrollable","leftIcon","color","backgroundColor","background","wrapable","renderLeftIcon","renderRightIcon","onClick","onClose","style","className","children"];function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0];h.current.timer&&clearTimeout(h.current.timer),h.current.timer=null,b((function(t){return _objectSpread(_objectSpread({},t),{},{animationData:h.current.resetAnimation.translateX(e?0:h.current.wrapWidth).step().export()})})),setTimeout((function(){(0,u.requestAnimationFrame)((function(){b((function(e){return _objectSpread(_objectSpread({},e),{},{animationData:h.current.animation.translateX(-h.current.contentWidth).step().export()})}))}))}),10),h.current.timer=setTimeout((function(){G()}),h.current.duration)}),[]),J=(0,s.useCallback)((function(){(0,u.requestAnimationFrame)((function(){Promise.all([(0,u.getRect)(null,".van-notice-bar__content_".concat(o.unitag)),(0,u.getRect)(null,".van-notice-bar__wrap_".concat(o.unitag))]).then((function(e){var t=e[0],n=e[1];null!=t&&null!=n&&t.width&&n.width&&!1!==I&&(0,i.nextTick)((function(){(I||n.width<=t.width)&&(h.current.wrapWidth=n.width,h.current.contentWidth=t.width,h.current.duration=(n.width+t.width)/N*1e3,h.current.animation=(0,i.createAnimation)({duration:h.current.duration,timingFunction:"linear",delay:P}),G(!0))}))}))}))}),[o.unitag,I,N,P,G]),Q=(0,s.useCallback)((function(e){"closeable"===x&&(h.current.timer&&clearTimeout(h.current.timer),h.current.timer=null,b((function(e){return _objectSpread(_objectSpread({},e),{},{show:!1})})),null==Y||Y(e))}),[x,Y]);return o.show&&(0,f.jsxs)(c.View,_objectSpread(_objectSpread({className:l.bem("notice-bar",{withicon:x,wrapable:K})+" ".concat(H||""),style:l.style([m.rootStyle({color:z,backgroundColor:q,background:F}),W])},U),{},{onClick:X,children:[V?(0,f.jsx)(d.default,{name:V,className:"van-notice-bar__left-icon"}):R,(0,f.jsx)(c.View,{className:"van-notice-bar__wrap van-notice-bar__wrap_".concat(o.unitag),children:(0,f.jsxs)(c.View,{className:"van-notice-bar__content van-notice-bar__content_".concat(o.unitag," ")+(!1!==I||K?"":"van-ellipsis"),animation:o.animationData,children:[y,!y&&B]})}),"closeable"===x?(0,f.jsx)(d.default,{className:"van-notice-bar__right-icon",name:"cross",onClick:Q}):"link"===x?(0,f.jsx)(c.Navigator,{url:S,openType:k,children:(0,f.jsx)(d.default,{className:"van-notice-bar__right-icon",name:"arrow"})}):L]}))}},"./node_modules/@antmjs/vantui/es/notice-bar/wxs.js":function(e,t,n){"use strict";n.d(t,{rootStyle:function(){return rootStyle}});var o=n("./node_modules/@antmjs/vantui/es/wxs/style.js");function rootStyle(e){return(0,o.style)({color:e.color,"background-color":e.backgroundColor,background:e.background})}},"./node_modules/@antmjs/vantui/es/search/index.js":function(e,t,n){"use strict";var o=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),r=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),a=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),i=n("webpack/container/remote/react"),s=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),c=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),l=n("./node_modules/@antmjs/vantui/es/field/index.js"),u=n("webpack/container/remote/react/jsx-runtime"),d=["value","defaultValue","label","focus","error","disabled","readonly","inputAlign","showAction","leftIcon","rightIcon","placeholder","placeholderStyle","actionText","background","maxlength","shape","clearable","clearTrigger","clearIcon","renderLabel","renderLeftIcon","renderRightIcon","renderAction","onFocus","onBlur","onChange","onClear","onClickInput","onSearch","onCancel","style","className"];function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t=me&&xe({pace:-me})},ge=function prev(){he(),Ce(),Oe((function(){Oe((function(){T.current.moving=!1,xe({pace:-1,isEmit:!0})}))}))},ye=function next(){he(),Ce(),Oe((function(){Oe((function(){T.current.moving=!1,xe({pace:1,isEmit:!0})}))}))},we=function to(e){he(),Ce(),Oe((function(){Oe((function(){var t;T.current.moving=!1,t=c.loop&&me===e?0===F?0:e:e%me,xe({pace:t-F,isEmit:!0})}))}))},xe=function move(e){var t=e.pace,n=void 0===t?0:t,o=e.offset,r=void 0===o?0:o,a=e.isEmit,i=void 0!==a&&a;if(!(me<=1)){var s=_e(n),l=Se(s,r);if(c.loop){if(Array.isArray(d)&&d[0]&&l!==je){var u=l0;te[me-1]=m?-fe:0}ne(te)}i&&F!==s&&c.onChange&&c.onChange((s+me)%me),F=s,K(s),$(l),Te(l)}},_e=function getActive(e){if(e){var t=F+e;return c.loop?ke(t,-1,me):ke(t,0,me-1)}return F},Se=function getOffset(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e*Number(se);c.loop||(n=Math.min(n,-je));var o=t-n;return c.loop||(o=ke(o,je,0)),o},Oe=function requestFrame(e){h.requestAnimationFrame.call(h,e)},ke=function range(e,t,n){return Math.min(Math.max(e,t),n)},Ce=function touchReset(){le.startX=0,le.startY=0,le.deltaX=0,le.deltaY=0,le.offsetX=0,le.offsetY=0,le.delta=0,le.stateDirection="",le.touchTime=0},Pe=m()((n={},(0,i.default)(n,"van-swiper__inner",!0),(0,i.default)(n,"van-swiper__vertical",I),n)),Te=function getStyle(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q,t=P.current,n=0;if(S){var o=I?B:X,r=I?(null==A?void 0:A.height)-o:(null==A?void 0:A.width)-o;n=e+(F!==me-1||c.loop?r/2:-r/2)}else n=e;t.style.transitionDuration="".concat(T.current.moving?0:c.duration,"ms"),t.style[I?"height":"width"]="".concat(Number(se)*me,"px"),t.style[I?"width":"height"]="".concat(I?X:B,"px"),t.style.transform="translate3D".concat(I?"(0,".concat(n,"px,0)"):"(".concat(n,"px,0,0)"))};(0,u.useEffect)((function(){T.current.activePagination=(F+me)%me}),[F]);var Ne=function queryRect(e){return new Promise((function(t){var n=(0,f.createSelectorQuery)();n.select("#".concat(e.id))&&n.select("#".concat(e.id)).boundingClientRect(),n.exec((function(e){t(e[0])}))}))},De=function(){var e=(0,o.default)(l().mark((function _callee(){var e,t,n,o,r,a,i=arguments;return l().wrap((function _callee$(s){for(;;)switch(s.prev=s.next){case 0:return e=i.length>0&&void 0!==i[0]?i[0]:+c.initPage,s.next=3,Ne(C.current);case 3:t=s.sent,n=Math.max(Math.min(me-1,e),0),o=c.width?+c.width:null==t?void 0:t.width,r=c.height?+c.height:null==t?void 0:t.height,se=I?r:o,fe=me*Number(se),a=Se(n),T.current.moving=!0,ae&&(T.current.moving=!1),z(t),K(n),Y(o),U(r),$(a),ie(!0);case 18:case"end":return s.stop()}}),_callee)})));return function init(){return e.apply(this,arguments)}}();(0,u.useEffect)((function(){ae&&Te()}),[I,X,B,Q,ae]),(0,u.useEffect)((function(){return function(){ie(!1)}}),[]),(0,u.useEffect)((function(){be(),ve()}),[d]),(0,u.useEffect)((function(){De()}),[c.initPage]),(0,u.useEffect)((function(){return function(){be()}}),[]),(0,f.useReady)((function(){De(),p().nextTick((function(){setTimeout((function(){be(),ve()}),16)}))}));var Ie=function itemStyle(e){var t={},n=c.direction||w,o=se;o&&(t["horizontal"===n?"width":"height"]="".concat(o,"px"));var r=te[e];return r&&(t.transform="translate3D".concat("horizontal"===n?"(".concat(r,"px,0,0)"):"(0,".concat(r,"px,0)"))),t};return(0,u.useImperativeHandle)(t,(function(){return{to:we,next:ye,prev:ge}})),(0,v.jsx)(b.DataContext.Provider,{value:pe,children:(0,v.jsxs)(j.View,_objectSpread(_objectSpread({className:"van-swiper ".concat(x),ref:C},k),{},{id:"container-"+D,onTouchStart:function onTouchStart(e){c.isPreventDefault&&e.preventDefault(),c.isStopPropagation&&e.stopPropagation(),c.touchable&&(!function touchStart(e){var t,n;Ce(),le.startX=(null==e||null===(t=e.touches[0])||void 0===t?void 0:t.clientX)||0,le.startY=(null==e||null===(n=e.touches[0])||void 0===n?void 0:n.clientY)||0}(e),le.touchTime=Date.now(),be(),he())},onTouchMove:function onTouchMove(e){c.touchable&&T.current.moving&&(!function touchMove(e){var t,n;le.deltaX=((null==e||null===(t=e.touches[0])||void 0===t?void 0:t.clientX)||0)-le.startX,le.deltaY=((null==e||null===(n=e.touches[0])||void 0===n?void 0:n.clientY)||0)-le.startY,le.offsetX=Math.abs(le.deltaX),le.offsetY=Math.abs(le.deltaY),le.delta=I?le.deltaY:le.deltaX,le.stateDirection||(le.stateDirection=function getDirection(e,t){return e>t&&e>5?"horizontal":t>e&&t>5?"vertical":""}(le.offsetX,le.offsetY))}(e),le.stateDirection===c.direction&&xe({offset:le.delta}))},onTouchEnd:function onTouchEnd(){if(c.touchable&&T.current.moving){var e=le.delta/(Date.now()-le.touchTime),t=Math.abs(e)>.3||Math.abs(le.delta)>+(se/2).toFixed(2),n=0;if(T.current.moving=!1,t&&le.stateDirection===c.direction){var o=I?le.offsetY:le.offsetX;n=c.loop?o>0?le.delta>0?-1:1:0:-Math[le.delta>0?"ceil":"floor"](le.delta/se),xe({pace:n,isEmit:!0})}else le.delta?xe({pace:0}):Te();ve()}},catchMove:I,style:_objectSpread(_objectSpread({},O),{},{height:B}),children:[(0,v.jsxs)(j.View,{className:Pe,ref:P,children:[u.Children.map(de,(function(e,t){return(0,v.jsx)(j.View,{className:"van-swiper-item-wrapper",style:Ie(t),children:e},t)})),(0,v.jsx)(j.View,{className:"van-swiper-item-wrapper",style:Ie(0),children:de&&de.length?de[0]:""})]}),c.paginationVisible&&!("pageContent"in c)?(0,v.jsx)(j.View,{className:m()((s={},(0,i.default)(s,"van-swiper__pagination",!0),(0,i.default)(s,"van-swiper__pagination-vertical",I),s)),children:u.Children.map(de,(function(e,t){var n;return(0,v.jsx)(j.Text,{style:(F+me)%me===t?{backgroundColor:c.paginationColor}:void 0,className:m()((n={},(0,i.default)(n,"van-swiper__pagination-item",!0),(0,i.default)(n,"active",(F+me)%me===t),n))},t)}))}):(0,v.jsx)(j.View,{children:_})]}))})},x=(0,u.forwardRef)(w);t.default=x},"./node_modules/@antmjs/vantui/es/toast/events.js":function(e,t,n){"use strict";n.d(t,{on:function(){return on},off:function(){return off},trigger:function(){return trigger}});var o=n("webpack/container/remote/@tarojs/taro"),r=new o.Events;function trigger(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o0&&(y=setTimeout((function(){(0,f.trigger)("toast_clear",e)}),t.duration)))},N=(0,s.useCallback)((function(e){P(e)}),[]),D=(0,s.useCallback)((function(e){g=Object.assign(g,e)}),[]),I=(0,s.useCallback)((function(){g=Object.assign({},h)}),[]);return(0,s.useEffect)((function(){return(0,f.on)("toast_show",T),(0,f.on)("toast_clear",N),(0,f.on)("toast_setDefaultOptions",D),(0,f.on)("toast_resetDefaultOptions",I),function(){(0,f.off)("toast_show",T),(0,f.off)("toast_clear",N),(0,f.off)("toast_setDefaultOptions",D),(0,f.off)("toast_resetDefaultOptions",I)}}),[]),(0,j.jsxs)(i.View,{children:[(o.mask||o.forbidClick)&&(0,j.jsx)(l.default,{show:o.show,zIndex:O,style:o.mask?"":"background-color: transparent;"}),(0,j.jsx)(c.default,{show:o.show,style:O?{zIndex:O}:{},className:"van-toast__container",children:(0,j.jsxs)(i.View,_objectSpread(_objectSpread({id:"van-toast",className:"van-toast van-toast--"+("text"===o.type||"html"===o.type?"text":"icon")+" van-toast--".concat(o.position," ").concat(_),style:x,onTouchMove:function noop(){}},k),{},{children:["text"===o.type?(0,j.jsx)(i.Text,{children:o.message}):"html"===o.type?(0,j.jsx)(i.RichText,{nodes:o.message}):(0,j.jsxs)(i.View,{className:"van-toast__box",children:["loading"===o.type?(0,j.jsx)(d.default,{color:"white",type:o.loadingType,className:"van-toast__loading"}):(0,j.jsx)(u.default,{className:"van-toast__icon",name:o.type}),o.message&&(0,j.jsx)(i.Text,{className:"van-toast__text",children:o.message})]}),S]}))})]})}Toast.show=p.default,Toast.loading=p.default.loading,Toast.success=p.default.success,Toast.fail=p.default.fail,Toast.clear=p.default.clear,Toast.setDefaultOptions=p.default.setDefaultOptions,Toast.resetDefaultOptions=p.default.resetDefaultOptions,t.default=Toast},"./node_modules/@antmjs/vantui/es/toast/toast.js":function(e,t,n){"use strict";var o=n("./node_modules/@antmjs/vantui/es/common/validator.js"),r=n("./node_modules/@antmjs/vantui/es/toast/events.js");var a=function createMethod(e){return function(t){return i(Object.assign({type:e},function parseOptions(e){return(0,o.isObj)(e)?e:{message:e}}(t)))}},i=function Toast(e){(0,r.trigger)("toast_show",e)};i.loading=a("loading"),i.success=a("success"),i.fail=a("fail"),i.clear=function(e){(0,r.trigger)("toast_clear",e)},i.setDefaultOptions=function(e){(0,r.trigger)("toast_setDefaultOptions",e)},i.resetDefaultOptions=function(){(0,r.trigger)("toast_resetDefaultOptions")},t.default=i},"./node_modules/@antmjs/vantui/es/utils/index.js":function(e,t,n){"use strict";n.d(t,{resizeTextarea:function(){return resizeTextarea}});n("./node_modules/@babel/runtime/helpers/esm/typeof.js"),n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),n("webpack/container/remote/react"),n("webpack/container/remote/@tarojs/taro");var o=n("./node_modules/@antmjs/vantui/es/utils/type.js"),r=n("webpack/container/remote/@tarojs/runtime").window,a=n("webpack/container/remote/@tarojs/runtime").document;function setScrollTop(e,t){"scrollTop"in e?e.scrollTop=t:e.scrollTo(e.scrollX,t)}function resizeTextarea(e,t){var n=function getRootScrollTop(){return r.pageYOffset||a.documentElement.scrollTop||a.body.scrollTop||0}();e.style.height="auto",e.style.lineHeight="inherit",e.rows=1;var i=e.scrollHeight;if(console.info(i),(0,o.isObject)(t)){var s=t.maxHeight,c=t.minHeight;void 0!==s&&(i=Math.min(i,"number"==typeof s?s:Number(s.replace("px","")))),void 0!==c&&(i=Math.max(i,"number"==typeof c?c:Number(c.replace("px",""))))}i&&(e.style.height="".concat(i,"px"),function setRootScrollTop(e){setScrollTop(r,e),setScrollTop(a.body,e)}(n))}},"./node_modules/@antmjs/vantui/es/utils/type.js":function(e,t,n){"use strict";function isString(e){return"[object String]"===toString.call(e)}function isNumber(e){return"[object Number]"===toString.call(e)}function isObject(e){return"[object Object]"===toString.call(e)}n.d(t,{isString:function(){return isString},isNumber:function(){return isNumber},isObject:function(){return isObject}})},"./node_modules/classnames/index.js":function(e,t,n){var o,r=n("webpack/container/remote/@tarojs/runtime").window,a=n("./node_modules/@babel/runtime/helpers/typeof.js").default;!function(){"use strict";var i={}.hasOwnProperty;function classNames(){for(var e=[],t=0;t0&&void 0!==arguments[0]?arguments[0]:[];return t(e[0])}))}))}),[g]),N=(0,s.useCallback)((function(e){var t=Object.keys(e).reduce((function(t,n){return e[n]!==b[n]&&(t[n]=e[n]),t}),{});Object.keys(t).length>0&&j((function(e){return _objectSpread(_objectSpread({},e),t)})),null==_||_({detail:{scrollTop:C.current.scrollTop,isFixed:e.fixed||b.fixed}})}),[_,b]),I=(0,s.useCallback)((function(e){w?N({fixed:!1,transform:0}):(C.current.scrollTop=e||C.current.scrollTop,"function"!=typeof g?(0,l.getRect)(null,"#sticky-com-index".concat(t.current)).then((function(e){(0,u.isDef)(e)&&(x>=e.top?N({fixed:!0,height:e.height}):N({fixed:!1}))})):Promise.all([(0,l.getRect)(null,"#sticky-com-index".concat(t.current)),P()]).then((function(e){var t=(0,i.default)(e,2),n=t[0],r=t[1];n&&r&&(x+n.height>r.height+r.top?N({fixed:!1,transform:r.height-n.height}):x>=n.top?N({fixed:!0,height:n.height,transform:0}):N({fixed:!1,transform:0}))})).catch((function(e){console.log(e)})))}),[g,w,P,x,N]);return(0,s.useEffect)((function(){I(y)}),[y,g,w,x]),(0,d.usePageScroll)((function(e){I(e.scrollTop)})),(0,m.jsx)(a.View,_objectSpread(_objectSpread({id:"sticky-com-index".concat(t.current),className:" van-sticky "+(S||""),style:c.style([f.containerStyle({fixed:b.fixed,height:b.height,zIndex:h}),k])},T),{},{children:(0,m.jsx)(a.View,{className:c.bem("sticky-wrap",{fixed:b.fixed})+" ".concat(S||""),style:c.style([f.wrapStyle({fixed:b.fixed,offsetTop:x,transform:b.transform,zIndex:h}),k]),children:O})}))}},"./node_modules/@antmjs/vantui/es/sticky/wxs.js":function(e,t,n){n.d(t,{wrapStyle:function(){return wrapStyle},containerStyle:function(){return containerStyle}});var r=n("./node_modules/@antmjs/vantui/es/wxs/style.js");function wrapStyle(e){return(0,r.style)({transform:e.transform?"translate3d(0, "+e.transform+"px, 0)":"",top:e.fixed?e.offsetTop+"px":"","z-index":e.zIndex})}function containerStyle(e){return(0,r.style)({height:e.fixed?e.height+"px":"","z-index":e.zIndex})}},"./node_modules/@antmjs/vantui/es/tab/index.js":function(e,t,n){var r=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),o=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),i=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=n("webpack/container/remote/react"),a=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),c=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),l=n("webpack/container/remote/react/jsx-runtime"),u=["children","style","className","active","lazyRender","lazyTimeout","animated","title"];function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t=we.length||e<0)&&e!==D){var t=null!==D;N((function(t){return _objectSpread(_objectSpread({},t),{},{currentIndex:e})})),(0,j.requestAnimationFrame)((function(){Oe(e),Ce(e)})),(0,l.nextTick)((function(){t&&ge("onChange",we[e])}))}},Se=function setCurrentIndexByName(e){var t=we.filter((function(t){return(t.props.name||t.props.index)===e}));t.length&&ke(t[0].props.index)},Oe=function resize(e){var r;"line"===K&&(e=null!==(r=e)&&void 0!==r?r:D,(0,l.nextTick)((function(){Promise.all([(0,j.getAllRect)(null,".tabs-com-index".concat(n.current," .van-tab")),(0,j.getRect)(null,".tabs-com-index".concat(n.current," .van-tabs__line"))]).then((function(n){var r=(0,i.default)(n,2),o=r[0],s=void 0===o?[]:o,a=r[1];if(s&&a){var c=s[e];if(null==c)return;var u=s.slice(0,e).reduce((function(e,t){return e+t.width}),0);u+=(c.width-a.width)/2+(Q?0:8),N((function(e){return _objectSpread(_objectSpread({},e),{},{lineOffsetLeft:u})})),t.current.swiping=!0,E&&(0,l.nextTick)((function(){N((function(e){return _objectSpread(_objectSpread({},e),{},{skipTransition:!1})}))}))}}))})))},Te=function onTap(e){var t=e.currentTarget.dataset.index;t=parseInt(t);var n=we[t];n.props.disabled?ge("onDisabled",n):(ke(t),(0,l.nextTick)((function(){ge("onClick",n)})))},Ce=function scrollIntoView(e){var t;z&&(e=null!==(t=e)&&void 0!==t?t:D,Promise.all([(0,j.getAllRect)(null,".tabs-com-index".concat(n.current," .van-tab")),(0,j.getRect)(null,".tabs-com-index".concat(n.current," .van-tabs__nav"))]).then((function(t){var n=(0,i.default)(t,2),r=n[0],o=n[1];if(r&&o){var s=r[e],a=r.slice(0,e).reduce((function(e,t){return e+t.width}),0);N((function(e){return _objectSpread(_objectSpread({},e),{},{scrollLeft:a-(o.width-s.width)/2})})),R||(0,l.nextTick)((function(){N((function(e){return _objectSpread(_objectSpread({},e),{},{scrollWithAnimation:!0})}))}))}})))},Pe=function touchStart(e){!function resetTouchStatus(){t.current.direction="",t.current.deltaX=0,t.current.deltaY=0,t.current.offsetX=0,t.current.offsetY=0}();var n=e.touches[0];t.current.startX=n.clientX,t.current.startY=n.clientY},Ne=function onTouchEnd(){if(A&&t.current.swiping){var e=t.current,n=e.direction,r=e.deltaX,o=e.offsetX;if("horizontal"===n&&o>=50){var i=function getAvaiableTab(e){for(var t=e>0?-1:1,n=t;D+n=0;n+=t){var r=D+n;if(r>=0&&rce||!Q})}))}),[ce,we,Q]),(0,u.useEffect)((function(){(0,l.nextTick)((function(){Oe()}))}),[we]);var Ie=(0,u.useCallback)((0,r.default)(c().mark((function _callee(){var e,t,r;return c().wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:if(e=0,!ue||!w){o.next=6;break}return o.next=4,(0,j.getAllRect)(null,"."+m.bem("renderNavLeft"+n.current));case 4:(t=o.sent).length&&(e+=t[0].width);case 6:if(!de||!w){o.next=11;break}return o.next=9,(0,j.getAllRect)(null,"."+m.bem("renderNavRight"+n.current));case 9:(r=o.sent).length&&(e+=r[0].width);case 11:e&&O("calc(100% - ".concat(e,"px)"));case 12:case"end":return o.stop()}}),_callee)}))),[ue,w,de]);return(0,u.useEffect)((function(){setTimeout((function(){Ie()}))}),[Ie,w]),(0,x.jsxs)(f.View,_objectSpread(_objectSpread({className:"tabs-com-index".concat(n.current," ")+" "+m.bem("tabs",[K]+" ".concat(he||"")),style:je},xe),{},{children:[(0,x.jsx)(b.Sticky,{disabled:!H,zIndex:U,offsetTop:F,container:q,onScroll:fe,children:(0,x.jsxs)(f.View,{className:m.bem("tabs__wrap",{scrollable:z})+" "+("line"===K&&J?"van-hairline--top-bottom":""),children:[(0,x.jsx)(f.View,{className:m.bem("renderNavLeft"+n.current),children:ue}),(0,x.jsx)(f.ScrollView,{scrollX:z,scrollWithAnimation:R,scrollLeft:I,className:m.bem("tabs__scroll",[K]),style:{width:S,borderColor:G},children:(0,x.jsxs)(f.View,{className:m.bem("tabs__nav",[K,{complete:!Q}])+" nav-class",style:v.navStyle(G,K),children:["line"===K&&(0,x.jsx)(f.View,{className:"van-tabs__line",style:v.lineStyle({color:G,lineOffsetLeft:V,lineHeight:ee,skipTransition:E,duration:ne,lineWidth:oe})}),ye.map((function(e,t){return(0,x.jsx)(f.View,{"data-index":t,className:v.tabClass(t===D,Q)+" "+m.bem("tab",{active:t===D,disabled:e.disabled,complete:!Q}),style:v.tabStyle({active:t===D,ellipsis:Q,color:G,type:K,disabled:e.disabled,titleActiveColor:ie,titleInactiveColor:se,swipeThreshold:ce,scrollable:z}),onClick:Te,children:(0,x.jsxs)(f.View,{className:Q?"van-ellipsis":"",style:e.titleStyle,children:[e.title,(null!==e.info||e.dot)&&(0,x.jsx)(h.Info,{info:e.info,dot:e.dot,className:"van-tab__title__info"})]})},t)}))]})}),(0,x.jsx)(f.View,{className:m.bem("renderNavRight"+n.current),children:de})]})}),(0,x.jsx)(f.View,{className:"van-tabs__content",onTouchStart:function onTouchStart(e){A&&(t.current.swiping=!0,Pe(e))},onTouchMove:function onTouchMove(e){A&&t.current.swiping&&function touchMove(e){var n=e.touches[0];t.current.deltaX=n.clientX-t.current.startX,t.current.deltaY=n.clientY-t.current.startY,t.current.offsetX=Math.abs(t.current.deltaX),t.current.offsetY=Math.abs(t.current.deltaY),t.current.direction=t.current.direction||function getDirection(e,t){return e>t&&e>10?"horizontal":t>e&&t>10?"vertical":""}(t.current.offsetX,t.current.offsetY)}(e)},onTouchEnd:Ne,onTouchCancel:Ne,children:(0,x.jsx)(f.View,{className:m.bem("tabs__track",[{animated:le}])+" van-tabs__track",style:v.trackStyle({duration:ne,currentIndex:D,animated:le}),children:we})})]}))}},"./node_modules/@antmjs/vantui/es/tabs/wxs.js":function(e,t,n){n.d(t,{tabClass:function(){return tabClass},tabStyle:function(){return tabStyle},trackStyle:function(){return trackStyle},lineStyle:function(){return lineStyle},navStyle:function(){return navStyle}});var r=n("./node_modules/@antmjs/vantui/es/wxs/style.js"),o=n("./node_modules/@antmjs/vantui/es/wxs/utils.js");function tabClass(e,t){var n=["tab-class"];return e&&n.push("tab-active-class"),t&&n.push("van-ellipsis"),n.join(" ")}function tabStyle(e){var t=e.active?e.titleActiveColor:e.titleInactiveColor,n=e.scrollable&&e.ellipsis;return"card"===e.type?(0,r.style)({"border-color":e.color,"background-color":!e.disabled&&e.active?e.color:null,color:t||(e.disabled||e.active?null:e.color),"flex-basis":n?88/e.swipeThreshold+"%":null}):(0,r.style)({color:t,"flex-basis":n?88/e.swipeThreshold+"%":null})}function navStyle(e,t){return(0,r.style)({"border-color":"card"===t&&e?e:null})}function trackStyle(e){return e.animated?(0,r.style)({transform:"translate3d(".concat(-100*e.currentIndex,"%, 0px, 0px)"),"-webkit-transform":"translate3d(".concat(-100*e.currentIndex,"%, 0px, 0px)"),"transition-duration":e.duration+"s","-webkit-transition-duration":e.duration+"s",transition:e.duration+"s"}):""}function lineStyle(e){return(0,r.style)({visibility:0===e.lineOffsetLeft?"hidden":"visible",width:o.addUnit(e.lineWidth),transform:"translateX("+e.lineOffsetLeft+"px)","-webkit-transform":"translateX("+e.lineOffsetLeft+"px)","background-color":e.color,height:-1!==e.lineHeight?o.addUnit(e.lineHeight):null,"border-radius":-1!==e.lineHeight?o.addUnit(e.lineHeight):null,"transition-duration":e.skipTransition?null:e.duration+"s","-webkit-transition-duration":e.skipTransition?null:e.duration+"s"})}},"./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./src/pages/my/index.tsx":function(e,t,n){var r=n("./node_modules/@antmjs/vantui/es/cell/index.js"),o=n("./node_modules/@antmjs/vantui/es/tabs/index.js"),i=n("./node_modules/@antmjs/vantui/es/tab/index.js"),s=n("./node_modules/@antmjs/vantui/es/image/index.js"),a=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),c=n("webpack/container/remote/react"),l=n("./src/pages/components/TabbarCom/index.tsx"),u=n("webpack/container/remote/@tarojs/taro"),d=n.n(u),f=n("./src/pages/components/ActiveCard/index.tsx"),m=n("webpack/container/remote/react/jsx-runtime");t.default=function my(e){(0,c.useEffect)((function(){}),[]);var t=function CardCom(){return(0,m.jsx)(f.default,{})};return(0,m.jsxs)(a.View,{className:"myContentDiv",children:[(0,m.jsx)(a.View,{className:"myContent",children:(0,m.jsx)(s.default,{round:!0,width:"100px",height:"100px",src:"cloud://cloud1-5g5xrgza12a0dd6d.636c-cloud1-5g5xrgza12a0dd6d-1253665791/images/images-2.jpg"})}),(0,m.jsx)(a.View,{children:(0,m.jsxs)(o.default,{sticky:!0,children:[(0,m.jsx)(i.default,{title:"待审核",children:t()}),(0,m.jsx)(i.default,{title:"已报名",children:t()}),(0,m.jsx)(i.default,{title:"待参加",children:t()}),(0,m.jsx)(i.default,{title:"已结束",children:t()})]})}),(0,m.jsxs)(a.View,{children:[(0,m.jsx)(r.default,{title:"个人资料",isLink:!0}),(0,m.jsx)(r.default,{title:"微信客服",isLink:!0,value:"",onClick:function onClick(){d().openCustomerServiceChat({corpId:"wwb04af9a97514271c",extInfo:{url:"https://work.weixin.qq.com/kfid/kfc70f3f112c97a54c5"},success:function success(e){}})}})]}),(0,m.jsx)(l.default,{active:2})]})}},"./src/pages/my/index.tsx":function(e,t,n){var r=n("webpack/container/remote/@tarojs/runtime"),o=n("./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./src/pages/my/index.tsx");Page((0,r.createPageConfig)(o.default,"pages/my/index",{root:{cn:[]}},{navigationBarTitleText:"我的"}||{}))}},function(e){e.O(0,["taro","vendors","common"],(function(){return t="./src/pages/my/index.tsx",e(e.s=t);var t}));e.O()}]); \ No newline at end of file +"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["pages/my/index"],{"./node_modules/@antmjs/vantui/es/mixins/page-scroll.js":function(e,t,n){n.d(t,{usePageScroll:function(){return usePageScroll}});var r=n("webpack/container/remote/react"),i=n("webpack/container/remote/@tarojs/taro");n("webpack/container/remote/@tarojs/runtime"),n("webpack/container/remote/@tarojs/runtime").document;function usePageScroll(e){(0,r.useEffect)((function(){return void 0}),[e]),(0,i.usePageScroll)((function(t){e(t)}))}},"./node_modules/@antmjs/vantui/es/sticky/index.js":function(e,t,n){n.d(t,{Sticky:function(){return Sticky}});var r=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),i=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=n("webpack/container/remote/react"),a=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),c=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),l=n("./node_modules/@antmjs/vantui/es/common/utils.js"),u=n("./node_modules/@antmjs/vantui/es/common/validator.js"),d=n("./node_modules/@antmjs/vantui/es/mixins/page-scroll.js"),f=n("./node_modules/@antmjs/vantui/es/sticky/wxs.js"),m=n("webpack/container/remote/react/jsx-runtime"),p=["zIndex","offsetTop","scrollTop","disabled","container","onScroll","style","className","children"];function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[];return t(e[0])}))}))}),[g]),N=(0,s.useCallback)((function(e){var t=Object.keys(e).reduce((function(t,n){return e[n]!==b[n]&&(t[n]=e[n]),t}),{});Object.keys(t).length>0&&j((function(e){return _objectSpread(_objectSpread({},e),t)})),null==_||_({detail:{scrollTop:C.current.scrollTop,isFixed:e.fixed||b.fixed}})}),[_,b]),I=(0,s.useCallback)((function(e){w?N({fixed:!1,transform:0}):(C.current.scrollTop=e||C.current.scrollTop,"function"!=typeof g?(0,l.getRect)(null,"#sticky-com-index".concat(t.current)).then((function(e){(0,u.isDef)(e)&&(x>=e.top?N({fixed:!0,height:e.height}):N({fixed:!1}))})):Promise.all([(0,l.getRect)(null,"#sticky-com-index".concat(t.current)),P()]).then((function(e){var t=(0,o.default)(e,2),n=t[0],r=t[1];n&&r&&(x+n.height>r.height+r.top?N({fixed:!1,transform:r.height-n.height}):x>=n.top?N({fixed:!0,height:n.height,transform:0}):N({fixed:!1,transform:0}))})).catch((function(e){console.log(e)})))}),[g,w,P,x,N]);return(0,s.useEffect)((function(){I(y)}),[y,g,w,x]),(0,d.usePageScroll)((function(e){I(e.scrollTop)})),(0,m.jsx)(a.View,_objectSpread(_objectSpread({id:"sticky-com-index".concat(t.current),className:" van-sticky "+(S||""),style:c.style([f.containerStyle({fixed:b.fixed,height:b.height,zIndex:h}),k])},T),{},{children:(0,m.jsx)(a.View,{className:c.bem("sticky-wrap",{fixed:b.fixed})+" ".concat(S||""),style:c.style([f.wrapStyle({fixed:b.fixed,offsetTop:x,transform:b.transform,zIndex:h}),k]),children:O})}))}},"./node_modules/@antmjs/vantui/es/sticky/wxs.js":function(e,t,n){n.d(t,{wrapStyle:function(){return wrapStyle},containerStyle:function(){return containerStyle}});var r=n("./node_modules/@antmjs/vantui/es/wxs/style.js");function wrapStyle(e){return(0,r.style)({transform:e.transform?"translate3d(0, "+e.transform+"px, 0)":"",top:e.fixed?e.offsetTop+"px":"","z-index":e.zIndex})}function containerStyle(e){return(0,r.style)({height:e.fixed?e.height+"px":"","z-index":e.zIndex})}},"./node_modules/@antmjs/vantui/es/tab/index.js":function(e,t,n){var r=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),i=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=n("webpack/container/remote/react"),a=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),c=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),l=n("webpack/container/remote/react/jsx-runtime"),u=["children","style","className","active","lazyRender","lazyTimeout","animated","title"];function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t=we.length||e<0)&&e!==D){var t=null!==D;N((function(t){return _objectSpread(_objectSpread({},t),{},{currentIndex:e})})),(0,j.requestAnimationFrame)((function(){Oe(e),Ce(e)})),(0,l.nextTick)((function(){t&&ge("onChange",we[e])}))}},Se=function setCurrentIndexByName(e){var t=we.filter((function(t){return(t.props.name||t.props.index)===e}));t.length&&ke(t[0].props.index)},Oe=function resize(e){var r;"line"===K&&(e=null!==(r=e)&&void 0!==r?r:D,(0,l.nextTick)((function(){Promise.all([(0,j.getAllRect)(null,".tabs-com-index".concat(n.current," .van-tab")),(0,j.getRect)(null,".tabs-com-index".concat(n.current," .van-tabs__line"))]).then((function(n){var r=(0,o.default)(n,2),i=r[0],s=void 0===i?[]:i,a=r[1];if(s&&a){var c=s[e];if(null==c)return;var u=s.slice(0,e).reduce((function(e,t){return e+t.width}),0);u+=(c.width-a.width)/2+(Q?0:8),N((function(e){return _objectSpread(_objectSpread({},e),{},{lineOffsetLeft:u})})),t.current.swiping=!0,E&&(0,l.nextTick)((function(){N((function(e){return _objectSpread(_objectSpread({},e),{},{skipTransition:!1})}))}))}}))})))},Te=function onTap(e){var t=e.currentTarget.dataset.index;t=parseInt(t);var n=we[t];n.props.disabled?ge("onDisabled",n):(ke(t),(0,l.nextTick)((function(){ge("onClick",n)})))},Ce=function scrollIntoView(e){var t;z&&(e=null!==(t=e)&&void 0!==t?t:D,Promise.all([(0,j.getAllRect)(null,".tabs-com-index".concat(n.current," .van-tab")),(0,j.getRect)(null,".tabs-com-index".concat(n.current," .van-tabs__nav"))]).then((function(t){var n=(0,o.default)(t,2),r=n[0],i=n[1];if(r&&i){var s=r[e],a=r.slice(0,e).reduce((function(e,t){return e+t.width}),0);N((function(e){return _objectSpread(_objectSpread({},e),{},{scrollLeft:a-(i.width-s.width)/2})})),R||(0,l.nextTick)((function(){N((function(e){return _objectSpread(_objectSpread({},e),{},{scrollWithAnimation:!0})}))}))}})))},Pe=function touchStart(e){!function resetTouchStatus(){t.current.direction="",t.current.deltaX=0,t.current.deltaY=0,t.current.offsetX=0,t.current.offsetY=0}();var n=e.touches[0];t.current.startX=n.clientX,t.current.startY=n.clientY},Ne=function onTouchEnd(){if(L&&t.current.swiping){var e=t.current,n=e.direction,r=e.deltaX,i=e.offsetX;if("horizontal"===n&&i>=50){var o=function getAvaiableTab(e){for(var t=e>0?-1:1,n=t;D+n=0;n+=t){var r=D+n;if(r>=0&&rce||!Q})}))}),[ce,we,Q]),(0,u.useEffect)((function(){(0,l.nextTick)((function(){Oe()}))}),[we]);var Ie=(0,u.useCallback)((0,r.default)(c().mark((function _callee(){var e,t,r;return c().wrap((function _callee$(i){for(;;)switch(i.prev=i.next){case 0:if(e=0,!ue||!w){i.next=6;break}return i.next=4,(0,j.getAllRect)(null,"."+m.bem("renderNavLeft"+n.current));case 4:(t=i.sent).length&&(e+=t[0].width);case 6:if(!de||!w){i.next=11;break}return i.next=9,(0,j.getAllRect)(null,"."+m.bem("renderNavRight"+n.current));case 9:(r=i.sent).length&&(e+=r[0].width);case 11:e&&O("calc(100% - ".concat(e,"px)"));case 12:case"end":return i.stop()}}),_callee)}))),[ue,w,de]);return(0,u.useEffect)((function(){setTimeout((function(){Ie()}))}),[Ie,w]),(0,x.jsxs)(f.View,_objectSpread(_objectSpread({className:"tabs-com-index".concat(n.current," ")+" "+m.bem("tabs",[K]+" ".concat(he||"")),style:je},xe),{},{children:[(0,x.jsx)(b.Sticky,{disabled:!H,zIndex:U,offsetTop:F,container:q,onScroll:fe,children:(0,x.jsxs)(f.View,{className:m.bem("tabs__wrap",{scrollable:z})+" "+("line"===K&&J?"van-hairline--top-bottom":""),children:[(0,x.jsx)(f.View,{className:m.bem("renderNavLeft"+n.current),children:ue}),(0,x.jsx)(f.ScrollView,{scrollX:z,scrollWithAnimation:R,scrollLeft:I,className:m.bem("tabs__scroll",[K]),style:{width:S,borderColor:G},children:(0,x.jsxs)(f.View,{className:m.bem("tabs__nav",[K,{complete:!Q}])+" nav-class",style:v.navStyle(G,K),children:["line"===K&&(0,x.jsx)(f.View,{className:"van-tabs__line",style:v.lineStyle({color:G,lineOffsetLeft:A,lineHeight:ee,skipTransition:E,duration:ne,lineWidth:ie})}),ye.map((function(e,t){return(0,x.jsx)(f.View,{"data-index":t,className:v.tabClass(t===D,Q)+" "+m.bem("tab",{active:t===D,disabled:e.disabled,complete:!Q}),style:v.tabStyle({active:t===D,ellipsis:Q,color:G,type:K,disabled:e.disabled,titleActiveColor:oe,titleInactiveColor:se,swipeThreshold:ce,scrollable:z}),onClick:Te,children:(0,x.jsxs)(f.View,{className:Q?"van-ellipsis":"",style:e.titleStyle,children:[e.title,(null!==e.info||e.dot)&&(0,x.jsx)(h.Info,{info:e.info,dot:e.dot,className:"van-tab__title__info"})]})},t)}))]})}),(0,x.jsx)(f.View,{className:m.bem("renderNavRight"+n.current),children:de})]})}),(0,x.jsx)(f.View,{className:"van-tabs__content",onTouchStart:function onTouchStart(e){L&&(t.current.swiping=!0,Pe(e))},onTouchMove:function onTouchMove(e){L&&t.current.swiping&&function touchMove(e){var n=e.touches[0];t.current.deltaX=n.clientX-t.current.startX,t.current.deltaY=n.clientY-t.current.startY,t.current.offsetX=Math.abs(t.current.deltaX),t.current.offsetY=Math.abs(t.current.deltaY),t.current.direction=t.current.direction||function getDirection(e,t){return e>t&&e>10?"horizontal":t>e&&t>10?"vertical":""}(t.current.offsetX,t.current.offsetY)}(e)},onTouchEnd:Ne,onTouchCancel:Ne,children:(0,x.jsx)(f.View,{className:m.bem("tabs__track",[{animated:le}])+" van-tabs__track",style:v.trackStyle({duration:ne,currentIndex:D,animated:le}),children:we})})]}))}},"./node_modules/@antmjs/vantui/es/tabs/wxs.js":function(e,t,n){n.d(t,{tabClass:function(){return tabClass},tabStyle:function(){return tabStyle},trackStyle:function(){return trackStyle},lineStyle:function(){return lineStyle},navStyle:function(){return navStyle}});var r=n("./node_modules/@antmjs/vantui/es/wxs/style.js"),i=n("./node_modules/@antmjs/vantui/es/wxs/utils.js");function tabClass(e,t){var n=["tab-class"];return e&&n.push("tab-active-class"),t&&n.push("van-ellipsis"),n.join(" ")}function tabStyle(e){var t=e.active?e.titleActiveColor:e.titleInactiveColor,n=e.scrollable&&e.ellipsis;return"card"===e.type?(0,r.style)({"border-color":e.color,"background-color":!e.disabled&&e.active?e.color:null,color:t||(e.disabled||e.active?null:e.color),"flex-basis":n?88/e.swipeThreshold+"%":null}):(0,r.style)({color:t,"flex-basis":n?88/e.swipeThreshold+"%":null})}function navStyle(e,t){return(0,r.style)({"border-color":"card"===t&&e?e:null})}function trackStyle(e){return e.animated?(0,r.style)({transform:"translate3d(".concat(-100*e.currentIndex,"%, 0px, 0px)"),"-webkit-transform":"translate3d(".concat(-100*e.currentIndex,"%, 0px, 0px)"),"transition-duration":e.duration+"s","-webkit-transition-duration":e.duration+"s",transition:e.duration+"s"}):""}function lineStyle(e){return(0,r.style)({visibility:0===e.lineOffsetLeft?"hidden":"visible",width:i.addUnit(e.lineWidth),transform:"translateX("+e.lineOffsetLeft+"px)","-webkit-transform":"translateX("+e.lineOffsetLeft+"px)","background-color":e.color,height:-1!==e.lineHeight?i.addUnit(e.lineHeight):null,"border-radius":-1!==e.lineHeight?i.addUnit(e.lineHeight):null,"transition-duration":e.skipTransition?null:e.duration+"s","-webkit-transition-duration":e.skipTransition?null:e.duration+"s"})}},"./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./src/pages/my/index.tsx":function(e,t,n){var r=n("./node_modules/@antmjs/vantui/es/cell/index.js"),i=n("./node_modules/@antmjs/vantui/es/tabs/index.js"),o=n("./node_modules/@antmjs/vantui/es/tab/index.js"),s=n("./node_modules/@antmjs/vantui/es/image/index.js"),a=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),c=n("webpack/container/remote/react"),l=n("./src/pages/components/TabbarCom/index.tsx"),u=n("webpack/container/remote/@tarojs/taro"),d=n.n(u),f=n("./src/pages/components/ActiveCard/index.tsx"),m=n("webpack/container/remote/react/jsx-runtime");t.default=function my(e){(0,c.useEffect)((function(){}),[]);var t=function CardCom(){return(0,m.jsx)(f.default,{})};return(0,m.jsxs)(a.View,{className:"myContentDiv",children:[(0,m.jsx)(a.View,{className:"myContent",children:(0,m.jsx)(s.default,{round:!0,width:"100px",height:"100px",src:"cloud://cloud1-5g5xrgza12a0dd6d.636c-cloud1-5g5xrgza12a0dd6d-1253665791/images/images-2.jpg"})}),(0,m.jsx)(a.View,{children:(0,m.jsxs)(i.default,{sticky:!0,children:[(0,m.jsx)(o.default,{title:"待审核",children:t()}),(0,m.jsx)(o.default,{title:"已报名",children:t()}),(0,m.jsx)(o.default,{title:"待参加",children:t()}),(0,m.jsx)(o.default,{title:"已结束",children:t()})]})}),(0,m.jsxs)(a.View,{className:"cellArr",children:[(0,m.jsx)(r.default,{icon:"manager",title:"个人资料",isLink:!0}),(0,m.jsx)(r.default,{title:"微信客服",icon:"wechat",isLink:!0,value:"",onClick:function onClick(){d().openCustomerServiceChat({corpId:"wwb04af9a97514271c",extInfo:{url:"https://work.weixin.qq.com/kfid/kfc70f3f112c97a54c5"},success:function success(e){}})}}),(0,m.jsx)(r.default,{icon:"friends",title:"关于我们",isLink:!0}),(0,m.jsx)(r.default,{icon:"setting",title:"版本日志",isLink:!0})]}),(0,m.jsx)(l.default,{active:2})]})}},"./src/pages/my/index.tsx":function(e,t,n){var r=n("webpack/container/remote/@tarojs/runtime"),i=n("./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./src/pages/my/index.tsx");Page((0,r.createPageConfig)(i.default,"pages/my/index",{root:{cn:[]}},{navigationBarTitleText:"我的"}||{}))}},function(e){e.O(0,["taro","vendors","common"],(function(){return t="./src/pages/my/index.tsx",e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/dist/pages/my/index.wxss b/dist/pages/my/index.wxss index 5a5dd13..ade5e18 100644 --- a/dist/pages/my/index.wxss +++ b/dist/pages/my/index.wxss @@ -31,3 +31,7 @@ -ms-flex-pack: center; justify-content: center; } + +.cellArr { + margin-top: 20rpx; +} diff --git a/src/pages/activityList/components/details/index.scss b/src/pages/activityList/components/details/index.scss index 2050cc7..b51baa3 100644 --- a/src/pages/activityList/components/details/index.scss +++ b/src/pages/activityList/components/details/index.scss @@ -20,3 +20,12 @@ // background-color: yellow; } } + + +.imagesArr{ + display: flex; + flex-direction: row; + padding: 10px; + align-items: center; + // justify-content: space-between; +} \ No newline at end of file diff --git a/src/pages/activityList/components/details/index.tsx b/src/pages/activityList/components/details/index.tsx index dee9198..e06b9f6 100644 --- a/src/pages/activityList/components/details/index.tsx +++ b/src/pages/activityList/components/details/index.tsx @@ -43,7 +43,7 @@ const details = () => { {`活动标题活动标题活动标题活动标题活动标题活动标题活动标题`} @@ -55,7 +55,7 @@ const details = () => { linkType="navigateTo" url="/pages/dashboard/index" /> - { {/* 头像列表 */} - {[1, 2, 3, 4].map((item: any) => { - return ( - - ); - })} + + {[1, 2, 3, 4].map((item: any) => { + return ( + + ); + })} + + + {/* 富文本 */} {}} className="RichText"> diff --git a/src/pages/home/index.tsx b/src/pages/home/index.tsx index 3555057..d19c6df 100644 --- a/src/pages/home/index.tsx +++ b/src/pages/home/index.tsx @@ -157,7 +157,8 @@ const Home = () => { */} - {[1, 2,3,4].map((item: any) => { + {/* 截取数组2个活动 */} + {[1, 2, 3, 4].splice(0, 2).map((item: any) => { return ( { diff --git a/src/pages/my/index.module.scss b/src/pages/my/index.module.scss index b197d05..7851d9c 100644 --- a/src/pages/my/index.module.scss +++ b/src/pages/my/index.module.scss @@ -8,4 +8,8 @@ flex-direction: row; align-items: center; justify-content: center; +} + +.cellArr{ + margin-top: 20px; } \ No newline at end of file diff --git a/src/pages/my/index.tsx b/src/pages/my/index.tsx index 59dbc58..edb9e85 100644 --- a/src/pages/my/index.tsx +++ b/src/pages/my/index.tsx @@ -55,11 +55,12 @@ const my = (props: any) => { - - + + {/* */} { @@ -72,7 +73,8 @@ const my = (props: any) => { }); }} /> - {/* */} + +