123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <template>
- <view class="">
- <navbar :config="config" backColor="#999999"></navbar>
- <zw-search />
- <view class="content-box">
- <view class="space-item" v-for="item in listArr">
- <image class="space-img" src="../index/banner.png" mode="scaleToFill"></image>
- <view class="space-info">
- <text class="space-title zw-two-row">宜昌产投大数据产业园</text>
- <text class="space-name zw-one-row">宜昌产投大数据产业园运营管理有限公司</text>
- </view>
- </view>
- <loadMore v-if="listArr.length > 0" :status="status"></loadMore>
- <view class="empty-data" v-show="!listArr || listArr.length === 0">
- <EmptyDate />
- </view>
- </view>
- </view>
- </template>
- <script>
- import Mixin from "./Mixin.js"
- export default {
- mixins: [Mixin],
- data() {
- return {
- topFixedHeight: 100,
- config: {
- back: true,
- title: '我的空间',
- color: 'black',
- backgroundColor: [1, '#fff'],
- statusBarFontColor: 'black'
- },
- keyword: '',
- status: 'noMore', //more|loading|noMore
- listArr: [1, 2, 3, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7]
- }
- },
- methods: {
- searchData() {}
- }
- }
- </script>
- <style>
- page {
- background: #f9f9f9;
- }
- </style>
- <style lang="scss" scoped>
- .search-box {
- position: fixed;
- left: 0;
- right: 0;
- z-index: 1;
- padding: 0 30rpx;
- display: flex;
- align-items: center;
- }
- .content-box {
- padding: 0 30rpx 30rpx;
- .space-item {
- width: 100%;
- padding: 15rpx 18rpx;
- background: #ffffff;
- border-radius: 20rpx;
- display: flex;
- justify-content: space-between;
- align-items: stretch;
- margin-top: 30rpx;
- // &:last-child{
- // margin-bottom: 0;
- // }
- .space-img {
- width: 220rpx;
- height: 147rpx;
- border-radius: 20rpx;
- }
- .space-info {
- width: calc(100% - 220rpx);
- padding: 29rpx 0 18rpx 37rpx;
- display: flex;
- flex-direction: column;
- // align-items: center;
- justify-content: space-between;
- .space-title {
- font-size: 30rpx;
- font-family: Microsoft YaHei, Microsoft YaHei-Bold;
- font-weight: 700;
- color: #333333;
- line-height: 1.1;
- }
- .space-name {
- font-size: 18rpx;
- font-family: Microsoft YaHei, Microsoft YaHei-Regular;
- font-weight: 400;
- color: #999999;
- }
- }
- }
- .empty-data {
- padding-top: 80rpx;
- }
- }
- </style>
|