29850
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
v-for="(item, index) in watermarkList"
|
v-for="(item, index) in watermarkList"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
@click.stop="currIndex = index">
|
@click.stop="currIndex = index">
|
||||||
<image :src="item.thum" mode="aspectFill" />
|
<image :src="item.thum" />
|
||||||
<div class="water-item__bottom">{{ item.name }}</div>
|
<div class="water-item__bottom">{{ item.name }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -123,8 +123,11 @@
|
|||||||
this.img = query.url
|
this.img = query.url
|
||||||
this.height = uni.getSystemInfoSync().windowHeight
|
this.height = uni.getSystemInfoSync().windowHeight
|
||||||
|
|
||||||
this.getWatermarkList()
|
|
||||||
this.getLocation()
|
this.getLocation()
|
||||||
|
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.getWatermarkList()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
@@ -273,7 +276,7 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
this.$http.post('/api/appalbum/list', null, {
|
this.$http.post('/api/appalbum/list', null, {
|
||||||
parmas: {
|
params: {
|
||||||
size: 1000
|
size: 1000
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
@@ -407,7 +410,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 176px;
|
width: 236px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -61,7 +61,7 @@
|
|||||||
watch: {
|
watch: {
|
||||||
configList: {
|
configList: {
|
||||||
handler: function (v) {
|
handler: function (v) {
|
||||||
if (v.length) {
|
if (v && v.length) {
|
||||||
const date = v.filter(v => v.type === '1')[0]
|
const date = v.filter(v => v.type === '1')[0]
|
||||||
const time = v.filter(v => v.type === '0')[0]
|
const time = v.filter(v => v.type === '0')[0]
|
||||||
const title = v.filter(v => v.type === '5')[0]
|
const title = v.filter(v => v.type === '5')[0]
|
||||||
@@ -80,6 +80,7 @@
|
|||||||
this.configList = JSON.parse(JSON.stringify(this.config)).map(v => {
|
this.configList = JSON.parse(JSON.stringify(this.config)).map(v => {
|
||||||
if (v.fieldType === '3') {
|
if (v.fieldType === '3') {
|
||||||
v.defaultValue = uni.getStorageSync('address').address || ''
|
v.defaultValue = uni.getStorageSync('address').address || ''
|
||||||
|
this.address = uni.getStorageSync('address').address || ''
|
||||||
}
|
}
|
||||||
|
|
||||||
if (v.fieldType === '7') {
|
if (v.fieldType === '7') {
|
||||||
|
|||||||
@@ -120,6 +120,7 @@
|
|||||||
this.configList = JSON.parse(JSON.stringify(this.config)).map(v => {
|
this.configList = JSON.parse(JSON.stringify(this.config)).map(v => {
|
||||||
if (v.fieldType === '3') {
|
if (v.fieldType === '3') {
|
||||||
v.defaultValue = uni.getStorageSync('address').address || ''
|
v.defaultValue = uni.getStorageSync('address').address || ''
|
||||||
|
this.address = uni.getStorageSync('address').address || ''
|
||||||
}
|
}
|
||||||
|
|
||||||
return v
|
return v
|
||||||
|
|||||||
Reference in New Issue
Block a user