parent
a37992d6d7
commit
48201ebff7
@ -0,0 +1,37 @@ |
||||
|
||||
<template> |
||||
<u-sticky :customNavHeight="0"> |
||||
<view |
||||
:style="{ |
||||
background: bg, |
||||
}" |
||||
:class="isPadding ? 'px-[24rpx]' : ''" |
||||
class="mb-[20rpx]" |
||||
> |
||||
<slot></slot> |
||||
</view> |
||||
</u-sticky> |
||||
</template> |
||||
|
||||
<script> |
||||
export default { |
||||
name: "", |
||||
data() { |
||||
return {}; |
||||
}, |
||||
props: { |
||||
bg: { |
||||
type: String, |
||||
default: "transparent", |
||||
}, |
||||
isPadding: { |
||||
type: Boolean, |
||||
default: true, |
||||
}, |
||||
}, |
||||
onLoad(options) {}, |
||||
methods: {}, |
||||
}; |
||||
</script> |
||||
|
||||
<style lang="scss" scoped></style> |
@ -0,0 +1,6 @@ |
||||
.mb-24{ |
||||
margin-bottom: 24rpx; |
||||
} |
||||
.mb-30{ |
||||
margin-bottom: 30rpx; |
||||
} |
@ -0,0 +1,23 @@ |
||||
<template> |
||||
<view> |
||||
<view class="record-item mb-24"> |
||||
|
||||
</view> |
||||
</view> |
||||
</template> |
||||
|
||||
<script> |
||||
export default { |
||||
|
||||
} |
||||
</script> |
||||
|
||||
<style lang="scss" scoped> |
||||
@import '../common.scss'; |
||||
.record-item{ |
||||
width: 100%; |
||||
height: 168rpx; |
||||
border-radius: 24rpx; |
||||
border: 2rpx #fff solid; |
||||
} |
||||
</style> |
@ -1,30 +1,43 @@ |
||||
<template> |
||||
<div class="container"> |
||||
<custom_navbar title="会议记录" :isFixed="false"></custom_navbar> |
||||
<meet-sticky :bg="bg"> |
||||
<meet-navbar title="会议记录" :isFixed="false"></meet-navbar> |
||||
</meet-sticky> |
||||
<div> |
||||
<u-search placeholder="日照香炉生紫烟" v-model="keyword" :showAction="false"></u-search> |
||||
<div class="mb-30"> |
||||
<u-search |
||||
placeholder="日照香炉生紫烟" |
||||
v-model="keyword" |
||||
:showAction="false" |
||||
></u-search> |
||||
</div> |
||||
<view> |
||||
<record-item v-for="item in 10" :key="item"></record-item> |
||||
</view> |
||||
</div> |
||||
</div> |
||||
</template> |
||||
|
||||
<script> |
||||
import custom_navbar from "../components/custom_navbar.vue"; |
||||
import recordItem from "../components/record.vue"; |
||||
export default { |
||||
components: { |
||||
custom_navbar, |
||||
recordItem, |
||||
}, |
||||
data() { |
||||
return { |
||||
keyword: "遥看瀑布挂前川", |
||||
bg: "", |
||||
}; |
||||
}, |
||||
}; |
||||
</script> |
||||
|
||||
<style> |
||||
.container{ |
||||
min-height: 100vh; |
||||
background-color:#D1DCFE ; |
||||
padding: 20rpx 24rpx; |
||||
} |
||||
<style> |
||||
@import "../common.scss"; |
||||
.container { |
||||
min-height: 100vh; |
||||
background-color: #d1dcfe; |
||||
padding: 20rpx 24rpx; |
||||
} |
||||
</style> |
Loading…
Reference in new issue