This commit is contained in:
2024-12-19 09:00:30 +08:00
parent 80226cc657
commit db5c4b08ff
19 changed files with 1592 additions and 108 deletions

View File

@@ -7,5 +7,17 @@ module.exports = {
ts: false, ts: false,
compiler: 'webpack5', compiler: 'webpack5',
}] }]
],
plugins: [
[
"import",
{
"libraryName": "@nutui/nutui-react-taro",
"libraryDirectory": "dist/esm",
"style": 'css',
"camel2DashComponentName": false
},
'nutui-react-taro'
]
] ]
} }

View File

@@ -1,4 +1,4 @@
import { UnifiedWebpackPluginV5 } from 'weapp-tailwindcss/webpack' import {UnifiedWebpackPluginV5} from 'weapp-tailwindcss/webpack'
import {defineConfig} from '@tarojs/cli' import {defineConfig} from '@tarojs/cli'
import devConfig from './dev' import devConfig from './dev'
@@ -9,25 +9,37 @@ export default defineConfig(async (merge, {command, mode}) => {
const baseConfig = { const baseConfig = {
projectName: 'taro-template', projectName: 'taro-template',
date: '2024-12-18', date: '2024-12-18',
designWidth: 750, designWidth(input) {
// 配置 NutUI 375 尺寸
if (input?.file?.replace(/\\+/g, '/').indexOf('@nutui') > -1) {
return 375
}
// 全局使用 Taro 默认的 750 尺寸
return 750
},
deviceRatio: { deviceRatio: {
640: 2.34 / 2, 640: 2.34 / 2,
750: 1, 750: 1,
375: 2, 828: 1.81 / 2,
828: 1.81 / 2 375: 2 / 1
}, },
sourceRoot: 'src', sourceRoot: 'src',
outputRoot: 'dist', outputRoot: 'dist',
plugins: [], plugins: ['@tarojs/plugin-html'],
defineConstants: {}, defineConstants: {},
copy: { copy: {
patterns: [], patterns: [],
options: {} options: {}
}, },
framework: 'react', framework: 'react',
compiler: 'webpack5', compiler: {
type: 'webpack5',
prebundle: {
exclude: ['@nutui/nutui-react-taro', '@nutui/icons-react-taro']
}
},
cache: { cache: {
enable: false // Webpack 持久化缓存配置建议开启。默认配置请参考https://docs.taro.zone/docs/config-detail#cache enable: true // Webpack 持久化缓存配置建议开启。默认配置请参考https://docs.taro.zone/docs/config-detail#cache
}, },
mini: { mini: {
postcss: { postcss: {

42
dist/app.js vendored
View File

@@ -9,6 +9,7 @@ require("./prebundle/vendors-node_modules_taro_weapp_prebundle_redux-logger_js.j
require("./prebundle/vendors-node_modules_taro_weapp_prebundle_redux_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/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/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/vendors-node_modules_taro_weapp_prebundle_tarojs_taro_js.js");
require("./prebundle/remoteEntry.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_jsx-runtime_js.js");
@@ -67,17 +68,20 @@ class App extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
/* 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__ = __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_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_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tarojs/runtime */ "webpack/container/remote/@tarojs/runtime"); /* 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_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_1__); /* 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_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @tarojs/plugin-framework-react/dist/runtime */ "webpack/container/remote/@tarojs/plugin-framework-react/dist/runtime"); /* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @tarojs/runtime */ "webpack/container/remote/@tarojs/runtime");
/* harmony import */ var _tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @tarojs/taro */ "webpack/container/remote/@tarojs/taro"); /* 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_taro__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tarojs_taro__WEBPACK_IMPORTED_MODULE_3__); /* 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 _node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_91_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_app_app_jsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !!../node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.91.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.91.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=app!./src/app.jsx"); /* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @tarojs/taro */ "webpack/container/remote/@tarojs/taro");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "webpack/container/remote/react"); /* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_tarojs_taro__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var _node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_91_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.91.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.91.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=app!./src/app.jsx");
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react-dom */ "webpack/container/remote/react-dom"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_6__); /* 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__);
@@ -90,11 +94,19 @@ class App extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
var config = {"pages":["pages/home/index","pages/index/index"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"},"lazyCodeLoading":"requiredComponents"}; 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_1__.window.__taroAppConfig = config _tarojs_runtime__WEBPACK_IMPORTED_MODULE_2__.window.__taroAppConfig = config
var inst = App((0,_tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2__.createReactApp)(_node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_91_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_app_app_jsx__WEBPACK_IMPORTED_MODULE_4__["default"], react__WEBPACK_IMPORTED_MODULE_5__, (react_dom__WEBPACK_IMPORTED_MODULE_6___default()), 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_91_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_3__.initPxTransform)({ ;(0,_tarojs_taro__WEBPACK_IMPORTED_MODULE_4__.initPxTransform)({
designWidth: 750, 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}, deviceRatio: {"375":2,"640":1.17,"750":1,"828":0.905},
baseFontSize: 20, baseFontSize: 20,
unitPrecision: undefined, unitPrecision: undefined,

2
dist/app.js.map vendored
View File

@@ -1 +1 @@
{"version":3,"file":"app.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACrBA;AAEA;AACA;AACA;AAEA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACrBA;AACA;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AAEA;AAEA;AAAA;AAIA;AAIA;AACA;AACA;AAEA;AAEA;AACA;AAEA;AACA;AACA;AACA","sources":["webpack://taro-template/._src_app.jsx","webpack://taro-template/./src/app.jsx?b80d","webpack://taro-template/._src_reducers_counter.js","webpack://taro-template/._src_reducers_index.js","webpack://taro-template/._src_store_index.js"],"sourcesContent":["import { Component } from 'react';\nimport { Provider } from 'react-redux';\nimport configStore from './store';\nimport './app.scss';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst store = configStore();\nclass App extends Component {\n componentDidMount() {}\n componentDidShow() {}\n componentDidHide() {}\n\n // 在 App 类中的 render() 函数没有实际作用\n // 请勿修改此函数\n render() {\n return /*#__PURE__*/_jsx(Provider, {\n store: store,\n children: this.props.children\n });\n }\n}\nexport default App;","import '@tarojs/plugin-platform-weapp/dist/runtime'\n\nimport { window } from '@tarojs/runtime'\nimport { createReactApp } from '@tarojs/plugin-framework-react/dist/runtime'\nimport { initPxTransform } from '@tarojs/taro'\n\nimport component from \"!!../node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.91.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=app!./app.jsx\"\n\nimport * as React from 'react'\nimport ReactDOM from 'react-dom'\n\nvar config = {\"pages\":[\"pages/home/index\",\"pages/index/index\"],\"window\":{\"backgroundTextStyle\":\"light\",\"navigationBarBackgroundColor\":\"#fff\",\"navigationBarTitleText\":\"WeChat\",\"navigationBarTextStyle\":\"black\"},\"lazyCodeLoading\":\"requiredComponents\"};\nwindow.__taroAppConfig = config\nvar inst = App(createReactApp(component, React, ReactDOM, config))\n\ninitPxTransform({\n designWidth: 750,\n deviceRatio: {\"375\":2,\"640\":1.17,\"750\":1,\"828\":0.905},\n baseFontSize: 20,\n unitPrecision: undefined,\n targetUnit: undefined\n})\n","import { ADD, MINUS } from '../constants/counter'\n\nconst INITIAL_STATE = {\n num: 0\n}\n\nexport default function counter (state = INITIAL_STATE, action) {\n switch (action.type) {\n case ADD:\n return {\n ...state,\n num: state.num + 1\n }\n case MINUS:\n return {\n ...state,\n num: state.num - 1\n }\n default:\n return state\n }\n}\n","import { combineReducers } from 'redux'\nimport counter from './counter'\n\nexport default combineReducers({\n counter\n})\n","import { legacy_createStore as createStore, applyMiddleware, compose } from 'redux'\nimport thunkMiddleware from 'redux-thunk'\nimport logger from 'redux-logger'\nimport rootReducer from '../reducers'\n\nconst composeEnhancers = typeof window === 'object' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__\n ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({\n // Specify extensions options like name, actionsBlacklist, actionsCreators, serialize...\n })\n : compose\n\nconst middlewares = [\n thunkMiddleware\n]\n\nif (process.env.NODE_ENV === 'development') {\n middlewares.push(logger)\n}\n\nconst enhancer = composeEnhancers(\n applyMiddleware(...middlewares),\n // other store enhancers if any\n)\n\nexport default function configStore () {\n const store = createStore(rootReducer, enhancer)\n return store\n}\n"],"names":[],"sourceRoot":""} {"version":3,"sources":[""],"names":[],"mappings":"AAAA;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"}

59
dist/app.wxss vendored
View File

