优化移动端楼层装修

This commit is contained in:
paulGao
2022-04-21 14:58:18 +08:00
parent 14d12d90e3
commit b22ad88f37
4 changed files with 29 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="layout" :style="{textAlign: res.list[0].textAlign}">
<div class="layout" :style="{textAlign: res.list[0].textAlign}" @click="modelNavigateTo(res.list[0])" >
<div class="background" :style="{ backgroundColor: res.list[0].bk_color}">
<div class="title" :style="{ color: res.list[0].color }">
{{ res.list[0].title }}
@@ -13,9 +13,15 @@
<script>
import { modelNavigateTo } from "./tpl";
export default {
title: "标题栏",
props: ["res"],
data() {
return {
modelNavigateTo,
};
},
mounted() {},
};
</script>