You need to sign in before continuing.
CommonConstant.java 1.02 KB
package com.xly.constant;

/**
 * 全局通用常量
 * 包含大模型解析提示语、请求头、资源前缀等
 */
public class CommonConstant {
    //重置方法
    public static final String RESET = "<button \n" +
            "    data-action=\"reset\" \n" +
            "    style=\"\n" +
            "        background: linear-gradient(135deg, #1677ff, #4096ff);\n" +
            "        color: white;\n" +
            "        border: none;\n" +
            "        padding: 6px 14px;\n" +
            "        border-radius: 6px;\n" +
            "        cursor: pointer;\n" +
            "        font-size: 12px;\n" +
            "        font-weight: 500;\n" +
            "        transition: all 0.3s ease;\n" +
            "    \"\n" +
            "    data-text=\"重置\"\n" +
            "    onclick=\"reset('重置')\"\n" +
            "    onmouseover=\"this.style.opacity='0.8'\"\n" +
            "    onmouseout=\"this.style.opacity='1'\">\n" +
            "    重置\n" +
            "</button> 复位 \n\n";

}