页面切图

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

@@ -24,7 +24,7 @@ export default {
.about {
box-sizing: border-box;
height: 100vh;
padding: 34rpx;
padding: 34rpx;
display: flex;
flex-direction: column;
align-items: center;

View File

@@ -20,6 +20,6 @@ export default {
</script>
<style lang='scss'>
.index {
padding: 34rpx;
padding: 20rpx;
}
</style>

View File

@@ -20,6 +20,6 @@ export default {
</script>
<style lang='scss'>
.index {
padding: 34rpx;
padding: 20rpx;
}
</style>

View File

@@ -7,8 +7,8 @@
<uni-forms-item label="类型">
<uni-data-select v-model="item.type" :localdata="range"></uni-data-select>
</uni-forms-item>
<uni-forms-item label="标题">
<uni-easyinput type="text" v-model="item.title" placeholder="请输入问题简要" />
<uni-forms-item label="区域">
<uni-easyinput type="textarea" v-model="item.title" placeholder="请输入问题简要" />
</uni-forms-item>
<uni-forms-item label="描述">
<uni-easyinput type="textarea" v-model="item.des" placeholder="请输入详细描述" />
@@ -55,11 +55,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;
}
@@ -82,8 +82,4 @@ export default {
}
}
}
/deep/ .uni-forms-item:last-of-type {
margin-bottom: 0;
}
</style>

View File

@@ -20,6 +20,6 @@ export default {
</script>
<style lang='scss'>
.index {
padding: 34rpx;
padding: 20rpx;
}
</style>

View File

@@ -1,108 +0,0 @@
<template>
<view :loading="loading">
<view class="message">
<view class="message-nav" @click="jump('system')">
<view class="message-nav-label">监测</view>
<uni-icons type="forward" color="#aaa" size="20"></uni-icons>
</view>
<view class="message-nav" @click="jump('feedback')">
<view class="message-nav-label">治理</view>
<uni-icons type="forward" color="#aaa" size="20"></uni-icons>
</view>
<view class="message-nav" @click="jump('report')">
<view class="message-nav-label">用能</view>
<uni-badge text="3"></uni-badge>
<uni-icons type="forward" color="#aaa" size="20"></uni-icons>
</view>
</view>
</view>
</template>
<script>
export default {
data () {
return {
loading: false
}
},
methods: {
init () {
},
upgrade (code) {
console.log(code);
uni.showToast({
title: '升级成功',
icon: 'none'
})
},
jump (type) {
uni.navigateTo({
url: `/pages/device/list`
})
}
},
onLoad () {
this.init()
},
}
</script>
<style lang="scss">
.message {
padding-top: 20rpx;
.message-header {
padding: 200rpx 34rpx 34rpx;
display: flex;
align-items: center;
background: $uni-theme-white;
margin-bottom: 20rpx;
box-shadow: 0 4rpx 8rpx #e7e7e74c;
.message-header-head {
margin-right: 30rpx;
height: 128rpx;
width: 128rpx;
border-radius: $uni-theme-radius;
overflow: hidden;
}
.message-header-name {
margin-right: 30rpx;
flex: 1;
font-size: 36rpx;
color: #111;
font-weight: 700;
.tag {
margin-top: 10rpx;
font-size: 24rpx;
color: #aaa;
}
}
}
.message-nav {
padding: 34rpx;
display: flex;
align-items: center;
background: $uni-theme-white;
border-bottom: 1rpx solid #e8e8e8;
&-icon {
margin-right: 30rpx;
height: 44rpx;
width: 44rpx;
border-radius: $uni-theme-radius;
overflow: hidden;
}
&-label {
margin-right: 30rpx;
flex: 1;
font-size: 28rpx;
color: #111;
}
}
}
</style>

View File

@@ -83,6 +83,7 @@ export default {
<style lang="scss">
.mine {
padding-top: 20rpx;
.mine-header {
padding: 200rpx 34rpx 34rpx;
display: flex;
@@ -109,7 +110,7 @@ export default {
}
.mine-nav {
padding: 34rpx;
padding: 34rpx;
display: flex;
align-items: center;
background: $uni-theme-white;

View File

@@ -78,7 +78,7 @@ export default {
}
.mine-nav {
padding: 34rpx;
padding: 34rpx;
display: flex;
align-items: center;
background: $uni-theme-white;

View File

@@ -19,6 +19,6 @@ export default {
</script>
<style lang='scss'>
.index {
padding: 34rpx;
padding: 20rpx;
}
</style>

View File

@@ -20,6 +20,6 @@ export default {
</script>
<style lang='scss'>
.index {
padding: 34rpx;
padding: 20rpx;
}
</style>

View File

@@ -32,7 +32,7 @@ export default {
</script>
<style lang="scss">
.index {
padding: 34rpx;
padding: 20rpx;
.submit-btn {
background: $uni-theme-blue;

View File

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