BUG 28032

This commit is contained in:
aixianling
2022-03-04 11:25:22 +08:00
parent 2a1e2d2a5c
commit 265035eb91
6 changed files with 27 additions and 9 deletions

View File

@@ -92,6 +92,7 @@
import {mapState} from 'vuex'
export default {
name: "AppThreeSessions",
appName: "三会一课",
data() {
const currentDate = this.getDate({
@@ -127,6 +128,10 @@ export default {
...mapState(['user']),
},
onLoad() {
uni.setNavigationBarColor({
frontColor: "#ffffff",
backgroundColor: "#D7261E",
})
this.partyId = this.user.id
this.$dict.load('postStatus', 'meetingClassification').then(() => {
this.array = this.$dict.getDict('meetingClassification')
@@ -316,7 +321,6 @@ export default {
};
</script>
<style lang="scss" scope>
.page {
.fixed-top {
z-index: 9999;

View File

@@ -25,6 +25,10 @@ export default {
};
},
onShow() {
uni.setNavigationBarColor({
frontColor: "#ffffff",
backgroundColor: "#D7261E",
})
if (uni.getStorageSync('token')) {
this.meetingId = this.$mp.query.scene
// this.meetingId = 'c29aacb54f074c14ab93532e384a6daa'

View File

@@ -83,6 +83,10 @@ export default {
...mapState(['user']),
},
onLoad(options) {
uni.setNavigationBarColor({
frontColor: "#ffffff",
backgroundColor: "#D7261E",
})
this.baseInfo.meetingId = options.id;
this.getDetailInfo();
},
@@ -96,8 +100,6 @@ export default {
this.baseInfo = {...res.data};
}
})
.catch((err) => {
});
},
// 选择照片类型
chooseImageType() {
@@ -146,9 +148,6 @@ export default {
let str = "";
let token = uni.getStorageSync("token");
// console.log('token',token)
let params = {
token: token,
};
// url String 是 开发者服务器 url
// files Aarry 否 需要上传的文件列表。使用 files 时filePath 和 name 不生效。 5+App
// filePath String 是 要上传文件资源的路径。
@@ -171,7 +170,7 @@ export default {
success(res) {
// console.log('uploader',res)
str = JSON.stringify(JSON.parse(res.data).data[0]).replace(
/\"/g,
/"/g,
""
);
var temp = {

View File

@@ -131,6 +131,10 @@ export default {
...mapState(['user']),
},
onLoad(options) {
uni.setNavigationBarColor({
frontColor: "#ffffff",
backgroundColor: "#D7261E",
})
if (!uni.getStorageSync("token")) {
uni.setStorageSync("token", options.token)
}
@@ -361,10 +365,9 @@ export default {
}
.detail-info {
padding: 16px 0 8px 32px;
padding: 16px 0 80px 32px;
border-bottom: 2px solid #D8DDE6;
background-color: #D7261E;
padding-bottom: 80px;
position: relative;
.info-title {

View File

@@ -61,6 +61,10 @@ export default {
};
},
onLoad(options) {
uni.setNavigationBarColor({
frontColor: "#ffffff",
backgroundColor: "#D7261E",
})
this.id = options.id;
this.getDetailInfo();
},

View File

@@ -28,6 +28,10 @@ export default {
};
},
onLoad(options) {
uni.setNavigationBarColor({
frontColor: "#ffffff",
backgroundColor: "#D7261E",
})
this.id = options.id
this.getDetailInfo()
},