Merge remote-tracking branch 'origin/dev' into dev
@@ -51,7 +51,7 @@ export default {
|
|||||||
url: '',
|
url: '',
|
||||||
autioName: '',
|
autioName: '',
|
||||||
audio: null,
|
audio: null,
|
||||||
barStyle: {width: '98px', bottom: '-3px', left: '-38px'},
|
barStyle: {width: '96px', bottom: '-3px', left: '-38px'},
|
||||||
keyword: '',
|
keyword: '',
|
||||||
type: '0',
|
type: '0',
|
||||||
typeList: [{label: '全部', value: '0'}, {label: '我创建的', value: '1'},]
|
typeList: [{label: '全部', value: '0'}, {label: '我创建的', value: '1'},]
|
||||||
@@ -156,7 +156,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
toDetail(item) {
|
toDetail(item) {
|
||||||
uni.navigateTo({url: `./detail`})
|
uni.navigateTo({url: `./detail?id=${item.id}`})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -168,6 +168,11 @@ export default {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.AppResourcesManage {
|
.AppResourcesManage {
|
||||||
padding-bottom: 128px;
|
padding-bottom: 128px;
|
||||||
|
::v-deep .AiTopFixed{
|
||||||
|
.content{
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.tab {
|
.tab {
|
||||||
border-bottom: 1px solid #ddd;
|
border-bottom: 1px solid #ddd;
|
||||||
@@ -278,6 +283,7 @@ export default {
|
|||||||
.currentLeft-top {
|
.currentLeft-top {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
padding: 32px 32px 0;
|
||||||
|
|
||||||
.left {
|
.left {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 979 B After Width: | Height: | Size: 979 B |
|
Before Width: | Height: | Size: 795 B After Width: | Height: | Size: 795 B |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 269 B After Width: | Height: | Size: 269 B |
|
Before Width: | Height: | Size: 269 B After Width: | Height: | Size: 269 B |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 531 B After Width: | Height: | Size: 531 B |
|
Before Width: | Height: | Size: 577 B After Width: | Height: | Size: 577 B |
@@ -11,7 +11,8 @@
|
|||||||
<div class="record-item" v-for="(item, index) in 100" :key="index">
|
<div class="record-item" v-for="(item, index) in 100" :key="index">
|
||||||
<image :src="user.avatar" />
|
<image :src="user.avatar" />
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<image src="./img/voice-icon.png" />
|
<!-- <image mode="aspectFit" src="./img/voice-icon.png" /> -->
|
||||||
|
<image src="./img/voice.gif" />
|
||||||
<span>23"</span>
|
<span>23"</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -412,8 +413,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 20px;
|
width: 28px;
|
||||||
height: 32px;
|
height: 28px;
|
||||||
margin-right: 14px;
|
margin-right: 14px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 795 B After Width: | Height: | Size: 795 B |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 269 B After Width: | Height: | Size: 269 B |
|
Before Width: | Height: | Size: 288 B After Width: | Height: | Size: 288 B |
|
Before Width: | Height: | Size: 766 B After Width: | Height: | Size: 766 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 762 B After Width: | Height: | Size: 762 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
BIN
src/apps/AppBroadcast1/img/voice.gif
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
@@ -155,11 +155,11 @@ export default {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-bottom: 32px;
|
margin-bottom: 32px;
|
||||||
.item{
|
.item{
|
||||||
width: 150px;
|
padding: 0 32px;
|
||||||
line-height: 68px;
|
line-height: 56px;
|
||||||
float: left;
|
float: left;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 34px;
|
border-radius: 28px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
margin: 0 16px 16px 0;
|
margin: 0 16px 16px 0;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ export default {
|
|||||||
...mapState(['user', 'global']),
|
...mapState(['user', 'global']),
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
this.$loading()
|
||||||
document.title = '居民信息管理'
|
document.title = '居民信息管理'
|
||||||
this.getList()
|
this.getList()
|
||||||
this.areaId = this.user.areaId
|
this.areaId = this.user.areaId
|
||||||
@@ -58,6 +59,7 @@ export default {
|
|||||||
this.data = [...this.data, ...res.data.records]
|
this.data = [...this.data, ...res.data.records]
|
||||||
} else this.data = res.data.records
|
} else this.data = res.data.records
|
||||||
this.page1.total = res.data.total
|
this.page1.total = res.data.total
|
||||||
|
uni.hideLoading()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -2,7 +2,11 @@
|
|||||||
<div class="photo" v-if="pageShow">
|
<div class="photo" v-if="pageShow">
|
||||||
<div class="photo-header">
|
<div class="photo-header">
|
||||||
<h2>{{ info.albumName }}</h2>
|
<h2>{{ info.albumName }}</h2>
|
||||||
<div class="right" @click="linkTo('./AddAlbum?id=' + id)" hover-class="text-hover" v-if="id !== '1' && isAdmin">
|
<div
|
||||||
|
class="right"
|
||||||
|
@click="linkTo('./AddAlbum?id=' + id)"
|
||||||
|
hover-class="text-hover"
|
||||||
|
v-if="info.albumName !== '系统相册' && info.createUserId === user.wxUserId">
|
||||||
<image src="./images/setting.png" />
|
<image src="./images/setting.png" />
|
||||||
<span>相册设置</span>
|
<span>相册设置</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -95,7 +99,6 @@
|
|||||||
|
|
||||||
onLoad (query) {
|
onLoad (query) {
|
||||||
this.id = query.id
|
this.id = query.id
|
||||||
this.isAdmin = !!this.$store.state.user.adminAuthType
|
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.getTotalInfo(query.id)
|
this.getTotalInfo(query.id)
|
||||||
|
|||||||
@@ -57,7 +57,6 @@
|
|||||||
isShow: false,
|
isShow: false,
|
||||||
list: [],
|
list: [],
|
||||||
currIndex: 0,
|
currIndex: 0,
|
||||||
isAdmin: false,
|
|
||||||
albumList: [],
|
albumList: [],
|
||||||
pageShow: false
|
pageShow: false
|
||||||
}
|
}
|
||||||
@@ -75,7 +74,6 @@
|
|||||||
|
|
||||||
onLoad (query) {
|
onLoad (query) {
|
||||||
this.$loading()
|
this.$loading()
|
||||||
this.isAdmin = !!this.$store.state.user.adminAuthType
|
|
||||||
this.id = query.id
|
this.id = query.id
|
||||||
this.getAlbumList()
|
this.getAlbumList()
|
||||||
|
|
||||||
@@ -90,7 +88,7 @@
|
|||||||
params: {
|
params: {
|
||||||
albumId: this.id,
|
albumId: this.id,
|
||||||
pageSize: 100000,
|
pageSize: 100000,
|
||||||
userId: this.isAdmin ? '' : this.$store.state.user.openId
|
userId: this.$store.state.user.openId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
|
|||||||
@@ -62,7 +62,6 @@
|
|||||||
<h2>工作相册</h2>
|
<h2>工作相册</h2>
|
||||||
<div class="album-list__wrapper">
|
<div class="album-list__wrapper">
|
||||||
<div class="item" v-for="(item, index) in list" :key="index" @click="linkTo('./AlbumDetail?id=' + item.id)">
|
<div class="item" v-for="(item, index) in list" :key="index" @click="linkTo('./AlbumDetail?id=' + item.id)">
|
||||||
<span v-if="item.photoHasRead === 'NO'">未查看</span>
|
|
||||||
<image src="./../images/icon.png" :loading-img="$cdn + 'watermark/loading.png'" v-if="!item.lastPhotoUrl" />
|
<image src="./../images/icon.png" :loading-img="$cdn + 'watermark/loading.png'" v-if="!item.lastPhotoUrl" />
|
||||||
<u-lazy-load class="item-img" img-mode="aspectFill" :height="328" :image="item.lastPhotoUrl" v-else></u-lazy-load>
|
<u-lazy-load class="item-img" img-mode="aspectFill" :height="328" :image="item.lastPhotoUrl" v-else></u-lazy-load>
|
||||||
<div class="item-bottom">
|
<div class="item-bottom">
|
||||||
@@ -80,7 +79,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item item-add" @click="linkTo('./AddAlbum')" v-if="user && user.adminAuthType === '1'">
|
<div class="item item-add" @click="linkTo('./AddAlbum')">
|
||||||
<div class="item-add__btn"></div>
|
<div class="item-add__btn"></div>
|
||||||
<p>添加相册</p>
|
<p>添加相册</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -116,7 +115,6 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
mounted () {
|
mounted () {
|
||||||
console.log(this.user.adminAuthType)
|
|
||||||
this.getCountPhotoNo()
|
this.getCountPhotoNo()
|
||||||
this.getAlbumList()
|
this.getAlbumList()
|
||||||
this.getMsgList()
|
this.getMsgList()
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="info-item info-work">
|
<div class="info-item info-work" v-if="false">
|
||||||
<div class="info-item__title">
|
<div class="info-item__title">
|
||||||
<h2>考勤统计</h2>
|
<h2>考勤统计</h2>
|
||||||
<image src="../images/right.png" @click="linkTo('./Attendance?date=' + date.replace(/年|月/g, '-'))" />
|
<image src="../images/right.png" @click="linkTo('./Attendance?date=' + date.replace(/年|月/g, '-'))" />
|
||||||
|
|||||||