主持法师
This commit is contained in:
parent
b5fd142d35
commit
29848591ab
|
|
@ -68,13 +68,14 @@ export default {
|
||||||
return {
|
return {
|
||||||
activeTab: 0, // 当前激活的标签索引
|
activeTab: 0, // 当前激活的标签索引
|
||||||
tabs: [],
|
tabs: [],
|
||||||
monkInfo: {}
|
monkInfo: {},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad() {
|
||||||
|
let id=uni.getStorageSync('abbotId')
|
||||||
// 获取传递的参数
|
// 获取传递的参数
|
||||||
if (options.id) {
|
if (id) {
|
||||||
this.fetchMonkDetail(options.id);
|
this.fetchMonkDetail(id);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
||||||
|
|
@ -271,6 +271,8 @@ import { getArticleById } from "../../api/article/article.js";
|
||||||
audioUrl: response.data.audioUrl || ''
|
audioUrl: response.data.audioUrl || ''
|
||||||
};
|
};
|
||||||
|
|
||||||
|
uni.setStorageSync('abbotId', response.data.abbotId);
|
||||||
|
|
||||||
// 重新启动跑马灯
|
// 重新启动跑马灯
|
||||||
this.stopMarquee();
|
this.stopMarquee();
|
||||||
this.startMarquee();
|
this.startMarquee();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user