Val.trim())) { $.ajax("/ajax/isRegOrg", { data: { "email": companyEmailVal }, type: "GET", dataType: 'json', async: false, success: function($data) { console.log($data) if($data.data == false) { $(".msgBind1").prev().addClass("frmmsg-warning"); $(".msgBind1 span").text("该邮箱已绑定,请使用其他邮箱"); } else { $(".msgBind1").prev().removeClass("frmmsg-warning"); $(".msgBind1 span").text(""); setemail = true; } }, error: function() { $.MsgBox.Alert('提示', '服务器请求失败') }, }); } else { $(".msgBind1").prev().addClass("frmmsg-warning"); $(".msgBind1 span").text("请输入正确是邮箱地址"); } } function reqBindOrgMail() { if(setemail) { $.ajax("/ajax/reqBindOrgMail", { data: { "id": orgid, "mail": companyEmailVal }, type: "GET", dataType: 'json', async: false, success: function($data) { console.log($data) if($data.data) { $("#emailone").addClass("displayNone"); $("#emailtwo").removeClass("displayNone"); $("#emailShow").text(companyEmailVal); $("#emailGo").on("click", function() { var url = companyEmailVal.split('@')[1]; for(var j in hash) { if(hash[url]==undefined){ window.open("http://mail." + url); }else{ $(this).attr("href", hash[url]); window.open(hash[url]); } } location.reload(true); }); } else { $.MsgBox.Alert('提示', '发送邮箱验证失败') } }, error: function() { $.MsgBox.Alert('提示', '服务器请求失败') }, }); }else{ checkEmail(); } } function showEmail() { $.ajax("/ajax/orgUser/orgEmail", { data: { "id": orgid }, type: "GET", dataType: 'json', async: false, success: function($data) { console.log($data) if($data.success) { var orgEmail = $data.data; emailhome(orgEmail); $("#orgEmail").text(emailCookieshow); } }, error: function() { $.MsgBox.Alert('提示', '服务器请求失败') }, }); } }) XMTT/markdown-wiki - Gogs: Go Git Service

1 Commits (2d914b30acbb37ad671791c07c14a6c923e99fd8)

Author SHA1 Message Date
  huwhois 9452c0b107 编辑调整 3 years ago
jiapeng/portal-front - Gogs: Go Git Service

1 Commity (17c6d74f74a7ea4309f7398d3b135e0dc38f28ba)

Autor SHA1 Wiadomość Data
  jiapeng c5d9752792 --init 8 lat temu
portal-front - Gogs: Go Git Service

portal html css js resource

info_warn.png 1.3KB

ekexiu.app - Gogs: Go Git Service

Нет описания

chat-assess.html 3.5KB

    <!doctype html> <html lang="en" class="feedback"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> <title></title> <link rel="stylesheet" type="text/css" href="../css/mui.min.css" /> <link href="../css/iconfont.css" rel="stylesheet" /> <link rel="stylesheet" type="text/css" href="../css/app.css" /> <style> #textbox { position: relative; } .text_count { position: absolute; right: 0; bottom: 0; font-size: 12px; } </style> </head> <body> <header class="mui-bar mui-bar-nav toptitbox"> <!--mui-action-back--> <span class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left topback"></span> <h1 class="mui-title toptit">评价</h1> <span id="submit" class="mui-pull-right topsave">发送</span> </header> <div class="mui-content"> <div class="assessbox"> <div class="mui-content-padded "> <div class="mui-inline">整体评价</div> <div class="icons mui-inline levelbox" style="margin-left: 6px;" id="starContainer"> <span data-index="1" class="mui-icon iconfont icon-favor"></span> <span data-index="2" class="mui-icon iconfont icon-favor"></span> <span data-index="3" class="mui-icon iconfont icon-favor"></span> <span data-index="4" class="mui-icon iconfont icon-favor"></span> <span data-index="5" class="mui-icon iconfont icon-favor"></span> </div> </div> <div class="mui-content-padded"> <div class="mui-inline">评价留言</div> </div> <div class="row mui-input-row" id="textbox"> <div id='question' class="mui-input-clear question textareabox" contenteditable="true"></div> <div class="text_count"><span><span id="text-count">0</span>/300字</span></div> <input type="text" value="0" style="display: none;" id="inp"/> </div> </div> </div> <script src="../js/public/mui.min.js"></script> <script src="../js/public/base.js"></script> <script src="../js/chat-assess.js"></script> <script type="text/javascript"> mui.init(); mui('.mui-scroll-wrapper').scroll(); (function() { var index = 1; var size = null; var imageIndexIdNum = 0; var starIndex = 0; var feedback = { question: document.getElementById('question'), submitBtn: document.getElementById('submit') }; /** *提交成功之后,恢复表单项 */ feedback.clearForm = function() { feedback.question.value = ''; index = 0; size = 0; imageIndexIdNum = 0; starIndex = 0; //清除所有星标 mui('.icons span').each(function (index,element) { if (element.classList.contains('icon-favorfill')) { element.classList.add('icon-favor') element.classList.remove('icon-favorfill') } }) }; //应用评分 mui('.icons').on('tap','span',function(){ var index = parseInt(this.getAttribute("data-index")); var parent = this.parentNode; var children = parent.children; if(this.classList.contains("icon-favor")){ for(var i=0;i<index;i++){ children[i].classList.remove('icon-favor'); children[i].classList.add('icon-favorfill'); } }else{ for (var i = index; i < 5; i++) { children[i].classList.add('icon-favor') children[i].classList.remove('icon-favorfill') } } starIndex = index; }); })(); </script> </body> </html>
XMTT/markdown-wiki - Gogs: Go Git Service

1 Commits (master)

Auteur SHA1 Message Date
  huwhois 9f2d52e3d8 ace 编辑器补充 3 ans auparavant