feat: 更新首页

This commit is contained in:
eric
2022-11-13 09:43:38 +08:00
parent 571bd6e552
commit 10c881fd46
32 changed files with 386 additions and 34195 deletions

38
dist/app.js vendored
View File

@@ -1,21 +1,16 @@
"use strict";
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_antmjs_vantui_js.js");
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js.js");
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_taro-hooks_js.js");
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-OEADN3SU_js.js");
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_react-dom_js.js");
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js.js");
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-framework-react_dist_runtime_js.js");
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-TAHRAO33_js.js");
require("./prebundle/node_modules_taro_weapp_prebundle_react_jsx-runtime_js.js");
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_taro_js.js");
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js.js");
require("./prebundle/node_modules_taro_weapp_prebundle_react_jsx-runtime_js.js");
require("./prebundle/node_modules_taro_weapp_prebundle_tarojs_plugin-platform-weapp_dist_runtime_js.js");
require("./prebundle/node_modules_taro_weapp_prebundle_react_js.js");
require("./prebundle/remoteEntry.js");
require("./prebundle/node_modules_taro_weapp_prebundle_tarojs_runtime_js.js");
require("./prebundle/node_modules_taro_weapp_prebundle_react-dom_js.js");
require("./prebundle/node_modules_taro_weapp_prebundle_tarojs_taro_js.js");
require("./prebundle/remoteEntry.js");
require("./vendors");
require("./taro");
require("./runtime");
@@ -99,7 +94,7 @@ var App = /*#__PURE__*/function (_Component) {
var config = {"pages":["pages/index/index"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"}};
var config = {"pages":["pages/home/index"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"}};
_tarojs_runtime__WEBPACK_IMPORTED_MODULE_1__.window.__taroAppConfig = config
var inst = App((0,_tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2__.createReactApp)(_node_modules_babel_loader_lib_index_js_ruleSet_1_rules_5_use_0_app_ts__WEBPACK_IMPORTED_MODULE_4__["default"], react__WEBPACK_IMPORTED_MODULE_5__, (react_dom__WEBPACK_IMPORTED_MODULE_6___default()), config))
@@ -319,12 +314,33 @@ function _setPrototypeOf(o, p) {
return _setPrototypeOf(o, p);
}
/***/ }),
/***/ "./node_modules/@babel/runtime/helpers/esm/typeof.js":
/*!***********************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/esm/typeof.js ***!
\***********************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": function() { return /* binding */ _typeof; }
/* harmony export */ });
function _typeof(obj) {
"@babel/helpers - typeof";
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
return typeof obj;
} : function (obj) {
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
}, _typeof(obj);
}
/***/ })
},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
/******/ __webpack_require__.O(0, ["vendors","common"], function() { return __webpack_exec__("./src/app.ts"); });
/******/ __webpack_require__.O(0, ["common"], function() { return __webpack_exec__("./src/app.ts"); });
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ }
]);;;

2
dist/app.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/app.json vendored
View File

@@ -1 +1 @@
{"pages":["pages/index/index"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"}}
{"pages":["pages/home/index"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"}}

8
dist/base.wxml vendored
View File

@@ -53,14 +53,6 @@
</text>
</template>
<template name="tmpl_0_13">
<button size="{{xs.b(i.p18,'default')}}" type="{{i.p19}}" plain="{{xs.b(i.p12,!1)}}" disabled="{{i.p2}}" loading="{{xs.b(i.p9,!1)}}" form-type="{{i.p3}}" open-type="{{i.p11}}" hover-class="{{xs.b(i.p4,'button-hover')}}" hover-stop-propagation="{{xs.b(i.p7,!1)}}" hover-start-time="{{xs.b(i.p5,20)}}" hover-stay-time="{{xs.b(i.p6,70)}}" name="{{i.p10}}" bindtouchstart="eh" bindtouchmove="eh" bindtouchend="eh" bindtouchcancel="eh" bindlongpress="eh" lang="{{xs.b(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" 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}}">
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="{{xs.e(cid+1)}}" data="{{i:item,l:l}}" />
</block>
</button>
</template>
<template name="tmpl_0_48">
<scroll-view scroll-x="{{xs.b(i.p18,!1)}}" scroll-y="{{xs.b(i.p19,!1)}}" upper-threshold="{{xs.b(i.p21,50)}}" lower-threshold="{{xs.b(i.p6,50)}}" scroll-top="{{i.p16}}" scroll-left="{{i.p15}}" scroll-into-view="{{i.p14}}" scroll-with-animation="{{xs.b(i.p17,!1)}}" enable-back-to-top="{{xs.b(i.p2,!1)}}" 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.p3,false)}}" scroll-anchoring="{{xs.b(i.p13,false)}}" refresher-enabled="{{xs.b(i.p10,false)}}" refresher-threshold="{{xs.b(i.p11,45)}}" refresher-default-style="{{xs.b(i.p9,'black')}}" refresher-background="{{xs.b(i.p8,'#FFF')}}" refresher-triggered="{{xs.b(i.p12,false)}}" enhanced="{{xs.b(i.p4,false)}}" bounces="{{xs.b(i.p1,true)}}" show-scrollbar="{{xs.b(i.p20,true)}}" paging-enabled="{{xs.b(i.p7,false)}}" fast-deceleration="{{xs.b(i.p5,false)}}" binddragstart="eh" binddragging="eh" binddragend="eh" bindrefresherpulling="eh" bindrefresherrefresh="eh" bindrefresherrestore="eh" bindrefresherabort="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh" id="{{i.uid||i.sid}}" data-sid="{{i.sid}}">
<block wx:for="{{i.cn}}" wx:key="sid">

