|
|
@ -10,17 +10,13 @@ |
|
|
|
</pdf> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<u-modal v-if="show" :show="show" @cancel="show = false" :showCancelButton="true" content='是否确认退出登录?' @confirm="handleOut"></u-modal> |
|
|
|
</view> |
|
|
|
<!-- 底部背景图 --> |
|
|
|
<view class="view-backimg"> |
|
|
|
<view class="view-backimg-top"></view> |
|
|
|
<view class="view-backimg-bottom"></view> |
|
|
|
</view> |
|
|
|
<!-- 头像 - 头像 --> |
|
|
|
<view class="avatarobx"> |
|
|
|
<view class="view-out" @click="handleOut">退出登录</view> |
|
|
|
<image class="avatar" src='../../imgs/tx.png' mode="widthFix"></image> |
|
|
|
</view> |
|
|
|
<div class="tools"> |
|
|
|
<view style="width:50vw;display: flex;margin: auto;"> |
|
|
|
<button :theme="'default'" type="submit" @click.stop="prePage" class="mr10"> |
|
|
@ -31,8 +27,13 @@ |
|
|
|
下一页 |
|
|
|
</button> |
|
|
|
</view> |
|
|
|
|
|
|
|
</div> |
|
|
|
<!-- 头像 - 头像 --> |
|
|
|
<view class="avatarobx"> |
|
|
|
<image class="avatar" src='../../imgs/tx.png' mode="widthFix" ></image> |
|
|
|
<view class="name">{{userName}}</view> |
|
|
|
<view class="view-out" @click="show = true">退出登录</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
|
|
|
@ -51,7 +52,9 @@ |
|
|
|
// 加载进度 |
|
|
|
loadedRatio: 0, |
|
|
|
curPageNum: 0, |
|
|
|
filePdfUrl: '' |
|
|
|
filePdfUrl: '', |
|
|
|
userName: uni.getStorageSync("userName"), |
|
|
|
show: false |
|
|
|
}; |
|
|
|
}, |
|
|
|
created() { |
|
|
@ -106,6 +109,9 @@ |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
/deep/ .u-modal__content{ |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
.popup-close { |
|
|
|
position: fixed; |
|
|
|
right: 20px; |
|
|
|