25 Коммиты (6c1c3d4e5b40e484413ac2c95344bea90571c102)

Автор SHA1 Сообщение Дата
  LIPENGTAO1313 7861adc213 修正 лет назад: 6
  LIPENGTAO1313 0828870c4f 修正 лет назад: 6
  LIPENGTAO1313 60832993af 修正 лет назад: 6
  luyanan d06be80644 时间插件改中文 лет назад: 6
  luyanan fe778e0393 修改咨询按钮为联系 лет назад: 7
  luyanan e9492d63c2 发布检验机构规则 лет назад: 7
  luyanan abb8559e4d 修改需求列表时间显示规则。首页需求发布规则 лет назад: 7
  luyanan 6c2b0f18fb 添加纠错反馈、需求搜索状态筛选、发现链接方式改变 лет назад: 7
  luyanan bf4650549c 修改需求状态 лет назад: 7
  luyanan ffd66b9cda 改变首页发布需求规则,修改需求列表按钮样式 лет назад: 7
  luyanan 16487fa789 需求列表以及搜索 лет назад: 7
  luyanan 323c496a2d 新版需求相关 лет назад: 7
  luyanan f5c8690b8c 提取工作台菜单公共文件 лет назад: 7
  xuchunyang 17c6d74f74 个人用户为登录跳转登录页面 лет назад: 7
  jack 97b1066bcc 判断搜索需求是否显示 лет назад: 7
  luyanan b007df703d 添加顶部导航栏定位一直悬浮效果 лет назад: 7
  jack c12ddc5ef1 修改bug лет назад: 7
  jack b38c2161a7 显示样式及发布需求控制 лет назад: 7
  xuchunyang 067f734cda 修改登录转态 лет назад: 7
  luyanan 0526b16ffe 修改不同身份需求跳转页面bug лет назад: 7
  jack ab370132b8 回复按钮不能点击 лет назад: 7
  luyanan 770a4ded6d 我的需求相关 лет назад: 7
  jack ae0ba0c030 发布需求所涉及行业添加不能对于10个字 лет назад: 7
  jack 69bbdfb0a7 需求 лет назад: 7
  jack a89664e4b1 需求 лет назад: 7
ekexiu.app - Gogs: Go Git Service

暫無描述

chat-assess.html 3.7KB

    <!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; } #textbox #question { padding: 0; border: none; height: 40px; border-bottom:1px solid #F0F0F0 } </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" style="-webkit-user-select:text;"></div>--> <textarea id="question"class="mui-input-clear question textareabox"> </textarea> <div class="text_count"><span><span id="text-count">300</span>字</span></div> </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>