前端学习(2352):view组件的使用
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                前端学习(2352):view组件的使用
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                detail.vue
<template><view><!-- <view class=""><text>唱歌跳舞</text></view><view seletable><text>唱歌跳舞</text></view><view seletable space="ensp"><text>唱歌 跳舞</text></view> --><view class="box" hover-class="box-active">我是一個大盒子</view><view class="box2" hover-class="box-active" hover-stop-propagation="">我是一個大盒子</view></view> </template><script>export default {data() {return {}},methods: {}} </script><style> .box{width: 100px;height: 100px;background: #007AFF; } .box2{width: 200px;height: 200px;background: #4CD964; } .box-active{background: red; } </style>運行結果
總結
以上是生活随笔為你收集整理的前端学习(2352):view组件的使用的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: HeadFirst设计模式
- 下一篇: “约见”面试官系列之常见面试题之第四十七
