调整区块链电商App兼容优化
This commit is contained in:
@@ -31,13 +31,6 @@
|
||||
<view class="ios-top"></view>
|
||||
<!-- header -->
|
||||
<view class="header">
|
||||
<!-- 工具 -->
|
||||
<view class="user-tool">
|
||||
<image class="user-tool-icon" src="/static/user/user-top-00.png" mode="aspectFill"
|
||||
@click="$Router.push({name: 'setting'})"></image>
|
||||
<image class="user-tool-icon" src="/static/user/user-top-01.png" mode="aspectFill"
|
||||
@click="$Router.push({name: 'news'})"></image>
|
||||
</view>
|
||||
<!-- 用户信息 -->
|
||||
<view class="user-info">
|
||||
<view class="user-portrait">
|
||||
@@ -195,7 +188,7 @@
|
||||
</view>
|
||||
<view class="tool-label" @click="$Router.push({name: 'shopLists'})">
|
||||
<image class="tool-label-img" src="/static/user/userTool-04.png" mode=""></image>
|
||||
<view class="tool-label-name">部门门店</view>
|
||||
<view class="tool-label-name">门店管理</view>
|
||||
</view>
|
||||
<view class="tool-label" @click="$Router.push({name: 'employeesList'})">
|
||||
<image class="tool-label-img" src="/static/user/userTool-05.png" mode=""></image>
|
||||
@@ -280,7 +273,7 @@
|
||||
this.animatedShow = false
|
||||
},
|
||||
onPageScroll(e) {
|
||||
if (e.scrollTop <= 0 && !this.shoeCardType) {
|
||||
if (e.scrollTop <= -60 && !this.shoeCardType) {
|
||||
this.shoeCardType = true
|
||||
return
|
||||
}
|
||||
@@ -288,6 +281,16 @@
|
||||
this.shoeCardType = false
|
||||
}
|
||||
},
|
||||
onNavigationBarButtonTap(e){
|
||||
switch(e.index){
|
||||
case 0:
|
||||
this.$Router.push({name: 'news'})
|
||||
break
|
||||
case 1:
|
||||
this.$Router.push({name: 'setting'})
|
||||
break
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 开通VIP
|
||||
openVip(identityId) {
|
||||
@@ -374,18 +377,6 @@
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
// const result = h5Copy(copyNo)
|
||||
// if (result === false) {
|
||||
// uni.showToast({
|
||||
// title:'不支持',
|
||||
// })
|
||||
// } else {
|
||||
// uni.showToast({
|
||||
// title:'复制成功',
|
||||
// icon:'none'
|
||||
// })
|
||||
// }
|
||||
},
|
||||
// 友情提示信息
|
||||
showHelp(type) {
|
||||
@@ -666,36 +657,15 @@
|
||||
left: 0;
|
||||
width: 100%;
|
||||
background-image: linear-gradient(to right, #7c52fc, #976dff);
|
||||
|
||||
// user工具
|
||||
.user-tool {
|
||||
text-align: right;
|
||||
line-height: 40px;
|
||||
@extend .ios-top;
|
||||
|
||||
.user-tool-name {
|
||||
flex: 1;
|
||||
line-height: 40px;
|
||||
text-align: left;
|
||||
color: #fff;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
.user-tool-icon {
|
||||
padding-right: $padding;
|
||||
margin-top: 10px;
|
||||
width: $uni-img-size-sm;
|
||||
height: $uni-img-size-sm;
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
|
||||
overflow: hidden;
|
||||
@extend .ios-top;
|
||||
// 用户信息
|
||||
.user-info {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 70px;
|
||||
box-sizing: border-box;
|
||||
margin-top: 40px;
|
||||
padding-left: $padding;
|
||||
padding-right: $padding;
|
||||
color: $uni-text-color-inverse;
|
||||
|
||||
Reference in New Issue
Block a user