|
@@ -17,28 +17,38 @@
|
|
|
</view>
|
|
|
<!-- 列表 -->
|
|
|
<view class="list-container">
|
|
|
- <navigator url="/pages/order/historyOrder" class="list-item flex align_center justify_between">
|
|
|
+ <navigator v-if="hasLogin" url="/pages/order/historyOrder" class="list-item flex align_center justify_between">
|
|
|
<view class="flex align_center">
|
|
|
<view class="t-icon icon t-icon-icon_order"></view>
|
|
|
<text>历史订单</text>
|
|
|
</view>
|
|
|
<u-icon name="arrow-right" color="#9DA8B5" size="32"></u-icon>
|
|
|
</navigator>
|
|
|
- <navigator url="/pages/recoveryTotal/index" class="list-item flex align_center justify_between">
|
|
|
+ <navigator v-if="hasLogin" url="/pages/recoveryTotal/index" class="list-item flex align_center justify_between">
|
|
|
<view class="flex align_center">
|
|
|
<view class="t-icon icon t-icon-icon_statistics"></view>
|
|
|
<text>回收统计</text>
|
|
|
</view>
|
|
|
<u-icon name="arrow-right" color="#9DA8B5" size="32"></u-icon>
|
|
|
</navigator>
|
|
|
- <navigator url="/pages/userCenter/changePwd" class="list-item flex align_center justify_between">
|
|
|
+ <navigator v-if="hasLogin" url="/pages/userCenter/changePwd" class="list-item flex align_center justify_between">
|
|
|
<view class="flex align_center">
|
|
|
<view class="t-icon icon t-icon-icon_modify"></view>
|
|
|
<text>修改密码</text>
|
|
|
</view>
|
|
|
<u-icon name="arrow-right" color="#9DA8B5" size="32"></u-icon>
|
|
|
</navigator>
|
|
|
- <view @click="quitSys" class="list-item flex align_center justify_between">
|
|
|
+ <view @click="checkUpdate" class="list-item flex align_center justify_between">
|
|
|
+ <view class="flex align_center">
|
|
|
+ <u-icon class="icon" name="error-circle" color="#5c655eb0" size="48"></u-icon>
|
|
|
+ <text>版本检查</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>{{version}}</text>
|
|
|
+ <u-icon name="arrow-right" color="#9DA8B5" size="32"></u-icon>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view v-if="hasLogin" @click="quitSys" class="list-item flex align_center justify_between">
|
|
|
<view class="flex align_center">
|
|
|
<view class="t-icon icon t-icon-icon_out"></view>
|
|
|
<text>退出登录</text>
|
|
@@ -218,6 +228,7 @@
|
|
|
.icon{
|
|
|
width: 48rpx;
|
|
|
height: 48rpx;
|
|
|
+ margin-right: 30rpx;
|
|
|
}
|
|
|
.list-item{
|
|
|
padding: 32rpx 36rpx;
|
|
@@ -225,7 +236,6 @@
|
|
|
text{
|
|
|
font-size: 34rpx;
|
|
|
color: #191919;
|
|
|
- margin-left: 30rpx;
|
|
|
}
|
|
|
}
|
|
|
.margin-bot{
|