修改商学院布局
This commit is contained in:
parent
6139722378
commit
4eb1695e7c
@ -10,7 +10,7 @@
|
||||
{{item.intro}}
|
||||
</view>
|
||||
|
||||
<view class="goods-video">
|
||||
<view class="goods-video" v-if="item.video">
|
||||
<video :src="item.video" :poster="item.video + '?x-oss-process=video/snapshot,t_1000,m_fast'"></video>
|
||||
</view>
|
||||
|
||||
@ -47,13 +47,16 @@
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 48%);
|
||||
column-gap: 20rpx;
|
||||
margin: 0 20rpx;
|
||||
justify-content: space-between;
|
||||
// display: grid;
|
||||
// grid-template-columns: repeat(2, 48%);
|
||||
// column-gap: 20rpx;
|
||||
// margin: 0 20rpx;
|
||||
// justify-content: space-between;
|
||||
// column-gap: 20px;
|
||||
// break-inside: avoid;
|
||||
|
||||
.list-block {
|
||||
break-inside: avoid-column; /* 避免在列中断 */
|
||||
background-color: #fff;
|
||||
border-radius: 20rpx;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user