feat:新增退出

This commit is contained in:
2026-09-02 09:14:01 +08:00
parent e9f07e8ede
commit 469451232a
4 changed files with 103 additions and 95 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
"appid" : "__UNI__4910728",
"description" : "信任桥优品是一款集线上商城、线下联盟商家的DAO聚合商城;通过“有趣”“有利”“有希望”的卖货玩法,吸引消费者、推广者、商家、投资人参与生态,共同打造共创共享的全球产业生态。",
"versionName" : "1.0.6",
"versionCode" : 173,
"versionCode" : 175,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
@@ -116,7 +116,7 @@ export default {
cancelAccount() {
clear();
uni.navigateTo({
url: '/pages/login_package/login/login'
url: 'pages/rwa_package/accountOut/accountOut'
})
},
jumpInfo(type) {
+8 -2
View File
@@ -24,7 +24,8 @@
<view class="bottom-btn">
<MyBtn text="已清楚风险,确定注销" @ok="onZhu"></MyBtn>
</view>
<u-modal :show="tipsShow" title="提示" showCancelButton @cancel="onCancel" @confirm="onConfirm" :content='content'></u-modal>
<u-modal :show="tipsShow" title="提示" showCancelButton @cancel="onCancel" @confirm="onConfirm"
:content='content'></u-modal>
<up-toast ref="uToastRef"></up-toast>
</view>
</template>
@@ -81,7 +82,7 @@ export default {
uni.redirectTo({
url: '/pages/login_package/login/login'
})
},2000)
}, 1000)
}
})
},
@@ -112,6 +113,7 @@ export default {
position: relative;
}
.setting-view {
width: 100%;
height: calc(100% - 88rpx - 92rpx - 88rpx - var(--status-bar-height));
@@ -122,6 +124,7 @@ export default {
padding: 0 32rpx;
box-sizing: border-box;
position: relative;
.name-box {
width: 100%;
border-radius: 16rpx;
@@ -131,6 +134,7 @@ export default {
padding: 64rpx 32rpx;
box-sizing: border-box;
margin-top: 24rpx;
.mid-view {
width: 100%;
padding: 40rpx 32rpx;
@@ -141,12 +145,14 @@ export default {
border-radius: 16rpx;
margin-top: 48rpx;
}
.top-view {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.input-view {
border-radius: 20rpx;
margin-top: 52rpx;
@@ -4,10 +4,8 @@
<Header title="设置" />
<view class="setting-view">
<view class="item-list mt-24">
<view class="flex-r-lr item-box" @click="onHead(index)"
v-for="(item,index) in headList" :key="index"
:style="{borderWidth:index == headList.length - 1 ? '0' : '2rpx'}"
>
<view class="flex-r-lr item-box" @click="onHead(index)" v-for="(item, index) in headList" :key="index"
:style="{ borderWidth: index == headList.length - 1 ? '0' : '2rpx' }">
<view class="flex-r">
<text class="text-gray text-32">{{ item.text }}</text>
<view class="yi-view" v-if="item.type == 'text1' && item.she">
@@ -78,7 +76,7 @@ export default {
})
} else if (index == 3) {
uni.navigateTo({
url:`/pages/rwa_package/setting/account-out`
url: `/pages/rwa_package/accountOut/accountOut`
})
}
},
@@ -118,6 +116,7 @@ export default {
border-radius: 8rpx;
margin-left: 12rpx;
}
.setting-view {
width: 100%;
height: calc(100% - 88rpx - var(--status-bar-height));
@@ -127,18 +126,21 @@ export default {
overflow-y: auto;
padding: 0 32rpx;
box-sizing: border-box;
.item-list {
width: 100%;
border-radius: 16rpx;
display: flex;
flex-direction: column;
background-color: #fff;
.item-box {
min-height: 108rpx;
padding: 0 32rpx;
box-sizing: border-box;
align-items: center;
border-bottom: solid #EAEAEA;
.ava-img {
width: 60rpx;
height: 60rpx;