dev_zt
wangqiujuan0808 2023-10-30 18:18:53 +08:00
parent d4b085b054
commit d93f58f080
3 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,7 @@
<i v-if="hasBack" class="el-icon-back" ></i> <i v-if="hasBack" class="el-icon-back" ></i>
<span style="font-size: 20px">{{ modelName }}</span> <span style="font-size: 20px">{{ modelName }}</span>
</div> </div>
<div style="font-size: 24px">{{name}}</div>
<div class="right"> <div class="right">
<el-popover <el-popover
placement="bottom" placement="bottom"

View File

@ -101,7 +101,7 @@
.index-left-top { .index-left-top {
width: 100%; width: 100%;
height: 80%; height: 80%;
border: 1px solid red; // border: 1px solid red;
} }
.index-left-bottom { .index-left-bottom {
height: 20%; height: 20%;

View File

@ -43,6 +43,10 @@ export default {
url: 'weather' url: 'weather'
}] }]
}) })
onMounted(() => {
store.commit("setModelName", '');
})
const go = (item) => { const go = (item) => {
store.commit("setModelName", item.name); store.commit("setModelName", item.name);
router.push(item.url); router.push(item.url);