diff --git a/dist/common.js b/dist/common.js index 19c1b4b..9285a99 100644 --- a/dist/common.js +++ b/dist/common.js @@ -1,2 +1,2 @@ /*! For license information please see common.js.LICENSE.txt */ -"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["common"],{"./src/pages/components/ActiveCard/index.tsx":function(e,n,a){var t=a("./node_modules/@antmjs/vantui/es/button/index.js"),s=a("./node_modules/@antmjs/vantui/es/tag/index.js"),i=a("./node_modules/@antmjs/vantui/es/image/index.js"),o=a("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),l=a("webpack/container/remote/react/jsx-runtime");n.default=function ActiveCard(){return(0,l.jsxs)(o.View,{className:"activeCard",children:[(0,l.jsx)(o.View,{className:"left",children:(0,l.jsx)(i.default,{width:"100%",height:"100px",fit:"cover",src:"cloud://cloud1-5g5xrgza12a0dd6d.636c-cloud1-5g5xrgza12a0dd6d-1253665791/images/v4-460px-Climb-a-Mountain-Step-9.jpg"})}),(0,l.jsxs)(o.View,{className:"middle",children:[(0,l.jsxs)(o.View,{className:"title",children:[(0,l.jsx)(s.default,{round:!0,type:"warning",style:{marginRight:"5px"},children:"标签"}),(0,l.jsx)(o.Text,{children:"这是标题这是标题这是标题这是标题这是标题"})]}),(0,l.jsxs)(o.View,{className:"down",children:[(0,l.jsxs)(o.View,{className:"date",children:[(0,l.jsx)(o.View,{className:"21",children:"莲花山公园"}),(0,l.jsx)(o.View,{className:"11",children:"2022年11月17日"})]}),(0,l.jsxs)(o.View,{className:"btn",children:[" ",(0,l.jsx)(t.default,{plain:!0,hairline:!0,type:"primary",children:"立即报名"})]})]})]})]})}},"./src/pages/components/TabbarCom/index.tsx":function(e,n,a){var t=a("./node_modules/@antmjs/vantui/es/tabbar/index.js"),s=a("./node_modules/@antmjs/vantui/es/tabbar-item/index.js"),i=a("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),o=a("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),l=a("webpack/container/remote/@tarojs/taro"),d=a.n(l),r=a("webpack/container/remote/react"),c=a.n(r),u=a("webpack/container/remote/react/jsx-runtime");n.default=function TabbarCom(e){var n,a=c().useState(null!==(n=null==e?void 0:e.active)&&void 0!==n?n:0),l=(0,i.default)(a,2),r=l[0],m=l[1];return(0,u.jsx)(o.View,{style:{marginTop:"40px"},children:(0,u.jsxs)(t.default,{active:r,onChange:function onChange(e){console.log("e",e),m(null==e?void 0:e.detail),0===(null==e?void 0:e.detail)&&d().redirectTo({url:"/pages/home/index"}),1===(null==e?void 0:e.detail)&&d().redirectTo({url:"/pages/activityList/index"}),2===(null==e?void 0:e.detail)&&d().redirectTo({url:"/pages/my/index"})},safeAreaInsetBottom:!0,children:[(0,u.jsx)(s.default,{icon:"home-o",children:"首页"}),(0,u.jsx)(s.default,{icon:"friends-o",children:"活动"}),(0,u.jsx)(s.default,{icon:"setting-o",children:"我的"})]})})}},"./src/utils/index.ts":function(e,n,a){a.d(n,{getTable:function(){return i}});var t=a("webpack/container/remote/@tarojs/taro"),s=a.n(t),i=function getTable(e){var n=e.env,a=e.tableName,t=e.okFun,i=s().cloud.database({env:n}),o=null==i?void 0:i.collection(a);null==o||o.get({success:function success(e){t(e)}})}}}]); \ No newline at end of file +"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["common"],{"./src/pages/components/ActiveCard/index.tsx":function(e,n,a){var t=a("./node_modules/@antmjs/vantui/es/button/index.js"),s=a("./node_modules/@antmjs/vantui/es/tag/index.js"),i=a("./node_modules/@antmjs/vantui/es/image/index.js"),o=a("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),l=a("webpack/container/remote/react/jsx-runtime");n.default=function ActiveCard(){return(0,l.jsxs)(o.View,{className:"activeCard",children:[(0,l.jsx)(o.View,{className:"left",children:(0,l.jsx)(i.default,{width:"100%",height:"100px",fit:"cover",src:"cloud://cloud1-5g5xrgza12a0dd6d.636c-cloud1-5g5xrgza12a0dd6d-1253665791/images/v4-460px-Climb-a-Mountain-Step-9.jpg"})}),(0,l.jsxs)(o.View,{className:"middle",children:[(0,l.jsxs)(o.View,{className:"title",children:[(0,l.jsx)(s.default,{round:!0,type:"warning",style:{marginRight:"5px"},children:"标签"}),(0,l.jsx)(o.Text,{children:"这是标题这是标题这是标题这是标题这是标题"})]}),(0,l.jsxs)(o.View,{className:"down",children:[(0,l.jsxs)(o.View,{className:"date",children:[(0,l.jsx)(o.View,{className:"21",children:"莲花山公园"}),(0,l.jsx)(o.View,{className:"11",children:"2022年11月17日"})]}),(0,l.jsx)(o.View,{className:"btn",children:(0,l.jsx)(t.default,{plain:!0,hairline:!0,type:"primary",children:"立即报名"})})]})]})]})}},"./src/pages/components/TabbarCom/index.tsx":function(e,n,a){var t=a("./node_modules/@antmjs/vantui/es/tabbar/index.js"),s=a("./node_modules/@antmjs/vantui/es/tabbar-item/index.js"),i=a("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),o=a("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),l=a("webpack/container/remote/@tarojs/taro"),d=a.n(l),r=a("webpack/container/remote/react"),c=a.n(r),u=a("webpack/container/remote/react/jsx-runtime");n.default=function TabbarCom(e){var n,a=c().useState(null!==(n=null==e?void 0:e.active)&&void 0!==n?n:0),l=(0,i.default)(a,2),r=l[0],m=l[1];return(0,u.jsx)(o.View,{style:{marginTop:"40px"},children:(0,u.jsxs)(t.default,{active:r,onChange:function onChange(e){console.log("e",e),m(null==e?void 0:e.detail),0===(null==e?void 0:e.detail)&&d().redirectTo({url:"/pages/home/index"}),1===(null==e?void 0:e.detail)&&d().redirectTo({url:"/pages/activityList/index"}),2===(null==e?void 0:e.detail)&&d().redirectTo({url:"/pages/my/index"})},safeAreaInsetBottom:!0,children:[(0,u.jsx)(s.default,{icon:"home-o",children:"首页"}),(0,u.jsx)(s.default,{icon:"friends-o",children:"活动"}),(0,u.jsx)(s.default,{icon:"setting-o",children:"我的"})]})})}},"./src/utils/index.ts":function(e,n,a){a.d(n,{getTable:function(){return i}});var t=a("webpack/container/remote/@tarojs/taro"),s=a.n(t),i=function getTable(e){var n=e.env,a=e.tableName,t=e.okFun,i=s().cloud.database({env:n}),o=null==i?void 0:i.collection(a);null==o||o.get({success:function success(e){t(e)}})}}}]); \ No newline at end of file diff --git a/dist/pages/activityList/components/details/index.js b/dist/pages/activityList/components/details/index.js index 94d7961..768e6f9 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/@babel/runtime/helpers/esm/slicedToArray.js"),o=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),a=n("webpack/container/remote/@tarojs/taro"),l=n.n(a),c=n("webpack/container/remote/react"),d=n("./src/utils/index.ts"),r=n("webpack/container/remote/react/jsx-runtime");t.default=function details(){var e,t,n=(0,c.useState)([]),a=(0,i.default)(n,2),u=a[0],m=a[1],p=(0,c.useState)(0),x=(0,i.default)(p,2),f=x[0],v=x[1];return(0,c.useEffect)((function(){}),[]),(0,c.useEffect)((function(){var e,t=l().getSystemInfoSync(),n=t.screenHeight,s=t.safeArea,i=void 0===s?{}:s,o=null!==(e=n-(null==i?void 0:i.bottom))&&void 0!==e?e:0;v(o);var a={tableName:"cityNew",id:"80516fb66370bcf300b8f43c5f4dd52b",okFun:function okFun(e){var t;console.log("res",e),m(null!==(t=null==e?void 0:e.data)&&void 0!==t?t:[])}};(0,d.getTable)(a)}),[]),(0,r.jsxs)(o.View,{className:"detailContent",children:[(0,r.jsxs)(o.View,{onClick:function onClick(){},children:[(0,r.jsx)(o.View,{children:null==u||null===(e=u[0])||void 0===e?void 0:e.actTitle}),(0,r.jsx)(o.RichText,{nodes:null==u||null===(t=u[0])||void 0===t?void 0:t.richText})]}),(0,r.jsx)(o.View,{className:"detailBtn",style:{bottom:"".concat(null!=f?f:0,"px")},children:(0,r.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/image/index.js"),a=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),o=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),c=n("webpack/container/remote/@tarojs/taro"),d=n.n(c),l=n("webpack/container/remote/react"),r=n("./src/utils/index.ts"),u=n("webpack/container/remote/react/jsx-runtime");t.default=function details(){var e,t=(0,l.useState)([]),n=(0,a.default)(t,2),c=n[0],m=n[1],p=(0,l.useState)(0),x=(0,a.default)(p,2),f=x[0],j=x[1];return(0,l.useEffect)((function(){}),[]),(0,l.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;j(a);var o={tableName:"cityNew",id:"80516fb66370bcf300b8f43c5f4dd52b",okFun:function okFun(e){var t;console.log("res",e),m(null!==(t=null==e?void 0:e.data)&&void 0!==t?t:[])}};(0,r.getTable)(o)}),[]),(0,u.jsxs)(o.View,{className:"detailContent",children:[(0,u.jsxs)(o.View,{children:[(0,u.jsx)(o.View,{children:"活动标题活动标题活动标题活动标题活动标题活动标题活动标题"}),(0,u.jsx)(i.default,{width:"100%",height:"120px",fit:"cover",src:"https://img.yzcdn.cn/vant/cat.jpeg"}),[1,2,3,4].map((function(e){return(0,u.jsx)(i.default,{round:!0,width:"30px",height:"30px",src:"https://img.yzcdn.cn/vant/cat.jpeg"})}))]}),(0,u.jsx)(o.View,{onClick:function onClick(){},className:"RichText",children:(0,u.jsx)(o.RichText,{nodes:null==c||null===(e=c[0])||void 0===e?void 0:e.richText})}),(0,u.jsx)(o.View,{className:"detailBtn",style:{bottom:"".concat(null!=f?f:0,"px")},children:(0,u.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.js.LICENSE.txt b/dist/pages/activityList/components/details/index.js.LICENSE.txt index 354b24e..58ada1d 100644 --- a/dist/pages/activityList/components/details/index.js.LICENSE.txt +++ b/dist/pages/activityList/components/details/index.js.LICENSE.txt @@ -6,6 +6,8 @@ /*! @antmjs/vantui/es/button */ +/*! @antmjs/vantui/es/image */ + /*! @tarojs/components */ /*! @tarojs/runtime */ diff --git a/dist/pages/activityList/components/details/index.wxss b/dist/pages/activityList/components/details/index.wxss index 95be155..364f6ec 100644 --- a/dist/pages/activityList/components/details/index.wxss +++ b/dist/pages/activityList/components/details/index.wxss @@ -1,6 +1,14 @@ /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/cache-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[3]!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[5]!./src/pages/activityList/components/details/index.scss ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.detailContent { + padding: 20rpx; + background-color: #fafafa; +} +.detailContent .RichText { + margin-top: 20rpx; + background-color: #fafafa; +} .detailContent .detailBtn { display: -webkit-flex; display: -ms-flexbox; @@ -14,6 +22,6 @@ -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - width: 100%; + width: 95%; position: fixed; } diff --git a/dist/pages/activityList/index.js b/dist/pages/activityList/index.js index b3da835..4a326da 100644 --- a/dist/pages/activityList/index.js +++ b/dist/pages/activityList/index.js @@ -1,2 +1,2 @@ /*! For license information please see index.js.LICENSE.txt */ -"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["pages/activityList/index"],{"./node_modules/@antmjs/vantui/es/dropdown-item/index.js":function(e,n,t){var o=t("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=t("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),a=t("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),i=t("webpack/container/remote/react"),r=t("webpack/container/remote/@tarojs/taro"),l=t("./node_modules/@antmjs/vantui/es/wxs/utils.js"),u=t("./node_modules/@antmjs/vantui/es/icon/index.js"),c=t("./node_modules/@antmjs/vantui/es/cell/index.js"),d=t("./node_modules/@antmjs/vantui/es/popup/index.js"),p=t("webpack/container/remote/react/jsx-runtime"),m=["title","titleClass","value","popupStyle","disabled","setChildrenInstance","parentInstance","index","onOpen","onOpened","onClose","onClosed","onChange","options","className","style"];function Index(e,n){var t=e.title,f=e.titleClass,v=e.value,j=e.popupStyle,x=e.disabled,b=void 0!==x&&x,w=e.setChildrenInstance,y=e.parentInstance,h=e.index,C=e.onOpen,_=e.onOpened,g=e.onClose,k=e.onClosed,O=e.onChange,T=void 0===O?function(){}:O,S=e.options,I=void 0===S?[]:S,E=e.className,L=void 0===E?"":E,P=e.style,A=(0,s.default)(e,m),N=(0,i.useState)({}),D=(0,o.default)(N,2),V=D[0],z=D[1],B=(0,i.useState)(!0),K=(0,o.default)(B,2),W=K[0],M=K[1],R=(0,i.useState)(!1),F=(0,o.default)(R,2),Y=F[0],J=F[1],H=(0,i.useState)(!0),X=(0,o.default)(H,2),Z=X[0],q=X[1],G=(0,i.useState)(""),Q=(0,o.default)(G,2),U=Q[0],$=Q[1],ee=(0,i.useState)(""),ne=(0,o.default)(ee,2),te=ne[0],oe=ne[1];(0,i.useEffect)((function(){oe(v)}),[v]);var se=(0,i.useCallback)((function(){(0,r.nextTick)((function(){y&&y.updateItemListData()}))}),[y]),ae=(0,i.useCallback)((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"boolean"!=typeof e&&(e=!Y),e!==Y&&(M(!n.immediate),J(e),e?y&&y.getChildWrapperStyle().then((function(e){var n=e.rect;delete e.rect,e&&(e.width="100vw",e.position="absolute"),"down"===y.direction&&(e.top=n.height+"PX",e.height="100vh",z(e),q(!0),se()),"up"===y.direction&&(e.height="100vh",e.top=0,e.transform="translateY(-100%)",e.WebkitTransform="translateY(-100%)",e.MozTransform="translateY(-100%)",e.OTransform="translateY(-100%)",z(e),q(!0),se())})):se())}),[Y,y,se]);(0,i.useEffect)((function(){w(h,{title:t,titleClass:f,disabled:b,transition:W,showPopup:Y,index:h,setDisplayTitle:$,displayTitle:U,options:I,value:te,toggle:ae})}),[t,f,h,w,b,W,Y,$,U,I,te,ae]);var ie=(0,i.useCallback)((function(){k&&k(),setTimeout((function(){q(!1)}),10)}),[k]);return(0,i.useImperativeHandle)(n,(function(){return{toggle:ae}})),Z?(0,p.jsx)(a.View,{className:l.bem("dropdown-item",y.direction)+" "+L,style:l.style([V,P]),children:(0,p.jsx)(d.default,{show:Y,style:l.style([{position:"absolute"},j]),overlayStyle:"position: absolute;",overlay:!!y.overlay,position:"down"===y.direction?"top":"bottom",duration:W?y.duration:0,closeOnClickOverlay:y.closeOnClickOverlay,onEnter:C,onLeave:g,onClose:ae,onAfterEnter:_,onAfterLeave:ie,children:(0,p.jsxs)(a.View,{children:[(I||[]).map((function(e,n){return(0,p.jsx)(c.default,{"data-option":e,className:l.bem("dropdown-item__option",{active:e.value===te}),clickable:!0,icon:e.icon,onClick:function onClick(n){return function onOptionTap(e,n){var t=te!==n.value;J(!1),oe(n.value),g&&g(),se(),t&&T(n.value)}(0,e)},renderTitle:(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(a.View,{className:"van-dropdown-item__title",style:e.value===te?"color:"+y.activeColor:"",children:e.text})}),children:e.value===te&&(0,p.jsx)(u.default,{name:"success",className:"van-dropdown-item__icon",color:y.activeColor})},"".concat(n,"VanCell"))})),A.children]})})}):(0,p.jsx)(p.Fragment,{})}var f=(0,i.memo)((0,i.forwardRef)(Index));n.default=f},"./node_modules/@antmjs/vantui/es/dropdown-menu/index.js":function(e,n,t){var o=t("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=t("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),a=t("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),i=t("webpack/container/remote/react"),r=t("./node_modules/@antmjs/vantui/es/common/utils.js"),l=t("./node_modules/@antmjs/vantui/es/wxs/utils.js"),u=t("./node_modules/@antmjs/vantui/es/dropdown-menu/wxs.js"),c=t("webpack/container/remote/react/jsx-runtime"),d=["activeColor","overlay","zIndex","duration","direction","closeOnClickOverlay","closeOnClickOutside","className","style"],p=[];n.default=function DropdownMenu(e){var n=e.activeColor,t=e.overlay,m=void 0===t||t,f=e.zIndex,v=e.duration,j=void 0===v?200:v,x=e.direction,b=void 0===x?"down":x,w=e.closeOnClickOverlay,y=void 0===w||w,h=e.closeOnClickOutside,C=void 0===h||h,_=e.className,g=e.style,k=(0,s.default)(e,d),O=(0,i.useState)([]),T=(0,o.default)(O,2),S=T[0],I=T[1],E=(0,i.useRef)([]),L=(0,i.useRef)(),P=(0,i.useRef)("".concat(+new Date).concat(Math.ceil(1e4*Math.random()))),A=(0,i.useCallback)((function(){E.current.forEach((function(e){e.toggle(!1,{immediate:!0})}))}),[]);(0,i.useLayoutEffect)((function(){L.current=new Date,p.push({closeOnClickOutside:C,TimerKey:L,close:A})}),[C,A]),(0,i.useLayoutEffect)((function(){N()}),[k.children]),(0,i.useEffect)((function(){return function(){p=(p||[]).filter((function(e){return e&&e.TimerKey!==L}))}}),[]);var N=function updateItemListData(){setTimeout((function(){E.current&&I(E.current.map((function(e){return e})))}),333)},D=(0,i.useCallback)((function(e){E.current.forEach((function(n,t){var o=n.showPopup;t===Number(e)?n.toggle():o&&n.toggle(!1,{immediate:!0})}))}),[]),V=(0,i.useCallback)((function(e){var n=e.currentTarget.dataset.index;E.current[n].disabled||(p.forEach((function(e){e&&e.closeOnClickOutside&&e.TimerKey!==L&&e.close()})),setTimeout((function(){D(n)})))}),[D]),z=(0,i.useCallback)((function(e,n){E.current[e]=n}),[]),B=(0,i.useCallback)((function(){return(0,r.getRect)(null,".van-dropdown-menu".concat(P.current)).then((function(e){var n={rect:e};return"number"==typeof f&&(n.zIndex=f),n}))}),[f]),K=(0,i.useMemo)((function(){var e=[];return i.Children.map(k.children,(function(t,o){e.push((0,i.cloneElement)(t,{direction:b,key:o,setChildrenInstance:z,index:o,parentInstance:{overlay:m,duration:j,activeColor:n,closeOnClickOverlay:y,direction:b,getChildWrapperStyle:B,updateItemListData:N}}))})),e}),[n,y,b,j,B,k.children,m,z]);return(0,c.jsxs)(a.View,{className:"van-dropdown-menu van-dropdown-menu".concat(P.current," van-dropdown-menu--top-bottom ").concat(_),style:l.style([g,{position:"relative"}]),children:[(S||[]).map((function(e,t){return(0,c.jsx)(a.View,{"data-index":t,className:l.bem("dropdown-menu__item",{disabled:e.disabled}),onClick:V,children:(0,c.jsx)(a.View,{className:e.titleClass+" "+l.bem("dropdown-menu__title",{active:e.showPopup,down:e.showPopup===("down"===b)}),style:e.showPopup?"color:"+n:"",children:(0,c.jsx)(a.View,{className:"van-ellipsis ".concat(e.titleClass||""),children:u.displayTitle(e)})})},e.index)})),K]})}},"./node_modules/@antmjs/vantui/es/dropdown-menu/wxs.js":function(e,n,t){function displayTitle(e){var n=(e.options||[]).filter((function(n){return n.value===e.value})),t=n.length?n[0].text:"";return null==t||""===t?e.title||"":t}t.d(n,{displayTitle:function(){return displayTitle}})},"./node_modules/@antmjs/vantui/es/popup/index.js":function(e,n,t){var o=t("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=t("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),a=t("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),i=t("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),r=t("webpack/container/remote/react"),l=t("./node_modules/@antmjs/vantui/es/wxs/utils.js"),u=t("./node_modules/@antmjs/vantui/es/icon/index.js"),c=t("./node_modules/@antmjs/vantui/es/popup/wxs.js"),d=t("./node_modules/@antmjs/vantui/es/mixins/transition.js"),p=t("./node_modules/@antmjs/vantui/es/overlay/index.js"),m=t("webpack/container/remote/react/jsx-runtime"),f=["show","duration","round","closeable","transition","zIndex","closeIcon","closeIconPosition","position","safeAreaInsetBottom","safeAreaInsetTop","children","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave","onEnter","onLeave","onClose","setOuterShow","style","className"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{};"boolean"!=typeof e&&(e=!Y),e!==Y&&(M(!n.immediate),J(e),e?y&&y.getChildWrapperStyle().then((function(e){var n=e.rect;delete e.rect,e&&(e.width="100vw",e.position="absolute"),"down"===y.direction&&(e.top=n.height+"PX",e.height="100vh",z(e),q(!0),se()),"up"===y.direction&&(e.height="100vh",e.top=0,e.transform="translateY(-100%)",e.WebkitTransform="translateY(-100%)",e.MozTransform="translateY(-100%)",e.OTransform="translateY(-100%)",z(e),q(!0),se())})):se())}),[Y,y,se]);(0,i.useEffect)((function(){w(h,{title:t,titleClass:f,disabled:b,transition:W,showPopup:Y,index:h,setDisplayTitle:$,displayTitle:U,options:I,value:te,toggle:ae})}),[t,f,h,w,b,W,Y,$,U,I,te,ae]);var ie=(0,i.useCallback)((function(){k&&k(),setTimeout((function(){q(!1)}),10)}),[k]);return(0,i.useImperativeHandle)(n,(function(){return{toggle:ae}})),Z?(0,p.jsx)(a.View,{className:l.bem("dropdown-item",y.direction)+" "+L,style:l.style([V,P]),children:(0,p.jsx)(d.default,{show:Y,style:l.style([{position:"absolute"},j]),overlayStyle:"position: absolute;",overlay:!!y.overlay,position:"down"===y.direction?"top":"bottom",duration:W?y.duration:0,closeOnClickOverlay:y.closeOnClickOverlay,onEnter:C,onLeave:g,onClose:ae,onAfterEnter:_,onAfterLeave:ie,children:(0,p.jsxs)(a.View,{children:[(I||[]).map((function(e,n){return(0,p.jsx)(c.default,{"data-option":e,className:l.bem("dropdown-item__option",{active:e.value===te}),clickable:!0,icon:e.icon,onClick:function onClick(n){return function onOptionTap(e,n){var t=te!==n.value;J(!1),oe(n.value),g&&g(),se(),t&&T(n.value)}(0,e)},renderTitle:(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(a.View,{className:"van-dropdown-item__title",style:e.value===te?"color:"+y.activeColor:"",children:e.text})}),children:e.value===te&&(0,p.jsx)(u.default,{name:"success",className:"van-dropdown-item__icon",color:y.activeColor})},"".concat(n,"VanCell"))})),A.children]})})}):(0,p.jsx)(p.Fragment,{})}var f=(0,i.memo)((0,i.forwardRef)(Index));n.default=f},"./node_modules/@antmjs/vantui/es/dropdown-menu/index.js":function(e,n,t){var o=t("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=t("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),a=t("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),i=t("webpack/container/remote/react"),r=t("./node_modules/@antmjs/vantui/es/common/utils.js"),l=t("./node_modules/@antmjs/vantui/es/wxs/utils.js"),u=t("./node_modules/@antmjs/vantui/es/dropdown-menu/wxs.js"),c=t("webpack/container/remote/react/jsx-runtime"),d=["activeColor","overlay","zIndex","duration","direction","closeOnClickOverlay","closeOnClickOutside","className","style"],p=[];n.default=function DropdownMenu(e){var n=e.activeColor,t=e.overlay,m=void 0===t||t,f=e.zIndex,v=e.duration,j=void 0===v?200:v,x=e.direction,b=void 0===x?"down":x,w=e.closeOnClickOverlay,y=void 0===w||w,h=e.closeOnClickOutside,C=void 0===h||h,_=e.className,g=e.style,k=(0,s.default)(e,d),O=(0,i.useState)([]),T=(0,o.default)(O,2),S=T[0],I=T[1],E=(0,i.useRef)([]),L=(0,i.useRef)(),P=(0,i.useRef)("".concat(+new Date).concat(Math.ceil(1e4*Math.random()))),A=(0,i.useCallback)((function(){E.current.forEach((function(e){e.toggle(!1,{immediate:!0})}))}),[]);(0,i.useLayoutEffect)((function(){L.current=new Date,p.push({closeOnClickOutside:C,TimerKey:L,close:A})}),[C,A]),(0,i.useLayoutEffect)((function(){N()}),[k.children]),(0,i.useEffect)((function(){return function(){p=(p||[]).filter((function(e){return e&&e.TimerKey!==L}))}}),[]);var N=function updateItemListData(){setTimeout((function(){E.current&&I(E.current.map((function(e){return e})))}),333)},D=(0,i.useCallback)((function(e){E.current.forEach((function(n,t){var o=n.showPopup;t===Number(e)?n.toggle():o&&n.toggle(!1,{immediate:!0})}))}),[]),V=(0,i.useCallback)((function(e){var n=e.currentTarget.dataset.index;E.current[n].disabled||(p.forEach((function(e){e&&e.closeOnClickOutside&&e.TimerKey!==L&&e.close()})),setTimeout((function(){D(n)})))}),[D]),z=(0,i.useCallback)((function(e,n){E.current[e]=n}),[]),B=(0,i.useCallback)((function(){return(0,r.getRect)(null,".van-dropdown-menu".concat(P.current)).then((function(e){var n={rect:e};return"number"==typeof f&&(n.zIndex=f),n}))}),[f]),K=(0,i.useMemo)((function(){var e=[];return i.Children.map(k.children,(function(t,o){e.push((0,i.cloneElement)(t,{direction:b,key:o,setChildrenInstance:z,index:o,parentInstance:{overlay:m,duration:j,activeColor:n,closeOnClickOverlay:y,direction:b,getChildWrapperStyle:B,updateItemListData:N}}))})),e}),[n,y,b,j,B,k.children,m,z]);return(0,c.jsxs)(a.View,{className:"van-dropdown-menu van-dropdown-menu".concat(P.current," van-dropdown-menu--top-bottom ").concat(_),style:l.style([g,{position:"relative"}]),children:[(S||[]).map((function(e,t){return(0,c.jsx)(a.View,{"data-index":t,className:l.bem("dropdown-menu__item",{disabled:e.disabled}),onClick:V,children:(0,c.jsx)(a.View,{className:e.titleClass+" "+l.bem("dropdown-menu__title",{active:e.showPopup,down:e.showPopup===("down"===b)}),style:e.showPopup?"color:"+n:"",children:(0,c.jsx)(a.View,{className:"van-ellipsis ".concat(e.titleClass||""),children:u.displayTitle(e)})})},e.index)})),K]})}},"./node_modules/@antmjs/vantui/es/dropdown-menu/wxs.js":function(e,n,t){function displayTitle(e){var n=(e.options||[]).filter((function(n){return n.value===e.value})),t=n.length?n[0].text:"";return null==t||""===t?e.title||"":t}t.d(n,{displayTitle:function(){return displayTitle}})},"./node_modules/@antmjs/vantui/es/popup/index.js":function(e,n,t){var o=t("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=t("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),a=t("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),i=t("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),r=t("webpack/container/remote/react"),l=t("./node_modules/@antmjs/vantui/es/wxs/utils.js"),u=t("./node_modules/@antmjs/vantui/es/icon/index.js"),c=t("./node_modules/@antmjs/vantui/es/popup/wxs.js"),d=t("./node_modules/@antmjs/vantui/es/mixins/transition.js"),p=t("./node_modules/@antmjs/vantui/es/overlay/index.js"),m=t("webpack/container/remote/react/jsx-runtime"),f=["show","duration","round","closeable","transition","zIndex","closeIcon","closeIconPosition","position","safeAreaInsetBottom","safeAreaInsetTop","children","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave","onEnter","onLeave","onClose","setOuterShow","style","className"];function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var n=1;n=Y}),children:h.length>=Y?Y:h.length}),"/"+Y]}),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==W||W(e))}),[x,W]);return o.show&&(0,f.jsxs)(c.View,_objectSpread(_objectSpread({className:l.bem("notice-bar",{withicon:x,wrapable:F})+" ".concat(H||""),style:l.style([m.rootStyle({color:z,backgroundColor:M,background:q}),Y])},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||F?"":"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===q?0:e:e%me,xe({pace:t-q,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&&q!==s&&c.onChange&&c.onChange((s+me)%me),q=s,F(s),$(l),Te(l)}},_e=function getActive(e){if(e){var t=q+e;return c.loop?ke(t,-1,me):ke(t,0,me-1)}return q},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+(q!==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=(q+me)%me}),[q]);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),F(n),W(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:(q+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",(q+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=Y}),children:h.length>=Y?Y:h.length}),"/"+Y]}),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==W||W(e))}),[x,W]);return o.show&&(0,f.jsxs)(c.View,_objectSpread(_objectSpread({className:l.bem("notice-bar",{withicon:x,wrapable:F})+" ".concat(H||""),style:l.style([m.rootStyle({color:z,backgroundColor:M,background:q}),Y])},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||F?"":"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===q?0:e:e%me,xe({pace:t-q,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&&q!==s&&c.onChange&&c.onChange((s+me)%me),q=s,F(s),$(l),Te(l)}},_e=function getActive(e){if(e){var t=q+e;return c.loop?ke(t,-1,me):ke(t,0,me-1)}return q},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+(q!==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=(q+me)%me}),[q]);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),F(n),W(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:(q+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",(q+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])}))}))}),[w]),C=(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:P.current.scrollTop,isFixed:e.fixed||b.fixed}})}),[_,b]),V=(0,s.useCallback)((function(e){g?C({fixed:!1,transform:0}):(P.current.scrollTop=e||P.current.scrollTop,"function"!=typeof w?(0,l.getRect)(null,"#sticky-com-index".concat(t.current)).then((function(e){(0,d.isDef)(e)&&(x>=e.top?C({fixed:!0,height:e.height}):C({fixed:!1}))})):Promise.all([(0,l.getRect)(null,"#sticky-com-index".concat(t.current)),N()]).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?C({fixed:!1,transform:r.height-n.height}):x>=n.top?C({fixed:!0,height:n.height,transform:0}):C({fixed:!1,transform:0}))})).catch((function(e){console.log(e)})))}),[w,g,N,x,C]);return(0,s.useEffect)((function(){V(y)}),[y,w,g,x]),(0,u.usePageScroll)((function(e){V(e.scrollTop)})),(0,m.jsx)(a.View,_objectSpread(_objectSpread({id:"sticky-com-index".concat(t.current),className:" van-sticky "+(k||""),style:c.style([f.containerStyle({fixed:b.fixed,height:b.height,zIndex:h}),S])},T),{},{children:(0,m.jsx)(a.View,{className:c.bem("sticky-wrap",{fixed:b.fixed})+" ".concat(k||""),style:c.style([f.wrapStyle({fixed:b.fixed,offsetTop:x,transform:b.transform,zIndex:h}),S]),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"),d=["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=ge.length||e<0)&&e!==D){var t=null!==D;C((function(t){return _objectSpread(_objectSpread({},t),{},{currentIndex:e})})),(0,j.requestAnimationFrame)((function(){Oe(e),Pe(e)})),(0,l.nextTick)((function(){t&&we("onChange",ge[e])}))}},ke=function setCurrentIndexByName(e){var t=ge.filter((function(t){return(t.props.name||t.props.index)===e}));t.length&&Se(t[0].props.index)},Oe=function resize(e){var r;"line"===W&&(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 d=s.slice(0,e).reduce((function(e,t){return e+t.width}),0);d+=(c.width-a.width)/2+(Q?0:8),C((function(e){return _objectSpread(_objectSpread({},e),{},{lineOffsetLeft:d})})),t.current.swiping=!0,I&&(0,l.nextTick)((function(){C((function(e){return _objectSpread(_objectSpread({},e),{},{skipTransition:!1})}))}))}}))})))},Te=function onTap(e){var t=e.currentTarget.dataset.index;t=parseInt(t);var n=ge[t];n.props.disabled?we("onDisabled",n):(Se(t),(0,l.nextTick)((function(){we("onClick",n)})))},Pe=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);C((function(e){return _objectSpread(_objectSpread({},e),{},{scrollLeft:a-(i.width-s.width)/2})})),E||(0,l.nextTick)((function(){C((function(e){return _objectSpread(_objectSpread({},e),{},{scrollWithAnimation:!0})}))}))}})))},Ne=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},Ce=function onTouchEnd(){if(R&&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,ge,Q]),(0,d.useEffect)((function(){(0,l.nextTick)((function(){Oe()}))}),[ge]);var Ve=(0,d.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,!de||!g){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(!ue||!g){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)}))),[de,g,ue]);return(0,d.useEffect)((function(){setTimeout((function(){Ve()}))}),[Ve,g]),(0,x.jsxs)(f.View,_objectSpread(_objectSpread({className:"tabs-com-index".concat(n.current," ")+" "+m.bem("tabs",[W]+" ".concat(he||"")),style:je},xe),{},{children:[(0,x.jsx)(b.Sticky,{disabled:!H,zIndex:B,offsetTop:U,container:F,onScroll:fe,children:(0,x.jsxs)(f.View,{className:m.bem("tabs__wrap",{scrollable:z})+" "+("line"===W&&J?"van-hairline--top-bottom":""),children:[(0,x.jsx)(f.View,{className:m.bem("renderNavLeft"+n.current),children:de}),(0,x.jsx)(f.ScrollView,{scrollX:z,scrollWithAnimation:E,scrollLeft:V,className:m.bem("tabs__scroll",[W]),style:{width:k,borderColor:G},children:(0,x.jsxs)(f.View,{className:m.bem("tabs__nav",[W,{complete:!Q}])+" nav-class",style:v.navStyle(G,W),children:["line"===W&&(0,x.jsx)(f.View,{className:"van-tabs__line",style:v.lineStyle({color:G,lineOffsetLeft:L,lineHeight:ee,skipTransition:I,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:W,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:ue})]})}),(0,x.jsx)(f.View,{className:"van-tabs__content",onTouchStart:function onTouchStart(e){R&&(t.current.swiping=!0,Ne(e))},onTouchMove:function onTouchMove(e){R&&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:Ce,onTouchCancel:Ce,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:ge})})]}))}},"./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/@antmjs/vantui/es/card/index.js"),c=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),l=n("webpack/container/remote/react"),d=n("./src/pages/components/TabbarCom/index.tsx"),u=n("webpack/container/remote/@tarojs/taro"),f=n.n(u),m=n("webpack/container/remote/react/jsx-runtime");t.default=function my(e){(0,l.useEffect)((function(){}),[]);var t=function CardCom(){return(0,m.jsx)(a.default,{num:"",price:"",desc:"活动描述信息",title:"活动标题",thumb:"cloud://cloud1-5g5xrgza12a0dd6d.636c-cloud1-5g5xrgza12a0dd6d-1253665791/images.jpg"})};return(0,m.jsxs)(c.View,{children:[(0,m.jsx)(c.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)(c.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)(c.View,{children:[(0,m.jsx)(r.default,{title:"个人资料",isLink:!0}),(0,m.jsx)(r.default,{title:"微信客服",isLink:!0,value:"",onClick:function onClick(){f().openCustomerServiceChat({corpId:"wwb04af9a97514271c",extInfo:{url:"https://work.weixin.qq.com/kfid/kfc70f3f112c97a54c5"},success:function success(e){}})}})]}),(0,m.jsx)(d.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 +"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"),o=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,o.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"),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("./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,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 diff --git a/dist/pages/my/index.js.LICENSE.txt b/dist/pages/my/index.js.LICENSE.txt index 0cdd3ab..928684c 100644 --- a/dist/pages/my/index.js.LICENSE.txt +++ b/dist/pages/my/index.js.LICENSE.txt @@ -1,19 +1,17 @@ /*! ../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./index.tsx */ -/*! ../common/jumpLink */ - /*! ../common/utils */ /*! ../common/validator */ +/*! ../components/ActiveCard */ + /*! ../components/TabbarCom */ /*! ../info/index */ /*! ../sticky/index */ -/*! ../tag */ - /*! ../wxs/style */ /*! ../wxs/utils */ @@ -22,8 +20,6 @@ /*! ./wxs */ -/*! @antmjs/vantui/es/card */ - /*! @antmjs/vantui/es/cell */ /*! @antmjs/vantui/es/image */ @@ -66,10 +62,6 @@ !*** ./node_modules/@antmjs/vantui/es/tab/index.js ***! \*****************************************************/ -/*!******************************************************!*\ - !*** ./node_modules/@antmjs/vantui/es/card/index.js ***! - \******************************************************/ - /*!******************************************************!*\ !*** ./node_modules/@antmjs/vantui/es/sticky/wxs.js ***! \******************************************************/ diff --git a/dist/pages/my/index.wxss b/dist/pages/my/index.wxss index d985e55..5a5dd13 100644 --- a/dist/pages/my/index.wxss +++ b/dist/pages/my/index.wxss @@ -10,13 +10,13 @@ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[0].use[2]!./node_modules/@antmjs/vantui/es/tab/index.css ***! \********************************************************************************************************************************************************************************************************************/ .van-tab__pane{box-sizing:border-box;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-flex-shrink:0;flex-shrink:0;width:100%}.van-tab__pane--active{height:auto}.van-tab__pane--inactive{height:0;overflow:visible} -/*!*********************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[0].use[2]!./node_modules/@antmjs/vantui/es/card/index.css ***! - \*********************************************************************************************************************************************************************************************************************/ -.van-card{position:relative;box-sizing:border-box;padding:16rpx 32rpx;padding:var(--card-padding,16rpx 32rpx);font-size:24rpx;font-size:var(--card-font-size, 24rpx);color:#323233;color:var(--card-text-color,#323233);background-color:#fafafa;background-color:var(--card-background-color,#fafafa)}.van-card__header{display:-webkit-flex;display:flex}.van-card__header--center{-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center}.van-card__thumb{position:relative;-webkit-flex:none;flex:none;width:176rpx;width:var(--card-thumb-size,176rpx);height:176rpx;height:var(--card-thumb-size,176rpx);margin-right:16rpx;margin-right:var(--padding-xs,16rpx)}.van-card__thumb:empty{display:none}.van-card__img{width:100%;height:100%;border-radius:16rpx;border-radius:var(--border-radius-lg,16rpx)}.van-card__content{position:relative;display:-webkit-flex;display:flex;-webkit-flex:1;flex:1;-webkit-flex-direction:column;flex-direction:column;-webkit-justify-content:space-between;justify-content:space-between;min-width:0;min-height:176rpx;min-height:var(--card-thumb-size,176rpx)}.van-card__content--center{-webkit-justify-content:center;justify-content:center}.van-card__desc,.van-card__title{word-wrap:break-word}.van-card__title{font-weight:700;line-height:32rpx;line-height:var(--card-title-line-height, 32rpx)}.van-card__desc{line-height:40rpx;line-height:var(--card-desc-line-height, 40rpx);color:#646566;color:var(--card-desc-color,#646566)}.van-card__bottom{line-height:40rpx}.van-card__price{display:inline-block;font-weight:700;color:#ee0a24;color:var(--card-price-color,#ee0a24);font-size:24rpx;font-size:var(--card-price-font-size, 24rpx)}.van-card__price-integer{font-size:32rpx;font-size:var(--card-price-integer-font-size, 32rpx);font-family:Avenir-Heavy,PingFang SC,Helvetica Neue,Arial,sans-serif;font-family:var(--card-price-font-family, Avenir-Heavy, PingFang SC, Helvetica Neue, Arial, sans-serif)}.van-card__price-decimal{font-family:Avenir-Heavy,PingFang SC,Helvetica Neue,Arial,sans-serif;font-family:var(--card-price-font-family, Avenir-Heavy, PingFang SC, Helvetica Neue, Arial, sans-serif)}.van-card__origin-price{display:inline-block;margin-left:10rpx;text-decoration:line-through;font-size:20rpx;font-size:var(--card-origin-price-font-size, 20rpx);color:#646566;color:var(--card-origin-price-color,#646566)}.van-card__num{float:right}.van-card__tag{position:absolute!important;top:4rpx;left:0}.van-card__footer{-webkit-flex:none;flex:none;width:100%;text-align:right} /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/cache-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[3]!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[5]!./src/pages/my/index.module.scss ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.myContentDiv { + padding: 20rpx; +} + .myContent { display: -webkit-flex; display: -ms-flexbox; diff --git a/dist/vendors.js b/dist/vendors.js index f45d496..fdb3901 100644 --- a/dist/vendors.js +++ b/dist/vendors.js @@ -1,2 +1,2 @@ /*! For license information please see vendors.js.LICENSE.txt */ -(wx.webpackJsonp=wx.webpackJsonp||[]).push([["vendors"],{"./node_modules/@antmjs/vantui/es/button/index.js":function(e,t,n){"use strict";var r=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),o=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),s=n("webpack/container/remote/@tarojs/taro"),a=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),i=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),c=n("./node_modules/@antmjs/vantui/es/icon/index.js"),l=n("./node_modules/@antmjs/vantui/es/loading/index.js"),u=n("./node_modules/@antmjs/vantui/es/button/wxs.js"),d=n("webpack/container/remote/react/jsx-runtime"),f=["type","size","block","round","plain","square","loading","disabled","hairline","color","loadingSize","loadingType","loadingText","icon","classPrefix","onClick","children","style","className"];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;t9)(0,r.redirectTo)({url:e});else switch(t){case"navigateTo":(0,r.navigateTo)({url:e});break;case"reLaunch":(0,r.reLaunch)({url:e});break;case"redirectTo":(0,r.redirectTo)({url:e})}}},"./node_modules/@antmjs/vantui/es/common/utils.js":function(e,t,n){"use strict";n.d(t,{requestAnimationFrame:function(){return requestAnimationFrame},getRect:function(){return getRect},getAllRect:function(){return getAllRect}});var r=n("webpack/container/remote/@tarojs/taro"),o=n("./node_modules/raf/index.js"),s=n.n(o),a=(n("./node_modules/@antmjs/vantui/es/common/validator.js"),n("./node_modules/@antmjs/vantui/es/common/version.js"),n("webpack/container/remote/@tarojs/runtime").window);function requestAnimationFrame(e){return a.requestAnimationFrame?a.requestAnimationFrame(e):s()(e)}function getRect(e,t){return new Promise((function(n){var o=(0,r.createSelectorQuery)();e&&(o=o.in(e)),o.select(t).boundingClientRect().exec((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return n(e[0])}))}))}function getAllRect(e,t){return new Promise((function(n){var o=(0,r.createSelectorQuery)();e&&(o=o.in(e)),o.selectAll(t).boundingClientRect().exec((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return n(e[0])}))}))}},"./node_modules/@antmjs/vantui/es/common/validator.js":function(e,t,n){"use strict";n.d(t,{isPlainObject:function(){return isPlainObject},isPromise:function(){return isPromise},isDef:function(){return isDef},isObj:function(){return isObj}});var r=n("./node_modules/@babel/runtime/helpers/esm/typeof.js");function isFunction(e){return"function"==typeof e}function isPlainObject(e){return null!==e&&"object"===(0,r.default)(e)&&!Array.isArray(e)}function isPromise(e){return isPlainObject(e)&&isFunction(e.then)&&isFunction(e.catch)}function isDef(e){return null!=e}function isObj(e){var t=(0,r.default)(e);return null!==e&&("object"===t||"function"===t)}},"./node_modules/@antmjs/vantui/es/common/version.js":function(e,t,n){"use strict";n.d(t,{canIUseNextTick:function(){return canIUseNextTick}});var r=n("webpack/container/remote/@tarojs/taro");function canIUseNextTick(){return(0,r.canIUse)("nextTick")}},"./node_modules/@antmjs/vantui/es/icon/index.js":function(e,t,n){"use strict";n.d(t,{Icon:function(){return Icon}});var r=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),o=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),s=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),a=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),i=n("./node_modules/@antmjs/vantui/es/info/index.js"),c=n("./node_modules/@antmjs/vantui/es/icon/wxs.js"),l=n("webpack/container/remote/react/jsx-runtime"),u=["classPrefix","name","color","size","dot","info","style","className"];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;t1&&void 0!==arguments[1]?arguments[1]:{},n=[];return o.default.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(toArray(e)):(0,s.isFragment)(e)&&e.props?n=n.concat(toArray(e.props.children,t)):n.push(e))})),n};var o=r(n("webpack/container/remote/react")),s=n("./node_modules/react-is/index.js")},"./node_modules/react-is/cjs/react-is.development.js":function(e,t,n){"use strict";var r=n("./node_modules/@babel/runtime/helpers/typeof.js").default;(function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,j=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function typeOf(e){if("object"===r(e)&&null!==e){var t=e.$$typeof;switch(t){case n:var p=e.type;switch(p){case u:case d:case s:case i:case a:case m:return p;default:var j=p&&p.$$typeof;switch(j){case l:case f:case b:case y:case c:return j;default:return t}}case o:return t}}}var g=u,_=d,x=l,O=c,S=n,P=f,k=s,C=b,A=y,T=o,E=i,L=a,I=m,N=!1;function isConcurrentMode(e){return typeOf(e)===d}t.AsyncMode=g,t.ConcurrentMode=_,t.ContextConsumer=x,t.ContextProvider=O,t.Element=S,t.ForwardRef=P,t.Fragment=k,t.Lazy=C,t.Memo=A,t.Portal=T,t.Profiler=E,t.StrictMode=L,t.Suspense=I,t.isAsyncMode=function isAsyncMode(e){return N||(N=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),isConcurrentMode(e)||typeOf(e)===u},t.isConcurrentMode=isConcurrentMode,t.isContextConsumer=function isContextConsumer(e){return typeOf(e)===l},t.isContextProvider=function isContextProvider(e){return typeOf(e)===c},t.isElement=function isElement(e){return"object"===r(e)&&null!==e&&e.$$typeof===n},t.isForwardRef=function isForwardRef(e){return typeOf(e)===f},t.isFragment=function isFragment(e){return typeOf(e)===s},t.isLazy=function isLazy(e){return typeOf(e)===b},t.isMemo=function isMemo(e){return typeOf(e)===y},t.isPortal=function isPortal(e){return typeOf(e)===o},t.isProfiler=function isProfiler(e){return typeOf(e)===i},t.isStrictMode=function isStrictMode(e){return typeOf(e)===a},t.isSuspense=function isSuspense(e){return typeOf(e)===m},t.isValidElementType=function isValidElementType(e){return"string"==typeof e||"function"==typeof e||e===s||e===d||e===i||e===a||e===m||e===p||"object"===r(e)&&null!==e&&(e.$$typeof===b||e.$$typeof===y||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===v||e.$$typeof===h||e.$$typeof===w||e.$$typeof===j)},t.typeOf=typeOf})()},"./node_modules/react-is/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/react-is/cjs/react-is.development.js")},"./node_modules/@babel/runtime/helpers/interopRequireDefault.js":function(e){e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/regeneratorRuntime.js":function(e,t,n){var r=n("./node_modules/@babel/runtime/helpers/typeof.js").default;function _regeneratorRuntime(){"use strict";e.exports=_regeneratorRuntime=function _regeneratorRuntime(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,o=n.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function define(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{define({},"")}catch(e){define=function define(e,t,n){return e[t]=n}}function wrap(e,t,n,r){var o=t&&t.prototype instanceof Generator?t:Generator,a=Object.create(o.prototype),i=new Context(r||[]);return s(a,"_invoke",{value:makeInvokeMethod(e,n,i)}),a}function tryCatch(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=wrap;var u={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var d={};define(d,i,(function(){return this}));var f=Object.getPrototypeOf,m=f&&f(f(values([])));m&&m!==n&&o.call(m,i)&&(d=m);var p=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(d);function defineIteratorMethods(e){["next","throw","return"].forEach((function(t){define(e,t,(function(e){return this._invoke(t,e)}))}))}function AsyncIterator(e,t){function invoke(n,s,a,i){var c=tryCatch(e[n],e,s);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==r(u)&&o.call(u,"__await")?t.resolve(u.__await).then((function(e){invoke("next",e,a,i)}),(function(e){invoke("throw",e,a,i)})):t.resolve(u).then((function(e){l.value=e,a(l)}),(function(e){return invoke("throw",e,a,i)}))}i(c.arg)}var n;s(this,"_invoke",{value:function value(e,r){function callInvokeWithMethodAndArg(){return new t((function(t,n){invoke(e,r,t,n)}))}return n=n?n.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,t,n){var r="suspendedStart";return function(o,s){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw s;return doneResult()}for(n.method=o,n.arg=s;;){var a=n.delegate;if(a){var i=maybeInvokeDelegate(a,n);if(i){if(i===u)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=tryCatch(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function maybeInvokeDelegate(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,maybeInvokeDelegate(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=tryCatch(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function pushTryEntry(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function resetTryEntry(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function next(){for(;++n=0;--n){var r=this.tryEntries[n],s=r.completion;if("root"===r.tryLoc)return handle("end");if(r.tryLoc<=this.prev){var a=o.call(r,"catchLoc"),i=o.call(r,"finallyLoc");if(a&&i){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),resetTryEntry(n),u}},catch:function _catch(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;resetTryEntry(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,t,n){return this.delegate={iterator:values(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},t}e.exports=_regeneratorRuntime,e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/typeof.js":function(e){function _typeof(t){return e.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,_typeof(t)}e.exports=_typeof,e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/regenerator/index.js":function(e,t,n){var r=n("./node_modules/@babel/runtime/helpers/regeneratorRuntime.js")();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},"./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":function(e,t,n){"use strict";function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}},"./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js":function(e,t,n){"use strict";function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var n,r,o={},s=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,{default:function(){return _objectWithoutPropertiesLoose}})},"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js":function(e,t,n){"use strict";n.d(t,{default:function(){return _slicedToArray}});var r=n("./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js"),o=n("./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js"),s=n("./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"),a=n("./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");function _slicedToArray(e,t){return(0,r.default)(e)||(0,o.default)(e,t)||(0,s.default)(e,t)||(0,a.default)()}},"./node_modules/@babel/runtime/helpers/esm/typeof.js":function(e,t,n){"use strict";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}n.d(t,{default:function(){return _typeof}})},"./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":function(e,t,n){"use strict";n.d(t,{default:function(){return _unsupportedIterableToArray}});var r=n("./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return(0,r.default)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.default)(e,t):void 0}}}}]); \ No newline at end of file +(wx.webpackJsonp=wx.webpackJsonp||[]).push([["vendors"],{"./node_modules/@antmjs/vantui/es/button/index.js":function(e,t,n){"use strict";var r=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),o=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),s=n("webpack/container/remote/@tarojs/taro"),a=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),i=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),c=n("./node_modules/@antmjs/vantui/es/icon/index.js"),l=n("./node_modules/@antmjs/vantui/es/loading/index.js"),u=n("./node_modules/@antmjs/vantui/es/button/wxs.js"),d=n("webpack/container/remote/react/jsx-runtime"),f=["type","size","block","round","plain","square","loading","disabled","hairline","color","loadingSize","loadingType","loadingText","icon","classPrefix","onClick","children","style","className"];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;t9)(0,r.redirectTo)({url:e});else switch(t){case"navigateTo":(0,r.navigateTo)({url:e});break;case"reLaunch":(0,r.reLaunch)({url:e});break;case"redirectTo":(0,r.redirectTo)({url:e})}}},"./node_modules/@antmjs/vantui/es/common/utils.js":function(e,t,n){"use strict";n.d(t,{requestAnimationFrame:function(){return requestAnimationFrame},getRect:function(){return getRect},getAllRect:function(){return getAllRect}});var r=n("webpack/container/remote/@tarojs/taro"),o=n("./node_modules/raf/index.js"),s=n.n(o),a=(n("./node_modules/@antmjs/vantui/es/common/validator.js"),n("./node_modules/@antmjs/vantui/es/common/version.js"),n("webpack/container/remote/@tarojs/runtime").window);function requestAnimationFrame(e){return a.requestAnimationFrame?a.requestAnimationFrame(e):s()(e)}function getRect(e,t){return new Promise((function(n){var o=(0,r.createSelectorQuery)();e&&(o=o.in(e)),o.select(t).boundingClientRect().exec((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return n(e[0])}))}))}function getAllRect(e,t){return new Promise((function(n){var o=(0,r.createSelectorQuery)();e&&(o=o.in(e)),o.selectAll(t).boundingClientRect().exec((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return n(e[0])}))}))}},"./node_modules/@antmjs/vantui/es/common/validator.js":function(e,t,n){"use strict";n.d(t,{isPlainObject:function(){return isPlainObject},isPromise:function(){return isPromise},isDef:function(){return isDef},isObj:function(){return isObj}});var r=n("./node_modules/@babel/runtime/helpers/esm/typeof.js");function isFunction(e){return"function"==typeof e}function isPlainObject(e){return null!==e&&"object"===(0,r.default)(e)&&!Array.isArray(e)}function isPromise(e){return isPlainObject(e)&&isFunction(e.then)&&isFunction(e.catch)}function isDef(e){return null!=e}function isObj(e){var t=(0,r.default)(e);return null!==e&&("object"===t||"function"===t)}},"./node_modules/@antmjs/vantui/es/common/version.js":function(e,t,n){"use strict";n.d(t,{canIUseNextTick:function(){return canIUseNextTick}});var r=n("webpack/container/remote/@tarojs/taro");function canIUseNextTick(){return(0,r.canIUse)("nextTick")}},"./node_modules/@antmjs/vantui/es/icon/index.js":function(e,t,n){"use strict";n.d(t,{Icon:function(){return Icon}});var r=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),o=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),s=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),a=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),i=n("./node_modules/@antmjs/vantui/es/info/index.js"),c=n("./node_modules/@antmjs/vantui/es/icon/wxs.js"),l=n("webpack/container/remote/react/jsx-runtime"),u=["classPrefix","name","color","size","dot","info","style","className"];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;t1&&void 0!==arguments[1]?arguments[1]:{},n=[];return o.default.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(toArray(e)):(0,s.isFragment)(e)&&e.props?n=n.concat(toArray(e.props.children,t)):n.push(e))})),n};var o=r(n("webpack/container/remote/react")),s=n("./node_modules/react-is/index.js")},"./node_modules/react-is/cjs/react-is.development.js":function(e,t,n){"use strict";var r=n("./node_modules/@babel/runtime/helpers/typeof.js").default;(function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,j=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function typeOf(e){if("object"===r(e)&&null!==e){var t=e.$$typeof;switch(t){case n:var p=e.type;switch(p){case u:case d:case s:case i:case a:case m:return p;default:var j=p&&p.$$typeof;switch(j){case l:case f:case b:case y:case c:return j;default:return t}}case o:return t}}}var g=u,_=d,x=l,O=c,S=n,P=f,k=s,C=b,A=y,E=o,T=i,L=a,I=m,N=!1;function isConcurrentMode(e){return typeOf(e)===d}t.AsyncMode=g,t.ConcurrentMode=_,t.ContextConsumer=x,t.ContextProvider=O,t.Element=S,t.ForwardRef=P,t.Fragment=k,t.Lazy=C,t.Memo=A,t.Portal=E,t.Profiler=T,t.StrictMode=L,t.Suspense=I,t.isAsyncMode=function isAsyncMode(e){return N||(N=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),isConcurrentMode(e)||typeOf(e)===u},t.isConcurrentMode=isConcurrentMode,t.isContextConsumer=function isContextConsumer(e){return typeOf(e)===l},t.isContextProvider=function isContextProvider(e){return typeOf(e)===c},t.isElement=function isElement(e){return"object"===r(e)&&null!==e&&e.$$typeof===n},t.isForwardRef=function isForwardRef(e){return typeOf(e)===f},t.isFragment=function isFragment(e){return typeOf(e)===s},t.isLazy=function isLazy(e){return typeOf(e)===b},t.isMemo=function isMemo(e){return typeOf(e)===y},t.isPortal=function isPortal(e){return typeOf(e)===o},t.isProfiler=function isProfiler(e){return typeOf(e)===i},t.isStrictMode=function isStrictMode(e){return typeOf(e)===a},t.isSuspense=function isSuspense(e){return typeOf(e)===m},t.isValidElementType=function isValidElementType(e){return"string"==typeof e||"function"==typeof e||e===s||e===d||e===i||e===a||e===m||e===p||"object"===r(e)&&null!==e&&(e.$$typeof===b||e.$$typeof===y||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===v||e.$$typeof===h||e.$$typeof===w||e.$$typeof===j)},t.typeOf=typeOf})()},"./node_modules/react-is/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/react-is/cjs/react-is.development.js")},"./node_modules/@babel/runtime/helpers/interopRequireDefault.js":function(e){e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/regeneratorRuntime.js":function(e,t,n){var r=n("./node_modules/@babel/runtime/helpers/typeof.js").default;function _regeneratorRuntime(){"use strict";e.exports=_regeneratorRuntime=function _regeneratorRuntime(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,o=n.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function define(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{define({},"")}catch(e){define=function define(e,t,n){return e[t]=n}}function wrap(e,t,n,r){var o=t&&t.prototype instanceof Generator?t:Generator,a=Object.create(o.prototype),i=new Context(r||[]);return s(a,"_invoke",{value:makeInvokeMethod(e,n,i)}),a}function tryCatch(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=wrap;var u={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var d={};define(d,i,(function(){return this}));var f=Object.getPrototypeOf,m=f&&f(f(values([])));m&&m!==n&&o.call(m,i)&&(d=m);var p=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(d);function defineIteratorMethods(e){["next","throw","return"].forEach((function(t){define(e,t,(function(e){return this._invoke(t,e)}))}))}function AsyncIterator(e,t){function invoke(n,s,a,i){var c=tryCatch(e[n],e,s);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==r(u)&&o.call(u,"__await")?t.resolve(u.__await).then((function(e){invoke("next",e,a,i)}),(function(e){invoke("throw",e,a,i)})):t.resolve(u).then((function(e){l.value=e,a(l)}),(function(e){return invoke("throw",e,a,i)}))}i(c.arg)}var n;s(this,"_invoke",{value:function value(e,r){function callInvokeWithMethodAndArg(){return new t((function(t,n){invoke(e,r,t,n)}))}return n=n?n.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,t,n){var r="suspendedStart";return function(o,s){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw s;return doneResult()}for(n.method=o,n.arg=s;;){var a=n.delegate;if(a){var i=maybeInvokeDelegate(a,n);if(i){if(i===u)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=tryCatch(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function maybeInvokeDelegate(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,maybeInvokeDelegate(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=tryCatch(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function pushTryEntry(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function resetTryEntry(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function next(){for(;++n=0;--n){var r=this.tryEntries[n],s=r.completion;if("root"===r.tryLoc)return handle("end");if(r.tryLoc<=this.prev){var a=o.call(r,"catchLoc"),i=o.call(r,"finallyLoc");if(a&&i){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),resetTryEntry(n),u}},catch:function _catch(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;resetTryEntry(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,t,n){return this.delegate={iterator:values(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},t}e.exports=_regeneratorRuntime,e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/typeof.js":function(e){function _typeof(t){return e.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,_typeof(t)}e.exports=_typeof,e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/regenerator/index.js":function(e,t,n){var r=n("./node_modules/@babel/runtime/helpers/regeneratorRuntime.js")();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},"./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":function(e,t,n){"use strict";function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}},"./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js":function(e,t,n){"use strict";function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var n,r,o={},s=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,{default:function(){return _objectWithoutPropertiesLoose}})},"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js":function(e,t,n){"use strict";n.d(t,{default:function(){return _slicedToArray}});var r=n("./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js"),o=n("./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js"),s=n("./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"),a=n("./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");function _slicedToArray(e,t){return(0,r.default)(e)||(0,o.default)(e,t)||(0,s.default)(e,t)||(0,a.default)()}},"./node_modules/@babel/runtime/helpers/esm/typeof.js":function(e,t,n){"use strict";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}n.d(t,{default:function(){return _typeof}})},"./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":function(e,t,n){"use strict";n.d(t,{default:function(){return _unsupportedIterableToArray}});var r=n("./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return(0,r.default)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.default)(e,t):void 0}}}}]); \ No newline at end of file diff --git a/src/pages/activityList/components/details/index.scss b/src/pages/activityList/components/details/index.scss index 0fff962..2050cc7 100644 --- a/src/pages/activityList/components/details/index.scss +++ b/src/pages/activityList/components/details/index.scss @@ -1,13 +1,22 @@ .detailContent { -// background-color: yellow; + // background-color: yellow; + padding: 20px; + background-color: #fafafa; + + + .RichText{ + margin-top: 20px; + background-color: #fafafa; + } .detailBtn { display: flex; flex-direction: row; align-items: center; justify-content: center; - width: 100%; + width: 95%; position: fixed; // bottom: 0px; + // background-color: yellow; } } diff --git a/src/pages/activityList/components/details/index.tsx b/src/pages/activityList/components/details/index.tsx index ea3954e..8d6a52a 100644 --- a/src/pages/activityList/components/details/index.tsx +++ b/src/pages/activityList/components/details/index.tsx @@ -4,10 +4,11 @@ import Taro from "@tarojs/taro"; import react, { useEffect, useState } from "react"; import { getTable } from "../../../../utils/index"; import "./index.scss"; +import { Image } from "@antmjs/vantui"; const details = () => { const [dataSource, setdataSource] = useState([]); - const [bottomheight,setbottomheight]=useState(0) + const [bottomheight, setbottomheight] = useState(0); useEffect(() => { // 设置标题 @@ -17,10 +18,10 @@ const details = () => { }, []); useEffect(() => { - const {screenHeight,safeArea={}}=Taro.getSystemInfoSync() + const { screenHeight, safeArea = {} } = Taro.getSystemInfoSync(); // @ts-ignore - let newBottom=screenHeight -safeArea?.bottom??0 - setbottomheight(newBottom) + let newBottom = screenHeight - safeArea?.bottom ?? 0; + setbottomheight(newBottom); let objParams = { tableName: "cityNew", @@ -38,17 +39,42 @@ const details = () => { return ( + + {`活动标题活动标题活动标题活动标题活动标题活动标题活动标题`} + + + {/* 头像列表 */} + {[1, 2, 3, 4].map((item: any) => { + return ( + + ); + })} + {/* 富文本 */} - {}}> - {dataSource?.[0]?.actTitle} + {}} className='RichText'> + {/* {dataSource?.[0]?.actTitle} */} + - - {/* style={{width:'375px'}} */} - + + {/* style={{width:'375px'}} */} + ); diff --git a/src/pages/activityList/index.tsx b/src/pages/activityList/index.tsx index 4b80337..72b07b5 100644 --- a/src/pages/activityList/index.tsx +++ b/src/pages/activityList/index.tsx @@ -77,7 +77,7 @@ const activityList = () => { ); })} - ; + ); }; diff --git a/src/pages/components/ActiveCard/index.tsx b/src/pages/components/ActiveCard/index.tsx index dcc4356..7bdbb05 100644 --- a/src/pages/components/ActiveCard/index.tsx +++ b/src/pages/components/ActiveCard/index.tsx @@ -33,7 +33,6 @@ const ActiveCard = () => { - {" "} diff --git a/src/pages/home/index.scss b/src/pages/home/index.scss index b3fd6c0..82d6d38 100644 --- a/src/pages/home/index.scss +++ b/src/pages/home/index.scss @@ -1,5 +1,6 @@ .homeContent{ padding: 20px; + padding-bottom: 150px; .tagStyle{ font-size: 18px; } diff --git a/src/pages/home/index.tsx b/src/pages/home/index.tsx index 156ba4d..e194dd2 100644 --- a/src/pages/home/index.tsx +++ b/src/pages/home/index.tsx @@ -157,7 +157,7 @@ const Home = () => { - {[1, 2].map((item: any) => { + {[1, 2,3,4].map((item: any) => { return ( { diff --git a/src/pages/my/index.module.scss b/src/pages/my/index.module.scss index 6d7b2f1..b197d05 100644 --- a/src/pages/my/index.module.scss +++ b/src/pages/my/index.module.scss @@ -1,3 +1,7 @@ +.myContentDiv{ + padding: 20px; +} + .myContent{ // background-color: yellow; display: flex; diff --git a/src/pages/my/index.tsx b/src/pages/my/index.tsx index 98a41fc..59dbc58 100644 --- a/src/pages/my/index.tsx +++ b/src/pages/my/index.tsx @@ -4,11 +4,10 @@ import react, { useEffect } from "react"; import TabbarCom from "../components/TabbarCom"; import { Image } from "@antmjs/vantui"; // import styles from './index.module.scss' -import './index.module.scss' -import { Tab, Tabs } from '@antmjs/vantui' +import "./index.module.scss"; +import { Tab, Tabs } from "@antmjs/vantui"; import Taro from "@tarojs/taro"; - - +import ActiveCard from "../components/ActiveCard"; const my = (props: any) => { // const [active, setActive] = react.useState(props?.active ?? 0); @@ -20,21 +19,25 @@ const my = (props: any) => { }); }, []); - const CardCom=()=>{ - return - } + const CardCom = () => { + return ( + + + // + ); + }; return ( - + {/* */} {/* 头像 */} - + { - - {CardCom()} - {CardCom()} - {CardCom()} - {CardCom()} - - + + {CardCom()} + {CardCom()} + {CardCom()} + {CardCom()} + + - - {/* */} - { - Taro.openCustomerServiceChat({ - corpId:'wwb04af9a97514271c', //企业id - extInfo: {url: 'https://work.weixin.qq.com/kfid/kfc70f3f112c97a54c5'}, - success: function (res) { } - }) - }}/> - {/* */} - + + {/* */} + { + Taro.openCustomerServiceChat({ + corpId: "wwb04af9a97514271c", //企业id + extInfo: { + url: "https://work.weixin.qq.com/kfid/kfc70f3f112c97a54c5", + }, + success: function (res) {}, + }); + }} + /> + {/* */} +