12.4 概念模块功能完善
This commit is contained in:
@@ -33,10 +33,15 @@
|
||||
<image class="icon" :src="item.icon" mode="aspectFit"></image>
|
||||
<view class="title flex1">{{item.title}}</view>
|
||||
<image class="arrow" src="/static/icon/mine/menuArrow.png" mode="widthFix"></image>
|
||||
<button class="absolute" v-if="index==menuList.length-2" open-type="contact"></button>
|
||||
<!-- <button class="absolute" v-if="index==menuList.length-2" open-type="contact"></button> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<uni-popup ref="popup" type="center">
|
||||
<view class="popup">
|
||||
<image class="icon" src="/static/image/mine/service.png" mode="widthFix" show-menu-by-longpress></image>
|
||||
</view>
|
||||
</uni-popup>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -137,8 +142,13 @@
|
||||
uni.navigateTo({
|
||||
url
|
||||
})
|
||||
}else if(index==this.menuList.length-2)
|
||||
{
|
||||
//联系客服
|
||||
this.$refs['popup'].open()
|
||||
}else if(index==this.menuList.length-1)
|
||||
{
|
||||
//退出登录
|
||||
uni.showModal({
|
||||
title:'您确定要退出登录么',
|
||||
success(res) {
|
||||
@@ -281,4 +291,12 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.popup
|
||||
{
|
||||
.icon
|
||||
{
|
||||
width: 560rpx;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user