ui样式优化

main
zhangqun 2 years ago
parent 553172fc12
commit 1b80e44dba
  1. 2
      App.vue
  2. 5
      manifest.json
  3. 10
      pages.json
  4. 2
      pages/index/index.vue
  5. 65
      pages/message/detail.vue
  6. 52
      pages/message/list.vue
  7. 196
      pages/patrolRecord/list.vue
  8. 73
      pages/patrolRecord/report.vue
  9. 168
      pages/positionRecord/list.vue
  10. 18
      pages/positionRecord/report.vue
  11. 105
      pages/voiceRecord/list.vue
  12. 18
      pages/voiceRecord/report.vue
  13. BIN
      static/record-icon1.png
  14. BIN
      static/record-icon2.png
  15. BIN
      static/record-icon3.png
  16. BIN
      static/upload-icon.png
  17. 4
      unpackage/dist/dev/app-plus/app-config-service.js
  18. 2315
      unpackage/dist/dev/app-plus/app-service.js
  19. 2768
      unpackage/dist/dev/app-plus/app-view.js
  20. 2
      unpackage/dist/dev/app-plus/manifest.json
  21. BIN
      unpackage/dist/dev/app-plus/static/record-icon1.png
  22. BIN
      unpackage/dist/dev/app-plus/static/record-icon2.png
  23. BIN
      unpackage/dist/dev/app-plus/static/record-icon3.png
  24. BIN
      unpackage/dist/dev/app-plus/static/upload-icon.png

