Commit abf506c3 authored by 汪波's avatar 汪波

Merge branch 'dev' of http://gitlab.fingerage.com:999/xiabin/zuiketang into dev

# Conflicts:
#	src/frontend/views/layouts/centerHeader.php
#	src/frontend/views/layouts/main.php
parent 515a1d9a
......@@ -39,36 +39,37 @@ AppAsset::addScript($this, '@web/assets/my_income.js');
<?php if ($count > 0) { ?>
<div class="con-md-12">
<div class="table-box">
<table class="table table-hover">
<thead>
<tr>
<th>订单</th>
<th>会员信息</th>
<th>课程</th>
<th>价格</th>
<th>状态</th>
</tr>
</thead>
<tbody>
<?php foreach ($data as $row) { ?>
<tr>
<td>
<?=$row['order']['number']?><br/>
<?=date('Y-m-d H:i', $row['order']['updated_at'])?>
</td>
<td><?=$row['order']['user']['telephone']?> / <?=$row['order']['user']['username']?></td>
<td><a href="<?=\common\models\Course::url($row['order']['course_id'])?>" target="_blank">《<?=$row['order']['course']['name']?>》</a></td>
<td>¥<?=$row['order']['credit']?></td>
<td><?=($row['status'] ? '已结算' : '未结算')?></td>
</tr>
<?php } ?>
</tbody>
</table>
<div class="text-center">
<?=\yii\widgets\LinkPager::widget(['pagination'=>$pagination])?>
</div>
<ul class="user-list-main" id="userList">
<?php foreach ($data as $row) { ?>
<li>
<div class="reg-time"><a href="<?=\common\models\Course::url($row['order']['course_id'])?>" target="_blank"></a>课程:<?=$row['order']['course']['name']?><span>价格 ¥<?=$row['order']['credit']?></span></div>
<div class="user-detail-box">
<div class="txt">
<p>用户:<?=$row['order']['user']['username']?> / <?=$row['order']['user']['telephone']?></p>
<p>订单:<?=$row['order']['number']?></p>
<p>时间:<?=date('Y-m-d H:i', $row['order']['updated_at'])?></p>
</div>
<div class="consume">
价格<br/>
<?=$row['order']['credit']?><br />
<span class="red-color"><?=($row['status'] ? '已结算' : '未结算')?></span>
</div>
</div>
</li>
<?php } ?>
</ul>
<script type='text/javascript'>
$("#userList li .reg-time").click(function(){
var activeindex = $("#userList li").find(".reg-time").index(this);
$("#userList li").find(".user-detail-box").eq(activeindex).toggle();
$("#userList li").find(".reg-time span").eq(activeindex).toggle();
});
</script>
<div class="text-center">
<?=\yii\widgets\LinkPager::widget(['pagination'=>$pagination])?>
</div>
</div>
<?php } else { ?>
......
......@@ -28,37 +28,36 @@ $this->title = '我的会员';
<?php if ($count > 0) { ?>
<div class="con-md-12">
<div class="table-box">
<table class="table table-hover">
<thead>
<tr>
<th>注册时间</th>
<th>会员信息</th>
<th>来自</th>
<th>首次购买</th>
<th>累计消费</th>
</tr>
</thead>
<tbody>
<?php foreach ($data as $row) { ?>
<tr>
<td>2016-12-11</td>
<td><?=$row['user']['telephone']?> / <?=$row['user']['username']?></td>
<td>推广</td>
<?php if (!empty($row['first_order'])) { ?>
<td><a target="_blank" href="<?=\common\models\Course::url($row['first_order']['course_id'],true)?>">《<?=$row['first_order']['course']['name']?>》</a></td>
<?php } else { ?>
<td>无</td>
<?php } ?>
<td>¥<?=$row['credit_total']?></td>
</tr>
<?php } ?>
</tbody>
</table>
<div class="text-center hide">
<?=\yii\widgets\LinkPager::widget(['pagination'=>$pagination])?>
</div>
<?php foreach ($data as $row) { ?>
<ul class="user-list-main" id="userList">
<?php foreach ($data as $row) { ?>
<li>
<div class="reg-time">昵称:<?=$row['user']['username']?> / <?=$row['user']['telephone']?><span>累计消费 ¥<?=$row['credit_total']?></span></div>
<div class="user-detail-box">
<div class="txt">
<p>来自:推广</p>
<p>时间:2016-12-21</p>
</div>
<div class="consume">
累计消费 <br/>
<?=$row['credit_total']?>
</div>
</div>
</li>
<?php } ?>
</ul>
<?php } ?>
<script type='text/javascript'>
$("#userList li .reg-time").click(function(){
var activeindex = $("#userList li").find(".reg-time").index(this);
$("#userList li").find(".user-detail-box").eq(activeindex).toggle();
$("#userList li").find(".reg-time span").eq(activeindex).toggle();
});
</script>
<div class="text-center hide">
<?=\yii\widgets\LinkPager::widget(['pagination'=>$pagination])?>
</div>
</div>
<?php } else { ?>
......
......@@ -41,7 +41,24 @@ a,a:hover,a:link {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-agree:before {
content: "\e906";
}
.icon-agree-fill:before {
content: "\e907";
}
.icon-comments:before {
content: "\e909";
}
.icon-comments-fill:before {
content: "\e90a";
}
.icon-like:before {
content: "\e90b";
}
.icon-like-fill:before {
content: "\e90c";
}
.icon-jian:before {
content: "\e906";
}
......
......@@ -230,6 +230,24 @@ i, em {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-agree:before {
content: "\e906";
}
.icon-agree-fill:before {
content: "\e907";
}
.icon-comments:before {
content: "\e909";
}
.icon-comments-fill:before {
content: "\e90a";
}
.icon-like:before {
content: "\e90b";
}
.icon-like-fill:before {
content: "\e90c";
}
.icon-home:before {
content: "\e908";
}
......
......@@ -1383,12 +1383,12 @@ textarea.input-r-control {
.money-vip-box i {
position: absolute;
display: block;
font-size: 200px;
bottom: -50px;
font-size: 100px;
bottom: 20px;
left: 50%;
margin-left: -100px;
margin-left: -50px;
z-index: 1;
color: rgba(255, 255, 255, .1);
color: rgba(255,255,255,.1);
}
.table-box {
......@@ -1581,6 +1581,70 @@ textarea.input-r-control {
color: #999;
}
/*我的会员 购买记录*/
.user-list-main {
margin: 15px;
}
.user-list-main li {
background-color: #fff;
border-radius: 3px;
margin-bottom: 15px;
}
.user-list-main li div.reg-time {
position: relative;
height: 44px;
line-height: 44px;
padding: 0 20px;
border-bottom: 1px solid #f3f3f3;
font-size: 12px;
cursor: pointer;
}
.user-list-main li div.reg-time span {
display: block;
height: 44px;
line-height: 44px;
position: absolute;
right: 0;
top: 0;
padding: 0 20px;
color: red;
}
.user-list-main li div.user-detail-box {
position: relative;
padding: 0 20px;
font-size: 12px;
display: none;
}
.user-list-main li div.user-detail-box p {
height: 24px;
line-height: 24px;
margin-bottom: 0;
}
.user-list-main li div.user-detail-box .txt {
padding: 10px 0;
}
.user-list-main li div.user-detail-box .consume {
position: absolute;
right: 0;
top: 0;
display: inline-block;
height: 100%;
border-left: 1px solid #f3f3f3;
text-align: center;
padding: 10px 20px;
line-height: 24px;
}
.red-color {
color: red;
}
/*模态框重置*/
.modal-content {
box-shadow: none;
......
......@@ -91,8 +91,12 @@
<glyph unicode="&#xe903;" glyph-name="fav-full" d="M507.612 890.572c-11.287 0-20.219-3.343-26.677-10.176-6.577-6.687-11.667-14.873-15.132-24.178l-102.462-236.562-275.021-24.689c-6.458-1.237-12.406-4.097-17.739-8.794-5.339-4.726-8.698-11.169-9.812-19.481-1.236-8.186 0.755-16.26 5.718-24.201 5.091-7.924 11.16-15.12 18.222-21.711l9.812-8.312 22.705-19.479c9.304-7.922 19.598-16.741 31.255-26.411l35.104-29.531c27.913-23.551 59.289-50.346 94.4-80.363l-30.262-123.563c-4.214-15.869-8.19-31.375-12.031-46.764-3.839-15.262-7.33-29.263-10.299-41.936-2.979-12.649-5.583-23.429-7.933-32.611l-4.468-17.248c-1.25-5.213-0.618-10.419 1.733-15.384 2.36-4.968 6.078-9.306 11.169-12.771 4.965-3.609 10.659-5.718 16.861-6.71 1.381-0.195 2.75-0.268 4.116-0.268 4.775 0 9.492 1.163 14.129 3.367 2.979 1.259 8.809 4.213 17.371 8.818 8.677 4.7 18.849 10.662 30.759 17.733 11.787 7.077 25.069 14.635 39.583 22.946 14.507 8.187 29.264 16.499 44.021 24.689 34.5 19.355 72.701 41.43 114.884 66.115l232.342-134.1 12.916-4.822c5.575-2.107 9.909-3.1 12.889-3.1 8.941 0 16.873 1.986 24.071 5.693 7.061 3.85 9.805 11.65 7.935 23.452-0.619 2.353-1.731 8.064-3.467 17.248l-6.71 32.972c-2.728 13.039-5.572 27.43-8.43 43.3-2.979 15.89-6.322 31.761-9.802 47.63-7.814 37.723-16.62 79.786-26.783 126.154l184.337 164.126c7.689 8.94 14.016 16.381 19.103 22.581s7.57 13.399 7.57 21.589c0 8.794-2.359 15.263-7.077 19.478-4.844 4.098-13.152 7.558-24.931 10.542l-275.142 25.559-99.63 236.561c-1.236 2.352-2.847 5.208-4.956 8.794-2.106 3.465-4.588 7.077-7.572 10.541-2.978 3.607-6.686 6.707-11.032 9.301-4.476 2.618-9.686 3.976-15.637 3.976z" />
<glyph unicode="&#xe904;" glyph-name="zan-empty" d="M684.937 22.109c-158.554 0-297.911 0-351.748 0-10.176-8.954-23.491-14.429-38.115-14.429h-173.274c-31.899 0-57.757 25.84-57.757 57.713v432.851c0 31.874 25.859 57.713 57.757 57.713h173.275c16.772 0 31.827-7.188 42.379-18.596 35.875 29.206 130.893 120.127 130.893 263.878 0 86.12 86.635 86.57 86.635 86.57s187.713 26.604 187.713-201.998c0-49.597-28.88-129.854-28.88-129.854h43.319c0 0 202.152 33.816 202.152-216.425-0.001-250.243-70.842-317.424-274.349-317.424zM295.074 469.388c0 15.938-12.932 28.857-28.88 28.857h-115.516c-15.949 0-28.88-12.919-28.88-28.857v-375.137c0-15.937 12.932-28.857 28.88-28.857h115.515c15.949 0 28.88 12.92 28.88 28.857v375.137zM771.575 498.245h-173.275c0 0 86.637 85.217 86.637 201.997s-82.574 129.858-115.515 129.858c-32.94 0-43.319-10.371-43.319-28.858 0-215.975-173.272-331.853-173.272-331.853v-389.566c0 0 190.869 0 346.545 0s202.152 52.752 202.152 245.282c0 192.528-129.953 173.14-129.953 173.14z" />
<glyph unicode="&#xe905;" glyph-name="zan-full" horiz-adv-x="1025" d="M117.6 540.8c-19.958 0.038-36.17-16.112-36.204-36.070 0-0.116 0-0.224 0-0.34v-437.42c-0.038-19.882 15.988-36.054 35.87-36.204 0.875 0 1.614 0.47 2.49 0.47h101.28v509.49h-101.95c-0.54-0.2-1.010 0.070-1.48 0.070zM941.42 463.61c1.356 21.797-3.97 43.494-15.282 62.18-18.254 29.772-50.1 48.536-84.99 50.070-2.19 0.702-4.44 1.172-6.73 1.41h-200.34c14.046 40.472 21.212 83.010 21.2 125.84-0.070 27.998-3.153 55.905-9.22 83.24h-0.608c-12.104 56.172-67.454 91.882-123.628 79.772-48.628-10.476-83.026-53.924-82.092-103.662 0-1.82 0.47-3.57 0.54-5.38-0.516-93.458-60.646-176.148-149.391-205.45v-520.46h472.68c20.158-0.116 39.916 5.642 56.861 16.551 15.226 10.122 27.544 24.036 35.73 40.38 0.67 0.875 1.14 1.82 1.75 2.76s0.34 0.47 0.47 0.74v0c2.158 3.092 3.816 6.49 4.91 10.089l77.46 346.97c0.714 3.468 0.928 7.030 0.608 10.568 0 0.47 0 0.94 0 1.41s0.2 1.95 0.070 2.96z" />
<glyph unicode="&#xe906;" glyph-name="jian" d="M512 940c-271.744 0-492-220.288-492-492s220.256-491.968 492-491.968c271.712 0 492 220.256 492 491.968s-220.32 492-492 492zM282.432 635.072c35.328-2.816 79.552-4.192 132.704-4.192-0.704 26.592-1.76 45.632-3.168 57.184 13.984-2.080 26.752-3.136 38.304-3.136 3.488 0 5.248-1.152 5.248-3.392 0-2.272-1.056-4.128-3.168-5.504-3.84-2.080-5.76-7.52-5.76-16.256v-28.832h133.76c0 23.424-1.056 42.144-3.168 56.128 14.016-2.080 26.752-3.136 38.304-3.136 3.456 0 5.216-0.896 5.216-2.624 0-1.76-1.024-3.328-3.136-4.704-3.84-2.464-5.792-7.872-5.792-16.256v-29.376c52.8 0 96.864 1.376 132.192 4.192v-33.568c-35.328 2.784-79.36 4.192-132.192 4.192v-46.144h-31.456v46.144h-133.76v-44.064h-31.456v44.064c-53.152 0-97.376-1.408-132.704-4.192v33.472zM379.456 208.64c3.136 33.92 4.704 66.976 4.704 99.136v90.752c-26.592-29.024-53.504-53.152-80.768-72.384-8.032 13.632-17.312 23.072-27.808 28.32 59.456 32.192 110.336 81.12 152.64 146.848-55.584-0.352-101.952-1.568-139.008-3.68v34.080c37.056-1.76 88.992-3.136 155.776-4.192 10.848 18.176 19.744 38.464 26.752 60.832 11.552-6.656 21.504-10.752 29.92-12.32s12.576-3.776 12.576-6.56-2.432-5.056-7.328-6.816c-4.896-1.76-14.528-13.472-28.832-35.136 105.984 0 191.296 1.376 255.968 4.192v-34.080c-40.896 2.784-131.456 4.192-271.712 4.192-15.744-25.184-32-48.256-48.768-69.248v-124.832c0-31.136 1.76-64.16 5.248-99.136h-39.36zM746.080 332.928c-37.408 3.488-82.688 5.248-135.84 5.248v-88.672c0-13.632-5.44-23.328-16.288-29.12-10.848-5.76-31.456-8.8-61.888-9.152-1.056 13.28-6.112 26.016-15.232 38.272 18.528-2.784 32.096-4.192 40.672-4.192s14.688 1.12 18.336 3.392c3.68 2.272 5.536 6.72 5.536 13.376v76.064c-61.568 0-109.824-1.76-144.768-5.248v35.648c41.6-3.488 89.856-5.248 144.768-5.248v23.616l63.456 45.088h-89.728c-32.864 0-60.128-1.216-81.824-3.68v32c29.376-2.080 65.568-3.136 108.576-3.136 43.040 0 84.48 1.056 124.32 3.136v-27.808c-11.52 0-21.856-3.328-30.944-9.984l-65.024-48.256v-11.040c51.744 0 97.024 1.76 135.84 5.248v-35.552z" />
<glyph unicode="&#xe907;" glyph-name="shen" d="M1023.048 447.048c0-282.244-228.805-511.048-511.048-511.048s-511.048 228.805-511.048 511.048 228.805 511.048 511.048 511.048 511.048-228.805 511.048-511.048zM271.834 555.184h42.042v61.985h409.098v-61.985h42.042v100.793h-238.236l25.333 15.631c-11.142 16.886-24.079 34.673-38.808 53.361l-37.191-22.099c11.677-16.352 22.099-31.982 31.262-46.893h-235.541v-100.793zM319.805 279.218h39.885v25.333h137.444v-117.501h42.042v117.502h137.983v-25.333h39.885v264.108h-177.868v58.211h-42.042v-58.211h-177.33v-264.109zM359.69 505.597h137.444v-63.062h-137.444v63.062zM359.69 405.882h137.444v-63.602h-137.444v63.602zM677.16 442.535h-137.983v63.062h137.983v-63.062zM539.177 405.882h137.983v-63.602h-137.983v63.602z" />
<glyph unicode="&#xe906;" glyph-name="agree" d="M916.378 605.475h-213.504c15.51 35.446 33.351 127.094 23.079 210.558-8.145 66.324-47.9 117.193-105.685 136.625-42.858 14.297-88.229 7.247-112.664-17.148-29.089-29.152-42.661-84.031-57.202-142.147-9.5-37.92-19.196-77.367-31.413-97.753-35.1-58.691-108.591-85.37-123.329-90.136h-101.234c-19.976 0-36.068-15.817-36.068-35.446v-496.199c0-19.629 16.093-35.446 36.068-35.446h97.54c30.247-15.998 142.525-70.877 272.644-70.877h243.365c40.133 0 109.174 15.242 134.963 57.352 25.986 42.685 81.061 430.655 81.061 473.529 0.197 59.069-58.762 107.087-107.622 107.087zM881.467 61.259c-5.427-8.956-41.11-22.867-73.106-22.867h-243.554c-128.764 0-242.586 70.884-243.751 70.884h-90.364v425.314h72.137c2.907 0 5.624 0.953 8.342 1.717 0.583 0.189 1.166 0 1.749 0.189 0.197 0.189 0.969 0.378 1.938 0.575 0.969 0.378 1.938 0.378 2.907 0.953 21.914 7.050 115.578 41.354 163.667 121.761 17.455 29.152 28.121 71.838 39.172 116.815 10.279 41.921 23.268 94.129 38.392 109.182 3.489 2.867 20.362 6.672 41.496-1.52 17.258-6.664 47.317-25.529 53.713-77.17 14.155-113.569-35.486-221.609-35.872-222.752-2.119-4.306-3.359-9.373-3.359-14.729 0-7.009 2.123-13.522 5.76-18.932 6.516-9.977 17.953-15.884 30.178-15.884h265.279c9.893 0 35.682-16.581 35.682-36.399 0.181-47.458-55.469-403.598-70.404-437.138zM88.403 607.492h-57.431c-17.104-0.004-30.968-13.868-30.972-30.972v-506.479c0-17.105 13.867-30.972 30.972-30.972h57.431c0.002 0 0.005 0 0.008 0 17.101 0 30.964 13.863 30.964 30.964 0 0.003 0 0.006 0 0.008v506.478c0 17.105-13.867 30.972-30.972 30.972z" />
<glyph unicode="&#xe907;" glyph-name="agree-fill" d="M911.911 605.712h-209.558c15.242 35.43 32.768 127.071 22.481 210.133-8.003 66.481-46.868 117.539-103.637 136.775-42.102 14.289-86.686 7.436-110.687-17.14-28.577-29.152-41.913-84.015-56.202-142.123-9.334-38.101-18.857-77.344-30.862-97.729-34.485-58.675-107.063-90.112-121.352-90.112h-99.257c-19.621 0-35.43-15.998-35.43-35.627v-496.081c0-0.019 0-0.041 0-0.063 0-19.533 15.835-35.367 35.367-35.367 0.022 0 0.044 0 0.067 0h95.819c29.72 0 140.020-70.869 267.855-70.869h239.088c39.432 0 107.252 15.242 132.592 57.344 25.529 42.677 79.636 430.545 79.636 473.411 0 59.628-57.911 107.449-105.921 107.449zM86.607 607.492h-55.903c-16.957 0-30.704-13.747-30.704-30.704v-507.022c0-16.957 13.747-30.704 30.704-30.704h55.903c16.957 0 30.704 13.747 30.704 30.704v507.022c0 16.957-13.747 30.704-30.704 30.704z" />
<glyph unicode="&#xe908;" glyph-name="home" d="M950.348 504.040l-122.161 96.253v106.356c0 17.976-14.407 32.581-32.159 32.581h-61.304c-17.754 0-32.133-14.605-32.133-32.581v-14.659l-150.758 115.553c-0.633 0.476-1.288 0.9-1.968 1.277-11.1 7.55-24.064 11.605-37.548 11.605-14.068 0-27.523-4.321-38.995-12.509-0.128-0.135-0.315-0.292-0.498-0.374l-398.515-303.502c-10.606-7.822-12.915-22.771-5.265-33.456 7.702-10.681 22.492-13.093 33.073-5.33l398.176 303.347c0.081 0.027 0.184 0.081 0.263 0.133 3.432 2.466 7.516 3.792 11.761 3.792s8.324-1.326 11.73-3.792c0.157-0.106 0.339-0.182 0.525-0.292l397.94-303.188c10.605-7.763 25.402-5.351 33.077 5.33 7.674 10.686 5.365 25.634-5.241 33.456zM820.408 454.364l-276.17 213.479c-0.054 0.054-0.161 0.102-0.187 0.13-9.319 6.732-20.294 10.287-31.735 10.34-11.394 0-22.343-3.582-31.635-10.233-0.080-0.109-0.182-0.135-0.291-0.238l-276.142-213.479c-6.178-4.56-9.793-11.77-9.793-19.381v-270.289c0-46.234 37.186-83.798 82.801-83.798h133.844v201.501c0 35.551 28.412 64.287 63.477 64.287h65.865c35.065 0 63.5-28.735 63.5-64.287v-201.501h143.404c45.668 0 82.802 37.564 82.802 83.798v270.289c0.001 7.612-3.642 14.821-9.739 19.381z" />
<glyph unicode="&#xe909;" glyph-name="comments" d="M209.788-64c-16.454 0.028-31.631 5.473-43.85 14.645-19.266 14.207-30.419 36.396-30.419 60.743v89.652c0 23.725-8.089 46.402-22.779 63.856-72.702 86.391-112.739 195.082-112.739 306.033 0 269.674 229.676 489.071 511.984 489.071s511.984-219.397 511.984-489.071-229.676-489.071-511.984-489.071c-20.345 0-43.267 1.323-65.432 2.615-23.717 1.371-56.192 3.245-64.534 1.394l-150.248-46.512c-6.572-2.118-14.132-3.344-21.978-3.355zM511.984 896.987c-247.564 0-448.971-191.128-448.971-426.058 0-97.521 33.87-189.324 97.939-265.468 24.237-28.797 37.58-65.881 37.58-104.429v-89.652c0-5.64 3.127-8.782 4.986-10.161 2.024-1.489 5.34-3.001 9.625-1.67l150.744 46.646c16.053 4.962 41.935 3.749 86.313 1.182 21.267-1.237 43.259-2.505 61.785-2.505 247.564 0 448.971 191.128 448.971 426.058s-201.407 426.058-448.971 426.058z" />
<glyph unicode="&#xe90a;" glyph-name="comments-fill" d="M511.976 959.984c-282.308 0-511.976-219.397-511.976-489.071 0-110.959 40.037-219.641 112.731-306.033 14.69-17.463 22.787-40.14 22.787-63.856v-89.652c0-24.347 11.153-46.535 30.609-60.879 12.027-9.036 27.201-14.48 43.646-14.509 7.34 0 14.736 1.111 21.998 3.355l150.248 46.512c8.334 1.851 40.809-0.016 64.526-1.394 22.165-1.284 45.086-2.615 65.432-2.615 282.316 0 511.992 219.397 511.992 489.071s-229.676 489.071-511.992 489.071z" />
<glyph unicode="&#xe90b;" glyph-name="like" d="M774.917-50.523c-15.166 0-29.207 3.931-42.692 11.235l-205.583 112.905c-5.055 2.806-10.673 2.806-15.728 0l-205.583-112.905c-13.479-7.305-28.083-11.235-42.692-11.235-26.402 0-51.116 11.798-68.526 32.582-17.972 20.784-25.277 48.866-20.784 76.955l39.318 239.289c1.125 6.742-1.125 14.041-5.618 19.097l-166.827 168.514c-24.714 25.277-33.138 62.351-21.909 96.614 11.235 33.138 38.756 56.734 72.462 62.351l229.741 34.825c5.618 1.125 10.673 5.055 13.479 10.673l103.357 217.38c15.166 32.582 46.623 52.803 82.010 52.803s66.282-20.221 82.010-52.803l102.794-217.38c2.806-5.618 7.861-9.548 13.479-10.673l229.741-34.825c33.7-5.055 61.789-29.207 72.462-62.351 11.235-34.263 2.806-71.337-21.909-96.614l-166.264-169.633c-4.493-4.493-6.742-11.798-5.618-19.097l39.318-239.289c4.493-27.526-2.806-55.609-20.784-76.955-17.972-19.659-43.249-31.457-69.65-31.457zM518.781 148.317c15.166 0 29.77-3.931 42.692-11.235l205.583-112.905c2.806-1.687 5.055-2.249 7.861-2.249 4.493 0 9.548 2.249 12.917 6.742 2.806 3.368 6.18 8.986 4.493 17.416l-39.318 239.289c-5.055 29.77 4.493 60.664 25.839 82.010l166.827 169.633c8.424 8.424 5.618 19.097 5.055 22.471-1.125 3.368-5.055 11.798-14.604 12.917l-229.741 34.825c-29.77 4.493-55.609 23.59-68.526 51.678l-102.794 217.943c-4.493 9.548-11.798 10.673-15.728 10.673s-11.235-1.687-15.728-10.673l-103.357-217.38c-12.917-28.083-38.756-47.185-68.526-51.678l-229.741-34.825c-9.548-1.687-13.479-9.548-14.604-12.917-1.125-2.806-3.931-14.041 5.055-22.471l166.264-169.633c20.784-21.346 30.332-51.678 25.839-82.010l-39.318-239.289c-1.687-8.424 1.687-14.604 4.493-17.972 3.368-3.931 8.424-6.742 12.917-6.742 2.806 0 5.055 0.562 7.861 2.249l205.583 112.905c12.917 7.305 28.083 11.235 42.692 11.235z" />
<glyph unicode="&#xe90c;" glyph-name="like-fill" d="M565.273 925.373l112.096-237.542c8.707-18.321 25.411-31.052 44.823-33.996l250.777-38.081c48.697-7.411 68.225-70.046 32.934-105.98l-181.494-184.937c-13.998-14.231-20.352-34.815-17.059-54.935l42.819-261.127c8.347-50.696-42.642-89.452-86.225-65.518l-224.308 123.271c-17.286 9.526-37.993 9.526-55.279 0l-224.314-123.271c-43.583-23.934-94.572 14.823-86.22 65.518l42.814 261.127c3.321 20.12-3.089 40.705-17.087 54.935l-181.439 184.937c-35.286 35.934-15.819 98.574 32.934 105.98l250.749 38.081c19.351 2.939 36.083 15.675 44.756 33.996l112.124 237.542c21.825 46.168 84.836 46.168 106.6 0z" />
<glyph unicode="&#xe90d;" glyph-name="fingerprint" d="M636 0.667h-6c-68 18-112 44-158 90-60 60-92 138-92 222 0 70 58 126 130 126s132-56 132-126c0-46 38-82 88-82s90 36 90 82c0 160-140 292-310 292-122 0-232-68-282-172-16-34-24-76-24-120 0-34 2-86 28-154 9.157-27.471-30.939-36.654-40-14-20 56-32 110-32 168 0 52 10 98 30 138 56 120 182 198 320 198 194 0 352-152 352-336 0-70-60-124-132-124s-130 54-130 124c0 46-40 84-90 84s-88-38-88-84c0-72 28-140 80-192 40-40 80-62 140-78 12-2 16-14 14-26-2-10-12-16-20-16zM530 312.667c0-97.515 80.578-182 192-182 19.928 0 65.546 14.722 70-12 2-12-6-24-18-26-24-4-46-4-52-4-50 0-96 12-132 38-64 44-102 112-102 186 0 12 10 22 22 22s20-10 20-22zM416 8.667c-6 0-10 2-14 6-38 38-58 62-86 114-30 52-46 116-46 184 0 126 108 230 242 230s242-104 242-230c0-12-10-20-22-20s-22 8-22 20c0 104-88 188-198 188s-198-84-198-188c0-62 12-118 38-164 28-50 48-70 80-104 8-8 8-22 0-30-4-4-10-6-16-6zM150 524.667c-17.624 0-27.785 15.691-18 32 42 60 96 108 160 140 134 70 306 70 440 0 64-32 118-78 160-138 6-10 4-24-6-30s-24-4-30 6c-38 54-86 94-144 124-122 62-278 64-400 0-58-30-108-72-146-126-4-6-10-8-16-8zM760 748.667c-4 0-8 0-10 2-82 42-154 60-238 60s-166-20-238-60c-23.381-14.029-43.278 24.033-20 38 80 44 166 64 258 64 90 0 170-20 258-64 18.211-10.927 10.406-40-10-40z" />
</font></defs></svg>
\ No newline at end of file
......@@ -26,9 +26,9 @@
售价:<small>¥</small>{{item.price}}
</div>
<div class="v-detail">
<span><i class="icon-comment-full"></i> {{item.comment_count}}</span>
<span><i class="icon-fav-full"></i> {{item.favorite_count}}</span>
<span><i class="icon-zan-full"></i> {{item.support_count}}</span>
<span><i class="icon-comments-fill"></i> {{item.comment_count}}</span>
<span><i class="icon-like-fill"></i> {{item.favorite_count}}</span>
<span><i class="icon-agree-fill"></i> {{item.support_count}}</span>
</div>
</div>
</div>
......
......@@ -30,18 +30,18 @@
</div>
<div class="video-sm-info pull-right">
<p v-if="!coursewareInfo.isPreview" class="mb-right">
<a href="javascript:;"><i class="icon-comment-empty"></i>{{coursewareInfo.comment_count}}</a>
<a href="javascript:;"><i class="icon-comments"></i>{{coursewareInfo.comment_count}}</a>
<a @click="favorite" href="javascript:;"><i
:class="{'icon-fav-full':coursewareInfo.isFavorite,'icon-fav-empty':!coursewareInfo.isFavorite}"></i>{{coursewareInfo.favorite_count}}</a>
:class="{'icon-like-fill':coursewareInfo.isFavorite,'icon-like':!coursewareInfo.isFavorite}"></i>{{coursewareInfo.favorite_count}}</a>
<a @click="support" href="javascript:;"><i
:class="{'icon-zan-full':coursewareInfo.isSupport,'icon-zan-empty':!coursewareInfo.isSupport}"></i>{{coursewareInfo.support_count}}</a>
:class="{'icon-agree-fill':coursewareInfo.isSupport,'icon-agree':!coursewareInfo.isSupport}"></i>{{coursewareInfo.support_count}}</a>
</p>
<p v-else class="mb-right">
<a href="javascript:;"><i class="icon-comment-empty"></i>{{coursewareInfo.comment_count}}</a>
<a href="javascript:;"><i class="icon-comments"></i>{{coursewareInfo.comment_count}}</a>
<a href="javascript:;"><i
:class="{'icon-fav-full':coursewareInfo.isFavorite,'icon-fav-empty':!coursewareInfo.isFavorite}"></i>{{coursewareInfo.favorite_count}}</a>
:class="{'icon-like-fill':coursewareInfo.isFavorite,'icon-like':!coursewareInfo.isFavorite}"></i>{{coursewareInfo.favorite_count}}</a>
<a href="javascript:;"><i
:class="{'icon-zan-full':coursewareInfo.isSupport,'icon-zan-empty':!coursewareInfo.isSupport}"></i>{{coursewareInfo.support_count}}</a>
:class="{'icon-agree-fill':coursewareInfo.isSupport,'icon-agree':!coursewareInfo.isSupport}"></i>{{coursewareInfo.support_count}}</a>
</p>
<button v-if="coursewareInfo.isPreview" class="btn btn-danger m-l-20 mb-left">购买
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment