| | |
| | | <swiper class="swiper-box" :interval="10000" :circular="true" :current="0" :autoplay="true">
|
| | | <swiper-item v-for="(url, index) in dto.bannerList" :key="index">
|
| | | <view class="swiper-item" :class="'swiper-item' + index">
|
| | | <image class="home-banner-image" mode="scaleToFill" @click="previewImg(url)" :src="url">
|
| | | <image class="home-banner-image m-auto m-t-12 m-b-12" style="display: block;" mode="scaleToFill" @click="previewImg(url)" :src="url">
|
| | | </image>
|
| | | </view>
|
| | | </swiper-item>
|
| | |
| | | this.id = options.id || ''
|
| | |
|
| | | // #ifdef PUB_CUSTOMER
|
| | | |
| | | if (options.partnerUserId) {
|
| | | let tmp = this
|
| | | tmp.sharePartnerUserId = options.partnerUserId
|
| | | //合伙人绑定的,判断当前用户,是否有登录,登录没绑定,没登录先缓存合伙人id,等注册和登录时候再弄
|
| | | setTimeout(() => {
|
| | | //并且当前用户没有绑定
|
| | | if(tmp.currentInfo.id&&tmp.currentInfo.customerDTO.partnerId){
|
| | | return
|
| | | }
|
| | | if (tmp.currentInfo.id) {
|
| | | tmp.bindPartnerUser(options.partnerUserId, '')
|
| | | } else {
|