52
dist/pages/home/index.js vendored Normal file
View File

@@ -0,0 +1,52 @@
"use strict";
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["pages/home/index"],{
/***/ "./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/home/index.tsx":
/*!*******************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/home/index.tsx ***!
\*******************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _tarojs_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tarojs/components */ "./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "webpack/container/remote/react/jsx-runtime");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
var Home = function Home() {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_1__.View, {
children: "home"
});
};
/* harmony default export */ __webpack_exports__["default"] = (Home);
/***/ }),
/***/ "./src/pages/home/index.tsx":
/*!**********************************!*\
!*** ./src/pages/home/index.tsx ***!
\**********************************/
/***/ (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_babel_loader_lib_index_js_ruleSet_1_rules_5_use_0_index_tsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */ "./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/home/index.tsx");
var config = {};
var inst = Page((0,_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__.createPageConfig)(_node_modules_babel_loader_lib_index_js_ruleSet_1_rules_5_use_0_index_tsx__WEBPACK_IMPORTED_MODULE_1__["default"], 'pages/home/index', {root:{cn:[]}}, config || {}))
/***/ })
},
/******/ 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/home/index.tsx"); });
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ }
]);
//# sourceMappingURL=index.js.map

1
dist/pages/home/index.js.map vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"pages/home/index.js","mappings":";;;;;;;;;;;;AAAA;AACA;AAEA;AACA;AAAA;AAAA;AACA;AAEA;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sources":["webpack://myApp/._src_pages_home_index.tsx","webpack://myApp/./src/pages/home/index.tsx?e8ed"],"sourcesContent":["import { View } from \"@tarojs/components\";\nimport React, { useCallback } from \"react\";\n\nconst Home=()=>{\n return <View>home</View>\n}\n\nexport default Home","import { createPageConfig } from '@tarojs/runtime'\nimport component from \"../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx\"\nvar config = {};\n\n\nvar inst = Page(createPageConfig(component, 'pages/home/index', {root:{cn:[]}}, config || {}))\n\n\n"],"names":[],"sourceRoot":""}

1
dist/pages/home/index.json vendored Normal file
View File

@@ -0,0 +1 @@
{"usingComponents":{"comp":"../../comp"}}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
{"navigationBarTitleText":"Taro-hooks","usingComponents":{"comp":"../../comp"}}

File diff suppressed because one or more lines are too long

View File

@@ -1,38 +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_OEADN3SU_js__WEBPACK_IMPORTED_MODULE_0__.createPortal; },
/* harmony export */ "createRoot": function() { return /* reexport safe */ _chunk_OEADN3SU_js__WEBPACK_IMPORTED_MODULE_0__.createRoot; },
/* harmony export */ "default": function() { return /* binding */ react_dom_default; },
/* harmony export */ "findDOMNode": function() { return /* reexport safe */ _chunk_OEADN3SU_js__WEBPACK_IMPORTED_MODULE_0__.findDOMNode; },
/* harmony export */ "render": function() { return /* reexport safe */ _chunk_OEADN3SU_js__WEBPACK_IMPORTED_MODULE_0__.render; },
/* harmony export */ "unmountComponentAtNode": function() { return /* reexport safe */ _chunk_OEADN3SU_js__WEBPACK_IMPORTED_MODULE_0__.unmountComponentAtNode; },
/* harmony export */ "unstable_batchedUpdates": function() { return /* reexport safe */ _chunk_OEADN3SU_js__WEBPACK_IMPORTED_MODULE_0__.unstable_batchedUpdates; }
/* harmony export */ });
/* harmony import */ var _chunk_OEADN3SU_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-OEADN3SU.js */ "./node_modules/.taro/weapp/prebundle/chunk-OEADN3SU.js");
/* harmony import */ var _chunk_LNJCN3VW_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-LNJCN3VW.js */ "./node_modules/.taro/weapp/prebundle/chunk-LNJCN3VW.js");
/* harmony import */ var _chunk_VXAYXK77_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-VXAYXK77.js */ "./node_modules/.taro/weapp/prebundle/chunk-VXAYXK77.js");
/* harmony import */ var _chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chunk-BS6JQHLA.js */ "./node_modules/.taro/weapp/prebundle/chunk-BS6JQHLA.js");
/* harmony import */ var _chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./chunk-P7VEE7PG.js */ "./node_modules/.taro/weapp/prebundle/chunk-P7VEE7PG.js");
// entry:react-dom
(0,_chunk_OEADN3SU_js__WEBPACK_IMPORTED_MODULE_0__.init_react_esm)();
(0,_chunk_OEADN3SU_js__WEBPACK_IMPORTED_MODULE_0__.init_react_esm)();
var react_dom_default = _chunk_OEADN3SU_js__WEBPACK_IMPORTED_MODULE_0__.index;
/***/ })
}]);

View File

