| | |
| | | <div class="card-panel-text"> |
| | | 访客 |
| | | </div> |
| | | <count-to :start-val="0" :end-val="102400" :duration="2600" class="card-panel-num" /> |
| | | <count-to |
| | | :start-val="0" |
| | | :end-val="102400" |
| | | :duration="2600" |
| | | class="card-panel-num" |
| | | /> |
| | | </div> |
| | | </div> |
| | | </el-col> |
| | |
| | | <div class="card-panel-text"> |
| | | 消息 |
| | | </div> |
| | | <count-to :start-val="0" :end-val="81212" :duration="3000" class="card-panel-num" /> |
| | | <count-to |
| | | :start-val="0" |
| | | :end-val="81212" |
| | | :duration="3000" |
| | | class="card-panel-num" |
| | | /> |
| | | </div> |
| | | </div> |
| | | </el-col> |
| | |
| | | <div class="card-panel-text"> |
| | | 金额 |
| | | </div> |
| | | <count-to :start-val="0" :end-val="9280" :duration="3200" class="card-panel-num" /> |
| | | <count-to |
| | | :start-val="0" |
| | | :end-val="9280" |
| | | :duration="3200" |
| | | class="card-panel-num" |
| | | /> |
| | | </div> |
| | | </div> |
| | | </el-col> |
| | |
| | | <div class="card-panel-text"> |
| | | 订单 |
| | | </div> |
| | | <count-to :start-val="0" :end-val="13600" :duration="3600" class="card-panel-num" /> |
| | | <count-to |
| | | :start-val="0" |
| | | :end-val="13600" |
| | | :duration="3600" |
| | | class="card-panel-num" |
| | | /> |
| | | </div> |
| | | </div> |
| | | </el-col> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import CountTo from 'vue-count-to' |
| | | import CountTo from "vue-count-to"; |
| | | |
| | | export default { |
| | | components: { |
| | |
| | | }, |
| | | methods: { |
| | | handleSetLineChartData(type) { |
| | | this.$emit('handleSetLineChartData', type) |
| | | this.$emit("handleSetLineChartData", type); |
| | | } |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | |
| | | position: relative; |
| | | overflow: hidden; |
| | | color: #666; |
| | | background: #fff; |
| | | box-shadow: 4px 4px 40px rgba(0, 0, 0, .05); |
| | | border-color: rgba(0, 0, 0, .05); |
| | | box-shadow: 4px 4px 40px rgba(0, 0, 0, 0.05); |
| | | border-color: rgba(0, 0, 0, 0.05); |
| | | |
| | | &:hover { |
| | | .card-panel-icon-wrapper { |
| | |
| | | } |
| | | |
| | | .icon-shopping { |
| | | background: #34bfa3 |
| | | background: #34bfa3; |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | .icon-shopping { |
| | | color: #34bfa3 |
| | | color: #34bfa3; |
| | | } |
| | | |
| | | .card-panel-icon-wrapper { |