页面
This commit is contained in:
28
components/Advertisement/Advertisement.vue
Normal file
28
components/Advertisement/Advertisement.vue
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<view class="advertisement">广告</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title: 'Hello'
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
// 页面加载时执行
|
||||
},
|
||||
methods: {
|
||||
// 方法定义
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.advertisement {
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
background: #ff0000;
|
||||
}
|
||||
/* 样式定义 */
|
||||
</style>
|
||||
Reference in New Issue
Block a user