页面切图
This commit is contained in:
@@ -3,16 +3,18 @@
|
||||
<template v-if="type == 1">
|
||||
<view class="content">
|
||||
<uni-forms>
|
||||
<uni-forms-item label="设备DID">
|
||||
<uni-forms-item label="设备识别码">
|
||||
<view style="display:flex">
|
||||
<uni-easyinput type="number" v-model="code" placeholder="请输入设备DID" />
|
||||
<uni-easyinput type="number" v-model="code" placeholder="请输入设备识别码" />
|
||||
<uni-icons type="camera" color="#007aff" size="26" class="ml20"
|
||||
@click="scanCode"></uni-icons>
|
||||
</view>
|
||||
</uni-forms-item>
|
||||
</uni-forms>
|
||||
</view>
|
||||
<view class="new-btn" @click="register"> 发起注册 </view>
|
||||
<view class="btn-wrap">
|
||||
<view class="btn-wrap-item" @click="register"> 发起注册 </view>
|
||||
</view>
|
||||
</template>
|
||||
<template v-else>
|
||||
|
||||
@@ -206,7 +208,7 @@ export default {
|
||||
</script>
|
||||
<style lang='scss'>
|
||||
.new {
|
||||
padding: 34rpx;
|
||||
padding: 34rpx;
|
||||
|
||||
.new-btn {
|
||||
display: flex;
|
||||
@@ -228,7 +230,7 @@ export default {
|
||||
}
|
||||
|
||||
margin-bottom: 20rpx;
|
||||
padding: 34rpx;
|
||||
padding: 34rpx;
|
||||
background: $uni-theme-white;
|
||||
border-radius: 12rpx;
|
||||
}
|
||||
@@ -300,9 +302,7 @@ export default {
|
||||
}
|
||||
|
||||
|
||||
/deep/ .uni-forms-item:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
/deep/ .uni-drawer__content {
|
||||
width: 100vw !important;
|
||||
|
||||
Reference in New Issue
Block a user