46 lines
973 B
Vue
46 lines
973 B
Vue
|
|
<template>
|
||
|
|
<view class="page">
|
||
|
|
<u-navbar title="更多介绍" :border-bottom="false" :background="bgc" back-icon-color="#262B37" title-color='#262B37'
|
||
|
|
title-size='36' height='36' id="navbar">
|
||
|
|
</u-navbar>
|
||
|
|
<view class="" style="width: 100%;padding: 20rpx;height: 100vh;overflow: scroll;padding-bottom: 30rpx;box-sizing: border-box;">
|
||
|
|
{{xqobj.description == null ? '暂无介绍' : xqobj.description}}
|
||
|
|
</view>
|
||
|
|
|
||
|
|
</view>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
export default {
|
||
|
|
data() {
|
||
|
|
return {
|
||
|
|
bgc: {
|
||
|
|
backgroundColor: "#fff",
|
||
|
|
},
|
||
|
|
id:'',
|
||
|
|
xqobj:{}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
onLoad(option) {
|
||
|
|
this.id = option.id
|
||
|
|
this.getxq()
|
||
|
|
},
|
||
|
|
methods: {
|
||
|
|
// 请求景区详情
|
||
|
|
getxq(){
|
||
|
|
this.$u.get(`/app/scenicArea/detail/${this.id}`).then(res =>{
|
||
|
|
if(res.code == 200){
|
||
|
|
this.xqobj = res.data
|
||
|
|
}
|
||
|
|
})
|
||
|
|
},
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style lang="scss">
|
||
|
|
page {
|
||
|
|
background: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
</style>
|