feat: 接入客服
This commit is contained in:
2
dist/common.js
vendored
2
dist/common.js
vendored
@@ -1,2 +1,2 @@
|
||||
/*! For license information please see common.js.LICENSE.txt */
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["common"],{"./src/pages/components/TabbarCom/index.tsx":function(e,n,t){var o=t("./node_modules/@antmjs/vantui/es/tabbar/index.js"),a=t("./node_modules/@antmjs/vantui/es/tabbar-item/index.js"),i=t("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=t("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),l=t("webpack/container/remote/@tarojs/taro"),c=t.n(l),r=t("webpack/container/remote/react"),d=t.n(r),u=t("webpack/container/remote/react/jsx-runtime");n.default=function TabbarCom(e){var n,t=d().useState(null!==(n=null==e?void 0:e.active)&&void 0!==n?n:0),l=(0,i.default)(t,2),r=l[0],m=l[1];return(0,u.jsx)(s.View,{style:{marginTop:"40px"},children:(0,u.jsxs)(o.default,{active:r,onChange:function onChange(e){console.log("e",e),m(null==e?void 0:e.detail),0===(null==e?void 0:e.detail)&&c().redirectTo({url:"/pages/home/index"}),1===(null==e?void 0:e.detail)&&c().redirectTo({url:"/pages/activityList/index"}),2===(null==e?void 0:e.detail)&&c().redirectTo({url:"/pages/my/index"})},safeAreaInsetBottom:!0,children:[(0,u.jsx)(a.default,{icon:"home-o",children:"首页"}),(0,u.jsx)(a.default,{icon:"friends-o",children:"活动"}),(0,u.jsx)(a.default,{icon:"setting-o",children:"我的"})]})})}},"./src/utils/index.ts":function(e,n,t){t.d(n,{getTable:function(){return i},getTableid:function(){return s}});var o=t("webpack/container/remote/@tarojs/taro"),a=t.n(o),i=function getTable(e){var n=e.env,t=e.tableName,o=e.okFun,i=a().cloud.database({env:n}),s=null==i?void 0:i.collection(t);null==s||s.get({success:function success(e){o(e)}})},s=function getTableid(e){var n=e.env,t=e.tableName,o=e.id,i=e.okFun,s=a().cloud.database({env:n}),l=null==s?void 0:s.collection(t);null==l||l.doc(o).get({success:function success(e){i(e)}})}}}]);
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["common"],{"./src/pages/components/TabbarCom/index.tsx":function(e,n,t){var o=t("./node_modules/@antmjs/vantui/es/tabbar/index.js"),a=t("./node_modules/@antmjs/vantui/es/tabbar-item/index.js"),i=t("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=t("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),r=t("webpack/container/remote/@tarojs/taro"),l=t.n(r),d=t("webpack/container/remote/react"),c=t.n(d),u=t("webpack/container/remote/react/jsx-runtime");n.default=function TabbarCom(e){var n,t=c().useState(null!==(n=null==e?void 0:e.active)&&void 0!==n?n:0),r=(0,i.default)(t,2),d=r[0],m=r[1];return(0,u.jsx)(s.View,{style:{marginTop:"40px"},children:(0,u.jsxs)(o.default,{active:d,onChange:function onChange(e){console.log("e",e),m(null==e?void 0:e.detail),0===(null==e?void 0:e.detail)&&l().redirectTo({url:"/pages/home/index"}),1===(null==e?void 0:e.detail)&&l().redirectTo({url:"/pages/activityList/index"}),2===(null==e?void 0:e.detail)&&l().redirectTo({url:"/pages/my/index"})},safeAreaInsetBottom:!0,children:[(0,u.jsx)(a.default,{icon:"home-o",children:"首页"}),(0,u.jsx)(a.default,{icon:"friends-o",children:"活动"}),(0,u.jsx)(a.default,{icon:"setting-o",children:"我的"})]})})}}}]);
|
||||
4
dist/common.js.LICENSE.txt
vendored
4
dist/common.js.LICENSE.txt
vendored
@@ -12,10 +12,6 @@
|
||||
|
||||
/*! react/jsx-runtime */
|
||||
|
||||
/*!****************************!*\
|
||||
!*** ./src/utils/index.ts ***!
|
||||
\****************************/
|
||||
|
||||
/*!**************************************************!*\
|
||||
!*** ./src/pages/components/TabbarCom/index.tsx ***!
|
||||
\**************************************************/
|
||||
|
||||
2
dist/pages/home/index.js
vendored
2
dist/pages/home/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/pages/home/index.js.LICENSE.txt
vendored
2
dist/pages/home/index.js.LICENSE.txt
vendored
@@ -6,8 +6,6 @@
|
||||
|
||||
/*! ../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./index.tsx */
|
||||
|
||||
/*! ../../utils/index */
|
||||
|
||||
/*! ../common/jumpLink */
|
||||
|
||||
/*! ../common/utils */
|
||||
|
||||
2
dist/pages/mountainPeak/index.js
vendored
2
dist/pages/mountainPeak/index.js
vendored
File diff suppressed because one or more lines are too long
6
dist/pages/mountainPeak/index.js.LICENSE.txt
vendored
6
dist/pages/mountainPeak/index.js.LICENSE.txt
vendored
@@ -22,10 +22,16 @@
|
||||
|
||||
/*! @tarojs/runtime */
|
||||
|
||||
/*! @tarojs/taro */
|
||||
|
||||
/*! react */
|
||||
|
||||
/*! react/jsx-runtime */
|
||||
|
||||
/*!****************************!*\
|
||||
!*** ./src/utils/index.ts ***!
|
||||
\****************************/
|
||||
|
||||
/*!******************************************!*\
|
||||
!*** ./src/pages/mountainPeak/index.tsx ***!
|
||||
\******************************************/
|
||||
|
||||
2
dist/pages/my/index.js
vendored
2
dist/pages/my/index.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user