From 54d12d3259d5a5b6f2364eea33cf1beca49eff98 Mon Sep 17 00:00:00 2001 From: eric Date: Sun, 20 Nov 2022 22:12:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cloudfunctions/index.js | 16 ++ dist/base.wxml | 4 + dist/pages/my/index.js | 2 +- dist/pages/my/index.js.LICENSE.txt | 4 +- dist/pages/my/index.wxss | 1 - dist/prebundle/remoteEntry.js | 2 +- dist/project.config.json | 1 + dist/taro.js | 2 +- package.json | 3 +- project.config.json | 1 + src/pages/my/index.module.scss | 2 +- src/pages/my/index.tsx | 79 +++++- yarn.lock | 398 ++++++++++++++++++++++++++++- 13 files changed, 492 insertions(+), 23 deletions(-) create mode 100644 cloudfunctions/index.js diff --git a/cloudfunctions/index.js b/cloudfunctions/index.js new file mode 100644 index 0000000..ba95da2 --- /dev/null +++ b/cloudfunctions/index.js @@ -0,0 +1,16 @@ +// 云函数入口文件 +const cloud = require('wx-server-sdk') + +cloud.init() + +// 云函数入口函数 +exports.main = async (event, context) => { + const wxContext = cloud.getWXContext() + + return { + event, + openid: wxContext.OPENID, + appid: wxContext.APPID, + unionid: wxContext.UNIONID, + } +} \ No newline at end of file diff --git a/dist/base.wxml b/dist/base.wxml index 0918159..5d58feb 100644 --- a/dist/base.wxml +++ b/dist/base.wxml @@ -129,6 +129,10 @@ + + diff --git a/dist/pages/my/index.js b/dist/pages/my/index.js index a5b9ab0..8e7f6e9 100644 --- a/dist/pages/my/index.js +++ b/dist/pages/my/index.js @@ -1,2 +1,2 @@ /*! For license information please see index.js.LICENSE.txt */ -"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["pages/my/index"],{"./node_modules/@antmjs/vantui/es/mixins/page-scroll.js":function(e,t,n){n.d(t,{usePageScroll:function(){return usePageScroll}});var r=n("webpack/container/remote/react"),i=n("webpack/container/remote/@tarojs/taro");n("webpack/container/remote/@tarojs/runtime"),n("webpack/container/remote/@tarojs/runtime").document;function usePageScroll(e){(0,r.useEffect)((function(){return void 0}),[e]),(0,i.usePageScroll)((function(t){e(t)}))}},"./node_modules/@antmjs/vantui/es/sticky/index.js":function(e,t,n){n.d(t,{Sticky:function(){return Sticky}});var r=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),i=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=n("webpack/container/remote/react"),a=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),c=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),l=n("./node_modules/@antmjs/vantui/es/common/utils.js"),u=n("./node_modules/@antmjs/vantui/es/common/validator.js"),d=n("./node_modules/@antmjs/vantui/es/mixins/page-scroll.js"),f=n("./node_modules/@antmjs/vantui/es/sticky/wxs.js"),m=n("webpack/container/remote/react/jsx-runtime"),p=["zIndex","offsetTop","scrollTop","disabled","container","onScroll","style","className","children"];function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[];return t(e[0])}))}))}),[g]),N=(0,s.useCallback)((function(e){var t=Object.keys(e).reduce((function(t,n){return e[n]!==b[n]&&(t[n]=e[n]),t}),{});Object.keys(t).length>0&&j((function(e){return _objectSpread(_objectSpread({},e),t)})),null==_||_({detail:{scrollTop:C.current.scrollTop,isFixed:e.fixed||b.fixed}})}),[_,b]),I=(0,s.useCallback)((function(e){w?N({fixed:!1,transform:0}):(C.current.scrollTop=e||C.current.scrollTop,"function"!=typeof g?(0,l.getRect)(null,"#sticky-com-index".concat(t.current)).then((function(e){(0,u.isDef)(e)&&(x>=e.top?N({fixed:!0,height:e.height}):N({fixed:!1}))})):Promise.all([(0,l.getRect)(null,"#sticky-com-index".concat(t.current)),P()]).then((function(e){var t=(0,o.default)(e,2),n=t[0],r=t[1];n&&r&&(x+n.height>r.height+r.top?N({fixed:!1,transform:r.height-n.height}):x>=n.top?N({fixed:!0,height:n.height,transform:0}):N({fixed:!1,transform:0}))})).catch((function(e){console.log(e)})))}),[g,w,P,x,N]);return(0,s.useEffect)((function(){I(y)}),[y,g,w,x]),(0,d.usePageScroll)((function(e){I(e.scrollTop)})),(0,m.jsx)(a.View,_objectSpread(_objectSpread({id:"sticky-com-index".concat(t.current),className:" van-sticky "+(S||""),style:c.style([f.containerStyle({fixed:b.fixed,height:b.height,zIndex:h}),k])},T),{},{children:(0,m.jsx)(a.View,{className:c.bem("sticky-wrap",{fixed:b.fixed})+" ".concat(S||""),style:c.style([f.wrapStyle({fixed:b.fixed,offsetTop:x,transform:b.transform,zIndex:h}),k]),children:O})}))}},"./node_modules/@antmjs/vantui/es/sticky/wxs.js":function(e,t,n){n.d(t,{wrapStyle:function(){return wrapStyle},containerStyle:function(){return containerStyle}});var r=n("./node_modules/@antmjs/vantui/es/wxs/style.js");function wrapStyle(e){return(0,r.style)({transform:e.transform?"translate3d(0, "+e.transform+"px, 0)":"",top:e.fixed?e.offsetTop+"px":"","z-index":e.zIndex})}function containerStyle(e){return(0,r.style)({height:e.fixed?e.height+"px":"","z-index":e.zIndex})}},"./node_modules/@antmjs/vantui/es/tab/index.js":function(e,t,n){var r=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),i=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=n("webpack/container/remote/react"),a=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),c=n("./node_modules/@antmjs/vantui/es/wxs/utils.js"),l=n("webpack/container/remote/react/jsx-runtime"),u=["children","style","className","active","lazyRender","lazyTimeout","animated","title"];function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t=we.length||e<0)&&e!==D){var t=null!==D;N((function(t){return _objectSpread(_objectSpread({},t),{},{currentIndex:e})})),(0,j.requestAnimationFrame)((function(){Oe(e),Ce(e)})),(0,l.nextTick)((function(){t&&ge("onChange",we[e])}))}},Se=function setCurrentIndexByName(e){var t=we.filter((function(t){return(t.props.name||t.props.index)===e}));t.length&&ke(t[0].props.index)},Oe=function resize(e){var r;"line"===K&&(e=null!==(r=e)&&void 0!==r?r:D,(0,l.nextTick)((function(){Promise.all([(0,j.getAllRect)(null,".tabs-com-index".concat(n.current," .van-tab")),(0,j.getRect)(null,".tabs-com-index".concat(n.current," .van-tabs__line"))]).then((function(n){var r=(0,o.default)(n,2),i=r[0],s=void 0===i?[]:i,a=r[1];if(s&&a){var c=s[e];if(null==c)return;var u=s.slice(0,e).reduce((function(e,t){return e+t.width}),0);u+=(c.width-a.width)/2+(Q?0:8),N((function(e){return _objectSpread(_objectSpread({},e),{},{lineOffsetLeft:u})})),t.current.swiping=!0,E&&(0,l.nextTick)((function(){N((function(e){return _objectSpread(_objectSpread({},e),{},{skipTransition:!1})}))}))}}))})))},Te=function onTap(e){var t=e.currentTarget.dataset.index;t=parseInt(t);var n=we[t];n.props.disabled?ge("onDisabled",n):(ke(t),(0,l.nextTick)((function(){ge("onClick",n)})))},Ce=function scrollIntoView(e){var t;z&&(e=null!==(t=e)&&void 0!==t?t:D,Promise.all([(0,j.getAllRect)(null,".tabs-com-index".concat(n.current," .van-tab")),(0,j.getRect)(null,".tabs-com-index".concat(n.current," .van-tabs__nav"))]).then((function(t){var n=(0,o.default)(t,2),r=n[0],i=n[1];if(r&&i){var s=r[e],a=r.slice(0,e).reduce((function(e,t){return e+t.width}),0);N((function(e){return _objectSpread(_objectSpread({},e),{},{scrollLeft:a-(i.width-s.width)/2})})),R||(0,l.nextTick)((function(){N((function(e){return _objectSpread(_objectSpread({},e),{},{scrollWithAnimation:!0})}))}))}})))},Pe=function touchStart(e){!function resetTouchStatus(){t.current.direction="",t.current.deltaX=0,t.current.deltaY=0,t.current.offsetX=0,t.current.offsetY=0}();var n=e.touches[0];t.current.startX=n.clientX,t.current.startY=n.clientY},Ne=function onTouchEnd(){if(A&&t.current.swiping){var e=t.current,n=e.direction,r=e.deltaX,i=e.offsetX;if("horizontal"===n&&i>=50){var o=function getAvaiableTab(e){for(var t=e>0?-1:1,n=t;D+n=0;n+=t){var r=D+n;if(r>=0&&rce||!Q})}))}),[ce,we,Q]),(0,u.useEffect)((function(){(0,l.nextTick)((function(){Oe()}))}),[we]);var Ie=(0,u.useCallback)((0,r.default)(c().mark((function _callee(){var e,t,r;return c().wrap((function _callee$(i){for(;;)switch(i.prev=i.next){case 0:if(e=0,!ue||!w){i.next=6;break}return i.next=4,(0,j.getAllRect)(null,"."+m.bem("renderNavLeft"+n.current));case 4:(t=i.sent).length&&(e+=t[0].width);case 6:if(!de||!w){i.next=11;break}return i.next=9,(0,j.getAllRect)(null,"."+m.bem("renderNavRight"+n.current));case 9:(r=i.sent).length&&(e+=r[0].width);case 11:e&&O("calc(100% - ".concat(e,"px)"));case 12:case"end":return i.stop()}}),_callee)}))),[ue,w,de]);return(0,u.useEffect)((function(){setTimeout((function(){Ie()}))}),[Ie,w]),(0,x.jsxs)(f.View,_objectSpread(_objectSpread({className:"tabs-com-index".concat(n.current," ")+" "+m.bem("tabs",[K]+" ".concat(he||"")),style:je},xe),{},{children:[(0,x.jsx)(b.Sticky,{disabled:!H,zIndex:U,offsetTop:F,container:q,onScroll:fe,children:(0,x.jsxs)(f.View,{className:m.bem("tabs__wrap",{scrollable:z})+" "+("line"===K&&J?"van-hairline--top-bottom":""),children:[(0,x.jsx)(f.View,{className:m.bem("renderNavLeft"+n.current),children:ue}),(0,x.jsx)(f.ScrollView,{scrollX:z,scrollWithAnimation:R,scrollLeft:I,className:m.bem("tabs__scroll",[K]),style:{width:S,borderColor:G},children:(0,x.jsxs)(f.View,{className:m.bem("tabs__nav",[K,{complete:!Q}])+" nav-class",style:v.navStyle(G,K),children:["line"===K&&(0,x.jsx)(f.View,{className:"van-tabs__line",style:v.lineStyle({color:G,lineOffsetLeft:V,lineHeight:ee,skipTransition:E,duration:ne,lineWidth:ie})}),ye.map((function(e,t){return(0,x.jsx)(f.View,{"data-index":t,className:v.tabClass(t===D,Q)+" "+m.bem("tab",{active:t===D,disabled:e.disabled,complete:!Q}),style:v.tabStyle({active:t===D,ellipsis:Q,color:G,type:K,disabled:e.disabled,titleActiveColor:oe,titleInactiveColor:se,swipeThreshold:ce,scrollable:z}),onClick:Te,children:(0,x.jsxs)(f.View,{className:Q?"van-ellipsis":"",style:e.titleStyle,children:[e.title,(null!==e.info||e.dot)&&(0,x.jsx)(h.Info,{info:e.info,dot:e.dot,className:"van-tab__title__info"})]})},t)}))]})}),(0,x.jsx)(f.View,{className:m.bem("renderNavRight"+n.current),children:de})]})}),(0,x.jsx)(f.View,{className:"van-tabs__content",onTouchStart:function onTouchStart(e){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"),i=n("./node_modules/@antmjs/vantui/es/wxs/utils.js");function tabClass(e,t){var n=["tab-class"];return e&&n.push("tab-active-class"),t&&n.push("van-ellipsis"),n.join(" ")}function tabStyle(e){var t=e.active?e.titleActiveColor:e.titleInactiveColor,n=e.scrollable&&e.ellipsis;return"card"===e.type?(0,r.style)({"border-color":e.color,"background-color":!e.disabled&&e.active?e.color:null,color:t||(e.disabled||e.active?null:e.color),"flex-basis":n?88/e.swipeThreshold+"%":null}):(0,r.style)({color:t,"flex-basis":n?88/e.swipeThreshold+"%":null})}function navStyle(e,t){return(0,r.style)({"border-color":"card"===t&&e?e:null})}function trackStyle(e){return e.animated?(0,r.style)({transform:"translate3d(".concat(-100*e.currentIndex,"%, 0px, 0px)"),"-webkit-transform":"translate3d(".concat(-100*e.currentIndex,"%, 0px, 0px)"),"transition-duration":e.duration+"s","-webkit-transition-duration":e.duration+"s",transition:e.duration+"s"}):""}function lineStyle(e){return(0,r.style)({visibility:0===e.lineOffsetLeft?"hidden":"visible",width:i.addUnit(e.lineWidth),transform:"translateX("+e.lineOffsetLeft+"px)","-webkit-transform":"translateX("+e.lineOffsetLeft+"px)","background-color":e.color,height:-1!==e.lineHeight?i.addUnit(e.lineHeight):null,"border-radius":-1!==e.lineHeight?i.addUnit(e.lineHeight):null,"transition-duration":e.skipTransition?null:e.duration+"s","-webkit-transition-duration":e.skipTransition?null:e.duration+"s"})}},"./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./src/pages/my/index.tsx":function(e,t,n){var r=n("./node_modules/@antmjs/vantui/es/cell/index.js"),i=n("./node_modules/@antmjs/vantui/es/tabs/index.js"),o=n("./node_modules/@antmjs/vantui/es/tab/index.js"),s=n("./node_modules/@antmjs/vantui/es/image/index.js"),a=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),c=n("webpack/container/remote/react"),l=n("./src/pages/components/TabbarCom/index.tsx"),u=n("webpack/container/remote/@tarojs/taro"),d=n.n(u),f=n("./src/pages/components/ActiveCard/index.tsx"),m=n("webpack/container/remote/react/jsx-runtime");t.default=function my(e){(0,c.useEffect)((function(){}),[]);var t=function CardCom(){return(0,m.jsx)(a.View,{children:[1,2,3,4].splice(0,2).map((function(e){return(0,m.jsx)(f.default,{})}))})};return(0,m.jsxs)(a.View,{className:"myContent",children:[(0,m.jsx)(a.View,{className:"myImage",children:(0,m.jsx)(s.default,{round:!0,width:"100px",height:"100px",src:"cloud://cloud1-5g5xrgza12a0dd6d.636c-cloud1-5g5xrgza12a0dd6d-1253665791/images/images-2.jpg"})}),(0,m.jsx)(a.View,{children:(0,m.jsxs)(i.default,{sticky:!0,children:[(0,m.jsx)(o.default,{title:"待审核",children:t()}),(0,m.jsx)(o.default,{title:"已报名",children:t()}),(0,m.jsx)(o.default,{title:"待参加",children:t()}),(0,m.jsx)(o.default,{title:"已结束",children:t()})]})}),(0,m.jsxs)(a.View,{className:"cellArr",children:[(0,m.jsx)(r.default,{title:"微信客服",icon:"wechat",isLink:!0,value:"",onClick:function onClick(){d().openCustomerServiceChat({corpId:"wwb04af9a97514271c",extInfo:{url:"https://work.weixin.qq.com/kfid/kfc70f3f112c97a54c5"},success:function success(e){}})}}),(0,m.jsx)(r.default,{icon:"friends",title:"关于我们",isLink:!0}),(0,m.jsx)(r.default,{icon:"setting",title:"版本日志",isLink:!0,onClick:function onClick(){d().navigateTo({url:"/pages/my/components/Version/index"})}})]}),(0,m.jsx)(l.default,{active:2})]})}},"./src/pages/my/index.tsx":function(e,t,n){var r=n("webpack/container/remote/@tarojs/runtime"),i=n("./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./src/pages/my/index.tsx");Page((0,r.createPageConfig)(i.default,"pages/my/index",{root:{cn:[]}},{navigationBarTitleText:"我的"}||{}))}},function(e){e.O(0,["taro","vendors","common"],(function(){return t="./src/pages/my/index.tsx",e(e.s=t);var t}));e.O()}]); \ No newline at end of file +"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!==z){var t=null!==z;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:z,(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,V&&(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;D&&(e=null!==(t=e)&&void 0!==t?t:z,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})})),E||(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;z+n=0;n+=t){var r=z+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:G,offsetTop:F,container:U,onScroll:fe,children:(0,x.jsxs)(f.View,{className:m.bem("tabs__wrap",{scrollable:D})+" "+("line"===K&&B?"van-hairline--top-bottom":""),children:[(0,x.jsx)(f.View,{className:m.bem("renderNavLeft"+n.current),children:ue}),(0,x.jsx)(f.ScrollView,{scrollX:D,scrollWithAnimation:E,scrollLeft:I,className:m.bem("tabs__scroll",[K]),style:{width:S,borderColor:J},children:(0,x.jsxs)(f.View,{className:m.bem("tabs__nav",[K,{complete:!Q}])+" nav-class",style:v.navStyle(J,K),children:["line"===K&&(0,x.jsx)(f.View,{className:"van-tabs__line",style:v.lineStyle({color:J,lineOffsetLeft:R,lineHeight:ee,skipTransition:V,duration:ne,lineWidth:oe})}),ye.map((function(e,t){return(0,x.jsx)(f.View,{"data-index":t,className:v.tabClass(t===z,Q)+" "+m.bem("tab",{active:t===z,disabled:e.disabled,complete:!Q}),style:v.tabStyle({active:t===z,ellipsis:Q,color:J,type:K,disabled:e.disabled,titleActiveColor:ie,titleInactiveColor:se,swipeThreshold:ce,scrollable:D}),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:z,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/button/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)(a.View,{children:[1,2,3,4].splice(0,2).map((function(e){return(0,m.jsx)(f.default,{})}))})},n=function getPhoneNumber(e){console.log("点击获取手机事件",e.detail.cloudID),d().cloud.callFunction({name:"getPhone",data:{cloudID:e.detail.cloudID}}).then((function(e){console.log(e),console.log(e.result.list[0].data.phoneNumber)}))};return(0,m.jsxs)(a.View,{className:"myContent",children:[(0,m.jsx)(a.View,{className:"myImage",children:(0,m.jsx)(a.OpenData,{type:"userAvatarUrl"})}),(0,m.jsxs)(a.View,{children:[(0,m.jsx)(s.default,{"open-type":"getUserInfo",lang:"zh_CN",onGetUserInfo:function onGetUserInfo(e){console.log("info",e)},children:"获取用户信息"}),(0,m.jsx)(s.default,{"open-type":"getPhoneNumber",lang:"zh_CN",onGetPhoneNumber:function onGetPhoneNumber(e){console.log("info",e),n(e)},children:"获取手机信息"})]}),(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,{className:"cellArr",children:[(0,m.jsx)(r.default,{title:"微信客服",icon:"wechat",isLink:!0,value:"",onClick:function onClick(){d().openCustomerServiceChat({corpId:"wwb04af9a97514271c",extInfo:{url:"https://work.weixin.qq.com/kfid/kfc70f3f112c97a54c5"},success:function success(e){}})}}),(0,m.jsx)(r.default,{icon:"friends",title:"关于我们",isLink:!0}),(0,m.jsx)(r.default,{icon:"setting",title:"版本日志",isLink:!0,onClick:function onClick(){d().navigateTo({url:"/pages/my/components/Version/index"})}})]}),(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 928684c..2b25104 100644 --- a/dist/pages/my/index.js.LICENSE.txt +++ b/dist/pages/my/index.js.LICENSE.txt @@ -20,9 +20,9 @@ /*! ./wxs */ -/*! @antmjs/vantui/es/cell */ +/*! @antmjs/vantui/es/button */ -/*! @antmjs/vantui/es/image */ +/*! @antmjs/vantui/es/cell */ /*! @antmjs/vantui/es/tab */ diff --git a/dist/pages/my/index.wxss b/dist/pages/my/index.wxss index c5047a8..712364a 100644 --- a/dist/pages/my/index.wxss +++ b/dist/pages/my/index.wxss @@ -30,7 +30,6 @@ -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - background-color: #f6ffed; padding: 20rpx; } diff --git a/dist/prebundle/remoteEntry.js b/dist/prebundle/remoteEntry.js index 0ade0ee..6afc9aa 100644 --- a/dist/prebundle/remoteEntry.js +++ b/dist/prebundle/remoteEntry.js @@ -1,2 +1,2 @@ /*! For license information please see remoteEntry.js.LICENSE.txt */ -"use strict";var taro_app_library;(wx.webpackJsonp=wx.webpackJsonp||[]).push([["taro_app_library"],{"webpack/container/entry/taro_app_library":function(e,n,r){var o={"./react":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"),r.e("node_modules_taro_weapp_prebundle_react_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react.js")}}))},"./@antmjs/vantui":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-OEADN3SU_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-TUA3UK7E_js"),r.e("vendors-node_modules_taro_weapp_prebundle_antmjs_vantui_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@antmjs_vantui.js")}}))},"./@tarojs/taro":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-TUA3UK7E_js"),r.e("node_modules_taro_weapp_prebundle_tarojs_taro_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_taro.js")}}))},"./react/jsx-runtime":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"),r.e("node_modules_taro_weapp_prebundle_react_jsx-runtime_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js")}}))},"./@tarojs/runtime":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"),r.e("node_modules_taro_weapp_prebundle_tarojs_runtime_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js")}}))},"./@tarojs/plugin-framework-react/dist/runtime":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"),r.e("vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-framework-react_dist_runtime_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js")}}))},"./@tarojs/plugin-platform-weapp/dist/runtime":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("node_modules_taro_weapp_prebundle_tarojs_plugin-platform-weapp_dist_runtime_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js")}}))},"./react-dom":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-OEADN3SU_js"),r.e("node_modules_taro_weapp_prebundle_react-dom_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react-dom.js")}}))}},get=function(e,n){return r.R=n,n=r.o(o,e)?o[e]():Promise.resolve().then((function(){throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,n},init=function(e,n){if(r.S){var o="default",t=r.S[o];if(t&&t!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[o]=e,r.I(o,n)}};r.d(n,{get:function(){return get},init:function(){return init}});var t={"./react":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react.js")}},"./@antmjs/vantui":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@antmjs_vantui.js")}},"./@tarojs/taro":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_taro.js")}},"./react/jsx-runtime":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js")}},"./@tarojs/runtime":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js")}},"./@tarojs/plugin-framework-react/dist/runtime":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js")}},"./@tarojs/plugin-platform-weapp/dist/runtime":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js")}},"./react-dom":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react-dom.js")}}};r.taro((function(e){return t[e]()}))}},function(e){var n,r=(n="webpack/container/entry/taro_app_library",e(e.s=n));taro_app_library=r}]); \ No newline at end of file +"use strict";var taro_app_library;(wx.webpackJsonp=wx.webpackJsonp||[]).push([["taro_app_library"],{"webpack/container/entry/taro_app_library":function(e,n,r){var o={"./react":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"),r.e("node_modules_taro_weapp_prebundle_react_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react.js")}}))},"./@tarojs/taro":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-TUA3UK7E_js"),r.e("node_modules_taro_weapp_prebundle_tarojs_taro_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_taro.js")}}))},"./@antmjs/vantui":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-OEADN3SU_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-TUA3UK7E_js"),r.e("vendors-node_modules_taro_weapp_prebundle_antmjs_vantui_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@antmjs_vantui.js")}}))},"./react/jsx-runtime":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"),r.e("node_modules_taro_weapp_prebundle_react_jsx-runtime_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js")}}))},"./@tarojs/runtime":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"),r.e("node_modules_taro_weapp_prebundle_tarojs_runtime_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js")}}))},"./@tarojs/plugin-framework-react/dist/runtime":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"),r.e("vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-framework-react_dist_runtime_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js")}}))},"./@tarojs/plugin-platform-weapp/dist/runtime":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("node_modules_taro_weapp_prebundle_tarojs_plugin-platform-weapp_dist_runtime_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js")}}))},"./react-dom":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-OEADN3SU_js"),r.e("node_modules_taro_weapp_prebundle_react-dom_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react-dom.js")}}))}},get=function(e,n){return r.R=n,n=r.o(o,e)?o[e]():Promise.resolve().then((function(){throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,n},init=function(e,n){if(r.S){var o="default",t=r.S[o];if(t&&t!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[o]=e,r.I(o,n)}};r.d(n,{get:function(){return get},init:function(){return init}});var t={"./react":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react.js")}},"./@tarojs/taro":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_taro.js")}},"./@antmjs/vantui":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@antmjs_vantui.js")}},"./react/jsx-runtime":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js")}},"./@tarojs/runtime":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js")}},"./@tarojs/plugin-framework-react/dist/runtime":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js")}},"./@tarojs/plugin-platform-weapp/dist/runtime":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js")}},"./react-dom":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react-dom.js")}}};r.taro((function(e){return t[e]()}))}},function(e){var n,r=(n="webpack/container/entry/taro_app_library",e(e.s=n));taro_app_library=r}]); \ No newline at end of file diff --git a/dist/project.config.json b/dist/project.config.json index bffe550..15090d7 100644 --- a/dist/project.config.json +++ b/dist/project.config.json @@ -3,6 +3,7 @@ "projectname": "myApp", "description": "city", "appid": "wx2b2ec2ba5ee694bc", + "cloudfunctionRoot": "cloudfunctions/", "setting": { "urlCheck": true, "es6": false, diff --git a/dist/taro.js b/dist/taro.js index 6b38314..fd3d52a 100644 --- a/dist/taro.js +++ b/dist/taro.js @@ -1,2 +1,2 @@ /*! For license information please see taro.js.LICENSE.txt */ -"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["taro"],{"./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js":function(t,n,e){e.d(n,{Button:function(){return a},Form:function(){return i},Image:function(){return f},Input:function(){return c},Navigator:function(){return m},RichText:function(){return o},ScrollView:function(){return s},Text:function(){return u},Textarea:function(){return p},View:function(){return r}});var r="view",o="rich-text",u="text",a="button",i="form",c="input",p="textarea",s="scroll-view",m="navigator",f="image"},"./node_modules/@tarojs/webpack5-runner/dist/template/comp.js":function(t,n,e){var r=e("webpack/container/remote/@tarojs/runtime");Component((0,r.createRecursiveComponentConfig)())},"./node_modules/@tarojs/webpack5-runner/dist/template/custom-wrapper.js":function(t,n,e){var r=e("webpack/container/remote/@tarojs/runtime");Component((0,r.createRecursiveComponentConfig)("custom-wrapper"))}}]); \ No newline at end of file +"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["taro"],{"./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js":function(t,n,e){e.d(n,{Button:function(){return a},Form:function(){return i},Image:function(){return f},Input:function(){return c},Navigator:function(){return m},OpenData:function(){return w},RichText:function(){return o},ScrollView:function(){return s},Text:function(){return u},Textarea:function(){return p},View:function(){return r}});var r="view",o="rich-text",u="text",a="button",i="form",c="input",p="textarea",s="scroll-view",m="navigator",f="image",w="open-data"},"./node_modules/@tarojs/webpack5-runner/dist/template/comp.js":function(t,n,e){var r=e("webpack/container/remote/@tarojs/runtime");Component((0,r.createRecursiveComponentConfig)())},"./node_modules/@tarojs/webpack5-runner/dist/template/custom-wrapper.js":function(t,n,e){var r=e("webpack/container/remote/@tarojs/runtime");Component((0,r.createRecursiveComponentConfig)("custom-wrapper"))}}]); \ No newline at end of file diff --git a/package.json b/package.json index 98d650f..37f379d 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,8 @@ "react-dom": "^18.0.0", "taro-hooks": "latest", "taro-plugin-compiler-optimization": "^1.0.4", - "thread-loader": "^3.0.4" + "thread-loader": "^3.0.4", + "wx-server-sdk": "^2.6.3" }, "devDependencies": { "@babel/core": "^7.8.0", diff --git a/project.config.json b/project.config.json index ee4b4ba..4efb3ed 100644 --- a/project.config.json +++ b/project.config.json @@ -3,6 +3,7 @@ "projectname": "myApp", "description": "city", "appid": "wx2b2ec2ba5ee694bc", + "cloudfunctionRoot": "cloudfunctions/", "setting": { "urlCheck": true, "es6": false, diff --git a/src/pages/my/index.module.scss b/src/pages/my/index.module.scss index a81c5ff..0d997c0 100644 --- a/src/pages/my/index.module.scss +++ b/src/pages/my/index.module.scss @@ -7,7 +7,7 @@ flex-direction: row; align-items: center; justify-content: center; - background-color: #f6ffed; + // background-color: #f6ffed; padding: 20px; } diff --git a/src/pages/my/index.tsx b/src/pages/my/index.tsx index 2c4e44f..0711b46 100644 --- a/src/pages/my/index.tsx +++ b/src/pages/my/index.tsx @@ -1,5 +1,13 @@ -import { Card, Cell, Col, Row, Tabbar, TabbarItem } from "@antmjs/vantui"; -import { View } from "@tarojs/components"; +import { + Button, + Card, + Cell, + Col, + Row, + Tabbar, + TabbarItem, +} from "@antmjs/vantui"; +import { OpenData, View } from "@tarojs/components"; import react, { useEffect } from "react"; import TabbarCom from "../components/TabbarCom"; import { Image } from "@antmjs/vantui"; @@ -17,6 +25,18 @@ const my = (props: any) => { definePageConfig({ navigationBarTitleText: "我的", }); + + // Taro.getUserProfile({ + // desc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写 + // success: (res) => { + // // 开发者妥善保管用户快速填写的头像昵称,避免重复弹窗 + // console.log('res',res) + // // this.setState({ + // // userInfo: res.userInfo, + // // hasUserInfo: true + // // }) + // } + // }) }, []); const CardCom = () => { @@ -28,20 +48,69 @@ const my = (props: any) => { ); }; + + // 获取用户信息 [头像/昵称] + const onGetUserInfo = (info: any) => { + console.log("info", info); + }; + + // 获取用户手机 [手机号]-需要揭秘 + const onGetPhoneNumber = (info: any) => { + console.log("info", info); + getPhoneNumber(info) + // Taro.cloud.openapi.phonenumber.getPhoneNumber({code:'code'}) + }; + + const getPhoneNumber = (e:any) => { + console.log('点击获取手机事件', e.detail.cloudID); + Taro.cloud.callFunction({ + name: "getPhone", + data: { + cloudID: e.detail.cloudID + // weRunData + }, + }).then((res:any) => { + console.log(res); + console.log(res.result.list[0].data.phoneNumber); + + }) + } + return ( {/* */} {/* 头像 */} - + {/* + /> */} + + + + + + + {CardCom()} @@ -84,6 +153,8 @@ const my = (props: any) => { /> + {/* */} + ); diff --git a/yarn.lock b/yarn.lock index 5920710..9c7fda2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1176,6 +1176,65 @@ "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" +"@cloudbase/database@0.9.15": + version "0.9.15" + resolved "https://registry.yarnpkg.com/@cloudbase/database/-/database-0.9.15.tgz#268e9b3120be6c99294e6645bc1871db8ba70d31" + integrity sha512-63e7iIl+van41B39Tw4ScNe9TRCt+5GHjc7q6i8NzkWBLC3U3KlbWo79YHsUHUPI79POpQ8UMlMVo7HXIAO3dg== + dependencies: + bson "^4.0.2" + lodash.clonedeep "4.5.0" + lodash.set "4.3.2" + lodash.unset "4.5.2" + +"@cloudbase/database@1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@cloudbase/database/-/database-1.4.1.tgz#572533ff76a857ed4d05c2820867800fbbe2fd6f" + integrity sha512-BYLXHS6c+WhxAvvdak8Z3W+heScqBBPu/CQ76gC8v1Scuy5qf4qxuPWNzyoxde/eZsmc+BRRCFyIq4xUnIot8g== + dependencies: + bson "^4.0.3" + lodash.clonedeep "4.5.0" + lodash.set "4.3.2" + lodash.unset "4.5.2" + +"@cloudbase/node-sdk@2.9.1": + version "2.9.1" + resolved "https://registry.yarnpkg.com/@cloudbase/node-sdk/-/node-sdk-2.9.1.tgz#0b67b98f264012f5576ae2123bc8019d388d1ca0" + integrity sha512-4JGLiy9/Ko7d1pnBgq5mtIUm5v9ig1tHqAeLrkMc8b4vVBRTnYlxJer3uKXq6+9fjLprxNyRSahEg4QR8/Gbkw== + dependencies: + "@cloudbase/database" "1.4.1" + "@cloudbase/signature-nodejs" "1.0.0-beta.0" + "@types/retry" "^0.12.0" + agentkeepalive "^4.1.3" + axios "^0.21.1" + is-regex "^1.0.4" + jsonwebtoken "^8.5.1" + lodash.merge "^4.6.1" + request "^2.87.0" + request-promise "^4.2.5" + retry "^0.12.0" + ts-node "^8.10.2" + xml2js "^0.4.19" + +"@cloudbase/signature-nodejs@1.0.0-beta.0": + version "1.0.0-beta.0" + resolved "https://registry.yarnpkg.com/@cloudbase/signature-nodejs/-/signature-nodejs-1.0.0-beta.0.tgz#231d05f99cad01bc464f68239557c6a5b9a7e7a3" + integrity sha512-gpKqwsVk/D2PzvFamYNReymXSdvRSY90eZ1ARf+1wZ8oT6OpK9kr6nmevGykMxN1n17Gn92hBbWqAxU9o3+kAQ== + dependencies: + "@types/clone" "^0.1.30" + clone "^2.1.2" + is-stream "^2.0.0" + url "^0.11.0" + +"@cloudbase/signature-nodejs@^1.0.0-beta.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@cloudbase/signature-nodejs/-/signature-nodejs-1.1.0.tgz#479c6bc8b14dd6339a8df5b7f5a10d50ecca615e" + integrity sha512-Uqj7tbeAufyAl8xxHr0BxmO9mcfjYqs/FNTDif/38KeRRB438kRlnqd06nXNkJdJWgryw0xQGDxiywVxbAaLxg== + dependencies: + "@types/clone" "^0.1.30" + clone "^2.1.2" + is-stream "^2.0.0" + url "^0.11.0" + "@esbuild/linux-loong64@0.14.54": version "0.14.54" resolved "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.14.54.tgz#de2a4be678bd4d0d1ffbb86e6de779cde5999028" @@ -1338,6 +1397,59 @@ schema-utils "^3.0.0" source-map "^0.7.3" +"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== + +"@protobufjs/base64@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + +"@protobufjs/codegen@^2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + +"@protobufjs/eventemitter@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== + +"@protobufjs/fetch@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== + dependencies: + "@protobufjs/aspromise" "^1.1.1" + "@protobufjs/inquire" "^1.1.0" + +"@protobufjs/float@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== + +"@protobufjs/inquire@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== + +"@protobufjs/path@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== + +"@protobufjs/pool@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== + +"@protobufjs/utf8@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== + "@sideway/address@^4.1.3": version "4.1.4" resolved "https://registry.npmmirror.com/@sideway/address/-/address-4.1.4.tgz#03dccebc6ea47fdc226f7d3d1ad512955d4783f0" @@ -1852,6 +1964,11 @@ dependencies: "@types/node" "*" +"@types/clone@^0.1.30": + version "0.1.30" + resolved "https://registry.yarnpkg.com/@types/clone/-/clone-0.1.30.tgz#e7365648c1b42136a59c7d5040637b3b5c83b614" + integrity sha512-vcxBr+ybljeSiasmdke1cQ9ICxoEwaBgM1OQ/P5h4MPj/kRyLcDl5L8PrftlbyV1kBbJIs3M3x1A1+rcWd4mEA== + "@types/connect-history-api-fallback@^1.3.5": version "1.3.5" resolved "https://registry.npmmirror.com/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.3.5.tgz#d1f7a8a09d0ed5a57aee5ae9c18ab9b803205dae" @@ -1973,6 +2090,11 @@ resolved "https://registry.npmmirror.com/@types/lodash/-/lodash-4.14.188.tgz#e4990c4c81f7c9b00c5ff8eae389c10f27980da5" integrity sha512-zmEmF5OIM3rb7SbLCFYoQhO4dGt2FRM9AMkxvA3LaADOF1n8in/zGJlWji9fmafLoNyz+FoL6FE0SLtGIArD7w== +"@types/long@^4.0.1": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" + integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== + "@types/mime@*": version "3.0.1" resolved "https://registry.npmmirror.com/@types/mime/-/mime-3.0.1.tgz#5f8f2bca0a5863cb69bc0b0acd88c96cb1d4ae10" @@ -1993,7 +2115,7 @@ resolved "https://registry.npmmirror.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197" integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA== -"@types/node@*": +"@types/node@*", "@types/node@>=13.7.0": version "18.11.9" resolved "https://registry.npmmirror.com/@types/node/-/node-18.11.9.tgz#02d013de7058cea16d36168ef2fc653464cfbad4" integrity sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg== @@ -2037,6 +2159,11 @@ resolved "https://registry.npmmirror.com/@types/retry/-/retry-0.12.0.tgz#2b35eccfcee7d38cd72ad99232fbd58bffb3c84d" integrity sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA== +"@types/retry@^0.12.0": + version "0.12.2" + resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.2.tgz#ed279a64fa438bb69f2480eda44937912bb7480a" + integrity sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow== + "@types/sass@^1.16.0": version "1.43.1" resolved "https://registry.npmmirror.com/@types/sass/-/sass-1.43.1.tgz#86bb0168e9e881d7dade6eba16c9ed6d25dc2f68" @@ -2389,6 +2516,15 @@ adm-zip@^0.4.13: resolved "https://registry.npmmirror.com/adm-zip/-/adm-zip-0.4.16.tgz#cf4c508fdffab02c269cbc7f471a875f05570365" integrity sha512-TFi4HBKSGfIKsK5YCkKaaFG2m4PEDyViZmEwof3MTIgzimHLto6muaHVpbrljdIvIrFZzEq/p4nafOeLcYegrg== +agentkeepalive@^4.1.3: + version "4.2.1" + resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.2.1.tgz#a7975cbb9f83b367f06c90cc51ff28fe7d499717" + integrity sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA== + dependencies: + debug "^4.1.0" + depd "^1.1.2" + humanize-ms "^1.2.1" + aggregate-error@^3.0.0: version "3.1.0" resolved "https://registry.npmmirror.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" @@ -2534,6 +2670,11 @@ archy@^1.0.0: resolved "https://registry.npmmirror.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" integrity sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw== +arg@^4.1.0: + version "4.1.3" + resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" + integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== + argparse@^1.0.7: version "1.0.10" resolved "https://registry.npmmirror.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" @@ -2745,6 +2886,13 @@ aws4@^1.8.0: resolved "https://registry.npmmirror.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== +axios@^0.21.1: + version "0.21.4" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + babel-code-frame@^6.26.0, babel-code-frame@^6.8.0: version "6.26.0" resolved "https://registry.npmmirror.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" @@ -3226,6 +3374,11 @@ big.js@^5.2.2: resolved "https://registry.npmmirror.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== +bignumber.js@^9.0.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.0.tgz#8d340146107fe3a6cb8d40699643c302e8773b62" + integrity sha512-4LwHK4nfDOraBCtst+wOWIHbu1vhvAPJK8g8nROd4iuc3PSEjWif/qwbkh8jwCJz6yDBvtU4KPynETgrfh7y3A== + binary-extensions@^2.0.0: version "2.2.0" resolved "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" @@ -3239,6 +3392,11 @@ bl@^1.0.0: readable-stream "^2.3.5" safe-buffer "^5.1.1" +bluebird@^3.5.0: + version "3.7.2" + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" + integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== + blueimp-canvas-to-blob-global@^3.29.1: version "3.29.1" resolved "https://registry.npmmirror.com/blueimp-canvas-to-blob-global/-/blueimp-canvas-to-blob-global-3.29.1.tgz#d447c5ce994b2549d6335d41c3ab5087b96fd5e8" @@ -3362,6 +3520,13 @@ browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.14.5, browserslist@^4 node-releases "^2.0.6" update-browserslist-db "^1.0.9" +bson@^4.0.2, bson@^4.0.3: + version "4.7.0" + resolved "https://registry.yarnpkg.com/bson/-/bson-4.7.0.tgz#7874a60091ffc7a45c5dd2973b5cad7cded9718a" + integrity sha512-VrlEE4vuiO1WTpfof4VmaVolCVYkYTgB9iWgYNOrVlnifpME/06fhFRmONgBhClD5pFC1t9ZWqFUQEQAzY43bA== + dependencies: + buffer "^5.6.0" + buffer-alloc-unsafe@^1.1.0: version "1.1.0" resolved "https://registry.npmmirror.com/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz#bd7dc26ae2972d0eda253be061dba992349c19f0" @@ -3380,6 +3545,11 @@ buffer-crc32@~0.2.3: resolved "https://registry.npmmirror.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" integrity sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ== +buffer-equal-constant-time@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz#f8e71132f7ffe6e01a5c9697a4c6f3e48d5cc819" + integrity sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA== + buffer-fill@^1.0.0: version "1.0.0" resolved "https://registry.npmmirror.com/buffer-fill/-/buffer-fill-1.0.0.tgz#f8f78b76789888ef39f205cd637f68e702122b2c" @@ -3400,7 +3570,7 @@ buffer-json@^2.0.0: resolved "https://registry.yarnpkg.com/buffer-json/-/buffer-json-2.0.0.tgz#f73e13b1e42f196fe2fd67d001c7d7107edd7c23" integrity sha512-+jjPFVqyfF1esi9fvfUs3NqM0pH1ziZ36VP4hmA/y/Ssfo/5w5xHKfTw9BwQjoJ1w/oVtpLomqwUHKdefGyuHw== -buffer@^5.2.1: +buffer@^5.2.1, buffer@^5.6.0: version "5.7.1" resolved "https://registry.npmmirror.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== @@ -3875,7 +4045,7 @@ clone@^1.0.2: resolved "https://registry.npmmirror.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg== -clone@^2.1.1: +clone@^2.1.1, clone@^2.1.2: version "2.1.2" resolved "https://registry.npmmirror.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" integrity sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w== @@ -4686,7 +4856,7 @@ depd@2.0.0: resolved "https://registry.npmmirror.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== -depd@~1.1.2: +depd@^1.1.2, depd@~1.1.2: version "1.1.2" resolved "https://registry.npmmirror.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== @@ -4736,6 +4906,11 @@ detect-port@^1.3.0: address "^1.0.1" debug "4" +diff@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" + integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== + dingtalk-jsapi@~2.15.2: version "2.15.4" resolved "https://registry.npmmirror.com/dingtalk-jsapi/-/dingtalk-jsapi-2.15.4.tgz#95426671568e834993408cb1b05d725f02e9d598" @@ -4940,6 +5115,13 @@ ecc-jsbn@~0.1.1: jsbn "~0.1.0" safer-buffer "^2.1.0" +ecdsa-sig-formatter@1.0.11: + version "1.0.11" + resolved "https://registry.yarnpkg.com/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz#ae0f0fa2d85045ef14a817daa3ce9acd0489e5bf" + integrity sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ== + dependencies: + safe-buffer "^5.0.1" + ee-first@1.1.1: version "1.1.1" resolved "https://registry.npmmirror.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" @@ -6090,7 +6272,7 @@ flatted@^3.1.0: resolved "https://registry.npmmirror.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== -follow-redirects@^1.0.0: +follow-redirects@^1.0.0, follow-redirects@^1.14.0: version "1.15.2" resolved "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== @@ -6899,6 +7081,13 @@ human-signals@^2.1.0: resolved "https://registry.npmmirror.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== +humanize-ms@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" + integrity sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ== + dependencies: + ms "^2.0.0" + iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.24: version "0.4.24" resolved "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" @@ -7774,6 +7963,13 @@ jsesc@~0.5.0: resolved "https://registry.npmmirror.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== +json-bigint@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/json-bigint/-/json-bigint-1.0.0.tgz#ae547823ac0cad8398667f8cd9ef4730f5b01ff1" + integrity sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ== + dependencies: + bignumber.js "^9.0.0" + json-buffer@3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" @@ -7850,6 +8046,22 @@ jsonp-retry@^1.0.3: dependencies: object-assign "^4.1.1" +jsonwebtoken@^8.5.1: + version "8.5.1" + resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz#00e71e0b8df54c2121a1f26137df2280673bcc0d" + integrity sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w== + dependencies: + jws "^3.2.2" + lodash.includes "^4.3.0" + lodash.isboolean "^3.0.3" + lodash.isinteger "^4.0.4" + lodash.isnumber "^3.0.3" + lodash.isplainobject "^4.0.6" + lodash.isstring "^4.0.1" + lodash.once "^4.0.0" + ms "^2.1.1" + semver "^5.6.0" + jsprim@^1.2.2: version "1.4.2" resolved "https://registry.npmmirror.com/jsprim/-/jsprim-1.4.2.tgz#712c65533a15c878ba59e9ed5f0e26d5b77c5feb" @@ -7876,6 +8088,23 @@ jsx-ast-utils@^2.0.1: array-includes "^3.1.5" object.assign "^4.1.3" +jwa@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/jwa/-/jwa-1.4.1.tgz#743c32985cb9e98655530d53641b66c8645b039a" + integrity sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA== + dependencies: + buffer-equal-constant-time "1.0.1" + ecdsa-sig-formatter "1.0.11" + safe-buffer "^5.0.1" + +jws@^3.2.2: + version "3.2.2" + resolved "https://registry.yarnpkg.com/jws/-/jws-3.2.2.tgz#001099f3639468c9414000e99995fa52fb478304" + integrity sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA== + dependencies: + jwa "^1.4.1" + safe-buffer "^5.0.1" + keyv@3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/keyv/-/keyv-3.0.0.tgz#44923ba39e68b12a7cec7df6c3268c031f2ef373" @@ -8159,7 +8388,7 @@ lodash-wechat@^1.0.0: resolved "https://registry.npmmirror.com/lodash-wechat/-/lodash-wechat-1.0.0.tgz#d273d6654a85063cd4af13189987885b8cc44764" integrity sha512-QoUc/QbEXNu1PsoWXRehZnfSZf5VznHRth5iUteq4qdM9myuKlhGIxSrFl9vhtDfqyUVuprPxXFbUGZ3oGM0JQ== -lodash.clonedeep@^4.5.0: +lodash.clonedeep@4.5.0, lodash.clonedeep@^4.5.0: version "4.5.0" resolved "https://registry.npmmirror.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" integrity sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ== @@ -8169,16 +8398,56 @@ lodash.debounce@^4.0.8: resolved "https://registry.npmmirror.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== +lodash.includes@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/lodash.includes/-/lodash.includes-4.3.0.tgz#60bb98a87cb923c68ca1e51325483314849f553f" + integrity sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w== + +lodash.isboolean@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz#6c2e171db2a257cd96802fd43b01b20d5f5870f6" + integrity sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg== + +lodash.isinteger@^4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz#619c0af3d03f8b04c31f5882840b77b11cd68343" + integrity sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA== + +lodash.isnumber@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz#3ce76810c5928d03352301ac287317f11c0b1ffc" + integrity sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw== + +lodash.isplainobject@^4.0.6: + version "4.0.6" + resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" + integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA== + +lodash.isstring@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" + integrity sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw== + lodash.memoize@^4.1.2: version "4.1.2" resolved "https://registry.npmmirror.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag== -lodash.merge@^4.6.2: +lodash.merge@^4.6.1, lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.npmmirror.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== +lodash.once@^4.0.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac" + integrity sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg== + +lodash.set@4.3.2: + version "4.3.2" + resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23" + integrity sha512-4hNPN5jlm/N/HLMCO43v8BXKq9Z7QdAGc/VGrRD61w8gN9g/6jF9A4L1pbUgBLCffi0w9VsXfTOij5x8iTyFvg== + lodash.sortby@^4.7.0: version "4.7.0" resolved "https://registry.npmmirror.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" @@ -8189,6 +8458,11 @@ lodash.uniq@^4.5.0: resolved "https://registry.npmmirror.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ== +lodash.unset@4.5.2: + version "4.5.2" + resolved "https://registry.yarnpkg.com/lodash.unset/-/lodash.unset-4.5.2.tgz#370d1d3e85b72a7e1b0cdf2d272121306f23e4ed" + integrity sha512-bwKX88k2JhCV9D1vtE8+naDKlLiGrSmf8zi/Y9ivFHwbmRfA8RxS/aVJ+sIht2XOwqoNr4xUPUkGZpc1sHFEKg== + "lodash@4.6.1 || ^4.16.1", lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.3.0: version "4.17.21" resolved "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" @@ -8218,6 +8492,11 @@ loglevel@^1.6.6: resolved "https://registry.npmmirror.com/loglevel/-/loglevel-1.8.1.tgz#5c621f83d5b48c54ae93b6156353f555963377b4" integrity sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg== +long@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" + integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== + longest-streak@^2.0.1: version "2.0.4" resolved "https://registry.npmmirror.com/longest-streak/-/longest-streak-2.0.4.tgz#b8599957da5b5dab64dee3fe316fa774597d90e4" @@ -8302,6 +8581,11 @@ make-dir@^3.0.2, make-dir@~3.1.0: dependencies: semver "^6.0.0" +make-error@^1.1.1: + version "1.3.6" + resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" + integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== + map-cache@^0.2.2: version "0.2.2" resolved "https://registry.npmmirror.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" @@ -8708,7 +8992,7 @@ ms@2.1.2: resolved "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@2.1.3, ms@^2.1.1: +ms@2.1.3, ms@^2.0.0, ms@^2.1.1: version "2.1.3" resolved "https://registry.npmmirror.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -10157,6 +10441,25 @@ proto-list@~1.2.1: resolved "https://registry.npmmirror.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA== +protobufjs@^6.8.8: + version "6.11.3" + resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.11.3.tgz#637a527205a35caa4f3e2a9a4a13ddffe0e7af74" + integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + proxy-addr@~2.0.7: version "2.0.7" resolved "https://registry.npmmirror.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025" @@ -10188,6 +10491,11 @@ pump@^3.0.0: end-of-stream "^1.1.0" once "^1.3.1" +punycode@1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" + integrity sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw== + punycode@^2.1.0, punycode@^2.1.1: version "2.1.1" resolved "https://registry.npmmirror.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" @@ -10224,6 +10532,11 @@ query-string@^7.1.1: split-on-first "^1.0.0" strict-uri-encode "^2.0.0" +querystring@0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" + integrity sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g== + querystring@^0.2.1: version "0.2.1" resolved "https://registry.npmmirror.com/querystring/-/querystring-0.2.1.tgz#40d77615bb09d16902a85c3e38aa8b5ed761c2dd" @@ -10671,7 +10984,17 @@ request-promise-native@^1.0.7: stealthy-require "^1.1.1" tough-cookie "^2.3.3" -request@^2.88.0: +request-promise@^4.2.5: + version "4.2.6" + resolved "https://registry.yarnpkg.com/request-promise/-/request-promise-4.2.6.tgz#7e7e5b9578630e6f598e3813c0f8eb342a27f0a2" + integrity sha512-HCHI3DJJUakkOr8fNoCc73E5nU5bqITjOYFMDrKHYOXWXrgD/SBaC7LjwuPymUprRyuF06UK7hd/lMHkmUXglQ== + dependencies: + bluebird "^3.5.0" + request-promise-core "1.1.4" + stealthy-require "^1.1.1" + tough-cookie "^2.3.3" + +request@^2.87.0, request@^2.88.0: version "2.88.2" resolved "https://registry.npmmirror.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== @@ -10815,6 +11138,11 @@ ret@~0.1.10: resolved "https://registry.npmmirror.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== +retry@^0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" + integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== + retry@^0.13.1: version "0.13.1" resolved "https://registry.npmmirror.com/retry/-/retry-0.13.1.tgz#185b1587acf67919d63b357349e03537b2484658" @@ -11340,7 +11668,7 @@ source-map-support@^0.4.15: dependencies: source-map "^0.5.6" -source-map-support@^0.5.13, source-map-support@^0.5.16, source-map-support@~0.5.20: +source-map-support@^0.5.13, source-map-support@^0.5.16, source-map-support@^0.5.17, source-map-support@~0.5.20: version "0.5.21" resolved "https://registry.npmmirror.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== @@ -11972,6 +12300,19 @@ taro-plugin-compiler-optimization@^1.0.4: resolved "https://registry.yarnpkg.com/taro-plugin-compiler-optimization/-/taro-plugin-compiler-optimization-1.0.4.tgz#796eaa84bb68b71b43fd47ac653ad2c2b6fa3e34" integrity sha512-7aAOSWLpkPlJkCM6NPjcZEqoLXdquNy16CEEKIzAAD03OJ742rHhVzbZ0NIdMABMV7xC+gzRFq9eoZ64gm9o2g== +tcb-admin-node@latest: + version "1.23.0" + resolved "https://registry.yarnpkg.com/tcb-admin-node/-/tcb-admin-node-1.23.0.tgz#5884a931de986db7b1e18c1d8738ef64a4593758" + integrity sha512-SAbjTqMsSi63SId1BJ4kWdyGJzhxh9Tjvy3YXxcsoaAC2PtASn4UIYsBsiNEUfcn58QEn2tdvCvvf69WLLjjrg== + dependencies: + "@cloudbase/database" "0.9.15" + "@cloudbase/signature-nodejs" "^1.0.0-beta.0" + is-regex "^1.0.4" + jsonwebtoken "^8.5.1" + lodash.merge "^4.6.1" + request "^2.87.0" + xml2js "^0.4.19" + term-size@^1.2.0: version "1.2.0" resolved "https://registry.npmmirror.com/term-size/-/term-size-1.2.0.tgz#458b83887f288fc56d6fffbfad262e26638efa69" @@ -12188,6 +12529,17 @@ trough@^1.0.0: resolved "https://registry.npmmirror.com/trough/-/trough-1.0.5.tgz#b8b639cefad7d0bb2abd37d433ff8293efa5f406" integrity sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA== +ts-node@^8.10.2: + version "8.10.2" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-8.10.2.tgz#eee03764633b1234ddd37f8db9ec10b75ec7fb8d" + integrity sha512-ISJJGgkIpDdBhWVu3jufsWpK3Rzo7bdiIXJjQc0ynKxVOVcg2oIrf2H2cejminGrptVc6q6/uynAHNCuWGbpVA== + dependencies: + arg "^4.1.0" + diff "^4.0.1" + make-error "^1.1.1" + source-map-support "^0.5.17" + yn "3.1.1" + tsconfig-paths@^3.14.1: version "3.14.1" resolved "https://registry.npmmirror.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a" @@ -12198,7 +12550,7 @@ tsconfig-paths@^3.14.1: minimist "^1.2.6" strip-bom "^3.0.0" -tslib@^1.10.0, tslib@^1.8.1, tslib@^1.9.0: +tslib@^1.10.0, tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3: version "1.14.1" resolved "https://registry.npmmirror.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== @@ -12506,6 +12858,14 @@ url-to-options@^1.0.1: resolved "https://registry.npmmirror.com/url-to-options/-/url-to-options-1.0.1.tgz#1505a03a289a48cbd7a434efbaeec5055f5633a9" integrity sha512-0kQLIzG4fdk/G5NONku64rSH/x32NOA39LVQqlK8Le6lvTF6GGRJpqaQFGgU+CLwySIqBSMdwYM0sYcW9f6P4A== +url@^0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" + integrity sha512-kbailJa29QrtXnxgq+DdCEGlbTeYM2eJUxsz6vjZavrCYPMIFHMKQmSKYAIuUK2i7hgPm28a8piX5NTUtM/LKQ== + dependencies: + punycode "1.3.2" + querystring "0.2.0" + use-deep-compare-effect@^1.8.1: version "1.8.1" resolved "https://registry.npmmirror.com/use-deep-compare-effect/-/use-deep-compare-effect-1.8.1.tgz#ef0ce3b3271edb801da1ec23bf0754ef4189d0c6" @@ -12953,6 +13313,17 @@ ws@^8.4.2: resolved "https://registry.npmmirror.com/ws/-/ws-8.11.0.tgz#6a0d36b8edfd9f96d8b25683db2f8d7de6e8e143" integrity sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg== +wx-server-sdk@^2.6.3: + version "2.6.3" + resolved "https://registry.yarnpkg.com/wx-server-sdk/-/wx-server-sdk-2.6.3.tgz#b8f0351a0d15d5b839a724f780c7390c5b294cf3" + integrity sha512-wCSAO94HScMVnalb4WVbOqjTyKxus4/jPYV41ct9liHXv/hGGlDqUWV1vb1icyQKXp+mSslvpBNNjYnZAM5MVA== + dependencies: + "@cloudbase/node-sdk" "2.9.1" + json-bigint "^1.0.0" + protobufjs "^6.8.8" + tcb-admin-node latest + tslib "^1.9.3" + x-is-string@^0.1.0: version "0.1.0" resolved "https://registry.npmmirror.com/x-is-string/-/x-is-string-0.1.0.tgz#474b50865af3a49a9c4657f05acd145458f77d82" @@ -13080,6 +13451,11 @@ yauzl@2.10.0, yauzl@^2.4.2: buffer-crc32 "~0.2.3" fd-slicer "~1.1.0" +yn@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" + integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== + yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.npmmirror.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"