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

View File

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

View File

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

View File

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

View File

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

View File

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