按钮颜色

This commit is contained in:
asd 2020-10-26 16:37:25 +08:00
parent 5564f3197d
commit 7cbc851cc5
2 changed files with 28 additions and 4 deletions

View File

@ -905,6 +905,10 @@ export default defineComponent({
line-height: 22px; line-height: 22px;
padding: 0 17px; padding: 0 17px;
} }
.confirm-btn:hover{
background:#ccc;
}
} }
.password-container { .password-container {
.title { .title {
@ -978,6 +982,9 @@ export default defineComponent({
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
} }
.submit-btn:hover{
background: #ccc;
}
} }
::v-deep(.ant-upload-list) { ::v-deep(.ant-upload-list) {
display: none; display: none;

View File

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<div class="lists"> <div class="lists">
<div class="listitem"> <div class="listitem" @click="navto(1)">
<div class="top"> <div class="top">
<img src="@/static/images/zhibotjicon.png" alt="" class="icon" /> <img src="@/static/images/zhibotjicon.png" alt="" class="icon" />
<span>直播列表</span> <span>直播列表</span>
@ -24,7 +24,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="listitem"> <div class="listitem" @click="navto(2)">
<div class="top"> <div class="top">
<img src="@/static/images/shipintjicon.png" alt="" class="icon" /> <img src="@/static/images/shipintjicon.png" alt="" class="icon" />
<span class="label1">视频列表</span> <span class="label1">视频列表</span>
@ -47,7 +47,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="listitem"> <div class="listitem" @click="navto(3)">
<div class="top"> <div class="top">
<img src="@/static/images/dingyuetjicon.png" alt="" class="icon" /> <img src="@/static/images/dingyuetjicon.png" alt="" class="icon" />
<span class="label2">订阅列表</span> <span class="label2">订阅列表</span>
@ -74,6 +74,7 @@
import { defineComponent, onMounted, ref } from "vue"; import { defineComponent, onMounted, ref } from "vue";
import NavBottom from "@/components/NavBottom.vue"; import NavBottom from "@/components/NavBottom.vue";
import { getstatisticlist } from "@/api" import { getstatisticlist } from "@/api"
import router from '@/router';
export default defineComponent({ export default defineComponent({
name: "Liststatistic", name: "Liststatistic",
components: { components: {
@ -84,8 +85,24 @@ export default defineComponent({
onMounted(async ()=>{ onMounted(async ()=>{
statistics.value = await getstatisticlist() statistics.value = await getstatisticlist()
}) })
function navto(e?: number){
switch(e){
case 1:
router.push("/regime/live");
break;
case 2:
router.push("/regime/video")
break;
case 3:
router.push("/regime/subscriber")
}
}
// console.log(statistics,111) // console.log(statistics,111)
return {statistics}; return {
statistics,
navto
};
}, },
}); });
</script> </script>