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> |
<template> |
||||||
<div class="container"> |
<div class="container"> |
||||||
<custom_navbar title="会议记录" :isFixed="false"></custom_navbar> |
<meet-sticky :bg="bg"> |
||||||
|
<meet-navbar title="会议记录" :isFixed="false"></meet-navbar> |
||||||
|
</meet-sticky> |
||||||
<div> |
<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> |
||||||
</div> |
</div> |
||||||
</template> |
</template> |
||||||
|
|
||||||
<script> |
<script> |
||||||
import custom_navbar from "../components/custom_navbar.vue"; |
import recordItem from "../components/record.vue"; |
||||||
export default { |
export default { |
||||||
components: { |
components: { |
||||||
custom_navbar, |
recordItem, |
||||||
}, |
}, |
||||||
data() { |
data() { |
||||||
return { |
return { |
||||||
keyword: "遥看瀑布挂前川", |
keyword: "遥看瀑布挂前川", |
||||||
|
bg: "", |
||||||
}; |
}; |
||||||
}, |
}, |
||||||
}; |
}; |
||||||
</script> |
</script> |
||||||
|
|
||||||
<style> |
<style> |
||||||
.container{ |
@import "../common.scss"; |
||||||
min-height: 100vh; |
.container { |
||||||
background-color:#D1DCFE ; |
min-height: 100vh; |
||||||
padding: 20rpx 24rpx; |
background-color: #d1dcfe; |
||||||
} |
padding: 20rpx 24rpx; |
||||||
|
} |
||||||
</style> |
</style> |
Loading…
Reference in new issue