From a572b44a809f287faba2848e53065d16cbd448a8 Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Mon, 18 Nov 2024 16:06:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=9C=E4=BA=8B=E6=93=8D=E4=BD=9C=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=97=85=E8=99=AB=E5=AE=B3=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=AF=8C=E6=96=87=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/massif/pestType.vue | 41 +- uni_modules/mp-html/README.md | 194 +++ uni_modules/mp-html/changelog.md | 150 ++ .../mp-html/components/mp-html/mp-html.vue | 498 ++++++ .../mp-html/components/mp-html/node/node.vue | 587 +++++++ .../mp-html/components/mp-html/parser.js | 1393 +++++++++++++++++ uni_modules/mp-html/package.json | 76 + .../static/app-plus/mp-html/js/handler.js | 1 + .../app-plus/mp-html/js/uni.webview.min.js | 1 + .../static/app-plus/mp-html/local.html | 1 + 10 files changed, 2913 insertions(+), 29 deletions(-) create mode 100644 uni_modules/mp-html/README.md create mode 100644 uni_modules/mp-html/changelog.md create mode 100644 uni_modules/mp-html/components/mp-html/mp-html.vue create mode 100644 uni_modules/mp-html/components/mp-html/node/node.vue create mode 100644 uni_modules/mp-html/components/mp-html/parser.js create mode 100644 uni_modules/mp-html/package.json create mode 100644 uni_modules/mp-html/static/app-plus/mp-html/js/handler.js create mode 100644 uni_modules/mp-html/static/app-plus/mp-html/js/uni.webview.min.js create mode 100644 uni_modules/mp-html/static/app-plus/mp-html/local.html diff --git a/pages/massif/pestType.vue b/pages/massif/pestType.vue index 8b6b563..a221cd6 100644 --- a/pages/massif/pestType.vue +++ b/pages/massif/pestType.vue @@ -2,8 +2,8 @@ .container{ height:100%; scroll-view{ - flex-grow: 1; - height:1rpx; + flex-shrink: 0; + // height:1rpx; margin:0 30rpx; width:calc(100% - 60rpx); .items{ @@ -30,7 +30,11 @@ } } } - + &>.content{ + flex-grow: 1; + margin:10rpx 30rpx; + overflow: auto; + } } + + diff --git a/uni_modules/mp-html/components/mp-html/node/node.vue b/uni_modules/mp-html/components/mp-html/node/node.vue new file mode 100644 index 0000000..09252fd --- /dev/null +++ b/uni_modules/mp-html/components/mp-html/node/node.vue @@ -0,0 +1,587 @@ +