@ -2,7 +2,9 @@
export default {
onLaunch: function() {
console.log('App Launch')
// #ifdef APP-PLUS
this.getPermis()
// #endif
},
onShow: function() {
console.log('App Show')

@ -16,7 +16,10 @@
"autoclose" : true,
"delay" : 0
},
"modules" : {},
"modules" : {
"Record" : {},
"VideoPlayer" : {}
},
/* */
"distribute" : {
/* */

@ -26,11 +26,21 @@
"style": {
"navigationBarTitleText": "位置上报"
}
},{
"path": "pages/positionRecord/list",
"style": {
"navigationBarTitleText": "位置上报记录"
}
},{
"path": "pages/patrolRecord/report",
"style": {
"navigationBarTitleText": "巡更上报"
}
},{
"path": "pages/patrolRecord/list",
"style": {
"navigationBarTitleText": "巡更上报记录"
}
},{
"path": "pages/setting/index",
"style": {

@ -2,7 +2,7 @@
<view>
<web-view :webview-styles="{height:'90%'}" ref="webview" fullscreen="false" :src="url" @message="handlePostMessage" @onPostMessage="handlePostMessage"></web-view>
<cover-view @click="onAutoStart" class="act-btn">
<cover-view class="act-btn-item">
<cover-view class="act-btn-item" style="padding-top: 20upx;">
<cover-image src="../../static/right_icon1.png" class="img" @click="goMessage"></cover-image>
<cover-view @click="goMessage">消息</cover-view>
</cover-view>

@ -12,27 +12,28 @@
<view class="message-des">
2023-07-17 09:58:26
</view>
<uni-forms label-width="200upx" style="margin-top: 43upx;">
<uni-forms-item label="设备名称:"><text class="form-text">空调</text></uni-forms-item>
<uni-forms-item label="设备编号:"><text class="form-text">A101</text></uni-forms-item>
<uni-forms-item label="设备大类:"><text class="form-text">空调设备</text></uni-forms-item>
<uni-forms-item label="品牌型号:"><text class="form-text">-</text></uni-forms-item>
<uni-forms-item label="所属区域:"><text class="form-text"></text></uni-forms-item>
<uni-forms-item label="安装位置:"><text class="form-text"></text></uni-forms-item>
<uni-forms-item label="经度:"><text class="form-text">120</text></uni-forms-item>
<uni-forms-item label="纬度:"><text class="form-text">34</text></uni-forms-item>
<uni-forms-item label="消警时间:">
<text class="form-text">2023-07-17 10:15:21</text>
</uni-forms-item>
</uni-forms>
</view>
<uni-forms label-width="200upx">
<uni-forms-item label="设备名称:"><text class="form-text">空调</text></uni-forms-item>
<uni-forms-item label="设备编号:"><text class="form-text">A101</text></uni-forms-item>
<uni-forms-item label="设备大类:"><text class="form-text">空调设备</text></uni-forms-item>
<uni-forms-item label="品牌型号:"><text class="form-text">-</text></uni-forms-item>
<uni-forms-item label="所属区域:"><text class="form-text"></text></uni-forms-item>
<uni-forms-item label="安装位置:"><text class="form-text"></text></uni-forms-item>
<uni-forms-item label="经度:"><text class="form-text">120</text></uni-forms-item>
<uni-forms-item label="纬度:"><text class="form-text">34</text></uni-forms-item>
<uni-forms-item label="消警时间:">
<text class="form-text">2023-07-17 10:15:21</text>
</uni-forms-item>
</uni-forms>
<!-- 视频联动 -->
<view class="video-box">
<view class="video-box-title">视频联动</view>
<view class="video-item">
<video title="视频名称" src="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/2minute-demo.mp4"></video>
</view>
</view>
</view>
</view>
<!-- 视频联动 -->
<view class="video-box">
<view class="video-box-title">视频联动</view>
<view class="video-item">
<video style="width:100%;height:100%;" title="视频名称"
src="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/2minute-demo.mp4"></video>
</view>
</view>
</view>
@ -62,13 +63,19 @@
.container {
min-height: 100vh;
background-color: #FFFFFF;
/deep/.uni-forms-item__label{
/deep/.uni-forms-item {
margin-bottom: 30upx;
}
/deep/.uni-forms-item__label {
color: #90959D;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
}
.form-text{
.form-text {
color: #031945;
line-height: 40upx;
font-size: 28upx;
@ -84,7 +91,6 @@
.message-box {
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 44upx;
.message-image {
@ -117,22 +123,27 @@
}
}
}
//
.video-box{
.video-box {
border-top: 14upx solid #F4F8FB;
padding: 30upx 0;
.video-box-title{
padding: 30upx;
.video-box-title {
color: #031945;
font-size: 28upx;
line-height: 40upx;
font-family: PingFang SC-Bold, PingFang SC;
font-weight: bold;
margin-bottom: 30upx;
}
.video-item{
.video-item {
height: 389upx;
background: #B2B2B2;
border-radius: 40upx;
margin-bottom: 14upx;
overflow: hidden;
}
}
</style>

@ -1,13 +1,13 @@
<template>
<view class="container">
<view class="padding-wrap">
<view class="message-box" @click="goDetail">
<scroll-view class="padding-wrap" scroll-y @scrolltolower="loadMore">
<view class="message-box" @click="goDetail" v-for="(item,index) in dataList" :key="'msg'+index">
<view class="message-image">
<image class="image" src="@/static/msg-icon.png" mode="widthFix"></image>
</view>
<view class="message-info">
<view class="message-title">
<view class="title">报警消息</view>
<view class="title">设备无法制冷设备无法制冷</view>
<view class="time">2023/07/01</view>
</view>
<view class="message-des">
@ -15,20 +15,46 @@
</view>
</view>
</view>
</view>
<uni-load-more iconType="circle" :status="status" />
</scroll-view>
</view>
</template>
<script>
export default {
data() {
return {}
return {
dataList: [],
pageNo: 1,
pageSize: 10,
hasMore: true,
status: 'loading'
}
},
onLoad() {
// #ifdef APP-PLUS
// #endif
this.loadMore();
},
methods: {
//
loadMore() {
if (this.hasMore) {
this.pageNo = this.pageNo + 1;
this.staus = 'loading';
for (var i = 0; i < 10; i++) {
this.dataList.push({
id: (this.pageNo - 1) * this.pageSize + i
});
}
if (this.pageNo > 3) {
this.hasMore = false;
this.status = 'noMore';
}else{
this.status = 'more';
}
}
},
goDetail() {
uni.navigateTo({
url: '/pages/message/detail'
@ -41,18 +67,20 @@
<style lang="scss" scoped>
page,
.container {
min-height: 100vh;
height: 100vh;
background-color: #FFFFFF;
}
.padding-wrap {
padding: 30upx;
padding-top: 30upx;
height: calc(100vh - 30upx);
}
.message-box {
display: flex;
flex-direction: row;
align-items: center;
padding: 0 30upx;
margin-bottom: 44upx;
.message-image {
@ -70,17 +98,18 @@
color: #031945;
font-size: 28upx;
line-height: 40upx;
font-family: PingFang SC-Bold, PingFang SC;
font-weight: bold;
.message-title {
display: flex;
justify-content: space-between;
.title {
max-width: 80%;
max-width: 350upx;
font-family: PingFang SC-Bold, PingFang SC;
font-weight: bold;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.time {
@ -92,9 +121,12 @@
}
.message-des {
display: block;
width: 550upx;
color: #90959D;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
}

@ -0,0 +1,196 @@
<template>
<view class="container">
<view class="tabbar-nav">
<view class="nav-bar" @click="goPage('/pages/voiceRecord/list')">语音上报</view>
<view class="nav-bar" @click="goPage('/pages/positionRecord/list')">地图上报</view>
<view class="nav-bar active">巡更上报<view class="bottom-line"></view>
</view>
</view>
<!-- 滚动加载更多 -->
<scroll-view class="padding-wrap" scroll-y ref="scrollView" @scrolltolower="loadMore">
<view v-for="(item,index) in dataList" :key="'vioce'+index" class="record-box">
<view class="datetime">
<view class="date">2023-07-17</view>
<view class="time">10:15:21</view>
</view>
<view class="record-cnt">
<image class="img" src="@/static/record-icon3.png"></image>
<view class="cnt">
<view class="txt" style="margin-bottom: 20upx;">实时定位位置或选择的常用报警位</view>
<view class="txt">应急预案类型</view>
<view>
<image @click="previewImg('../../static/c1.png')" src="../../static/c1.png" mode="scaleToFill"
class="img"></image>
<image @click="previewImg('../../static/c2.png')" src="../../static/c1.png" mode="scaleToFill"
class="img"></image>
</view>
</view>
</view>
</view>
<uni-load-more iconType="circle" :status="status" />
</scroll-view>
</view>
</template>
<script>
export default {
data() {
return {
dataList: [],
pageNo: 0,
pageSize: 10,
hasMore: true,
status: ''
}
},
onLoad() {
// #ifdef APP-PLUS
// #endif
this.loadMore();
},
methods: {
//
loadMore() {
if (this.hasMore) {
this.pageNo = this.pageNo + 1;
this.staus = 'loading';
for (var i = 0; i < 10; i++) {
this.dataList.push({
id: (this.pageNo - 1) * this.pageSize + i
});
}
if (this.pageNo > 3) {
this.hasMore = false;
this.status = 'noMore';
} else {
this.status = 'more';
}
}
},
//
goPage(url) {
uni.navigateTo({
url: url
})
},
//
previewImg(url) {
uni.previewImage({
urls: [url],
});
}
}
}
</script>
<style lang="scss" scoped>
page,
.container {
min-height: 100vh;
}
.tabbar-nav {
position: fixed;
left: 0;
top: 0;
right: 0;
z-index: 99;
display: flex;
height: 70upx;
padding-top: 28upx;
justify-content: space-around;
text-align: center;
background-color: #fff;
z-index: 99;
.nav-bar {
flex: 1;
position: relative;
color: #031945;
line-height: 40upx;
font-size: 28upx;
font-family: PingFang SC-Bold, PingFang SC;
font-weight: bold;
.bottom-line {
position: absolute;
display: none;
left: 50%;
bottom: -3upx;
margin-left: -30upx;
width: 60upx;
height: 6upx;
background: #338AF8;
}
&.active {
color: #338AF8;
.bottom-line {
display: inline-block;
}
}
}
}
.padding-wrap {
height: calc(100vh - 98upx - 44upx);
padding-top: 30upx;
margin-top: 14upx;
background-color: #fff;
}
.record-box {
display: flex;
padding: 0 30upx;
margin-bottom: 30upx;
.datetime {
color: #273757;
line-height: 40upx;
font-size: 26upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
margin-right: 20upx;
.time {
color: #B6B8BB;
font-size: 24upx;
}
}
.record-cnt {
flex: 1;
display: flex;
padding: 30upx;
background: #FBF0F2;
border-radius: 0 40upx 40upx 40upx;
.img {
width: 56upx;
height: 56upx;
margin-right: 20upx;
}
.cnt {
flex: 1;
.txt {
color: #031945;
line-height: 40upx;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
}
.img {
width: 120upx;
height: 120upx;
border-radius: 20upx;
margin: 10upx;
background-color: #fff;
}
}
}
}
</style>

@ -10,23 +10,29 @@
<view class="user-info-group">1</view>
</view>
</view>
<uni-forms-item>
<view class="tab-switch" @click="positionType = positionType == 1 ? 0 : 1">
<view class="tab-btn" :class="positionType == 1 ? 'tab-btn active' : 'tab-btn'">
<view class="tab-btn-item"></view>
</view>
<view class="tab-label">使用常用报警位置</view>
</view>
<uni-forms-item label="当前位置" label-width="200upx">
<text>{{form.floor}} x:{{form.latidute}} y:{{form.longidute}}</text>
</uni-forms-item>
<view class="tab-switch" @click="positionType = positionType == 1 ? 0 : 1">
<view class="tab-btn" :class="positionType == 1 ? 'tab-btn active' : 'tab-btn'">
<view class="tab-btn-item"></view>
</view>
<view class="tab-label">使用常用报警位置</view>
</view>
<uni-forms-item v-if="positionType == 1" label="常用报警位置" label-width="200upx">
<uni-data-select v-model="position" :localdata="positionList" placeholder="请选择常用报警位置"></uni-data-select>
</uni-forms-item>
<uni-forms-item label="报警位置" label-width="200upx">
<text>{{form.floor}} x:{{form.latidute}} y:{{form.longidute}}</text>
</uni-forms-item>
<uni-forms-item label="应急预案选择" label-width="200upx">
<uni-data-select v-model="position" :localdata="positionList" placeholder="请选择常应急预案报警类型"></uni-data-select>
</uni-forms-item>
<!-- 巡更照片 -->
<view class="photo-list">
<image v-for="(item,index) in photoList" @click="previewImg(item)" :src="item" mode="scaleToFill"
class="img"></image>
<view class="choose-img-btn"@click="chooseImg" >
<view class="txt">记录</view>
</view>
</view>
<view style="text-align: right;">
<view class="submit-btn" @click="submit">上报</view>
</view>
@ -43,6 +49,7 @@
longidute: '',
latidute: '',
},
photoList: [],//
positionType: 1, //使
positionList: [], //
position: '',
@ -78,6 +85,24 @@
title: err
});
})
},
//
chooseImg() {
uni.chooseImage({
count: 6, //9
sizeType: ['original', 'compressed'], //
sourceType: ['album'], //
success: (res) => {
console.log(res.tempFilePaths);
this.photoList = this.photoList.concat(res.tempFilePaths)
}
});
},
//
previewImg(url) {
uni.previewImage({
urls: [url],
});
}
}
}
@ -225,4 +250,32 @@
}
}
}
.photo-list{
display: flex;
flex-wrap: wrap;
.img{
width: 120upx;
height: 120upx;
border-radius: 20upx;
background-color: #eee;
margin: 10upx;
}
.choose-img-btn{
width: 120upx;
height: 120upx;
border-radius: 20upx;
margin: 10upx;
background: #F6F8FA url(@/static/upload-icon.png) center 23upx no-repeat;
background-size: 44upx 44upx;
.txt{
color: #EE9070;
line-height: 33upx;
font-size: 24upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
margin-top: 76upx;
text-align: center;
}
}
}
</style>

@ -0,0 +1,168 @@
<template>
<view class="container">
<view class="tabbar-nav">
<view class="nav-bar" @click="goPage('/pages/voiceRecord/list')">语音上报</view>
<view class="nav-bar active">地图上报<view class="bottom-line"></view></view>
<view class="nav-bar" @click="goPage('/pages/patrolRecord/list')">巡更上报</view>
</view>
<!-- 滚动加载更多 -->
<scroll-view class="padding-wrap" scroll-y ref="scrollView" @scrolltolower="loadMore">
<view v-for="(item,index) in dataList" :key="'vioce'+index" class="record-box">
<view class="datetime">
<view class="date">2023-07-17</view>
<view class="time">10:15:21</view>
</view>
<view class="record-cnt">
<image class="img" src="@/static/record-icon2.png"></image>
<view class="cnt">
<view class="txt" style="margin-bottom: 20upx;">实时定位位置或选择的常用报警位</view>
<view class="txt">应急预案类型</view>
</view>
</view>
</view>
<uni-load-more iconType="circle" :status="status" />
</scroll-view>
</view>
</template>
<script>
export default {
data() {
return {
dataList: [],
pageNo: 0,
pageSize: 10,
hasMore: true,
status: ''
}
},
onLoad() {
// #ifdef APP-PLUS
// #endif
this.loadMore();
},
methods: {
//
loadMore() {
if(this.hasMore){
this.pageNo = this.pageNo + 1;
this.staus = 'loading';
for(var i = 0; i < 10; i++){
this.dataList.push({id:(this.pageNo - 1)*this.pageSize + i});
}
if (this.pageNo > 3) {
this.hasMore = false;
this.status = 'noMore';
}else{
this.status = 'more';
}
}
},
//
goPage(url) {
uni.navigateTo({
url: url
})
}
}
}
</script>
<style lang="scss" scoped>
page,
.container {
min-height: 100vh;
}
.tabbar-nav {
position: fixed;
left: 0;
top: 0;
right: 0;
z-index: 99;
display: flex;
height: 70upx;
padding-top: 28upx;
justify-content: space-around;
text-align: center;
background-color: #fff;
z-index: 99;
.nav-bar {
flex: 1;
position: relative;
color: #031945;
line-height: 40upx;
font-size: 28upx;
font-family: PingFang SC-Bold, PingFang SC;
font-weight: bold;
.bottom-line {
position: absolute;
display: none;
left: 50%;
bottom: -3upx;
margin-left: -30upx;
width: 60upx;
height: 6upx;
background: #338AF8;
}
&.active {
color: #338AF8;
.bottom-line{
display: inline-block;
}
}
}
}
.padding-wrap {
height: calc(100vh - 98upx - 44upx);
padding-top: 30upx;
margin-top: 14upx;
background-color: #fff;
}
.record-box {
display: flex;
padding: 0 30upx;
margin-bottom: 30upx;
.datetime{
color: #273757;
line-height: 40upx;
font-size: 26upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
margin-right:20upx;
.time{
color: #B6B8BB;
font-size: 24upx;
}
}
.record-cnt {
flex: 1;
display: flex;
padding: 30upx;
background: #E4FFEE;
border-radius: 0 40upx 40upx 40upx;
.img {
width: 56upx;
height: 56upx;
margin-right: 20upx;
}
.cnt {
flex: 1;
.txt{
color: #031945;
line-height: 40upx;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
}
}
}
}
</style>

@ -10,20 +10,18 @@
<view class="user-info-group">1</view>
</view>
</view>
<uni-forms-item>
<view class="tab-switch" @click="positionType = positionType == 1 ? 0 : 1">
<view class="tab-btn" :class="positionType == 1 ? 'tab-btn active' : 'tab-btn'">
<view class="tab-btn-item"></view>
</view>
<view class="tab-label">使用常用报警位置</view>
</view>
<uni-forms-item label="当前位置" label-width="200upx">
<text>{{form.floor}} x:{{form.latidute}} y:{{form.longidute}}</text>
</uni-forms-item>
<view class="tab-switch" @click="positionType = positionType == 1 ? 0 : 1">
<view class="tab-btn" :class="positionType == 1 ? 'tab-btn active' : 'tab-btn'">
<view class="tab-btn-item"></view>
</view>
<view class="tab-label">使用常用报警位置</view>
</view>
<uni-forms-item v-if="positionType == 1" label="常用报警位置" label-width="200upx">
<uni-data-select v-model="position" :localdata="positionList" placeholder="请选择常用报警位置"></uni-data-select>
</uni-forms-item>
<uni-forms-item label="报警位置" label-width="200upx">
<text>{{form.floor}} x:{{form.latidute}} y:{{form.longidute}}</text>
</uni-forms-item>
<uni-forms-item label="应急预案选择" label-width="200upx">
<uni-data-select v-model="position" :localdata="positionList" placeholder="请选择常应急预案报警类型"></uni-data-select>
</uni-forms-item>

@ -1,28 +1,29 @@
<template>
<view class="container">
<view class="tabbar-nav">
<view class="nav-bar active">语音上报</view>
<view class="nav-bar">地图上报</view>
<view class="nav-bar">巡更上报</view>
<view class="nav-bar active">语音上报<view class="bottom-line"></view></view>
<view class="nav-bar" @click="goPage('/pages/positionRecord/list')">地图上报</view>
<view class="nav-bar" @click="goPage('/pages/patrolRecord/list')">巡更上报</view>
</view>
<!-- 滚动加载更多 -->
<scroll-view class="padding-wrap" scroll-y ref="scrollView" @scrolltolower="loadeMore">
<scroll-view class="padding-wrap" scroll-y ref="scrollView" @scrolltolower="loadMore">
<view v-for="(item,index) in dataList" :key="'vioce'+index" class="record-box">
<view class="datetime">
<view class="date">2023-07-17</view>
<view class="time">10:15:21</view>
</view>
<view class="record-cnt">
<image class="img"></image>
<image class="img" src="@/static/record-icon1.png"></image>
<view class="cnt">
<view class="voice-box">
<view class="voice-mins">60</view>
</view>
<view class="txt">实时定位位置或选择的常用报警位</view>
<view class="txt" style="margin-bottom: 20upx;">实时定位位置或选择的常用报警位</view>
<view class="txt">应急预案类型</view>
</view>
</view>
</view>
<uni-load-more iconType="circle" :status="status" />
</scroll-view>
</view>
</template>
@ -32,19 +33,39 @@
data() {
return {
dataList: [],
pageNo: 1,
pageNo: 0,
pageSize: 10,
hasMore: true;
hasMore: true,
status: ''
}
},
onLoad() {
// #ifdef APP-PLUS
// #endif
this.loadMore();
},
methods: {
//
loadeMore() {
loadMore() {
if(this.hasMore){
this.pageNo = this.pageNo + 1;
this.staus = 'loading';
for(var i = 0; i < 10; i++){
this.dataList.push({id:(this.pageNo - 1)*this.pageSize + i});
}
if (this.pageNo > 3) {
this.hasMore = false;
this.status = 'noMore';
}else{
this.status = 'more';
}
}
},
//
goPage(url) {
uni.navigateTo({
url: url
})
}
}
}
@ -64,9 +85,11 @@
z-index: 99;
display: flex;
height: 70upx;
padding-top: 28ipx;
padding-top: 28upx;
justify-content: space-around;
text-align: center;
background-color: #fff;
z-index: 99;
.nav-bar {
flex: 1;
@ -76,31 +99,49 @@
font-size: 28upx;
font-family: PingFang SC-Bold, PingFang SC;
font-weight: bold;
.bottom-line {
position: absolute;
display: none;
left: 50%;
bottom: -3upx;
margin-left: -30upx;
width: 60upx;
height: 6upx;
background: #338AF8;
}
&.active {
color: #338AF8;
&::after {
position: absolute;
left: 50%;
bottom: -3upx;
margin-left: -30upx;
width: 60upx;
height: 6upx;
background: #338AF8;
.bottom-line{
display: inline-block;
}
}
}
}
.padding-wrap {
padding: 30upx;
height: calc(100vh - 98upx - 44upx);
padding-top: 30upx;
margin-top: 14upx;
background-color: #fff;
}
.record-box {
display: flex;
padding: 0 30upx;
margin-bottom: 30upx;
.datetime{
color: #273757;
line-height: 40upx;
font-size: 26upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
margin-right:20upx;
.time{
color: #B6B8BB;
font-size: 24upx;
}
}
.record-cnt {
flex: 1;
display: flex;
@ -121,20 +162,28 @@
display: flex;
align-items: center;
justify-content: flex-end;
min-width: 300px;
height: 90upx;
background: #338AF8 url(@/static/voive_bg.png) 40upx 28upx no-repeat;
background-size: 226upx 34upx;
min-width: 300upx;
height: 56upx;
background: #338AF8 url(@/static/voive_bg.png) 24upx 18upx no-repeat;
background-size: 138upx 20upx;
border-radius: 100upx;
margin-bottom: 30upx;
.voice-mins {
color: #FFFFFF;
font-size: 28upx;
font-size: 17upx;
font-family: Arial-Regular, Arial;
font-weight: 400;
margin-right: 40upx;
margin-right: 24upx;
}
}
.txt{
color: #031945;
line-height: 40upx;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
}
}
}
}

@ -17,20 +17,18 @@
</view>
<view class="voice-del">删除</view>
</view>
<uni-forms-item>
<view class="tab-switch" @click="positionType = positionType == 1 ? 0 : 1">
<view class="tab-btn" :class="positionType == 1 ? 'tab-btn active' : 'tab-btn'">
<view class="tab-btn-item"></view>
</view>
<view class="tab-label">使用常用报警位置</view>
</view>
<uni-forms-item label="当前位置" label-width="200upx">
<text>{{form.floor}} x:{{form.latidute}} y:{{form.longidute}}</text>
</uni-forms-item>
<view class="tab-switch" @click="positionType = positionType == 1 ? 0 : 1">
<view class="tab-btn" :class="positionType == 1 ? 'tab-btn active' : 'tab-btn'">
<view class="tab-btn-item"></view>
</view>
<view class="tab-label">使用常用报警位置</view>
</view>
<uni-forms-item v-if="positionType == 1" label="常用报警位置" label-width="200upx">
<uni-data-select v-model="position" :localdata="positionList" placeholder="请选择常用报警位置"></uni-data-select>
</uni-forms-item>
<uni-forms-item label="报警位置" label-width="200upx">
<text>{{form.floor}} x:{{form.latidute}} y:{{form.longidute}}</text>
</uni-forms-item>
<uni-forms-item label="应急预案选择" label-width="200upx">
<uni-data-select v-model="position" :localdata="positionList" placeholder="请选择常应急预案报警类型"></uni-data-select>
</uni-forms-item>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

@ -1,8 +1,8 @@
var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/index/index","pages/voiceRecord/report","pages/voiceRecord/list","pages/positionRecord/report","pages/patrolRecord/report","pages/setting/index","pages/message/list","pages/message/detail"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8","background":"#efeff4"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"qilu_hospital_app","compilerVersion":"3.8.7","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"uni-app"}},{"path":"/pages/voiceRecord/report","meta":{},"window":{"navigationBarTitleText":"语音上报"}},{"path":"/pages/voiceRecord/list","meta":{},"window":{"navigationBarTitleText":"语音上报记录"}},{"path":"/pages/positionRecord/report","meta":{},"window":{"navigationBarTitleText":"位置上报"}},{"path":"/pages/patrolRecord/report","meta":{},"window":{"navigationBarTitleText":"巡更上报"}},{"path":"/pages/setting/index","meta":{},"window":{"navigationBarTitleText":"远端设置"}},{"path":"/pages/message/list","meta":{},"window":{"navigationBarTitleText":"报警消息"}},{"path":"/pages/message/detail","meta":{},"window":{"navigationBarTitleText":"报警消息详情"}}];
var __uniConfig = {"pages":["pages/index/index","pages/voiceRecord/report","pages/voiceRecord/list","pages/positionRecord/report","pages/positionRecord/list","pages/patrolRecord/report","pages/patrolRecord/list","pages/setting/index","pages/message/list","pages/message/detail"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8","background":"#efeff4"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"qilu_hospital_app","compilerVersion":"3.8.7","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"uni-app"}},{"path":"/pages/voiceRecord/report","meta":{},"window":{"navigationBarTitleText":"语音上报"}},{"path":"/pages/voiceRecord/list","meta":{},"window":{"navigationBarTitleText":"语音上报记录"}},{"path":"/pages/positionRecord/report","meta":{},"window":{"navigationBarTitleText":"位置上报"}},{"path":"/pages/positionRecord/list","meta":{},"window":{"navigationBarTitleText":"位置上报记录"}},{"path":"/pages/patrolRecord/report","meta":{},"window":{"navigationBarTitleText":"巡更上报"}},{"path":"/pages/patrolRecord/list","meta":{},"window":{"navigationBarTitleText":"巡更上报记录"}},{"path":"/pages/setting/index","meta":{},"window":{"navigationBarTitleText":"远端设置"}},{"path":"/pages/message/list","meta":{},"window":{"navigationBarTitleText":"报警消息"}},{"path":"/pages/message/detail","meta":{},"window":{"navigationBarTitleText":"报警消息详情"}}];
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +1 @@
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__B814B58","name":"qilu_hospital_app","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","distribute":{"google":{"permissions":["<uses-feature android:name=\"android.hardware.camera\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.BIND_ACCESSIBILITY_SERVICE\"/>","<uses-permission android:name=\"android.permission.BIND_NOTIFICATION_LISTENER_SERVICE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{"dSYMs":false},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"nativePlugins":{"Ba-KeepAliveSuit":{"__plugin_info__":{"name":"安卓保活套装(通用、常驻通知、电池优化、自启管理、后台运行等) - [试用版,仅用于自定义调试基座]","description":"在Ba-KeepAlive的基础上,新增了忽略电池优化、自启管理、常驻通知。为定位、推送、websocket、定时任务、蓝牙、聊天等保驾护航(**注意:**不保证支持所有机型和场景,建议先试用再购买)","platforms":"Android","url":"https://ext.dcloud.net.cn/plugin?id=11765","android_package_name":"","ios_bundle_id":"","isCloud":true,"bought":0,"pid":"11765","parameters":{}}}},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.8.7","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html"}}
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__B814B58","name":"qilu_hospital_app","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Record":{},"VideoPlayer":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","distribute":{"google":{"permissions":["<uses-feature android:name=\"android.hardware.camera\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.BIND_ACCESSIBILITY_SERVICE\"/>","<uses-permission android:name=\"android.permission.BIND_NOTIFICATION_LISTENER_SERVICE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{"dSYMs":false},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"nativePlugins":{"Ba-KeepAliveSuit":{"__plugin_info__":{"name":"安卓保活套装(通用、常驻通知、电池优化、自启管理、后台运行等) - [试用版,仅用于自定义调试基座]","description":"在Ba-KeepAlive的基础上,新增了忽略电池优化、自启管理、常驻通知。为定位、推送、websocket、定时任务、蓝牙、聊天等保驾护航(**注意:**不保证支持所有机型和场景,建议先试用再购买)","platforms":"Android","url":"https://ext.dcloud.net.cn/plugin?id=11765","android_package_name":"","ios_bundle_id":"","isCloud":true,"bought":0,"pid":"11765","parameters":{}}}},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.8.7","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html"}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Loading…
Cancel
Save