@@ -1,75 +1,5 @@
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["node_modules_taro_weapp_prebundle_react_jsx-runtime_js"],{
/***/ "./node_modules/.taro/weapp/prebundle/chunk-CLBGU7VA.js":
/*!**************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/chunk-CLBGU7VA.js ***!
\**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "require_react_jsx_runtime_production_min": function() { return /* binding */ require_react_jsx_runtime_production_min; }
/* harmony export */ });
/* harmony import */ var _chunk_LNJCN3VW_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-LNJCN3VW.js */ "./node_modules/.taro/weapp/prebundle/chunk-LNJCN3VW.js");
/* harmony import */ var _chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-P7VEE7PG.js */ "./node_modules/.taro/weapp/prebundle/chunk-P7VEE7PG.js");
// node_modules/react/cjs/react-jsx-runtime.production.min.js
var require_react_jsx_runtime_production_min = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_1__.__commonJS)({
"node_modules/react/cjs/react-jsx-runtime.production.min.js": function node_modulesReactCjsReactJsxRuntimeProductionMinJs(exports) {
"use strict";
var f = (0,_chunk_LNJCN3VW_js__WEBPACK_IMPORTED_MODULE_0__.require_react_production_min)();
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;
}
});
/**
* @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/chunk-P7VEE7PG.js":
/*!**************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/chunk-P7VEE7PG.js ***!
@@ -162,19 +92,69 @@ var __toCommonJS = function __toCommonJS(mod) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _chunk_CLBGU7VA_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-CLBGU7VA.js */ "./node_modules/.taro/weapp/prebundle/chunk-CLBGU7VA.js");
/* harmony import */ var _chunk_LNJCN3VW_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-LNJCN3VW.js */ "./node_modules/.taro/weapp/prebundle/chunk-LNJCN3VW.js");
/* harmony import */ var _chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-P7VEE7PG.js */ "./node_modules/.taro/weapp/prebundle/chunk-P7VEE7PG.js");
/* harmony import */ var _chunk_LNJCN3VW_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-LNJCN3VW.js */ "./node_modules/.taro/weapp/prebundle/chunk-LNJCN3VW.js");
/* harmony import */ var _chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-P7VEE7PG.js */ "./node_modules/.taro/weapp/prebundle/chunk-P7VEE7PG.js");
// node_modules/react/cjs/react-jsx-runtime.production.min.js
var require_react_jsx_runtime_production_min = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_1__.__commonJS)({
"node_modules/react/cjs/react-jsx-runtime.production.min.js": function node_modulesReactCjsReactJsxRuntimeProductionMinJs(exports) {
"use strict";
// entry:react_jsx-runtime
var require_react_jsx_runtime = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_2__.__commonJS)({
"entry:react_jsx-runtime": function entryReact_jsxRuntime(exports, module) {
module.exports = (0,_chunk_CLBGU7VA_js__WEBPACK_IMPORTED_MODULE_0__.require_react_jsx_runtime_production_min)();
var f = (0,_chunk_LNJCN3VW_js__WEBPACK_IMPORTED_MODULE_0__.require_react_production_min)();
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;
}
});
/* harmony default export */ __webpack_exports__["default"] = (require_react_jsx_runtime());
// entry:react_jsx-runtime
var require_react_jsx_runtime = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_1__.__commonJS)({
"entry:react_jsx-runtime": function entryReact_jsxRuntime(exports, module) {
module.exports = require_react_jsx_runtime_production_min();
}
});
/* harmony default export */ __webpack_exports__["default"] = (require_react_jsx_runtime()); /**
* @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.
*/
/***/ }),

View File

@@ -1,41 +0,0 @@
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["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_TAHRAO33_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-TAHRAO33.js */ "./node_modules/.taro/weapp/prebundle/chunk-TAHRAO33.js");
/* harmony import */ var _chunk_VXAYXK77_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-VXAYXK77.js */ "./node_modules/.taro/weapp/prebundle/chunk-VXAYXK77.js");
/* harmony import */ var _chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-BS6JQHLA.js */ "./node_modules/.taro/weapp/prebundle/chunk-BS6JQHLA.js");
/* harmony import */ var _chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chunk-P7VEE7PG.js */ "./node_modules/.taro/weapp/prebundle/chunk-P7VEE7PG.js");
// entry:@tarojs_taro
var require_tarojs_taro = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__commonJS)({
"entry:@tarojs_taro": function entryTarojs_taro(exports, module) {
module.exports = (0,_chunk_TAHRAO33_js__WEBPACK_IMPORTED_MODULE_0__.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;
/***/ })
}]);

View File

@@ -12,12 +12,6 @@ var moduleMap = {
"./react": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_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")); }; });
},
"./taro-hooks": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-TAHRAO33_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_taro-hooks_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/taro-hooks.js */ "./node_modules/.taro/weapp/prebundle/taro-hooks.js")); }; });
},
"./@antmjs/vantui": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-TAHRAO33_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-OEADN3SU_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_antmjs_vantui_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@antmjs_vantui.js */ "./node_modules/.taro/weapp/prebundle/@antmjs_vantui.js")); }; });
},
"./react/jsx-runtime": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_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")); }; });
},
@@ -31,10 +25,10 @@ var moduleMap = {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"), __webpack_require__.e("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/taro": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-TAHRAO33_js"), __webpack_require__.e("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")); }; });
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_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")); }; });
},
"./react-dom": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-OEADN3SU_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")); }; });
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"), __webpack_require__.e("vendors-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) {
@@ -68,12 +62,6 @@ var taroModuleMap = {
"./react": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react.js */ "./node_modules/.taro/weapp/prebundle/react.js")); };
},
"./taro-hooks": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/taro-hooks.js */ "./node_modules/.taro/weapp/prebundle/taro-hooks.js")); };
},
"./@antmjs/vantui": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@antmjs_vantui.js */ "./node_modules/.taro/weapp/prebundle/@antmjs_vantui.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")); };
},

File diff suppressed because it is too large Load Diff

View File

