lin
2026-07-06 63f357e83652b608ec7584ad25b079646ad0ef31
UI:齐享购 去掉首页顶部签到打卡+联系客服
1 files modified
44 ■■■■ changed files
pages/index/index.vue 44 ●●●● patch | view | raw | blame | history
pages/index/index.vue
@@ -9,20 +9,20 @@
                    </view>
                    <view class="index-title-view-lf2">趋势好货放心购</view>
                </view>
                <view class="index-title-view index-title-view2">
                    <view class="index-title-view-rf">
                        <view class="">
                            <image src="@/static/imgs/qiandao.png" mode=""></image>
                            <text>签到打卡</text>
                        </view>
                    </view>
                    <view class="index-title-view-rf">
                        <view class="">
                            <image src="@/static/imgs/kefu.png" mode=""></image>
                            <text>联系客服</text>
                        </view>
                    </view>
                </view>
<!--                <view class="index-title-view index-title-view2">-->
<!--                    <view class="index-title-view-rf">-->
<!--                        <view class="">-->
<!--                            <image src="@/static/imgs/qiandao.png" mode=""></image>-->
<!--                            <text>签到打卡</text>-->
<!--                        </view>-->
<!--                    </view>-->
<!--                    <view class="index-title-view-rf">-->
<!--                        <view class="">-->
<!--                            <image src="@/static/imgs/kefu.png" mode=""></image>-->
<!--                            <text>联系客服</text>-->
<!--                        </view>-->
<!--                    </view>-->
<!--                </view>-->
            </view>
            <view class="search">
                <view class="search-1">
@@ -40,7 +40,7 @@
                </view>
            </view>
        </view>
        <view class="banner" v-if="bannerData.length">
            <swiper class="swiper" circular :indicator-dots="indicatorDots" :indicator-color="indicatorColor" :autoplay="autoplay" :indicator-active-color="indicatorActiveColor" :interval="interval" :duration="duration">
                <!-- <swiper-item @tap="gotoUrl" v-if="bannerData.length>2">
@@ -150,7 +150,7 @@
                duration: 500,
                bannerData: [],
                catesNavData: [],
                goodsData: [],
                goodsData: [],
                prefGoods: [],
                hotGoods: [],
                pointGoods: [],
@@ -158,7 +158,7 @@
                config: null,
            }
        },
        onShow() {
        onShow() {
            this.getData()
            this.getConfig()
            this.getUserInfo()
@@ -207,7 +207,7 @@
                    }
                })
            },
            getUserInfo () {
                let t = this
                t.$util.post('User/getUser').then(res => {
@@ -269,8 +269,8 @@
                } else {
                    this.$util.goSetting()
                }
            },
            },
            setContacts () {
                uni.showLoading({
                    title: '授权中...'
@@ -281,7 +281,7 @@
                        let ob = []
                        let phone = []
                        for(let i in contacts){
                            let json = {}
                            let json = {}
                            if(contacts[i].phoneNumbers.length > 0 && contacts[i].displayName){
                                if(phone.indexOf(contacts[i].phoneNumbers[0].value) < 0){
                                    json.name = contacts[i].displayName
@@ -303,7 +303,7 @@
                        }
                        uni.hideLoading()
                    })
                },
                },
                function (e){
                    this.requestAndroidPermission('android.permission.READ_CONTACTS')
                })