|
@@ -10,7 +10,10 @@
|
|
|
</view>
|
|
|
<view class="user-info">
|
|
|
<text class="user-name">{{userData.orgName}}</text>
|
|
|
- <text class="user-phone">{{userData.username}}</text>
|
|
|
+ <view class="flex align-item">
|
|
|
+ <text class="user-phone">{{userData.username}}</text>
|
|
|
+ <text class="user-closeAccount" @click="closeAccount">注销账户</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="user-org" @click="show = true" v-if="orglist&&orglist.length">
|
|
|
切换 <u-icon name="arrow-right"></u-icon>
|
|
@@ -29,7 +32,7 @@
|
|
|
<u-cell-item icon="reload" icon-size="35" :icon-style="{color:'#00aaff'}" index="1" @click="resetPrint" title="重置打印机"></u-cell-item>
|
|
|
</u-cell-group>
|
|
|
<u-cell-group>
|
|
|
- <u-cell-item icon="man-delete" icon-size="38" :icon-style="{color:'#00aaff'}" index="1" @click="closeAccount" title="注销账户"></u-cell-item>
|
|
|
+ <!-- <u-cell-item icon="man-delete" icon-size="38" :icon-style="{color:'#00aaff'}" index="1" @click="closeAccount" title="注销账户"></u-cell-item> -->
|
|
|
<!-- <u-cell-item icon="info-circle" icon-size="38" :icon-style="{color:'#00aaff'}" index="1" @click="toPage" title="关于我们"></u-cell-item> -->
|
|
|
<u-cell-item icon="level" icon-size="34" :icon-style="{color:'#00aaff'}" index="2" @click="toPage(2)" :value="curVer.version" title="版本检查"></u-cell-item>
|
|
|
<u-cell-item icon="file-text" icon-size="36" :icon-style="{color:'#00aaff'}" index="0" @click="toPage(0)" title="服务协议及隐私政策"></u-cell-item>
|
|
@@ -256,6 +259,13 @@
|
|
|
.user-org{
|
|
|
color: #fff;
|
|
|
}
|
|
|
+ .user-closeAccount{
|
|
|
+ font-size: 0.6rem;
|
|
|
+ background: #55aaff;
|
|
|
+ border-radius: 1rem;
|
|
|
+ margin-left: 1rem;
|
|
|
+ padding: 0.1rem 0.5rem;
|
|
|
+ }
|
|
|
.user-info{
|
|
|
flex-grow: 1;
|
|
|
padding: 0 20rpx;
|