1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <template>
- <view class="main">
- <view class="indexswiper" style="margin-top: 10rpx;">
- <u-swiper :list="list" mode="none"></u-swiper>
- </view>
- <view class="tltleStyle">
- 推荐文章
- </view>
- <u-card :show-head="false" :show-foot="false" :border="false">
- <view class="" slot="body">
- <view class="u-border-bottom padding-bottom-sm">
- <view class="u-body-item u-flex u-col-between u-p-t-0">
- <view class="u-body-item-title u-line-2">瓶身描绘的牡丹一如你初妆,冉冉檀香透过窗心事我了然,宣纸上走笔至此搁一半</view>
- <image src="https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg"
- mode="aspectFill"></image>
- </view>
- <u-tag text="情感咨询" size="mini" shape="circle" mode="dark" type="info" />
- </view>
- <view class="padding-bottom-sm margin-top-sm">
- <view class="u-body-item u-flex u-col-between u-p-t-0">
- <view class="u-body-item-title u-line-2">瓶身描绘的牡丹一如你初妆,冉冉檀香透过窗心事我了然,宣纸上走笔至此搁一半</view>
- <image src="https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg"
- mode="aspectFill"></image>
- </view>
- <u-tag text="情感咨询" size="mini" shape="circle" mode="dark" type="info" />
- </view>
- </view>
- </u-card>
- <view class="margin-tb padding-tb-xs">
- <u-loadmore :status="nomore" :icon-type="flower" />
- </view>
- </view>
- </template>
- <script>
- export default {
- onLoad(options) {
- },
- data() {
- return {
- list: [{
- image: 'https://cdn.uviewui.com/uview/swiper/1.jpg',
- },
- {
- image: 'https://cdn.uviewui.com/uview/swiper/2.jpg',
- },
- {
- image: 'https://cdn.uviewui.com/uview/swiper/3.jpg',
- }
- ],
- }
- },
- methods: {
- }
- };
- </script>
- <style scoped lang="scss">
- .main {
- padding-top: 10rpx;
- padding-left: 20rpx;
- padding-right: 20rpx;
- }
- .tltleStyle {
- padding: 30rpx 30rpx 15rpx 15rpx;
- font-weight: bold;
- font-size: 40rpx;
- background-color: #fff;
- }
- .u-card-wrap {
- background-color: $u-bg-color;
- padding: 1px;
- }
- .u-body-item {
- font-size: 32rpx;
- color: #333;
- padding: 20rpx 10rpx;
- }
- .u-body-item image {
- width: 120rpx;
- flex: 0 0 120rpx;
- height: 120rpx;
- border-radius: 8rpx;
- margin-left: 12rpx;
- }
- </style>
|