自动发帖软件

标题: AIWROK软件H5交互演示安卓通用黄色主题 [打印本页]

作者: 发帖软件    时间: 3 小时前
标题: AIWROK软件H5交互演示安卓通用黄色主题
AIWROK软件H5交互演示安卓通用黄色主题 AIWROK软件H5交互演示安卓通用黄色主题 群发软件发帖工具


AIWROK软件H5交互演示安卓通用黄色主题 群发软件发帖工具




  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>AIWROK H5交互演示 - 黄色主题</title>
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  7.     <style>
  8.         /* 全局样式重置 */
  9.         * {
  10.             margin: 0;
  11.             padding: 0;
  12.             box-sizing: border-box;
  13.         }

  14.         /* 黄色主题配色方案 */
  15.         :root {
  16.             --primary-color: #FFD700; /* 金黄色 */
  17.             --secondary-color: #FFA500; /* 橙黄色 */
  18.             --accent-color: #FF6B00; /* 橙红色 */
  19.             --dark-color: #333333;
  20.             --light-color: #FFFFFF;
  21.             --gray-color: #666666;
  22.             --success-color: #4CAF50;
  23.             --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  24.             --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  25.         }

  26.         /* 全局背景和字体 */
  27.         body {
  28.             background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 100%);
  29.             color: var(--dark-color);
  30.             font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  31.             line-height: 1.6;
  32.             padding: 20px;
  33.             min-height: 100vh;
  34.             background-attachment: fixed;
  35.         }

  36.         /* 主容器 */
  37.         .container {
  38.             max-width: 800px;
  39.             margin: 0 auto;
  40.             background: var(--light-color);
  41.             border-radius: 20px;
  42.             padding: 40px;
  43.             box-shadow: var(--shadow);
  44.             animation: fadeInUp 0.6s ease-out;
  45.         }

  46.         /* 标头容器样式 */
  47.         .header {
  48.             text-align: center;
  49.             margin-bottom: 50px;
  50.             padding: 30px 20px;
  51.             background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
  52.             border-radius: 15px;
  53.             border: 2px solid rgba(255, 215, 0, 0.2);
  54.             position: relative;
  55.             overflow: hidden;
  56.             animation: fadeInUp 0.8s ease-out;
  57.         }

  58.         /* 标头装饰元素 */
  59.         .header::before {
  60.             content: '';
  61.             position: absolute;
  62.             top: -50%;
  63.             left: -50%;
  64.             width: 200%;
  65.             height: 200%;
  66.             background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  67.             animation: float 6s ease-in-out infinite;
  68.         }

  69.         /* 标头logo */
  70.         .header-logo {
  71.             position: relative;
  72.             display: inline-block;
  73.             width: 80px;
  74.             height: 80px;
  75.             margin-bottom: 20px;
  76.             z-index: 1;
  77.         }

  78.         .logo-circle {
  79.             position: absolute;
  80.             top: 0;
  81.             left: 0;
  82.             width: 100%;
  83.             height: 100%;
  84.             border-radius: 50%;
  85.             background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  86.             box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
  87.             animation: pulse 2s infinite;
  88.         }

  89.         .logo-text {
  90.             position: absolute;
  91.             top: 50%;
  92.             left: 50%;
  93.             transform: translate(-50%, -50%);
  94.             font-size: 2rem;
  95.             font-weight: 800;
  96.             color: var(--dark-color);
  97.             text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  98.         }

  99.         /* 标头标题 */
  100.         .header-title {
  101.             position: relative;
  102.             color: var(--primary-color);
  103.             font-size: 2.8rem;
  104.             font-weight: 800;
  105.             margin-bottom: 10px;
  106.             text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.15);
  107.             letter-spacing: 1px;
  108.             z-index: 1;
  109.         }

  110.         /* 标头副标题 */
  111.         .header-subtitle {
  112.             position: relative;
  113.             color: var(--gray-color);
  114.             font-size: 1.2rem;
  115.             font-weight: 500;
  116.             margin-bottom: 20px;
  117.             z-index: 1;
  118.         }

  119.         /* 标头装饰线 */
  120.         .header-divider {
  121.             position: relative;
  122.             width: 120px;
  123.             height: 4px;
  124.             background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  125.             border-radius: 2px;
  126.             margin: 0 auto 20px;
  127.             box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
  128.             z-index: 1;
  129.         }

  130.         /* 装饰线动画 */
  131.         .header-divider::before {
  132.             content: '';
  133.             position: absolute;
  134.             top: -2px;
  135.             left: -2px;
  136.             right: -2px;
  137.             bottom: -2px;
  138.             background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  139.             border-radius: 4px;
  140.             z-index: -1;
  141.             animation: shimmer 2s infinite;
  142.         }

  143.         /* 标题悬浮动画 */
  144.         @keyframes float {
  145.             0%, 100% { transform: rotate(0deg) translate(0, 0); }
  146.             50% { transform: rotate(5deg) translate(10px, -10px); }
  147.         }

  148.         /* 光泽动画 */
  149.         @keyframes shimmer {
  150.             0% { background-position: -100% 0; }
  151.             100% { background-position: 100% 0; }
  152.         }

  153.         /* 标题样式(保持兼容) */
  154.         h1 {
  155.             color: var(--primary-color);
  156.             text-align: center;
  157.             font-size: 2.5rem;
  158.             margin-bottom: 40px;
  159.             font-weight: 700;
  160.             text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  161.             animation: pulse 2s infinite;
  162.         }

  163.         /* 表单组样式 */
  164.         .form-group {
  165.             margin-bottom: 30px;
  166.             animation: fadeInUp 0.6s ease-out var(--delay);
  167.         }

  168.         /* 标签样式 */
  169.         label {
  170.             display: block;
  171.             font-size: 1.2rem;
  172.             font-weight: 600;
  173.             margin-bottom: 10px;
  174.             color: var(--gray-color);
  175.             transition: var(--transition);
  176.         }

  177.         /* 输入控件样式 */
  178.         input[type="text"],
  179.         select {
  180.             width: 100%;
  181.             padding: 15px 20px;
  182.             font-size: 1rem;
  183.             border: 2px solid #e0e0e0;
  184.             border-radius: 12px;
  185.             background: var(--light-color);
  186.             transition: var(--transition);
  187.             box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
  188.         }

  189.         /* 输入控件聚焦效果 */
  190.         input[type="text"]:focus,
  191.         select:focus {
  192.             outline: none;
  193.             border-color: var(--primary-color);
  194.             box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1), inset 0 2px 8px rgba(0, 0, 0, 0.05);
  195.             transform: translateY(-2px);
  196.         }

  197.         /* 单选框和复选框容器 */
  198.         .radio-group,
  199.         .checkbox-group {
  200.             display: flex;
  201.             flex-wrap: wrap;
  202.             gap: 20px;
  203.             margin-top: 10px;
  204.         }

  205.         /* 单选框和复选框项 */
  206.         .radio-item,
  207.         .checkbox-item {
  208.             display: flex;
  209.             align-items: center;
  210.             gap: 8px;
  211.             cursor: pointer;
  212.             transition: var(--transition);
  213.             padding: 10px 15px;
  214.             border-radius: 8px;
  215.             border: 2px solid transparent;
  216.         }

  217.         /* 单选框和复选框悬停效果 */
  218.         .radio-item:hover,
  219.         .checkbox-item:hover {
  220.             background: rgba(255, 215, 0, 0.1);
  221.             border-color: rgba(255, 215, 0, 0.3);
  222.         }

  223.         /* 单选框和复选框样式 */
  224.         input[type="radio"],
  225.         input[type="checkbox"] {
  226.             width: 20px;
  227.             height: 20px;
  228.             accent-color: var(--primary-color);
  229.             cursor: pointer;
  230.         }

  231.         /* 按钮容器 */
  232.         .button-container {
  233.             display: grid;
  234.             grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  235.             gap: 15px;
  236.             margin-top: 40px;
  237.         }

  238.         /* 按钮样式 */
  239.         button {
  240.             position: relative;
  241.             padding: 18px 24px;
  242.             font-size: 1rem;
  243.             font-weight: 600;
  244.             color: var(--dark-color);
  245.             background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  246.             border: none;
  247.             border-radius: 12px;
  248.             cursor: pointer;
  249.             transition: var(--transition);
  250.             box-shadow: var(--shadow);
  251.             overflow: hidden;
  252.             text-transform: uppercase;
  253.             letter-spacing: 0.5px;
  254.         }

  255.         /* 按钮悬停效果 */
  256.         button:hover {
  257.             transform: translateY(-3px);
  258.             box-shadow: 0 12px 40px rgba(255, 215, 0, 0.3);
  259.         }

  260.         /* 按钮点击效果 */
  261.         button:active {
  262.             transform: translateY(-1px);
  263.         }

  264.         /* 按钮动画效果 */
  265.         button::before {
  266.             content: '';
  267.             position: absolute;
  268.             top: 0;
  269.             left: -100%;
  270.             width: 100%;
  271.             height: 100%;
  272.             background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  273.             transition: var(--transition);
  274.         }

  275.         /* 按钮动画触发 */
  276.         button:hover::before {
  277.             left: 100%;
  278.         }

  279.         /* 成功状态按钮 */
  280.         button.success {
  281.             background: linear-gradient(135deg, var(--success-color) 0%, #45a049 100%);
  282.             color: var(--light-color);
  283.         }

  284.         /* 警告状态按钮 */
  285.         button.warning {
  286.             background: linear-gradient(135deg, var(--accent-color) 0%, #ff5722 100%);
  287.             color: var(--light-color);
  288.         }

  289.         /* 页面加载动画 */
  290.         @keyframes fadeInUp {
  291.             from {
  292.                 opacity: 0;
  293.                 transform: translateY(30px);
  294.             }
  295.             to {
  296.                 opacity: 1;
  297.                 transform: translateY(0);
  298.             }
  299.         }

  300.         /* 标题脉冲动画 */
  301.         @keyframes pulse {
  302.             0%, 100% {
  303.                 transform: scale(1);
  304.             }
  305.             50% {
  306.                 transform: scale(1.05);
  307.             }
  308.         }

  309.         /* 渐变背景动画 */
  310.         @keyframes gradientShift {
  311.             0% {
  312.                 background-position: 0% 50%;
  313.             }
  314.             50% {
  315.                 background-position: 100% 50%;
  316.             }
  317.             100% {
  318.                 background-position: 0% 50%;
  319.             }
  320.         }

  321.         /* 响应式设计 */
  322.         @media (max-width: 768px) {
  323.             .container {
  324.                 padding: 20px;
  325.             }

  326.             h1 {
  327.                 font-size: 2rem;
  328.             }

  329.             .button-container {
  330.                 grid-template-columns: 1fr;
  331.             }
  332.         }

  333.         /* 表单组延迟动画 */
  334.         .form-group:nth-child(1) { --delay: 0.1s; }
  335.         .form-group:nth-child(2) { --delay: 0.2s; }
  336.         .form-group:nth-child(3) { --delay: 0.3s; }
  337.         .form-group:nth-child(4) { --delay: 0.4s; }

  338.         /* 加载特效样式 */
  339.         .loader-container {
  340.             position: fixed;
  341.             top: 0;
  342.             left: 0;
  343.             width: 100%;
  344.             height: 100%;
  345.             background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 100%);
  346.             display: flex;
  347.             flex-direction: column;
  348.             justify-content: center;
  349.             align-items: center;
  350.             z-index: 9999;
  351.             transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
  352.         }

  353.         .loader {
  354.             position: relative;
  355.             width: 120px;
  356.             height: 120px;
  357.             margin-bottom: 20px;
  358.         }

  359.         .loader-ring {
  360.             position: absolute;
  361.             top: 0;
  362.             left: 0;
  363.             width: 100%;
  364.             height: 100%;
  365.             border: 4px solid transparent;
  366.             border-top: 4px solid var(--primary-color);
  367.             border-radius: 50%;
  368.             animation: spin 1.5s linear infinite;
  369.         }

  370.         .loader-ring:nth-child(2) {
  371.             width: 80%;
  372.             height: 80%;
  373.             top: 10%;
  374.             left: 10%;
  375.             border-top: 4px solid var(--secondary-color);
  376.             animation: spin 2s linear infinite reverse;
  377.         }

  378.         .loader-ring:nth-child(3) {
  379.             width: 60%;
  380.             height: 60%;
  381.             top: 20%;
  382.             left: 20%;
  383.             border-top: 4px solid var(--accent-color);
  384.             animation: spin 1s linear infinite;
  385.         }

  386.         @keyframes spin {
  387.             0% { transform: rotate(0deg); }
  388.             100% { transform: rotate(360deg); }
  389.         }

  390.         .loader-text {
  391.             font-size: 2rem;
  392.             font-weight: 700;
  393.             color: var(--primary-color);
  394.             text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  395.             animation: pulse 2s infinite;
  396.             letter-spacing: 2px;
  397.         }

  398.         /* 加载完成后隐藏加载器 */
  399.         .loader-container.hidden {
  400.             opacity: 0;
  401.             visibility: hidden;
  402.         }
  403.     </style>
  404.     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  405. </head>

  406. <body>
  407.     <!-- 加载特效 -->
  408.     <div class="loader-container">
  409.         <div class="loader">
  410.             <div class="loader-ring"></div>
  411.             <div class="loader-ring"></div>
  412.             <div class="loader-ring"></div>
  413.         </div>
  414.         <div class="loader-text">AIWROK</div>
  415.     </div>
  416.    
  417.     <div class="container">
  418.         <!-- 新标头 -->
  419.         <div class="header">
  420.             <div class="header-logo">
  421.                 <div class="logo-circle"></div>
  422.                 <div class="logo-text">A</div>
  423.             </div>
  424.             <div class="header-divider"></div>
  425.             <h1 class="header-title">AIWROK</h1>
  426.             <p class="header-subtitle">交流QQ群711841924群</p>
  427.         </div>
  428.         
  429.         <form>
  430.             <!-- 文本框 -->
  431.             <div class="form-group">
  432.                 <label for="input1">输入框</label>
  433.                 <input type="text" id="input1" name="input1" value="我是输入框" placeholder="请输入内容...">
  434.             </div>

  435.             <!-- 单选按钮 -->
  436.             <div class="form-group">
  437.                 <label>单选按钮</label>
  438.                 <div class="radio-group">
  439.                     <div class="radio-item">
  440.                         <input type="radio" id="radio1" name="radiogroup" value="radio1" checked>
  441.                         <label for="radio1">选项1</label>
  442.                     </div>
  443.                     <div class="radio-item">
  444.                         <input type="radio" id="radio2" name="radiogroup" value="radio2">
  445.                         <label for="radio2">选项2</label>
  446.                     </div>
  447.                     <div class="radio-item">
  448.                         <input type="radio" id="radio3" name="radiogroup" value="radio3">
  449.                         <label for="radio3">选项3</label>
  450.                     </div>
  451.                 </div>
  452.             </div>

  453.             <!-- 复选框 -->
  454.             <div class="form-group">
  455.                 <label>复选框</label>
  456.                 <div class="checkbox-group">
  457.                     <div class="checkbox-item">
  458.                         <input type="checkbox" id="check1" name="check1" value="check1" checked>
  459.                         <label for="check1">选项1</label>
  460.                     </div>
  461.                     <div class="checkbox-item">
  462.                         <input type="checkbox" id="check2" name="check2" value="check2">
  463.                         <label for="check2">选项2</label>
  464.                     </div>
  465.                     <div class="checkbox-item">
  466.                         <input type="checkbox" id="check3" name="check3" value="check3">
  467.                         <label for="check3">选项3</label>
  468.                     </div>
  469.                 </div>
  470.             </div>

  471.             <!-- 下拉框 -->
  472.             <div class="form-group">
  473.                 <label for="dropdown">下拉框</label>
  474.                 <select id="dropdown" name="dropdown">
  475.                     <option value="option1">选项1</option>
  476.                     <option value="option2">选项2</option>
  477.                     <option value="option3">选项3</option>
  478.                     <option value="option4">选项4</option>
  479.                 </select>
  480.             </div>

  481.             <!-- 功能按钮组 -->
  482.             <div class="button-container">
  483.                 <button type="button" onclick="if(window.at && window.at.callFun){window.at.callFun('main','hello');window.at.callFun('main',JSON.stringify({action:'showToast',message:'调用原生方法成功'}));}else{alert('调用原生方法失败:window.at.callFun 不可用');}">调用原生方法</button>
  484.                
  485.                 <button type="button" onclick="if(window.at && window.at.runJs){window.at.runJs('function webjs(){if(typeof printl!==\'undefined\'){printl(\'你好\');}}');window.at.callFun('main',JSON.stringify({action:'showToast',message:'执行脚本代码成功'}));}else{alert('执行脚本代码失败:window.at.runJs 不可用');}">执行脚本代码</button>
  486.                
  487.                 <button type="button" onclick="if(window.at && window.at.runJsFile){window.at.runJsFile('主脚本.js');window.at.callFun('main',JSON.stringify({action:'showToast',message:'执行脚本文件成功'}));}else{alert('执行脚本文件失败:window.at.runJsFile 不可用');}">执行脚本文件</button>
  488.                
  489.                 <button type="button" onclick="var inputValue=document.getElementById('input1').value;if(window.at && window.at.runJs){window.at.runJs('function webjs(){var h5InputValue=\''+inputValue+'\';if(typeof printl!==\'undefined\'){printl(\'从H5接收到的值: \'+h5InputValue);}}');window.at.callFun('main',JSON.stringify({action:'showToast',message:'传递文本框值成功'}));}else{alert('传递控件值失败:window.at.runJs 不可用');}">传递文本框值</button>
  490.                
  491.                 <button type="button" onclick="var check1=document.getElementById('check1').checked;var check2=document.getElementById('check2').checked;var check3=document.getElementById('check3').checked;var data={action:'showCheckbox',selected:[check1?'选项1':'',check2?'选项2':'',check3?'选项3':''].filter(Boolean)};if(window.at && window.at.callFun){window.at.callFun('main',JSON.stringify(data));window.at.callFun('main',JSON.stringify({action:'showToast',message:'传递复选框状态成功'}));}else{alert('传递复选框状态失败');}">传递复选框状态</button>
  492.                
  493.                 <button type="button" onclick="var radios=document.getElementsByName('radiogroup');var selected='';for(var i=0;i<radios.length;i++){if(radios[i].checked){selected=radios[i].value;break;}}var data={action:'showRadio',value:selected};if(window.at && window.at.callFun){window.at.callFun('main',JSON.stringify(data));window.at.callFun('main',JSON.stringify({action:'showToast',message:'传递单选框状态成功'}));}else{alert('传递单选框状态失败');}">传递单选框状态</button>
  494.                
  495.                 <button type="button" onclick="var select=document.getElementById('dropdown');var value=select.options[select.selectedIndex].value;var data={action:'showDropdown',value:value};if(window.at && window.at.callFun){window.at.callFun('main',JSON.stringify(data));window.at.callFun('main',JSON.stringify({action:'showToast',message:'传递下拉框状态成功'}));}else{alert('传递下拉框状态失败');}">传递下拉框状态</button>
  496.                
  497.                 <button type="button" onclick="var message='这是一个来自H5的消息';var data={action:'showToast',message:message};if(window.at && window.at.callFun){window.at.callFun('main',JSON.stringify(data));}else{alert('显示吐司失败');}">显示吐司消息</button>
  498.             </div>
  499.         </form>
  500.     </div>

  501.     <!-- 页面加载完成通知 -->
  502.     <script>
  503.         // 页面加载完成后通知原生并隐藏加载特效
  504.         window.onload = function() {
  505.             // 隐藏加载特效
  506.             setTimeout(function() {
  507.                 var loader = document.querySelector('.loader-container');
  508.                 if (loader) {
  509.                     loader.classList.add('hidden');
  510.                 }
  511.             }, 1000);
  512.             
  513.             // 通知原生应用
  514.             if (window.at && window.at.callFun) {
  515.                 window.at.callFun('main', JSON.stringify({ action: 'pageLoaded' }));
  516.             }
  517.         };
  518.     </script>
  519. </body>
  520. </html>
复制代码












欢迎光临 自动发帖软件 (http://www.fatiegongju.com/) Powered by Discuz! X3.2