Lou
2023-12-13 d302ebb0ad2f93cea6c3736f5116c58259cce071
优化部分样式
4 files modified
3 files added
60 ■■■■■ changed files
components/noticeList/noticeList.vue 8 ●●●● patch | view | raw | blame | history
pages/home/index.vue 39 ●●●●● patch | view | raw | blame | history
pages/user/center.vue 2 ●●● patch | view | raw | blame | history
static/icon/nav-13.png patch | view | raw | blame | history
static/icon/nav-14.png patch | view | raw | blame | history
static/icon/nav-15.png patch | view | raw | blame | history
subPackage/bs/views/repairList.vue 11 ●●●●● patch | view | raw | blame | history
components/noticeList/noticeList.vue
@@ -15,7 +15,7 @@
                        <text class="f-24 c-99">{{item.createTime}}</text>
                    </view>
                </view>
                <u-image :src="item.url" width="200rpx" height="140rpx"></u-image>
                <u-image :src="setUrl(item.url)" width="200rpx" height="140rpx"></u-image>
            </view>
            <view v-else class="notice-inner flex f-d-c j-c-s-b">
                <text class="notice-title f-28 fw">{{item.title}}</text>
@@ -36,6 +36,7 @@
<script>
    import tagCell from './tagCell'
    import { minioBaseUrl } from '@/common/setting.js'
    export default {
        name: "noticeList",
        props: {
@@ -50,6 +51,11 @@
            }
        },
        methods: {
            setUrl(url){
                return `${minioBaseUrl}${url}`
            },
            navToDetail(id,type,pdId) {
                if(type == 0 || type == 1){
                    uni.navigateTo({
pages/home/index.vue
@@ -13,13 +13,6 @@
                <u-swiper :list="bannerList" height="260rpx"></u-swiper>
            </view>
            <view class="">
                <u-grid :border="false" :col="liveList.length">
                    <u-grid-item @click.native="navigatorPage(i.path)" v-for="(i,k) in liveList" :key="k">
                        <u-icon :name="i.pictureImg" width="90rpx" height="90rpx"></u-icon>
                        <text class="f-26 mt-20">{{i.name}}</text>
                    </u-grid-item>
                </u-grid>
                <view class="section flex j-c-s-a a-i-c mt-40" v-if="isShowContact && curSelectSite.addressType == 1">
                    <view class="section-item" v-for="(i,k) in contactList" :key="k" v-if="i.name">
                        <image class="section-item-bg" :src="i.bgImg" mode="aspectFill"></image>
@@ -28,7 +21,6 @@
                            <view class="flex j-c-s-b">
                                <text class="f-22">{{i.name}}</text>
                                <u-icon :name="i.icon" @click.stop="callPhone(i.phone)"></u-icon>
                            </view>
                        </view>
                    </view>
                </view>
@@ -65,7 +57,19 @@
                        </view>
                    </view>
                </view>
                </view>
                <view class="" v-if="liveList.length">
                    <caption-row title="生活" />
                    <view class="grid">
                        <u-grid :border="false" :col="liveList.length">
                            <u-grid-item @click.native="navigatorPage(i.path)" v-for="(i,k) in liveList" :key="k">
                                <u-icon :name="i.pictureImg" width="90rpx" height="90rpx"></u-icon>
                                <text class="f-26 mt-20">{{i.name}}</text>
                            </u-grid-item>
                        </u-grid>
                    </view>
                </view>
            </view>
            <view class="" v-if="isShowHouse">
@@ -82,14 +86,18 @@
            <view class="mb-20" v-if="roleType == 2">
                <caption-row title="社区" />
                <view class="mt-20">
                    <u-grid :border="false" col="4">
                    <u-grid :border="false" col="3">
                        <u-grid-item @click="navigatorPage(`/subPackage/article/communityList?type=1`)">
                            <u-icon name="/static/icon/nav-14.png" width="90rpx" height="90rpx"></u-icon>
                            <text class="f-26  mt-10">选举调查</text>
                        </u-grid-item>
                        <u-grid-item @click="navigatorPage(`/subPackage/article/communityList?type=0`)">
                            <u-icon name="/static/icon/nav-09.png" width="90rpx" height="70rpx"></u-icon>
                            <u-icon name="/static/icon/nav-13.png" width="90rpx" height="90rpx"></u-icon>
                            <text class="f-26  mt-10">公益报名</text>
                        </u-grid-item>
                        <u-grid-item @click="navigatorPage(`/subPackage/article/communityList?type=1`)">
                            <u-icon name="/static/icon/nav-10.png" width="90rpx" height="70rpx"></u-icon>
                            <text class="f-26  mt-10">选举调查</text>
                        <u-grid-item @click="navigatorPage('')">
                            <u-icon name="/static/icon/nav-15.png" width="90rpx" height="90rpx"></u-icon>
                            <text class="f-26  mt-10">公共收益</text>
                        </u-grid-item>
                    </u-grid>
                </view>
@@ -754,6 +762,11 @@
        padding: 0 30rpx;
    }
    .grid {
        margin-top: 20rpx;
        margin-bottom: 10rpx;
    }
    .section {
        .section-item {
            width: 216rpx;
pages/user/center.vue
@@ -12,7 +12,7 @@
                <!-- <text class="f-28 c-99">您好业主,欢迎回家</text> -->
            </view>
            
            <view class="setting flex a-i-c j-c-c"  @click="navigator('/subPackage/user/editUserInfo/editUserInfo')">
            <view  v-if="isLogin"  class="setting flex a-i-c j-c-c"  @click="navigator('/subPackage/user/editUserInfo/editUserInfo')">
                <u-icon name="setting"  size="30"  color="#fff"></u-icon>
            </view>
            
static/icon/nav-13.png
static/icon/nav-14.png
static/icon/nav-15.png
subPackage/bs/views/repairList.vue
@@ -18,7 +18,8 @@
                </view>
            </view>
        </view> -->
<z-paging ref="paging" v-model="dataList" @query="queryList" loading-more-no-more-text="没有更多了">
        <z-paging ref="paging" v-model="dataList" @query="queryList" :refresher-enabled="false"
            loading-more-no-more-text="没有更多了"   :hide-empty-view="true">
        <view class="list" >
            <view class="list-item bgc-ff mb-20" v-for="item in dataList" :key="item.id" @click="pushPage(item)">
                <view class="item-title flex a-i-c j-c-s-b mb-20">
@@ -38,9 +39,9 @@
</z-paging>
        <!-- <view v-else>
        <view v-if="!dataList.length">
            <u-empty marginTop="50%" mode="list"></u-empty>
        </view> -->
        </view>
        <!--     <u-loading-page :loading="loadingPage"></u-loading-page>
        <u-loading-icon :show="loadingIcon"></u-loading-icon> -->
@@ -146,10 +147,6 @@
                        return i.name;
                    }
                }
            },
            refreshList(){
                this.$refs.paging.reload();
            },
            
            queryList(pageNo,pageSize){