完善库
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
node_modules/
|
||||
dist/
|
||||
|
||||
@@ -28,6 +28,7 @@ export default defineConfig(async (merge, {command, mode}) => {
|
||||
outputRoot: 'dist',
|
||||
plugins: [
|
||||
'@tarojs/plugin-html',
|
||||
'@tarojs/plugin-http',
|
||||
['@tarojs/plugin-mini-ci', CIPluginOpt]
|
||||
],
|
||||
defineConstants: {},
|
||||
|
||||
217
dist/app.js
vendored
217
dist/app.js
vendored
@@ -1,217 +0,0 @@
|
||||
"use strict";
|
||||
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-FCEGKHHF_js.js");
|
||||
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js.js");
|
||||
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_uqrcodejs_js.js");
|
||||
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_react-redux_js.js");
|
||||
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-6TBQVUF2_js.js");
|
||||
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_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_redux-logger_js.js");
|
||||
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_redux_js.js");
|
||||
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-platform-weapp_dist_runtime_js.js");
|
||||
require("./prebundle/node_modules_taro_weapp_prebundle_tarojs_runtime_js.js");
|
||||
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-html_dist_runtime_js.js");
|
||||
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_taro_js.js");
|
||||
require("./prebundle/remoteEntry.js");
|
||||
require("./prebundle/node_modules_taro_weapp_prebundle_react_jsx-runtime_js.js");
|
||||
require("./prebundle/node_modules_taro_weapp_prebundle_react_js.js");
|
||||
require("./prebundle/node_modules_taro_weapp_prebundle_redux-thunk_js.js");
|
||||
require("./prebundle/node_modules_taro_weapp_prebundle_react-dom_js.js");
|
||||
|
||||
require("./common");
|
||||
require("./taro");
|
||||
require("./runtime");
|
||||
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["app"],{
|
||||
|
||||
/***/ "./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=app!./src/app.jsx":
|
||||
/*!******************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=app!./src/app.jsx ***!
|
||||
\******************************************************************************************************************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
|
||||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-redux */ "webpack/container/remote/react-redux");
|
||||
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_redux__WEBPACK_IMPORTED_MODULE_1__);
|
||||
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./store */ "./src/store/index.js");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "webpack/container/remote/react/jsx-runtime");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
const store = (0,_store__WEBPACK_IMPORTED_MODULE_2__["default"])();
|
||||
class App extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
|
||||
componentDidMount() {}
|
||||
componentDidShow() {}
|
||||
componentDidHide() {}
|
||||
|
||||
// 在 App 类中的 render() 函数没有实际作用
|
||||
// 请勿修改此函数
|
||||
render() {
|
||||
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(react_redux__WEBPACK_IMPORTED_MODULE_1__.Provider, {
|
||||
store: store,
|
||||
children: this.props.children
|
||||
});
|
||||
}
|
||||
}
|
||||
/* harmony default export */ __webpack_exports__["default"] = (App);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/app.jsx":
|
||||
/*!*********************!*\
|
||||
!*** ./src/app.jsx ***!
|
||||
\*********************/
|
||||
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
||||
|
||||
/* harmony import */ var _tarojs_plugin_platform_weapp_dist_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tarojs/plugin-platform-weapp/dist/runtime */ "webpack/container/remote/@tarojs/plugin-platform-weapp/dist/runtime");
|
||||
/* harmony import */ var _tarojs_plugin_platform_weapp_dist_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tarojs_plugin_platform_weapp_dist_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _tarojs_plugin_html_dist_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tarojs/plugin-html/dist/runtime */ "webpack/container/remote/@tarojs/plugin-html/dist/runtime");
|
||||
/* harmony import */ var _tarojs_plugin_html_dist_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tarojs_plugin_html_dist_runtime__WEBPACK_IMPORTED_MODULE_1__);
|
||||
/* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @tarojs/runtime */ "webpack/container/remote/@tarojs/runtime");
|
||||
/* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_2__);
|
||||
/* harmony import */ var _tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @tarojs/plugin-framework-react/dist/runtime */ "webpack/container/remote/@tarojs/plugin-framework-react/dist/runtime");
|
||||
/* harmony import */ var _tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_3__);
|
||||
/* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @tarojs/taro */ "webpack/container/remote/@tarojs/taro");
|
||||
/* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_tarojs_taro__WEBPACK_IMPORTED_MODULE_4__);
|
||||
/* harmony import */ var _node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_app_app_jsx__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !!../node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=app!./app.jsx */ "./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=app!./src/app.jsx");
|
||||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
|
||||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
|
||||
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react-dom */ "webpack/container/remote/react-dom");
|
||||
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_7__);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var config = {"pages":["pages/home/index","pages/index/index"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"},"lazyCodeLoading":"requiredComponents"};
|
||||
_tarojs_runtime__WEBPACK_IMPORTED_MODULE_2__.window.__taroAppConfig = config
|
||||
var inst = App((0,_tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_3__.createReactApp)(_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_app_app_jsx__WEBPACK_IMPORTED_MODULE_5__["default"], react__WEBPACK_IMPORTED_MODULE_6__, (react_dom__WEBPACK_IMPORTED_MODULE_7___default()), config))
|
||||
|
||||
;(0,_tarojs_taro__WEBPACK_IMPORTED_MODULE_4__.initPxTransform)({
|
||||
designWidth: function designWidth(input) {
|
||||
var _input_file;
|
||||
// 配置 NutUI 375 尺寸
|
||||
if ((input === null || input === void 0 ? void 0 : (_input_file = input.file) === null || _input_file === void 0 ? void 0 : _input_file.replace(/\\+/g, "/").indexOf("@nutui")) > -1) {
|
||||
return 375;
|
||||
}
|
||||
// 全局使用 Taro 默认的 750 尺寸
|
||||
return 750;
|
||||
},
|
||||
deviceRatio: {"375":2,"640":1.17,"750":1,"828":0.905},
|
||||
baseFontSize: 20,
|
||||
unitPrecision: undefined,
|
||||
targetUnit: undefined
|
||||
})
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/reducers/counter.js":
|
||||
/*!*********************************!*\
|
||||
!*** ./src/reducers/counter.js ***!
|
||||
\*********************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ "default": function() { return /* binding */ counter; }
|
||||
/* harmony export */ });
|
||||
/* harmony import */ var _constants_counter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants/counter */ "./src/constants/counter.js");
|
||||
|
||||
const INITIAL_STATE = {
|
||||
num: 0
|
||||
};
|
||||
function counter() {
|
||||
let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : INITIAL_STATE;
|
||||
let action = arguments.length > 1 ? arguments[1] : undefined;
|
||||
switch (action.type) {
|
||||
case _constants_counter__WEBPACK_IMPORTED_MODULE_0__.ADD:
|
||||
return {
|
||||
...state,
|
||||
num: state.num + 1
|
||||
};
|
||||
case _constants_counter__WEBPACK_IMPORTED_MODULE_0__.MINUS:
|
||||
return {
|
||||
...state,
|
||||
num: state.num - 1
|
||||
};
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/reducers/index.js":
|
||||
/*!*******************************!*\
|
||||
!*** ./src/reducers/index.js ***!
|
||||
\*******************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux */ "webpack/container/remote/redux");
|
||||
/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(redux__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _counter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./counter */ "./src/reducers/counter.js");
|
||||
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ((0,redux__WEBPACK_IMPORTED_MODULE_0__.combineReducers)({
|
||||
counter: _counter__WEBPACK_IMPORTED_MODULE_1__["default"]
|
||||
}));
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/store/index.js":
|
||||
/*!****************************!*\
|
||||
!*** ./src/store/index.js ***!
|
||||
\****************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ "default": function() { return /* binding */ configStore; }
|
||||
/* harmony export */ });
|
||||
/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux */ "webpack/container/remote/redux");
|
||||
/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(redux__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var redux_thunk__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-thunk */ "webpack/container/remote/redux-thunk");
|
||||
/* harmony import */ var redux_thunk__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(redux_thunk__WEBPACK_IMPORTED_MODULE_1__);
|
||||
/* harmony import */ var redux_logger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-logger */ "webpack/container/remote/redux-logger");
|
||||
/* harmony import */ var redux_logger__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(redux_logger__WEBPACK_IMPORTED_MODULE_2__);
|
||||
/* harmony import */ var _reducers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../reducers */ "./src/reducers/index.js");
|
||||
/* provided dependency */ var window = __webpack_require__(/*! @tarojs/runtime */ "webpack/container/remote/@tarojs/runtime")["window"];
|
||||
|
||||
|
||||
|
||||
|
||||
const composeEnhancers = typeof window === 'object' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
|
||||
// Specify extension’s options like name, actionsBlacklist, actionsCreators, serialize...
|
||||
}) : redux__WEBPACK_IMPORTED_MODULE_0__.compose;
|
||||
const middlewares = [(redux_thunk__WEBPACK_IMPORTED_MODULE_1___default())];
|
||||
if (true) {
|
||||
middlewares.push((redux_logger__WEBPACK_IMPORTED_MODULE_2___default()));
|
||||
}
|
||||
const enhancer = composeEnhancers((0,redux__WEBPACK_IMPORTED_MODULE_0__.applyMiddleware)(...middlewares)
|
||||
// other store enhancers if any
|
||||
);
|
||||
function configStore() {
|
||||
const store = (0,redux__WEBPACK_IMPORTED_MODULE_0__.legacy_createStore)(_reducers__WEBPACK_IMPORTED_MODULE_3__["default"], enhancer);
|
||||
return store;
|
||||
}
|
||||
|
||||
/***/ })
|
||||
|
||||
},
|
||||
/******/ function(__webpack_require__) { // webpackRuntimeModules
|
||||
/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
|
||||
/******/ __webpack_require__.O(0, ["common"], function() { return __webpack_exec__("./src/app.jsx"); });
|
||||
/******/ var __webpack_exports__ = __webpack_require__.O();
|
||||
/******/ }
|
||||
]);;;
|
||||
//# sourceMappingURL=app.js.map
|
||||
1
dist/app.js.map
vendored
1
dist/app.js.map
vendored
@@ -1 +0,0 @@
|
||||
{"version":3,"sources":[""],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AAMA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;AAaA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
||||
1
dist/app.json
vendored
1
dist/app.json
vendored
@@ -1 +0,0 @@
|
||||
{"pages":["pages/home/index","pages/index/index"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"},"lazyCodeLoading":"requiredComponents"}
|
||||
81
dist/app.wxss
vendored
81
dist/app.wxss
vendored
@@ -1,81 +0,0 @@
|
||||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@7.1.2_webpack@5.94.0_@swc+core@1.3.96_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[1]!./node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.7.2_webpack@5.94.0_@swc+core@1.3.96_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.83.0_webpack@5.94.0_@swc+core@1.3.96_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/app.scss ***!
|
||||
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
::backdrop {
|
||||
--tw-border-spacing-x: 0;
|
||||
--tw-border-spacing-y: 0;
|
||||
--tw-translate-x: 0;
|
||||
--tw-translate-y: 0;
|
||||
--tw-rotate: 0;
|
||||
--tw-skew-x: 0;
|
||||
--tw-skew-y: 0;
|
||||
--tw-scale-x: 1;
|
||||
--tw-scale-y: 1;
|
||||
--tw-pan-x: ;
|
||||
--tw-pan-y: ;
|
||||
--tw-pinch-zoom: ;
|
||||
--tw-scroll-snap-strictness: proximity;
|
||||
--tw-gradient-from-position: ;
|
||||
--tw-gradient-via-position: ;
|
||||
--tw-gradient-to-position: ;
|
||||
--tw-ordinal: ;
|
||||
--tw-slashed-zero: ;
|
||||
--tw-numeric-figure: ;
|
||||
--tw-numeric-spacing: ;
|
||||
--tw-numeric-fraction: ;
|
||||
--tw-ring-inset: ;
|
||||
--tw-ring-offset-width: 0rpx;
|
||||
--tw-ring-offset-color: #fff;
|
||||
--tw-ring-color: rgb(59 130 246 / 0.5);
|
||||
--tw-ring-offset-shadow: 0 0 #0000;
|
||||
--tw-ring-shadow: 0 0 #0000;
|
||||
--tw-shadow: 0 0 #0000;
|
||||
--tw-shadow-colored: 0 0 #0000;
|
||||
--tw-blur: ;
|
||||
--tw-brightness: ;
|
||||
--tw-contrast: ;
|
||||
--tw-grayscale: ;
|
||||
--tw-hue-rotate: ;
|
||||
--tw-invert: ;
|
||||
--tw-saturate: ;
|
||||
--tw-sepia: ;
|
||||
--tw-drop-shadow: ;
|
||||
--tw-backdrop-blur: ;
|
||||
--tw-backdrop-brightness: ;
|
||||
--tw-backdrop-contrast: ;
|
||||
--tw-backdrop-grayscale: ;
|
||||
--tw-backdrop-hue-rotate: ;
|
||||
--tw-backdrop-invert: ;
|
||||
--tw-backdrop-opacity: ;
|
||||
--tw-backdrop-saturate: ;
|
||||
--tw-backdrop-sepia: ;
|
||||
--tw-contain-size: ;
|
||||
--tw-contain-layout: ;
|
||||
--tw-contain-paint: ;
|
||||
--tw-contain-style:
|
||||
}
|
||||
.static {
|
||||
position: static
|
||||
}
|
||||
.absolute {
|
||||
position: absolute
|
||||
}
|
||||
.-z-10 {
|
||||
z-index: -10
|
||||
}
|
||||
.block {
|
||||
display: block
|
||||
}
|
||||
.table {
|
||||
display: table
|
||||
}
|
||||
.ih-full {
|
||||
height: 100% !important
|
||||
}
|
||||
.iw-full {
|
||||
width: 100% !important
|
||||
}
|
||||
.text-_red_ {
|
||||
--tw-text-opacity: 1;
|
||||
color: rgb(255 0 0 / var(--tw-text-opacity, 1))
|
||||
}
|
||||
641
dist/base.wxml
vendored
641
dist/base.wxml
vendored
@@ -1,641 +0,0 @@
|
||||
<wxs module="xs" src="./utils.wxs" />
|
||||
<template name="taro_tmpl">
|
||||
<template is="{{xs.a(0, item.nn, '')}}" data="{{i:item,c:1,l:xs.f('',item.nn)}}" wx:for="{{root.cn}}" wx:key="sid" />
|
||||
</template>
|
||||
|
||||
<template name="tmpl_0_0">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" catchtouchmove="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_0_6">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" animation="{{i.p0}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_0_3">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_0_1">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_0_8">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_0_5">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_0_7">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_0_14">
|
||||
<button size="{{i.p18||'default'}}" type="{{i.p19}}" plain="{{i.p12||!1}}" disabled="{{i.p2}}" loading="{{i.p9||!1}}" form-type="{{i.p3}}" open-type="{{i.p11}}" hover-class="{{i.p4||'button-hover'}}" hover-stop-propagation="{{i.p7||!1}}" hover-start-time="{{xs.b(i.p5,20)}}" hover-stay-time="{{xs.b(i.p6,70)}}" name="{{i.p10}}" bindagreeprivacyauthorization="eh" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" lang="{{i.p8||en}}" session-from="{{i.p16}}" send-message-title="{{i.p15}}" send-message-path="{{i.p14}}" send-message-img="{{i.p13}}" app-parameter="{{i.p0}}" show-message-card="{{xs.b(i.p17,false)}}" business-id="{{i.p1}}" bindgetuserinfo="eh" bindcontact="eh" bindgetphonenumber="eh" bindgetrealtimephonenumber="eh" bindchooseavatar="eh" binderror="eh" bindopensetting="eh" bindlaunchapp="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_0_66">
|
||||
<scroll-view scroll-x="{{i.p34||!1}}" scroll-y="{{i.p35||!1}}" upper-threshold="{{xs.b(i.p38,50)}}" lower-threshold="{{xs.b(i.p10,50)}}" scroll-top="{{i.p32}}" scroll-left="{{i.p31}}" scroll-into-view="{{i.p28}}" scroll-with-animation="{{i.p33||!1}}" enable-back-to-top="{{xs.b(i.p5,false)}}" bindscrolltoupper="eh" bindscrolltolower="eh" bindscroll="eh" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" enable-flex="{{xs.b(i.p6,false)}}" scroll-anchoring="{{xs.b(i.p27,false)}}" enhanced="{{xs.b(i.p8,false)}}" using-sticky="{{xs.b(i.p39,false)}}" paging-enabled="{{xs.b(i.p13,false)}}" enable-passive="{{xs.b(i.p7,false)}}" refresher-enabled="{{xs.b(i.p17,false)}}" refresher-threshold="{{xs.b(i.p18,45)}}" refresher-default-style="{{i.p16||'black'}}" refresher-background="{{i.p14||'#FFF'}}" refresher-triggered="{{xs.b(i.p19,false)}}" bounces="{{xs.b(i.p2,true)}}" show-scrollbar="{{xs.b(i.p36,true)}}" fast-deceleration="{{xs.b(i.p9,false)}}" type="{{i.p37||'list'}}" associative-container="{{i.p1||''}}" reverse="{{xs.b(i.p26,false)}}" clip="{{xs.b(i.p4,true)}}" cache-extent="{{i.p3}}" min-drag-distance="{{xs.b(i.p11,18)}}" scroll-into-view-within-extent="{{xs.b(i.p30,false)}}" scroll-into-view-alignment="{{i.p29||'start'}}" padding="{{i.p12||[0,0,0,0]}}" refresher-two-level-enabled="{{xs.b(i.p21,false)}}" refresher-two-level-triggered="{{xs.b(i.p25,false)}}" refresher-two-level-threshold="{{xs.b(i.p24,150)}}" refresher-two-level-close-threshold="{{xs.b(i.p20,80)}}" refresher-two-level-scroll-enabled="{{xs.b(i.p23,false)}}" refresher-ballistic-refresh-enabled="{{xs.b(i.p15,false)}}" refresher-two-level-pinned="{{xs.b(i.p22,false)}}" binddragstart="eh" binddragging="eh" binddragend="eh" bindrefresherpulling="eh" bindrefresherrefresh="eh" bindrefresherrestore="eh" bindrefresherabort="eh" bindscrollstart="eh" bindscrollend="eh" bindrefresherwillrefresh="eh" bindrefresherstatuschange="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</scroll-view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_0_4">
|
||||
<image src="{{i.p4}}" mode="{{i.p2||'scaleToFill'}}" lazy-load="{{i.p1||!1}}" webp="{{xs.b(i.p5,false)}}" show-menu-by-longpress="{{xs.b(i.p3,false)}}" fade-in="{{xs.b(i.p0,false)}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</image>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_0_2">
|
||||
<image src="{{i.p4}}" mode="{{i.p2||'scaleToFill'}}" lazy-load="{{i.p1||!1}}" binderror="eh" bindload="eh" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" webp="{{xs.b(i.p5,false)}}" show-menu-by-longpress="{{xs.b(i.p3,false)}}" fade-in="{{xs.b(i.p0,false)}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</image>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_0_16">
|
||||
<canvas canvas-id="{{i.p0}}" disable-scroll="{{i.p1||!1}}" binderror="eh" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongtap="eh" type="{{i.p2}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</canvas>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_0_9">
|
||||
<block>{{i.v}}</block>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_1_0">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" catchtouchmove="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_1_6">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" animation="{{i.p0}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_1_3">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_1_1">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_1_8">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_1_5">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_1_7">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_1_66">
|
||||
<scroll-view scroll-x="{{i.p34||!1}}" scroll-y="{{i.p35||!1}}" upper-threshold="{{xs.b(i.p38,50)}}" lower-threshold="{{xs.b(i.p10,50)}}" scroll-top="{{i.p32}}" scroll-left="{{i.p31}}" scroll-into-view="{{i.p28}}" scroll-with-animation="{{i.p33||!1}}" enable-back-to-top="{{xs.b(i.p5,false)}}" bindscrolltoupper="eh" bindscrolltolower="eh" bindscroll="eh" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" enable-flex="{{xs.b(i.p6,false)}}" scroll-anchoring="{{xs.b(i.p27,false)}}" enhanced="{{xs.b(i.p8,false)}}" using-sticky="{{xs.b(i.p39,false)}}" paging-enabled="{{xs.b(i.p13,false)}}" enable-passive="{{xs.b(i.p7,false)}}" refresher-enabled="{{xs.b(i.p17,false)}}" refresher-threshold="{{xs.b(i.p18,45)}}" refresher-default-style="{{i.p16||'black'}}" refresher-background="{{i.p14||'#FFF'}}" refresher-triggered="{{xs.b(i.p19,false)}}" bounces="{{xs.b(i.p2,true)}}" show-scrollbar="{{xs.b(i.p36,true)}}" fast-deceleration="{{xs.b(i.p9,false)}}" type="{{i.p37||'list'}}" associative-container="{{i.p1||''}}" reverse="{{xs.b(i.p26,false)}}" clip="{{xs.b(i.p4,true)}}" cache-extent="{{i.p3}}" min-drag-distance="{{xs.b(i.p11,18)}}" scroll-into-view-within-extent="{{xs.b(i.p30,false)}}" scroll-into-view-alignment="{{i.p29||'start'}}" padding="{{i.p12||[0,0,0,0]}}" refresher-two-level-enabled="{{xs.b(i.p21,false)}}" refresher-two-level-triggered="{{xs.b(i.p25,false)}}" refresher-two-level-threshold="{{xs.b(i.p24,150)}}" refresher-two-level-close-threshold="{{xs.b(i.p20,80)}}" refresher-two-level-scroll-enabled="{{xs.b(i.p23,false)}}" refresher-ballistic-refresh-enabled="{{xs.b(i.p15,false)}}" refresher-two-level-pinned="{{xs.b(i.p22,false)}}" binddragstart="eh" binddragging="eh" binddragend="eh" bindrefresherpulling="eh" bindrefresherrefresh="eh" bindrefresherrestore="eh" bindrefresherabort="eh" bindscrollstart="eh" bindscrollend="eh" bindrefresherwillrefresh="eh" bindrefresherstatuschange="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</scroll-view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_2_0">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" catchtouchmove="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_2_6">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" animation="{{i.p0}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_2_3">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_2_1">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_2_8">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_2_5">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_2_7">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_2_66">
|
||||
<scroll-view scroll-x="{{i.p34||!1}}" scroll-y="{{i.p35||!1}}" upper-threshold="{{xs.b(i.p38,50)}}" lower-threshold="{{xs.b(i.p10,50)}}" scroll-top="{{i.p32}}" scroll-left="{{i.p31}}" scroll-into-view="{{i.p28}}" scroll-with-animation="{{i.p33||!1}}" enable-back-to-top="{{xs.b(i.p5,false)}}" bindscrolltoupper="eh" bindscrolltolower="eh" bindscroll="eh" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" enable-flex="{{xs.b(i.p6,false)}}" scroll-anchoring="{{xs.b(i.p27,false)}}" enhanced="{{xs.b(i.p8,false)}}" using-sticky="{{xs.b(i.p39,false)}}" paging-enabled="{{xs.b(i.p13,false)}}" enable-passive="{{xs.b(i.p7,false)}}" refresher-enabled="{{xs.b(i.p17,false)}}" refresher-threshold="{{xs.b(i.p18,45)}}" refresher-default-style="{{i.p16||'black'}}" refresher-background="{{i.p14||'#FFF'}}" refresher-triggered="{{xs.b(i.p19,false)}}" bounces="{{xs.b(i.p2,true)}}" show-scrollbar="{{xs.b(i.p36,true)}}" fast-deceleration="{{xs.b(i.p9,false)}}" type="{{i.p37||'list'}}" associative-container="{{i.p1||''}}" reverse="{{xs.b(i.p26,false)}}" clip="{{xs.b(i.p4,true)}}" cache-extent="{{i.p3}}" min-drag-distance="{{xs.b(i.p11,18)}}" scroll-into-view-within-extent="{{xs.b(i.p30,false)}}" scroll-into-view-alignment="{{i.p29||'start'}}" padding="{{i.p12||[0,0,0,0]}}" refresher-two-level-enabled="{{xs.b(i.p21,false)}}" refresher-two-level-triggered="{{xs.b(i.p25,false)}}" refresher-two-level-threshold="{{xs.b(i.p24,150)}}" refresher-two-level-close-threshold="{{xs.b(i.p20,80)}}" refresher-two-level-scroll-enabled="{{xs.b(i.p23,false)}}" refresher-ballistic-refresh-enabled="{{xs.b(i.p15,false)}}" refresher-two-level-pinned="{{xs.b(i.p22,false)}}" binddragstart="eh" binddragging="eh" binddragend="eh" bindrefresherpulling="eh" bindrefresherrefresh="eh" bindrefresherrestore="eh" bindrefresherabort="eh" bindscrollstart="eh" bindscrollend="eh" bindrefresherwillrefresh="eh" bindrefresherstatuschange="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</scroll-view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_3_0">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" catchtouchmove="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_3_6">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" animation="{{i.p0}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_3_3">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_3_1">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_3_8">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_3_5">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_3_7">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_3_66">
|
||||
<scroll-view scroll-x="{{i.p34||!1}}" scroll-y="{{i.p35||!1}}" upper-threshold="{{xs.b(i.p38,50)}}" lower-threshold="{{xs.b(i.p10,50)}}" scroll-top="{{i.p32}}" scroll-left="{{i.p31}}" scroll-into-view="{{i.p28}}" scroll-with-animation="{{i.p33||!1}}" enable-back-to-top="{{xs.b(i.p5,false)}}" bindscrolltoupper="eh" bindscrolltolower="eh" bindscroll="eh" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" enable-flex="{{xs.b(i.p6,false)}}" scroll-anchoring="{{xs.b(i.p27,false)}}" enhanced="{{xs.b(i.p8,false)}}" using-sticky="{{xs.b(i.p39,false)}}" paging-enabled="{{xs.b(i.p13,false)}}" enable-passive="{{xs.b(i.p7,false)}}" refresher-enabled="{{xs.b(i.p17,false)}}" refresher-threshold="{{xs.b(i.p18,45)}}" refresher-default-style="{{i.p16||'black'}}" refresher-background="{{i.p14||'#FFF'}}" refresher-triggered="{{xs.b(i.p19,false)}}" bounces="{{xs.b(i.p2,true)}}" show-scrollbar="{{xs.b(i.p36,true)}}" fast-deceleration="{{xs.b(i.p9,false)}}" type="{{i.p37||'list'}}" associative-container="{{i.p1||''}}" reverse="{{xs.b(i.p26,false)}}" clip="{{xs.b(i.p4,true)}}" cache-extent="{{i.p3}}" min-drag-distance="{{xs.b(i.p11,18)}}" scroll-into-view-within-extent="{{xs.b(i.p30,false)}}" scroll-into-view-alignment="{{i.p29||'start'}}" padding="{{i.p12||[0,0,0,0]}}" refresher-two-level-enabled="{{xs.b(i.p21,false)}}" refresher-two-level-triggered="{{xs.b(i.p25,false)}}" refresher-two-level-threshold="{{xs.b(i.p24,150)}}" refresher-two-level-close-threshold="{{xs.b(i.p20,80)}}" refresher-two-level-scroll-enabled="{{xs.b(i.p23,false)}}" refresher-ballistic-refresh-enabled="{{xs.b(i.p15,false)}}" refresher-two-level-pinned="{{xs.b(i.p22,false)}}" binddragstart="eh" binddragging="eh" binddragend="eh" bindrefresherpulling="eh" bindrefresherrefresh="eh" bindrefresherrestore="eh" bindrefresherabort="eh" bindscrollstart="eh" bindscrollend="eh" bindrefresherwillrefresh="eh" bindrefresherstatuschange="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</scroll-view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_4_0">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" catchtouchmove="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_4_6">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" animation="{{i.p0}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_4_3">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_4_1">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_4_8">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_4_5">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_4_7">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_5_0">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" catchtouchmove="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_5_6">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" animation="{{i.p0}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_5_3">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_5_1">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_5_8">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_5_5">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_5_7">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_6_0">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" catchtouchmove="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_6_6">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" animation="{{i.p0}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_6_3">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_6_1">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_6_8">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_6_7">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_7_0">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" catchtouchmove="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_7_6">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" animation="{{i.p0}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_7_3">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_7_1">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_7_8">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_7_7">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_8_0">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" catchtouchmove="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_8_6">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" animation="{{i.p0}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_8_3">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_8_1">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_8_8">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_8_7">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_9_0">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" catchtouchmove="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_9_6">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" animation="{{i.p0}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_9_3">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_9_1">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_9_8">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_9_7">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_10_0">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" catchtouchmove="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_10_6">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" animation="{{i.p0}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_10_3">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_10_1">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_10_8">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_10_7">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_11_0">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" catchtouchmove="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_11_6">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" animation="{{i.p0}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_11_3">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_11_1">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_11_8">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_11_7">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_12_0">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" catchtouchmove="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_12_6">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" animation="{{i.p0}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_12_3">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_12_1">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_12_8">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_12_7">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_13_0">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" catchtouchmove="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_13_6">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" animation="{{i.p0}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_13_3">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_13_1">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_13_8">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_13_7">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.a(c, item.nn, l)}}" data="{{i:item,c:c+1,l:xs.f(l,item.nn)}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_14_0">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" catchtouchmove="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.e(15)}}" data="{{i:item,c:c,l:l}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_14_6">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" animation="{{i.p0}}" style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.e(15)}}" data="{{i:item,c:c,l:l}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_14_3">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.e(15)}}" data="{{i:item,c:c,l:l}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_14_1">
|
||||
<view style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.e(15)}}" data="{{i:item,c:c,l:l}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_14_8">
|
||||
<view hover-class="{{i.p1||'none'}}" hover-stop-propagation="{{i.p4||!1}}" hover-start-time="{{xs.b(i.p2,50)}}" hover-stay-time="{{xs.b(i.p3,400)}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" animation="{{i.p0}}" bindanimationstart="eh" bindanimationiteration="eh" bindanimationend="eh" bindtransitionend="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.e(15)}}" data="{{i:item,c:c,l:l}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_14_7">
|
||||
<text selectable="{{i.p3||!1}}" space="{{i.p4}}" decode="{{i.p0||!1}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" user-select="{{xs.b(i.p5,false)}}" overflow="{{i.p2||visible}}" max-lines="{{i.p1}}" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
|
||||
<template is="{{xs.e(15)}}" data="{{i:item,c:c,l:l}}" wx:for="{{i.cn}}" wx:key="sid" />
|
||||
</text>
|
||||
</template>
|
||||
|
||||
<template name="tmpl_15_container">
|
||||
<block wx:if="{{i.nn === '9'}}">
|
||||
<template is="tmpl_0_9" data="{{i:i}}" />
|
||||
</block>
|
||||
<block wx:else>
|
||||
<comp i="{{i}}" l="{{l}}" />
|
||||
</block>
|
||||
</template>
|
||||
20
dist/common.js
vendored
20
dist/common.js
vendored
@@ -1,20 +0,0 @@
|
||||
"use strict";
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["common"],{
|
||||
|
||||
/***/ "./src/constants/counter.js":
|
||||
/*!**********************************!*\
|
||||
!*** ./src/constants/counter.js ***!
|
||||
\**********************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ ADD: function() { return /* binding */ ADD; },
|
||||
/* harmony export */ MINUS: function() { return /* binding */ MINUS; }
|
||||
/* harmony export */ });
|
||||
const ADD = 'ADD';
|
||||
const MINUS = 'MINUS';
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
//# sourceMappingURL=common.js.map
|
||||
1
dist/common.js.map
vendored
1
dist/common.js.map
vendored
@@ -1 +0,0 @@
|
||||
{"version":3,"sources":[""],"names":[],"mappings":"AAAA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA"}
|
||||
8
dist/comp.js
vendored
8
dist/comp.js
vendored
@@ -1,8 +0,0 @@
|
||||
"use strict";
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["comp"],{},
|
||||
/******/ function(__webpack_require__) { // webpackRuntimeModules
|
||||
/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
|
||||
/******/ __webpack_require__.O(0, ["taro","common"], function() { return __webpack_exec__("./node_modules/.pnpm/@tarojs+webpack5-runner@4.0.8_@babel+core@7.26.0_@swc+core@1.3.96_@tarojs+runtime@4.0.8_less@_vwsmwh3bdevzqpifefvyk27xte/node_modules/@tarojs/webpack5-runner/dist/template/comp.js"); });
|
||||
/******/ var __webpack_exports__ = __webpack_require__.O();
|
||||
/******/ }
|
||||
]);
|
||||
1
dist/comp.json
vendored
1
dist/comp.json
vendored
@@ -1 +0,0 @@
|
||||
{"component":true,"styleIsolation":"apply-shared","usingComponents":{"comp":"./comp"}}
|
||||
3
dist/comp.wxml
vendored
3
dist/comp.wxml
vendored
@@ -1,3 +0,0 @@
|
||||
<import src="./base.wxml" />
|
||||
<wxs module="xs" src="./utils.wxs" />
|
||||
<template is="{{'tmpl_0_' + i.nn}}" data="{{i:i,c:1,l:xs.f('',i.nn)}}" />
|
||||
1084
dist/pages/home/index.js
vendored
1084
dist/pages/home/index.js
vendored
File diff suppressed because it is too large
Load Diff
1
dist/pages/home/index.js.map
vendored
1
dist/pages/home/index.js.map
vendored
@@ -1 +0,0 @@
|
||||
{"version":3,"sources":[""],"names":[],"mappings":"AAAA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;AAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,UAAU;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwOA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,eAAe;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA;;;;AAIA;AACA;AACA;AACA;AACA;;;;AAIA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
||||
1
dist/pages/home/index.json
vendored
1
dist/pages/home/index.json
vendored
@@ -1 +0,0 @@
|
||||
{"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}}
|
||||
2
dist/pages/home/index.wxml
vendored
2
dist/pages/home/index.wxml
vendored
@@ -1,2 +0,0 @@
|
||||
<import src="../../base.wxml"/>
|
||||
<template is="taro_tmpl" data="{{root:root}}" />
|
||||
17
dist/pages/home/index.wxss
vendored
17
dist/pages/home/index.wxss
vendored
File diff suppressed because one or more lines are too long
150
dist/pages/index/index.js
vendored
150
dist/pages/index/index.js
vendored
@@ -1,150 +0,0 @@
|
||||
"use strict";
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["pages/index/index"],{
|
||||
|
||||
/***/ "./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/index/index!./src/pages/index/index.jsx":
|
||||
/*!**********************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/index/index!./src/pages/index/index.jsx ***!
|
||||
\**********************************************************************************************************************************************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
|
||||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-redux */ "webpack/container/remote/react-redux");
|
||||
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_redux__WEBPACK_IMPORTED_MODULE_1__);
|
||||
/* harmony import */ var _tarojs_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @tarojs/components */ "./node_modules/.pnpm/@tarojs+plugin-platform-weapp@4.0.8_@tarojs+service@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");
|
||||
/* harmony import */ var _actions_counter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../actions/counter */ "./src/actions/counter.js");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "webpack/container/remote/react/jsx-runtime");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__);
|
||||
var _dec, _class;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
let Index = (_dec = (0,react_redux__WEBPACK_IMPORTED_MODULE_1__.connect)(_ref => {
|
||||
let {
|
||||
counter
|
||||
} = _ref;
|
||||
return {
|
||||
counter
|
||||
};
|
||||
}, dispatch => ({
|
||||
add() {
|
||||
dispatch((0,_actions_counter__WEBPACK_IMPORTED_MODULE_3__.add)());
|
||||
},
|
||||
dec() {
|
||||
dispatch((0,_actions_counter__WEBPACK_IMPORTED_MODULE_3__.minus)());
|
||||
},
|
||||
asyncAdd() {
|
||||
dispatch((0,_actions_counter__WEBPACK_IMPORTED_MODULE_3__.asyncAdd)());
|
||||
}
|
||||
})), _dec(_class = class Index extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
|
||||
componentWillReceiveProps(nextProps) {
|
||||
console.log(this.props, nextProps);
|
||||
}
|
||||
componentWillUnmount() {}
|
||||
componentDidShow() {}
|
||||
componentDidHide() {}
|
||||
render() {
|
||||
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.View, {
|
||||
className: "index",
|
||||
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.Button, {
|
||||
className: "add_btn",
|
||||
onClick: this.props.add,
|
||||
children: "+"
|
||||
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.Button, {
|
||||
className: "dec_btn",
|
||||
onClick: this.props.dec,
|
||||
children: "-"
|
||||
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.Button, {
|
||||
className: "dec_btn",
|
||||
onClick: this.props.asyncAdd,
|
||||
children: "async"
|
||||
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.View, {
|
||||
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.Text, {
|
||||
children: this.props.counter.num
|
||||
})
|
||||
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.View, {
|
||||
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.Text, {
|
||||
children: "Hello, World"
|
||||
})
|
||||
})]
|
||||
});
|
||||
}
|
||||
}) || _class);
|
||||
/* harmony default export */ __webpack_exports__["default"] = (Index);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/actions/counter.js":
|
||||
/*!********************************!*\
|
||||
!*** ./src/actions/counter.js ***!
|
||||
\********************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ add: function() { return /* binding */ add; },
|
||||
/* harmony export */ asyncAdd: function() { return /* binding */ asyncAdd; },
|
||||
/* harmony export */ minus: function() { return /* binding */ minus; }
|
||||
/* harmony export */ });
|
||||
/* harmony import */ var _constants_counter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants/counter */ "./src/constants/counter.js");
|
||||
|
||||
const add = () => {
|
||||
return {
|
||||
type: _constants_counter__WEBPACK_IMPORTED_MODULE_0__.ADD
|
||||
};
|
||||
};
|
||||
const minus = () => {
|
||||
return {
|
||||
type: _constants_counter__WEBPACK_IMPORTED_MODULE_0__.MINUS
|
||||
};
|
||||
};
|
||||
|
||||
// 异步的action
|
||||
function asyncAdd() {
|
||||
return dispatch => {
|
||||
setTimeout(() => {
|
||||
dispatch(add());
|
||||
}, 2000);
|
||||
};
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/pages/index/index.jsx":
|
||||
/*!***********************************!*\
|
||||
!*** ./src/pages/index/index.jsx ***!
|
||||
\***********************************/
|
||||
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
||||
|
||||
/* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tarojs/runtime */ "webpack/container/remote/@tarojs/runtime");
|
||||
/* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_index_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/index/index!./index.jsx */ "./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.94.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/index/index!./src/pages/index/index.jsx");
|
||||
|
||||
|
||||
var config = {"navigationBarTitleText":"首页"};
|
||||
|
||||
|
||||
|
||||
var taroOption = (0,_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createPageConfig)(_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_index_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__["default"], 'pages/index/index', {root:{cn:[]}}, config || {})
|
||||
if (_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_index_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__["default"] && _node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_index_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__["default"].behaviors) {
|
||||
taroOption.behaviors = (taroOption.behaviors || []).concat(_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_index_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__["default"].behaviors)
|
||||
}
|
||||
var inst = Page(taroOption)
|
||||
|
||||
|
||||
|
||||
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_94_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_index_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__["default"]);
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
},
|
||||
/******/ function(__webpack_require__) { // webpackRuntimeModules
|
||||
/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
|
||||
/******/ __webpack_require__.O(0, ["taro","common"], function() { return __webpack_exec__("./src/pages/index/index.jsx"); });
|
||||
/******/ var __webpack_exports__ = __webpack_require__.O();
|
||||
/******/ }
|
||||
]);
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
dist/pages/index/index.js.map
vendored
1
dist/pages/index/index.js.map
vendored
@@ -1 +0,0 @@
|
||||
{"version":3,"sources":[""],"names":[],"mappings":"AAAA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;;;;AAIA;AACA;AACA;AACA;AACA;;;;AAIA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
||||
1
dist/pages/index/index.json
vendored
1
dist/pages/index/index.json
vendored
@@ -1 +0,0 @@
|
||||
{"navigationBarTitleText":"首页","usingComponents":{"comp":"../../comp"}}
|
||||
2
dist/pages/index/index.wxml
vendored
2
dist/pages/index/index.wxml
vendored
@@ -1,2 +0,0 @@
|
||||
<import src="../../base.wxml"/>
|
||||
<template is="taro_tmpl" data="{{root:root}}" />
|
||||
7
dist/pages/index/index.wxss
vendored
7
dist/pages/index/index.wxss
vendored
@@ -1,7 +0,0 @@
|
||||
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@7.1.2_webpack@5.94.0_@swc+core@1.3.96_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[1]!./node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.7.2_webpack@5.94.0_@swc+core@1.3.96_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/.pnpm/resolve-url-loader@5.0.0/node_modules/resolve-url-loader/index.js!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.83.0_webpack@5.94.0_@swc+core@1.3.96_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/pages/index/index.scss ***!
|
||||
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.index {
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
"use strict";
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["node_modules_taro_weapp_prebundle_react-dom_js"],{
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/react-dom.js":
|
||||
/*!*********************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/react-dom.js ***!
|
||||
\*********************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ createPortal: function() { return /* reexport safe */ _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.createPortal; },
|
||||
/* harmony export */ createRoot: function() { return /* reexport safe */ _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.createRoot; },
|
||||
/* harmony export */ "default": function() { return /* binding */ react_dom_default; },
|
||||
/* harmony export */ findDOMNode: function() { return /* reexport safe */ _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.findDOMNode; },
|
||||
/* harmony export */ flushSync: function() { return /* reexport safe */ _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.flushSync; },
|
||||
/* harmony export */ internalInstanceKey: function() { return /* reexport safe */ _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.internalInstanceKey; },
|
||||
/* harmony export */ render: function() { return /* reexport safe */ _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.render; },
|
||||
/* harmony export */ unmountComponentAtNode: function() { return /* reexport safe */ _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.unmountComponentAtNode; },
|
||||
/* harmony export */ unstable_batchedUpdates: function() { return /* reexport safe */ _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.unstable_batchedUpdates; }
|
||||
/* harmony export */ });
|
||||
/* harmony import */ var _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-FCEGKHHF.js */ "./node_modules/.taro/weapp/prebundle/chunk-FCEGKHHF.js");
|
||||
/* harmony import */ var _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-WRSQ3V3E.js */ "./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js");
|
||||
/* harmony import */ var _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-GLEAZC6U.js */ "./node_modules/.taro/weapp/prebundle/chunk-GLEAZC6U.js");
|
||||
/* harmony import */ var _chunk_6TBQVUF2_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chunk-6TBQVUF2.js */ "./node_modules/.taro/weapp/prebundle/chunk-6TBQVUF2.js");
|
||||
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// entry:react-dom
|
||||
var react_dom_default = _chunk_FCEGKHHF_js__WEBPACK_IMPORTED_MODULE_0__.index;
|
||||
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@@ -1,98 +0,0 @@
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["node_modules_taro_weapp_prebundle_react_js"],{
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js":
|
||||
/*!**************************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js ***!
|
||||
\**************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ __commonJS: function() { return /* binding */ __commonJS; },
|
||||
/* harmony export */ __esm: function() { return /* binding */ __esm; },
|
||||
/* harmony export */ __export: function() { return /* binding */ __export; },
|
||||
/* harmony export */ __toCommonJS: function() { return /* binding */ __toCommonJS; },
|
||||
/* harmony export */ __toESM: function() { return /* binding */ __toESM; }
|
||||
/* harmony export */ });
|
||||
var __create = Object.create;
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __getProtoOf = Object.getPrototypeOf;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __esm = (fn, res)=>function __init() {
|
||||
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
||||
};
|
||||
var __commonJS = (cb, mod)=>function __require() {
|
||||
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = {
|
||||
exports: {}
|
||||
}).exports, mod), mod.exports;
|
||||
};
|
||||
var __export = (target, all)=>{
|
||||
for(var name in all)__defProp(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
});
|
||||
};
|
||||
var __copyProps = (to, from, except, desc)=>{
|
||||
if (from && typeof from === "object" || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
||||
get: ()=>from[key],
|
||||
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
||||
});
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __toESM = (mod, isNodeMode, target)=>(target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(// If the importer is in node compatibility mode or this is not an ESM
|
||||
// file that has been converted to a CommonJS file using a Babel-
|
||||
// compatible transform (i.e. "__esModule" has not been set), then set
|
||||
// "default" to the CommonJS "module.exports" for node compatibility.
|
||||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
||||
value: mod,
|
||||
enumerable: true
|
||||
}) : target, mod));
|
||||
var __toCommonJS = (mod)=>__copyProps(__defProp({}, "__esModule", {
|
||||
value: true
|
||||
}), mod);
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/react.core.js":
|
||||
/*!**********************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/react.core.js ***!
|
||||
\**********************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _chunk_6TBQVUF2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-6TBQVUF2.js */ "./node_modules/.taro/weapp/prebundle/chunk-6TBQVUF2.js");
|
||||
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
|
||||
|
||||
|
||||
// entry:react
|
||||
var require_react2 = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__commonJS)({
|
||||
"entry:react" (exports, module) {
|
||||
module.exports = (0,_chunk_6TBQVUF2_js__WEBPACK_IMPORTED_MODULE_0__.require_react)();
|
||||
}
|
||||
});
|
||||
/* harmony default export */ __webpack_exports__["default"] = (require_react2());
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/react.js":
|
||||
/*!*****************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/react.js ***!
|
||||
\*****************************************************/
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var m = __webpack_require__(/*! ./react.core.js */ "./node_modules/.taro/weapp/prebundle/react.core.js");
|
||||
module.exports = m.default;
|
||||
exports["default"] = module.exports;
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@@ -1,146 +0,0 @@
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["node_modules_taro_weapp_prebundle_react_jsx-runtime_js"],{
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js":
|
||||
/*!**************************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js ***!
|
||||
\**************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ __commonJS: function() { return /* binding */ __commonJS; },
|
||||
/* harmony export */ __esm: function() { return /* binding */ __esm; },
|
||||
/* harmony export */ __export: function() { return /* binding */ __export; },
|
||||
/* harmony export */ __toCommonJS: function() { return /* binding */ __toCommonJS; },
|
||||
/* harmony export */ __toESM: function() { return /* binding */ __toESM; }
|
||||
/* harmony export */ });
|
||||
var __create = Object.create;
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __getProtoOf = Object.getPrototypeOf;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __esm = (fn, res)=>function __init() {
|
||||
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
||||
};
|
||||
var __commonJS = (cb, mod)=>function __require() {
|
||||
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = {
|
||||
exports: {}
|
||||
}).exports, mod), mod.exports;
|
||||
};
|
||||
var __export = (target, all)=>{
|
||||
for(var name in all)__defProp(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
});
|
||||
};
|
||||
var __copyProps = (to, from, except, desc)=>{
|
||||
if (from && typeof from === "object" || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
||||
get: ()=>from[key],
|
||||
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
||||
});
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __toESM = (mod, isNodeMode, target)=>(target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(// If the importer is in node compatibility mode or this is not an ESM
|
||||
// file that has been converted to a CommonJS file using a Babel-
|
||||
// compatible transform (i.e. "__esModule" has not been set), then set
|
||||
// "default" to the CommonJS "module.exports" for node compatibility.
|
||||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
||||
value: mod,
|
||||
enumerable: true
|
||||
}) : target, mod));
|
||||
var __toCommonJS = (mod)=>__copyProps(__defProp({}, "__esModule", {
|
||||
value: true
|
||||
}), mod);
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/react_jsx-runtime.core.js":
|
||||
/*!**********************************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/react_jsx-runtime.core.js ***!
|
||||
\**********************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _chunk_6TBQVUF2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-6TBQVUF2.js */ "./node_modules/.taro/weapp/prebundle/chunk-6TBQVUF2.js");
|
||||
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
|
||||
|
||||
|
||||
// node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js
|
||||
var require_react_jsx_runtime_production_min = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__commonJS)({
|
||||
"node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js" (exports) {
|
||||
"use strict";
|
||||
var f = (0,_chunk_6TBQVUF2_js__WEBPACK_IMPORTED_MODULE_0__.require_react)();
|
||||
var k = Symbol.for("react.element");
|
||||
var l = Symbol.for("react.fragment");
|
||||
var m = Object.prototype.hasOwnProperty;
|
||||
var n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
|
||||
var p = {
|
||||
key: true,
|
||||
ref: true,
|
||||
__self: true,
|
||||
__source: true
|
||||
};
|
||||
function q(c, a, g) {
|
||||
var b, d = {}, e = null, h = null;
|
||||
void 0 !== g && (e = "" + g);
|
||||
void 0 !== a.key && (e = "" + a.key);
|
||||
void 0 !== a.ref && (h = a.ref);
|
||||
for(b in a)m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
|
||||
if (c && c.defaultProps) for(b in a = c.defaultProps, a)void 0 === d[b] && (d[b] = a[b]);
|
||||
return {
|
||||
$$typeof: k,
|
||||
type: c,
|
||||
key: e,
|
||||
ref: h,
|
||||
props: d,
|
||||
_owner: n.current
|
||||
};
|
||||
}
|
||||
exports.Fragment = l;
|
||||
exports.jsx = q;
|
||||
exports.jsxs = q;
|
||||
}
|
||||
});
|
||||
// entry:react_jsx-runtime
|
||||
var require_react_jsx_runtime = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__commonJS)({
|
||||
"entry:react_jsx-runtime" (exports, module) {
|
||||
module.exports = require_react_jsx_runtime_production_min();
|
||||
}
|
||||
});
|
||||
/* harmony default export */ __webpack_exports__["default"] = (require_react_jsx_runtime()); /*! Bundled license information:
|
||||
|
||||
react/cjs/react-jsx-runtime.production.min.js:
|
||||
(**
|
||||
* @license React
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*)
|
||||
*/
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js":
|
||||
/*!*****************************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js ***!
|
||||
\*****************************************************************/
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var m = __webpack_require__(/*! ./react_jsx-runtime.core.js */ "./node_modules/.taro/weapp/prebundle/react_jsx-runtime.core.js");
|
||||
module.exports = m.default;
|
||||
exports["default"] = module.exports;
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@@ -1,99 +0,0 @@
|
||||
"use strict";
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["node_modules_taro_weapp_prebundle_redux-thunk_js"],{
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js":
|
||||
/*!**************************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js ***!
|
||||
\**************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ __commonJS: function() { return /* binding */ __commonJS; },
|
||||
/* harmony export */ __esm: function() { return /* binding */ __esm; },
|
||||
/* harmony export */ __export: function() { return /* binding */ __export; },
|
||||
/* harmony export */ __toCommonJS: function() { return /* binding */ __toCommonJS; },
|
||||
/* harmony export */ __toESM: function() { return /* binding */ __toESM; }
|
||||
/* harmony export */ });
|
||||
var __create = Object.create;
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __getProtoOf = Object.getPrototypeOf;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __esm = (fn, res)=>function __init() {
|
||||
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
||||
};
|
||||
var __commonJS = (cb, mod)=>function __require() {
|
||||
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = {
|
||||
exports: {}
|
||||
}).exports, mod), mod.exports;
|
||||
};
|
||||
var __export = (target, all)=>{
|
||||
for(var name in all)__defProp(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
});
|
||||
};
|
||||
var __copyProps = (to, from, except, desc)=>{
|
||||
if (from && typeof from === "object" || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
||||
get: ()=>from[key],
|
||||
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
||||
});
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __toESM = (mod, isNodeMode, target)=>(target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(// If the importer is in node compatibility mode or this is not an ESM
|
||||
// file that has been converted to a CommonJS file using a Babel-
|
||||
// compatible transform (i.e. "__esModule" has not been set), then set
|
||||
// "default" to the CommonJS "module.exports" for node compatibility.
|
||||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
||||
value: mod,
|
||||
enumerable: true
|
||||
}) : target, mod));
|
||||
var __toCommonJS = (mod)=>__copyProps(__defProp({}, "__esModule", {
|
||||
value: true
|
||||
}), mod);
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/redux-thunk.js":
|
||||
/*!***********************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/redux-thunk.js ***!
|
||||
\***********************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ "default": function() { return /* binding */ redux_thunk_default; }
|
||||
/* harmony export */ });
|
||||
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
|
||||
|
||||
// node_modules/.pnpm/redux-thunk@2.4.2_redux@4.2.1/node_modules/redux-thunk/es/index.js
|
||||
function createThunkMiddleware(extraArgument) {
|
||||
var middleware = function middleware2(_ref) {
|
||||
var dispatch = _ref.dispatch, getState = _ref.getState;
|
||||
return function(next) {
|
||||
return function(action) {
|
||||
if (typeof action === "function") {
|
||||
return action(dispatch, getState, extraArgument);
|
||||
}
|
||||
return next(action);
|
||||
};
|
||||
};
|
||||
};
|
||||
return middleware;
|
||||
}
|
||||
var thunk = createThunkMiddleware();
|
||||
thunk.withExtraArgument = createThunkMiddleware;
|
||||
var es_default = thunk;
|
||||
// entry:redux-thunk
|
||||
var redux_thunk_default = es_default;
|
||||
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@@ -1,147 +0,0 @@
|
||||
"use strict";
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["node_modules_taro_weapp_prebundle_tarojs_runtime_js"],{
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js":
|
||||
/*!***************************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js ***!
|
||||
\***************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ A: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.A; },
|
||||
/* harmony export */ APP: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.APP; },
|
||||
/* harmony export */ BEHAVIORS: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.BEHAVIORS; },
|
||||
/* harmony export */ BODY: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.BODY; },
|
||||
/* harmony export */ CATCHMOVE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CATCHMOVE; },
|
||||
/* harmony export */ CATCH_VIEW: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CATCH_VIEW; },
|
||||
/* harmony export */ CHANGE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CHANGE; },
|
||||
/* harmony export */ CLASS: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CLASS; },
|
||||
/* harmony export */ CLICK_VIEW: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CLICK_VIEW; },
|
||||
/* harmony export */ COMMENT: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.COMMENT; },
|
||||
/* harmony export */ COMPILE_MODE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.COMPILE_MODE; },
|
||||
/* harmony export */ CONFIRM: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONFIRM; },
|
||||
/* harmony export */ CONTAINER: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONTAINER; },
|
||||
/* harmony export */ CONTEXT_ACTIONS: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONTEXT_ACTIONS; },
|
||||
/* harmony export */ CURRENT_TARGET: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CURRENT_TARGET; },
|
||||
/* harmony export */ CUSTOM_WRAPPER: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CUSTOM_WRAPPER; },
|
||||
/* harmony export */ Current: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current; },
|
||||
/* harmony export */ DATASET: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.DATASET; },
|
||||
/* harmony export */ DATE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.DATE; },
|
||||
/* harmony export */ DOCUMENT_ELEMENT_NAME: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT_ELEMENT_NAME; },
|
||||
/* harmony export */ DOCUMENT_FRAGMENT: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT_FRAGMENT; },
|
||||
/* harmony export */ EVENT_CALLBACK_RESULT: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.EVENT_CALLBACK_RESULT; },
|
||||
/* harmony export */ EXTERNAL_CLASSES: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.EXTERNAL_CLASSES; },
|
||||
/* harmony export */ Events: function() { return /* reexport safe */ _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.Events; },
|
||||
/* harmony export */ FOCUS: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.FOCUS; },
|
||||
/* harmony export */ FormElement: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.FormElement; },
|
||||
/* harmony export */ HEAD: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.HEAD; },
|
||||
/* harmony export */ HOOKS_APP_ID: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.HOOKS_APP_ID; },
|
||||
/* harmony export */ HTML: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.HTML; },
|
||||
/* harmony export */ History: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.History; },
|
||||
/* harmony export */ ID: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ID; },
|
||||
/* harmony export */ INPUT: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.INPUT; },
|
||||
/* harmony export */ KEY_CODE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.KEY_CODE; },
|
||||
/* harmony export */ Location: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Location; },
|
||||
/* harmony export */ MutationObserver: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.MutationObserver; },
|
||||
/* harmony export */ OBJECT: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.OBJECT; },
|
||||
/* harmony export */ ON_HIDE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ON_HIDE; },
|
||||
/* harmony export */ ON_LOAD: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ON_LOAD; },
|
||||
/* harmony export */ ON_READY: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ON_READY; },
|
||||
/* harmony export */ ON_SHOW: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ON_SHOW; },
|
||||
/* harmony export */ OPTIONS: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.OPTIONS; },
|
||||
/* harmony export */ PAGE_INIT: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.PAGE_INIT; },
|
||||
/* harmony export */ PROPERTY_THRESHOLD: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.PROPERTY_THRESHOLD; },
|
||||
/* harmony export */ PROPS: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.PROPS; },
|
||||
/* harmony export */ PURE_VIEW: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.PURE_VIEW; },
|
||||
/* harmony export */ ROOT_STR: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ROOT_STR; },
|
||||
/* harmony export */ SET_DATA: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.SET_DATA; },
|
||||
/* harmony export */ SET_TIMEOUT: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.SET_TIMEOUT; },
|
||||
/* harmony export */ STATIC_VIEW: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.STATIC_VIEW; },
|
||||
/* harmony export */ STYLE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.STYLE; },
|
||||
/* harmony export */ SVGElement: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.SVGElement; },
|
||||
/* harmony export */ Style: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Style; },
|
||||
/* harmony export */ TARGET: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TARGET; },
|
||||
/* harmony export */ TARO_RUNTIME: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TARO_RUNTIME; },
|
||||
/* harmony export */ TIME_STAMP: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TIME_STAMP; },
|
||||
/* harmony export */ TOUCHMOVE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TOUCHMOVE; },
|
||||
/* harmony export */ TYPE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TYPE; },
|
||||
/* harmony export */ TaroElement: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TaroElement; },
|
||||
/* harmony export */ TaroEvent: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TaroEvent; },
|
||||
/* harmony export */ TaroNode: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TaroNode; },
|
||||
/* harmony export */ TaroRootElement: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TaroRootElement; },
|
||||
/* harmony export */ TaroText: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TaroText; },
|
||||
/* harmony export */ UID: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.UID; },
|
||||
/* harmony export */ URL: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.TaroURLProvider; },
|
||||
/* harmony export */ URLSearchParams: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.URLSearchParams; },
|
||||
/* harmony export */ VALUE: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.VALUE; },
|
||||
/* harmony export */ VIEW: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.VIEW; },
|
||||
/* harmony export */ addLeadingSlash: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.addLeadingSlash; },
|
||||
/* harmony export */ cancelAnimationFrame: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__._caf; },
|
||||
/* harmony export */ convertNumber2PX: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.convertNumber2PX; },
|
||||
/* harmony export */ createComponentConfig: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.createComponentConfig; },
|
||||
/* harmony export */ createEvent: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.createEvent; },
|
||||
/* harmony export */ createPageConfig: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.createPageConfig; },
|
||||
/* harmony export */ createRecursiveComponentConfig: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig; },
|
||||
/* harmony export */ customWrapperCache: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.customWrapperCache; },
|
||||
/* harmony export */ debounce: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.debounce; },
|
||||
/* harmony export */ document: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider; },
|
||||
/* harmony export */ env: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.env; },
|
||||
/* harmony export */ eventCenter: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventCenter; },
|
||||
/* harmony export */ eventHandler: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventHandler; },
|
||||
/* harmony export */ eventSource: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventSource; },
|
||||
/* harmony export */ extend: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.extend; },
|
||||
/* harmony export */ getComponentsAlias: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getComponentsAlias; },
|
||||
/* harmony export */ getComputedStyle: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroGetComputedStyleProvider; },
|
||||
/* harmony export */ getCurrentInstance: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance; },
|
||||
/* harmony export */ getCurrentPage: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getCurrentPage; },
|
||||
/* harmony export */ getHomePage: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getHomePage; },
|
||||
/* harmony export */ getOnHideEventKey: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnHideEventKey; },
|
||||
/* harmony export */ getOnReadyEventKey: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnReadyEventKey; },
|
||||
/* harmony export */ getOnShowEventKey: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnShowEventKey; },
|
||||
/* harmony export */ getPageInstance: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getPageInstance; },
|
||||
/* harmony export */ getPath: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getPath; },
|
||||
/* harmony export */ handlePolyfill: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.handlePolyfill; },
|
||||
/* harmony export */ hasBasename: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.hasBasename; },
|
||||
/* harmony export */ history: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroHistoryProvider; },
|
||||
/* harmony export */ hooks: function() { return /* reexport safe */ _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks; },
|
||||
/* harmony export */ hydrate: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.hydrate; },
|
||||
/* harmony export */ incrementId: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.incrementId; },
|
||||
/* harmony export */ injectPageInstance: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.injectPageInstance; },
|
||||
/* harmony export */ isComment: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.isComment; },
|
||||
/* harmony export */ isElement: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.isElement; },
|
||||
/* harmony export */ isHasExtractProp: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.isHasExtractProp; },
|
||||
/* harmony export */ isParentBinded: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.isParentBinded; },
|
||||
/* harmony export */ isText: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.isText; },
|
||||
/* harmony export */ location: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroLocationProvider; },
|
||||
/* harmony export */ navigator: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.nav; },
|
||||
/* harmony export */ nextTick: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.nextTick; },
|
||||
/* harmony export */ now: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.now; },
|
||||
/* harmony export */ options: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.options; },
|
||||
/* harmony export */ parseUrl: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.parseUrl; },
|
||||
/* harmony export */ perf: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.perf; },
|
||||
/* harmony export */ removePageInstance: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.removePageInstance; },
|
||||
/* harmony export */ requestAnimationFrame: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__._raf; },
|
||||
/* harmony export */ safeExecute: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute; },
|
||||
/* harmony export */ shortcutAttr: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.shortcutAttr; },
|
||||
/* harmony export */ stringify: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.stringify; },
|
||||
/* harmony export */ stripBasename: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.stripBasename; },
|
||||
/* harmony export */ stripSuffix: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.stripSuffix; },
|
||||
/* harmony export */ stripTrailing: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.stripTrailing; },
|
||||
/* harmony export */ throttle: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.throttle; },
|
||||
/* harmony export */ window: function() { return /* reexport safe */ _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroWindowProvider; }
|
||||
/* harmony export */ });
|
||||
/* harmony import */ var _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-WRSQ3V3E.js */ "./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js");
|
||||
/* harmony import */ var _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-GLEAZC6U.js */ "./node_modules/.taro/weapp/prebundle/chunk-GLEAZC6U.js");
|
||||
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
|
||||
|
||||
|
||||
|
||||
// entry:@tarojs_runtime
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
|
||||
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
133
dist/prebundle/remoteEntry.js
vendored
133
dist/prebundle/remoteEntry.js
vendored
@@ -1,133 +0,0 @@
|
||||
"use strict";
|
||||
var taro_app_library;
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["taro_app_library"],{
|
||||
|
||||
/***/ "webpack/container/entry/taro_app_library":
|
||||
/*!***********************!*\
|
||||
!*** container entry ***!
|
||||
\***********************/
|
||||
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
||||
|
||||
var moduleMap = {
|
||||
"./react": function() {
|
||||
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-6TBQVUF2_js"), __webpack_require__.e("node_modules_taro_weapp_prebundle_react_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react.js */ "./node_modules/.taro/weapp/prebundle/react.js")); }; });
|
||||
},
|
||||
"./react-redux": function() {
|
||||
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-6TBQVUF2_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-FCEGKHHF_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_react-redux_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react-redux.js */ "./node_modules/.taro/weapp/prebundle/react-redux.js")); }; });
|
||||
},
|
||||
"./@tarojs/taro": function() {
|
||||
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_tarojs_taro_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_taro.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_taro.js")); }; });
|
||||
},
|
||||
"./uqrcodejs": function() {
|
||||
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_uqrcodejs_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/uqrcodejs.js */ "./node_modules/.taro/weapp/prebundle/uqrcodejs.js")); }; });
|
||||
},
|
||||
"./redux": function() {
|
||||
return __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_redux_js").then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/redux.js */ "./node_modules/.taro/weapp/prebundle/redux.js")); }; });
|
||||
},
|
||||
"./redux-thunk": function() {
|
||||
return __webpack_require__.e("node_modules_taro_weapp_prebundle_redux-thunk_js").then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/redux-thunk.js */ "./node_modules/.taro/weapp/prebundle/redux-thunk.js")); }; });
|
||||
},
|
||||
"./redux-logger": function() {
|
||||
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_redux-logger_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/redux-logger.js */ "./node_modules/.taro/weapp/prebundle/redux-logger.js")); }; });
|
||||
},
|
||||
"./react/jsx-runtime": function() {
|
||||
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-6TBQVUF2_js"), __webpack_require__.e("node_modules_taro_weapp_prebundle_react_jsx-runtime_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js */ "./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js")); }; });
|
||||
},
|
||||
"./@tarojs/runtime": function() {
|
||||
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js"), __webpack_require__.e("node_modules_taro_weapp_prebundle_tarojs_runtime_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js")); }; });
|
||||
},
|
||||
"./@tarojs/plugin-platform-weapp/dist/runtime": function() {
|
||||
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-platform-weapp_dist_runtime_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js")); }; });
|
||||
},
|
||||
"./@tarojs/plugin-html/dist/runtime": function() {
|
||||
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-html_dist_runtime_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-html_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-html_dist_runtime.js")); }; });
|
||||
},
|
||||
"./@tarojs/plugin-framework-react/dist/runtime": function() {
|
||||
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-framework-react_dist_runtime_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js")); }; });
|
||||
},
|
||||
"./react-dom": function() {
|
||||
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-6TBQVUF2_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-FCEGKHHF_js"), __webpack_require__.e("node_modules_taro_weapp_prebundle_react-dom_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react-dom.js */ "./node_modules/.taro/weapp/prebundle/react-dom.js")); }; });
|
||||
}
|
||||
};
|
||||
var get = function(module, getScope) {
|
||||
__webpack_require__.R = getScope;
|
||||
getScope = (
|
||||
__webpack_require__.o(moduleMap, module)
|
||||
? moduleMap[module]()
|
||||
: Promise.resolve().then(function() {
|
||||
throw new Error('Module "' + module + '" does not exist in container.');
|
||||
})
|
||||
);
|
||||
__webpack_require__.R = undefined;
|
||||
return getScope;
|
||||
};
|
||||
var init = function(shareScope, initScope) {
|
||||
if (!__webpack_require__.S) return;
|
||||
var name = "default"
|
||||
var oldScope = __webpack_require__.S[name];
|
||||
if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");
|
||||
__webpack_require__.S[name] = shareScope;
|
||||
return __webpack_require__.I(name, initScope);
|
||||
};
|
||||
|
||||
// This exports getters to disallow modifications
|
||||
__webpack_require__.d(exports, {
|
||||
get: function() { return get; },
|
||||
init: function() { return init; }
|
||||
});
|
||||
|
||||
var taroModuleMap = {
|
||||
"./react": function() {
|
||||
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react.js */ "./node_modules/.taro/weapp/prebundle/react.js")); };
|
||||
},
|
||||
"./react-redux": function() {
|
||||
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react-redux.js */ "./node_modules/.taro/weapp/prebundle/react-redux.js")); };
|
||||
},
|
||||
"./@tarojs/taro": function() {
|
||||
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_taro.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_taro.js")); };
|
||||
},
|
||||
"./uqrcodejs": function() {
|
||||
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/uqrcodejs.js */ "./node_modules/.taro/weapp/prebundle/uqrcodejs.js")); };
|
||||
},
|
||||
"./redux": function() {
|
||||
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/redux.js */ "./node_modules/.taro/weapp/prebundle/redux.js")); };
|
||||
},
|
||||
"./redux-thunk": function() {
|
||||
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/redux-thunk.js */ "./node_modules/.taro/weapp/prebundle/redux-thunk.js")); };
|
||||
},
|
||||
"./redux-logger": function() {
|
||||
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/redux-logger.js */ "./node_modules/.taro/weapp/prebundle/redux-logger.js")); };
|
||||
},
|
||||
"./react/jsx-runtime": function() {
|
||||
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js */ "./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js")); };
|
||||
},
|
||||
"./@tarojs/runtime": function() {
|
||||
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js")); };
|
||||
},
|
||||
"./@tarojs/plugin-platform-weapp/dist/runtime": function() {
|
||||
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js")); };
|
||||
},
|
||||
"./@tarojs/plugin-html/dist/runtime": function() {
|
||||
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-html_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-html_dist_runtime.js")); };
|
||||
},
|
||||
"./@tarojs/plugin-framework-react/dist/runtime": function() {
|
||||
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js")); };
|
||||
},
|
||||
"./react-dom": function() {
|
||||
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react-dom.js */ "./node_modules/.taro/weapp/prebundle/react-dom.js")); };
|
||||
}
|
||||
};
|
||||
var taroGet = function(module) {
|
||||
return taroModuleMap[module]();
|
||||
};
|
||||
__webpack_require__.taro(taroGet);
|
||||
|
||||
/***/ })
|
||||
|
||||
},
|
||||
/******/ function(__webpack_require__) { // webpackRuntimeModules
|
||||
/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
|
||||
/******/ var __webpack_exports__ = (__webpack_exec__("webpack/container/entry/taro_app_library"));
|
||||
/******/ taro_app_library = __webpack_exports__;
|
||||
/******/ }
|
||||
]);
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,545 +0,0 @@
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_redux-logger_js"],{
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/redux-logger.core.js":
|
||||
/*!*****************************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/redux-logger.core.js ***!
|
||||
\*****************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
|
||||
/* provided dependency */ var window = __webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js */ "./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js")["window$1"];
|
||||
|
||||
// node_modules/.pnpm/redux-logger@3.0.6/node_modules/redux-logger/dist/redux-logger.js
|
||||
var require_redux_logger = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__commonJS)({
|
||||
"node_modules/.pnpm/redux-logger@3.0.6/node_modules/redux-logger/dist/redux-logger.js" (exports, module) {
|
||||
!function(e, t) {
|
||||
"object" == typeof exports && "undefined" != typeof module ? t(exports) : false ? 0 : t(e.reduxLogger = e.reduxLogger || {});
|
||||
}(exports, function(e) {
|
||||
"use strict";
|
||||
function t(e2, t2) {
|
||||
e2.super_ = t2, e2.prototype = Object.create(t2.prototype, {
|
||||
constructor: {
|
||||
value: e2,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
configurable: true
|
||||
}
|
||||
});
|
||||
}
|
||||
function r(e2, t2) {
|
||||
Object.defineProperty(this, "kind", {
|
||||
value: e2,
|
||||
enumerable: true
|
||||
}), t2 && t2.length && Object.defineProperty(this, "path", {
|
||||
value: t2,
|
||||
enumerable: true
|
||||
});
|
||||
}
|
||||
function n(e2, t2, r2) {
|
||||
n.super_.call(this, "E", e2), Object.defineProperty(this, "lhs", {
|
||||
value: t2,
|
||||
enumerable: true
|
||||
}), Object.defineProperty(this, "rhs", {
|
||||
value: r2,
|
||||
enumerable: true
|
||||
});
|
||||
}
|
||||
function o(e2, t2) {
|
||||
o.super_.call(this, "N", e2), Object.defineProperty(this, "rhs", {
|
||||
value: t2,
|
||||
enumerable: true
|
||||
});
|
||||
}
|
||||
function i(e2, t2) {
|
||||
i.super_.call(this, "D", e2), Object.defineProperty(this, "lhs", {
|
||||
value: t2,
|
||||
enumerable: true
|
||||
});
|
||||
}
|
||||
function a(e2, t2, r2) {
|
||||
a.super_.call(this, "A", e2), Object.defineProperty(this, "index", {
|
||||
value: t2,
|
||||
enumerable: true
|
||||
}), Object.defineProperty(this, "item", {
|
||||
value: r2,
|
||||
enumerable: true
|
||||
});
|
||||
}
|
||||
function f(e2, t2, r2) {
|
||||
var n2 = e2.slice((r2 || t2) + 1 || e2.length);
|
||||
return e2.length = t2 < 0 ? e2.length + t2 : t2, e2.push.apply(e2, n2), e2;
|
||||
}
|
||||
function u(e2) {
|
||||
var t2 = "undefined" == typeof e2 ? "undefined" : N(e2);
|
||||
return "object" !== t2 ? t2 : e2 === Math ? "math" : null === e2 ? "null" : Array.isArray(e2) ? "array" : "[object Date]" === Object.prototype.toString.call(e2) ? "date" : "function" == typeof e2.toString && /^\/.*\//.test(e2.toString()) ? "regexp" : "object";
|
||||
}
|
||||
function l(e2, t2, r2, c2, s2, d2, p2) {
|
||||
s2 = s2 || [], p2 = p2 || [];
|
||||
var g2 = s2.slice(0);
|
||||
if ("undefined" != typeof d2) {
|
||||
if (c2) {
|
||||
if ("function" == typeof c2 && c2(g2, d2)) return;
|
||||
if ("object" === ("undefined" == typeof c2 ? "undefined" : N(c2))) {
|
||||
if (c2.prefilter && c2.prefilter(g2, d2)) return;
|
||||
if (c2.normalize) {
|
||||
var h2 = c2.normalize(g2, d2, e2, t2);
|
||||
h2 && (e2 = h2[0], t2 = h2[1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
g2.push(d2);
|
||||
}
|
||||
"regexp" === u(e2) && "regexp" === u(t2) && (e2 = e2.toString(), t2 = t2.toString());
|
||||
var y2 = "undefined" == typeof e2 ? "undefined" : N(e2), v2 = "undefined" == typeof t2 ? "undefined" : N(t2), b2 = "undefined" !== y2 || p2 && p2[p2.length - 1].lhs && p2[p2.length - 1].lhs.hasOwnProperty(d2), m2 = "undefined" !== v2 || p2 && p2[p2.length - 1].rhs && p2[p2.length - 1].rhs.hasOwnProperty(d2);
|
||||
if (!b2 && m2) r2(new o(g2, t2));
|
||||
else if (!m2 && b2) r2(new i(g2, e2));
|
||||
else if (u(e2) !== u(t2)) r2(new n(g2, e2, t2));
|
||||
else if ("date" === u(e2) && e2 - t2 !== 0) r2(new n(g2, e2, t2));
|
||||
else if ("object" === y2 && null !== e2 && null !== t2) if (p2.filter(function(t3) {
|
||||
return t3.lhs === e2;
|
||||
}).length) e2 !== t2 && r2(new n(g2, e2, t2));
|
||||
else {
|
||||
if (p2.push({
|
||||
lhs: e2,
|
||||
rhs: t2
|
||||
}), Array.isArray(e2)) {
|
||||
var w2;
|
||||
e2.length;
|
||||
for(w2 = 0; w2 < e2.length; w2++)w2 >= t2.length ? r2(new a(g2, w2, new i(void 0, e2[w2]))) : l(e2[w2], t2[w2], r2, c2, g2, w2, p2);
|
||||
for(; w2 < t2.length;)r2(new a(g2, w2, new o(void 0, t2[w2++])));
|
||||
} else {
|
||||
var x2 = Object.keys(e2), S2 = Object.keys(t2);
|
||||
x2.forEach(function(n2, o2) {
|
||||
var i2 = S2.indexOf(n2);
|
||||
i2 >= 0 ? (l(e2[n2], t2[n2], r2, c2, g2, n2, p2), S2 = f(S2, i2)) : l(e2[n2], void 0, r2, c2, g2, n2, p2);
|
||||
}), S2.forEach(function(e3) {
|
||||
l(void 0, t2[e3], r2, c2, g2, e3, p2);
|
||||
});
|
||||
}
|
||||
p2.length = p2.length - 1;
|
||||
}
|
||||
else e2 !== t2 && ("number" === y2 && isNaN(e2) && isNaN(t2) || r2(new n(g2, e2, t2)));
|
||||
}
|
||||
function c(e2, t2, r2, n2) {
|
||||
return n2 = n2 || [], l(e2, t2, function(e3) {
|
||||
e3 && n2.push(e3);
|
||||
}, r2), n2.length ? n2 : void 0;
|
||||
}
|
||||
function s(e2, t2, r2) {
|
||||
if (r2.path && r2.path.length) {
|
||||
var n2, o2 = e2[t2], i2 = r2.path.length - 1;
|
||||
for(n2 = 0; n2 < i2; n2++)o2 = o2[r2.path[n2]];
|
||||
switch(r2.kind){
|
||||
case "A":
|
||||
s(o2[r2.path[n2]], r2.index, r2.item);
|
||||
break;
|
||||
case "D":
|
||||
delete o2[r2.path[n2]];
|
||||
break;
|
||||
case "E":
|
||||
case "N":
|
||||
o2[r2.path[n2]] = r2.rhs;
|
||||
}
|
||||
} else switch(r2.kind){
|
||||
case "A":
|
||||
s(e2[t2], r2.index, r2.item);
|
||||
break;
|
||||
case "D":
|
||||
e2 = f(e2, t2);
|
||||
break;
|
||||
case "E":
|
||||
case "N":
|
||||
e2[t2] = r2.rhs;
|
||||
}
|
||||
return e2;
|
||||
}
|
||||
function d(e2, t2, r2) {
|
||||
if (e2 && t2 && r2 && r2.kind) {
|
||||
for(var n2 = e2, o2 = -1, i2 = r2.path ? r2.path.length - 1 : 0; ++o2 < i2;)"undefined" == typeof n2[r2.path[o2]] && (n2[r2.path[o2]] = "number" == typeof r2.path[o2] ? [] : {}), n2 = n2[r2.path[o2]];
|
||||
switch(r2.kind){
|
||||
case "A":
|
||||
s(r2.path ? n2[r2.path[o2]] : n2, r2.index, r2.item);
|
||||
break;
|
||||
case "D":
|
||||
delete n2[r2.path[o2]];
|
||||
break;
|
||||
case "E":
|
||||
case "N":
|
||||
n2[r2.path[o2]] = r2.rhs;
|
||||
}
|
||||
}
|
||||
}
|
||||
function p(e2, t2, r2) {
|
||||
if (r2.path && r2.path.length) {
|
||||
var n2, o2 = e2[t2], i2 = r2.path.length - 1;
|
||||
for(n2 = 0; n2 < i2; n2++)o2 = o2[r2.path[n2]];
|
||||
switch(r2.kind){
|
||||
case "A":
|
||||
p(o2[r2.path[n2]], r2.index, r2.item);
|
||||
break;
|
||||
case "D":
|
||||
o2[r2.path[n2]] = r2.lhs;
|
||||
break;
|
||||
case "E":
|
||||
o2[r2.path[n2]] = r2.lhs;
|
||||
break;
|
||||
case "N":
|
||||
delete o2[r2.path[n2]];
|
||||
}
|
||||
} else switch(r2.kind){
|
||||
case "A":
|
||||
p(e2[t2], r2.index, r2.item);
|
||||
break;
|
||||
case "D":
|
||||
e2[t2] = r2.lhs;
|
||||
break;
|
||||
case "E":
|
||||
e2[t2] = r2.lhs;
|
||||
break;
|
||||
case "N":
|
||||
e2 = f(e2, t2);
|
||||
}
|
||||
return e2;
|
||||
}
|
||||
function g(e2, t2, r2) {
|
||||
if (e2 && t2 && r2 && r2.kind) {
|
||||
var n2, o2, i2 = e2;
|
||||
for(o2 = r2.path.length - 1, n2 = 0; n2 < o2; n2++)"undefined" == typeof i2[r2.path[n2]] && (i2[r2.path[n2]] = {}), i2 = i2[r2.path[n2]];
|
||||
switch(r2.kind){
|
||||
case "A":
|
||||
p(i2[r2.path[n2]], r2.index, r2.item);
|
||||
break;
|
||||
case "D":
|
||||
i2[r2.path[n2]] = r2.lhs;
|
||||
break;
|
||||
case "E":
|
||||
i2[r2.path[n2]] = r2.lhs;
|
||||
break;
|
||||
case "N":
|
||||
delete i2[r2.path[n2]];
|
||||
}
|
||||
}
|
||||
}
|
||||
function h(e2, t2, r2) {
|
||||
if (e2 && t2) {
|
||||
var n2 = function(n3) {
|
||||
r2 && !r2(e2, t2, n3) || d(e2, t2, n3);
|
||||
};
|
||||
l(e2, t2, n2);
|
||||
}
|
||||
}
|
||||
function y(e2) {
|
||||
return "color: " + F[e2].color + "; font-weight: bold";
|
||||
}
|
||||
function v(e2) {
|
||||
var t2 = e2.kind, r2 = e2.path, n2 = e2.lhs, o2 = e2.rhs, i2 = e2.index, a2 = e2.item;
|
||||
switch(t2){
|
||||
case "E":
|
||||
return [
|
||||
r2.join("."),
|
||||
n2,
|
||||
"\u2192",
|
||||
o2
|
||||
];
|
||||
case "N":
|
||||
return [
|
||||
r2.join("."),
|
||||
o2
|
||||
];
|
||||
case "D":
|
||||
return [
|
||||
r2.join(".")
|
||||
];
|
||||
case "A":
|
||||
return [
|
||||
r2.join(".") + "[" + i2 + "]",
|
||||
a2
|
||||
];
|
||||
default:
|
||||
return [];
|
||||
}
|
||||
}
|
||||
function b(e2, t2, r2, n2) {
|
||||
var o2 = c(e2, t2);
|
||||
try {
|
||||
n2 ? r2.groupCollapsed("diff") : r2.group("diff");
|
||||
} catch (e3) {
|
||||
r2.log("diff");
|
||||
}
|
||||
o2 ? o2.forEach(function(e3) {
|
||||
var t3 = e3.kind, n3 = v(e3);
|
||||
r2.log.apply(r2, [
|
||||
"%c " + F[t3].text,
|
||||
y(t3)
|
||||
].concat(P(n3)));
|
||||
}) : r2.log("\u2014\u2014 no diff \u2014\u2014");
|
||||
try {
|
||||
r2.groupEnd();
|
||||
} catch (e3) {
|
||||
r2.log("\u2014\u2014 diff end \u2014\u2014 ");
|
||||
}
|
||||
}
|
||||
function m(e2, t2, r2, n2) {
|
||||
switch("undefined" == typeof e2 ? "undefined" : N(e2)){
|
||||
case "object":
|
||||
return "function" == typeof e2[n2] ? e2[n2].apply(e2, P(r2)) : e2[n2];
|
||||
case "function":
|
||||
return e2(t2);
|
||||
default:
|
||||
return e2;
|
||||
}
|
||||
}
|
||||
function w(e2) {
|
||||
var t2 = e2.timestamp, r2 = e2.duration;
|
||||
return function(e3, n2, o2) {
|
||||
var i2 = [
|
||||
"action"
|
||||
];
|
||||
return i2.push("%c" + String(e3.type)), t2 && i2.push("%c@ " + n2), r2 && i2.push("%c(in " + o2.toFixed(2) + " ms)"), i2.join(" ");
|
||||
};
|
||||
}
|
||||
function x(e2, t2) {
|
||||
var r2 = t2.logger, n2 = t2.actionTransformer, o2 = t2.titleFormatter, i2 = void 0 === o2 ? w(t2) : o2, a2 = t2.collapsed, f2 = t2.colors, u2 = t2.level, l2 = t2.diff, c2 = "undefined" == typeof t2.titleFormatter;
|
||||
e2.forEach(function(o3, s2) {
|
||||
var d2 = o3.started, p2 = o3.startedTime, g2 = o3.action, h2 = o3.prevState, y2 = o3.error, v2 = o3.took, w2 = o3.nextState, x2 = e2[s2 + 1];
|
||||
x2 && (w2 = x2.prevState, v2 = x2.started - d2);
|
||||
var S2 = n2(g2), k2 = "function" == typeof a2 ? a2(function() {
|
||||
return w2;
|
||||
}, g2, o3) : a2, j2 = D(p2), E2 = f2.title ? "color: " + f2.title(S2) + ";" : "", A2 = [
|
||||
"color: gray; font-weight: lighter;"
|
||||
];
|
||||
A2.push(E2), t2.timestamp && A2.push("color: gray; font-weight: lighter;"), t2.duration && A2.push("color: gray; font-weight: lighter;");
|
||||
var O2 = i2(S2, j2, v2);
|
||||
try {
|
||||
k2 ? f2.title && c2 ? r2.groupCollapsed.apply(r2, [
|
||||
"%c " + O2
|
||||
].concat(A2)) : r2.groupCollapsed(O2) : f2.title && c2 ? r2.group.apply(r2, [
|
||||
"%c " + O2
|
||||
].concat(A2)) : r2.group(O2);
|
||||
} catch (e3) {
|
||||
r2.log(O2);
|
||||
}
|
||||
var N2 = m(u2, S2, [
|
||||
h2
|
||||
], "prevState"), P2 = m(u2, S2, [
|
||||
S2
|
||||
], "action"), C2 = m(u2, S2, [
|
||||
y2,
|
||||
h2
|
||||
], "error"), F2 = m(u2, S2, [
|
||||
w2
|
||||
], "nextState");
|
||||
if (N2) if (f2.prevState) {
|
||||
var L2 = "color: " + f2.prevState(h2) + "; font-weight: bold";
|
||||
r2[N2]("%c prev state", L2, h2);
|
||||
} else r2[N2]("prev state", h2);
|
||||
if (P2) if (f2.action) {
|
||||
var T2 = "color: " + f2.action(S2) + "; font-weight: bold";
|
||||
r2[P2]("%c action ", T2, S2);
|
||||
} else r2[P2]("action ", S2);
|
||||
if (y2 && C2) if (f2.error) {
|
||||
var M = "color: " + f2.error(y2, h2) + "; font-weight: bold;";
|
||||
r2[C2]("%c error ", M, y2);
|
||||
} else r2[C2]("error ", y2);
|
||||
if (F2) if (f2.nextState) {
|
||||
var _ = "color: " + f2.nextState(w2) + "; font-weight: bold";
|
||||
r2[F2]("%c next state", _, w2);
|
||||
} else r2[F2]("next state", w2);
|
||||
l2 && b(h2, w2, r2, k2);
|
||||
try {
|
||||
r2.groupEnd();
|
||||
} catch (e3) {
|
||||
r2.log("\u2014\u2014 log end \u2014\u2014");
|
||||
}
|
||||
});
|
||||
}
|
||||
function S() {
|
||||
var e2 = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t2 = Object.assign({}, L, e2), r2 = t2.logger, n2 = t2.stateTransformer, o2 = t2.errorTransformer, i2 = t2.predicate, a2 = t2.logErrors, f2 = t2.diffPredicate;
|
||||
if ("undefined" == typeof r2) return function() {
|
||||
return function(e3) {
|
||||
return function(t3) {
|
||||
return e3(t3);
|
||||
};
|
||||
};
|
||||
};
|
||||
if (e2.getState && e2.dispatch) return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n // ...options\n});\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"), function() {
|
||||
return function(e3) {
|
||||
return function(t3) {
|
||||
return e3(t3);
|
||||
};
|
||||
};
|
||||
};
|
||||
var u2 = [];
|
||||
return function(e3) {
|
||||
var r3 = e3.getState;
|
||||
return function(e4) {
|
||||
return function(l2) {
|
||||
if ("function" == typeof i2 && !i2(r3, l2)) return e4(l2);
|
||||
var c2 = {};
|
||||
u2.push(c2), c2.started = O.now(), c2.startedTime = /* @__PURE__ */ new Date(), c2.prevState = n2(r3()), c2.action = l2;
|
||||
var s2 = void 0;
|
||||
if (a2) try {
|
||||
s2 = e4(l2);
|
||||
} catch (e5) {
|
||||
c2.error = o2(e5);
|
||||
}
|
||||
else s2 = e4(l2);
|
||||
c2.took = O.now() - c2.started, c2.nextState = n2(r3());
|
||||
var d2 = t2.diff && "function" == typeof f2 ? f2(r3, l2) : t2.diff;
|
||||
if (x(u2, Object.assign({}, t2, {
|
||||
diff: d2
|
||||
})), u2.length = 0, c2.error) throw c2.error;
|
||||
return s2;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
var k, j, E = function(e2, t2) {
|
||||
return new Array(t2 + 1).join(e2);
|
||||
}, A = function(e2, t2) {
|
||||
return E("0", t2 - e2.toString().length) + e2;
|
||||
}, D = function(e2) {
|
||||
return A(e2.getHours(), 2) + ":" + A(e2.getMinutes(), 2) + ":" + A(e2.getSeconds(), 2) + "." + A(e2.getMilliseconds(), 3);
|
||||
}, O = "undefined" != typeof performance && null !== performance && "function" == typeof performance.now ? performance : Date, N = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e2) {
|
||||
return typeof e2;
|
||||
} : function(e2) {
|
||||
return e2 && "function" == typeof Symbol && e2.constructor === Symbol && e2 !== Symbol.prototype ? "symbol" : typeof e2;
|
||||
}, P = function(e2) {
|
||||
if (Array.isArray(e2)) {
|
||||
for(var t2 = 0, r2 = Array(e2.length); t2 < e2.length; t2++)r2[t2] = e2[t2];
|
||||
return r2;
|
||||
}
|
||||
return Array.from(e2);
|
||||
}, C = [];
|
||||
k = "object" === ("undefined" == typeof __webpack_require__.g ? "undefined" : N(__webpack_require__.g)) && __webpack_require__.g ? __webpack_require__.g : "undefined" != typeof window ? window : {}, j = k.DeepDiff, j && C.push(function() {
|
||||
"undefined" != typeof j && k.DeepDiff === c && (k.DeepDiff = j, j = void 0);
|
||||
}), t(n, r), t(o, r), t(i, r), t(a, r), Object.defineProperties(c, {
|
||||
diff: {
|
||||
value: c,
|
||||
enumerable: true
|
||||
},
|
||||
observableDiff: {
|
||||
value: l,
|
||||
enumerable: true
|
||||
},
|
||||
applyDiff: {
|
||||
value: h,
|
||||
enumerable: true
|
||||
},
|
||||
applyChange: {
|
||||
value: d,
|
||||
enumerable: true
|
||||
},
|
||||
revertChange: {
|
||||
value: g,
|
||||
enumerable: true
|
||||
},
|
||||
isConflict: {
|
||||
value: function() {
|
||||
return "undefined" != typeof j;
|
||||
},
|
||||
enumerable: true
|
||||
},
|
||||
noConflict: {
|
||||
value: function() {
|
||||
return C && (C.forEach(function(e2) {
|
||||
e2();
|
||||
}), C = null), c;
|
||||
},
|
||||
enumerable: true
|
||||
}
|
||||
});
|
||||
var F = {
|
||||
E: {
|
||||
color: "#2196F3",
|
||||
text: "CHANGED:"
|
||||
},
|
||||
N: {
|
||||
color: "#4CAF50",
|
||||
text: "ADDED:"
|
||||
},
|
||||
D: {
|
||||
color: "#F44336",
|
||||
text: "DELETED:"
|
||||
},
|
||||
A: {
|
||||
color: "#2196F3",
|
||||
text: "ARRAY:"
|
||||
}
|
||||
}, L = {
|
||||
level: "log",
|
||||
logger: console,
|
||||
logErrors: true,
|
||||
collapsed: void 0,
|
||||
predicate: void 0,
|
||||
duration: false,
|
||||
timestamp: true,
|
||||
stateTransformer: function(e2) {
|
||||
return e2;
|
||||
},
|
||||
actionTransformer: function(e2) {
|
||||
return e2;
|
||||
},
|
||||
errorTransformer: function(e2) {
|
||||
return e2;
|
||||
},
|
||||
colors: {
|
||||
title: function() {
|
||||
return "inherit";
|
||||
},
|
||||
prevState: function() {
|
||||
return "#9E9E9E";
|
||||
},
|
||||
action: function() {
|
||||
return "#03A9F4";
|
||||
},
|
||||
nextState: function() {
|
||||
return "#4CAF50";
|
||||
},
|
||||
error: function() {
|
||||
return "#F20404";
|
||||
}
|
||||
},
|
||||
diff: false,
|
||||
diffPredicate: void 0,
|
||||
transformer: void 0
|
||||
}, T = function() {
|
||||
var e2 = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t2 = e2.dispatch, r2 = e2.getState;
|
||||
return "function" == typeof t2 || "function" == typeof r2 ? S()({
|
||||
dispatch: t2,
|
||||
getState: r2
|
||||
}) : void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n");
|
||||
};
|
||||
e.defaults = L, e.createLogger = S, e.logger = T, e.default = T, Object.defineProperty(e, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
// entry:redux-logger
|
||||
var require_redux_logger2 = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__.__commonJS)({
|
||||
"entry:redux-logger" (exports, module) {
|
||||
module.exports = require_redux_logger();
|
||||
}
|
||||
});
|
||||
/* harmony default export */ __webpack_exports__["default"] = (require_redux_logger2());
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/redux-logger.js":
|
||||
/*!************************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/redux-logger.js ***!
|
||||
\************************************************************/
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var m = __webpack_require__(/*! ./redux-logger.core.js */ "./node_modules/.taro/weapp/prebundle/redux-logger.core.js");
|
||||
module.exports = m.default;
|
||||
exports["default"] = module.exports;
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@@ -1,505 +0,0 @@
|
||||
"use strict";
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_redux_js"],{
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js":
|
||||
/*!**************************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js ***!
|
||||
\**************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ __commonJS: function() { return /* binding */ __commonJS; },
|
||||
/* harmony export */ __esm: function() { return /* binding */ __esm; },
|
||||
/* harmony export */ __export: function() { return /* binding */ __export; },
|
||||
/* harmony export */ __toCommonJS: function() { return /* binding */ __toCommonJS; },
|
||||
/* harmony export */ __toESM: function() { return /* binding */ __toESM; }
|
||||
/* harmony export */ });
|
||||
var __create = Object.create;
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __getProtoOf = Object.getPrototypeOf;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __esm = (fn, res)=>function __init() {
|
||||
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
||||
};
|
||||
var __commonJS = (cb, mod)=>function __require() {
|
||||
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = {
|
||||
exports: {}
|
||||
}).exports, mod), mod.exports;
|
||||
};
|
||||
var __export = (target, all)=>{
|
||||
for(var name in all)__defProp(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
});
|
||||
};
|
||||
var __copyProps = (to, from, except, desc)=>{
|
||||
if (from && typeof from === "object" || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
||||
get: ()=>from[key],
|
||||
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
||||
});
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __toESM = (mod, isNodeMode, target)=>(target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(// If the importer is in node compatibility mode or this is not an ESM
|
||||
// file that has been converted to a CommonJS file using a Babel-
|
||||
// compatible transform (i.e. "__esModule" has not been set), then set
|
||||
// "default" to the CommonJS "module.exports" for node compatibility.
|
||||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
||||
value: mod,
|
||||
enumerable: true
|
||||
}) : target, mod));
|
||||
var __toCommonJS = (mod)=>__copyProps(__defProp({}, "__esModule", {
|
||||
value: true
|
||||
}), mod);
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/redux.js":
|
||||
/*!*****************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/redux.js ***!
|
||||
\*****************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ __DO_NOT_USE__ActionTypes: function() { return /* binding */ ActionTypes; },
|
||||
/* harmony export */ applyMiddleware: function() { return /* binding */ applyMiddleware; },
|
||||
/* harmony export */ bindActionCreators: function() { return /* binding */ bindActionCreators; },
|
||||
/* harmony export */ combineReducers: function() { return /* binding */ combineReducers; },
|
||||
/* harmony export */ compose: function() { return /* binding */ compose; },
|
||||
/* harmony export */ createStore: function() { return /* binding */ createStore; },
|
||||
/* harmony export */ legacy_createStore: function() { return /* binding */ legacy_createStore; }
|
||||
/* harmony export */ });
|
||||
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
|
||||
|
||||
// node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js
|
||||
function _typeof(o) {
|
||||
"@babel/helpers - typeof";
|
||||
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
||||
return typeof o2;
|
||||
} : function(o2) {
|
||||
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
||||
}, _typeof(o);
|
||||
}
|
||||
// node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
||||
function toPrimitive(t, r) {
|
||||
if ("object" != _typeof(t) || !t) return t;
|
||||
var e = t[Symbol.toPrimitive];
|
||||
if (void 0 !== e) {
|
||||
var i = e.call(t, r || "default");
|
||||
if ("object" != _typeof(i)) return i;
|
||||
throw new TypeError("@@toPrimitive must return a primitive value.");
|
||||
}
|
||||
return ("string" === r ? String : Number)(t);
|
||||
}
|
||||
// node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
||||
function toPropertyKey(t) {
|
||||
var i = toPrimitive(t, "string");
|
||||
return "symbol" == _typeof(i) ? i : i + "";
|
||||
}
|
||||
// node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
||||
function _defineProperty(e, r, t) {
|
||||
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
||||
value: t,
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true
|
||||
}) : e[r] = t, e;
|
||||
}
|
||||
// node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
||||
function ownKeys(e, r) {
|
||||
var t = Object.keys(e);
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
var o = Object.getOwnPropertySymbols(e);
|
||||
r && (o = o.filter(function(r2) {
|
||||
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
||||
})), t.push.apply(t, o);
|
||||
}
|
||||
return t;
|
||||
}
|
||||
function _objectSpread2(e) {
|
||||
for(var r = 1; r < arguments.length; r++){
|
||||
var t = null != arguments[r] ? arguments[r] : {};
|
||||
r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
|
||||
_defineProperty(e, r2, t[r2]);
|
||||
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
|
||||
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
||||
});
|
||||
}
|
||||
return e;
|
||||
}
|
||||
// node_modules/.pnpm/redux@4.2.1/node_modules/redux/es/redux.js
|
||||
var $$observable = function() {
|
||||
return typeof Symbol === "function" && Symbol.observable || "@@observable";
|
||||
}();
|
||||
var randomString = function randomString2() {
|
||||
return Math.random().toString(36).substring(7).split("").join(".");
|
||||
};
|
||||
var ActionTypes = {
|
||||
INIT: "@@redux/INIT" + randomString(),
|
||||
REPLACE: "@@redux/REPLACE" + randomString(),
|
||||
PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() {
|
||||
return "@@redux/PROBE_UNKNOWN_ACTION" + randomString();
|
||||
}
|
||||
};
|
||||
function isPlainObject(obj) {
|
||||
if (typeof obj !== "object" || obj === null) return false;
|
||||
var proto = obj;
|
||||
while(Object.getPrototypeOf(proto) !== null){
|
||||
proto = Object.getPrototypeOf(proto);
|
||||
}
|
||||
return Object.getPrototypeOf(obj) === proto;
|
||||
}
|
||||
function miniKindOf(val) {
|
||||
if (val === void 0) return "undefined";
|
||||
if (val === null) return "null";
|
||||
var type = typeof val;
|
||||
switch(type){
|
||||
case "boolean":
|
||||
case "string":
|
||||
case "number":
|
||||
case "symbol":
|
||||
case "function":
|
||||
{
|
||||
return type;
|
||||
}
|
||||
}
|
||||
if (Array.isArray(val)) return "array";
|
||||
if (isDate(val)) return "date";
|
||||
if (isError(val)) return "error";
|
||||
var constructorName = ctorName(val);
|
||||
switch(constructorName){
|
||||
case "Symbol":
|
||||
case "Promise":
|
||||
case "WeakMap":
|
||||
case "WeakSet":
|
||||
case "Map":
|
||||
case "Set":
|
||||
return constructorName;
|
||||
}
|
||||
return type.slice(8, -1).toLowerCase().replace(/\s/g, "");
|
||||
}
|
||||
function ctorName(val) {
|
||||
return typeof val.constructor === "function" ? val.constructor.name : null;
|
||||
}
|
||||
function isError(val) {
|
||||
return val instanceof Error || typeof val.message === "string" && val.constructor && typeof val.constructor.stackTraceLimit === "number";
|
||||
}
|
||||
function isDate(val) {
|
||||
if (val instanceof Date) return true;
|
||||
return typeof val.toDateString === "function" && typeof val.getDate === "function" && typeof val.setDate === "function";
|
||||
}
|
||||
function kindOf(val) {
|
||||
var typeOfVal = typeof val;
|
||||
if (true) {
|
||||
typeOfVal = miniKindOf(val);
|
||||
}
|
||||
return typeOfVal;
|
||||
}
|
||||
function createStore(reducer, preloadedState, enhancer) {
|
||||
var _ref2;
|
||||
if (typeof preloadedState === "function" && typeof enhancer === "function" || typeof enhancer === "function" && typeof arguments[3] === "function") {
|
||||
throw new Error( false ? 0 : "It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");
|
||||
}
|
||||
if (typeof preloadedState === "function" && typeof enhancer === "undefined") {
|
||||
enhancer = preloadedState;
|
||||
preloadedState = void 0;
|
||||
}
|
||||
if (typeof enhancer !== "undefined") {
|
||||
if (typeof enhancer !== "function") {
|
||||
throw new Error( false ? 0 : "Expected the enhancer to be a function. Instead, received: '" + kindOf(enhancer) + "'");
|
||||
}
|
||||
return enhancer(createStore)(reducer, preloadedState);
|
||||
}
|
||||
if (typeof reducer !== "function") {
|
||||
throw new Error( false ? 0 : "Expected the root reducer to be a function. Instead, received: '" + kindOf(reducer) + "'");
|
||||
}
|
||||
var currentReducer = reducer;
|
||||
var currentState = preloadedState;
|
||||
var currentListeners = [];
|
||||
var nextListeners = currentListeners;
|
||||
var isDispatching = false;
|
||||
function ensureCanMutateNextListeners() {
|
||||
if (nextListeners === currentListeners) {
|
||||
nextListeners = currentListeners.slice();
|
||||
}
|
||||
}
|
||||
function getState() {
|
||||
if (isDispatching) {
|
||||
throw new Error( false ? 0 : "You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");
|
||||
}
|
||||
return currentState;
|
||||
}
|
||||
function subscribe(listener) {
|
||||
if (typeof listener !== "function") {
|
||||
throw new Error( false ? 0 : "Expected the listener to be a function. Instead, received: '" + kindOf(listener) + "'");
|
||||
}
|
||||
if (isDispatching) {
|
||||
throw new Error( false ? 0 : "You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");
|
||||
}
|
||||
var isSubscribed = true;
|
||||
ensureCanMutateNextListeners();
|
||||
nextListeners.push(listener);
|
||||
return function unsubscribe() {
|
||||
if (!isSubscribed) {
|
||||
return;
|
||||
}
|
||||
if (isDispatching) {
|
||||
throw new Error( false ? 0 : "You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");
|
||||
}
|
||||
isSubscribed = false;
|
||||
ensureCanMutateNextListeners();
|
||||
var index = nextListeners.indexOf(listener);
|
||||
nextListeners.splice(index, 1);
|
||||
currentListeners = null;
|
||||
};
|
||||
}
|
||||
function dispatch(action) {
|
||||
if (!isPlainObject(action)) {
|
||||
throw new Error( false ? 0 : "Actions must be plain objects. Instead, the actual type was: '" + kindOf(action) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");
|
||||
}
|
||||
if (typeof action.type === "undefined") {
|
||||
throw new Error( false ? 0 : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
|
||||
}
|
||||
if (isDispatching) {
|
||||
throw new Error( false ? 0 : "Reducers may not dispatch actions.");
|
||||
}
|
||||
try {
|
||||
isDispatching = true;
|
||||
currentState = currentReducer(currentState, action);
|
||||
} finally{
|
||||
isDispatching = false;
|
||||
}
|
||||
var listeners = currentListeners = nextListeners;
|
||||
for(var i = 0; i < listeners.length; i++){
|
||||
var listener = listeners[i];
|
||||
listener();
|
||||
}
|
||||
return action;
|
||||
}
|
||||
function replaceReducer(nextReducer) {
|
||||
if (typeof nextReducer !== "function") {
|
||||
throw new Error( false ? 0 : "Expected the nextReducer to be a function. Instead, received: '" + kindOf(nextReducer));
|
||||
}
|
||||
currentReducer = nextReducer;
|
||||
dispatch({
|
||||
type: ActionTypes.REPLACE
|
||||
});
|
||||
}
|
||||
function observable() {
|
||||
var _ref;
|
||||
var outerSubscribe = subscribe;
|
||||
return _ref = {
|
||||
/**
|
||||
* The minimal observable subscription method.
|
||||
* @param {Object} observer Any object that can be used as an observer.
|
||||
* The observer object should have a `next` method.
|
||||
* @returns {subscription} An object with an `unsubscribe` method that can
|
||||
* be used to unsubscribe the observable from the store, and prevent further
|
||||
* emission of values from the observable.
|
||||
*/ subscribe: function subscribe2(observer) {
|
||||
if (typeof observer !== "object" || observer === null) {
|
||||
throw new Error( false ? 0 : "Expected the observer to be an object. Instead, received: '" + kindOf(observer) + "'");
|
||||
}
|
||||
function observeState() {
|
||||
if (observer.next) {
|
||||
observer.next(getState());
|
||||
}
|
||||
}
|
||||
observeState();
|
||||
var unsubscribe = outerSubscribe(observeState);
|
||||
return {
|
||||
unsubscribe
|
||||
};
|
||||
}
|
||||
}, _ref[$$observable] = function() {
|
||||
return this;
|
||||
}, _ref;
|
||||
}
|
||||
dispatch({
|
||||
type: ActionTypes.INIT
|
||||
});
|
||||
return _ref2 = {
|
||||
dispatch,
|
||||
subscribe,
|
||||
getState,
|
||||
replaceReducer
|
||||
}, _ref2[$$observable] = observable, _ref2;
|
||||
}
|
||||
var legacy_createStore = createStore;
|
||||
function warning(message) {
|
||||
if (typeof console !== "undefined" && typeof console.error === "function") {
|
||||
console.error(message);
|
||||
}
|
||||
try {
|
||||
throw new Error(message);
|
||||
} catch (e) {}
|
||||
}
|
||||
function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {
|
||||
var reducerKeys = Object.keys(reducers);
|
||||
var argumentName = action && action.type === ActionTypes.INIT ? "preloadedState argument passed to createStore" : "previous state received by the reducer";
|
||||
if (reducerKeys.length === 0) {
|
||||
return "Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";
|
||||
}
|
||||
if (!isPlainObject(inputState)) {
|
||||
return "The " + argumentName + ' has unexpected type of "' + kindOf(inputState) + '". Expected argument to be an object with the following ' + ('keys: "' + reducerKeys.join('", "') + '"');
|
||||
}
|
||||
var unexpectedKeys = Object.keys(inputState).filter(function(key) {
|
||||
return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key];
|
||||
});
|
||||
unexpectedKeys.forEach(function(key) {
|
||||
unexpectedKeyCache[key] = true;
|
||||
});
|
||||
if (action && action.type === ActionTypes.REPLACE) return;
|
||||
if (unexpectedKeys.length > 0) {
|
||||
return "Unexpected " + (unexpectedKeys.length > 1 ? "keys" : "key") + " " + ('"' + unexpectedKeys.join('", "') + '" found in ' + argumentName + ". ") + "Expected to find one of the known reducer keys instead: " + ('"' + reducerKeys.join('", "') + '". Unexpected keys will be ignored.');
|
||||
}
|
||||
}
|
||||
function assertReducerShape(reducers) {
|
||||
Object.keys(reducers).forEach(function(key) {
|
||||
var reducer = reducers[key];
|
||||
var initialState = reducer(void 0, {
|
||||
type: ActionTypes.INIT
|
||||
});
|
||||
if (typeof initialState === "undefined") {
|
||||
throw new Error( false ? 0 : 'The slice reducer for key "' + key + `" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);
|
||||
}
|
||||
if (typeof reducer(void 0, {
|
||||
type: ActionTypes.PROBE_UNKNOWN_ACTION()
|
||||
}) === "undefined") {
|
||||
throw new Error( false ? 0 : 'The slice reducer for key "' + key + '" returned undefined when probed with a random type. ' + ("Don't try to handle '" + ActionTypes.INIT + `' or other actions in "redux/*" `) + "namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.");
|
||||
}
|
||||
});
|
||||
}
|
||||
function combineReducers(reducers) {
|
||||
var reducerKeys = Object.keys(reducers);
|
||||
var finalReducers = {};
|
||||
for(var i = 0; i < reducerKeys.length; i++){
|
||||
var key = reducerKeys[i];
|
||||
if (true) {
|
||||
if (typeof reducers[key] === "undefined") {
|
||||
warning('No reducer provided for key "' + key + '"');
|
||||
}
|
||||
}
|
||||
if (typeof reducers[key] === "function") {
|
||||
finalReducers[key] = reducers[key];
|
||||
}
|
||||
}
|
||||
var finalReducerKeys = Object.keys(finalReducers);
|
||||
var unexpectedKeyCache;
|
||||
if (true) {
|
||||
unexpectedKeyCache = {};
|
||||
}
|
||||
var shapeAssertionError;
|
||||
try {
|
||||
assertReducerShape(finalReducers);
|
||||
} catch (e) {
|
||||
shapeAssertionError = e;
|
||||
}
|
||||
return function combination(state, action) {
|
||||
if (state === void 0) {
|
||||
state = {};
|
||||
}
|
||||
if (shapeAssertionError) {
|
||||
throw shapeAssertionError;
|
||||
}
|
||||
if (true) {
|
||||
var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache);
|
||||
if (warningMessage) {
|
||||
warning(warningMessage);
|
||||
}
|
||||
}
|
||||
var hasChanged = false;
|
||||
var nextState = {};
|
||||
for(var _i = 0; _i < finalReducerKeys.length; _i++){
|
||||
var _key = finalReducerKeys[_i];
|
||||
var reducer = finalReducers[_key];
|
||||
var previousStateForKey = state[_key];
|
||||
var nextStateForKey = reducer(previousStateForKey, action);
|
||||
if (typeof nextStateForKey === "undefined") {
|
||||
var actionType = action && action.type;
|
||||
throw new Error( false ? 0 : "When called with an action of type " + (actionType ? '"' + String(actionType) + '"' : "(unknown type)") + ', the slice reducer for key "' + _key + '" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.');
|
||||
}
|
||||
nextState[_key] = nextStateForKey;
|
||||
hasChanged = hasChanged || nextStateForKey !== previousStateForKey;
|
||||
}
|
||||
hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length;
|
||||
return hasChanged ? nextState : state;
|
||||
};
|
||||
}
|
||||
function bindActionCreator(actionCreator, dispatch) {
|
||||
return function() {
|
||||
return dispatch(actionCreator.apply(this, arguments));
|
||||
};
|
||||
}
|
||||
function bindActionCreators(actionCreators, dispatch) {
|
||||
if (typeof actionCreators === "function") {
|
||||
return bindActionCreator(actionCreators, dispatch);
|
||||
}
|
||||
if (typeof actionCreators !== "object" || actionCreators === null) {
|
||||
throw new Error( false ? 0 : "bindActionCreators expected an object or a function, but instead received: '" + kindOf(actionCreators) + `'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);
|
||||
}
|
||||
var boundActionCreators = {};
|
||||
for(var key in actionCreators){
|
||||
var actionCreator = actionCreators[key];
|
||||
if (typeof actionCreator === "function") {
|
||||
boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);
|
||||
}
|
||||
}
|
||||
return boundActionCreators;
|
||||
}
|
||||
function compose() {
|
||||
for(var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++){
|
||||
funcs[_key] = arguments[_key];
|
||||
}
|
||||
if (funcs.length === 0) {
|
||||
return function(arg) {
|
||||
return arg;
|
||||
};
|
||||
}
|
||||
if (funcs.length === 1) {
|
||||
return funcs[0];
|
||||
}
|
||||
return funcs.reduce(function(a, b) {
|
||||
return function() {
|
||||
return a(b.apply(void 0, arguments));
|
||||
};
|
||||
});
|
||||
}
|
||||
function applyMiddleware() {
|
||||
for(var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++){
|
||||
middlewares[_key] = arguments[_key];
|
||||
}
|
||||
return function(createStore2) {
|
||||
return function() {
|
||||
var store = createStore2.apply(void 0, arguments);
|
||||
var _dispatch = function dispatch() {
|
||||
throw new Error( false ? 0 : "Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.");
|
||||
};
|
||||
var middlewareAPI = {
|
||||
getState: store.getState,
|
||||
dispatch: function dispatch() {
|
||||
return _dispatch.apply(void 0, arguments);
|
||||
}
|
||||
};
|
||||
var chain = middlewares.map(function(middleware) {
|
||||
return middleware(middlewareAPI);
|
||||
});
|
||||
_dispatch = compose.apply(void 0, chain)(store.dispatch);
|
||||
return _objectSpread2(_objectSpread2({}, store), {}, {
|
||||
dispatch: _dispatch
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@@ -1,864 +0,0 @@
|
||||
"use strict";
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-framework-react_dist_runtime_js"],{
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js":
|
||||
/*!*******************************************************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js ***!
|
||||
\*******************************************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ connectReactPage: function() { return /* binding */ connectReactPage; },
|
||||
/* harmony export */ createH5NativeComponentConfig: function() { return /* binding */ createH5NativeComponentConfig; },
|
||||
/* harmony export */ createNativeComponentConfig: function() { return /* binding */ createNativeComponentConfig; },
|
||||
/* harmony export */ createNativePageConfig: function() { return /* binding */ createNativePageConfig; },
|
||||
/* harmony export */ createReactApp: function() { return /* binding */ createReactApp; },
|
||||
/* harmony export */ setReconciler: function() { return /* binding */ setReconciler; },
|
||||
/* harmony export */ useAddToFavorites: function() { return /* binding */ useAddToFavorites; },
|
||||
/* harmony export */ useDidHide: function() { return /* binding */ useDidHide; },
|
||||
/* harmony export */ useDidShow: function() { return /* binding */ useDidShow; },
|
||||
/* harmony export */ useError: function() { return /* binding */ useError; },
|
||||
/* harmony export */ useLaunch: function() { return /* binding */ useLaunch; },
|
||||
/* harmony export */ useLoad: function() { return /* binding */ useLoad; },
|
||||
/* harmony export */ useOptionMenuClick: function() { return /* binding */ useOptionMenuClick; },
|
||||
/* harmony export */ usePageNotFound: function() { return /* binding */ usePageNotFound; },
|
||||
/* harmony export */ usePageScroll: function() { return /* binding */ usePageScroll; },
|
||||
/* harmony export */ usePullDownRefresh: function() { return /* binding */ usePullDownRefresh; },
|
||||
/* harmony export */ usePullIntercept: function() { return /* binding */ usePullIntercept; },
|
||||
/* harmony export */ useReachBottom: function() { return /* binding */ useReachBottom; },
|
||||
/* harmony export */ useReady: function() { return /* binding */ useReady; },
|
||||
/* harmony export */ useResize: function() { return /* binding */ useResize; },
|
||||
/* harmony export */ useRouter: function() { return /* binding */ useRouter; },
|
||||
/* harmony export */ useSaveExitState: function() { return /* binding */ useSaveExitState; },
|
||||
/* harmony export */ useScope: function() { return /* binding */ useScope; },
|
||||
/* harmony export */ useShareAppMessage: function() { return /* binding */ useShareAppMessage; },
|
||||
/* harmony export */ useShareTimeline: function() { return /* binding */ useShareTimeline; },
|
||||
/* harmony export */ useTabItemTap: function() { return /* binding */ useTabItemTap; },
|
||||
/* harmony export */ useTitleClick: function() { return /* binding */ useTitleClick; },
|
||||
/* harmony export */ useUnhandledRejection: function() { return /* binding */ useUnhandledRejection; },
|
||||
/* harmony export */ useUnload: function() { return /* binding */ useUnload; }
|
||||
/* harmony export */ });
|
||||
/* harmony import */ var _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-WRSQ3V3E.js */ "./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js");
|
||||
/* harmony import */ var _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-GLEAZC6U.js */ "./node_modules/.taro/weapp/prebundle/chunk-GLEAZC6U.js");
|
||||
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
|
||||
|
||||
|
||||
|
||||
// node_modules/.pnpm/@tarojs+plugin-framework-react@4.0.8_@pmmmwh+react-refresh-webpack-plugin@0.5.15_react-refres_gthmvcyamp6rlu2274cf5kca5e/node_modules/@tarojs/plugin-framework-react/dist/runtime.js
|
||||
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.init_dist)();
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
|
||||
var reactMeta = {
|
||||
PageContext: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
|
||||
R: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ
|
||||
};
|
||||
var HOOKS_APP_ID = "taro-app";
|
||||
function isClassComponent(R, component) {
|
||||
var _a;
|
||||
const prototype = component.prototype;
|
||||
if ((_a = component.displayName) === null || _a === void 0 ? void 0 : _a.includes("Connect")) return false;
|
||||
return (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(component.render) || !!(prototype === null || prototype === void 0 ? void 0 : prototype.isReactComponent) || prototype instanceof R.Component;
|
||||
}
|
||||
function ensureIsArray(item) {
|
||||
if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isArray)(item)) {
|
||||
return item;
|
||||
} else {
|
||||
return item ? [
|
||||
item
|
||||
] : [];
|
||||
}
|
||||
}
|
||||
function setDefaultDescriptor(obj) {
|
||||
obj.writable = true;
|
||||
obj.enumerable = true;
|
||||
return obj;
|
||||
}
|
||||
function setRouterParams(options) {
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router = Object.assign({
|
||||
params: options === null || options === void 0 ? void 0 : options.query
|
||||
}, options);
|
||||
}
|
||||
var createTaroHook = (lifecycle)=>{
|
||||
return (fn)=>{
|
||||
const { R: React, PageContext } = reactMeta;
|
||||
const id = React.useContext(PageContext) || HOOKS_APP_ID;
|
||||
const instRef = React.useRef();
|
||||
const fnRef = React.useRef(fn);
|
||||
if (fnRef.current !== fn) fnRef.current = fn;
|
||||
React.useLayoutEffect(()=>{
|
||||
let inst = instRef.current = (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getPageInstance)(id);
|
||||
let first = false;
|
||||
if (!inst) {
|
||||
first = true;
|
||||
instRef.current = /* @__PURE__ */ Object.create(null);
|
||||
inst = instRef.current;
|
||||
}
|
||||
const callback = (...args)=>fnRef.current(...args);
|
||||
if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(inst[lifecycle])) {
|
||||
inst[lifecycle] = [
|
||||
inst[lifecycle],
|
||||
callback
|
||||
];
|
||||
} else {
|
||||
inst[lifecycle] = [
|
||||
...inst[lifecycle] || [],
|
||||
callback
|
||||
];
|
||||
}
|
||||
if (first) {
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.injectPageInstance)(inst, id);
|
||||
}
|
||||
return ()=>{
|
||||
const inst2 = instRef.current;
|
||||
if (!inst2) return;
|
||||
const list = inst2[lifecycle];
|
||||
if (list === callback) {
|
||||
inst2[lifecycle] = void 0;
|
||||
} else if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isArray)(list)) {
|
||||
inst2[lifecycle] = list.filter((item)=>item !== callback);
|
||||
}
|
||||
instRef.current = void 0;
|
||||
};
|
||||
}, []);
|
||||
};
|
||||
};
|
||||
var useDidHide = createTaroHook("componentDidHide");
|
||||
var useDidShow = createTaroHook("componentDidShow");
|
||||
var useError = createTaroHook("onError");
|
||||
var useUnhandledRejection = createTaroHook("onUnhandledRejection");
|
||||
var useLaunch = createTaroHook("onLaunch");
|
||||
var usePageNotFound = createTaroHook("onPageNotFound");
|
||||
var useLoad = createTaroHook("onLoad");
|
||||
var usePageScroll = createTaroHook("onPageScroll");
|
||||
var usePullDownRefresh = createTaroHook("onPullDownRefresh");
|
||||
var usePullIntercept = createTaroHook("onPullIntercept");
|
||||
var useReachBottom = createTaroHook("onReachBottom");
|
||||
var useResize = createTaroHook("onResize");
|
||||
var useUnload = createTaroHook("onUnload");
|
||||
var useAddToFavorites = createTaroHook("onAddToFavorites");
|
||||
var useOptionMenuClick = createTaroHook("onOptionMenuClick");
|
||||
var useSaveExitState = createTaroHook("onSaveExitState");
|
||||
var useShareAppMessage = createTaroHook("onShareAppMessage");
|
||||
var useShareTimeline = createTaroHook("onShareTimeline");
|
||||
var useTitleClick = createTaroHook("onTitleClick");
|
||||
var useReady = createTaroHook("onReady");
|
||||
var useRouter = (dynamic = false)=>{
|
||||
const React = reactMeta.R;
|
||||
return dynamic ? _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router : React.useMemo(()=>_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router, []);
|
||||
};
|
||||
var useTabItemTap = createTaroHook("onTabItemTap");
|
||||
var useScope = ()=>void 0;
|
||||
var taroHooks = Object.freeze({
|
||||
__proto__: null,
|
||||
useAddToFavorites,
|
||||
useDidHide,
|
||||
useDidShow,
|
||||
useError,
|
||||
useLaunch,
|
||||
useLoad,
|
||||
useOptionMenuClick,
|
||||
usePageNotFound,
|
||||
usePageScroll,
|
||||
usePullDownRefresh,
|
||||
usePullIntercept,
|
||||
useReachBottom,
|
||||
useReady,
|
||||
useResize,
|
||||
useRouter,
|
||||
useSaveExitState,
|
||||
useScope,
|
||||
useShareAppMessage,
|
||||
useShareTimeline,
|
||||
useTabItemTap,
|
||||
useTitleClick,
|
||||
useUnhandledRejection,
|
||||
useUnload
|
||||
});
|
||||
var h$1;
|
||||
var ReactDOM$1;
|
||||
var Fragment;
|
||||
var pageKeyId = (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.incrementId)();
|
||||
function setReconciler(ReactDOM2) {
|
||||
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("getLifecycle", function(instance, lifecycle) {
|
||||
lifecycle = lifecycle.replace(/^on(Show|Hide)$/, "componentDid$1");
|
||||
return instance[lifecycle];
|
||||
});
|
||||
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("modifyMpEvent", function(event) {
|
||||
Object.defineProperty(event, "type", {
|
||||
value: event.type.replace(/-/g, "")
|
||||
});
|
||||
});
|
||||
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("batchedEventUpdates", function(cb) {
|
||||
ReactDOM2 === null || ReactDOM2 === void 0 ? void 0 : ReactDOM2.unstable_batchedUpdates(cb);
|
||||
});
|
||||
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("mergePageInstance", function(prev, next) {
|
||||
if (!prev || !next) return;
|
||||
if ("constructor" in prev) return;
|
||||
Object.keys(prev).forEach((item)=>{
|
||||
const prevList = prev[item];
|
||||
const nextList = ensureIsArray(next[item]);
|
||||
next[item] = nextList.concat(prevList);
|
||||
});
|
||||
});
|
||||
if (false) {}
|
||||
}
|
||||
function connectReactPage(R, id) {
|
||||
return (Page)=>{
|
||||
const isReactComponent = isClassComponent(R, Page);
|
||||
const inject = (node)=>node && (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.injectPageInstance)(node, id);
|
||||
const refs = isReactComponent ? {
|
||||
ref: inject
|
||||
} : {
|
||||
forwardedRef: inject,
|
||||
// 兼容 react-redux 7.20.1+
|
||||
reactReduxForwardedRef: inject
|
||||
};
|
||||
if (reactMeta.PageContext === _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ) {
|
||||
reactMeta.PageContext = R.createContext("");
|
||||
}
|
||||
return class PageWrapper extends R.Component {
|
||||
static getDerivedStateFromError(error) {
|
||||
var _a, _b;
|
||||
(_b = (_a = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app) === null || _a === void 0 ? void 0 : _a.onError) === null || _b === void 0 ? void 0 : _b.call(_a, error.message + error.stack);
|
||||
return {
|
||||
hasError: true
|
||||
};
|
||||
}
|
||||
// React 16 uncaught error 会导致整个应用 crash,
|
||||
// 目前把错误缩小到页面
|
||||
componentDidCatch(error, info) {
|
||||
if (true) {
|
||||
console.warn(error);
|
||||
console.error(info.componentStack);
|
||||
}
|
||||
}
|
||||
render() {
|
||||
const children = this.state.hasError ? [] : h$1(reactMeta.PageContext.Provider, {
|
||||
value: id
|
||||
}, h$1(Page, Object.assign(Object.assign({}, this.props), refs)));
|
||||
if (false) {} else {
|
||||
return h$1("root", {
|
||||
id
|
||||
}, children);
|
||||
}
|
||||
}
|
||||
constructor(){
|
||||
super(...arguments);
|
||||
this.state = {
|
||||
hasError: false
|
||||
};
|
||||
}
|
||||
};
|
||||
};
|
||||
}
|
||||
function createReactApp(App, react, dom, config) {
|
||||
if (true) {
|
||||
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.ensure)(!!dom, "\u6784\u5EFA React/Preact \u9879\u76EE\u8BF7\u628A process.env.FRAMEWORK \u8BBE\u7F6E\u4E3A 'react'/'preact' ");
|
||||
}
|
||||
reactMeta.R = react;
|
||||
h$1 = react.createElement;
|
||||
ReactDOM$1 = dom;
|
||||
Fragment = react.Fragment;
|
||||
const appInstanceRef = react.createRef();
|
||||
const isReactComponent = isClassComponent(react, App);
|
||||
let appWrapper;
|
||||
let appWrapperResolver;
|
||||
const appWrapperPromise = new Promise((resolve)=>appWrapperResolver = resolve);
|
||||
setReconciler(ReactDOM$1);
|
||||
function getAppInstance() {
|
||||
return appInstanceRef.current;
|
||||
}
|
||||
function waitAppWrapper(cb) {
|
||||
appWrapperPromise.then(()=>cb());
|
||||
}
|
||||
function renderReactRoot() {
|
||||
var _a, _b;
|
||||
const appId = (config === null || config === void 0 ? void 0 : config.appId) || "app";
|
||||
let container = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.getElementById(appId);
|
||||
if (container == null) {
|
||||
const appContainer = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.getElementById(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONTAINER);
|
||||
container = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.createElement(appId);
|
||||
container.id = appId;
|
||||
appContainer === null || appContainer === void 0 ? void 0 : appContainer.appendChild(container);
|
||||
}
|
||||
if ((react.version || "").startsWith("18")) {
|
||||
const root = ReactDOM$1.createRoot(container);
|
||||
(_a = root.render) === null || _a === void 0 ? void 0 : _a.call(root, h$1(AppWrapper));
|
||||
} else {
|
||||
(_b = ReactDOM$1.render) === null || _b === void 0 ? void 0 : _b.call(ReactDOM$1, h$1(AppWrapper), container);
|
||||
}
|
||||
}
|
||||
class AppWrapper extends react.Component {
|
||||
mount(pageComponent, id, cb) {
|
||||
const pageWrapper = connectReactPage(react, id)(pageComponent);
|
||||
const key = id + pageKeyId();
|
||||
const page = ()=>h$1(pageWrapper, {
|
||||
key,
|
||||
tid: id
|
||||
});
|
||||
this.pages.push(page);
|
||||
this.forceUpdate((...args)=>{
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.perf.stop(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.PAGE_INIT);
|
||||
return cb(...args);
|
||||
});
|
||||
}
|
||||
unmount(id, cb) {
|
||||
const elements = this.elements;
|
||||
const idx = elements.findIndex((item)=>item.props.tid === id);
|
||||
elements.splice(idx, 1);
|
||||
this.forceUpdate(cb);
|
||||
}
|
||||
render() {
|
||||
const { pages, elements } = this;
|
||||
while(pages.length > 0){
|
||||
const page = pages.pop();
|
||||
elements.push(page());
|
||||
}
|
||||
let props = null;
|
||||
if (isReactComponent) {
|
||||
props = {
|
||||
ref: appInstanceRef
|
||||
};
|
||||
}
|
||||
return h$1(App, props, false ? 0 : elements.slice());
|
||||
}
|
||||
constructor(props){
|
||||
super(props);
|
||||
this.pages = [];
|
||||
this.elements = [];
|
||||
appWrapper = this;
|
||||
appWrapperResolver(this);
|
||||
}
|
||||
}
|
||||
if (true) {
|
||||
renderReactRoot();
|
||||
}
|
||||
const [ONLAUNCH, ONSHOW, ONHIDE] = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.call("getMiniLifecycleImpl").app;
|
||||
const appObj = Object.create({
|
||||
render (cb) {
|
||||
appWrapper.forceUpdate(cb);
|
||||
},
|
||||
mount (component, id, cb) {
|
||||
if (appWrapper) {
|
||||
appWrapper.mount(component, id, cb);
|
||||
} else {
|
||||
appWrapperPromise.then((appWrapper2)=>appWrapper2.mount(component, id, cb));
|
||||
}
|
||||
},
|
||||
unmount (id, cb) {
|
||||
if (appWrapper) {
|
||||
appWrapper.unmount(id, cb);
|
||||
} else {
|
||||
appWrapperPromise.then((appWrapper2)=>appWrapper2.unmount(id, cb));
|
||||
}
|
||||
}
|
||||
}, {
|
||||
config: setDefaultDescriptor({
|
||||
configurable: true,
|
||||
value: config
|
||||
}),
|
||||
[ONLAUNCH]: setDefaultDescriptor({
|
||||
value (options) {
|
||||
setRouterParams(options);
|
||||
if (false) {}
|
||||
const onLaunch = ()=>{
|
||||
var _a;
|
||||
const app = getAppInstance();
|
||||
this.$app = app;
|
||||
if (app) {
|
||||
if (app.taroGlobalData) {
|
||||
const globalData = app.taroGlobalData;
|
||||
const keys = Object.keys(globalData);
|
||||
const descriptors = Object.getOwnPropertyDescriptors(globalData);
|
||||
keys.forEach((key)=>{
|
||||
Object.defineProperty(this, key, {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
get () {
|
||||
return globalData[key];
|
||||
},
|
||||
set (value) {
|
||||
globalData[key] = value;
|
||||
}
|
||||
});
|
||||
});
|
||||
Object.defineProperties(this, descriptors);
|
||||
}
|
||||
(_a = app.onLaunch) === null || _a === void 0 ? void 0 : _a.call(app, options);
|
||||
}
|
||||
triggerAppHook("onLaunch", options);
|
||||
};
|
||||
waitAppWrapper(onLaunch);
|
||||
}
|
||||
}),
|
||||
[ONSHOW]: setDefaultDescriptor({
|
||||
value (options) {
|
||||
setRouterParams(options);
|
||||
const onShow = ()=>{
|
||||
var _a;
|
||||
const app = getAppInstance();
|
||||
(_a = app === null || app === void 0 ? void 0 : app.componentDidShow) === null || _a === void 0 ? void 0 : _a.call(app, options);
|
||||
triggerAppHook("onShow", options);
|
||||
};
|
||||
waitAppWrapper(onShow);
|
||||
}
|
||||
}),
|
||||
[ONHIDE]: setDefaultDescriptor({
|
||||
value () {
|
||||
const onHide = ()=>{
|
||||
var _a;
|
||||
const app = getAppInstance();
|
||||
(_a = app === null || app === void 0 ? void 0 : app.componentDidHide) === null || _a === void 0 ? void 0 : _a.call(app);
|
||||
triggerAppHook("onHide");
|
||||
};
|
||||
waitAppWrapper(onHide);
|
||||
}
|
||||
}),
|
||||
onError: setDefaultDescriptor({
|
||||
value (error) {
|
||||
const onError = ()=>{
|
||||
var _a;
|
||||
const app = getAppInstance();
|
||||
(_a = app === null || app === void 0 ? void 0 : app.onError) === null || _a === void 0 ? void 0 : _a.call(app, error);
|
||||
triggerAppHook("onError", error);
|
||||
if (error === null || error === void 0 ? void 0 : error.includes("Minified React error")) {
|
||||
console.warn("React \u51FA\u73B0\u62A5\u9519\uFF0C\u8BF7\u6253\u5F00\u7F16\u8BD1\u914D\u7F6E mini.debugReact \u67E5\u770B\u62A5\u9519\u8BE6\u60C5\uFF1Ahttps://docs.taro.zone/docs/config-detail#minidebugreact");
|
||||
}
|
||||
};
|
||||
waitAppWrapper(onError);
|
||||
}
|
||||
}),
|
||||
onUnhandledRejection: setDefaultDescriptor({
|
||||
value (res) {
|
||||
const onUnhandledRejection = ()=>{
|
||||
var _a;
|
||||
const app = getAppInstance();
|
||||
(_a = app === null || app === void 0 ? void 0 : app.onUnhandledRejection) === null || _a === void 0 ? void 0 : _a.call(app, res);
|
||||
triggerAppHook("onUnhandledRejection", res);
|
||||
};
|
||||
waitAppWrapper(onUnhandledRejection);
|
||||
}
|
||||
}),
|
||||
onPageNotFound: setDefaultDescriptor({
|
||||
value (res) {
|
||||
const onPageNotFound = ()=>{
|
||||
var _a;
|
||||
const app = getAppInstance();
|
||||
(_a = app === null || app === void 0 ? void 0 : app.onPageNotFound) === null || _a === void 0 ? void 0 : _a.call(app, res);
|
||||
triggerAppHook("onPageNotFound", res);
|
||||
};
|
||||
waitAppWrapper(onPageNotFound);
|
||||
}
|
||||
})
|
||||
});
|
||||
function triggerAppHook(lifecycle, ...option) {
|
||||
const instance = (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getPageInstance)(HOOKS_APP_ID);
|
||||
if (instance) {
|
||||
const app = getAppInstance();
|
||||
const func = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.call("getLifecycle", instance, lifecycle);
|
||||
if (Array.isArray(func)) {
|
||||
func.forEach((cb)=>cb.apply(app, option));
|
||||
}
|
||||
}
|
||||
}
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app = appObj;
|
||||
return appObj;
|
||||
}
|
||||
var getNativeCompId = (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.incrementId)();
|
||||
var h;
|
||||
var ReactDOM;
|
||||
var nativeComponentApp;
|
||||
function initNativeComponentEntry(params) {
|
||||
var _a;
|
||||
const { R, ReactDOM: ReactDOM2, cb, isDefaultEntryDom = true } = params;
|
||||
class NativeComponentWrapper extends R.Component {
|
||||
componentDidMount() {
|
||||
this.ctx.component = this;
|
||||
const rootElement = this.root.current;
|
||||
rootElement.ctx = this.ctx;
|
||||
rootElement.performUpdate(true);
|
||||
}
|
||||
render() {
|
||||
return h("root", {
|
||||
ref: this.root,
|
||||
id: this.props.compId
|
||||
}, this.props.renderComponent(this.ctx));
|
||||
}
|
||||
constructor(){
|
||||
super(...arguments);
|
||||
this.root = R.createRef();
|
||||
this.ctx = this.props.getCtx();
|
||||
}
|
||||
}
|
||||
class Entry extends R.Component {
|
||||
componentDidMount() {
|
||||
if (isDefaultEntryDom) {
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app = this;
|
||||
} else {
|
||||
nativeComponentApp = this;
|
||||
}
|
||||
cb && cb();
|
||||
}
|
||||
mount(Component, compId, getCtx, cb2) {
|
||||
const isReactComponent = isClassComponent(R, Component);
|
||||
const inject = (node)=>node && (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.injectPageInstance)(node, compId);
|
||||
const refs = isReactComponent ? {
|
||||
ref: inject
|
||||
} : {
|
||||
forwardedRef: inject,
|
||||
reactReduxForwardedRef: inject
|
||||
};
|
||||
if (reactMeta.PageContext === _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ) {
|
||||
reactMeta.PageContext = R.createContext("");
|
||||
}
|
||||
const item = {
|
||||
compId,
|
||||
element: h(NativeComponentWrapper, {
|
||||
key: compId,
|
||||
compId,
|
||||
getCtx,
|
||||
renderComponent (ctx) {
|
||||
return h(reactMeta.PageContext.Provider, {
|
||||
value: compId
|
||||
}, h(Component, Object.assign(Object.assign(Object.assign({}, (ctx.data || (ctx.data = {})).props), refs), {
|
||||
$scope: ctx
|
||||
})));
|
||||
}
|
||||
})
|
||||
};
|
||||
this.setState({
|
||||
components: [
|
||||
...this.state.components,
|
||||
item
|
||||
]
|
||||
}, ()=>cb2 && cb2());
|
||||
}
|
||||
unmount(compId, cb2) {
|
||||
const components = this.state.components;
|
||||
const index = components.findIndex((item)=>item.compId === compId);
|
||||
const next = [
|
||||
...components.slice(0, index),
|
||||
...components.slice(index + 1)
|
||||
];
|
||||
this.setState({
|
||||
components: next
|
||||
}, ()=>{
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.removePageInstance)(compId);
|
||||
cb2 && cb2();
|
||||
});
|
||||
}
|
||||
render() {
|
||||
const components = this.state.components;
|
||||
return components.map(({ element })=>element);
|
||||
}
|
||||
constructor(){
|
||||
super(...arguments);
|
||||
this.state = {
|
||||
components: []
|
||||
};
|
||||
}
|
||||
}
|
||||
setReconciler(ReactDOM2);
|
||||
let app = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.getElementById("app");
|
||||
if (!isDefaultEntryDom && !nativeComponentApp) {
|
||||
const nativeApp = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.createElement("nativeComponent");
|
||||
(_a = app === null || app === void 0 ? void 0 : app.parentNode) === null || _a === void 0 ? void 0 : _a.appendChild(nativeApp);
|
||||
app = nativeApp;
|
||||
}
|
||||
ReactDOM2.render(h(Entry, {}), app);
|
||||
}
|
||||
function createNativePageConfig(Component, pageName, data, react, reactDOM, pageConfig) {
|
||||
reactMeta.R = react;
|
||||
h = react.createElement;
|
||||
ReactDOM = reactDOM;
|
||||
setReconciler(ReactDOM);
|
||||
const [ONLOAD, ONUNLOAD, ONREADY, ONSHOW, ONHIDE, LIFECYCLES, SIDE_EFFECT_LIFECYCLES] = _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.call("getMiniLifecycleImpl").page;
|
||||
let unmounting = false;
|
||||
let prepareMountList = [];
|
||||
let pageElement = null;
|
||||
let loadResolver;
|
||||
let hasLoaded;
|
||||
const id = pageName !== null && pageName !== void 0 ? pageName : `taro_page_${getNativeCompId()}`;
|
||||
function setCurrentRouter(page) {
|
||||
const router = page.route || page.__route__ || page.$taroPath;
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router = {
|
||||
params: page.$taroParams,
|
||||
path: (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.addLeadingSlash)(router),
|
||||
$taroPath: page.$taroPath,
|
||||
onReady: (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnReadyEventKey)(id),
|
||||
onShow: (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnShowEventKey)(id),
|
||||
onHide: (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnHideEventKey)(id)
|
||||
};
|
||||
if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isUndefined)(page.exitState)) {
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router.exitState = page.exitState;
|
||||
}
|
||||
}
|
||||
const pageObj = {
|
||||
options: pageConfig,
|
||||
[ONLOAD] (options = {}, cb) {
|
||||
hasLoaded = new Promise((resolve)=>{
|
||||
loadResolver = resolve;
|
||||
});
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page = this;
|
||||
this.config = pageConfig || {};
|
||||
const uniqueOptions = Object.assign({}, options, {
|
||||
$taroTimestamp: Date.now()
|
||||
});
|
||||
const $taroPath = this.$taroPath = (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getPath)(id, uniqueOptions);
|
||||
if (this.$taroParams == null) {
|
||||
this.$taroParams = uniqueOptions;
|
||||
}
|
||||
setCurrentRouter(this);
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroWindowProvider.trigger(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONTEXT_ACTIONS.INIT, $taroPath);
|
||||
const mountCallback = ()=>{
|
||||
pageElement = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.getElementById($taroPath);
|
||||
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.ensure)(pageElement !== null, "\u6CA1\u6709\u627E\u5230\u9875\u9762\u5B9E\u4F8B\u3002");
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)($taroPath, ONLOAD, this.$taroParams);
|
||||
loadResolver();
|
||||
pageElement.ctx = this;
|
||||
pageElement.performUpdate(true, cb);
|
||||
};
|
||||
const mount = ()=>{
|
||||
if (!_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app) {
|
||||
initNativeComponentEntry({
|
||||
R: react,
|
||||
ReactDOM,
|
||||
cb: ()=>{
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app.mount(Component, $taroPath, ()=>this, mountCallback);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app.mount(Component, $taroPath, ()=>this, mountCallback);
|
||||
}
|
||||
};
|
||||
if (unmounting) {
|
||||
prepareMountList.push(mount);
|
||||
} else {
|
||||
mount();
|
||||
}
|
||||
},
|
||||
[ONUNLOAD] () {
|
||||
const $taroPath = this.$taroPath;
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroWindowProvider.trigger(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONTEXT_ACTIONS.DESTORY, $taroPath);
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)($taroPath, ONUNLOAD);
|
||||
resetCurrent();
|
||||
unmounting = true;
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app.unmount($taroPath, ()=>{
|
||||
unmounting = false;
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.removePageInstance)($taroPath);
|
||||
if (pageElement) {
|
||||
pageElement.ctx = null;
|
||||
pageElement = null;
|
||||
}
|
||||
if (prepareMountList.length) {
|
||||
prepareMountList.forEach((fn)=>fn());
|
||||
prepareMountList = [];
|
||||
}
|
||||
});
|
||||
},
|
||||
[ONREADY] () {
|
||||
hasLoaded.then(()=>{
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.$taroPath, _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ON_READY);
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__._raf)(()=>_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventCenter.trigger((0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnReadyEventKey)(id)));
|
||||
this.onReady.called = true;
|
||||
});
|
||||
},
|
||||
[ONSHOW] (options = {}) {
|
||||
hasLoaded.then(()=>{
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page = this;
|
||||
setCurrentRouter(this);
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroWindowProvider.trigger(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONTEXT_ACTIONS.RECOVER, this.$taroPath);
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.$taroPath, _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ON_SHOW, options);
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__._raf)(()=>_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventCenter.trigger((0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnShowEventKey)(id)));
|
||||
});
|
||||
},
|
||||
[ONHIDE] () {
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroWindowProvider.trigger(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.CONTEXT_ACTIONS.RESTORE, this.$taroPath);
|
||||
if (_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page === this) {
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page = null;
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router = null;
|
||||
}
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.$taroPath, _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.ON_HIDE);
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventCenter.trigger((0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getOnHideEventKey)(id));
|
||||
}
|
||||
};
|
||||
function resetCurrent() {
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page = null;
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router = null;
|
||||
}
|
||||
LIFECYCLES.forEach((lifecycle)=>{
|
||||
pageObj[lifecycle] = function() {
|
||||
return (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.$taroPath, lifecycle, ...arguments);
|
||||
};
|
||||
});
|
||||
SIDE_EFFECT_LIFECYCLES.forEach((lifecycle)=>{
|
||||
var _a;
|
||||
if (Component[lifecycle] || ((_a = Component.prototype) === null || _a === void 0 ? void 0 : _a[lifecycle]) || Component[lifecycle.replace(/^on/, "enable")]) {
|
||||
pageObj[lifecycle] = function(...args) {
|
||||
var _a2;
|
||||
const target = (_a2 = args[0]) === null || _a2 === void 0 ? void 0 : _a2.target;
|
||||
if (target === null || target === void 0 ? void 0 : target.id) {
|
||||
const id2 = target.id;
|
||||
const element = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.getElementById(id2);
|
||||
if (element) {
|
||||
target.dataset = element.dataset;
|
||||
}
|
||||
}
|
||||
return (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.$taroPath, lifecycle, ...args);
|
||||
};
|
||||
}
|
||||
});
|
||||
pageObj.eh = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventHandler;
|
||||
if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isUndefined)(data)) {
|
||||
pageObj.data = data;
|
||||
}
|
||||
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.call("modifyPageObject", pageObj);
|
||||
return pageObj;
|
||||
}
|
||||
function createH5NativeComponentConfig(Component, react, reactdom) {
|
||||
reactMeta.R = react;
|
||||
h = react.createElement;
|
||||
ReactDOM = reactdom;
|
||||
setReconciler(ReactDOM);
|
||||
return Component;
|
||||
}
|
||||
function createNativeComponentConfig(Component, react, reactdom, componentConfig) {
|
||||
var _a, _b;
|
||||
reactMeta.R = react;
|
||||
h = react.createElement;
|
||||
ReactDOM = reactdom;
|
||||
setReconciler(ReactDOM);
|
||||
const { isNewBlended } = componentConfig;
|
||||
const componentObj = {
|
||||
options: componentConfig,
|
||||
properties: {
|
||||
props: {
|
||||
type: null,
|
||||
value: null,
|
||||
observer (_newVal, oldVal) {
|
||||
var _a2, _b2, _c, _d;
|
||||
if (false) {}
|
||||
oldVal && ((_d = this.component) === null || _d === void 0 ? void 0 : _d.forceUpdate());
|
||||
}
|
||||
}
|
||||
},
|
||||
created () {
|
||||
var _a2, _b2;
|
||||
if (false) {}
|
||||
const app = isNewBlended ? nativeComponentApp : _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app;
|
||||
if (!app) {
|
||||
initNativeComponentEntry({
|
||||
R: react,
|
||||
ReactDOM,
|
||||
isDefaultEntryDom: !isNewBlended
|
||||
});
|
||||
}
|
||||
},
|
||||
attached () {
|
||||
const compId = this.compId = getNativeCompId();
|
||||
setCurrent(compId);
|
||||
this.config = componentConfig;
|
||||
const app = isNewBlended ? nativeComponentApp : _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app;
|
||||
app.mount(Component, compId, ()=>this, ()=>{
|
||||
const instance = (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getPageInstance)(compId);
|
||||
if (instance && instance.node) {
|
||||
const el = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.getElementById(instance.node.uid);
|
||||
if (el) {
|
||||
el.ctx = this;
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
ready () {
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.compId, "onReady");
|
||||
},
|
||||
detached () {
|
||||
resetCurrent();
|
||||
const app = isNewBlended ? nativeComponentApp : _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.app;
|
||||
app.unmount(this.compId);
|
||||
},
|
||||
pageLifetimes: {
|
||||
show (options) {
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.compId, "onShow", options);
|
||||
},
|
||||
hide () {
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.compId, "onHide");
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
eh: _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventHandler,
|
||||
onLoad (options) {
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.compId, "onLoad", options);
|
||||
},
|
||||
onUnload () {
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.compId, "onUnload");
|
||||
}
|
||||
}
|
||||
};
|
||||
function resetCurrent() {
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page = null;
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router = null;
|
||||
}
|
||||
if (Component.onShareAppMessage || ((_a = Component.prototype) === null || _a === void 0 ? void 0 : _a.onShareAppMessage) || Component.enableShareAppMessage) {
|
||||
componentObj.methods.onShareAppMessage = function(options) {
|
||||
const target = options === null || options === void 0 ? void 0 : options.target;
|
||||
if (target) {
|
||||
const id = target.id;
|
||||
const element = _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.taroDocumentProvider.getElementById(id);
|
||||
if (element) {
|
||||
target.dataset = element.dataset;
|
||||
}
|
||||
}
|
||||
return (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.compId, "onShareAppMessage", options);
|
||||
};
|
||||
}
|
||||
if (Component.onShareTimeline || ((_b = Component.prototype) === null || _b === void 0 ? void 0 : _b.onShareTimeline) || Component.enableShareTimeline) {
|
||||
componentObj.methods.onShareTimeline = function() {
|
||||
return (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.safeExecute)(this.compId, "onShareTimeline");
|
||||
};
|
||||
}
|
||||
if (false) {}
|
||||
return componentObj;
|
||||
}
|
||||
function setCurrent(compId) {
|
||||
if (!getCurrentPages || typeof getCurrentPages !== "function") return;
|
||||
const pages = getCurrentPages();
|
||||
const currentPage = pages[pages.length - 1];
|
||||
if (_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page === currentPage) return;
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.page = currentPage;
|
||||
const route = currentPage.route || currentPage.__route__;
|
||||
const router = {
|
||||
params: currentPage.options || {},
|
||||
path: (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.addLeadingSlash)(route),
|
||||
$taroPath: compId,
|
||||
onReady: "",
|
||||
onHide: "",
|
||||
onShow: ""
|
||||
};
|
||||
_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current.router = router;
|
||||
if (!currentPage.options) {
|
||||
Object.defineProperty(currentPage, "options", {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
get () {
|
||||
return this._optionsValue;
|
||||
},
|
||||
set (value) {
|
||||
router.params = value;
|
||||
this._optionsValue = value;
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("initNativeApi", function(taro) {
|
||||
for(const hook in taroHooks){
|
||||
taro[hook] = taroHooks[hook];
|
||||
}
|
||||
});
|
||||
if (false) {}
|
||||
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@@ -1,524 +0,0 @@
|
||||
"use strict";
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-html_dist_runtime_js"],{
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-html_dist_runtime.js":
|
||||
/*!********************************************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-html_dist_runtime.js ***!
|
||||
\********************************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-WRSQ3V3E.js */ "./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js");
|
||||
/* harmony import */ var _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-GLEAZC6U.js */ "./node_modules/.taro/weapp/prebundle/chunk-GLEAZC6U.js");
|
||||
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
|
||||
|
||||
|
||||
|
||||
// node_modules/.pnpm/@tarojs+plugin-html@4.0.8_@tarojs+helper@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/plugin-html/dist/runtime.js
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
|
||||
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.init_dist)();
|
||||
function genAttrMapFnFromDir(dir) {
|
||||
const fn = function(key, value) {
|
||||
const lowerKey = key.toLowerCase();
|
||||
if (lowerKey in dir) {
|
||||
const res = dir[lowerKey];
|
||||
if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isString)(res)) {
|
||||
key = res;
|
||||
} else {
|
||||
key = res[0];
|
||||
value = res[1][value] || value;
|
||||
}
|
||||
}
|
||||
return [
|
||||
key,
|
||||
value
|
||||
];
|
||||
};
|
||||
return fn;
|
||||
}
|
||||
var inlineElements = /* @__PURE__ */ new Set([
|
||||
"i",
|
||||
"abbr",
|
||||
"select",
|
||||
"acronym",
|
||||
"small",
|
||||
"bdi",
|
||||
"kbd",
|
||||
"strong",
|
||||
"big",
|
||||
"sub",
|
||||
"sup",
|
||||
"br",
|
||||
"mark",
|
||||
"meter",
|
||||
"template",
|
||||
"cite",
|
||||
"object",
|
||||
"time",
|
||||
"code",
|
||||
"output",
|
||||
"u",
|
||||
"data",
|
||||
"picture",
|
||||
"tt",
|
||||
"datalist",
|
||||
"var",
|
||||
"dfn",
|
||||
"del",
|
||||
"q",
|
||||
"em",
|
||||
"s",
|
||||
"embed",
|
||||
"samp",
|
||||
"b"
|
||||
]);
|
||||
var blockElements = /* @__PURE__ */ new Set([
|
||||
"body",
|
||||
"svg",
|
||||
"address",
|
||||
"fieldset",
|
||||
"li",
|
||||
"span",
|
||||
"article",
|
||||
"figcaption",
|
||||
"main",
|
||||
"aside",
|
||||
"figure",
|
||||
"nav",
|
||||
"blockquote",
|
||||
"footer",
|
||||
"ol",
|
||||
"details",
|
||||
"p",
|
||||
"dialog",
|
||||
"h1",
|
||||
"h2",
|
||||
"h3",
|
||||
"h4",
|
||||
"h5",
|
||||
"h6",
|
||||
"pre",
|
||||
"dd",
|
||||
"header",
|
||||
"section",
|
||||
"div",
|
||||
"hgroup",
|
||||
"table",
|
||||
"dl",
|
||||
"hr",
|
||||
"ul",
|
||||
"dt",
|
||||
"view",
|
||||
"view-block"
|
||||
]);
|
||||
var specialElements = /* @__PURE__ */ new Map([
|
||||
[
|
||||
"slot",
|
||||
"slot"
|
||||
],
|
||||
[
|
||||
"form",
|
||||
"form"
|
||||
],
|
||||
[
|
||||
"iframe",
|
||||
"web-view"
|
||||
],
|
||||
[
|
||||
"img",
|
||||
"image"
|
||||
],
|
||||
[
|
||||
"audio",
|
||||
"audio"
|
||||
],
|
||||
[
|
||||
"video",
|
||||
"video"
|
||||
],
|
||||
[
|
||||
"canvas",
|
||||
"canvas"
|
||||
],
|
||||
[
|
||||
"a",
|
||||
{
|
||||
mapName (props) {
|
||||
if (props.as && (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isString)(props.as)) return props.as.toLowerCase();
|
||||
return !props.href || /^javascript/.test(props.href) ? "view" : "navigator";
|
||||
},
|
||||
mapNameCondition: [
|
||||
"href"
|
||||
],
|
||||
mapAttr: genAttrMapFnFromDir({
|
||||
href: "url",
|
||||
target: [
|
||||
"openType",
|
||||
{
|
||||
_blank: "navigate",
|
||||
_self: "redirect"
|
||||
}
|
||||
]
|
||||
})
|
||||
}
|
||||
],
|
||||
[
|
||||
"input",
|
||||
{
|
||||
mapName (props) {
|
||||
if (props.type === "checkbox") {
|
||||
return "checkbox";
|
||||
} else if (props.type === "radio") {
|
||||
return "radio";
|
||||
}
|
||||
return "input";
|
||||
},
|
||||
mapNameCondition: [
|
||||
"type"
|
||||
],
|
||||
mapAttr (key, value, props) {
|
||||
const htmlKey = key.toLowerCase();
|
||||
if (htmlKey === "autofocus") {
|
||||
key = "focus";
|
||||
} else if (htmlKey === "readonly") {
|
||||
if (props.disabled === true) {
|
||||
value = true;
|
||||
}
|
||||
key = "disabled";
|
||||
} else if (htmlKey === "type") {
|
||||
if (value === "password") {
|
||||
key = "password";
|
||||
value = true;
|
||||
} else if (value === "tel") {
|
||||
value = "number";
|
||||
}
|
||||
} else if (htmlKey === "maxlength") {
|
||||
key = "maxlength";
|
||||
}
|
||||
return [
|
||||
key,
|
||||
value
|
||||
];
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
"label",
|
||||
{
|
||||
mapName: "label",
|
||||
mapAttr: genAttrMapFnFromDir({
|
||||
htmlfor: "for"
|
||||
})
|
||||
}
|
||||
],
|
||||
[
|
||||
"textarea",
|
||||
{
|
||||
mapName: "textarea",
|
||||
mapAttr: genAttrMapFnFromDir({
|
||||
autofocus: "focus",
|
||||
readonly: "disabled",
|
||||
maxlength: "maxlength"
|
||||
})
|
||||
}
|
||||
],
|
||||
[
|
||||
"progress",
|
||||
{
|
||||
mapName: "progress",
|
||||
mapAttr (key, value, props) {
|
||||
if (key === "value") {
|
||||
const max = props.max || 1;
|
||||
key = "percent";
|
||||
value = Math.round(value / max * 100);
|
||||
}
|
||||
return [
|
||||
key,
|
||||
value
|
||||
];
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
"button",
|
||||
{
|
||||
mapName: "button",
|
||||
mapAttr (key, value) {
|
||||
if (key === "type" && (value === "submit" || value === "reset")) {
|
||||
key = "formType";
|
||||
}
|
||||
return [
|
||||
key,
|
||||
value
|
||||
];
|
||||
}
|
||||
}
|
||||
]
|
||||
]);
|
||||
function isHtmlTags(nodeName) {
|
||||
if (inlineElements.has(nodeName) || blockElements.has(nodeName) || specialElements.has(nodeName)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
function getMappedType(nodeName, rawProps, node) {
|
||||
if (inlineElements.has(nodeName)) {
|
||||
return "text";
|
||||
} else if (specialElements.has(nodeName)) {
|
||||
const mapping = specialElements.get(nodeName);
|
||||
if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isString)(mapping)) {
|
||||
return mapping;
|
||||
}
|
||||
const { mapName } = mapping;
|
||||
return (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(mapName) ? mapName(rawProps) : mapName;
|
||||
} else {
|
||||
if (false) {}
|
||||
if (node) {
|
||||
const { props } = node;
|
||||
for(const prop in props){
|
||||
const propInCamelCase = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.toCamelCase)(prop);
|
||||
if (propInCamelCase === "catchMove" && props[prop] !== false) {
|
||||
return "catch-view";
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!node) {
|
||||
return "view";
|
||||
}
|
||||
if (node.isOnlyClickBinded()) {
|
||||
return "click-view";
|
||||
} else if (node.isAnyEventBinded()) {
|
||||
return "view";
|
||||
} else if ((0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.isHasExtractProp)(node)) {
|
||||
return "static-view";
|
||||
} else {
|
||||
return "pure-view";
|
||||
}
|
||||
}
|
||||
}
|
||||
function getAttrMapFn(nodeName) {
|
||||
const mapping = specialElements.get(nodeName);
|
||||
if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isString)(mapping)) {
|
||||
return mapping === null || mapping === void 0 ? void 0 : mapping.mapAttr;
|
||||
}
|
||||
}
|
||||
function getMapNameByCondition(nodeName, attr, props) {
|
||||
const mapping = specialElements.get(nodeName);
|
||||
if (!mapping || (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isString)(mapping)) return;
|
||||
const { mapName, mapNameCondition } = mapping;
|
||||
if (!mapNameCondition) return;
|
||||
if (mapNameCondition.indexOf(attr) > -1 && !(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isString)(mapName)) {
|
||||
return mapName(props);
|
||||
}
|
||||
}
|
||||
function mapNameByContion(nodeName, key, element, componentsAlias) {
|
||||
const mapName = getMapNameByCondition(nodeName, key, element.props);
|
||||
if (mapName) {
|
||||
const mapNameAlias = componentsAlias[mapName]._num;
|
||||
element.enqueueUpdate({
|
||||
path: `${element._path}.${"nn"}`,
|
||||
value: mapNameAlias
|
||||
});
|
||||
}
|
||||
}
|
||||
function ensureHtmlClass(tagName, className = "") {
|
||||
const classList = className.split(" ");
|
||||
const htmlClass = `h5-${tagName}`;
|
||||
if (classList.indexOf(htmlClass) === -1) {
|
||||
classList.unshift(htmlClass);
|
||||
}
|
||||
return classList.join(" ");
|
||||
}
|
||||
function ensureRect(props, style = "") {
|
||||
let cssText = style;
|
||||
const { width, height } = props;
|
||||
if (width) {
|
||||
cssText = `width: ${width};${cssText}`;
|
||||
}
|
||||
if (height) {
|
||||
cssText = `height: ${height};${cssText}`;
|
||||
}
|
||||
return cssText;
|
||||
}
|
||||
function defineMappedProp(obj, propName, mapName) {
|
||||
Object.defineProperty(obj, propName, {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
get () {
|
||||
return obj[mapName];
|
||||
},
|
||||
set (val) {
|
||||
obj[mapName] = val;
|
||||
}
|
||||
});
|
||||
}
|
||||
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("modifyHydrateData", (data, node)=>{
|
||||
const nodeName = data["nn"];
|
||||
if (!isHtmlTags(nodeName)) return;
|
||||
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.warn)(data["nn"] === "select", "\u8BF7\u4F7F\u7528 Picker \u7EC4\u4EF6\u4EE3\u66FF <select>");
|
||||
data["nn"] = getMappedType(nodeName, data, node);
|
||||
const attrMapFn = getAttrMapFn(nodeName);
|
||||
if (attrMapFn) {
|
||||
for(const key in data){
|
||||
const value = data[key];
|
||||
const [mapKey, mapValue] = attrMapFn(key, value, data);
|
||||
if (key !== mapKey) {
|
||||
delete data[key];
|
||||
data[mapKey] = mapValue;
|
||||
} else if (value !== mapValue) {
|
||||
data[key] = mapValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (nodeName === "br") {
|
||||
data["cn"] = [
|
||||
{
|
||||
["nn"]: "#text",
|
||||
v: "\n"
|
||||
}
|
||||
];
|
||||
}
|
||||
data["cl"] = ensureHtmlClass(nodeName, data["cl"]);
|
||||
data["st"] = ensureRect(data, data["st"]);
|
||||
});
|
||||
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("modifySetAttrPayload", (element, key, payload, componentsAlias)=>{
|
||||
const { nodeName, _path, props } = element;
|
||||
if (!isHtmlTags(nodeName)) return;
|
||||
mapNameByContion(nodeName, key, element, componentsAlias);
|
||||
const mapName = getMappedType(nodeName, props);
|
||||
const alias = componentsAlias[mapName];
|
||||
const attrMapFn = getAttrMapFn(nodeName);
|
||||
if (attrMapFn) {
|
||||
const value = payload.value;
|
||||
const [mapKey, mapValue] = attrMapFn(key, value, props);
|
||||
payload.path = `${_path}.${alias[mapKey] || mapKey}`;
|
||||
payload.value = mapValue;
|
||||
} else if (alias[key] && alias[key] !== key) {
|
||||
payload.path = `${_path}.${(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.toCamelCase)(alias[key])}`;
|
||||
}
|
||||
if (key === "cl") {
|
||||
payload.value = ensureHtmlClass(nodeName, payload.value);
|
||||
} else if (key === "st" || key === "width" || key === "height") {
|
||||
payload.path = `${_path}.${"st"}`;
|
||||
payload.value = ensureRect(props, element.style.cssText);
|
||||
}
|
||||
if (blockElements.has(element.nodeName) && true) {
|
||||
const viewAlias = componentsAlias.view._num;
|
||||
const staticViewAlias = componentsAlias["static-view"]._num;
|
||||
const catchViewAlias = componentsAlias["catch-view"]._num;
|
||||
const clickViewAlias = componentsAlias["click-view"]._num;
|
||||
const qualifiedNameInCamelCase = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.toCamelCase)(key);
|
||||
const dataPath = `${_path}.${"nn"}`;
|
||||
if (qualifiedNameInCamelCase === "catchMove") {
|
||||
element.enqueueUpdate({
|
||||
path: dataPath,
|
||||
value: payload.value ? catchViewAlias : element.isOnlyClickBinded() ? clickViewAlias : element.isAnyEventBinded() ? viewAlias : staticViewAlias
|
||||
});
|
||||
} else if ((0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.isHasExtractProp)(element) && !element.isAnyEventBinded()) {
|
||||
element.enqueueUpdate({
|
||||
path: dataPath,
|
||||
value: staticViewAlias
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("modifyRmAttrPayload", (element, key, payload, componentsAlias)=>{
|
||||
const { nodeName, _path, props } = element;
|
||||
if (!isHtmlTags(nodeName)) return;
|
||||
mapNameByContion(nodeName, key, element, componentsAlias);
|
||||
const mapName = getMappedType(nodeName, props);
|
||||
const alias = componentsAlias[mapName];
|
||||
const attrMapFn = getAttrMapFn(nodeName);
|
||||
if (attrMapFn) {
|
||||
const value = payload[key];
|
||||
const [mapKey] = attrMapFn(key, value, props);
|
||||
payload.path = `${_path}.${alias[mapKey] || mapKey}`;
|
||||
} else if (alias[key] && alias[key] !== key) {
|
||||
payload.path = `${_path}.${(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.toCamelCase)(alias[key])}`;
|
||||
}
|
||||
if (key === "cl") {
|
||||
payload.value = ensureHtmlClass(nodeName, payload.value);
|
||||
} else if (key === "st" || key === "width" || key === "height") {
|
||||
payload.path = `${_path}.${"st"}`;
|
||||
payload.value = ensureRect(props, element.style.cssText);
|
||||
}
|
||||
if (blockElements.has(element.nodeName) && true) {
|
||||
const viewAlias = componentsAlias.view._num;
|
||||
const staticViewAlias = componentsAlias["static-view"]._num;
|
||||
const pureViewAlias = componentsAlias["pure-view"]._num;
|
||||
const clickViewAlias = componentsAlias["click-view"]._num;
|
||||
const qualifiedNameInCamelCase = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.toCamelCase)(key);
|
||||
const dataPath = `${_path}.${"nn"}`;
|
||||
if (qualifiedNameInCamelCase === "catchMove") {
|
||||
element.enqueueUpdate({
|
||||
path: dataPath,
|
||||
value: element.isOnlyClickBinded() ? clickViewAlias : element.isAnyEventBinded() ? viewAlias : (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.isHasExtractProp)(element) ? staticViewAlias : pureViewAlias
|
||||
});
|
||||
} else if (!(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.isHasExtractProp)(element)) {
|
||||
element.enqueueUpdate({
|
||||
path: dataPath,
|
||||
value: pureViewAlias
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("onAddEvent", (type, _handler, _options, node)=>{
|
||||
node = node;
|
||||
if (!isHtmlTags(node.nodeName)) return;
|
||||
if (type === "click") {
|
||||
defineMappedProp(node.__handlers, type, "tap");
|
||||
} else if (node.nodeName === "input") {
|
||||
if (type === "change") {
|
||||
if (node.props.type === "checkbox" || node.props.type === "radio") {
|
||||
defineMappedProp(node.__handlers, type, "tap");
|
||||
} else {
|
||||
defineMappedProp(node.__handlers, type, "input");
|
||||
}
|
||||
} else if (type === "keypress") {
|
||||
defineMappedProp(node.__handlers, type, "confirm");
|
||||
}
|
||||
}
|
||||
});
|
||||
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("modifyTaroEvent", (event, element)=>{
|
||||
const { nodeName, props } = element;
|
||||
if (nodeName === "input" && event.type === "tap") {
|
||||
if (props.type === "checkbox") {
|
||||
props.checked = !props.checked;
|
||||
} else if (props.type === "radio" && !props.checked) {
|
||||
props.checked = true;
|
||||
}
|
||||
if (event.mpEvent) {
|
||||
const { currentTarget, target } = event.mpEvent;
|
||||
currentTarget.checked = props.checked;
|
||||
if (target.id === currentTarget.id) {
|
||||
target.checked = props.checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("modifyAddEventListener", (element, sideEffect, getComponentsAlias)=>{
|
||||
if (blockElements.has(element.nodeName) && sideEffect !== false && !element.isAnyEventBinded()) {
|
||||
const componentsAlias = getComponentsAlias();
|
||||
const alias = componentsAlias.view._num;
|
||||
element.enqueueUpdate({
|
||||
path: `${element._path}.${"nn"}`,
|
||||
value: alias
|
||||
});
|
||||
}
|
||||
});
|
||||
_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("modifyRemoveEventListener", (element, sideEffect, getComponentsAlias)=>{
|
||||
if (blockElements.has(element.nodeName) && sideEffect !== false && !element.isAnyEventBinded()) {
|
||||
const componentsAlias = getComponentsAlias();
|
||||
const value = (0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.isHasExtractProp)(element) ? "static-view" : "pure-view";
|
||||
const valueAlias = componentsAlias[value]._num;
|
||||
element.enqueueUpdate({
|
||||
path: `${element._path}.${"nn"}`,
|
||||
value: valueAlias
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@@ -1,627 +0,0 @@
|
||||
"use strict";
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-platform-weapp_dist_runtime_js"],{
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js":
|
||||
/*!******************************************************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js ***!
|
||||
\******************************************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-GLEAZC6U.js */ "./node_modules/.taro/weapp/prebundle/chunk-GLEAZC6U.js");
|
||||
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
|
||||
|
||||
|
||||
// node_modules/.pnpm/@tarojs+plugin-platform-weapp@4.0.8_@tarojs+service@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/plugin-platform-weapp/dist/runtime.js
|
||||
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
|
||||
var needPromiseApis = /* @__PURE__ */ new Set([
|
||||
"addFileToFavorites",
|
||||
"addVideoToFavorites",
|
||||
"authPrivateMessage",
|
||||
"checkIsAddedToMyMiniProgram",
|
||||
"chooseContact",
|
||||
"cropImage",
|
||||
"disableAlertBeforeUnload",
|
||||
"editImage",
|
||||
"enableAlertBeforeUnload",
|
||||
"getBackgroundFetchData",
|
||||
"getChannelsLiveInfo",
|
||||
"getChannelsLiveNoticeInfo",
|
||||
"getFuzzyLocation",
|
||||
"getGroupEnterInfo",
|
||||
"getLocalIPAddress",
|
||||
"getShareInfo",
|
||||
"getUserProfile",
|
||||
"getWeRunData",
|
||||
"join1v1Chat",
|
||||
"openChannelsActivity",
|
||||
"openChannelsEvent",
|
||||
"openChannelsLive",
|
||||
"openChannelsUserProfile",
|
||||
"openCustomerServiceChat",
|
||||
"openVideoEditor",
|
||||
"saveFileToDisk",
|
||||
"scanItem",
|
||||
"setEnable1v1Chat",
|
||||
"setWindowSize",
|
||||
"sendBizRedPacket",
|
||||
"startFacialRecognitionVerify"
|
||||
]);
|
||||
function initNativeApi(taro) {
|
||||
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.processApis)(taro, wx, {
|
||||
needPromiseApis,
|
||||
modifyApis (apis) {
|
||||
apis.delete("lanDebug");
|
||||
},
|
||||
transformMeta (api, options) {
|
||||
var _a;
|
||||
if (api === "showShareMenu") {
|
||||
options.menus = (_a = options.showShareItems) === null || _a === void 0 ? void 0 : _a.map((item)=>item === "wechatFriends" ? "shareAppMessage" : item === "wechatMoment" ? "shareTimeline" : item);
|
||||
}
|
||||
return {
|
||||
key: api,
|
||||
options
|
||||
};
|
||||
}
|
||||
});
|
||||
taro.cloud = wx.cloud;
|
||||
taro.getTabBar = function(pageCtx) {
|
||||
var _a;
|
||||
if (typeof (pageCtx === null || pageCtx === void 0 ? void 0 : pageCtx.getTabBar) === "function") {
|
||||
return (_a = pageCtx.getTabBar()) === null || _a === void 0 ? void 0 : _a.$taroInstances;
|
||||
}
|
||||
};
|
||||
taro.getRenderer = function() {
|
||||
var _a, _b, _c;
|
||||
return (_c = (_b = (_a = taro.getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.page) === null || _b === void 0 ? void 0 : _b.renderer) !== null && _c !== void 0 ? _c : "webview";
|
||||
};
|
||||
}
|
||||
var _true = "true";
|
||||
var _false = "false";
|
||||
var _empty = "";
|
||||
var _zero = "0";
|
||||
var _object = "{}";
|
||||
var components = {
|
||||
// ======== 调整属性 ========
|
||||
Progress: {
|
||||
"border-radius": _zero,
|
||||
"font-size": "16",
|
||||
duration: "30",
|
||||
bindActiveEnd: _empty
|
||||
},
|
||||
RichText: {
|
||||
space: _empty,
|
||||
"user-select": _false,
|
||||
mode: "'default'"
|
||||
},
|
||||
Text: {
|
||||
"user-select": _false,
|
||||
overflow: "visible",
|
||||
"max-lines": ""
|
||||
},
|
||||
Map: {
|
||||
polygons: "[]",
|
||||
subkey: _empty,
|
||||
rotate: _zero,
|
||||
skew: _zero,
|
||||
"max-scale": "20",
|
||||
"min-scale": "3",
|
||||
"enable-3D": _false,
|
||||
"show-compass": _false,
|
||||
"show-scale": _false,
|
||||
"enable-overlooking": _false,
|
||||
"enable-auto-max-overlooking": _false,
|
||||
"enable-zoom": _true,
|
||||
"enable-scroll": _true,
|
||||
"enable-rotate": _false,
|
||||
"enable-satellite": _false,
|
||||
"enable-traffic": _false,
|
||||
"enable-poi": _true,
|
||||
"enable-building": _true,
|
||||
setting: _object,
|
||||
bindLabelTap: _empty,
|
||||
bindRegionChange: _empty,
|
||||
bindPoiTap: _empty,
|
||||
bindPolylineTap: _empty,
|
||||
bindAbilitySuccess: _empty,
|
||||
bindAbilityFailed: _empty,
|
||||
bindAuthSuccess: _empty,
|
||||
bindInterpolatePoint: _empty,
|
||||
bindError: _empty,
|
||||
bindAnchorPointTap: _empty
|
||||
},
|
||||
Button: {
|
||||
lang: "en",
|
||||
"session-from": _empty,
|
||||
"send-message-title": _empty,
|
||||
"send-message-path": _empty,
|
||||
"send-message-img": _empty,
|
||||
"app-parameter": _empty,
|
||||
"show-message-card": _false,
|
||||
"business-id": _empty,
|
||||
bindGetUserInfo: _empty,
|
||||
bindContact: _empty,
|
||||
bindGetPhoneNumber: _empty,
|
||||
bindGetRealTimePhoneNumber: _empty,
|
||||
bindChooseAvatar: _empty,
|
||||
bindError: _empty,
|
||||
bindOpenSetting: _empty,
|
||||
bindLaunchApp: _empty,
|
||||
bindAgreePrivacyAuthorization: _empty
|
||||
},
|
||||
Form: {
|
||||
"report-submit-timeout": _zero
|
||||
},
|
||||
Input: {
|
||||
"always-embed": _false,
|
||||
"adjust-position": _true,
|
||||
"hold-keyboard": _false,
|
||||
"safe-password-cert-path": "",
|
||||
"safe-password-length": "",
|
||||
"safe-password-time-stamp": "",
|
||||
"safe-password-nonce": "",
|
||||
"safe-password-salt": "",
|
||||
"safe-password-custom-hash": "",
|
||||
"auto-fill": _empty,
|
||||
"cursor-color": "",
|
||||
bindKeyboardHeightChange: _empty,
|
||||
bindNicknameReview: _empty,
|
||||
bindSelectionChange: _empty,
|
||||
bindKeyboardCompositionStart: _empty,
|
||||
bindKeyboardCompositionUpdate: _empty,
|
||||
bindKeyboardCompositionEnd: _empty
|
||||
},
|
||||
Picker: {
|
||||
"header-text": _empty,
|
||||
level: "region"
|
||||
},
|
||||
PickerView: {
|
||||
"immediate-change": _false,
|
||||
bindPickStart: _empty,
|
||||
bindPickEnd: _empty
|
||||
},
|
||||
Slider: {
|
||||
color: "'#e9e9e9'",
|
||||
"selected-color": "'#1aad19'"
|
||||
},
|
||||
Textarea: {
|
||||
"show-confirm-bar": _true,
|
||||
"adjust-position": _true,
|
||||
"hold-keyboard": _false,
|
||||
"disable-default-padding": _false,
|
||||
"confirm-type": "'return'",
|
||||
"confirm-hold": _false,
|
||||
"adjust-keyboard-to": "'cursor'",
|
||||
bindKeyboardHeightChange: _empty,
|
||||
bindSelectionChange: _empty,
|
||||
bindKeyboardCompositionStart: _empty,
|
||||
bindKeyboardCompositionUpdate: _empty,
|
||||
bindKeyboardCompositionEnd: _empty
|
||||
},
|
||||
ScrollView: {
|
||||
"enable-flex": _false,
|
||||
"scroll-anchoring": _false,
|
||||
enhanced: _false,
|
||||
"using-sticky": _false,
|
||||
"paging-enabled": _false,
|
||||
"enable-passive": _false,
|
||||
"refresher-enabled": _false,
|
||||
"refresher-threshold": "45",
|
||||
"refresher-default-style": "'black'",
|
||||
"refresher-background": "'#FFF'",
|
||||
"refresher-triggered": _false,
|
||||
bounces: _true,
|
||||
"show-scrollbar": _true,
|
||||
"fast-deceleration": _false,
|
||||
type: "'list'",
|
||||
"associative-container": "''",
|
||||
reverse: _false,
|
||||
clip: _true,
|
||||
"enable-back-to-top": _false,
|
||||
"cache-extent": _empty,
|
||||
"min-drag-distance": "18",
|
||||
"scroll-into-view-within-extent": _false,
|
||||
"scroll-into-view-alignment": "'start'",
|
||||
padding: "[0,0,0,0]",
|
||||
"refresher-two-level-enabled": _false,
|
||||
"refresher-two-level-triggered": _false,
|
||||
"refresher-two-level-threshold": "150",
|
||||
"refresher-two-level-close-threshold": "80",
|
||||
"refresher-two-level-scroll-enabled": _false,
|
||||
"refresher-ballistic-refresh-enabled": _false,
|
||||
"refresher-two-level-pinned": _false,
|
||||
bindDragStart: _empty,
|
||||
bindDragging: _empty,
|
||||
bindDragEnd: _empty,
|
||||
bindRefresherPulling: _empty,
|
||||
bindRefresherRefresh: _empty,
|
||||
bindRefresherRestore: _empty,
|
||||
bindRefresherAbort: _empty,
|
||||
bindScrollStart: _empty,
|
||||
bindScrollEnd: _empty,
|
||||
bindRefresherWillRefresh: _empty,
|
||||
bindRefresherStatusChange: _empty
|
||||
},
|
||||
StickySection: {
|
||||
"push-pinned-header": _true,
|
||||
padding: "[0, 0, 0, 0]"
|
||||
},
|
||||
GridView: {
|
||||
type: "'aligned'",
|
||||
"cross-axis-count": "2",
|
||||
"max-cross-axis-extent": _zero,
|
||||
"main-axis-gap": _zero,
|
||||
"cross-axis-gap": _zero,
|
||||
padding: "[0, 0, 0, 0]"
|
||||
},
|
||||
GridBuilder: {
|
||||
type: "'aligned'",
|
||||
list: "[]",
|
||||
"cross-axis-count": "2",
|
||||
"max-cross-axis-extent": _zero,
|
||||
"main-axis-gap": _zero,
|
||||
"cross-axis-gap": _zero,
|
||||
padding: "[0, 0, 0, 0]",
|
||||
bindItemBuild: _empty,
|
||||
bindItemDispose: _empty
|
||||
},
|
||||
ListView: {
|
||||
padding: "[0, 0, 0, 0]"
|
||||
},
|
||||
ListBuilder: {
|
||||
list: "[]",
|
||||
type: "static",
|
||||
padding: "[0, 0, 0, 0]",
|
||||
"child-count": _empty,
|
||||
"child-height": _empty,
|
||||
bindItemBuild: _empty,
|
||||
bindItemDispose: _empty
|
||||
},
|
||||
StickyHeader: {
|
||||
"offset-top": "0",
|
||||
padding: "[0, 0, 0, 0]"
|
||||
},
|
||||
Swiper: {
|
||||
"snap-to-edge": _false,
|
||||
"easing-function": "'default'",
|
||||
"layout-type": "'normal'",
|
||||
"transformer-type": "'scaleAndFade'",
|
||||
"indicator-type": "'normal'",
|
||||
"indicator-margin": "10",
|
||||
"indicator-spacing": "4",
|
||||
"indicator-radius": "4",
|
||||
"indicator-width": "8",
|
||||
"indicator-height": "8",
|
||||
"indicator-alignment": "'auto'",
|
||||
"indicator-offset": "[0, 0]",
|
||||
"scroll-with-animation": _true,
|
||||
"cache-extent": "0"
|
||||
},
|
||||
SwiperItem: {
|
||||
"skip-hidden-item-layout": _false
|
||||
},
|
||||
Navigator: {
|
||||
target: "'self'",
|
||||
"app-id": _empty,
|
||||
path: _empty,
|
||||
"extra-data": _empty,
|
||||
version: "'version'"
|
||||
},
|
||||
Camera: {
|
||||
mode: "'normal'",
|
||||
resolution: "'medium'",
|
||||
"frame-size": "'medium'",
|
||||
bindInitDone: _empty,
|
||||
bindScanCode: _empty
|
||||
},
|
||||
Image: {
|
||||
webp: _false,
|
||||
"show-menu-by-longpress": _false,
|
||||
"fade-in": _false
|
||||
},
|
||||
LivePlayer: {
|
||||
mode: "'live'",
|
||||
"sound-mode": "'speaker'",
|
||||
"auto-pause-if-navigate": _true,
|
||||
"auto-pause-if-open-native": _true,
|
||||
"picture-in-picture-mode": "[]",
|
||||
"enable-auto-rotation": _false,
|
||||
"referrer-policy": "'no-referrer'",
|
||||
"enable-casting": _false,
|
||||
bindstatechange: _empty,
|
||||
bindfullscreenchange: _empty,
|
||||
bindnetstatus: _empty,
|
||||
bindAudioVolumeNotify: _empty,
|
||||
bindEnterPictureInPicture: _empty,
|
||||
bindLeavePictureInPicture: _empty,
|
||||
bindCastingUserSelect: _empty,
|
||||
bindCastingStateChange: _empty,
|
||||
bindCastingInterrupt: _empty
|
||||
},
|
||||
Video: {
|
||||
title: _empty,
|
||||
"play-btn-position": "'bottom'",
|
||||
"enable-play-gesture": _false,
|
||||
"auto-pause-if-navigate": _true,
|
||||
"auto-pause-if-open-native": _true,
|
||||
"vslide-gesture": _false,
|
||||
"vslide-gesture-in-fullscreen": _true,
|
||||
"show-bottom-progress": _true,
|
||||
"ad-unit-id": _empty,
|
||||
"poster-for-crawler": _empty,
|
||||
"show-casting-button": _false,
|
||||
"picture-in-picture-mode": "[]",
|
||||
// picture-in-picture-show-progress 属性先注释掉的原因如下:
|
||||
// 该属性超过了 wxml 属性的长度限制,实际无法使用且导致编译报错。可等微信官方修复后再放开。
|
||||
// 参考1:https://developers.weixin.qq.com/community/develop/doc/000a429beb87f0eac07acc0fc5b400
|
||||
// 参考2: https://developers.weixin.qq.com/community/develop/doc/0006883619c48054286a4308258c00?_at=vyxqpllafi
|
||||
// 'picture-in-picture-show-progress': 'false',
|
||||
"enable-auto-rotation": _false,
|
||||
"show-screen-lock-button": _false,
|
||||
"show-snapshot-button": _false,
|
||||
"show-background-playback-button": _false,
|
||||
"background-poster": _empty,
|
||||
"referrer-policy": "'no-referrer'",
|
||||
"is-drm": _false,
|
||||
"is-live": _false,
|
||||
"provision-url": _empty,
|
||||
"certificate-url": _empty,
|
||||
"license-url": _empty,
|
||||
"preferred-peak-bit-rate": _empty,
|
||||
bindProgress: _empty,
|
||||
bindLoadedMetadata: _empty,
|
||||
bindControlsToggle: _empty,
|
||||
bindEnterPictureInPicture: _empty,
|
||||
bindLeavePictureInPicture: _empty,
|
||||
bindSeekComplete: _empty,
|
||||
bindCastingUserSelect: _empty,
|
||||
bindCastingStateChange: _empty,
|
||||
bindCastingInterrupt: _empty,
|
||||
bindAdLoad: _empty,
|
||||
bindAdError: _empty,
|
||||
bindAdClose: _empty,
|
||||
bindAdPlay: _empty
|
||||
},
|
||||
Canvas: {
|
||||
type: _empty
|
||||
},
|
||||
Ad: {
|
||||
"ad-type": "'banner'",
|
||||
"ad-theme": "'white'"
|
||||
},
|
||||
CoverView: {
|
||||
"marker-id": _empty,
|
||||
slot: _empty
|
||||
},
|
||||
// ======== 额外组件 ========
|
||||
Editor: {
|
||||
"read-only": _false,
|
||||
placeholder: _empty,
|
||||
"show-img-size": _false,
|
||||
"show-img-toolbar": _false,
|
||||
"show-img-resize": _false,
|
||||
focus: _false,
|
||||
bindReady: _empty,
|
||||
bindFocus: _empty,
|
||||
bindBlur: _empty,
|
||||
bindInput: _empty,
|
||||
bindStatusChange: _empty,
|
||||
name: _empty
|
||||
},
|
||||
MatchMedia: {
|
||||
"min-width": _empty,
|
||||
"max-width": _empty,
|
||||
width: _empty,
|
||||
"min-height": _empty,
|
||||
"max-height": _empty,
|
||||
height: _empty,
|
||||
orientation: _empty
|
||||
},
|
||||
FunctionalPageNavigator: {
|
||||
version: "'release'",
|
||||
name: _empty,
|
||||
args: _empty,
|
||||
bindSuccess: _empty,
|
||||
bindFail: _empty,
|
||||
bindCancel: _empty
|
||||
},
|
||||
LivePusher: {
|
||||
url: _empty,
|
||||
mode: "'RTC'",
|
||||
autopush: _false,
|
||||
muted: _false,
|
||||
"enable-camera": _true,
|
||||
"auto-focus": _true,
|
||||
orientation: "'vertical'",
|
||||
beauty: _zero,
|
||||
whiteness: _zero,
|
||||
aspect: "'9:16'",
|
||||
"min-bitrate": "200",
|
||||
"max-bitrate": "1000",
|
||||
"audio-quality": "'high'",
|
||||
"waiting-image": _empty,
|
||||
"waiting-image-hash": _empty,
|
||||
zoom: _false,
|
||||
"device-position": "'front'",
|
||||
"background-mute": _false,
|
||||
mirror: _false,
|
||||
"remote-mirror": _false,
|
||||
"local-mirror": _false,
|
||||
"audio-reverb-type": _zero,
|
||||
"enable-mic": _true,
|
||||
"enable-agc": _false,
|
||||
"enable-ans": _false,
|
||||
"audio-volume-type": "'voicecall'",
|
||||
"video-width": "360",
|
||||
"video-height": "640",
|
||||
"beauty-style": "'smooth'",
|
||||
filter: "'standard'",
|
||||
"picture-in-picture-mode": "[]",
|
||||
animation: _empty,
|
||||
bindStateChange: _empty,
|
||||
bindNetStatus: _empty,
|
||||
bindBgmStart: _empty,
|
||||
bindBgmProgress: _empty,
|
||||
bindBgmComplete: _empty,
|
||||
bindAudioVolumeNotify: _empty
|
||||
},
|
||||
OfficialAccount: {
|
||||
bindLoad: _empty,
|
||||
bindError: _empty
|
||||
},
|
||||
OpenData: {
|
||||
type: _empty,
|
||||
"open-gid": _empty,
|
||||
lang: "'en'",
|
||||
"default-text": _empty,
|
||||
"default-avatar": _empty,
|
||||
bindError: _empty
|
||||
},
|
||||
NavigationBar: {
|
||||
title: _empty,
|
||||
loading: _false,
|
||||
"front-color": "'#000000'",
|
||||
"background-color": _empty,
|
||||
"color-animation-duration": _zero,
|
||||
"color-animation-timing-func": "'linear'"
|
||||
},
|
||||
PageMeta: {
|
||||
"background-text-style": _empty,
|
||||
"background-color": _empty,
|
||||
"background-color-top": _empty,
|
||||
"background-color-bottom": _empty,
|
||||
"root-background-color": _empty,
|
||||
"scroll-top": "''",
|
||||
"scroll-duration": "300",
|
||||
"page-style": "''",
|
||||
"root-font-size": "''",
|
||||
"page-orientation": "''",
|
||||
bindResize: _empty,
|
||||
bindScroll: _empty,
|
||||
bindScrollDone: _empty
|
||||
},
|
||||
VoipRoom: {
|
||||
openid: _empty,
|
||||
mode: "'camera'",
|
||||
"device-position": "'front'",
|
||||
bindError: _empty
|
||||
},
|
||||
AdCustom: {
|
||||
"unit-id": _empty,
|
||||
"ad-intervals": _empty,
|
||||
bindLoad: _empty,
|
||||
bindError: _empty
|
||||
},
|
||||
PageContainer: {
|
||||
show: _false,
|
||||
duration: "300",
|
||||
"z-index": "100",
|
||||
overlay: _true,
|
||||
position: "'bottom'",
|
||||
round: _false,
|
||||
"close-on-slide-down": _false,
|
||||
"overlay-style": _empty,
|
||||
"custom-style": _empty,
|
||||
bindBeforeEnter: _empty,
|
||||
bindEnter: _empty,
|
||||
bindAfterEnter: _empty,
|
||||
bindBeforeLeave: _empty,
|
||||
bindLeave: _empty,
|
||||
bindAfterLeave: _empty,
|
||||
bindClickOverlay: _empty
|
||||
},
|
||||
ShareElement: {
|
||||
mapkey: _empty,
|
||||
transform: _false,
|
||||
duration: "300",
|
||||
"easing-function": "'ease-out'",
|
||||
"transition-on-gesture": _false,
|
||||
"shuttle-on-push": "'to'",
|
||||
"shuttle-on-pop": "'to'",
|
||||
"rect-tween-type": "'materialRectArc'"
|
||||
},
|
||||
KeyboardAccessory: {},
|
||||
RootPortal: {
|
||||
enable: _true
|
||||
},
|
||||
ChannelLive: {
|
||||
"feed-id": _empty,
|
||||
"finder-user-name": _empty
|
||||
},
|
||||
ChannelVideo: {
|
||||
"feed-id": _empty,
|
||||
"finder-user-name": _empty,
|
||||
"feed-token": _empty,
|
||||
autoplay: _false,
|
||||
loop: _false,
|
||||
muted: _false,
|
||||
"object-fit": "'contain'",
|
||||
bindError: _empty
|
||||
},
|
||||
Snapshot: {
|
||||
mode: "'view'"
|
||||
},
|
||||
Span: {},
|
||||
OpenContainer: {
|
||||
transitionType: "'fade'",
|
||||
transitionDuration: "300",
|
||||
closedColor: "'white'",
|
||||
closedElevation: _zero,
|
||||
closeBorderRadius: _zero,
|
||||
middleColor: _empty,
|
||||
openColor: "'white'",
|
||||
openElevation: _zero,
|
||||
openBorderRadius: _zero
|
||||
},
|
||||
DraggableSheet: {
|
||||
initialChildSize: "0.5",
|
||||
minChildSize: "0.25",
|
||||
maxChildSize: "1.0",
|
||||
snap: _false,
|
||||
snapSizes: "[]"
|
||||
},
|
||||
NestedScrollHeader: {},
|
||||
NestedScrollBody: {},
|
||||
// skyline手势组件
|
||||
DoubleTapGestureHandler: {},
|
||||
ForcePressGestureHandler: {},
|
||||
HorizontalDragGestureHandler: {},
|
||||
LongPressGestureHandler: {},
|
||||
PanGestureHandler: {},
|
||||
ScaleGestureHandler: {},
|
||||
TapGestureHandler: {},
|
||||
VerticalDragGestureHandler: {}
|
||||
};
|
||||
var hostConfig = {
|
||||
initNativeApi,
|
||||
getMiniLifecycle (config) {
|
||||
const methods = config.page[5];
|
||||
if (methods.indexOf("onSaveExitState") === -1) {
|
||||
methods.push("onSaveExitState");
|
||||
}
|
||||
return config;
|
||||
},
|
||||
transferHydrateData (data, element, componentsAlias) {
|
||||
var _a;
|
||||
if (element.isTransferElement) {
|
||||
const pages = getCurrentPages();
|
||||
const page = pages[pages.length - 1];
|
||||
data["nn"] = element.dataName;
|
||||
page.setData({
|
||||
[(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.toCamelCase)(data.nn)]: data
|
||||
});
|
||||
return {
|
||||
sid: element.sid,
|
||||
["v"]: "",
|
||||
["nn"]: ((_a = componentsAlias["#text"]) === null || _a === void 0 ? void 0 : _a._num) || "8"
|
||||
};
|
||||
}
|
||||
}
|
||||
};
|
||||
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.mergeReconciler)(hostConfig);
|
||||
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_0__.mergeInternalComponents)(components);
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@@ -1,281 +0,0 @@
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_tarojs_taro_js"],{
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/@tarojs_taro.core.js":
|
||||
/*!*****************************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/@tarojs_taro.core.js ***!
|
||||
\*****************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-WRSQ3V3E.js */ "./node_modules/.taro/weapp/prebundle/chunk-WRSQ3V3E.js");
|
||||
/* harmony import */ var _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-GLEAZC6U.js */ "./node_modules/.taro/weapp/prebundle/chunk-GLEAZC6U.js");
|
||||
/* harmony import */ var _chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-QRPWKJ4C.js */ "./node_modules/.taro/weapp/prebundle/chunk-QRPWKJ4C.js");
|
||||
|
||||
|
||||
|
||||
// node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/env.js
|
||||
function getEnv() {
|
||||
if (true) {
|
||||
return ENV_TYPE.WEAPP;
|
||||
} else {}
|
||||
}
|
||||
var ENV_TYPE;
|
||||
var init_env = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__esm)({
|
||||
"node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/env.js" () {
|
||||
ENV_TYPE = {
|
||||
WEAPP: "WEAPP",
|
||||
SWAN: "SWAN",
|
||||
ALIPAY: "ALIPAY",
|
||||
TT: "TT",
|
||||
QQ: "QQ",
|
||||
JD: "JD",
|
||||
WEB: "WEB",
|
||||
RN: "RN",
|
||||
HARMONY: "HARMONY",
|
||||
QUICKAPP: "QUICKAPP",
|
||||
HARMONYHYBRID: "HARMONYHYBRID"
|
||||
};
|
||||
}
|
||||
});
|
||||
// node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/interceptor/chain.js
|
||||
var Chain;
|
||||
var init_chain = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__esm)({
|
||||
"node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/interceptor/chain.js" () {
|
||||
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.init_dist)();
|
||||
Chain = class _Chain {
|
||||
proceed(requestParams = {}) {
|
||||
this.requestParams = requestParams;
|
||||
if (this.index >= this.interceptors.length) {
|
||||
throw new Error("chain \u53C2\u6570\u9519\u8BEF, \u8BF7\u52FF\u76F4\u63A5\u4FEE\u6539 request.chain");
|
||||
}
|
||||
const nextInterceptor = this._getNextInterceptor();
|
||||
const nextChain = this._getNextChain();
|
||||
const p = nextInterceptor(nextChain);
|
||||
const res = p.catch((err)=>Promise.reject(err));
|
||||
Object.keys(p).forEach((k)=>(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(p[k]) && (res[k] = p[k]));
|
||||
return res;
|
||||
}
|
||||
_getNextInterceptor() {
|
||||
return this.interceptors[this.index];
|
||||
}
|
||||
_getNextChain() {
|
||||
return new _Chain(this.requestParams, this.interceptors, this.index + 1);
|
||||
}
|
||||
constructor(requestParams, interceptors, index){
|
||||
this.index = index || 0;
|
||||
this.requestParams = requestParams || {};
|
||||
this.interceptors = interceptors || [];
|
||||
}
|
||||
};
|
||||
}
|
||||
});
|
||||
// node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/interceptor/index.js
|
||||
function interceptorify(promiseifyApi) {
|
||||
return new Link(function(chain) {
|
||||
return promiseifyApi(chain.requestParams);
|
||||
});
|
||||
}
|
||||
var Link;
|
||||
var init_interceptor = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__esm)({
|
||||
"node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/interceptor/index.js" () {
|
||||
init_chain();
|
||||
Link = class {
|
||||
request(requestParams) {
|
||||
const chain = this.chain;
|
||||
const taroInterceptor = this.taroInterceptor;
|
||||
chain.interceptors = chain.interceptors.filter((interceptor)=>interceptor !== taroInterceptor).concat(taroInterceptor);
|
||||
return chain.proceed(Object.assign({}, requestParams));
|
||||
}
|
||||
addInterceptor(interceptor) {
|
||||
this.chain.interceptors.push(interceptor);
|
||||
}
|
||||
cleanInterceptors() {
|
||||
this.chain = new Chain();
|
||||
}
|
||||
constructor(interceptor){
|
||||
this.taroInterceptor = interceptor;
|
||||
this.chain = new Chain();
|
||||
}
|
||||
};
|
||||
}
|
||||
});
|
||||
// node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/interceptor/interceptors.js
|
||||
var interceptors_exports = {};
|
||||
(0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__export)(interceptors_exports, {
|
||||
logInterceptor: ()=>logInterceptor,
|
||||
timeoutInterceptor: ()=>timeoutInterceptor
|
||||
});
|
||||
function timeoutInterceptor(chain) {
|
||||
const requestParams = chain.requestParams;
|
||||
let p;
|
||||
const res = new Promise((resolve, reject)=>{
|
||||
const timeout = setTimeout(()=>{
|
||||
clearTimeout(timeout);
|
||||
reject(new Error("\u7F51\u7EDC\u94FE\u63A5\u8D85\u65F6,\u8BF7\u7A0D\u540E\u518D\u8BD5\uFF01"));
|
||||
}, requestParams && requestParams.timeout || 6e4);
|
||||
p = chain.proceed(requestParams);
|
||||
p.then((res2)=>{
|
||||
if (!timeout) return;
|
||||
clearTimeout(timeout);
|
||||
resolve(res2);
|
||||
}).catch((err)=>{
|
||||
timeout && clearTimeout(timeout);
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
if (!(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isUndefined)(p) && (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(p.abort)) res.abort = p.abort;
|
||||
return res;
|
||||
}
|
||||
function logInterceptor(chain) {
|
||||
const requestParams = chain.requestParams;
|
||||
const { method, data, url } = requestParams;
|
||||
console.log(`http ${method || "GET"} --> ${url} data: `, data);
|
||||
const p = chain.proceed(requestParams);
|
||||
const res = p.then((res2)=>{
|
||||
console.log(`http <-- ${url} result:`, res2);
|
||||
return res2;
|
||||
});
|
||||
if ((0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(p.abort)) res.abort = p.abort;
|
||||
return res;
|
||||
}
|
||||
var init_interceptors = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__esm)({
|
||||
"node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/interceptor/interceptors.js" () {
|
||||
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.init_dist)();
|
||||
}
|
||||
});
|
||||
// node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/tools.js
|
||||
function Behavior(options2) {
|
||||
return options2;
|
||||
}
|
||||
function getPreload(current) {
|
||||
return function(key, val) {
|
||||
current.preloadData = (0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(key) ? key : {
|
||||
[key]: val
|
||||
};
|
||||
};
|
||||
}
|
||||
function getInitPxTransform(taro) {
|
||||
return function(config) {
|
||||
const { designWidth = defaultDesignWidth, deviceRatio = defaultDesignRatio, baseFontSize = defaultBaseFontSize, targetUnit = defaultTargetUnit, unitPrecision = defaultUnitPrecision } = config;
|
||||
taro.config = taro.config || {};
|
||||
taro.config.designWidth = designWidth;
|
||||
taro.config.deviceRatio = deviceRatio;
|
||||
taro.config.baseFontSize = baseFontSize;
|
||||
taro.config.targetUnit = targetUnit;
|
||||
taro.config.unitPrecision = unitPrecision;
|
||||
};
|
||||
}
|
||||
function getPxTransform(taro) {
|
||||
return function(size) {
|
||||
const config = taro.config || {};
|
||||
const baseFontSize = config.baseFontSize;
|
||||
const deviceRatio = config.deviceRatio || defaultDesignRatio;
|
||||
const designWidth = ((input = 0)=>(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(config.designWidth) ? config.designWidth(input) : config.designWidth || defaultDesignWidth)(size);
|
||||
if (!(designWidth in deviceRatio)) {
|
||||
throw new Error(`deviceRatio \u914D\u7F6E\u4E2D\u4E0D\u5B58\u5728 ${designWidth} \u7684\u8BBE\u7F6E\uFF01`);
|
||||
}
|
||||
const targetUnit = config.targetUnit || defaultTargetUnit;
|
||||
const unitPrecision = config.unitPrecision || defaultUnitPrecision;
|
||||
const formatSize = ~~size;
|
||||
let rootValue = 1 / deviceRatio[designWidth];
|
||||
switch(targetUnit){
|
||||
case "rem":
|
||||
rootValue *= baseFontSize * 2;
|
||||
break;
|
||||
case "px":
|
||||
rootValue *= 2;
|
||||
break;
|
||||
}
|
||||
let val = formatSize / rootValue;
|
||||
if (unitPrecision >= 0 && unitPrecision <= 100) {
|
||||
val = Number(val.toFixed(unitPrecision));
|
||||
}
|
||||
return val + targetUnit;
|
||||
};
|
||||
}
|
||||
var defaultDesignWidth, defaultDesignRatio, defaultBaseFontSize, defaultUnitPrecision, defaultTargetUnit;
|
||||
var init_tools = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__esm)({
|
||||
"node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/tools.js" () {
|
||||
(0,_chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.init_dist)();
|
||||
defaultDesignWidth = 750;
|
||||
defaultDesignRatio = {
|
||||
640: 2.34 / 2,
|
||||
750: 1,
|
||||
828: 1.81 / 2
|
||||
};
|
||||
defaultBaseFontSize = 20;
|
||||
defaultUnitPrecision = 5;
|
||||
defaultTargetUnit = "rpx";
|
||||
}
|
||||
});
|
||||
// node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/index.js
|
||||
var dist_exports2 = {};
|
||||
(0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__export)(dist_exports2, {
|
||||
default: ()=>Taro
|
||||
});
|
||||
var Taro;
|
||||
var init_dist3 = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__esm)({
|
||||
"node_modules/.pnpm/@tarojs+api@4.0.8_@tarojs+runtime@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/api/dist/index.js" () {
|
||||
(0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)();
|
||||
init_env();
|
||||
init_interceptor();
|
||||
init_interceptors();
|
||||
init_tools();
|
||||
Taro = {
|
||||
Behavior,
|
||||
getEnv,
|
||||
ENV_TYPE,
|
||||
Link,
|
||||
interceptors: interceptors_exports,
|
||||
Current: _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current,
|
||||
getCurrentInstance: _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance,
|
||||
options: _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.options,
|
||||
nextTick: _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.nextTick,
|
||||
eventCenter: _chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.eventCenter,
|
||||
Events: _chunk_GLEAZC6U_js__WEBPACK_IMPORTED_MODULE_1__.Events,
|
||||
getInitPxTransform,
|
||||
interceptorify
|
||||
};
|
||||
Taro.initPxTransform = getInitPxTransform(Taro);
|
||||
Taro.preload = getPreload(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.Current);
|
||||
Taro.pxTransform = getPxTransform(Taro);
|
||||
}
|
||||
});
|
||||
// node_modules/.pnpm/@tarojs+taro@4.0.8_@tarojs+components@4.0.8_@tarojs+helper@4.0.8_@types+react@18.3.18_html-we_mqz7ctxd6mru7kqk2ypmew4j5i/node_modules/@tarojs/taro/index.js
|
||||
var require_taro = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__commonJS)({
|
||||
"node_modules/.pnpm/@tarojs+taro@4.0.8_@tarojs+components@4.0.8_@tarojs+helper@4.0.8_@types+react@18.3.18_html-we_mqz7ctxd6mru7kqk2ypmew4j5i/node_modules/@tarojs/taro/index.js" (exports, module) {
|
||||
var { hooks } = ((0,_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.init_dist)(), (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__toCommonJS)(_chunk_WRSQ3V3E_js__WEBPACK_IMPORTED_MODULE_0__.dist_exports));
|
||||
var taro = (init_dist3(), (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__toCommonJS)(dist_exports2)).default;
|
||||
if (hooks.isExist("initNativeApi")) {
|
||||
hooks.call("initNativeApi", taro);
|
||||
}
|
||||
module.exports = taro;
|
||||
module.exports.default = module.exports;
|
||||
}
|
||||
});
|
||||
// entry:@tarojs_taro
|
||||
var require_tarojs_taro = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_2__.__commonJS)({
|
||||
"entry:@tarojs_taro" (exports, module) {
|
||||
module.exports = require_taro();
|
||||
}
|
||||
});
|
||||
/* harmony default export */ __webpack_exports__["default"] = (require_tarojs_taro());
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/.taro/weapp/prebundle/@tarojs_taro.js":
|
||||
/*!************************************************************!*\
|
||||
!*** ./node_modules/.taro/weapp/prebundle/@tarojs_taro.js ***!
|
||||
\************************************************************/
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var m = __webpack_require__(/*! ./@tarojs_taro.core.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_taro.core.js");
|
||||
module.exports = m.default;
|
||||
exports["default"] = module.exports;
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
File diff suppressed because it is too large
Load Diff
18
dist/project.config.json
vendored
18
dist/project.config.json
vendored
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"miniprogramRoot": "./",
|
||||
"projectname": "taro-template",
|
||||
"description": "taro模版",
|
||||
"appid": "touristappid",
|
||||
"setting": {
|
||||
"urlCheck": false,
|
||||
"es6": false,
|
||||
"enhance": false,
|
||||
"compileHotReLoad": true,
|
||||
"postcss": true,
|
||||
"minified": true,
|
||||
"uglifyFileName": true,
|
||||
"bigPackageSizeSupport": true,
|
||||
"swc": true
|
||||
},
|
||||
"compileType": "miniprogram"
|
||||
}
|
||||
415
dist/runtime.js
vendored
415
dist/runtime.js
vendored
@@ -1,415 +0,0 @@
|
||||
/******/ (function() { // webpackBootstrap
|
||||
/******/ "use strict";
|
||||
/******/ var __webpack_modules__ = ({});
|
||||
/************************************************************************/
|
||||
/******/ // The module cache
|
||||
/******/ var __webpack_module_cache__ = {};
|
||||
/******/
|
||||
/******/ // The require function
|
||||
/******/ function __webpack_require__(moduleId) {
|
||||
/******/ // Check if module is in cache
|
||||
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
||||
/******/ if (cachedModule !== undefined) {
|
||||
/******/ return cachedModule.exports;
|
||||
/******/ }
|
||||
/******/ // Create a new module (and put it into the cache)
|
||||
/******/ var module = __webpack_module_cache__[moduleId] = {
|
||||
/******/ // no module.id needed
|
||||
/******/ // no module.loaded needed
|
||||
/******/ exports: {}
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Execute the module function
|
||||
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
||||
/******/
|
||||
/******/ // Return the exports of the module
|
||||
/******/ return module.exports;
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ // expose the modules object (__webpack_modules__)
|
||||
/******/ __webpack_require__.m = __webpack_modules__;
|
||||
/******/
|
||||
/************************************************************************/
|
||||
/******/ /* webpack/runtime/chunk loaded */
|
||||
/******/ !function() {
|
||||
/******/ var deferred = [];
|
||||
/******/ __webpack_require__.O = function(result, chunkIds, fn, priority) {
|
||||
/******/ if(chunkIds) {
|
||||
/******/ priority = priority || 0;
|
||||
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
||||
/******/ deferred[i] = [chunkIds, fn, priority];
|
||||
/******/ return;
|
||||
/******/ }
|
||||
/******/ var notFulfilled = Infinity;
|
||||
/******/ for (var i = 0; i < deferred.length; i++) {
|
||||
/******/ var chunkIds = deferred[i][0];
|
||||
/******/ var fn = deferred[i][1];
|
||||
/******/ var priority = deferred[i][2];
|
||||
/******/ var fulfilled = true;
|
||||
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
||||
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {
|
||||
/******/ chunkIds.splice(j--, 1);
|
||||
/******/ } else {
|
||||
/******/ fulfilled = false;
|
||||
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/ if(fulfilled) {
|
||||
/******/ deferred.splice(i--, 1)
|
||||
/******/ var r = fn();
|
||||
/******/ if (r !== undefined) result = r;
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/ return result;
|
||||
/******/ };
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/compat get default export */
|
||||
/******/ !function() {
|
||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||||
/******/ __webpack_require__.n = function(module) {
|
||||
/******/ var getter = module && module.__esModule ?
|
||||
/******/ function() { return module['default']; } :
|
||||
/******/ function() { return module; };
|
||||
/******/ __webpack_require__.d(getter, { a: getter });
|
||||
/******/ return getter;
|
||||
/******/ };
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/define property getters */
|
||||
/******/ !function() {
|
||||
/******/ // define getter functions for harmony exports
|
||||
/******/ __webpack_require__.d = function(exports, definition) {
|
||||
/******/ for(var key in definition) {
|
||||
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
||||
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/ensure chunk */
|
||||
/******/ !function() {
|
||||
/******/ __webpack_require__.f = {};
|
||||
/******/ // This file contains only the entry chunk.
|
||||
/******/ // The chunk loading function for additional chunks
|
||||
/******/ __webpack_require__.e = function(chunkId) {
|
||||
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
|
||||
/******/ __webpack_require__.f[key](chunkId, promises);
|
||||
/******/ return promises;
|
||||
/******/ }, []));
|
||||
/******/ };
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/get javascript chunk filename */
|
||||
/******/ !function() {
|
||||
/******/ // This function allow to reference async chunks
|
||||
/******/ __webpack_require__.u = function(chunkId) {
|
||||
/******/ // return url for filenames based on template
|
||||
/******/ return undefined;
|
||||
/******/ };
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/get mini-css chunk filename */
|
||||
/******/ !function() {
|
||||
/******/ // This function allow to reference async chunks
|
||||
/******/ __webpack_require__.miniCssF = function(chunkId) {
|
||||
/******/ // return url for filenames based on template
|
||||
/******/ return undefined;
|
||||
/******/ };
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/global */
|
||||
/******/ !function() {
|
||||
/******/ __webpack_require__.g = (function() {
|
||||
/******/ if (typeof globalThis === 'object') return globalThis;
|
||||
/******/ try {
|
||||
/******/ return this || new Function('return this')();
|
||||
/******/ } catch (e) {
|
||||
/******/ if (typeof window === 'object') return window;
|
||||
/******/ }
|
||||
/******/ })();
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
||||
/******/ !function() {
|
||||
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/load script */
|
||||
/******/ !function() {
|
||||
/******/ var inProgress = {};
|
||||
/******/ var dataWebpackPrefix = "taro-template:";
|
||||
/******/ // loadScript function to load a script via script tag
|
||||
/******/ __webpack_require__.l = function(url, done, key, chunkId) {
|
||||
/******/ if(inProgress[url]) { inProgress[url].push(done); return; }
|
||||
/******/ var script, needAttach;
|
||||
/******/ if(key !== undefined) {
|
||||
/******/ var scripts = document.getElementsByTagName("script");
|
||||
/******/ for(var i = 0; i < scripts.length; i++) {
|
||||
/******/ var s = scripts[i];
|
||||
/******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/ if(!script) {
|
||||
/******/ needAttach = true;
|
||||
/******/ script = document.createElement('script');
|
||||
/******/
|
||||
/******/ script.charset = 'utf-8';
|
||||
/******/ script.timeout = 120;
|
||||
/******/ if (__webpack_require__.nc) {
|
||||
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
||||
/******/ }
|
||||
/******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
|
||||
/******/
|
||||
/******/ script.src = url;
|
||||
/******/ }
|
||||
/******/ inProgress[url] = [done];
|
||||
/******/ var onScriptComplete = function(prev, event) {
|
||||
/******/ // avoid mem leaks in IE.
|
||||
/******/ script.onerror = script.onload = null;
|
||||
/******/ clearTimeout(timeout);
|
||||
/******/ var doneFns = inProgress[url];
|
||||
/******/ delete inProgress[url];
|
||||
/******/ script.parentNode && script.parentNode.removeChild(script);
|
||||
/******/ doneFns && doneFns.forEach(function(fn) { return fn(event); });
|
||||
/******/ if(prev) return prev(event);
|
||||
/******/ }
|
||||
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
|
||||
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
|
||||
/******/ script.onload = onScriptComplete.bind(null, script.onload);
|
||||
/******/ needAttach && document.head.appendChild(script);
|
||||
/******/ };
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/make namespace object */
|
||||
/******/ !function() {
|
||||
/******/ // define __esModule on exports
|
||||
/******/ __webpack_require__.r = function(exports) {
|
||||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||||
/******/ }
|
||||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||||
/******/ };
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/remotes loading */
|
||||
/******/ !function() {
|
||||
/******/ var chunkMapping = {
|
||||
/******/ "app": [
|
||||
/******/ "webpack/container/remote/@tarojs/plugin-platform-weapp/dist/runtime",
|
||||
/******/ "webpack/container/remote/@tarojs/plugin-html/dist/runtime",
|
||||
/******/ "webpack/container/remote/@tarojs/plugin-framework-react/dist/runtime",
|
||||
/******/ "webpack/container/remote/redux",
|
||||
/******/ "webpack/container/remote/redux-thunk",
|
||||
/******/ "webpack/container/remote/redux-logger",
|
||||
/******/ "webpack/container/remote/react-dom"
|
||||
/******/ ],
|
||||
/******/ "pages/home/index": [
|
||||
/******/ "webpack/container/remote/uqrcodejs"
|
||||
/******/ ],
|
||||
/******/ "common": [
|
||||
/******/ "webpack/container/remote/@tarojs/runtime",
|
||||
/******/ "webpack/container/remote/@tarojs/taro",
|
||||
/******/ "webpack/container/remote/react",
|
||||
/******/ "webpack/container/remote/react-redux",
|
||||
/******/ "webpack/container/remote/react/jsx-runtime"
|
||||
/******/ ]
|
||||
/******/ };
|
||||
/******/ var idToExternalAndNameMapping = {
|
||||
/******/ "webpack/container/remote/@tarojs/plugin-platform-weapp/dist/runtime": [
|
||||
/******/ "default",
|
||||
/******/ "./@tarojs/plugin-platform-weapp/dist/runtime",
|
||||
/******/ null
|
||||
/******/ ],
|
||||
/******/ "webpack/container/remote/@tarojs/plugin-html/dist/runtime": [
|
||||
/******/ "default",
|
||||
/******/ "./@tarojs/plugin-html/dist/runtime",
|
||||
/******/ null
|
||||
/******/ ],
|
||||
/******/ "webpack/container/remote/@tarojs/plugin-framework-react/dist/runtime": [
|
||||
/******/ "default",
|
||||
/******/ "./@tarojs/plugin-framework-react/dist/runtime",
|
||||
/******/ null
|
||||
/******/ ],
|
||||
/******/ "webpack/container/remote/redux": [
|
||||
/******/ "default",
|
||||
/******/ "./redux",
|
||||
/******/ null
|
||||
/******/ ],
|
||||
/******/ "webpack/container/remote/redux-thunk": [
|
||||
/******/ "default",
|
||||
/******/ "./redux-thunk",
|
||||
/******/ null
|
||||
/******/ ],
|
||||
/******/ "webpack/container/remote/redux-logger": [
|
||||
/******/ "default",
|
||||
/******/ "./redux-logger",
|
||||
/******/ null
|
||||
/******/ ],
|
||||
/******/ "webpack/container/remote/react-dom": [
|
||||
/******/ "default",
|
||||
/******/ "./react-dom",
|
||||
/******/ null
|
||||
/******/ ],
|
||||
/******/ "webpack/container/remote/uqrcodejs": [
|
||||
/******/ "default",
|
||||
/******/ "./uqrcodejs",
|
||||
/******/ null
|
||||
/******/ ],
|
||||
/******/ "webpack/container/remote/@tarojs/runtime": [
|
||||
/******/ "default",
|
||||
/******/ "./@tarojs/runtime",
|
||||
/******/ null
|
||||
/******/ ],
|
||||
/******/ "webpack/container/remote/@tarojs/taro": [
|
||||
/******/ "default",
|
||||
/******/ "./@tarojs/taro",
|
||||
/******/ null
|
||||
/******/ ],
|
||||
/******/ "webpack/container/remote/react": [
|
||||
/******/ "default",
|
||||
/******/ "./react",
|
||||
/******/ null
|
||||
/******/ ],
|
||||
/******/ "webpack/container/remote/react-redux": [
|
||||
/******/ "default",
|
||||
/******/ "./react-redux",
|
||||
/******/ null
|
||||
/******/ ],
|
||||
/******/ "webpack/container/remote/react/jsx-runtime": [
|
||||
/******/ "default",
|
||||
/******/ "./react/jsx-runtime",
|
||||
/******/ null
|
||||
/******/ ]
|
||||
/******/ };
|
||||
/******/ __webpack_require__.taro = function(get) {
|
||||
/******/ for (var id in idToExternalAndNameMapping) {
|
||||
/******/ var mappedName = idToExternalAndNameMapping[id][1];
|
||||
/******/ var factory = get(mappedName);
|
||||
/******/ __webpack_modules__[id] = (function(factory) {
|
||||
/******/ return function(module) {
|
||||
/******/ module.exports = factory();
|
||||
/******/ }
|
||||
/******/ })(factory);
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/publicPath */
|
||||
/******/ !function() {
|
||||
/******/ __webpack_require__.p = "/";
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/jsonp chunk loading */
|
||||
/******/ !function() {
|
||||
/******/ // no baseURI
|
||||
/******/
|
||||
/******/ // object to store loaded and loading chunks
|
||||
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
||||
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
||||
/******/ var installedChunks = {
|
||||
/******/ "runtime": 0
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ __webpack_require__.f.j = function(chunkId, promises) {
|
||||
/******/ // JSONP chunk loading for javascript
|
||||
/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
|
||||
/******/ if(installedChunkData !== 0) { // 0 means "already installed".
|
||||
/******/
|
||||
/******/ // a Promise means "currently loading".
|
||||
/******/ if(installedChunkData) {
|
||||
/******/ promises.push(installedChunkData[2]);
|
||||
/******/ } else {
|
||||
/******/ if("runtime" != chunkId) {
|
||||
/******/ // setup Promise in chunk cache
|
||||
/******/ var promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });
|
||||
/******/ promises.push(installedChunkData[2] = promise);
|
||||
/******/
|
||||
/******/ // start chunk loading
|
||||
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
|
||||
/******/ // create error before stack unwound to get useful stacktrace later
|
||||
/******/ var error = new Error();
|
||||
/******/ var loadingEnded = function(event) {
|
||||
/******/ if(__webpack_require__.o(installedChunks, chunkId)) {
|
||||
/******/ installedChunkData = installedChunks[chunkId];
|
||||
/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
|
||||
/******/ if(installedChunkData) {
|
||||
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
|
||||
/******/ var realSrc = event && event.target && event.target.src;
|
||||
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
|
||||
/******/ error.name = 'ChunkLoadError';
|
||||
/******/ error.type = errorType;
|
||||
/******/ error.request = realSrc;
|
||||
/******/ installedChunkData[1](error);
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
|
||||
/******/ } else installedChunks[chunkId] = 0;
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // no prefetching
|
||||
/******/
|
||||
/******/ // no preloaded
|
||||
/******/
|
||||
/******/ // no HMR
|
||||
/******/
|
||||
/******/ // no HMR manifest
|
||||
/******/
|
||||
/******/ __webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };
|
||||
/******/
|
||||
/******/ // install a JSONP callback for chunk loading
|
||||
/******/ var webpackJsonpCallback = function(parentChunkLoadingFunction, data) {
|
||||
/******/ var chunkIds = data[0];
|
||||
/******/ var moreModules = data[1];
|
||||
/******/ var runtime = data[2];
|
||||
/******/ // add "moreModules" to the modules object,
|
||||
/******/ // then flag all "chunkIds" as loaded and fire callback
|
||||
/******/ var moduleId, chunkId, i = 0;
|
||||
/******/ if(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {
|
||||
/******/ for(moduleId in moreModules) {
|
||||
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
||||
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/ if(runtime) var result = runtime(__webpack_require__);
|
||||
/******/ }
|
||||
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
||||
/******/ for(;i < chunkIds.length; i++) {
|
||||
/******/ chunkId = chunkIds[i];
|
||||
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
||||
/******/ installedChunks[chunkId][0]();
|
||||
/******/ }
|
||||
/******/ installedChunks[chunkId] = 0;
|
||||
/******/ }
|
||||
/******/ return __webpack_require__.O(result);
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ var chunkLoadingGlobal = wx["webpackJsonp"] = wx["webpackJsonp"] || [];
|
||||
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
||||
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
||||
/******/ var miniHMRCallback = function(parentChunkLoadingFunction, data) {
|
||||
/******/ var chunkIds = data[0];
|
||||
/******/ var moreModules = data[1];
|
||||
/******/ if(chunkIds.some(function(id) { return installedChunks[id] === 0 })) {
|
||||
/******/ chunkIds.forEach(id => {
|
||||
/******/ delete installedChunks[id]
|
||||
/******/ })
|
||||
/******/ Object.keys(moreModules).forEach(id => {
|
||||
/******/ delete __webpack_module_cache__[id]
|
||||
/******/ })
|
||||
/******/ }
|
||||
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
||||
/******/ }
|
||||
/******/ chunkLoadingGlobal.push = miniHMRCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
||||
/******/ }();
|
||||
/******/
|
||||
/************************************************************************/
|
||||
/******/
|
||||
/******/
|
||||
/******/ })()
|
||||
;
|
||||
//# sourceMappingURL=runtime.js.map
|
||||
1
dist/runtime.js.map
vendored
1
dist/runtime.js.map
vendored
@@ -1 +0,0 @@
|
||||
{"version":3,"sources":[""],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
||||
130
dist/taro.js
vendored
130
dist/taro.js
vendored
@@ -1,130 +0,0 @@
|
||||
"use strict";
|
||||
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["taro"],{
|
||||
|
||||
/***/ "./node_modules/.pnpm/@tarojs+plugin-platform-weapp@4.0.8_@tarojs+service@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js":
|
||||
/*!*******************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/.pnpm/@tarojs+plugin-platform-weapp@4.0.8_@tarojs+service@4.0.8_@tarojs+shared@4.0.8/node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js ***!
|
||||
\*******************************************************************************************************************************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ Button: function() { return /* binding */ Button; },
|
||||
/* harmony export */ Canvas: function() { return /* binding */ Canvas; },
|
||||
/* harmony export */ Text: function() { return /* binding */ Text; },
|
||||
/* harmony export */ View: function() { return /* binding */ View; }
|
||||
/* harmony export */ });
|
||||
/* unused harmony exports Ad, AdCustom, Audio, Block, Camera, ChannelLive, ChannelVideo, Checkbox, CheckboxGroup, CoverImage, CoverView, CustomWrapper, DoubleTapGestureHandler, DraggableSheet, Editor, ForcePressGestureHandler, Form, FunctionalPageNavigator, GridBuilder, GridView, HorizontalDragGestureHandler, Icon, Image, Input, KeyboardAccessory, Label, ListBuilder, ListView, LivePlayer, LivePusher, LongPressGestureHandler, Map, MatchMedia, MovableArea, MovableView, NativeSlot, NavigationBar, Navigator, NestedScrollBody, NestedScrollHeader, OfficialAccount, OpenContainer, OpenData, PageContainer, PageMeta, PanGestureHandler, Picker, PickerView, PickerViewColumn, Progress, Radio, RadioGroup, RichText, RootPortal, ScaleGestureHandler, ScrollView, ShareElement, Slider, Slot, Snapshot, Span, StickyHeader, StickySection, Swiper, SwiperItem, Switch, TapGestureHandler, Textarea, VerticalDragGestureHandler, Video, VoipRoom, WebView */
|
||||
const View = 'view';
|
||||
const Icon = 'icon';
|
||||
const Progress = 'progress';
|
||||
const RichText = 'rich-text';
|
||||
const Text = 'text';
|
||||
const Button = 'button';
|
||||
const Checkbox = 'checkbox';
|
||||
const CheckboxGroup = 'checkbox-group';
|
||||
const Form = 'form';
|
||||
const Input = 'input';
|
||||
const Label = 'label';
|
||||
const Picker = 'picker';
|
||||
const PickerView = 'picker-view';
|
||||
const PickerViewColumn = 'picker-view-column';
|
||||
const Radio = 'radio';
|
||||
const RadioGroup = 'radio-group';
|
||||
const Slider = 'slider';
|
||||
const Switch = 'switch';
|
||||
const CoverImage = 'cover-image';
|
||||
const Textarea = 'textarea';
|
||||
const CoverView = 'cover-view';
|
||||
const MovableArea = 'movable-area';
|
||||
const MovableView = 'movable-view';
|
||||
const ScrollView = 'scroll-view';
|
||||
const Swiper = 'swiper';
|
||||
const SwiperItem = 'swiper-item';
|
||||
const Navigator = 'navigator';
|
||||
const Audio = 'audio';
|
||||
const Camera = 'camera';
|
||||
const Image = 'image';
|
||||
const LivePlayer = 'live-player';
|
||||
const Video = 'video';
|
||||
const Canvas = 'canvas';
|
||||
const Ad = 'ad';
|
||||
const WebView = 'web-view';
|
||||
const Block = 'block';
|
||||
const Map = 'map';
|
||||
const Slot = 'slot';
|
||||
const NativeSlot = 'native-slot';
|
||||
const CustomWrapper = 'custom-wrapper';
|
||||
|
||||
// For React.createElement's type
|
||||
const Editor = 'editor';
|
||||
const MatchMedia = 'match-media';
|
||||
const FunctionalPageNavigator = 'functional-page-navigator';
|
||||
const LivePusher = 'live-pusher';
|
||||
const OfficialAccount = 'official-account';
|
||||
const OpenData = 'open-data';
|
||||
const NavigationBar = 'navigation-bar';
|
||||
const PageMeta = 'page-meta';
|
||||
const VoipRoom = 'voip-room';
|
||||
const AdCustom = 'ad-custom';
|
||||
const PageContainer = 'page-container';
|
||||
const ShareElement = 'share-element';
|
||||
const KeyboardAccessory = 'keyboard-accessory';
|
||||
const RootPortal = 'root-portal';
|
||||
const ChannelLive = 'channel-live';
|
||||
const ChannelVideo = 'channel-video';
|
||||
const ListView = 'list-view';
|
||||
const ListBuilder = 'list-builder';
|
||||
const GridView = 'grid-view';
|
||||
const GridBuilder = 'grid-builder';
|
||||
const StickyHeader = 'sticky-header';
|
||||
const StickySection = 'sticky-section';
|
||||
const Snapshot = 'snapshot';
|
||||
const Span = 'span';
|
||||
const OpenContainer = 'open-container';
|
||||
const DraggableSheet = 'draggable-sheet';
|
||||
const NestedScrollHeader = 'nested-scroll-header';
|
||||
const NestedScrollBody = 'nested-scroll-body';
|
||||
const DoubleTapGestureHandler = 'double-tap-gesture-handler';
|
||||
const ForcePressGestureHandler = 'force-press-gesture-handler';
|
||||
const HorizontalDragGestureHandler = 'horizontal-drag-gesture-handler';
|
||||
const LongPressGestureHandler = 'long-press-gesture-handler';
|
||||
const PanGestureHandler = 'pan-gesture-handler';
|
||||
const ScaleGestureHandler = 'scale-gesture-handler';
|
||||
const TapGestureHandler = 'tap-gesture-handler';
|
||||
const VerticalDragGestureHandler = 'vertical-drag-gesture-handler';
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/.pnpm/@tarojs+webpack5-runner@4.0.8_@babel+core@7.26.0_@swc+core@1.3.96_@tarojs+runtime@4.0.8_less@_vwsmwh3bdevzqpifefvyk27xte/node_modules/@tarojs/webpack5-runner/dist/template/comp.js":
|
||||
/*!****************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/.pnpm/@tarojs+webpack5-runner@4.0.8_@babel+core@7.26.0_@swc+core@1.3.96_@tarojs+runtime@4.0.8_less@_vwsmwh3bdevzqpifefvyk27xte/node_modules/@tarojs/webpack5-runner/dist/template/comp.js ***!
|
||||
\****************************************************************************************************************************************************************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
||||
|
||||
/* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tarojs/runtime */ "webpack/container/remote/@tarojs/runtime");
|
||||
/* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* eslint-disable no-undef */
|
||||
|
||||
// @ts-ignore
|
||||
Component((0,_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/.pnpm/@tarojs+webpack5-runner@4.0.8_@babel+core@7.26.0_@swc+core@1.3.96_@tarojs+runtime@4.0.8_less@_vwsmwh3bdevzqpifefvyk27xte/node_modules/@tarojs/webpack5-runner/dist/template/custom-wrapper.js":
|
||||
/*!**************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/.pnpm/@tarojs+webpack5-runner@4.0.8_@babel+core@7.26.0_@swc+core@1.3.96_@tarojs+runtime@4.0.8_less@_vwsmwh3bdevzqpifefvyk27xte/node_modules/@tarojs/webpack5-runner/dist/template/custom-wrapper.js ***!
|
||||
\**************************************************************************************************************************************************************************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
||||
|
||||
/* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tarojs/runtime */ "webpack/container/remote/@tarojs/runtime");
|
||||
/* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* eslint-disable no-undef */
|
||||
|
||||
// @ts-ignore
|
||||
Component((0,_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createRecursiveComponentConfig)('custom-wrapper'));
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
//# sourceMappingURL=taro.js.map
|
||||
1
dist/taro.js.map
vendored
1
dist/taro.js.map
vendored
@@ -1 +0,0 @@
|
||||
{"version":3,"sources":[""],"names":[],"mappings":"AAAA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA"}
|
||||
42
dist/utils.wxs
vendored
42
dist/utils.wxs
vendored
@@ -1,42 +0,0 @@
|
||||
module.exports = {
|
||||
a: function (l, n, s) {
|
||||
var a = ["8","0","22","6","3","1","13","7","5","69","70","35","27","66","75","76","63"]
|
||||
var b = ["5","69","70","35","27","66","75","76","63"]
|
||||
if (a.indexOf(n) === -1) {
|
||||
l = 0
|
||||
}
|
||||
if (b.indexOf(n) > -1) {
|
||||
var u = s.split(',')
|
||||
var depth = 0
|
||||
for (var i = 0; i < u.length; i++) {
|
||||
if (u[i] === n) depth++
|
||||
}
|
||||
l = depth
|
||||
}
|
||||
if (l >= 15) {
|
||||
return 'tmpl_15_container'
|
||||
}
|
||||
return 'tmpl_' + l + '_' + n
|
||||
},
|
||||
b: function (a, b) {
|
||||
return a === undefined ? b : a
|
||||
},
|
||||
c: function(i, prefix) {
|
||||
var s = i.focus !== undefined ? 'focus' : 'blur'
|
||||
return prefix + i.nn + '_' + s
|
||||
},
|
||||
d: function (a) {
|
||||
return a === undefined ? {} : a
|
||||
},
|
||||
e: function (n) {
|
||||
return 'tmpl_' + n + '_container'
|
||||
},
|
||||
f: function (l, n) {
|
||||
var b = ["5","69","70","35","27","66","75","76","63"]
|
||||
if (b.indexOf(n) > -1) {
|
||||
if (l) l += ','
|
||||
l += n
|
||||
}
|
||||
return l
|
||||
}
|
||||
}
|
||||
@@ -45,6 +45,7 @@
|
||||
"@tarojs/helper": "4.0.8",
|
||||
"@tarojs/plugin-framework-react": "4.0.8",
|
||||
"@tarojs/plugin-html": "^4.0.8",
|
||||
"@tarojs/plugin-http": "^4.0.9",
|
||||
"@tarojs/plugin-platform-alipay": "4.0.8",
|
||||
"@tarojs/plugin-platform-h5": "4.0.8",
|
||||
"@tarojs/plugin-platform-jd": "4.0.8",
|
||||
@@ -60,6 +61,7 @@
|
||||
"@tarojs/shared": "4.0.8",
|
||||
"@tarojs/taro": "4.0.8",
|
||||
"@tarojs/taro-rn": "^4.0.8",
|
||||
"axios": "^1.7.9",
|
||||
"babel-plugin-import": "^1.13.8",
|
||||
"expo": "~50.0.21",
|
||||
"metro-react-native-babel-preset": "^0.77.0",
|
||||
|
||||
20
pnpm-lock.yaml
generated
20
pnpm-lock.yaml
generated
@@ -32,6 +32,9 @@ importers:
|
||||
'@tarojs/plugin-html':
|
||||
specifier: ^4.0.8
|
||||
version: 4.0.8(@tarojs/helper@4.0.8)(@tarojs/runtime@4.0.8)(@tarojs/shared@4.0.8)
|
||||
'@tarojs/plugin-http':
|
||||
specifier: ^4.0.9
|
||||
version: 4.0.9(@tarojs/runtime@4.0.8)(@tarojs/shared@4.0.8)(@tarojs/taro@4.0.8(@tarojs/components@4.0.8(@tarojs/helper@4.0.8)(@types/react@18.3.18)(html-webpack-plugin@5.6.3(webpack@5.94.0(@swc/core@1.3.96)))(postcss@8.4.49)(react@18.3.1)(rollup@3.29.5)(webpack-chain@6.5.1)(webpack-dev-server@4.15.2(webpack@5.94.0(@swc/core@1.3.96)))(webpack@5.94.0(@swc/core@1.3.96)))(@tarojs/helper@4.0.8)(@tarojs/shared@4.0.8)(@types/react@18.3.18)(html-webpack-plugin@5.6.3(webpack@5.94.0(@swc/core@1.3.96)))(postcss@8.4.49)(rollup@3.29.5)(webpack-chain@6.5.1)(webpack-dev-server@4.15.2(webpack@5.94.0(@swc/core@1.3.96)))(webpack@5.94.0(@swc/core@1.3.96)))
|
||||
'@tarojs/plugin-platform-alipay':
|
||||
specifier: 4.0.8
|
||||
version: 4.0.8(@tarojs/service@4.0.8)(@tarojs/shared@4.0.8)
|
||||
@@ -77,6 +80,9 @@ importers:
|
||||
'@tarojs/taro-rn':
|
||||
specifier: ^4.0.8
|
||||
version: 4.0.8(fwvr43m7jyudw5uvcst25tacai)
|
||||
axios:
|
||||
specifier: ^1.7.9
|
||||
version: 1.7.9
|
||||
babel-plugin-import:
|
||||
specifier: ^1.13.8
|
||||
version: 1.13.8
|
||||
@@ -3279,6 +3285,14 @@ packages:
|
||||
'@tarojs/runtime': 4.0.8
|
||||
'@tarojs/shared': 4.0.8
|
||||
|
||||
'@tarojs/plugin-http@4.0.9':
|
||||
resolution: {integrity: sha512-HiIAOeW0EYrd98dTS13dzZNvlfODHXU7qfJU+eKUy+r542mfiflR2K5RYB/p3NhLnvTySA4MIP8SAKPPnjzr8w==}
|
||||
engines: {node: '>= 18'}
|
||||
peerDependencies:
|
||||
'@tarojs/runtime': 4.0.9
|
||||
'@tarojs/shared': 4.0.9
|
||||
'@tarojs/taro': 4.0.9
|
||||
|
||||
'@tarojs/plugin-mini-ci@4.0.8':
|
||||
resolution: {integrity: sha512-+HeGWYS0X+GNlv2PMzMVLJvPIJdg4ExRsVhtMtTG/5QnvNc8i/n3U6I4ZBtTyotpdhY1Lz/CoiXjS/aBOgKowg==}
|
||||
engines: {node: '>= 18'}
|
||||
@@ -15945,6 +15959,12 @@ snapshots:
|
||||
'@tarojs/runtime': 4.0.8
|
||||
'@tarojs/shared': 4.0.8
|
||||
|
||||
'@tarojs/plugin-http@4.0.9(@tarojs/runtime@4.0.8)(@tarojs/shared@4.0.8)(@tarojs/taro@4.0.8(@tarojs/components@4.0.8(@tarojs/helper@4.0.8)(@types/react@18.3.18)(html-webpack-plugin@5.6.3(webpack@5.94.0(@swc/core@1.3.96)))(postcss@8.4.49)(react@18.3.1)(rollup@3.29.5)(webpack-chain@6.5.1)(webpack-dev-server@4.15.2(webpack@5.94.0(@swc/core@1.3.96)))(webpack@5.94.0(@swc/core@1.3.96)))(@tarojs/helper@4.0.8)(@tarojs/shared@4.0.8)(@types/react@18.3.18)(html-webpack-plugin@5.6.3(webpack@5.94.0(@swc/core@1.3.96)))(postcss@8.4.49)(rollup@3.29.5)(webpack-chain@6.5.1)(webpack-dev-server@4.15.2(webpack@5.94.0(@swc/core@1.3.96)))(webpack@5.94.0(@swc/core@1.3.96)))':
|
||||
dependencies:
|
||||
'@tarojs/runtime': 4.0.8
|
||||
'@tarojs/shared': 4.0.8
|
||||
'@tarojs/taro': 4.0.8(@tarojs/components@4.0.8(@tarojs/helper@4.0.8)(@types/react@18.3.18)(html-webpack-plugin@5.6.3(webpack@5.94.0(@swc/core@1.3.96)))(postcss@8.4.49)(react@18.3.1)(rollup@3.29.5)(webpack-chain@6.5.1)(webpack-dev-server@4.15.2(webpack@5.94.0(@swc/core@1.3.96)))(webpack@5.94.0(@swc/core@1.3.96)))(@tarojs/helper@4.0.8)(@tarojs/shared@4.0.8)(@types/react@18.3.18)(html-webpack-plugin@5.6.3(webpack@5.94.0(@swc/core@1.3.96)))(postcss@8.4.49)(rollup@3.29.5)(webpack-chain@6.5.1)(webpack-dev-server@4.15.2(webpack@5.94.0(@swc/core@1.3.96)))(webpack@5.94.0(@swc/core@1.3.96))
|
||||
|
||||
'@tarojs/plugin-mini-ci@4.0.8(encoding@0.1.13)(miniprogram-ci@2.0.10(eslint@8.57.1))':
|
||||
dependencies:
|
||||
jimp: 0.22.12(encoding@0.1.13)
|
||||
|
||||
9
src/utils/axiosConfig.js
Normal file
9
src/utils/axiosConfig.js
Normal file
@@ -0,0 +1,9 @@
|
||||
export default {
|
||||
// 基地址
|
||||
baseURL: process.env.TARO_APP_API,
|
||||
// 超时时间(以毫秒为单位)
|
||||
timeout: 5000,
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
};
|
||||
@@ -1,34 +1,38 @@
|
||||
import Taro from "@tarojs/taro";
|
||||
import axios from "axios";
|
||||
import config from "./axiosConfig";
|
||||
|
||||
const request = (options) => {
|
||||
const {method, url, data} = options;
|
||||
return new Promise((resolve, reject) => {
|
||||
Taro.request({
|
||||
url: process.env.TARO_APP_API + url,
|
||||
method: method || 'GET',
|
||||
success: (res) => {
|
||||
resolve(res);
|
||||
},
|
||||
fail: (err) => {
|
||||
reject(err);
|
||||
}
|
||||
const request = axios.create(config);
|
||||
|
||||
/**
|
||||
* 请求拦截器
|
||||
*/
|
||||
request.interceptors.request.use((config) => {
|
||||
// 检查是否有 token 并添加到请求头
|
||||
// const token = null;
|
||||
// if (token) {
|
||||
// config.headers.token = token;
|
||||
// }
|
||||
return config;
|
||||
}, (error) => {
|
||||
// 处理请求错误
|
||||
console.error('请求报错:', error);
|
||||
return Promise.reject(error);
|
||||
});
|
||||
|
||||
/**
|
||||
* 响应拦截器
|
||||
*/
|
||||
request.interceptors.response.use((response) => {
|
||||
// 检查响应状态码
|
||||
if (response.status === 200) {
|
||||
return response.data;
|
||||
} else {
|
||||
throw new Error('网络接口报错');
|
||||
}
|
||||
}, (error) => {
|
||||
// 处理响应错误
|
||||
console.error('Response interceptor error:', error);
|
||||
return Promise.reject(error);
|
||||
});
|
||||
}
|
||||
|
||||
const interceptor = function (chain) {
|
||||
const requestParams = chain.requestParams
|
||||
const {method, data, url} = requestParams
|
||||
|
||||
console.table(Object.entries({ ['接口名称']: url, ['请求方式']: method, ['携带参数']: data }).map(([key, value]) => ({ Property: key, Value: value })));
|
||||
|
||||
return chain.proceed(requestParams)
|
||||
.then(res => {
|
||||
console.log(`接口返回:`, res)
|
||||
return res.data
|
||||
})
|
||||
}
|
||||
|
||||
Taro.addInterceptor(interceptor);
|
||||
|
||||
export default request;
|
||||
|
||||
Reference in New Issue
Block a user