|
@@ -1,52 +1,53 @@
|
|
|
<template>
|
|
|
- <view class="power-setting-main">
|
|
|
- <view class="flex-row power-setting-head">
|
|
|
- <img class="head-img" :src="headimg" alt="">
|
|
|
- <view class="head-name">{{nickname}}</view>
|
|
|
- <text class="head-email">{{form.email}}</text>
|
|
|
- </view>
|
|
|
- <view class="setting-card" style="margin-bottom: 20rpx;">
|
|
|
- <view class="setting-card-name">权限设置</view>
|
|
|
- <view @click="selctFn(4)" class="setting-card-list flex-row">
|
|
|
- <img src="https://qiniu.bms16.com/FgFEr3CUA43kd7yVCDcK4F7v9_zx" alt="">
|
|
|
- <view class="setting-list-text flex-row flex-between">
|
|
|
- <text>查看实时位置</text>
|
|
|
- <img v-if="form.authority_list.indexOf(4) == -1" class="setting-list-arrow"
|
|
|
- src="https://qiniu.bms16.com/FrA97op1dwM9XWH1ocqnF5FFlqoY" alt="">
|
|
|
- <img v-else class="setting-list-arrow" src="https://qiniu.bms16.com/FuA5w59wrvsisg3bGhe3hQ2dR3Bk"
|
|
|
- alt="">
|
|
|
- </view>
|
|
|
+ <view class="power-setting-main">
|
|
|
+ <navBar name="权限设置" bgColor="transparent"></navBar>
|
|
|
+ <view class="flex-row power-setting-head">
|
|
|
+ <img class="head-img" :src="headimg" alt="">
|
|
|
+ <view class="head-name">{{nickname}}</view>
|
|
|
+ <text class="head-email">{{form.email}}</text>
|
|
|
</view>
|
|
|
- <view @click="selctFn(5)" class="setting-card-list flex-row">
|
|
|
- <img src="https://qiniu.bms16.com/FmcZqGTnt64_v2xpgNbqS9Fa-fwy" alt="">
|
|
|
- <view class="setting-list-text flex-row flex-between">
|
|
|
- <text>使用换电</text>
|
|
|
- <!-- <img class="setting-list-arrow" src="https://qiniu.bms16.com/FuA5w59wrvsisg3bGhe3hQ2dR3Bk" alt=""> -->
|
|
|
- <img v-if="form.authority_list.indexOf(5) == -1" class="setting-list-arrow"
|
|
|
- src="https://qiniu.bms16.com/FrA97op1dwM9XWH1ocqnF5FFlqoY" alt="">
|
|
|
- <img v-else class="setting-list-arrow" src="https://qiniu.bms16.com/FuA5w59wrvsisg3bGhe3hQ2dR3Bk"
|
|
|
- alt="">
|
|
|
+ <view class="setting-card" style="margin-bottom: 20rpx;">
|
|
|
+ <view class="setting-card-name">权限设置</view>
|
|
|
+ <view @click="selctFn(4)" class="setting-card-list flex-row">
|
|
|
+ <img src="https://qiniu.bms16.com/FgFEr3CUA43kd7yVCDcK4F7v9_zx" alt="">
|
|
|
+ <view class="setting-list-text flex-row flex-between">
|
|
|
+ <text>查看实时位置</text>
|
|
|
+ <img v-if="form.authority_list.indexOf(4) == -1" class="setting-list-arrow"
|
|
|
+ src="https://qiniu.bms16.com/FrA97op1dwM9XWH1ocqnF5FFlqoY" alt="">
|
|
|
+ <img v-else class="setting-list-arrow" src="https://qiniu.bms16.com/FuA5w59wrvsisg3bGhe3hQ2dR3Bk"
|
|
|
+ alt="">
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view @click="selctFn(5)" class="setting-card-list flex-row">
|
|
|
+ <img src="https://qiniu.bms16.com/FmcZqGTnt64_v2xpgNbqS9Fa-fwy" alt="">
|
|
|
+ <view class="setting-list-text flex-row flex-between">
|
|
|
+ <text>使用换电</text>
|
|
|
+ <!-- <img class="setting-list-arrow" src="https://qiniu.bms16.com/FuA5w59wrvsisg3bGhe3hQ2dR3Bk" alt=""> -->
|
|
|
+ <img v-if="form.authority_list.indexOf(5) == -1" class="setting-list-arrow"
|
|
|
+ src="https://qiniu.bms16.com/FrA97op1dwM9XWH1ocqnF5FFlqoY" alt="">
|
|
|
+ <img v-else class="setting-list-arrow" src="https://qiniu.bms16.com/FuA5w59wrvsisg3bGhe3hQ2dR3Bk"
|
|
|
+ alt="">
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="setting-card" style="margin-bottom: 32rpx;">
|
|
|
- <view class="setting-card-name">默认设置</view>
|
|
|
- <view class="setting-card-list flex-row">
|
|
|
- <img src="https://qiniu.bms16.com/FsUxQz3DwHIj_vt3fY25Twmjfpek" alt="">
|
|
|
- <view class="setting-list-text flex-row">远程开关锁</view>
|
|
|
- </view>
|
|
|
- <view class="setting-card-list flex-row">
|
|
|
- <img src="https://qiniu.bms16.com/FuCNZSqsoMxn2ha-njRW3zC2ORTz" alt="">
|
|
|
- <view class="setting-list-text flex-row">座桶锁</view>
|
|
|
- </view>
|
|
|
- <view class="setting-card-list flex-row">
|
|
|
- <img src="https://qiniu.bms16.com/Fs7i3i_LBM7Zpxyj7Ad7_Kc_8z-J" alt="">
|
|
|
- <view class="setting-list-text flex-row">感应解锁</view>
|
|
|
+ <view class="setting-card" style="margin-bottom: 32rpx;">
|
|
|
+ <view class="setting-card-name">默认设置</view>
|
|
|
+ <view class="setting-card-list flex-row">
|
|
|
+ <img src="https://qiniu.bms16.com/FsUxQz3DwHIj_vt3fY25Twmjfpek" alt="">
|
|
|
+ <view class="setting-list-text flex-row">远程开关锁</view>
|
|
|
+ </view>
|
|
|
+ <view class="setting-card-list flex-row">
|
|
|
+ <img src="https://qiniu.bms16.com/FuCNZSqsoMxn2ha-njRW3zC2ORTz" alt="">
|
|
|
+ <view class="setting-list-text flex-row">座桶锁</view>
|
|
|
+ </view>
|
|
|
+ <view class="setting-card-list flex-row">
|
|
|
+ <img src="https://qiniu.bms16.com/Fs7i3i_LBM7Zpxyj7Ad7_Kc_8z-J" alt="">
|
|
|
+ <view class="setting-list-text flex-row">感应解锁</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+ <view v-if="isSet" @tap="submit" class="check-btn add-btn">确认添加</view>
|
|
|
+ <view v-else @tap="delSubmit" class="check-btn del-btn">删除成员</view>
|
|
|
</view>
|
|
|
- <view v-if="isSet" @tap="submit" class="check-btn add-btn">确认添加</view>
|
|
|
- <view v-else @tap="delUserBtn" class="check-btn del-btn">删除成员</view>
|
|
|
- </view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|