|
@@ -27,46 +27,44 @@
|
|
|
<view class="iconfont icon-chevron-right"></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="menu-item-box" @click="onRemoveInfo">
|
|
|
- <view class="lebal-box">
|
|
|
- 删除个人信息
|
|
|
- </view>
|
|
|
- <view class="suffix-box">
|
|
|
- <view class="iconfont icon-chevron-right"></view>
|
|
|
- </view>
|
|
|
+ <view class="main-btn" @click="onRemoveInfo">
|
|
|
+ <image :src="`${FILE_URL}/delete.png`"></image>
|
|
|
+ <text>删除个人信息</text>
|
|
|
</view>
|
|
|
- <view class="menu-item-box" @click="onCancelAccount">
|
|
|
- <view class="lebal-box">
|
|
|
- 账号注销
|
|
|
- </view>
|
|
|
- <view class="suffix-box">
|
|
|
- <view class="iconfont icon-chevron-right"></view>
|
|
|
- </view>
|
|
|
+ <view class="main-btn" @click="onCancelAccount">
|
|
|
+ <image :src="`${FILE_URL}/user-delete.png`"></image>
|
|
|
+ <text>账号注销</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
+ import configService from '@/utils/baseurl.js'
|
|
|
+ const FILE_URL = configService.FILE_URL;
|
|
|
function onUpdateTel() {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/setting/updateTel/updateTel'
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
function onUpdatePwd() {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/setting/updatePwd/updatePwd'
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
function onInfoExport() {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/setting/infoExport/infoExport'
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
function onRemoveInfo() {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/setting/removeInfo/removeInfo'
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
function onCancelAccount() {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/setting/cancelAccount/cancelAccount'
|
|
@@ -75,33 +73,68 @@
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-.container {
|
|
|
- height: 100vh;
|
|
|
- width: 100vw;
|
|
|
- padding: 0 20rpx;
|
|
|
- padding-top: 20rpx;
|
|
|
- background-color: $uni-bg-color;
|
|
|
- .menu-item-box {
|
|
|
- padding: 20rpx 30rpx;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- background-color: #fff;
|
|
|
- margin-bottom: 50rpx;
|
|
|
- border: 1px solid #E3E3E3;
|
|
|
- border-radius: 10px;
|
|
|
- .lebal-box {
|
|
|
- width: 60%;
|
|
|
- }
|
|
|
- .suffix-box {
|
|
|
+ $certificate-width: 220rpx;
|
|
|
+ $certificate-height: 300rpx;
|
|
|
+
|
|
|
+ .container {
|
|
|
+ height: 100vh;
|
|
|
+ width: 100vw;
|
|
|
+ padding: 0 20rpx;
|
|
|
+ padding-top: 20rpx;
|
|
|
+ background: rgb(141, 204, 255);
|
|
|
+ background: -moz-linear-gradient(90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
|
|
|
+ background: -webkit-linear-gradient(90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
|
|
|
+ background: -o-linear-gradient(90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
|
|
|
+ background: -ms-linear-gradient(90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
|
|
|
+ background: linear-gradient(180deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
|
|
|
+
|
|
|
+ .main-btn {
|
|
|
+ width: 85%;
|
|
|
+ background-color: #006af4;
|
|
|
+ border-radius: 20rpx;
|
|
|
+ margin: 30rpx auto;
|
|
|
+ padding: 40rpx 30rpx;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- justify-content: flex-end;
|
|
|
- text-align: end;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 100rpx;
|
|
|
+ height: 100rpx;
|
|
|
+ flex: 0 0 auto;
|
|
|
+ }
|
|
|
+
|
|
|
+ text {
|
|
|
+ margin-left: 20rpx;
|
|
|
+ color: #fff;
|
|
|
+ font-size: 40rpx;
|
|
|
+ }
|
|
|
}
|
|
|
- &:active {
|
|
|
- background: #e0e0e0; /* 按下的背景色 */
|
|
|
+
|
|
|
+ .menu-item-box {
|
|
|
+ padding: 20rpx 30rpx;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ background-color: #fff;
|
|
|
+ margin-bottom: 50rpx;
|
|
|
+ border: 1px solid #E3E3E3;
|
|
|
+ border-radius: 10px;
|
|
|
+
|
|
|
+ .lebal-box {
|
|
|
+ width: 60%;
|
|
|
+ }
|
|
|
+
|
|
|
+ .suffix-box {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: flex-end;
|
|
|
+ text-align: end;
|
|
|
+ }
|
|
|
+
|
|
|
+ &:active {
|
|
|
+ background: #e0e0e0;
|
|
|
+ /* 按下的背景色 */
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
-</style>
|
|
|
+</style>
|