@@ -1,22 +1,21 @@
"use strict";
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_chunk-OEADN3SU_js"],{
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_react-dom_js"],{
/***/ "./node_modules/.taro/weapp/prebundle/chunk-OEADN3SU.js":
/*!**************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/chunk-OEADN3SU.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 */ "render": function() { return /* binding */ _render; },
/* harmony export */ "createRoot": function() { return /* binding */ _createRoot; },
/* harmony export */ "unstable_batchedUpdates": function() { return /* binding */ _unstable_batchedUpdates; },
/* harmony export */ "unmountComponentAtNode": function() { return /* binding */ _unmountComponentAtNode; },
/* harmony export */ "findDOMNode": function() { return /* binding */ _findDOMNode; },
/* harmony export */ "createPortal": function() { return /* binding */ _createPortal; },
/* harmony export */ "index": function() { return /* binding */ index; },
/* harmony export */ "react_esm_exports": function() { return /* binding */ react_esm_exports; },
/* harmony export */ "init_react_esm": function() { return /* binding */ init_react_esm; }
/* harmony export */ "createPortal": function() { return /* binding */ createPortal; },
/* harmony export */ "createRoot": function() { return /* binding */ createRoot; },
/* harmony export */ "default": function() { return /* binding */ react_dom_default; },
/* harmony export */ "findDOMNode": function() { return /* binding */ findDOMNode; },
/* harmony export */ "render": function() { return /* binding */ render; },
/* harmony export */ "unmountComponentAtNode": function() { return /* binding */ unmountComponentAtNode; },
/* harmony export */ "unstable_batchedUpdates": function() { return /* binding */ unstable_batchedUpdates; }
/* harmony export */ });
/* harmony import */ var _Users_eric_Desktop_citynew_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
/* harmony import */ var _Users_eric_Desktop_citynew_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass.js */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
@@ -5894,33 +5893,14 @@ var require_scheduler_production_min2 = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_
}
});
// node_modules/@tarojs/react/dist/react.esm.js
var react_esm_exports = {};
(0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__export)(react_esm_exports, {
createPortal: function createPortal() {
return _createPortal;
},
createRoot: function createRoot() {
return _createRoot;
},
default: function _default() {
return index;
},
findDOMNode: function findDOMNode() {
return _findDOMNode;
},
render: function render() {
return _render;
},
unmountComponentAtNode: function unmountComponentAtNode() {
return _unmountComponentAtNode;
},
unstable_batchedUpdates: function unstable_batchedUpdates() {
return _unstable_batchedUpdates;
}
});
(0,_chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.init_shared_esm)();
(0,_chunk_VXAYXK77_js__WEBPACK_IMPORTED_MODULE_1__.init_runtime_esm)();
var import_react_reconciler = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__toESM)(require_react_reconciler_production_min());
var scheduler = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__toESM)(require_scheduler_production_min2());
function isEventName(s) {
return s[0] === "o" && s[1] === "n";
}
var IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
function updateProps(dom, oldProps, newProps) {
var i;
for (i in oldProps) {
@@ -6011,10 +5991,138 @@ function setProperty(dom, name, value, oldValue) {
}
}
}
var now = scheduler.unstable_now;
function returnFalse() {
return false;
}
function _render(element, domContainer, cb) {
var hostConfig = {
createInstance: function createInstance(type) {
return _chunk_VXAYXK77_js__WEBPACK_IMPORTED_MODULE_1__.document$1.createElement(type);
},
createTextInstance: function createTextInstance(text) {
return _chunk_VXAYXK77_js__WEBPACK_IMPORTED_MODULE_1__.document$1.createTextNode(text);
},
getPublicInstance: function getPublicInstance(inst) {
return inst;
},
getRootHostContext: function getRootHostContext() {
return {};
},
getChildHostContext: function getChildHostContext() {
return {};
},
getCurrentEventPriority: function getCurrentEventPriority() {
return 16;
},
detachDeletedInstance: function detachDeletedInstance() {},
appendChild: function appendChild(parent, child) {
parent.appendChild(child);
},
appendInitialChild: function appendInitialChild(parent, child) {
parent.appendChild(child);
},
appendChildToContainer: function appendChildToContainer(parent, child) {
parent.appendChild(child);
},
removeChild: function removeChild(parent, child) {
parent.removeChild(child);
},
removeChildFromContainer: function removeChildFromContainer(parent, child) {
parent.removeChild(child);
},
insertBefore: function insertBefore(parent, child, refChild) {
parent.insertBefore(child, refChild);
},
insertInContainerBefore: function insertInContainerBefore(parent, child, refChild) {
parent.insertBefore(child, refChild);
},
commitTextUpdate: function commitTextUpdate(textInst, _, newText) {
textInst.nodeValue = newText;
},
finalizeInitialChildren: function finalizeInitialChildren(dom, _, props) {
updateProps(dom, {}, props);
return false;
},
prepareUpdate: function prepareUpdate() {
return _chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.EMPTY_ARR;
},
commitUpdate: function commitUpdate(dom, _payload, _type, oldProps, newProps) {
updateProps(dom, oldProps, newProps);
},
hideInstance: function hideInstance(instance) {
var style = instance.style;
style.setProperty("display", "none");
},
unhideInstance: function unhideInstance(instance, props) {
var styleProp = props.style;
var display = (styleProp === null || styleProp === void 0 ? void 0 : styleProp.hasOwnProperty("display")) ? styleProp.display : null;
display = display == null || (0,_chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.isBoolean)(display) || display === "" ? "" : ("" + display).trim();
instance.style["display"] = display;
},
clearContainer: function clearContainer(element) {
if (element.childNodes.length > 0) {
element.textContent = "";
}
},
queueMicrotask: !(0,_chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.isUndefined)(Promise) ? function (callback) {
return Promise.resolve(null).then(callback).catch(function (error) {
setTimeout(function () {
throw error;
});
});
} : setTimeout,
shouldSetTextContent: returnFalse,
prepareForCommit: function prepareForCommit() {
return null;
},
resetAfterCommit: _chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.noop,
commitMount: _chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.noop,
now: now,
cancelTimeout: clearTimeout,
scheduleTimeout: setTimeout,
preparePortalMount: _chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.noop,
noTimeout: -1,
supportsMutation: true,
supportsPersistence: false,
isPrimaryRenderer: true,
supportsHydration: false
};
var TaroReconciler = (0, import_react_reconciler.default)(hostConfig);
if (true) {
var foundDevTools = TaroReconciler.injectIntoDevTools({
bundleType: 1,
version: "18.0.0",
rendererPackageName: "taro-react"
});
if (!foundDevTools) {
console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools", "font-weight:bold");
}
}
var ContainerMap = /* @__PURE__ */new WeakMap();
var Root = /*#__PURE__*/function () {
function Root(renderer, domContainer) {
var isConcurrentRoot = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
(0,_Users_eric_Desktop_citynew_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_5__["default"])(this, Root);
this.renderer = renderer;
this.internalRoot = renderer.createContainer(domContainer, isConcurrentRoot ? 1 : 0, false, null);
}
(0,_Users_eric_Desktop_citynew_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_6__["default"])(Root, [{
key: "render",
value: function render(children, cb) {
var renderer = this.renderer,
internalRoot = this.internalRoot;
renderer.updateContainer(children, internalRoot, null, cb);
return renderer.getPublicRootInstance(internalRoot);
}
}, {
key: "unmount",
value: function unmount(cb) {
this.renderer.updateContainer(null, this.internalRoot, null, cb);
}
}]);
return Root;
}();
function render(element, domContainer, cb) {
var oldRoot = ContainerMap.get(domContainer);
if (oldRoot != null) {
return oldRoot.render(element, cb);
@@ -6023,7 +6131,7 @@ function _render(element, domContainer, cb) {
ContainerMap.set(domContainer, root);
return root.render(element, cb);
}
function _createRoot(domContainer) {
function createRoot(domContainer) {
var oldRoot = ContainerMap.get(domContainer);
if (oldRoot != null) {
return oldRoot;
@@ -6032,18 +6140,19 @@ function _createRoot(domContainer) {
ContainerMap.set(domContainer, root);
return root;
}
function _unmountComponentAtNode(dom) {
var unstable_batchedUpdates = TaroReconciler.batchedUpdates;
function unmountComponentAtNode(dom) {
(0,_chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.ensure)(dom && [1, 8, 9, 11].includes(dom.nodeType), "unmountComponentAtNode(...): Target container is not a DOM element.");
var root = ContainerMap.get(dom);
if (!root) return false;
_unstable_batchedUpdates(function () {
unstable_batchedUpdates(function () {
root.unmount(function () {
ContainerMap.delete(dom);
});
}, null);
return true;
}
function _findDOMNode(comp) {
function findDOMNode(comp) {
if (comp == null) {
return null;
}
@@ -6053,7 +6162,8 @@ function _findDOMNode(comp) {
}
return TaroReconciler.findHostInstance(comp);
}
function _createPortal(children, containerInfo, key) {
var portalType = (0,_chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.isFunction)(Symbol) && Symbol.for ? Symbol.for("react.portal") : 60106;
function createPortal(children, containerInfo, key) {
return {
$$typeof: portalType,
key: key == null ? null : String(key),
@@ -6062,179 +6172,40 @@ function _createPortal(children, containerInfo, key) {
implementation: null
};
}
var import_react_reconciler, scheduler, IS_NON_DIMENSIONAL, now, hostConfig, TaroReconciler, ContainerMap, Root, _unstable_batchedUpdates, portalType, index;
var init_react_esm = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__esm)({
"node_modules/@tarojs/react/dist/react.esm.js": function node_modulesTarojsReactDistReactEsmJs() {
(0,_chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.init_shared_esm)();
(0,_chunk_VXAYXK77_js__WEBPACK_IMPORTED_MODULE_1__.init_runtime_esm)();
import_react_reconciler = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__toESM)(require_react_reconciler_production_min());
scheduler = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__toESM)(require_scheduler_production_min2());
IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
var _scheduler = scheduler;
now = _scheduler.unstable_now;
hostConfig = {
createInstance: function createInstance(type) {
return _chunk_VXAYXK77_js__WEBPACK_IMPORTED_MODULE_1__.document$1.createElement(type);
},
createTextInstance: function createTextInstance(text) {
return _chunk_VXAYXK77_js__WEBPACK_IMPORTED_MODULE_1__.document$1.createTextNode(text);
},
getPublicInstance: function getPublicInstance(inst) {
return inst;
},
getRootHostContext: function getRootHostContext() {
return {};
},
getChildHostContext: function getChildHostContext() {
return {};
},
getCurrentEventPriority: function getCurrentEventPriority() {
return 16;
},
detachDeletedInstance: function detachDeletedInstance() {},
appendChild: function appendChild(parent, child) {
parent.appendChild(child);
},
appendInitialChild: function appendInitialChild(parent, child) {
parent.appendChild(child);
},
appendChildToContainer: function appendChildToContainer(parent, child) {
parent.appendChild(child);
},
removeChild: function removeChild(parent, child) {
parent.removeChild(child);
},
removeChildFromContainer: function removeChildFromContainer(parent, child) {
parent.removeChild(child);
},
insertBefore: function insertBefore(parent, child, refChild) {
parent.insertBefore(child, refChild);
},
insertInContainerBefore: function insertInContainerBefore(parent, child, refChild) {
parent.insertBefore(child, refChild);
},
commitTextUpdate: function commitTextUpdate(textInst, _, newText) {
textInst.nodeValue = newText;
},
finalizeInitialChildren: function finalizeInitialChildren(dom, _, props) {
updateProps(dom, {}, props);
return false;
},
prepareUpdate: function prepareUpdate() {
return _chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.EMPTY_ARR;
},
commitUpdate: function commitUpdate(dom, _payload, _type, oldProps, newProps) {
updateProps(dom, oldProps, newProps);
},
hideInstance: function hideInstance(instance) {
var style = instance.style;
style.setProperty("display", "none");
},
unhideInstance: function unhideInstance(instance, props) {
var styleProp = props.style;
var display = (styleProp === null || styleProp === void 0 ? void 0 : styleProp.hasOwnProperty("display")) ? styleProp.display : null;
display = display == null || (0,_chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.isBoolean)(display) || display === "" ? "" : ("" + display).trim();
instance.style["display"] = display;
},
clearContainer: function clearContainer(element) {
if (element.childNodes.length > 0) {
element.textContent = "";
}
},
queueMicrotask: !(0,_chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.isUndefined)(Promise) ? function (callback) {
return Promise.resolve(null).then(callback).catch(function (error) {
setTimeout(function () {
throw error;
});
});
} : setTimeout,
shouldSetTextContent: returnFalse,
prepareForCommit: function prepareForCommit() {
return null;
},
resetAfterCommit: _chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.noop,
commitMount: _chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.noop,
now: now,
cancelTimeout: clearTimeout,
scheduleTimeout: setTimeout,
preparePortalMount: _chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.noop,
noTimeout: -1,
supportsMutation: true,
supportsPersistence: false,
isPrimaryRenderer: true,
supportsHydration: false
};
TaroReconciler = (0, import_react_reconciler.default)(hostConfig);
if (true) {
var foundDevTools = TaroReconciler.injectIntoDevTools({
bundleType: 1,
version: "18.0.0",
rendererPackageName: "taro-react"
});
if (!foundDevTools) {
console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools", "font-weight:bold");
}
}
ContainerMap = /* @__PURE__ */new WeakMap();
Root = /*#__PURE__*/function () {
function Root(renderer, domContainer) {
var isConcurrentRoot = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
(0,_Users_eric_Desktop_citynew_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_5__["default"])(this, Root);
this.renderer = renderer;
this.internalRoot = renderer.createContainer(domContainer, isConcurrentRoot ? 1 : 0, false, null);
}
(0,_Users_eric_Desktop_citynew_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_6__["default"])(Root, [{
key: "render",
value: function render(children, cb) {
var renderer = this.renderer,
internalRoot = this.internalRoot;
renderer.updateContainer(children, internalRoot, null, cb);
return renderer.getPublicRootInstance(internalRoot);
}
}, {
key: "unmount",
value: function unmount(cb) {
this.renderer.updateContainer(null, this.internalRoot, null, cb);
}
}]);
return Root;
}();
_unstable_batchedUpdates = TaroReconciler.batchedUpdates;
portalType = (0,_chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_2__.isFunction)(Symbol) && Symbol.for ? Symbol.for("react.portal") : 60106;
index = {
render: _render,
createRoot: _createRoot,
unstable_batchedUpdates: _unstable_batchedUpdates,
unmountComponentAtNode: _unmountComponentAtNode,
findDOMNode: _findDOMNode,
createPortal: _createPortal
};
}
});
var index = {
render: render,
createRoot: createRoot,
unstable_batchedUpdates: unstable_batchedUpdates,
unmountComponentAtNode: unmountComponentAtNode,
findDOMNode: findDOMNode,
createPortal: createPortal
};
// entry:react-dom
var react_dom_default = index;
/**
* @license React
* react-reconciler.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.
*/ /**
* @license React
* scheduler.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.
*/ /** @license React v0.20.2
* scheduler.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.
*/
* @license React
* react-reconciler.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.
*/ /**
* @license React
* scheduler.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.
*/ /** @license React v0.20.2
* scheduler.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.
*/
/***/ })

File diff suppressed because it is too large Load Diff

View File

@@ -1,29 +1,13 @@
"use strict";
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_chunk-TAHRAO33_js"],{
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_tarojs_taro_js"],{
/***/ "./node_modules/.taro/weapp/prebundle/chunk-TAHRAO33.js":
/*!**************************************************************!*\
!*** ./node_modules/.taro/weapp/prebundle/chunk-TAHRAO33.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__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "_typeof": function() { return /* binding */ _typeof; },
/* harmony export */ "typeof_exports": function() { return /* binding */ typeof_exports; },
/* harmony export */ "init_typeof": function() { return /* binding */ init_typeof; },
/* harmony export */ "_defineProperty": function() { return /* binding */ _defineProperty; },
/* harmony export */ "defineProperty_exports": function() { return /* binding */ defineProperty_exports; },
/* harmony export */ "init_defineProperty": function() { return /* binding */ init_defineProperty; },
/* harmony export */ "_objectSpread2": function() { return /* binding */ _objectSpread2; },
/* harmony export */ "init_objectSpread2": function() { return /* binding */ init_objectSpread2; },
/* harmony export */ "_classCallCheck": function() { return /* binding */ _classCallCheck; },
/* harmony export */ "classCallCheck_exports": function() { return /* binding */ classCallCheck_exports; },
/* harmony export */ "init_classCallCheck": function() { return /* binding */ init_classCallCheck; },
/* harmony export */ "_createClass": function() { return /* binding */ _createClass; },
/* harmony export */ "createClass_exports": function() { return /* binding */ createClass_exports; },
/* harmony export */ "init_createClass": function() { return /* binding */ init_createClass; },
/* harmony export */ "require_taro": function() { return /* binding */ require_taro; }
/* harmony export */ });
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _chunk_VXAYXK77_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-VXAYXK77.js */ "./node_modules/.taro/weapp/prebundle/chunk-VXAYXK77.js");
/* harmony import */ var _chunk_BS6JQHLA_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-BS6JQHLA.js */ "./node_modules/.taro/weapp/prebundle/chunk-BS6JQHLA.js");
/* harmony import */ var _chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-P7VEE7PG.js */ "./node_modules/.taro/weapp/prebundle/chunk-P7VEE7PG.js");
@@ -31,12 +15,6 @@
// node_modules/@babel/runtime/helpers/esm/typeof.js
var typeof_exports = {};
(0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_2__.__export)(typeof_exports, {
default: function _default() {
return _typeof;
}
});
function _typeof(obj) {
"@babel/helpers - typeof";
@@ -50,12 +28,6 @@ var init_typeof = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_2__.__esm)({
"node_modules/@babel/runtime/helpers/esm/typeof.js": function node_modulesBabelRuntimeHelpersEsmTypeofJs() {}
});
// node_modules/@babel/runtime/helpers/esm/defineProperty.js
var defineProperty_exports = {};
(0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_2__.__export)(defineProperty_exports, {
default: function _default() {
return _defineProperty;
}
});
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
@@ -100,12 +72,6 @@ var init_objectSpread2 = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_2__.__es
}
});
// node_modules/@babel/runtime/helpers/esm/classCallCheck.js
var classCallCheck_exports = {};
(0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_2__.__export)(classCallCheck_exports, {
default: function _default() {
return _classCallCheck;
}
});
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
@@ -115,12 +81,6 @@ var init_classCallCheck = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_2__.__e
"node_modules/@babel/runtime/helpers/esm/classCallCheck.js": function node_modulesBabelRuntimeHelpersEsmClassCallCheckJs() {}
});
// node_modules/@babel/runtime/helpers/esm/createClass.js
var createClass_exports = {};
(0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_2__.__export)(createClass_exports, {
default: function _default() {
return _createClass;
}
});
function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
@@ -439,7 +399,25 @@ var require_taro = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_2__.__commonJS
module.exports.default = module.exports;
}
});
// entry:@tarojs_taro
var require_tarojs_taro = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_2__.__commonJS)({
"entry:@tarojs_taro": function entryTarojs_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;
/***/ })

