|
|
@@ -29,7 +29,7 @@
|
|
|
|
|
|
</view>
|
|
|
<view style="text-align:center;margin-top:30upx;">
|
|
|
- <button class="admin-button-com big blue go-back" @click="goBack()">返回</button>
|
|
|
+ <button class="admin-button-com big blue go-back" @click="goBack()">返回列表</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -48,11 +48,17 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
onLoad() {
|
|
|
-
|
|
|
- },
|
|
|
- computed:{
|
|
|
- },
|
|
|
- onShow() {
|
|
|
+ let that = this
|
|
|
+ getBookDetail({id:this.option.id}).then(res => {
|
|
|
+ that.bookList = res.data.list
|
|
|
+ that.bookList.forEach((item) => {
|
|
|
+ if(item.style == 'title'){
|
|
|
+ this.pageTitle = item.value
|
|
|
+ uni.setNavigationBarTitle({title: item.value})
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+ });
|
|
|
},
|
|
|
onShareAppMessage(res) {
|
|
|
return {
|
|
|
@@ -77,19 +83,6 @@ export default {
|
|
|
playVide(){
|
|
|
this.videoContext = uni.createVideoContext('myVideo',this)
|
|
|
this.videoContext.play()
|
|
|
- },
|
|
|
- init(){
|
|
|
- let that = this
|
|
|
- getBookDetail({id:this.option.id}).then(res => {
|
|
|
- that.bookList = res.data.list
|
|
|
- that.bookList.forEach((item) => {
|
|
|
- if(item.style == 'title'){
|
|
|
- this.pageTitle = item.value
|
|
|
- uni.setNavigationBarTitle({title: item.value})
|
|
|
- }
|
|
|
- })
|
|
|
-
|
|
|
- });
|
|
|
}
|
|
|
},
|
|
|
};
|