You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
825 B
56 lines
825 B
2 years ago
|
<template>
|
||
|
<view class="pages">
|
||
|
<view class="item" @click="itemClick('1')">
|
||
|
|
||
|
<text class="text">密码设置</text>
|
||
|
<image src="../../static/baseIcon/zy.png" style="width: 15px;height: 15px;"></image>
|
||
|
</view>
|
||
|
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
|
||
|
}
|
||
|
},
|
||
|
methods: {
|
||
|
itemClick(index) {
|
||
|
switch (index) {
|
||
|
case "1":
|
||
|
uni.navigateTo({
|
||
|
url: '../index/ChangePassword'
|
||
|
});
|
||
|
break;
|
||
|
default:
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss">
|
||
|
.pages {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
|
||
|
.item {
|
||
|
background: #fff;
|
||
|
padding: 20px 15px;
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: space-between;
|
||
|
|
||
|
.text {
|
||
|
color: #101010;
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</style>
|