123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- "use strict";
- require("../../prebundle/vendors-node_modules_taro_weapp_prebundle_react-dom_js.js");
- require("../../prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-MTR4XPV4_js.js");
- require("../../prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-SX7RUVFK_js.js");
- require("../../prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-framework-react_dist_runtime_js.js");
- require("../../prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_taro_js.js");
- require("../../prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-platform-weapp_dist_runtime_js.js");
- require("../../prebundle/node_modules_taro_weapp_prebundle_tarojs_runtime_js.js");
- require("../../prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js.js");
- require("../../prebundle/remoteEntry.js");
- require("../../prebundle/node_modules_taro_weapp_prebundle_react_jsx-runtime_js.js");
- require("../../prebundle/node_modules_taro_weapp_prebundle_react_js.js");
- require("../../taro");
- require("../../runtime");
- (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["plugin/pages/webview/index"],{
- /***/ "./node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=plugin/pages/webview/index!./src/plugin/pages/webview/index.tsx":
- /*!**********************************************************************************************************************************!*\
- !*** ./node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=plugin/pages/webview/index!./src/plugin/pages/webview/index.tsx ***!
- \**********************************************************************************************************************************/
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- /* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tarojs/taro */ "webpack/container/remote/@tarojs/taro");
- /* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tarojs_taro__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony import */ var _tarojs_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @tarojs/components */ "./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
- /* 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__ = __webpack_require__(/*! react/jsx-runtime */ "webpack/container/remote/react/jsx-runtime");
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__);
- var count = 0;
- var Webview = function Webview() {
- (0,_tarojs_taro__WEBPACK_IMPORTED_MODULE_0__.useDidShow)(function () {
- _tarojs_taro__WEBPACK_IMPORTED_MODULE_0___default().navigateToMiniProgram({
- appId: 'wxdd07a068bf2e6ef4',
- path: 'pages/middlepage/middlepage?paramKey=fdc2ab9b532143aea717520b5f9b8f10'
- });
- count++;
- console.log(count);
- if (count > 1) {
- _tarojs_taro__WEBPACK_IMPORTED_MODULE_0___default().navigateBack();
- }
- });
- (0,_tarojs_taro__WEBPACK_IMPORTED_MODULE_0__.useUnload)(function () {
- count = 0;
- });
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_3__.View, {
- children: "\u5168\u5C4F\u5C0F\u7A0B\u5E8F"
- });
- };
- /* harmony default export */ __webpack_exports__["default"] = (Webview);
- /***/ }),
- /***/ "./src/plugin/pages/webview/index.tsx":
- /*!********************************************!*\
- !*** ./src/plugin/pages/webview/index.tsx ***!
- \********************************************/
- /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
- /* harmony import */ var _tarojs_plugin_platform_weapp_dist_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tarojs/plugin-platform-weapp/dist/runtime */ "webpack/container/remote/@tarojs/plugin-platform-weapp/dist/runtime");
- /* harmony import */ var _tarojs_plugin_platform_weapp_dist_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tarojs_plugin_platform_weapp_dist_runtime__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony import */ var _tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tarojs/plugin-framework-react/dist/runtime */ "webpack/container/remote/@tarojs/plugin-framework-react/dist/runtime");
- /* harmony import */ var _tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_1__);
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
- /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-dom */ "webpack/container/remote/react-dom");
- /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_3__);
- var component = (__webpack_require__(/*! !!../../../../node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=plugin/pages/webview/index!./index.tsx */ "./node_modules/@tarojs/taro-loader/lib/entry-cache.js?name=plugin/pages/webview/index!./src/plugin/pages/webview/index.tsx")["default"])
- var config = {"isNewBlended":false};
- var inst = Component((0,_tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_1__.createNativeComponentConfig)(component, react__WEBPACK_IMPORTED_MODULE_2__, (react_dom__WEBPACK_IMPORTED_MODULE_3___default()), config))
- /* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = (component);
- /***/ })
- },
- /******/ function(__webpack_require__) { // webpackRuntimeModules
- /******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
- /******/ __webpack_require__.O(0, ["plugin/taro","plugin/common"], function() { return __webpack_exec__("./src/plugin/pages/webview/index.tsx"); });
- /******/ var __webpack_exports__ = __webpack_require__.O();
- /******/ }
- ]);;;
- //# sourceMappingURL=index.js.map
|