设备注册
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
<uni-list>
|
||||
<uni-list-item title="张三" note="2023-02-10 14:55" thumb="/static/head.png" thumb-size="lg">
|
||||
<template v-slot:footer>
|
||||
<view class="footer-btn mt20" style="background:#e47470">移除</view>
|
||||
<view class="footer-btn mt20" style="background:#e47470" @click="del">移除</view>
|
||||
<view class="footer-btn mt20 ml10" @click="jump">查看</view>
|
||||
</template>
|
||||
</uni-list-item>
|
||||
<uni-list-item title="李四" note="2023-02-10 14:55" thumb="/static/head.png" thumb-size="lg">
|
||||
<template v-slot:footer>
|
||||
<view class="footer-btn mt20" style="background:#e47470">移除</view>
|
||||
<view class="footer-btn mt20" style="background:#e47470" @click="del">移除</view>
|
||||
<view class="footer-btn mt20 ml10" @click="jump">查看</view>
|
||||
</template>
|
||||
</uni-list-item>
|
||||
@@ -33,6 +33,20 @@ export default {
|
||||
uni.navigateTo({
|
||||
url: '/pages/mine/userDetail'
|
||||
})
|
||||
},
|
||||
del () {
|
||||
console.log('del');
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '确定要移除该成员吗?',
|
||||
success: function (res) {
|
||||
if (res.confirm) {
|
||||
console.log('用户点击确定')
|
||||
} else if (res.cancel) {
|
||||
console.log('用户点击取消')
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user