View File

@@ -1,7 +0,0 @@
{
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "myApp",
"setting": {
"compileHotReLoad": true
}
}

28
dist/runtime.js vendored
View File

@@ -199,15 +199,15 @@
/******/ "app": [
/******/ "webpack/container/remote/@tarojs/plugin-platform-weapp/dist/runtime",
/******/ "webpack/container/remote/@tarojs/plugin-framework-react/dist/runtime",
/******/ "webpack/container/remote/@tarojs/taro",
/******/ "webpack/container/remote/react",
/******/ "webpack/container/remote/react-dom"
/******/ ],
/******/ "pages/index/index": [
/******/ "pages/home/index": [
/******/ "webpack/container/remote/react/jsx-runtime"
/******/ ],
/******/ "common": [
/******/ "webpack/container/remote/@tarojs/runtime",
/******/ "webpack/container/remote/@tarojs/taro",
/******/ "webpack/container/remote/react"
/******/ "webpack/container/remote/@tarojs/runtime"
/******/ ]
/******/ };
/******/ var idToExternalAndNameMapping = {
@@ -221,6 +221,16 @@
/******/ "./@tarojs/plugin-framework-react/dist/runtime",
/******/ null
/******/ ],
/******/ "webpack/container/remote/@tarojs/taro": [
/******/ "default",
/******/ "./@tarojs/taro",
/******/ null
/******/ ],
/******/ "webpack/container/remote/react": [
/******/ "default",
/******/ "./react",
/******/ null
/******/ ],
/******/ "webpack/container/remote/react-dom": [
/******/ "default",
/******/ "./react-dom",
@@ -235,16 +245,6 @@
/******/ "default",
/******/ "./@tarojs/runtime",
/******/ null
/******/ ],
/******/ "webpack/container/remote/@tarojs/taro": [
/******/ "default",
/******/ "./@tarojs/taro",
/******/ null
/******/ ],
/******/ "webpack/container/remote/react": [
/******/ "default",
/******/ "./react",
/******/ null
/******/ ]
/******/ };
/******/ __webpack_require__.taro = function(get) {

2
dist/runtime.js.map vendored

File diff suppressed because one or more lines are too long

5
dist/taro.js vendored
View File

@@ -8,12 +8,9 @@
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "Button": function() { return /* binding */ Button; },
/* harmony export */ "Image": function() { return /* binding */ Image; },
/* harmony export */ "Text": function() { return /* binding */ Text; },
/* harmony export */ "View": function() { return /* binding */ View; }
/* harmony export */ });
/* unused harmony exports Ad, AdCustom, Audio, Block, Camera, Canvas, Checkbox, CheckboxGroup, CoverImage, CoverView, CustomWrapper, Editor, Form, FunctionalPageNavigator, Icon, Input, KeyboardAccessory, Label, LivePlayer, LivePusher, Map, MatchMedia, MovableArea, MovableView, NativeSlot, NavigationBar, Navigator, OfficialAccount, OpenData, PageContainer, PageMeta, Picker, PickerView, PickerViewColumn, Progress, Radio, RadioGroup, RichText, RootPortal, ScrollView, ShareElement, Slider, Slot, Swiper, SwiperItem, Switch, Textarea, Video, VoipRoom, WebView */
/* unused harmony exports Ad, AdCustom, Audio, Block, Button, Camera, Canvas, Checkbox, CheckboxGroup, CoverImage, CoverView, CustomWrapper, Editor, Form, FunctionalPageNavigator, Icon, Image, Input, KeyboardAccessory, Label, LivePlayer, LivePusher, Map, MatchMedia, MovableArea, MovableView, NativeSlot, NavigationBar, Navigator, OfficialAccount, OpenData, PageContainer, PageMeta, Picker, PickerView, PickerViewColumn, Progress, Radio, RadioGroup, RichText, RootPortal, ScrollView, ShareElement, Slider, Slot, Swiper, SwiperItem, Switch, Text, Textarea, Video, VoipRoom, WebView */
var View = 'view';
var Icon = 'icon';
var Progress = 'progress';

