forked from ccsens_fe/tall-mui-3
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.3 KiB
71 lines
2.3 KiB
<template>
|
|
<view class="m-2">
|
|
<u-card :show-foot="false" :show-head="false" :style="{ height: isShrink ? '96rpx' : '300rpx' }" border-radius="25" margin="0">
|
|
<view slot="body">
|
|
<scroll-view :scrollY="true" :style="{ height: isShrink ? '40rpx' : '240rpx' }">
|
|
<skeleton :banner="false" :loading="loading" :row="4" animate class="u-line-2 mt-2 skeleton"></skeleton>
|
|
<view class="u-col-between p-0" v-if="!loading">
|
|
<view class="u-line-2">瓶身描绘的牡丹一如你初妆</view>
|
|
<view class="u-line-2 mt-2">瓶身描绘的牡丹一如你初妆</view>
|
|
<view class="u-line-2 mt-2">瓶身描绘的牡丹一如你初妆</view>
|
|
<view class="u-line-2 mt-2">瓶身描绘的牡丹一如你初妆</view>
|
|
<view class="u-line-2 mt-2">瓶身描绘的牡丹一如你初妆</view>
|
|
<view class="u-line-2 mt-2">瓶身描绘的牡丹一如你初妆</view>
|
|
<view class="u-line-2 mt-2">瓶身描绘的牡丹一如你初妆</view>
|
|
<view class="u-line-2 mt-2">瓶身描绘的牡丹一如你初妆</view>
|
|
<view class="u-line-2 mt-2">瓶身描绘的牡丹一如你初妆</view>
|
|
<view class="u-line-2 mt-2">瓶身描绘的牡丹一如你初妆</view>
|
|
<view class="u-line-2 mt-2">瓶身描绘的牡丹一如你初妆</view>
|
|
<view class="u-line-2 mt-2">瓶身描绘的牡丹一如你初妆222</view>
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|
|
</u-card>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapState } from 'vuex';
|
|
import Skeleton from '@/components/Skeleton/Skeleton';
|
|
|
|
export default {
|
|
name: 'Global',
|
|
components: { Skeleton },
|
|
data() {
|
|
return { loading: false };
|
|
},
|
|
computed: mapState('home', ['isShrink']),
|
|
mounted() {
|
|
this.loading = true;
|
|
setTimeout(() => {
|
|
this.loading = false;
|
|
console.log('this.loading: ', this.loading);
|
|
}, 10000);
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.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;
|
|
}
|
|
|
|
.skeleton:first-child {
|
|
margin-top: 0 !important;
|
|
}
|
|
</style>
|
|
|