[本时生活h5端]
This commit is contained in:
53
pages/payPassword/index.vue
Normal file
53
pages/payPassword/index.vue
Normal file
@@ -0,0 +1,53 @@
|
||||
<template>
|
||||
<view>
|
||||
<navigator :url="'/pages/payPassword/setup?passType=' + passType" class="label">
|
||||
<view class="label-name">
|
||||
支付密码
|
||||
</view>
|
||||
<view class="label-more">
|
||||
{{ passType ? '已设置' : '未设置' }}<image src="/static/icon/rightsArrow.png"></image>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
passType : '', // 是否是首次设置密码
|
||||
}
|
||||
},
|
||||
// 生命周期函数--监听页面加载
|
||||
onLoad(options) {
|
||||
const Paypass = uni.getStorageSync("hasPaypass")
|
||||
this.passType = Paypass
|
||||
},
|
||||
|
||||
// 生命周期函数--监听页面显示
|
||||
onShow() {},
|
||||
methods: {}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.label {
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
padding: 0 20rpx;
|
||||
box-sizing: border-box;
|
||||
height: 90rpx;
|
||||
line-height: 90rpx;
|
||||
.label-name {
|
||||
flex: 1;
|
||||
}
|
||||
.label-more {
|
||||
display: flex;
|
||||
color: #999;
|
||||
image {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
margin: 28rpx 0 0 10rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user