国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > JavaScript > 正文

js實現五星評價功能

2019-11-19 17:14:35
字體:
來源:轉載
供稿:網友

效果圖:

代碼如下:

<!DOCTYPE html><html lang="en"><head>  <meta charset="UTF-8">  <title>五星評價</title>  <style>    @font-face {      font-family: 'iconfont'; /* project id 247957 */      src: url('//at.alicdn.com/t/font_wkv6intmx8cnxw29.eot');      src: url('//at.alicdn.com/t/font_wkv6intmx8cnxw29.eot?#iefix') format('embedded-opentype'),      url('//at.alicdn.com/t/font_wkv6intmx8cnxw29.woff') format('woff'),      url('//at.alicdn.com/t/font_wkv6intmx8cnxw29.ttf') format('truetype'),      url('//at.alicdn.com/t/font_wkv6intmx8cnxw29.svg#iconfont') format('svg');    }    .iconfont {      font-family:"iconfont" !important;      font-size:16px;      font-style:normal;      -webkit-font-smoothing: antialiased;      -webkit-text-stroke-width: 0.2px;      -moz-osx-font-smoothing: grayscale;    }    body{      font-family: "microsoft yahei";    }    ul,li{      list-style: none;      padding:0;      margin:0;    }    a{      text-decoration: none;    }    .clearfix:after {      content: ".";      display: block;      height: 0;      clear: both;      visibility: hidden;    }    .order-evaluation {      width: 827px;      border: 2px solid #E84E40;      background: #fff;      z-index: 200;      margin:50px auto;    }    .order-evaluation{      padding:22px;    }    .order-evaluation h4{      font-size:18px;      color:#333333;      padding-bottom:20px;      border-bottom:1px dashed #dbdbdb;    }    .order-evaluation p{      font-size:14px;      color:#999;      line-height:45px;      margin-bottom:0;    }    .order-evaluation .order-evaluation-text{      font-size:16px;      color:#333;      line-height:40px;      width:809px;      padding-left:15px;      background:#f3f3f3;      margin-bottom:25px;      margin-top:20px;    }    .order-evaluation-checkbox ul li{      width:142px;      height:43px;      border:1px solid #e8e8e8;      text-align: center;      background: #fff;      font-size:14px;      color:#333333;      line-height:43px;      margin-right:25px;      margin-bottom:25px;      float:left;      cursor: pointer;      overflow: hidden;      position:relative;    }    .order-evaluation-checkbox ul li.checked i{      display: block;    }    .order-evaluation-checkbox ul li.checked{      border:1px solid #e84c3d;    }    .order-evaluation .order-evaluation-textarea{      position:relative;      width: 784px;      height: 210px;    }    .order-evaluation .order-evaluation-textarea textarea{      width:793px;      height:178px;      border:1px solid #e8e8e8;      position:absolute;      top:0;      left:0;      line-height:22px;      padding:15px;      color:#666;    }    .order-evaluation .order-evaluation-textarea span{      position:absolute;      bottom:10px;      font-size:12px;      color:#999;      right:10px;    }    .order-evaluation .order-evaluation-textarea span em{      color:#e84c3d;    }    .order-evaluation>a{      width:154px;      height:48px;      border-radius: 6px;      display: block;      text-align: center;      line-height:48px;      background:#f36a5a;      float:right;      margin-top:20px;      color:#fff;      font-size:14px;    }    .order-evaluation-checkbox ul li i {      display: none;      color: #e84c3d;      position: absolute;      right: -4px;      bottom: -14px;      font-size: 20px;    }    .order-evaluation>a:hover{      background: #e84c3d;    }    .block li label,.con span{ font-size: 18px; margin-right: 20px; line-height: 23px;}    .block li span{display: inline-block; vertical-align: middle; cursor: pointer;}    .block li span img{margin-right: -5px; }    .level{color:#e84c3d;font-size:16px;margin-left:15px;position: relative;top: 3px;}    .dmlei_tishi_info{      height:70px;border-radius: 10px;background: rgba(0,0,0,0.5);font-size:18px;color:#fff;text-align: center;line-height: 70px;position:fixed;      left: 48%;      display: none;      margin-left: -128px;      top: 40%;      margin-top: -35px;      padding: 0 15px;      z-index: 1000;    }  </style></head><body><div class="order-evaluation clearfix">  <h4>給“新聞訂單”的評價</h4>  <p>請嚴肅認真對待此次評價哦!您的評價對我們真的真的非常重要!</p>  <div class="block">    <ul>      <li data-default-index="0">            <span>              <img src="http://7xnlea.com2.z0.glb.qiniucdn.com/x1.png">              <img src="http://7xnlea.com2.z0.glb.qiniucdn.com/x1.png">              <img src="http://7xnlea.com2.z0.glb.qiniucdn.com/x1.png">              <img src="http://7xnlea.com2.z0.glb.qiniucdn.com/x1.png">              <img src="http://7xnlea.com2.z0.glb.qiniucdn.com/x1.png">            </span>        <em class="level"></em>      </li>    </ul>  </div>  <div class="order-evaluation-text">    本次交易,乖,摸摸頭 給您留下了什么印象呢?  </div>  <div class="order-evaluation-checkbox">    <ul class="clearfix">      <li class="order-evaluation-check" data-impression="1">專業水平高<i class="iconfont icon-checked">

主站蜘蛛池模板:
宝坻区|
嘉兴市|
青铜峡市|
马公市|
凤凰县|
搜索|
望城县|
建始县|
建平县|
双牌县|
渭南市|
广河县|
洪江市|
读书|
蒲江县|
淳安县|
永登县|
晴隆县|
清原|
朝阳县|
邳州市|
孝感市|
屏东县|
沈阳市|
利辛县|
信宜市|
平顶山市|
南江县|
资阳市|
休宁县|
鄯善县|
上高县|
金塔县|
泽库县|
迭部县|
延安市|
翁源县|
贡嘎县|
静宁县|
余庆县|
两当县|