AI表单
This commit is contained in:
139
src/apps/AppAiInput/AppAiInput.vue
Normal file
139
src/apps/AppAiInput/AppAiInput.vue
Normal file
@@ -0,0 +1,139 @@
|
||||
<template>
|
||||
<div class="AppAiInput">
|
||||
<div class="content-info">我排查的人名叫沈浩</div>
|
||||
<div class="problem-list">
|
||||
<p class="title">请一句话告诉我这些信息:</p>
|
||||
<div class="list-content">
|
||||
<p>“您排查的户主姓名”</p>
|
||||
<p>“户主的性别”</p>
|
||||
<p>“户主的联系电话”</p>
|
||||
<p>“户主的出生日期”</p>
|
||||
<p>“户主的民族”</p>
|
||||
<p>“户主家里的家庭人口数”</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="microphone-info">
|
||||
<div class="microphone-img">
|
||||
<img src="./img/microphone.png" alt="">
|
||||
</div>
|
||||
<p class="text">松开结束说话</p>
|
||||
<p class="cancel">取消</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {mapState} from "vuex";
|
||||
|
||||
export default {
|
||||
name: 'AppAiInput',
|
||||
appName: '百度AI输入',
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
onShow() {
|
||||
document.title = '婚姻家庭纠纷入户登记表'
|
||||
},
|
||||
methods: {
|
||||
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
uni-page-body {
|
||||
min-height: 100%;
|
||||
// height: 100vh;
|
||||
padding-top: 32px;
|
||||
background: #fff;
|
||||
}
|
||||
.AppAiInput {
|
||||
.content-info {
|
||||
margin: 0 0 32px 32px;
|
||||
width: 686px;
|
||||
height: 272px;
|
||||
background-image: linear-gradient(157deg, #F7FAFD 2%, #EDF6FF 99%);
|
||||
border-radius: 16px;
|
||||
padding: 24px 28px 28px 28px;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28px;
|
||||
color: #222;
|
||||
box-sizing: border-box;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.problem-list {
|
||||
margin: 0 0 32px 32px;
|
||||
width: 686px;
|
||||
height: 520px;
|
||||
background: #F5F6F8;
|
||||
border-radius: 16px;
|
||||
padding: 28px;
|
||||
box-sizing: border-box;
|
||||
.title {
|
||||
line-height: 44px;
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
font-size: 32px;
|
||||
color: #6C768A;
|
||||
text-align: center;
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
.list-content {
|
||||
width: 630px;
|
||||
height: 392px;
|
||||
background: #FFF;
|
||||
border-radius: 12px;
|
||||
overflow-y: scroll;
|
||||
padding: 28px;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
p {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28px;
|
||||
color: #222;
|
||||
line-height: 56px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.microphone-info {
|
||||
position: fixed;
|
||||
bottom: 48px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
.microphone-img {
|
||||
width: 216px;
|
||||
height: 216px;
|
||||
border-radius: 50%;
|
||||
background-image: linear-gradient(180deg, #0262F2 25%, #148AFF 99%);
|
||||
text-align: center;
|
||||
margin-left: 272px;
|
||||
margin-bottom: 20px;
|
||||
img {
|
||||
width: 68px;
|
||||
height: 96px;
|
||||
margin-top: 62px;
|
||||
}
|
||||
}
|
||||
.text {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 36px;
|
||||
color: #222;
|
||||
margin-bottom: 64px;
|
||||
}
|
||||
.cancel {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 36px;
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
137
src/apps/AppAiInput/formConfirm.vue
Normal file
137
src/apps/AppAiInput/formConfirm.vue
Normal file
@@ -0,0 +1,137 @@
|
||||
<template>
|
||||
<div class="formConfirm">
|
||||
<div class="list-content">
|
||||
<div class="item">
|
||||
<span class="tips">*</span>
|
||||
<div class="item-border">
|
||||
<div class="label">户主姓名</div>
|
||||
<div class="value">
|
||||
<u-input type="text" class="right" placeholder="请输入" height="44" input-align="right"></u-input>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<span class="tips">*</span>
|
||||
<div class="item-border">
|
||||
<div class="label">性别</div>
|
||||
<div class="value">
|
||||
<u-input type="text" class="right" placeholder="请选择" height="44" input-align="right" disabled></u-input>
|
||||
<img src="./img/arrow-right.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottom-btn">
|
||||
<div class="confirm">保存内容</div>
|
||||
<div class="confirm">提交</div>
|
||||
<div class="cancel">取消</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {mapState} from "vuex";
|
||||
|
||||
export default {
|
||||
name: 'formConfirm',
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
onShow() {
|
||||
document.title = '婚姻家庭纠纷入户登记表'
|
||||
},
|
||||
methods: {
|
||||
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
uni-page-body {
|
||||
min-height: 100%;
|
||||
// height: 100vh;
|
||||
background: #F5F5F5;
|
||||
}
|
||||
.formConfirm {
|
||||
.list-content {
|
||||
padding-bottom: 328px;
|
||||
.item {
|
||||
padding-left: 32px;
|
||||
position: relative;
|
||||
margin-bottom: 16px;
|
||||
background-color: #fff;
|
||||
.tips {
|
||||
position: absolute;
|
||||
top: 34px;
|
||||
left: 8px;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 32px;
|
||||
color: #F46;
|
||||
}
|
||||
.item-border {
|
||||
padding: 34px 32px 34px 0;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
border-bottom: 1px solid #D8DDE6;
|
||||
display: flex;
|
||||
.label {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 32px;
|
||||
color: #333;
|
||||
line-height: 44px;
|
||||
width: 200px;
|
||||
}
|
||||
.value {
|
||||
width: calc(100% - 200px);
|
||||
text-align: right;
|
||||
.u-input {
|
||||
display: inline-block;
|
||||
width: calc(100% - 40px);
|
||||
vertical-align: sub;
|
||||
}
|
||||
img {
|
||||
display: inline-block;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.bottom-btn {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background-color: #F5F5F5;
|
||||
div {
|
||||
margin-left: 32px;
|
||||
width: 686px;
|
||||
height: 88px;
|
||||
border-radius: 44px;
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
font-size: 34px;
|
||||
text-align: center;
|
||||
line-height: 86px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
.confirm {
|
||||
background: #3975C6;
|
||||
color: #fff;
|
||||
}
|
||||
.cancel {
|
||||
color: #666;
|
||||
border: 1px solid #CCC;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
144
src/apps/AppAiInput/formEdit.vue
Normal file
144
src/apps/AppAiInput/formEdit.vue
Normal file
@@ -0,0 +1,144 @@
|
||||
<template>
|
||||
<div class="formEdit">
|
||||
<div class="title">
|
||||
<span></span>请确认并校准您输入的内容:
|
||||
</div>
|
||||
<div class="list">
|
||||
<div class="item">
|
||||
<div class="label">
|
||||
户主姓名
|
||||
<div class="edit">
|
||||
<img src="./img/edit.png" alt="">修改
|
||||
</div>
|
||||
</div>
|
||||
<div class="value">沈浩</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="label">
|
||||
性别
|
||||
<div class="edit">
|
||||
<img src="./img/edit.png" alt="">修改
|
||||
</div>
|
||||
</div>
|
||||
<div class="value">男</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottom-btn">
|
||||
<div class="confirm">确认使用</div>
|
||||
<div class="cancel">取消输入</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {mapState} from "vuex";
|
||||
|
||||
export default {
|
||||
name: 'formEdit',
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
onShow() {
|
||||
document.title = '婚姻家庭纠纷入户登记表'
|
||||
},
|
||||
methods: {
|
||||
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
uni-page-body {
|
||||
min-height: 100%;
|
||||
// height: 100vh;
|
||||
background: #fff;
|
||||
padding-top: 26px;
|
||||
}
|
||||
.formEdit {
|
||||
.title {
|
||||
padding-left: 32px;
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
font-size: 32px;
|
||||
color: #000;
|
||||
line-height: 48px;
|
||||
margin-bottom: 22px;
|
||||
span {
|
||||
display: inline-block;
|
||||
width: 6px;
|
||||
height: 28px;
|
||||
background: #3399FF;
|
||||
border-radius: 3px;
|
||||
margin-right: 18px;
|
||||
}
|
||||
}
|
||||
.list {
|
||||
padding-bottom: 272px;
|
||||
.item {
|
||||
text-align: center;
|
||||
margin-bottom: 32px;
|
||||
.label {
|
||||
color: #999;
|
||||
font-size: 40px;
|
||||
font-family: PingFangSC;
|
||||
font-weight: 500;
|
||||
line-height: 60px;
|
||||
text-align: center;
|
||||
.edit {
|
||||
display: inline-block;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28px;
|
||||
color: #3072F5;
|
||||
img {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
margin: 0 12px 0 32px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
.value {
|
||||
color: #3975c6;
|
||||
font-size: 40px;
|
||||
font-family: PingFangSC;
|
||||
font-weight: 500;
|
||||
line-height: 60px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.bottom-btn {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background-color: #fff;
|
||||
div {
|
||||
margin-left: 32px;
|
||||
width: 686px;
|
||||
height: 88px;
|
||||
border-radius: 44px;
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
font-size: 34px;
|
||||
text-align: center;
|
||||
line-height: 86px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
.confirm {
|
||||
background: #3975C6;
|
||||
color: #fff;
|
||||
}
|
||||
.cancel {
|
||||
color: #666;
|
||||
border: 1px solid #CCC;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
BIN
src/apps/AppAiInput/img/arrow-right.png
Normal file
BIN
src/apps/AppAiInput/img/arrow-right.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 395 B |
BIN
src/apps/AppAiInput/img/edit.png
Normal file
BIN
src/apps/AppAiInput/img/edit.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 734 B |
BIN
src/apps/AppAiInput/img/microphone.png
Normal file
BIN
src/apps/AppAiInput/img/microphone.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
Reference in New Issue
Block a user