diff --git a/dist/app.js b/dist/app.js
index fe49317..9be4704 100644
--- a/dist/app.js
+++ b/dist/app.js
@@ -1,2 +1,2 @@
/*! For license information please see app.js.LICENSE.txt */
-"use strict";require("./prebundle/vendors-node_modules_taro_weapp_prebundle_antmjs_vantui_js.js"),require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js.js"),require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-OEADN3SU_js.js"),require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js.js"),require("./prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-framework-react_dist_runtime_js.js"),require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-TUA3UK7E_js.js"),require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js.js"),require("./prebundle/node_modules_taro_weapp_prebundle_tarojs_plugin-platform-weapp_dist_runtime_js.js"),require("./prebundle/node_modules_taro_weapp_prebundle_react_jsx-runtime_js.js"),require("./prebundle/remoteEntry.js"),require("./prebundle/node_modules_taro_weapp_prebundle_react_js.js"),require("./prebundle/node_modules_taro_weapp_prebundle_tarojs_runtime_js.js"),require("./prebundle/node_modules_taro_weapp_prebundle_react-dom_js.js"),require("./prebundle/node_modules_taro_weapp_prebundle_tarojs_taro_js.js"),require("./common"),require("./vendors"),require("./taro"),require("./runtime"),(wx.webpackJsonp=wx.webpackJsonp||[]).push([["app"],{"./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./src/app.ts":function(e,t,r){var n=r("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),o=r("./node_modules/@babel/runtime/helpers/esm/createClass.js"),u=r("./node_modules/@babel/runtime/helpers/esm/inherits.js"),s=r("./node_modules/@babel/runtime/helpers/esm/createSuper.js"),a=r("webpack/container/remote/@tarojs/taro"),i=r.n(a),l=r("webpack/container/remote/react"),d=function(e){(0,u.default)(App,e);var t=(0,s.default)(App);function App(){return(0,n.default)(this,App),t.apply(this,arguments)}return(0,o.default)(App,[{key:"componentDidMount",value:function componentDidMount(){i().cloud.init({env:"cloud1-5g5xrgza12a0dd6d",traceUser:!0}),new(i().cloud.Cloud)({resourceEnv:"cloud1-5g5xrgza12a0dd6d"}).init()}},{key:"componentDidShow",value:function componentDidShow(){}},{key:"componentDidHide",value:function componentDidHide(){}},{key:"render",value:function render(){return this.props.children}}]),App}(l.Component);t.default=d},"./src/app.ts":function(e,t,r){r("webpack/container/remote/@tarojs/plugin-platform-weapp/dist/runtime");var n=r("webpack/container/remote/@tarojs/runtime"),o=r("webpack/container/remote/@tarojs/plugin-framework-react/dist/runtime"),u=r("webpack/container/remote/@tarojs/taro"),s=r("./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./src/app.ts"),a=r("webpack/container/remote/react"),i=r("webpack/container/remote/react-dom"),l=r.n(i),d={pages:["pages/home/index","pages/activityList/index","pages/mountainPeak/index","pages/my/index"],window:{backgroundTextStyle:"light",navigationBarBackgroundColor:"#fff",navigationBarTitleText:"WeChat",navigationBarTextStyle:"black"}};n.window.__taroAppConfig=d;App((0,o.createReactApp)(s.default,a,l(),d));(0,u.initPxTransform)({designWidth:750,deviceRatio:{640:1.17,750:1,828:.905}})},"./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":function(e,t,r){function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,{default:function(){return _assertThisInitialized}})},"./node_modules/@babel/runtime/helpers/esm/classCallCheck.js":function(e,t,r){function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,{default:function(){return _classCallCheck}})},"./node_modules/@babel/runtime/helpers/esm/createClass.js":function(e,t,r){function _defineProperties(e,t){for(var r=0;r
+
\ No newline at end of file
diff --git a/dist/pages/activityList/index.js b/dist/pages/activityList/index.js
index 50518e1..01688c2 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,O=e.onClosed,k=e.onChange,S=void 0===k?function(){}:k,I=e.options,T=void 0===I?[]:I,E=e.className,P=void 0===E?"":E,L=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:T,value:te,toggle:ae})}),[t,f,h,w,b,W,Y,$,U,T,te,ae]);var ie=(0,i.useCallback)((function(){O&&O(),setTimeout((function(){q(!1)}),10)}),[O]);return(0,i.useImperativeHandle)(n,(function(){return{toggle:ae}})),Z?(0,p.jsx)(a.View,{className:l.bem("dropdown-item",y.direction)+" "+P,style:l.style([V,L]),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:[(T||[]).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&&S(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,O=(0,s.default)(e,d),k=(0,i.useState)([]),S=(0,o.default)(k,2),I=S[0],T=S[1],E=(0,i.useRef)([]),P=(0,i.useRef)(),L=(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(){P.current=new Date,p.push({closeOnClickOutside:C,TimerKey:P,close:A})}),[C,A]),(0,i.useLayoutEffect)((function(){N()}),[O.children]),(0,i.useEffect)((function(){return function(){p=(p||[]).filter((function(e){return e&&e.TimerKey!==P}))}}),[]);var N=function updateItemListData(){setTimeout((function(){E.current&&T(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!==P&&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(L.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(O.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,O.children,m,z]);return(0,c.jsxs)(a.View,{className:"van-dropdown-menu van-dropdown-menu".concat(L.current," van-dropdown-menu--top-bottom ").concat(_),style:l.style([g,{position:"relative"}]),children:[(I||[]).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:_,onClose:ae,onAfterEnter:g,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),_&&_(),se(),t&&S(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,g=e.className,_=e.style,k=(0,s.default)(e,d),O=(0,i.useState)([]),S=(0,o.default)(O,2),T=S[0],I=S[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(g),style:l.style([_,{position:"relative"}]),children:[(T||[]).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=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"),u=["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,l=e.clickable,d=e.columnNum,m=void 0===d?4:d,f=e.center,p=void 0===f||f,j=e.border,v=void 0===j||j,b=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,P=void 0===O?{}:O,k=(0,o.default)(e,u),C=(0,a.useRef)([]),N=(0,a.useCallback)((function(){C.current.forEach((function(e){e.updateStyle()}))}),[]);(0,a.useEffect)((function(){N()}),[N]);var T=(0,a.useCallback)((function(e,t){C.current[e]=t}),[]),D=(0,a.useMemo)((function(){var e=[];return k.children&&Array.isArray(k.children)&&k.children.forEach((function(t,o){e.push((0,a.cloneElement)(t,{setChildrenInstance:T,key:o,index:o,parentInstance:{columnNum:m,border:v,square:y,gutter:n,clickable:l,center:p,direction:b,reverse:x,iconSize:g}}))})),e}),[k.children,m]);return(0,c.jsx)(r.View,{className:"van-grid "+(v&&!n?"van-hairline--top":"")+" "+S,style:i.style([s.rootStyle({gutter:n}),P]),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/loading/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("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),s=n("webpack/container/remote/react"),c=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),u=n("./node_modules/@antmjs/vantui/es/loading/wxs.js"),l=n("webpack/container/remote/react/jsx-runtime"),d=["vertical","type","color","size","textSize","className","children","style"];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,v((function(t){return _objectSpread(_objectSpread({},t),{},{animationData:h.current.resetAnimation.translateX(e?0:h.current.wrapWidth).step().export()})})),setTimeout((function(){(0,l.requestAnimationFrame)((function(){v((function(e){return _objectSpread(_objectSpread({},e),{},{animationData:h.current.animation.translateX(-h.current.contentWidth).step().export()})}))}))}),10),h.current.timer=setTimeout((function(){J()}),h.current.duration)}),[]),B=(0,s.useCallback)((function(){(0,l.requestAnimationFrame)((function(){Promise.all([(0,l.getRect)(null,".van-notice-bar__content_".concat(o.unitag)),(0,l.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!==z&&(0,i.nextTick)((function(){(z||n.width<=t.width)&&(h.current.wrapWidth=n.width,h.current.contentWidth=t.width,h.current.duration=(n.width+t.width)/T*1e3,h.current.animation=(0,i.createAnimation)({duration:h.current.duration,timingFunction:"linear",delay:C}),J(!0))}))}))}))}),[o.unitag,z,T,C,J]),Q=(0,s.useCallback)((function(e){"closeable"===x&&(h.current.timer&&clearTimeout(h.current.timer),h.current.timer=null,v((function(e){return _objectSpread(_objectSpread({},e),{},{show:!1})})),null==F||F(e))}),[x,F]);return o.show&&(0,f.jsxs)(c.View,_objectSpread(_objectSpread({className:u.bem("notice-bar",{withicon:x,wrapable:X})+" ".concat(L||""),style:u.style([m.rootStyle({color:q,backgroundColor:M,background:K}),U])},H),{},{onClick:W,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!==z||X?"":"van-ellipsis"),animation:o.animationData,children:[y,!y&&G]})}),"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:P,children:(0,f.jsx)(d.default,{className:"van-notice-bar__right-icon",name:"arrow"})}):Y]}))}},"./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/swiper-item/index.js":function(e,t,n){"use strict";var o=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),r=n("webpack/container/remote/react"),a=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),i=n("./node_modules/@antmjs/vantui/es/swiper/context.js"),s=n("webpack/container/remote/react/jsx-runtime");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(),ke(),Oe((function(){Oe((function(){N.current.moving=!1,xe({pace:-1,isEmit:!0})}))}))},ye=function next(){he(),ke(),Oe((function(){Oe((function(){N.current.moving=!1,xe({pace:1,isEmit:!0})}))}))},we=function to(e){he(),ke(),Oe((function(){Oe((function(){var t;N.current.moving=!1,t=c.loop&&me===e?0===K?0:e:e%me,xe({pace:t-K,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),u=Se(s,r);if(c.loop){if(Array.isArray(d)&&d[0]&&u!==je){var l=u0;te[me-1]=m?-fe:0}ne(te)}i&&K!==s&&c.onChange&&c.onChange((s+me)%me),K=s,X(s),$(u),Ne(u)}},_e=function getActive(e){if(e){var t=K+e;return c.loop?Pe(t,-1,me):Pe(t,0,me-1)}return K},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=Pe(o,je,0)),o},Oe=function requestFrame(e){h.requestAnimationFrame.call(h,e)},Pe=function range(e,t,n){return Math.min(Math.max(e,t),n)},ke=function touchReset(){ue.startX=0,ue.startY=0,ue.deltaX=0,ue.deltaY=0,ue.offsetX=0,ue.offsetY=0,ue.delta=0,ue.stateDirection="",ue.touchTime=0},Ce=m()((n={},(0,i.default)(n,"van-swiper__inner",!0),(0,i.default)(n,"van-swiper__vertical",z),n)),Ne=function getStyle(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q,t=C.current,n=0;if(S){var o=z?G:W,r=z?(null==A?void 0:A.height)-o:(null==A?void 0:A.width)-o;n=e+(K!==me-1||c.loop?r/2:-r/2)}else n=e;t.style.transitionDuration="".concat(N.current.moving?0:c.duration,"ms"),t.style[z?"height":"width"]="".concat(Number(se)*me,"px"),t.style[z?"width":"height"]="".concat(z?W:G,"px"),t.style.transform="translate3D".concat(z?"(0,".concat(n,"px,0)"):"(".concat(n,"px,0,0)"))};(0,l.useEffect)((function(){N.current.activePagination=(K+me)%me}),[K]);var Te=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)(u().mark((function _callee(){var e,t,n,o,r,a,i=arguments;return u().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,Te(k.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=z?r:o,fe=me*Number(se),a=Se(n),N.current.moving=!0,ae&&(N.current.moving=!1),q(t),X(n),F(o),H(r),$(a),ie(!0);case 18:case"end":return s.stop()}}),_callee)})));return function init(){return e.apply(this,arguments)}}();(0,l.useEffect)((function(){ae&&Ne()}),[z,W,G,Q,ae]),(0,l.useEffect)((function(){return function(){ie(!1)}}),[]),(0,l.useEffect)((function(){ve(),be()}),[d]),(0,l.useEffect)((function(){De()}),[c.initPage]),(0,l.useEffect)((function(){return function(){ve()}}),[]),(0,f.useReady)((function(){De(),p().nextTick((function(){setTimeout((function(){ve(),be()}),16)}))}));var ze=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,l.useImperativeHandle)(t,(function(){return{to:we,next:ye,prev:ge}})),(0,b.jsx)(v.DataContext.Provider,{value:pe,children:(0,b.jsxs)(j.View,_objectSpread(_objectSpread({className:"van-swiper ".concat(x),ref:k},P),{},{id:"container-"+D,onTouchStart:function onTouchStart(e){c.isPreventDefault&&e.preventDefault(),c.isStopPropagation&&e.stopPropagation(),c.touchable&&(!function touchStart(e){var t,n;ke(),ue.startX=(null==e||null===(t=e.touches[0])||void 0===t?void 0:t.clientX)||0,ue.startY=(null==e||null===(n=e.touches[0])||void 0===n?void 0:n.clientY)||0}(e),ue.touchTime=Date.now(),ve(),he())},onTouchMove:function onTouchMove(e){c.touchable&&N.current.moving&&(!function touchMove(e){var t,n;ue.deltaX=((null==e||null===(t=e.touches[0])||void 0===t?void 0:t.clientX)||0)-ue.startX,ue.deltaY=((null==e||null===(n=e.touches[0])||void 0===n?void 0:n.clientY)||0)-ue.startY,ue.offsetX=Math.abs(ue.deltaX),ue.offsetY=Math.abs(ue.deltaY),ue.delta=z?ue.deltaY:ue.deltaX,ue.stateDirection||(ue.stateDirection=function getDirection(e,t){return e>t&&e>5?"horizontal":t>e&&t>5?"vertical":""}(ue.offsetX,ue.offsetY))}(e),ue.stateDirection===c.direction&&xe({offset:ue.delta}))},onTouchEnd:function onTouchEnd(){if(c.touchable&&N.current.moving){var e=ue.delta/(Date.now()-ue.touchTime),t=Math.abs(e)>.3||Math.abs(ue.delta)>+(se/2).toFixed(2),n=0;if(N.current.moving=!1,t&&ue.stateDirection===c.direction){var o=z?ue.offsetY:ue.offsetX;n=c.loop?o>0?ue.delta>0?-1:1:0:-Math[ue.delta>0?"ceil":"floor"](ue.delta/se),xe({pace:n,isEmit:!0})}else ue.delta?xe({pace:0}):Ne();be()}},catchMove:z,style:_objectSpread(_objectSpread({},O),{},{height:G}),children:[(0,b.jsxs)(j.View,{className:Ce,ref:C,children:[l.Children.map(de,(function(e,t){return(0,b.jsx)(j.View,{className:"van-swiper-item-wrapper",style:ze(t),children:e},t)})),(0,b.jsx)(j.View,{className:"van-swiper-item-wrapper",style:ze(0),children:de&&de.length?de[0]:""})]}),c.paginationVisible&&!("pageContent"in c)?(0,b.jsx)(j.View,{className:m()((s={},(0,i.default)(s,"van-swiper__pagination",!0),(0,i.default)(s,"van-swiper__pagination-vertical",z),s)),children:l.Children.map(de,(function(e,t){var n;return(0,b.jsx)(j.Text,{style:(K+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",(K+me)%me===t),n))},t)}))}):(0,b.jsx)(j.View,{children:_})]}))})},x=(0,l.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)))},T=(0,s.useCallback)((function(e){C(e)}),[]),D=(0,s.useCallback)((function(e){g=Object.assign(g,e)}),[]),z=(0,s.useCallback)((function(){g=Object.assign({},h)}),[]);return(0,s.useEffect)((function(){return(0,f.on)("toast_show",N),(0,f.on)("toast_clear",T),(0,f.on)("toast_setDefaultOptions",D),(0,f.on)("toast_resetDefaultOptions",z),function(){(0,f.off)("toast_show",N),(0,f.off)("toast_clear",T),(0,f.off)("toast_setDefaultOptions",D),(0,f.off)("toast_resetDefaultOptions",z)}}),[]),(0,j.jsxs)(i.View,{children:[(o.mask||o.forbidClick)&&(0,j.jsx)(u.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(){}},P),{},{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)(l.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/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=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"),u=["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,l=e.clickable,d=e.columnNum,m=void 0===d?4:d,f=e.center,p=void 0===f||f,j=e.border,v=void 0===j||j,b=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,P=(0,o.default)(e,u),C=(0,a.useRef)([]),N=(0,a.useCallback)((function(){C.current.forEach((function(e){e.updateStyle()}))}),[]);(0,a.useEffect)((function(){N()}),[N]);var T=(0,a.useCallback)((function(e,t){C.current[e]=t}),[]),D=(0,a.useMemo)((function(){var e=[];return P.children&&Array.isArray(P.children)&&P.children.forEach((function(t,o){e.push((0,a.cloneElement)(t,{setChildrenInstance:T,key:o,index:o,parentInstance:{columnNum:m,border:v,square:y,gutter:n,clickable:l,center:p,direction:b,reverse:x,iconSize:g}}))})),e}),[P.children,m]);return(0,c.jsx)(r.View,{className:"van-grid "+(v&&!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/loading/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("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),s=n("webpack/container/remote/react"),c=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),u=n("./node_modules/@antmjs/vantui/es/loading/wxs.js"),l=n("webpack/container/remote/react/jsx-runtime"),d=["vertical","type","color","size","textSize","className","children","style"];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,v((function(t){return _objectSpread(_objectSpread({},t),{},{animationData:h.current.resetAnimation.translateX(e?0:h.current.wrapWidth).step().export()})})),setTimeout((function(){(0,l.requestAnimationFrame)((function(){v((function(e){return _objectSpread(_objectSpread({},e),{},{animationData:h.current.animation.translateX(-h.current.contentWidth).step().export()})}))}))}),10),h.current.timer=setTimeout((function(){J()}),h.current.duration)}),[]),B=(0,s.useCallback)((function(){(0,l.requestAnimationFrame)((function(){Promise.all([(0,l.getRect)(null,".van-notice-bar__content_".concat(o.unitag)),(0,l.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!==z&&(0,i.nextTick)((function(){(z||n.width<=t.width)&&(h.current.wrapWidth=n.width,h.current.contentWidth=t.width,h.current.duration=(n.width+t.width)/T*1e3,h.current.animation=(0,i.createAnimation)({duration:h.current.duration,timingFunction:"linear",delay:C}),J(!0))}))}))}))}),[o.unitag,z,T,C,J]),Q=(0,s.useCallback)((function(e){"closeable"===x&&(h.current.timer&&clearTimeout(h.current.timer),h.current.timer=null,v((function(e){return _objectSpread(_objectSpread({},e),{},{show:!1})})),null==F||F(e))}),[x,F]);return o.show&&(0,f.jsxs)(c.View,_objectSpread(_objectSpread({className:u.bem("notice-bar",{withicon:x,wrapable:X})+" ".concat(U||""),style:u.style([m.rootStyle({color:q,backgroundColor:M,background:K}),L])},H),{},{onClick:W,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!==z||X?"":"van-ellipsis"),animation:o.animationData,children:[y,!y&&G]})}),"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"})}):Y]}))}},"./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/swiper-item/index.js":function(e,t,n){"use strict";var o=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),r=n("webpack/container/remote/react"),a=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),i=n("./node_modules/@antmjs/vantui/es/swiper/context.js"),s=n("webpack/container/remote/react/jsx-runtime");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(),Pe(),Oe((function(){Oe((function(){N.current.moving=!1,xe({pace:-1,isEmit:!0})}))}))},ye=function next(){he(),Pe(),Oe((function(){Oe((function(){N.current.moving=!1,xe({pace:1,isEmit:!0})}))}))},we=function to(e){he(),Pe(),Oe((function(){Oe((function(){var t;N.current.moving=!1,t=c.loop&&me===e?0===K?0:e:e%me,xe({pace:t-K,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),u=Se(s,r);if(c.loop){if(Array.isArray(d)&&d[0]&&u!==je){var l=u0;te[me-1]=m?-fe:0}ne(te)}i&&K!==s&&c.onChange&&c.onChange((s+me)%me),K=s,X(s),$(u),Ne(u)}},_e=function getActive(e){if(e){var t=K+e;return c.loop?ke(t,-1,me):ke(t,0,me-1)}return K},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)},Pe=function touchReset(){ue.startX=0,ue.startY=0,ue.deltaX=0,ue.deltaY=0,ue.offsetX=0,ue.offsetY=0,ue.delta=0,ue.stateDirection="",ue.touchTime=0},Ce=m()((n={},(0,i.default)(n,"van-swiper__inner",!0),(0,i.default)(n,"van-swiper__vertical",z),n)),Ne=function getStyle(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q,t=C.current,n=0;if(S){var o=z?G:W,r=z?(null==A?void 0:A.height)-o:(null==A?void 0:A.width)-o;n=e+(K!==me-1||c.loop?r/2:-r/2)}else n=e;t.style.transitionDuration="".concat(N.current.moving?0:c.duration,"ms"),t.style[z?"height":"width"]="".concat(Number(se)*me,"px"),t.style[z?"width":"height"]="".concat(z?W:G,"px"),t.style.transform="translate3D".concat(z?"(0,".concat(n,"px,0)"):"(".concat(n,"px,0,0)"))};(0,l.useEffect)((function(){N.current.activePagination=(K+me)%me}),[K]);var Te=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)(u().mark((function _callee(){var e,t,n,o,r,a,i=arguments;return u().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,Te(P.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=z?r:o,fe=me*Number(se),a=Se(n),N.current.moving=!0,ae&&(N.current.moving=!1),q(t),X(n),F(o),H(r),$(a),ie(!0);case 18:case"end":return s.stop()}}),_callee)})));return function init(){return e.apply(this,arguments)}}();(0,l.useEffect)((function(){ae&&Ne()}),[z,W,G,Q,ae]),(0,l.useEffect)((function(){return function(){ie(!1)}}),[]),(0,l.useEffect)((function(){ve(),be()}),[d]),(0,l.useEffect)((function(){De()}),[c.initPage]),(0,l.useEffect)((function(){return function(){ve()}}),[]),(0,f.useReady)((function(){De(),p().nextTick((function(){setTimeout((function(){ve(),be()}),16)}))}));var ze=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,l.useImperativeHandle)(t,(function(){return{to:we,next:ye,prev:ge}})),(0,b.jsx)(v.DataContext.Provider,{value:pe,children:(0,b.jsxs)(j.View,_objectSpread(_objectSpread({className:"van-swiper ".concat(x),ref:P},k),{},{id:"container-"+D,onTouchStart:function onTouchStart(e){c.isPreventDefault&&e.preventDefault(),c.isStopPropagation&&e.stopPropagation(),c.touchable&&(!function touchStart(e){var t,n;Pe(),ue.startX=(null==e||null===(t=e.touches[0])||void 0===t?void 0:t.clientX)||0,ue.startY=(null==e||null===(n=e.touches[0])||void 0===n?void 0:n.clientY)||0}(e),ue.touchTime=Date.now(),ve(),he())},onTouchMove:function onTouchMove(e){c.touchable&&N.current.moving&&(!function touchMove(e){var t,n;ue.deltaX=((null==e||null===(t=e.touches[0])||void 0===t?void 0:t.clientX)||0)-ue.startX,ue.deltaY=((null==e||null===(n=e.touches[0])||void 0===n?void 0:n.clientY)||0)-ue.startY,ue.offsetX=Math.abs(ue.deltaX),ue.offsetY=Math.abs(ue.deltaY),ue.delta=z?ue.deltaY:ue.deltaX,ue.stateDirection||(ue.stateDirection=function getDirection(e,t){return e>t&&e>5?"horizontal":t>e&&t>5?"vertical":""}(ue.offsetX,ue.offsetY))}(e),ue.stateDirection===c.direction&&xe({offset:ue.delta}))},onTouchEnd:function onTouchEnd(){if(c.touchable&&N.current.moving){var e=ue.delta/(Date.now()-ue.touchTime),t=Math.abs(e)>.3||Math.abs(ue.delta)>+(se/2).toFixed(2),n=0;if(N.current.moving=!1,t&&ue.stateDirection===c.direction){var o=z?ue.offsetY:ue.offsetX;n=c.loop?o>0?ue.delta>0?-1:1:0:-Math[ue.delta>0?"ceil":"floor"](ue.delta/se),xe({pace:n,isEmit:!0})}else ue.delta?xe({pace:0}):Ne();be()}},catchMove:z,style:_objectSpread(_objectSpread({},O),{},{height:G}),children:[(0,b.jsxs)(j.View,{className:Ce,ref:C,children:[l.Children.map(de,(function(e,t){return(0,b.jsx)(j.View,{className:"van-swiper-item-wrapper",style:ze(t),children:e},t)})),(0,b.jsx)(j.View,{className:"van-swiper-item-wrapper",style:ze(0),children:de&&de.length?de[0]:""})]}),c.paginationVisible&&!("pageContent"in c)?(0,b.jsx)(j.View,{className:m()((s={},(0,i.default)(s,"van-swiper__pagination",!0),(0,i.default)(s,"van-swiper__pagination-vertical",z),s)),children:l.Children.map(de,(function(e,t){var n;return(0,b.jsx)(j.Text,{style:(K+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",(K+me)%me===t),n))},t)}))}):(0,b.jsx)(j.View,{children:_})]}))})},x=(0,l.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)))},T=(0,s.useCallback)((function(e){C(e)}),[]),D=(0,s.useCallback)((function(e){g=Object.assign(g,e)}),[]),z=(0,s.useCallback)((function(){g=Object.assign({},h)}),[]);return(0,s.useEffect)((function(){return(0,f.on)("toast_show",N),(0,f.on)("toast_clear",T),(0,f.on)("toast_setDefaultOptions",D),(0,f.on)("toast_resetDefaultOptions",z),function(){(0,f.off)("toast_show",N),(0,f.off)("toast_clear",T),(0,f.off)("toast_setDefaultOptions",D),(0,f.off)("toast_resetDefaultOptions",z)}}),[]),(0,j.jsxs)(i.View,{children:[(o.mask||o.forbidClick)&&(0,j.jsx)(u.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)(l.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/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{
+ return details
+}
+
+export default details
\ No newline at end of file
diff --git a/src/pages/activityList/index.tsx b/src/pages/activityList/index.tsx
index e72f532..16c3e88 100644
--- a/src/pages/activityList/index.tsx
+++ b/src/pages/activityList/index.tsx
@@ -3,6 +3,7 @@ import react from "react";
import { Card, DropdownMenu } from "@antmjs/vantui";
import { DropdownItem } from "@antmjs/vantui";
import TabbarCom from "../components/TabbarCom";
+import Taro from "@tarojs/taro";
const activityList = () => {
const [state, setState] = react.useState({
@@ -14,7 +15,7 @@ const activityList = () => {
{
text: "附近活动",
value: 1,
- }
+ },
],
option2: [
{
@@ -44,22 +45,24 @@ const activityList = () => {
{[1, 2].map((item: any) => {
return (
-
- //
- //
- //
- // }
- />
+ {
+ console.log('Card')
+ Taro.navigateTo({
+ url: "/pages/activityList/components/details/index",
+ });
+ }}
+ >
+
+
);
})}
-
;
);
diff --git a/src/pages/home/index.tsx b/src/pages/home/index.tsx
index 703be07..bf4669f 100644
--- a/src/pages/home/index.tsx
+++ b/src/pages/home/index.tsx
@@ -31,12 +31,12 @@ const Home = () => {
useEffect(() => {
Taro.showShareMenu({
- withShareTicket: true
- })
+ withShareTicket: true,
+ });
Taro.updateShareMenu({
withShareTicket: true,
- success () { }
- })
+ success() {},
+ });
// let objParams = {
// tableName: "test",
// id: "80516fb66370bcf300b8f43c5f4dd52b",
@@ -139,19 +139,23 @@ const Home = () => {
{[1, 2].map((item: any) => {
return (
-
- //
- //
- //
- // }
- />
+ {
+ console.log("Card");
+ Taro.navigateTo({
+ url: "/pages/activityList/components/details/index",
+ });
+ }}
+ >
+ {" "}
+
+
);
})}