This commit is contained in:
2025-09-14 00:21:54 +08:00
commit d40b3bbd62
766 changed files with 36275 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
.input {
margin: 15px auto;
width: 80%;
/* border-bottom: 1px solid black; */
}
.text {
margin: 15px auto;
width: 80%;
}

View File

@@ -0,0 +1,21 @@
Page({
data: {
value: '',
},
onShareAppMessage() {
return {
title: 'eval',
path: 'packageAPI/pages/eval/eval',
};
},
handle() {
const self = this;
self.setData({ value: '' });
if (!globalThis.eval) {
self.setData({ value: '不支持' });
} else {
self.setData({ value: '支持' });
}
},
});

View File

@@ -0,0 +1,4 @@
{
"usingComponents": {},
"navigationBarTitleText": "eval"
}

View File

@@ -0,0 +1,11 @@
<view class="container">
<template is="head" data="{{title: 'eval'}}" />
<view class="page-body">
<view class="page-section">
<text>
{{value}}
</text>
<button bindtap="handle">执行eval</button>
</view>
</view>
</view>