From 32317bb9eb81cdd7f976a53c646a0fd1d8628007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9A=E5=95=A6C=E6=A2=A6?= <15709267061@163.com> Date: Thu, 2 Jan 2025 09:05:08 +0800 Subject: [PATCH] update --- dist/app.js | 3 +- dist/app.js.map | 2 +- dist/app.wxss | 3 - dist/common.js.map | 2 +- dist/pages/home/index.js | 46 +- dist/pages/home/index.js.map | 2 +- dist/pages/index/index.js.map | 2 +- ...dules_taro_weapp_prebundle_react-dom_js.js | 26 +- dist/prebundle/remoteEntry.js | 22 +- ...taro_weapp_prebundle_chunk-FCEGKHHF_js.js} | 98 +- ...les_taro_weapp_prebundle_react-redux_js.js | 26 +- ...dules_taro_weapp_prebundle_uqrcodejs_js.js | 3343 +++++++++++++++++ dist/project.config.json | 23 +- dist/runtime.js | 8 + dist/runtime.js.map | 2 +- dist/taro.js.map | 2 +- package.json | 42 +- pnpm-lock.yaml | 519 +-- src/components/XNav/index.jsx | 2 +- 19 files changed, 3775 insertions(+), 398 deletions(-) rename dist/prebundle/{vendors-node_modules_taro_weapp_prebundle_chunk-TQO5S7WL_js.js => vendors-node_modules_taro_weapp_prebundle_chunk-FCEGKHHF_js.js} (98%) create mode 100644 dist/prebundle/vendors-node_modules_taro_weapp_prebundle_uqrcodejs_js.js diff --git a/dist/app.js b/dist/app.js index c022b5b..fdd3bb4 100644 --- a/dist/app.js +++ b/dist/app.js @@ -1,6 +1,7 @@ "use strict"; -require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-TQO5S7WL_js.js"); +require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-FCEGKHHF_js.js"); require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-WRSQ3V3E_js.js"); +require("./prebundle/vendors-node_modules_taro_weapp_prebundle_uqrcodejs_js.js"); require("./prebundle/vendors-node_modules_taro_weapp_prebundle_react-redux_js.js"); require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-6TBQVUF2_js.js"); require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-GLEAZC6U_js.js"); diff --git a/dist/app.js.map b/dist/app.js.map index 7b6ce90..129e8a2 100644 --- a/dist/app.js.map +++ b/dist/app.js.map @@ -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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC9BA;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?318c","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'\nimport '@tarojs/plugin-html/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.94.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: function designWidth(input) {\n var _input_file;\n // 配置 NutUI 375 尺寸\n 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) {\n return 375;\n }\n // 全局使用 Taro 默认的 750 尺寸\n return 750;\n },\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 extension’s 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":""} \ No newline at end of file +{"version":3,"sources":[""],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AAMA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;AAaA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"} \ No newline at end of file diff --git a/dist/app.wxss b/dist/app.wxss index 9eb8c58..e8610fa 100644 --- a/dist/app.wxss +++ b/dist/app.wxss @@ -75,9 +75,6 @@ .iw-full { width: 100% !important } -.border { - border-width: 1rpx -} .text-_red_ { --tw-text-opacity: 1; color: rgb(255 0 0 / var(--tw-text-opacity, 1)) diff --git a/dist/common.js.map b/dist/common.js.map index c35b608..34cfb9d 100644 --- a/dist/common.js.map +++ b/dist/common.js.map @@ -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":""} \ No newline at end of file +{"version":3,"sources":[""],"names":[],"mappings":"AAAA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA"} \ No newline at end of file diff --git a/dist/pages/home/index.js b/dist/pages/home/index.js index 02a50ca..4a4c6d8 100644 --- a/dist/pages/home/index.js +++ b/dist/pages/home/index.js @@ -599,7 +599,7 @@ const system = { /* 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 _tarojs_components__WEBPACK_IMPORTED_MODULE_5__ = __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 uqrcodejs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! uqrcodejs */ "./node_modules/.pnpm/uqrcodejs@4.0.7/node_modules/uqrcodejs/uqrcode.js"); +/* harmony import */ var uqrcodejs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! uqrcodejs */ "webpack/container/remote/uqrcodejs"); /* harmony import */ var uqrcodejs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(uqrcodejs__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @tarojs/taro */ "webpack/container/remote/@tarojs/taro"); /* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tarojs_taro__WEBPACK_IMPORTED_MODULE_2__); @@ -815,50 +815,6 @@ const isObject = obj => { // extracted by mini-css-extract-plugin -/***/ }), - -/***/ "./node_modules/.pnpm/uqrcodejs@4.0.7/node_modules/uqrcodejs/uqrcode.js": -/*!******************************************************************************!*\ - !*** ./node_modules/.pnpm/uqrcodejs@4.0.7/node_modules/uqrcodejs/uqrcode.js ***! - \******************************************************************************/ -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -/* provided dependency */ var window = __webpack_require__(/*! @tarojs/runtime */ "webpack/container/remote/@tarojs/runtime")["window"]; -//--------------------------------------------------------------------- -// uQRCode二维码生成插件 v4.0.7 -// -// uQRCode是一款基于Javascript环境开发的二维码生成插件,适用所有Javascript运行环境的前端应用和Node.js。 -// -// Copyright (c) Sansnn uQRCode All rights reserved. -// -// Licensed under the Apache License, Version 2.0. -// http://www.apache.org/licenses/LICENSE-2.0 -// -// github地址: -// https://github.com/Sansnn/uQRCode -// -// npm地址: -// https://www.npmjs.com/package/uqrcodejs -// -// uni-app插件市场地址: -// https://ext.dcloud.net.cn/plugin?id=1287 -// -// 复制使用请保留本段注释,感谢支持开源! -// -//--------------------------------------------------------------------- - -//--------------------------------------------------------------------- -// 当前文件格式为 umd,通用模块定义,生成的包同时支持 amd、cjs 和 iife 三种格式 -// 如需在其他环境使用,请获取环境对应的格式文件 -// 格式说明: -// amd - 异步模块定义,适用于 RequireJS 等模块加载器 -// cjs - CommonJS,适用于 Node 环境和其他打包工具(别名:commonjs) -// es - 将 bundle 保留为 ES 模块文件,适用于其他打包工具以及支持