This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // 固定参数 | |
| define('KEY', '01234567890123456789012345678901'); | |
| define('IV', '0123456789012345'); | |
| // 加密函数 | |
| function encrypt($plainText) { | |
| $encrypted = openssl_encrypt($plainText, 'aes-256-cbc', KEY, OPENSSL_RAW_DATA, IV); | |
| return base64_encode($encrypted); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $publicKey = '-----BEGIN PUBLIC KEY----- | |
| MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvbod3xtTGtYlWQYrhfIM | |
| xnRaEBWnN3HO1dxbkjR1Q7LdVts7Gyih2dqDZP9iJDKqwNRjdwyQLFhlo0dwGsXt | |
| AkqFEKbtnRYjL54MvekBvjZc/nJgfzaqw8gWuV79eDK2tybn9RfjnozfnMx17QJO | |
| PKSB3LV7YkH+JyWW9dpIRmRucZDM4J7tXeFaat9yZzUkHEVZiKp1qzMIjR6s0zh/ | |
| 6PPoqj1BYlYKAoRlZj/HY51rUT2ydNgwJ5sGjYEHhSZDfa3LJt5Ufaf9xwE6xZe8 | |
| LD1dcqwfyRAxwgejDL4si6kGaNUtc1Jrm+Jho5UNfTTrHjn5IjF4kHxklpTu6iJ2 | |
| 6wIDAQAB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>修正后的垂直色带</title> | |
| <script src="https://cdn.plot.ly/plotly-3.0.1.min.js"></script> | |
| <style> | |
| #colorbar { | |
| width: 80px; /* 整体宽度 */ | |
| height: 500px; /* 整体高度 */ | |
| margin-left: 0; /* 确保靠左 */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div class="container"> | |
| <!-- 保存按钮 --> | |
| <div class="save-button-container"> | |
| <el-button type="primary" @click="saveConfig">保存配置</el-button> | |
| </div> | |
| <!-- 左侧元素区 --> | |
| <el-container class="left-panel"> | |
| <el-header>元素库</el-header> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $title = $title??'文档'; | |
| ?> | |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title><?=$title?></title> | |
| <link href="/static/js/bs5/css/bootstrap.min.css" rel="stylesheet" > |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/luckysheet@latest/dist/plugins/css/pluginsCss.css' /> | |
| <link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/luckysheet@latest/dist/plugins/plugins.css' /> | |
| <link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/luckysheet@latest/dist/css/luckysheet.css' /> | |
| <link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/luckysheet@latest/dist/assets/iconfont/iconfont.css' /> | |
| <script src="https://cdn.jsdelivr.net/npm/luckysheet@latest/dist/plugins/js/plugin.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/luckysheet@latest/dist/luckysheet.umd.js"></script> | |
| <div id="luckysheet" style="margin:0px;padding:0px;position:absolute;width:100%;height:100%;left: 0px;top: 0px;"></div> | |
| <script> |