2
dist/taro.js.map vendored
View File

@@ -1 +1 @@
{"version":3,"file":"taro.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA","sources":["webpack://myApp/.._src_components-react.ts","webpack://myApp/._node_modules_@tarojs_webpack5-runner_dist_template_comp.js","webpack://myApp/.._.._src_template_custom-wrapper.ts"],"sourcesContent":["// For React.createElement's type\nexport * from '@tarojs/components/mini'\nexport const Editor = 'editor'\nexport const MatchMedia = 'match-media'\nexport const FunctionalPageNavigator = 'functional-page-navigator'\nexport const LivePusher = 'live-pusher'\nexport const OfficialAccount = 'official-account'\nexport const OpenData = 'open-data'\nexport const NavigationBar = 'navigation-bar'\nexport const PageMeta = 'page-meta'\nexport const VoipRoom = 'voip-room'\nexport const AdCustom = 'ad-custom'\nexport const PageContainer = 'page-container'\nexport const ShareElement = 'share-element'\nexport const KeyboardAccessory = 'keyboard-accessory'\nexport const RootPortal = 'root-portal'\n","/* eslint-disable no-undef */\nimport { createRecursiveComponentConfig } from '@tarojs/runtime'\n// @ts-ignore\nComponent(createRecursiveComponentConfig())\n"],"names":[],"sourceRoot":""}
{"version":3,"file":"taro.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA","sources":["webpack://myApp/.._src_components-react.ts","webpack://myApp/._node_modules_@tarojs_webpack5-runner_dist_template_comp.js","webpack://myApp/.._.._src_template_custom-wrapper.ts"],"sourcesContent":["// For React.createElement's type\nexport * from '@tarojs/components/mini'\nexport const Editor = 'editor'\nexport const MatchMedia = 'match-media'\nexport const FunctionalPageNavigator = 'functional-page-navigator'\nexport const LivePusher = 'live-pusher'\nexport const OfficialAccount = 'official-account'\nexport const OpenData = 'open-data'\nexport const NavigationBar = 'navigation-bar'\nexport const PageMeta = 'page-meta'\nexport const VoipRoom = 'voip-room'\nexport const AdCustom = 'ad-custom'\nexport const PageContainer = 'page-container'\nexport const ShareElement = 'share-element'\nexport const KeyboardAccessory = 'keyboard-accessory'\nexport const RootPortal = 'root-portal'\n","/* eslint-disable no-undef */\nimport { createRecursiveComponentConfig } from '@tarojs/runtime'\n// @ts-ignore\nComponent(createRecursiveComponentConfig())\n"],"names":[],"sourceRoot":""}