@@ -1,65 +1,6 @@
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/.pnpm/css-loader@7.1.2_webpack@5.91.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.91.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.91.0_@swc+core@1.3.96_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/app.scss ***! !*** css ./node_modules/.pnpm/css-loader@7.1.2_webpack@5.91.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.91.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.91.0_@swc+core@1.3.96_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/app.scss ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
::before,::after {
--tw-content: ""}
view,text,::before,::after {
--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:
;
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: currentColor}
::backdrop { ::backdrop {
--tw-border-spacing-x: 0; --tw-border-spacing-x: 0;
--tw-border-spacing-y: 0; --tw-border-spacing-y: 0;

2
dist/common.js.map vendored
View File

@@ -1 +1 @@
{"version":3,"file":"common.js","mappings":";;;;;;;;;;;;;AAAA;AACA","sources":["webpack://taro-template/._src_constants_counter.js"],"sourcesContent":["export const ADD = 'ADD'\nexport const MINUS = 'MINUS'\n"],"names":[],"sourceRoot":""} {"version":3,"sources":[""],"names":[],"mappings":"AAAA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA"}

View File

@@ -1,4 +1,3 @@
"use strict";
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["pages/home/index"],{ (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["pages/home/index"],{
/***/ "./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.91.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/home/index!./src/pages/home/index.jsx": /***/ "./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.91.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/home/index!./src/pages/home/index.jsx":
@@ -7,27 +6,33 @@
\********************************************************************************************************************************************************************************************/ \********************************************************************************************************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/container/remote/react"); "use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _nutui_nutui_react_taro_dist_esm_Button_style_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @nutui/nutui-react-taro/dist/esm/Button/style/css */ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/Button/style/css.js");
/* harmony import */ var _tarojs_components__WEBPACK_IMPORTED_MODULE_3__ = __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 _nutui_nutui_react_taro_dist_esm_Button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @nutui/nutui-react-taro/dist/esm/Button */ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/button.taro-CixO32Hw.js");
/* harmony import */ var _api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../api */ "./src/api/index.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
/* 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__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__); /* 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 _api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../api */ "./src/api/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__);
class Home extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
class Home extends react__WEBPACK_IMPORTED_MODULE_1__.Component {
async sendMsg() { async sendMsg() {
await _api__WEBPACK_IMPORTED_MODULE_1__["default"].system.getBaidu(); await _api__WEBPACK_IMPORTED_MODULE_2__["default"].system.getBaidu();
} }
render() { render() {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_tarojs_components__WEBPACK_IMPORTED_MODULE_3__.View, { return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.View, {
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_3__.View, { children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_4__.View, {
class: "text-_red_", class: "text-_red_",
children: "123456" children: "123456"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_3__.Button, { }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_nutui_nutui_react_taro_dist_esm_Button__WEBPACK_IMPORTED_MODULE_5__.B, {
type: "info",
onClick: this.sendMsg, onClick: this.sendMsg,
children: "\u53D1\u9001" children: "\u53D1\u9001"
})] })]
@@ -36,6 +41,501 @@ class Home extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
} }
/* harmony default export */ __webpack_exports__["default"] = (Home); /* harmony default export */ __webpack_exports__["default"] = (Home);
/***/ }),
/***/ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/Loading.js":
/*!************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/Loading.js ***!
\************************************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": function() { return /* binding */ y; }
/* harmony export */ });
/* 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 _IconTemplate_b29ebbb8_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./IconTemplate-b29ebbb8.mjs */ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/IconTemplate-b29ebbb8.mjs");
const y = D => {
const M = {
..._IconTemplate_b29ebbb8_mjs__WEBPACK_IMPORTED_MODULE_1__.d,
...D
};
return /* @__PURE__ */react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_IconTemplate_b29ebbb8_mjs__WEBPACK_IMPORTED_MODULE_1__.I, {
...M,
name: M.name || "Loading",
svg64: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGZpbGw9InVuZGVmaW5lZCIgZD0iTTUxMiA3My4xNGE0My44OSA0My44OSAwIDAgMSA0My44OSA0My44OXYxMTguNDlhNDMuODkgNDMuODkgMCAwIDEtODcuNzggMFYxMTcuMDNBNDMuODkgNDMuODkgMCAwIDEgNTEyIDczLjE0TTIwMS42NSAyMDEuNjVhNDMuODkgNDMuODkgMCAwIDEgNjIuMSAwbDgzLjY4IDgzLjgzYTQzLjg5IDQzLjg5IDAgMSAxLTYyLjAzIDYyLjAybC04My43NS04My43NWE0My44OSA0My44OSAwIDAgMSAwLTYyLjFtNjIwLjcgMGE0My44OSA0My44OSAwIDAgMSAwIDYyLjFsLTgzLjgzIDgzLjY4YTQzLjg5IDQzLjg5IDAgMSAxLTYyLjAyLTYyLjAzbDgzLjc1LTgzLjgyYTQzLjg5IDQzLjg5IDAgMCAxIDYyLjEgMHpNNzMuMTQgNTEyYTQzLjg5IDQzLjg5IDAgMCAxIDQzLjg5LTQzLjg5aDExOC40OWE0My44OSA0My44OSAwIDAgMSAwIDg3Ljc4SDExNy4wM0E0My44OSA0My44OSAwIDAgMSA3My4xNCA1MTJtNjcxLjQ1IDBhNDMuODkgNDMuODkgMCAwIDEgNDMuODktNDMuODloMTE4LjQ5YTQzLjg5IDQzLjg5IDAgMSAxIDAgODcuNzhINzg4LjQ4QTQzLjg5IDQzLjg5IDAgMCAxIDc0NC41OSA1MTJNMzQ3LjUgNjc2LjVhNDMuODkgNDMuODkgMCAwIDEgMCA2Mi4wMmwtODMuNzUgODMuODNhNDMuODkgNDMuODkgMCAxIDEtNjIuMS02Mi4xbDgzLjgzLTgzLjY4YTQzLjg5IDQzLjg5IDAgMCAxIDYyLjAyIDB6bTMyOSAwYTQzLjg5IDQzLjg5IDAgMCAxIDYyLjAyIDBsODMuODMgODMuNzVhNDMuODkgNDMuODkgMCAxIDEtNjIuMSA2Mi4xbC04My42OC04My44M2E0My44OSA0My44OSAwIDAgMSAwLTYyLjAyek01MTIgNzQ0LjU5YTQzLjg5IDQzLjg5IDAgMCAxIDQzLjg5IDQzLjg5djExOC40OWE0My44OSA0My44OSAwIDEgMS04Ny43OCAwVjc4OC40OEE0My44OSA0My44OSAwIDAgMSA1MTIgNzQ0LjU5Ii8+PC9zdmc+"
});
};
/***/ }),
/***/ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/internal.js":
/*!*************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/internal.js ***!
\*************************************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ globalConfig: function() { return /* binding */ n; }
/* harmony export */ });
const n = {
useSvg: !0,
classPrefix: "nut-icon",
tag: "i",
fontClassName: "nutui-iconfont"
};
/***/ }),
/***/ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/index.es.js":
/*!*******************************************************************************************************************!*\
!*** ./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/index.es.js ***!
\*******************************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ Loading: function() { return /* reexport safe */ _icons_Loading_js__WEBPACK_IMPORTED_MODULE_0__["default"]; }
/* harmony export */ });
/* harmony import */ var _icons_Loading_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./icons/Loading.js */ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/Loading.js");
/* harmony import */ var _style_icon_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../style_icon.css */ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/style_icon.css");
/** 此文件由 script generate 脚本生成 */
/***/ }),
/***/ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/Button/style/css.js":
/*!************************************************************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/Button/style/css.js ***!
\************************************************************************************************************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _style_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style.css */ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/Button/style/style.css");
/***/ }),
/***/ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/button.taro-CixO32Hw.js":
/*!****************************************************************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/button.taro-CixO32Hw.js ***!
\****************************************************************************************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ B: function() { return /* binding */ Button; }
/* harmony export */ });
/* harmony import */ var _tslib_es6_iWu3F_1J_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./tslib.es6-iWu3F_1J.js */ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/tslib.es6-iWu3F_1J.js");
/* 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 classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js");
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _nutui_icons_react_taro__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @nutui/icons-react-taro */ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/index.es.js");
/* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @tarojs/taro */ "webpack/container/remote/@tarojs/taro");
/* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tarojs_taro__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _typings_DV9RBfhj_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./typings-DV9RBfhj.js */ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/typings-DV9RBfhj.js");
const prefixCls = "nut-button";
const defaultProps = Object.assign(Object.assign({}, _typings_DV9RBfhj_js__WEBPACK_IMPORTED_MODULE_4__.C), {
color: "",
type: "default",
size: "normal",
shape: "round",
fill: "outline",
loading: false,
disabled: false,
block: false,
icon: null,
rightIcon: null,
onClick: e => {}
});
const Button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef((props, ref) => {
const _a = Object.assign(Object.assign({}, defaultProps), props),
{
color,
shape,
fill,
loading,
disabled,
type,
size,
block,
icon,
rightIcon,
children,
className,
style,
nativeType,
onClick
} = _a,
rest = (0,_tslib_es6_iWu3F_1J_js__WEBPACK_IMPORTED_MODULE_5__._)(_a, ["color", "shape", "fill", "loading", "disabled", "type", "size", "block", "icon", "rightIcon", "children", "className", "style", "nativeType", "onClick"]);
const getStyle = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(() => {
const style2 = {};
if (color) {
if (props.fill === "outline" || props.fill === "dashed") {
style2.color = color;
if (!(color === null || color === void 0 ? void 0 : color.includes("gradient"))) {
style2.borderColor = color;
}
} else {
style2.color = "#fff";
style2.background = color;
style2.borderColor = "transparent";
}
}
return style2;
}, [color, props.fill]);
const handleClick = e => {
if (!loading && !disabled && onClick) {
onClick(e);
}
};
if ((0,_tarojs_taro__WEBPACK_IMPORTED_MODULE_3__.getEnv)() === "WEB") {
rest.type = rest.formType;
}
return (
/*#__PURE__*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
// eslint-disable-next-line react/button-has-type
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("button", Object.assign({}, rest, {
ref,
type: nativeType,
className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(prefixCls, `${prefixCls}-${type}`, props.fill ? `${prefixCls}-${fill}` : null, children ? "" : `${prefixCls}-icononly`, {
[`${prefixCls}-${size}`]: size,
[`${prefixCls}-${shape}`]: shape,
[`${prefixCls}-block`]: block,
[`${prefixCls}-disabled`]: disabled || loading,
[`${prefixCls}-loading`]: loading
}, className),
style: Object.assign(Object.assign({}, getStyle()), style),
onClick: e => handleClick(e)
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
className: "nut-button-wrap"
}, loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_nutui_icons_react_taro__WEBPACK_IMPORTED_MODULE_2__.Loading, {
className: "nut-icon-loading"
}), !loading && icon ? icon : null, children && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
className: `${icon || loading ? "nut-button-text" : ""}${rightIcon ? " nut-button-text right" : ""}`
}, children), rightIcon || null))
);
});
Button.displayName = "NutButton";
/***/ }),
/***/ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/tslib.es6-iWu3F_1J.js":
/*!**************************************************************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/tslib.es6-iWu3F_1J.js ***!
\**************************************************************************************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ _: function() { return /* binding */ __rest; }
/* harmony export */ });
/* unused harmony export a */
function __rest(s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
}
function __awaiter(thisArg, _arguments, P, generator) {
function adopt(value) {
return value instanceof P ? value : new P(function (resolve) {
resolve(value);
});
}
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) {
try {
step(generator.next(value));
} catch (e) {
reject(e);
}
}
function rejected(value) {
try {
step(generator["throw"](value));
} catch (e) {
reject(e);
}
}
function step(result) {
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
}
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
};
/***/ }),
/***/ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/typings-DV9RBfhj.js":
/*!************************************************************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/typings-DV9RBfhj.js ***!
\************************************************************************************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ C: function() { return /* binding */ ComponentDefaults; }
/* harmony export */ });
const ComponentDefaults = {
className: "",
style: {}
};
/***/ }), /***/ }),
/***/ "./src/api/index.js": /***/ "./src/api/index.js":
@@ -44,6 +544,7 @@ class Home extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
\**************************/ \**************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _system__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./system */ "./src/api/system/index.js"); /* harmony import */ var _system__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./system */ "./src/api/system/index.js");
const Api = { const Api = {
@@ -61,6 +562,7 @@ const Api = {
\*********************************/ \*********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _utils_request__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/request */ "./src/utils/request.js"); /* harmony import */ var _utils_request__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/request */ "./src/utils/request.js");
const system = { const system = {
@@ -81,6 +583,7 @@ const system = {
\**********************************/ \**********************************/
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
"use strict";
/* 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__ = __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 _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_91_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_home_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.91.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/home/index!./index.jsx */ "./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.91.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/home/index!./src/pages/home/index.jsx"); /* harmony import */ var _node_modules_pnpm_tarojs_taro_loader_4_0_8_webpack_5_91_0_swc_core_1_3_96_node_modules_tarojs_taro_loader_lib_entry_cache_js_name_pages_home_index_index_jsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.91.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/home/index!./index.jsx */ "./node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.91.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/home/index!./src/pages/home/index.jsx");
@@ -109,6 +612,7 @@ var inst = Page(taroOption)
\******************************/ \******************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) { /***/ (function(__unused_webpack_module, __webpack_exports__) {
"use strict";
const request = options => { const request = options => {
const { const {
method, method,
@@ -123,6 +627,192 @@ const request = options => {
}; };
/* harmony default export */ __webpack_exports__["default"] = (request); /* harmony default export */ __webpack_exports__["default"] = (request);
/***/ }),
/***/ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/style_icon.css":
/*!*******************************************************************************************************************!*\
!*** ./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/style_icon.css ***!
\*******************************************************************************************************************/
/***/ (function() {
"use strict";
// extracted by mini-css-extract-plugin
/***/ }),
/***/ "./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/Button/style/style.css":
/*!***************************************************************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/@nutui+nutui-react-taro@2.7.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@nutui/nutui-react-taro/dist/esm/Button/style/style.css ***!
\***************************************************************************************************************************************************************************/
/***/ (function() {
"use strict";
// extracted by mini-css-extract-plugin
/***/ }),
/***/ "./node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js":
/*!******************************************************************************!*\
!*** ./node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js ***!
\******************************************************************************/
/***/ (function(module, exports) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/* global define */
(function () {
'use strict';
var hasOwn = {}.hasOwnProperty;
function classNames () {
var classes = '';
for (var i = 0; i < arguments.length; i++) {
var arg = arguments[i];
if (arg) {
classes = appendClass(classes, parseValue(arg));
}
}
return classes;
}
function parseValue (arg) {
if (typeof arg === 'string' || typeof arg === 'number') {
return arg;
}
if (typeof arg !== 'object') {
return '';
}
if (Array.isArray(arg)) {
return classNames.apply(null, arg);
}
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
return arg.toString();
}
var classes = '';
for (var key in arg) {
if (hasOwn.call(arg, key) && arg[key]) {
classes = appendClass(classes, key);
}
}
return classes;
}
function appendClass (value, newClass) {
if (!newClass) {
return value;
}
if (value) {
return value + ' ' + newClass;
}
return value + newClass;
}
if ( true && module.exports) {
classNames.default = classNames;
module.exports = classNames;
} else if (true) {
// register as 'classnames', consistent with npm package name
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
return classNames;
}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
} else {}
}());
/***/ }),
/***/ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/IconTemplate-b29ebbb8.mjs":
/*!***************************************************************************************************************************************!*\
!*** ./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/IconTemplate-b29ebbb8.mjs ***!
\***************************************************************************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ I: function() { return /* binding */ P; },
/* harmony export */ d: function() { return /* binding */ x; }
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
/* harmony import */ var _internal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal.js */ "./node_modules/.pnpm/@nutui+icons-react-taro@1.0.5/node_modules/@nutui/icons-react-taro/dist/es/icons/internal.js");
const x = {
className: "",
style: void 0,
name: "",
width: "",
height: "",
size: "",
svg64: "",
onClick: () => {}
},
y = k => {
const n = _internal_js__WEBPACK_IMPORTED_MODULE_1__.globalConfig.classPrefix,
{
className: m,
style: f,
name: e,
color: r,
width: p,
height: C,
size: i,
svg64: a,
children: u,
onClick: l,
fallback: o = !_internal_js__WEBPACK_IMPORTED_MODULE_1__.globalConfig.useSvg
} = {
...x,
...k
},
N = t => {
l && l(t);
},
h = t => t === "" ? "" : isNaN(Number(t)) ? String(t) : t + "px",
$ = () => {
const t = o ? e == null ? void 0 : e.toLowerCase() : e;
return `${o ? _internal_js__WEBPACK_IMPORTED_MODULE_1__.globalConfig.fontClassName : ""} ${n} ${n}-${t} ${m}`;
},
c = {},
d = h(p || i || ""),
g = h(C || i || "");
d && (c.width = d), g && (c.height = g);
const b = () => ({
...f,
...(o ? {} : {
backgroundColor: r || "currentColor",
mask: `url('${a}') 0 0/100% 100% no-repeat`,
"-webkitMask": `url('${a}') 0 0/100% 100% no-repeat`
}),
...c
});
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_internal_js__WEBPACK_IMPORTED_MODULE_1__.globalConfig.tag, {
className: $(),
style: b(),
onClick: N,
color: r
}, u);
},
P = y;
/***/ }) /***/ })
}, },

