| | |
| | | <swiper-item v-for="(sliderItem, index) in navbarShowList" :key="index"> |
| | | <view class="slider_itemslist rowSta"> |
| | | <view class="item colCen" v-for="(item, idx) in sliderItem" :key="idx" |
| | | @click="goUrl(item)"> |
| | | @click="perVerification(item)"> |
| | | <image :src="item.image" :lazy-load="true" mode="aspectFit"></image> |
| | | <view class="desc">{{ item.mname }}</view> |
| | | </view> |
| | |
| | | </view> |
| | | </scroll-view> |
| | | <slideTop v-if="scrollTop>1000" @toTop='scrolltoTops'></slideTop> |
| | | |
| | | <u-modal v-model="showConModel" show-cancel-button :content="conContent" @confirm="modConfirm" :async-close="true"> |
| | | </u-modal> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | wphbanner:[], |
| | | haspreference:false, |
| | | preferData:{}, |
| | | showConModel:false, |
| | | conContent:'', |
| | | urlInfo:{} |
| | | } |
| | | }, |
| | | watch: { |
| | |
| | | }, 1500) |
| | | }, |
| | | methods: { |
| | | perVerification(info) |
| | | { |
| | | this.urlInfo=info; |
| | | var mapPer="本地生活,电影7折" |
| | | var menuName=info.mname; |
| | | if(mapPer.indexOf(menuName)>-1) |
| | | { |
| | | this.conContent='应用将申请位置权限,用于快速选定所在城市'; |
| | | this.showConModel=true; |
| | | } |
| | | else |
| | | { |
| | | this.goUrl(info); |
| | | } |
| | | }, |
| | | modConfirm() |
| | | { |
| | | this.showConModel=false; |
| | | this.goUrl(this.urlInfo); |
| | | }, |
| | | checkPreferenceGoods() |
| | | {//是否有推荐 |
| | | var that = this; |
| | |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | |
| | | goUrl(info) { |
| | | utils.goUrl(info, this) |
| | | }, |
| | |
| | | <template style="background:#fff"> |
| | | <view class="invite-code-container colCen borderBox"> |
| | | <template style="background:#fff"> |
| | | <view v-if="isshowpage" class="invite-code-container colCen borderBox"> |
| | | <view class="model-title rowCenCen"> |
| | | 请输入邀请码 |
| | | </view> |
| | |
| | | data(){ |
| | | return{ |
| | | isShowCode:false, |
| | | inviteCode:'', |
| | | inviteCode:'DAFANGUAN', |
| | | appInfo:'', |
| | | inviterShow:false, |
| | | platform:'', |
| | | commonInvite:[], |
| | | inviteIndex:0 |
| | | inviteIndex:0, |
| | | isshowpage:false |
| | | } |
| | | }, |
| | | onLoad() |
| | | { |
| | | this.getInviter(); |
| | | //this.getInviter(); |
| | | //去除邀请码 |
| | | this.setCode(); |
| | | }, |
| | | mounted() { |
| | | this.appInfo = uni.getStorageSync('appInfo'); |
| | |
| | | <view class="modifyInfo-wrapper wrapperLayer"> |
| | | <titleBar :titleText="'修改信息'" :pageForm='"modifyInfo"'></titleBar> |
| | | <view class="pagebottom-container colCen"> |
| | | <view class="userAvator-bar pd30 rowCenBet" @tap="avatarChoose()"> |
| | | <view class="userAvator-bar pd30 rowCenBet" @tap="perVerification()"> |
| | | <view class="leftkey"> |
| | | 头像 |
| | | </view> |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <u-modal v-model="showConModel" show-cancel-button :content="conContent" @confirm="modConfirm" :async-close="true"> |
| | | </u-modal> |
| | | </view> |
| | | |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | user:'' |
| | | user:'', |
| | | showConModel:false, |
| | | conContent:'', |
| | | } |
| | | }, |
| | | onShow() { |
| | |
| | | }) |
| | | }, |
| | | methods:{ |
| | | perVerification() |
| | | { |
| | | this.conContent='应用将申请存储、拍照的权限,仅用于头像的图片选取'; |
| | | this.showConModel=true; |
| | | }, |
| | | modConfirm() |
| | | { |
| | | this.showConModel=false; |
| | | this.avatarChoose(); |
| | | }, |
| | | nickname(){ |
| | | uni.navigateTo({ |
| | | url:'./setNickname?nickName='+this.user.nickname |