26
dist/vendors.js vendored
View File

@@ -1,26 +0,0 @@
"use strict";
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors"],{
/***/ "./node_modules/@babel/runtime/helpers/esm/typeof.js":
/*!***********************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/esm/typeof.js ***!
\***********************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": function() { return /* binding */ _typeof; }
/* harmony export */ });
function _typeof(obj) {
"@babel/helpers - typeof";
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
return typeof obj;
} : function (obj) {
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
}, _typeof(obj);
}
/***/ })
}]);
//# sourceMappingURL=vendors.js.map

1
dist/vendors.js.map vendored
View File

@@ -1 +0,0 @@
{"version":3,"file":"vendors.js","mappings":";;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sources":["webpack://myApp/._node_modules_@babel_runtime_helpers_esm_typeof.js"],"sourcesContent":["export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}"],"names":[],"sourceRoot":""}

View File

@@ -2,7 +2,7 @@
"miniprogramRoot": "dist/",
"projectname": "myApp",
"description": "city",
"appid": "touristappid",
"appid": "wx2b2ec2ba5ee694bc",
"setting": {
"urlCheck": true,
"es6": false,

View File

@@ -1,5 +1,9 @@
export default {
pages: ["pages/index/index"],
pages: [
// "pages/index/index",
"pages/home/index"
],
window: {
backgroundTextStyle: "light",
navigationBarBackgroundColor: "#fff",

View File

8
src/pages/home/index.tsx Normal file
View File

@@ -0,0 +1,8 @@
import { View } from "@tarojs/components";
import React, { useCallback } from "react";
const Home=()=>{
return <View>home</View>
}
export default Home