View File

@@ -1 +1 @@
{"version":3,"sources":[""],"names":[],"mappings":"AAAA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,UAAU;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"} {"version":3,"sources":[""],"names":[],"mappings":"AAAA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,UAAU;AAC1B;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;;;AAGA;;;;AAIA;AACA;AACA;AACA;AACA;;;;AAIA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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"}

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"pages/index/index.js","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;;;;;;;;;;;;;;;;AC1DA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sources":["webpack://taro-template/._src_pages_index_index.jsx","webpack://taro-template/._src_actions_counter.js","webpack://taro-template/./src/pages/index/index.jsx?e561"],"sourcesContent":["var _dec, _class;\nimport { Component } from 'react';\nimport { connect } from 'react-redux';\nimport { View, Button, Text } from '@tarojs/components';\nimport { add, minus, asyncAdd } from '../../actions/counter';\nimport './index.scss';\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nlet Index = (_dec = connect(_ref => {\n let {\n counter\n } = _ref;\n return {\n counter\n };\n}, dispatch => ({\n add() {\n dispatch(add());\n },\n dec() {\n dispatch(minus());\n },\n asyncAdd() {\n dispatch(asyncAdd());\n }\n})), _dec(_class = class Index extends Component {\n componentWillReceiveProps(nextProps) {\n console.log(this.props, nextProps);\n }\n componentWillUnmount() {}\n componentDidShow() {}\n componentDidHide() {}\n render() {\n return /*#__PURE__*/_jsxs(View, {\n className: \"index\",\n children: [/*#__PURE__*/_jsx(Button, {\n className: \"add_btn\",\n onClick: this.props.add,\n children: \"+\"\n }), /*#__PURE__*/_jsx(Button, {\n className: \"dec_btn\",\n onClick: this.props.dec,\n children: \"-\"\n }), /*#__PURE__*/_jsx(Button, {\n className: \"dec_btn\",\n onClick: this.props.asyncAdd,\n children: \"async\"\n }), /*#__PURE__*/_jsx(View, {\n children: /*#__PURE__*/_jsx(Text, {\n children: this.props.counter.num\n })\n }), /*#__PURE__*/_jsx(View, {\n children: /*#__PURE__*/_jsx(Text, {\n children: \"Hello, World\"\n })\n })]\n });\n }\n}) || _class);\nexport default Index;","import {\n ADD,\n MINUS\n} from '../constants/counter'\n\nexport const add = () => {\n return {\n type: ADD\n }\n}\nexport const minus = () => {\n return {\n type: MINUS\n }\n}\n\n// 异步的action\nexport function asyncAdd () {\n return dispatch => {\n setTimeout(() => {\n dispatch(add())\n }, 2000)\n }\n}\n","import { createPageConfig } from '@tarojs/runtime'\nimport component from \"!!../../../node_modules/.pnpm/@tarojs+taro-loader@4.0.8_webpack@5.91.0_@swc+core@1.3.96_/node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=pages/index/index!./index.jsx\"\nvar config = {\"navigationBarTitleText\":\"首页\"};\n\n\n\nvar taroOption = createPageConfig(component, 'pages/index/index', {root:{cn:[]}}, config || {})\nif (component && component.behaviors) {\n taroOption.behaviors = (taroOption.behaviors || []).concat(component.behaviors)\n}\nvar inst = Page(taroOption)\n\n\n\nexport default component\n"],"names":[],"sourceRoot":""} {"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"}

