页面切图

This commit is contained in:
仲么了
2023-02-20 14:19:28 +08:00
parent 7d28b3476a
commit 5e69ab1da6
50 changed files with 1136 additions and 213 deletions

View File

@@ -27,7 +27,7 @@ export default {
</script>
<style lang='scss'>
.about {
padding: 34rpx;
padding: 34rpx;
.about-title {
font-size: 34rpx;
font-weight: bold;

View File

@@ -180,32 +180,32 @@ export default {
color: #999;
}
.nav {
position: sticky;
top: 0;
left: 0;
padding: 20rpx;
display: flex;
background: rgb(243, 244, 245);
// .nav {
// position: sticky;
// top: 0;
// left: 0;
// padding: 20rpx;
// display: flex;
// background: rgb(243, 244, 245);
.nav-menu {
padding: 10rpx 20rpx;
margin-left: 20rpx;
font-size: 28rpx;
border-radius: 8rpx;
background: $uni-theme-white;
// .nav-menu {
// padding: 10rpx 20rpx;
// margin-left: 20rpx;
// font-size: 28rpx;
// border-radius: 8rpx;
// background: $uni-theme-white;
&:first-of-type {
margin-left: 0;
}
// &:first-of-type {
// margin-left: 0;
// }
&-active {
background: $uni-theme-blue;
color: #fff;
}
}
// &-active {
// background: $uni-theme-blue;
// color: #fff;
// }
// }
}
// }
.content {
box-sizing: border-box;

View File

@@ -27,7 +27,7 @@ export default {
</script>
<style lang='scss'>
.about {
padding: 34rpx;
padding: 34rpx;
.about-title {
font-size: 34rpx;
font-weight: bold;

View File

@@ -174,31 +174,31 @@ export default {
color: #999;
}
.nav {
position: sticky;
top: 0;
left: 0;
padding-top: 20rpx;
display: flex;
flex-wrap: wrap;
background: rgb(243, 244, 245);
// .nav {
// position: sticky;
// top: 0;
// left: 0;
// padding-top: 20rpx;
// display: flex;
// flex-wrap: wrap;
// background: rgb(243, 244, 245);
.nav-menu {
padding: 10rpx 20rpx;
margin-left: 20rpx;
margin-bottom: 20rpx;
font-size: 28rpx;
border-radius: 8rpx;
background: $uni-theme-white;
// .nav-menu {
// padding: 10rpx 20rpx;
// margin-left: 20rpx;
// margin-bottom: 20rpx;
// font-size: 28rpx;
// border-radius: 8rpx;
// background: $uni-theme-white;
&-active {
background: $uni-theme-blue;
color: #fff;
}
}
// &-active {
// background: $uni-theme-blue;
// color: #fff;
// }
// }
}
// }
.content {
box-sizing: border-box;

View File

@@ -56,11 +56,11 @@ export default {
</script>
<style lang='scss'>
.index {
padding: 34rpx;
padding: 20rpx;
.content {
margin-bottom: 20rpx;
padding: 34rpx;
padding: 34rpx;
background: $uni-theme-white;
border-radius: 12rpx;
}
@@ -84,7 +84,4 @@ export default {
}
}
/deep/ .uni-forms-item:last-of-type {
margin-bottom: 0;
}
</style>

View File

@@ -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;

View File

@@ -32,7 +32,7 @@ export default {
</script>
<style lang='scss'>
.index {
padding: 34rpx;
padding: 20rpx;
.footer-btn {
padding: 0 20rpx;