guoshilong
2023-11-03 b2bf21bd2160f80d526c92a2bd078f4a895454d5
Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/jczz_app
1 files modified
22 ■■■■ changed files
pages/home/index.vue 22 ●●●● patch | view | raw | blame | history
pages/home/index.vue
@@ -2,10 +2,12 @@
    <view class="">
        <u-navbar height="48" :autoBack="false" safeAreaInsetTop placeholder
            @leftClick="selectBoxShow = !selectBoxShow">
            <view slot="left" class="flex">
                <text class="top">{{curSelectSite.name?curSelectSite.name:'暂无绑定' +roleTypeName+'信息'}}</text>
            <view slot="left" class="top flex">
                <view class="top-text f-30 fw">{{curSelectSite.name?curSelectSite.name:'暂无绑定' +roleTypeName+'信息'}}
                </view>
                <u-icon name="/static/icon/change-icon.png"></u-icon>
            </view>
                </view>
        </u-navbar>
        <view class="content">
            <view class="swiper">
@@ -371,7 +373,10 @@
                        this.curSelectSite = dataList[0].children[0];
                        this.getHouseDataList(dataList[0].children[0].id)
                        this.buildSiteColumn(dataList[0].children, index + 1)
                    } else {
                        this.curSelectSite = dataList[0];
                    }
                }
            },
@@ -570,9 +575,14 @@
<style lang="scss" scoped>
    .top {
        margin-right: 20rpx;
        font-size: 32rpx;
        font-weight: bold;
        width: 530rpx;
        .top-text {
            max-width: 85%;
            margin-right: 20rpx;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }
    .swiper {