View File

@@ -33,6 +33,9 @@ var moduleMap = {
"./@tarojs/plugin-platform-weapp/dist/runtime": function() { "./@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")); }; }); 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() { "./@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")); }; }); 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")); }; });
}, },
@@ -95,6 +98,9 @@ var taroModuleMap = {
"./@tarojs/plugin-platform-weapp/dist/runtime": function() { "./@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")); }; 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() { "./@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")); }; 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")); };
}, },

View File

@@ -4832,7 +4832,9 @@ var init_dom_external = (0,_chunk_QRPWKJ4C_js__WEBPACK_IMPORTED_MODULE_1__.__esm
} }
if (false) {} if (false) {}
if (false) {} if (false) {}
if (false) {} if (true) {
TaroElement.extend("getBoundingClientRect", getBoundingClientRectImpl);
}
if (false) {} if (false) {}
} }
} }

View File

@@ -0,0 +1,524 @@
"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
});
}
});
/***/ })
}]);

18
dist/runtime.js vendored
View File

@@ -198,8 +198,8 @@
/******/ var chunkMapping = { /******/ var chunkMapping = {
/******/ "app": [ /******/ "app": [
/******/ "webpack/container/remote/@tarojs/plugin-platform-weapp/dist/runtime", /******/ "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/@tarojs/plugin-framework-react/dist/runtime",
/******/ "webpack/container/remote/@tarojs/taro",
/******/ "webpack/container/remote/redux", /******/ "webpack/container/remote/redux",
/******/ "webpack/container/remote/redux-thunk", /******/ "webpack/container/remote/redux-thunk",
/******/ "webpack/container/remote/redux-logger", /******/ "webpack/container/remote/redux-logger",
@@ -207,6 +207,7 @@
/******/ ], /******/ ],
/******/ "common": [ /******/ "common": [
/******/ "webpack/container/remote/@tarojs/runtime", /******/ "webpack/container/remote/@tarojs/runtime",
/******/ "webpack/container/remote/@tarojs/taro",
/******/ "webpack/container/remote/react", /******/ "webpack/container/remote/react",
/******/ "webpack/container/remote/react-redux", /******/ "webpack/container/remote/react-redux",
/******/ "webpack/container/remote/react/jsx-runtime" /******/ "webpack/container/remote/react/jsx-runtime"
@@ -218,16 +219,16 @@
/******/ "./@tarojs/plugin-platform-weapp/dist/runtime", /******/ "./@tarojs/plugin-platform-weapp/dist/runtime",
/******/ null /******/ 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": [ /******/ "webpack/container/remote/@tarojs/plugin-framework-react/dist/runtime": [
/******/ "default", /******/ "default",
/******/ "./@tarojs/plugin-framework-react/dist/runtime", /******/ "./@tarojs/plugin-framework-react/dist/runtime",
/******/ null /******/ null
/******/ ], /******/ ],
/******/ "webpack/container/remote/@tarojs/taro": [
/******/ "default",
/******/ "./@tarojs/taro",
/******/ null
/******/ ],
/******/ "webpack/container/remote/redux": [ /******/ "webpack/container/remote/redux": [
/******/ "default", /******/ "default",
/******/ "./redux", /******/ "./redux",
@@ -253,6 +254,11 @@
/******/ "./@tarojs/runtime", /******/ "./@tarojs/runtime",
/******/ null /******/ null
/******/ ], /******/ ],
/******/ "webpack/container/remote/@tarojs/taro": [
/******/ "default",
/******/ "./@tarojs/taro",
/******/ null
/******/ ],
/******/ "webpack/container/remote/react": [ /******/ "webpack/container/remote/react": [
/******/ "default", /******/ "default",
/******/ "./react", /******/ "./react",

2
dist/runtime.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/taro.js.map vendored
View File

@@ -1 +1 @@
{"version":3,"file":"taro.js","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;;ACvCA;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;;;;;;;;;;;;;ACrCA;AACA;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA","sources":["webpack://taro-template/.._.._taro-components_mini_index.js","webpack://taro-template/.._src_components-react.ts","webpack://taro-template/._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@_bde7hlupvtnhjp5wnja2su6pqy_node_modules_@tarojs_webpack5-runner_dist_template_comp.js","webpack://taro-template/._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@_bde7hlupvtnhjp5wnja2su6pqy_node_modules_@tarojs_webpack5-runner_dist_template_custom-wrapper.js"],"sourcesContent":["export const View = 'view'\nexport const Icon = 'icon'\nexport const Progress = 'progress'\nexport const RichText = 'rich-text'\nexport const Text = 'text'\nexport const Button = 'button'\nexport const Checkbox = 'checkbox'\nexport const CheckboxGroup = 'checkbox-group'\nexport const Form = 'form'\nexport const Input = 'input'\nexport const Label = 'label'\nexport const Picker = 'picker'\nexport const PickerView = 'picker-view'\nexport const PickerViewColumn = 'picker-view-column'\nexport const Radio = 'radio'\nexport const RadioGroup = 'radio-group'\nexport const Slider = 'slider'\nexport const Switch = 'switch'\nexport const CoverImage = 'cover-image'\nexport const Textarea = 'textarea'\nexport const CoverView = 'cover-view'\nexport const MovableArea = 'movable-area'\nexport const MovableView = 'movable-view'\nexport const ScrollView = 'scroll-view'\nexport const Swiper = 'swiper'\nexport const SwiperItem = 'swiper-item'\nexport const Navigator = 'navigator'\nexport const Audio = 'audio'\nexport const Camera = 'camera'\nexport const Image = 'image'\nexport const LivePlayer = 'live-player'\nexport const Video = 'video'\nexport const Canvas = 'canvas'\nexport const Ad = 'ad'\nexport const WebView = 'web-view'\nexport const Block = 'block'\nexport const Map = 'map'\nexport const Slot = 'slot'\nexport const NativeSlot = 'native-slot'\nexport const CustomWrapper = 'custom-wrapper'\n",null,"/* eslint-disable no-undef */\nimport { createRecursiveComponentConfig } from '@tarojs/runtime'\n// @ts-ignore\nComponent(createRecursiveComponentConfig())\n","/* eslint-disable no-undef */\nimport { createRecursiveComponentConfig } from '@tarojs/runtime'\n// @ts-ignore\nComponent(createRecursiveComponentConfig('custom-wrapper'))\n"],"names":[],"sourceRoot":""} {"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;;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"}

View File

@@ -38,9 +38,11 @@
"author": "", "author": "",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.21.5", "@babel/runtime": "^7.21.5",
"@nutui/nutui-react-taro": "^2.7.3",
"@tarojs/components": "4.0.8", "@tarojs/components": "4.0.8",
"@tarojs/helper": "4.0.8", "@tarojs/helper": "4.0.8",
"@tarojs/plugin-framework-react": "4.0.8", "@tarojs/plugin-framework-react": "4.0.8",
"@tarojs/plugin-html": "^4.0.8",
"@tarojs/plugin-platform-alipay": "4.0.8", "@tarojs/plugin-platform-alipay": "4.0.8",
"@tarojs/plugin-platform-h5": "4.0.8", "@tarojs/plugin-platform-h5": "4.0.8",
"@tarojs/plugin-platform-jd": "4.0.8", "@tarojs/plugin-platform-jd": "4.0.8",
@@ -52,6 +54,7 @@
"@tarojs/runtime": "4.0.8", "@tarojs/runtime": "4.0.8",
"@tarojs/shared": "4.0.8", "@tarojs/shared": "4.0.8",
"@tarojs/taro": "4.0.8", "@tarojs/taro": "4.0.8",
"babel-plugin-import": "^1.13.8",
"react": "^18.0.0", "react": "^18.0.0",
"react-dom": "^18.0.0", "react-dom": "^18.0.0",
"react-redux": "^7.2.0", "react-redux": "^7.2.0",
@@ -72,6 +75,7 @@
"@types/webpack-env": "^1.13.6", "@types/webpack-env": "^1.13.6",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
"babel-preset-taro": "4.0.8", "babel-preset-taro": "4.0.8",
"cache-loader": "^4.1.0",
"eslint": "^8.12.0", "eslint": "^8.12.0",
"eslint-config-taro": "4.0.8", "eslint-config-taro": "4.0.8",
"eslint-plugin-import": "^2.12.0", "eslint-plugin-import": "^2.12.0",
@@ -81,6 +85,8 @@
"react-refresh": "^0.11.0", "react-refresh": "^0.11.0",
"stylelint": "^14.4.0", "stylelint": "^14.4.0",
"tailwindcss": "^3.4.17", "tailwindcss": "^3.4.17",
"taro-plugin-compiler-optimization": "^1.0.4",
"thread-loader": "^4.0.4",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"weapp-tailwindcss": "^3.7.0", "weapp-tailwindcss": "^3.7.0",
"webpack": "5.91.0" "webpack": "5.91.0"

262
pnpm-lock.yaml generated
View File

@@ -11,6 +11,9 @@ importers:
'@babel/runtime': '@babel/runtime':
specifier: ^7.21.5 specifier: ^7.21.5
version: 7.26.0 version: 7.26.0
'@nutui/nutui-react-taro':
specifier: ^2.7.3
version: 2.7.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
'@tarojs/components': '@tarojs/components':
specifier: 4.0.8 specifier: 4.0.8
version: 4.0.8(@tarojs/helper@4.0.8)(@types/react@18.3.17)(html-webpack-plugin@5.6.3(webpack@5.91.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.91.0(@swc/core@1.3.96)))(webpack@5.91.0(@swc/core@1.3.96)) version: 4.0.8(@tarojs/helper@4.0.8)(@types/react@18.3.17)(html-webpack-plugin@5.6.3(webpack@5.91.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.91.0(@swc/core@1.3.96)))(webpack@5.91.0(@swc/core@1.3.96))
@@ -20,6 +23,9 @@ importers:
'@tarojs/plugin-framework-react': '@tarojs/plugin-framework-react':
specifier: 4.0.8 specifier: 4.0.8
version: 4.0.8(@pmmmwh/react-refresh-webpack-plugin@0.5.15(react-refresh@0.11.0)(type-fest@2.19.0)(webpack-dev-server@4.15.2(webpack@5.91.0(@swc/core@1.3.96)))(webpack@5.91.0(@swc/core@1.3.96)))(@tarojs/helper@4.0.8)(@tarojs/runtime@4.0.8)(@tarojs/shared@4.0.8)(react@18.3.1)(webpack@5.91.0(@swc/core@1.3.96)) version: 4.0.8(@pmmmwh/react-refresh-webpack-plugin@0.5.15(react-refresh@0.11.0)(type-fest@2.19.0)(webpack-dev-server@4.15.2(webpack@5.91.0(@swc/core@1.3.96)))(webpack@5.91.0(@swc/core@1.3.96)))(@tarojs/helper@4.0.8)(@tarojs/runtime@4.0.8)(@tarojs/shared@4.0.8)(react@18.3.1)(webpack@5.91.0(@swc/core@1.3.96))
'@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-platform-alipay': '@tarojs/plugin-platform-alipay':
specifier: 4.0.8 specifier: 4.0.8
version: 4.0.8(@tarojs/service@4.0.8)(@tarojs/shared@4.0.8) version: 4.0.8(@tarojs/service@4.0.8)(@tarojs/shared@4.0.8)
@@ -53,6 +59,9 @@ importers:
'@tarojs/taro': '@tarojs/taro':
specifier: 4.0.8 specifier: 4.0.8
version: 4.0.8(@tarojs/components@4.0.8(@tarojs/helper@4.0.8)(@types/react@18.3.17)(html-webpack-plugin@5.6.3(webpack@5.91.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.91.0(@swc/core@1.3.96)))(webpack@5.91.0(@swc/core@1.3.96)))(@tarojs/helper@4.0.8)(@tarojs/shared@4.0.8)(@types/react@18.3.17)(html-webpack-plugin@5.6.3(webpack@5.91.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.91.0(@swc/core@1.3.96)))(webpack@5.91.0(@swc/core@1.3.96)) version: 4.0.8(@tarojs/components@4.0.8(@tarojs/helper@4.0.8)(@types/react@18.3.17)(html-webpack-plugin@5.6.3(webpack@5.91.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.91.0(@swc/core@1.3.96)))(webpack@5.91.0(@swc/core@1.3.96)))(@tarojs/helper@4.0.8)(@tarojs/shared@4.0.8)(@types/react@18.3.17)(html-webpack-plugin@5.6.3(webpack@5.91.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.91.0(@swc/core@1.3.96)))(webpack@5.91.0(@swc/core@1.3.96))
babel-plugin-import:
specifier: ^1.13.8
version: 1.13.8
react: react:
specifier: ^18.0.0 specifier: ^18.0.0
version: 18.3.1 version: 18.3.1
@@ -108,6 +117,9 @@ importers:
babel-preset-taro: babel-preset-taro:
specifier: 4.0.8 specifier: 4.0.8
version: 4.0.8(@babel/core@7.26.0)(@babel/plugin-transform-typescript@7.26.3(@babel/core@7.26.0))(@babel/preset-react@7.26.3(@babel/core@7.26.0))(react-refresh@0.11.0) version: 4.0.8(@babel/core@7.26.0)(@babel/plugin-transform-typescript@7.26.3(@babel/core@7.26.0))(@babel/preset-react@7.26.3(@babel/core@7.26.0))(react-refresh@0.11.0)
cache-loader:
specifier: ^4.1.0
version: 4.1.0(webpack@5.91.0(@swc/core@1.3.96))
eslint: eslint:
specifier: ^8.12.0 specifier: ^8.12.0
version: 8.57.1 version: 8.57.1
@@ -135,6 +147,12 @@ importers:
tailwindcss: tailwindcss:
specifier: ^3.4.17 specifier: ^3.4.17
version: 3.4.17(ts-node@10.9.2(@swc/core@1.3.96)(@types/node@18.19.68)(typescript@5.7.2)) version: 3.4.17(ts-node@10.9.2(@swc/core@1.3.96)(@types/node@18.19.68)(typescript@5.7.2))
taro-plugin-compiler-optimization:
specifier: ^1.0.4
version: 1.0.4
thread-loader:
specifier: ^4.0.4
version: 4.0.4(webpack@5.91.0(@swc/core@1.3.96))
ts-node: ts-node:
specifier: ^10.9.1 specifier: ^10.9.1
version: 10.9.2(@swc/core@1.3.96)(@types/node@18.19.68)(typescript@5.7.2) version: 10.9.2(@swc/core@1.3.96)(@types/node@18.19.68)(typescript@5.7.2)
@@ -1027,6 +1045,20 @@ packages:
resolution: {integrity: sha512-/1uFzjVcfzqrgCeGW7+SZ4hv0qLWmKXVzFahZGJ6QuJBj6Myt9s17+JL86i76NV9YSnJRcGXJYQbAU0rn1YTCQ==} resolution: {integrity: sha512-/1uFzjVcfzqrgCeGW7+SZ4hv0qLWmKXVzFahZGJ6QuJBj6Myt9s17+JL86i76NV9YSnJRcGXJYQbAU0rn1YTCQ==}
engines: {node: ^18.17.0 || >=20.5.0} engines: {node: ^18.17.0 || >=20.5.0}
'@nutui/icons-react-taro@1.0.5':
resolution: {integrity: sha512-p7dCW29wASH/qQ1OaUGGKA6PRV33wDPb80+qrHnWtT40syIb0W+e92mpplbULWM01s+GYVGyUU3i8b7Iy7qfvw==}
'@nutui/jdesign-icons-react-taro@1.0.6-beta.2':
resolution: {integrity: sha512-2Scz5c9o14gA7Mw5JdiEkc/KEbNlNWMcJMuqVyFVipYeeYN/118N/fvHVpocmJviN0Gc4P+u3ZB3dIQSA2j4Fw==}
'@nutui/nutui-react-taro@2.7.3':
resolution: {integrity: sha512-bsMEjIgH7iBwIx3b0pOurCPzHyTmCAeSymuUv+ot5KhJ9AkNpVYotmwgtfkuqawi+62fOnEDMo36LPUEvpf3yg==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
'@nutui/touch-emulator@1.0.0':
resolution: {integrity: sha512-k2hvI/9LlRA7Ph1Chni27pTuvPmKPt+/I10sWWd2sWzqiCOYRerD79eIwCMRGUF/q6WVDEKVnv00t9CEUL4sPA==}
'@parcel/watcher-android-arm64@2.5.0': '@parcel/watcher-android-arm64@2.5.0':
resolution: {integrity: sha512-qlX4eS28bUcQCdribHkg/herLe+0A9RyYC+mm2PXpncit8z5b3nSqGVzMNR3CmtAOgRutiZ02eIJJgP/b1iEFQ==} resolution: {integrity: sha512-qlX4eS28bUcQCdribHkg/herLe+0A9RyYC+mm2PXpncit8z5b3nSqGVzMNR3CmtAOgRutiZ02eIJJgP/b1iEFQ==}
engines: {node: '>= 10.0.0'} engines: {node: '>= 10.0.0'}
@@ -1145,6 +1177,33 @@ packages:
webpack-plugin-serve: webpack-plugin-serve:
optional: true optional: true
'@react-spring/animated@9.6.1':
resolution: {integrity: sha512-ls/rJBrAqiAYozjLo5EPPLLOb1LM0lNVQcXODTC1SMtS6DbuBCPaKco5svFUQFMP2dso3O+qcC4k9FsKc0KxMQ==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
'@react-spring/core@9.6.1':
resolution: {integrity: sha512-3HAAinAyCPessyQNNXe5W0OHzRfa8Yo5P748paPcmMowZ/4sMfaZ2ZB6e5x5khQI8NusOHj8nquoutd6FRY5WQ==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
'@react-spring/rafz@9.6.1':
resolution: {integrity: sha512-v6qbgNRpztJFFfSE3e2W1Uz+g8KnIBs6SmzCzcVVF61GdGfGOuBrbjIcp+nUz301awVmREKi4eMQb2Ab2gGgyQ==}
'@react-spring/shared@9.6.1':
resolution: {integrity: sha512-PBFBXabxFEuF8enNLkVqMC9h5uLRBo6GQhRMQT/nRTnemVENimgRd+0ZT4yFnAQ0AxWNiJfX3qux+bW2LbG6Bw==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
'@react-spring/types@9.6.1':
resolution: {integrity: sha512-POu8Mk0hIU3lRXB3bGIGe4VHIwwDsQyoD1F394OK7STTiX9w4dG3cTLljjYswkQN+hDSHRrj4O36kuVa7KPU8Q==}
'@react-spring/web@9.6.1':
resolution: {integrity: sha512-X2zR6q2Z+FjsWfGAmAXlQaoUHbPmfuCaXpuM6TcwXPpLE1ZD4A1eys/wpXboFQmDkjnrlTmKvpVna1MjWpZ5Hw==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
'@rnx-kit/babel-preset-metro-react-native@1.1.8': '@rnx-kit/babel-preset-metro-react-native@1.1.8':
resolution: {integrity: sha512-8DotuBK1ZgV0H/tmCmtW/3ofA7JR/8aPqSu9lKnuqwBfq4bxz+w1sMyfFl89m4teWlkhgyczWBGD6NCLqTgi9A==} resolution: {integrity: sha512-8DotuBK1ZgV0H/tmCmtW/3ofA7JR/8aPqSu9lKnuqwBfq4bxz+w1sMyfFl89m4teWlkhgyczWBGD6NCLqTgi9A==}
peerDependencies: peerDependencies:
@@ -1468,6 +1527,14 @@ packages:
webpack: webpack:
optional: true optional: true
'@tarojs/plugin-html@4.0.8':
resolution: {integrity: sha512-96f6l9FKfwXD/ZTC0YdlUu8HFIseB1WAZaUQYYzIoVBd0a5UgG/dIx1yiLUNgPWbn6kiZNAPSXNcWnjJq9GMqw==}
engines: {node: '>= 18'}
peerDependencies:
'@tarojs/helper': 4.0.8
'@tarojs/runtime': 4.0.8
'@tarojs/shared': 4.0.8
'@tarojs/plugin-platform-alipay@4.0.8': '@tarojs/plugin-platform-alipay@4.0.8':
resolution: {integrity: sha512-/2/K7Gbmf2sncfZlKcDTZI43hcfxV+gX0N4kB8fANw6ecIQ3t+N1UdRu0StxPIEK9aBc3cd7qvr/4zkrRP+J4A==} resolution: {integrity: sha512-/2/K7Gbmf2sncfZlKcDTZI43hcfxV+gX0N4kB8fANw6ecIQ3t+N1UdRu0StxPIEK9aBc3cd7qvr/4zkrRP+J4A==}
engines: {node: '>= 18'} engines: {node: '>= 18'}
@@ -1847,6 +1914,14 @@ packages:
'@ungap/structured-clone@1.2.1': '@ungap/structured-clone@1.2.1':
resolution: {integrity: sha512-fEzPV3hSkSMltkw152tJKNARhOupqbH96MZWyRjNaYZOMIzbrTeQDG+MTc6Mr2pgzFQzFxAfmhGDNP5QK++2ZA==} resolution: {integrity: sha512-fEzPV3hSkSMltkw152tJKNARhOupqbH96MZWyRjNaYZOMIzbrTeQDG+MTc6Mr2pgzFQzFxAfmhGDNP5QK++2ZA==}
'@use-gesture/core@10.2.20':
resolution: {integrity: sha512-4lFhHc8so4yIHkBEs641DnEsBxPyhJ5GEjB4PURFDH4p/FcZriH6w99knZgI63zN/MBFfylMyb8+PDuj6RIXKQ==}
'@use-gesture/react@10.2.20':
resolution: {integrity: sha512-KnJq9ZSqprWA6uNhWTUHZqTCh+rfa0j8ehTzqeBhktUPrmTj7yVOBvEQ/vSFU/7d72cGgWSsJ0f5T6GQCHXnvg==}
peerDependencies:
react: '>= 16.8.0'
'@weapp-core/escape@2.1.0': '@weapp-core/escape@2.1.0':
resolution: {integrity: sha512-nloTsMWy6nIT5X8HYTaqIlU1ILLmQbM+n5XwGPzLEtkGCTtpCUsjobRSjkuWiozOaFyoM7SZkwQETF9syCD55g==} resolution: {integrity: sha512-nloTsMWy6nIT5X8HYTaqIlU1ILLmQbM+n5XwGPzLEtkGCTtpCUsjobRSjkuWiozOaFyoM7SZkwQETF9syCD55g==}
@@ -2071,6 +2146,9 @@ packages:
resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==}
engines: {node: '>=8'} engines: {node: '>=8'}
async-validator@4.2.5:
resolution: {integrity: sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==}
asynckit@0.4.0: asynckit@0.4.0:
resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}
@@ -2103,6 +2181,9 @@ packages:
babel-plugin-dynamic-import-node@2.3.3: babel-plugin-dynamic-import-node@2.3.3:
resolution: {integrity: sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==} resolution: {integrity: sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==}
babel-plugin-import@1.13.8:
resolution: {integrity: sha512-36babpjra5m3gca44V6tSTomeBlPA7cHUynrE2WiQIm3rEGD9xy28MKsx5IdO45EbnpJY7Jrgd00C6Dwt/l/2Q==}
babel-plugin-polyfill-corejs2@0.4.12: babel-plugin-polyfill-corejs2@0.4.12:
resolution: {integrity: sha512-CPWT6BwvhrTO2d8QVorhTCQw9Y43zOu7G9HigcfxvepOU6b8o3tcWad6oVgZIsZCTt42FFv97aA7ZJsbM4+8og==} resolution: {integrity: sha512-CPWT6BwvhrTO2d8QVorhTCQw9Y43zOu7G9HigcfxvepOU6b8o3tcWad6oVgZIsZCTt42FFv97aA7ZJsbM4+8og==}
peerDependencies: peerDependencies:
@@ -2220,6 +2301,9 @@ packages:
buffer-from@1.1.2: buffer-from@1.1.2:
resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
buffer-json@2.0.0:
resolution: {integrity: sha512-+jjPFVqyfF1esi9fvfUs3NqM0pH1ziZ36VP4hmA/y/Ssfo/5w5xHKfTw9BwQjoJ1w/oVtpLomqwUHKdefGyuHw==}
buffer@5.7.1: buffer@5.7.1:
resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==}
@@ -2243,6 +2327,12 @@ packages:
resolution: {integrity: sha512-hdsUxulXCi5STId78vRVYEtDAjq99ICAUktLTeTYsLoTE6Z8dS0c8pWNCxwdrk9YfJeobDZc2Y186hD/5ZQgFQ==} resolution: {integrity: sha512-hdsUxulXCi5STId78vRVYEtDAjq99ICAUktLTeTYsLoTE6Z8dS0c8pWNCxwdrk9YfJeobDZc2Y186hD/5ZQgFQ==}
engines: {node: ^18.17.0 || >=20.5.0} engines: {node: ^18.17.0 || >=20.5.0}
cache-loader@4.1.0:
resolution: {integrity: sha512-ftOayxve0PwKzBF/GLsZNC9fJBXl8lkZE3TOsjkboHfVHVkL39iUEs1FO07A33mizmci5Dudt38UZrrYXDtbhw==}
engines: {node: '>= 8.9.0'}
peerDependencies:
webpack: ^4.0.0
cacheable-request@2.1.4: cacheable-request@2.1.4:
resolution: {integrity: sha512-vag0O2LKZ/najSoUwDbVlnlCFvhBE/7mGTY2B5FgCBDcRD+oVV1HYTOwM6JZfMg/hIcM6IwnTZ1uQQL5/X3xIQ==} resolution: {integrity: sha512-vag0O2LKZ/najSoUwDbVlnlCFvhBE/7mGTY2B5FgCBDcRD+oVV1HYTOwM6JZfMg/hIcM6IwnTZ1uQQL5/X3xIQ==}
@@ -2823,6 +2913,9 @@ packages:
dom-converter@0.2.0: dom-converter@0.2.0:
resolution: {integrity: sha512-gd3ypIPfOMr9h5jIKq8E3sHOTCjeirnl0WK5ZdS1AW0Odt0b1PaWaHdJ4Qk4klv+YB9aJBS7mESXjFoDQPu6DA==} resolution: {integrity: sha512-gd3ypIPfOMr9h5jIKq8E3sHOTCjeirnl0WK5ZdS1AW0Odt0b1PaWaHdJ4Qk4klv+YB9aJBS7mESXjFoDQPu6DA==}
dom-helpers@5.2.1:
resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==}
dom-serializer@1.4.1: dom-serializer@1.4.1:
resolution: {integrity: sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==} resolution: {integrity: sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==}
@@ -3233,6 +3326,10 @@ packages:
resolution: {integrity: sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==} resolution: {integrity: sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==}
engines: {node: '>=6'} engines: {node: '>=6'}
find-cache-dir@3.3.2:
resolution: {integrity: sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==}
engines: {node: '>=8'}
find-up@3.0.0: find-up@3.0.0:
resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==} resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==}
engines: {node: '>=6'} engines: {node: '>=6'}
@@ -3996,6 +4093,9 @@ packages:
json-buffer@3.0.1: json-buffer@3.0.1:
resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==}
json-parse-better-errors@1.0.2:
resolution: {integrity: sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==}
json-parse-even-better-errors@2.3.1: json-parse-even-better-errors@2.3.1:
resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==}
@@ -4195,6 +4295,12 @@ packages:
lodash.debounce@4.0.8: lodash.debounce@4.0.8:
resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==} resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==}
lodash.isequal@4.5.0:
resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==}
lodash.kebabcase@4.1.1:
resolution: {integrity: sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==}
lodash.memoize@4.1.2: lodash.memoize@4.1.2:
resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==}
@@ -4459,6 +4565,10 @@ packages:
resolution: {integrity: sha512-umcy022ILvb5/3Djuu8LWeqUa8D68JaBzlttKeMWen48SjabqS3iY5w/vzeMzMUNhLDifyhbOwKDSznB1vvrwg==} resolution: {integrity: sha512-umcy022ILvb5/3Djuu8LWeqUa8D68JaBzlttKeMWen48SjabqS3iY5w/vzeMzMUNhLDifyhbOwKDSznB1vvrwg==}
engines: {node: '>= 18'} engines: {node: '>= 18'}
mkdirp@0.5.6:
resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==}
hasBin: true
mkdirp@1.0.4: mkdirp@1.0.4:
resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==}
engines: {node: '>=10'} engines: {node: '>=10'}
@@ -4858,6 +4968,10 @@ packages:
resolution: {integrity: sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==} resolution: {integrity: sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==}
engines: {node: '>=6'} engines: {node: '>=6'}
pkg-dir@4.2.0:
resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==}
engines: {node: '>=8'}
pkg-types@1.2.1: pkg-types@1.2.1:
resolution: {integrity: sha512-sQoqa8alT3nHjGuTjuKgOnvjo4cljkufdtLMnO2LBP/wRwuDlo1tkaEdMxCRhyGRPacv/ztlZgDPm2b7FAmEvw==} resolution: {integrity: sha512-sQoqa8alT3nHjGuTjuKgOnvjo4cljkufdtLMnO2LBP/wRwuDlo1tkaEdMxCRhyGRPacv/ztlZgDPm2b7FAmEvw==}
@@ -5301,6 +5415,12 @@ packages:
resolution: {integrity: sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A==} resolution: {integrity: sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A==}
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}
react-transition-group@4.4.5:
resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==}
peerDependencies:
react: '>=16.6.0'
react-dom: '>=16.6.0'
react@18.3.1: react@18.3.1:
resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}
@@ -5964,6 +6084,9 @@ packages:
resolution: {integrity: sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==} resolution: {integrity: sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==}
engines: {node: '>=18'} engines: {node: '>=18'}
taro-plugin-compiler-optimization@1.0.4:
resolution: {integrity: sha512-7aAOSWLpkPlJkCM6NPjcZEqoLXdquNy16CEEKIzAAD03OJ742rHhVzbZ0NIdMABMV7xC+gzRFq9eoZ64gm9o2g==}
terser-webpack-plugin@5.3.11: terser-webpack-plugin@5.3.11:
resolution: {integrity: sha512-RVCsMfuD0+cTt3EwX8hSl2Ks56EbFHWmhluwcqoPKtBnfjiT6olaq7PRIRfhyU8nnC2MrnDrBLfrD/RGE+cVXQ==} resolution: {integrity: sha512-RVCsMfuD0+cTt3EwX8hSl2Ks56EbFHWmhluwcqoPKtBnfjiT6olaq7PRIRfhyU8nnC2MrnDrBLfrD/RGE+cVXQ==}
engines: {node: '>= 10.13.0'} engines: {node: '>= 10.13.0'}
@@ -5995,6 +6118,12 @@ packages:
thenify@3.3.1: thenify@3.3.1:
resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==}
thread-loader@4.0.4:
resolution: {integrity: sha512-tXagu6Hivd03wB2tiS1bqvw345sc7mKei32EgpYpq31ZLes9FN0mEK2nKzXLRFgwt3PsBB0E/MZDp159rDoqwg==}
engines: {node: '>= 16.10.0'}
peerDependencies:
webpack: ^5.0.0
through@2.3.8: through@2.3.8:
resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==}
@@ -7529,6 +7658,29 @@ snapshots:
'@npmcli/redact@3.0.0': {} '@npmcli/redact@3.0.0': {}
'@nutui/icons-react-taro@1.0.5': {}
'@nutui/jdesign-icons-react-taro@1.0.6-beta.2': {}
'@nutui/nutui-react-taro@2.7.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
dependencies:
'@babel/runtime': 7.26.0
'@nutui/icons-react-taro': 1.0.5
'@nutui/jdesign-icons-react-taro': 1.0.6-beta.2
'@nutui/touch-emulator': 1.0.0
'@react-spring/web': 9.6.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
'@use-gesture/react': 10.2.20(react@18.3.1)
async-validator: 4.2.5
classnames: 2.5.1
lodash.isequal: 4.5.0
lodash.kebabcase: 4.1.1
react: 18.3.1
react-transition-group: 4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
transitivePeerDependencies:
- react-dom
'@nutui/touch-emulator@1.0.0': {}
'@parcel/watcher-android-arm64@2.5.0': '@parcel/watcher-android-arm64@2.5.0':
optional: true optional: true
@@ -7608,6 +7760,39 @@ snapshots:
type-fest: 2.19.0 type-fest: 2.19.0
webpack-dev-server: 4.15.2(webpack@5.91.0(@swc/core@1.3.96)) webpack-dev-server: 4.15.2(webpack@5.91.0(@swc/core@1.3.96))
'@react-spring/animated@9.6.1(react@18.3.1)':
dependencies:
'@react-spring/shared': 9.6.1(react@18.3.1)
'@react-spring/types': 9.6.1
react: 18.3.1
'@react-spring/core@9.6.1(react@18.3.1)':
dependencies:
'@react-spring/animated': 9.6.1(react@18.3.1)
'@react-spring/rafz': 9.6.1
'@react-spring/shared': 9.6.1(react@18.3.1)
'@react-spring/types': 9.6.1
react: 18.3.1
'@react-spring/rafz@9.6.1': {}
'@react-spring/shared@9.6.1(react@18.3.1)':
dependencies:
'@react-spring/rafz': 9.6.1
'@react-spring/types': 9.6.1
react: 18.3.1
'@react-spring/types@9.6.1': {}
'@react-spring/web@9.6.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
dependencies:
'@react-spring/animated': 9.6.1(react@18.3.1)
'@react-spring/core': 9.6.1(react@18.3.1)
'@react-spring/shared': 9.6.1(react@18.3.1)
'@react-spring/types': 9.6.1
react: 18.3.1
react-dom: 18.3.1(react@18.3.1)
'@rnx-kit/babel-preset-metro-react-native@1.1.8(@babel/core@7.26.0)(@babel/plugin-transform-typescript@7.26.3(@babel/core@7.26.0))(@babel/runtime@7.26.0)': '@rnx-kit/babel-preset-metro-react-native@1.1.8(@babel/core@7.26.0)(@babel/plugin-transform-typescript@7.26.3(@babel/core@7.26.0))(@babel/runtime@7.26.0)':
dependencies: dependencies:
'@babel/core': 7.26.0 '@babel/core': 7.26.0
@@ -7923,6 +8108,12 @@ snapshots:
react: 18.3.1 react: 18.3.1
webpack: 5.91.0(@swc/core@1.3.96) webpack: 5.91.0(@swc/core@1.3.96)
'@tarojs/plugin-html@4.0.8(@tarojs/helper@4.0.8)(@tarojs/runtime@4.0.8)(@tarojs/shared@4.0.8)':
dependencies:
'@tarojs/helper': 4.0.8
'@tarojs/runtime': 4.0.8
'@tarojs/shared': 4.0.8
'@tarojs/plugin-platform-alipay@4.0.8(@tarojs/service@4.0.8)(@tarojs/shared@4.0.8)': '@tarojs/plugin-platform-alipay@4.0.8(@tarojs/service@4.0.8)(@tarojs/shared@4.0.8)':
dependencies: dependencies:
'@tarojs/service': 4.0.8 '@tarojs/service': 4.0.8
@@ -8458,6 +8649,13 @@ snapshots:
'@ungap/structured-clone@1.2.1': {} '@ungap/structured-clone@1.2.1': {}
'@use-gesture/core@10.2.20': {}
'@use-gesture/react@10.2.20(react@18.3.1)':
dependencies:
'@use-gesture/core': 10.2.20
react: 18.3.1
'@weapp-core/escape@2.1.0': {} '@weapp-core/escape@2.1.0': {}
'@weapp-core/regex@1.0.1': {} '@weapp-core/regex@1.0.1': {}
@@ -8710,6 +8908,8 @@ snapshots:
astral-regex@2.0.0: {} astral-regex@2.0.0: {}
async-validator@4.2.5: {}
asynckit@0.4.0: {} asynckit@0.4.0: {}
autoprefixer@10.4.20(postcss@8.4.49): autoprefixer@10.4.20(postcss@8.4.49):
@@ -8757,6 +8957,12 @@ snapshots:
dependencies: dependencies:
object.assign: 4.1.5 object.assign: 4.1.5
babel-plugin-import@1.13.8:
dependencies:
'@babel/helper-module-imports': 7.25.9
transitivePeerDependencies:
- supports-color
babel-plugin-polyfill-corejs2@0.4.12(@babel/core@7.26.0): babel-plugin-polyfill-corejs2@0.4.12(@babel/core@7.26.0):
dependencies: dependencies:
'@babel/compat-data': 7.26.3 '@babel/compat-data': 7.26.3
@@ -8905,6 +9111,8 @@ snapshots:
buffer-from@1.1.2: {} buffer-from@1.1.2: {}
buffer-json@2.0.0: {}
buffer@5.7.1: buffer@5.7.1:
dependencies: dependencies:
base64-js: 1.5.1 base64-js: 1.5.1
@@ -8944,6 +9152,16 @@ snapshots:
tar: 7.4.3 tar: 7.4.3
unique-filename: 4.0.0 unique-filename: 4.0.0
cache-loader@4.1.0(webpack@5.91.0(@swc/core@1.3.96)):
dependencies:
buffer-json: 2.0.0
find-cache-dir: 3.3.2
loader-utils: 1.4.2
mkdirp: 0.5.6
neo-async: 2.6.2
schema-utils: 2.7.1
webpack: 5.91.0(@swc/core@1.3.96)
cacheable-request@2.1.4: cacheable-request@2.1.4:
dependencies: dependencies:
clone-response: 1.0.2 clone-response: 1.0.2
@@ -9563,6 +9781,11 @@ snapshots:
dependencies: dependencies:
utila: 0.4.0 utila: 0.4.0
dom-helpers@5.2.1:
dependencies:
'@babel/runtime': 7.26.0
csstype: 3.1.3
dom-serializer@1.4.1: dom-serializer@1.4.1:
dependencies: dependencies:
domelementtype: 2.3.0 domelementtype: 2.3.0
@@ -10203,6 +10426,12 @@ snapshots:
make-dir: 2.1.0 make-dir: 2.1.0
pkg-dir: 3.0.0 pkg-dir: 3.0.0
find-cache-dir@3.3.2:
dependencies:
commondir: 1.0.1
make-dir: 3.1.0
pkg-dir: 4.2.0
find-up@3.0.0: find-up@3.0.0:
dependencies: dependencies:
locate-path: 3.0.0 locate-path: 3.0.0
@@ -11034,6 +11263,8 @@ snapshots:
json-buffer@3.0.1: {} json-buffer@3.0.1: {}
json-parse-better-errors@1.0.2: {}
json-parse-even-better-errors@2.3.1: {} json-parse-even-better-errors@2.3.1: {}
json-schema-traverse@0.4.1: {} json-schema-traverse@0.4.1: {}
@@ -11206,6 +11437,10 @@ snapshots:
lodash.debounce@4.0.8: {} lodash.debounce@4.0.8: {}
lodash.isequal@4.5.0: {}
lodash.kebabcase@4.1.1: {}
lodash.memoize@4.1.2: {} lodash.memoize@4.1.2: {}
lodash.merge@4.6.2: {} lodash.merge@4.6.2: {}
@@ -11456,6 +11691,10 @@ snapshots:
minipass: 7.1.2 minipass: 7.1.2
rimraf: 5.0.10 rimraf: 5.0.10
mkdirp@0.5.6:
dependencies:
minimist: 1.2.8
mkdirp@1.0.4: {} mkdirp@1.0.4: {}
mkdirp@3.0.1: {} mkdirp@3.0.1: {}
@@ -11839,6 +12078,10 @@ snapshots:
dependencies: dependencies:
find-up: 3.0.0 find-up: 3.0.0
pkg-dir@4.2.0:
dependencies:
find-up: 4.1.0
pkg-types@1.2.1: pkg-types@1.2.1:
dependencies: dependencies:
confbox: 0.1.8 confbox: 0.1.8
@@ -12252,6 +12495,15 @@ snapshots:
react-refresh@0.11.0: {} react-refresh@0.11.0: {}
react-transition-group@4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
dependencies:
'@babel/runtime': 7.26.0
dom-helpers: 5.2.1
loose-envify: 1.4.0
prop-types: 15.8.1
react: 18.3.1
react-dom: 18.3.1(react@18.3.1)
react@18.3.1: react@18.3.1:
dependencies: dependencies:
loose-envify: 1.4.0 loose-envify: 1.4.0
@@ -13100,6 +13352,8 @@ snapshots:
mkdirp: 3.0.1 mkdirp: 3.0.1
yallist: 5.0.0 yallist: 5.0.0
taro-plugin-compiler-optimization@1.0.4: {}
terser-webpack-plugin@5.3.11(@swc/core@1.3.96)(esbuild@0.21.5)(webpack@5.91.0(@swc/core@1.3.96)): terser-webpack-plugin@5.3.11(@swc/core@1.3.96)(esbuild@0.21.5)(webpack@5.91.0(@swc/core@1.3.96)):
dependencies: dependencies:
'@jridgewell/trace-mapping': 0.3.25 '@jridgewell/trace-mapping': 0.3.25
@@ -13129,6 +13383,14 @@ snapshots:
dependencies: dependencies:
any-promise: 1.3.0 any-promise: 1.3.0
thread-loader@4.0.4(webpack@5.91.0(@swc/core@1.3.96)):
dependencies:
json-parse-better-errors: 1.0.2
loader-runner: 4.3.0
neo-async: 2.6.2
schema-utils: 4.3.0
webpack: 5.91.0(@swc/core@1.3.96)
through@2.3.8: {} through@2.3.8: {}
thunky@1.1.0: {} thunky@1.1.0: {}

View File

@@ -1,5 +1,6 @@
import { Component } from 'react' import { Component } from 'react'
import { View, Button } from '@tarojs/components' import { View } from '@tarojs/components'
import { Button } from '@nutui/nutui-react-taro'
import './index.scss' import './index.scss'
import Api from "../../api"; import Api from "../../api";
@@ -12,7 +13,7 @@ class Home extends Component {
return ( return (
<View> <View>
<View class='text-[red]'>123456</View> <View class='text-[red]'>123456</View>
<Button onClick={this.sendMsg}>发送</Button> <Button type="info" onClick={this.sendMsg}>发送</Button>
</View> </View>
) )
} }