2024-05-10 17:37:36 +08:00
|
|
|
<template>
|
|
|
|
<view class="page">
|
2024-05-27 16:06:08 +08:00
|
|
|
<u-navbar title="疑问解答" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
|
2024-05-21 18:02:34 +08:00
|
|
|
height='58'></u-navbar>
|
2024-05-10 17:37:36 +08:00
|
|
|
<view class="box">
|
|
|
|
<view class="title">
|
|
|
|
{{listobj.title}}
|
|
|
|
</view>
|
|
|
|
<view class="cont">
|
|
|
|
{{listobj.content}}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
articleId:'',
|
|
|
|
listobj:{}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
onLoad(option) {
|
|
|
|
this.articleId = option.id
|
2024-05-27 16:06:08 +08:00
|
|
|
this.getxq()
|
2024-05-10 17:37:36 +08:00
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
getxq(){
|
|
|
|
this.$u.get(`/app/article/${this.articleId}`).then(res => {
|
|
|
|
if (res.code == 200) {
|
|
|
|
this.listobj = res.data
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
2024-05-24 16:48:42 +08:00
|
|
|
/deep/ .u-title{
|
|
|
|
padding-bottom: 41rpx;
|
|
|
|
}
|
|
|
|
/deep/ .u-icon__icon{
|
|
|
|
padding-bottom: 41rpx;
|
|
|
|
}
|
2024-05-10 17:37:36 +08:00
|
|
|
page {
|
|
|
|
background: linear-gradient(180deg, #8883F0 0%, rgba(255, 255, 255, 0) 100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.page {
|
|
|
|
width: 750rpx;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
.box{
|
|
|
|
width: 750rpx;
|
|
|
|
height: 1440rpx;
|
|
|
|
background: #F4F5F7;
|
|
|
|
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
|
|
|
padding: 40rpx;
|
|
|
|
box-sizing: border-box;
|
|
|
|
.title{
|
|
|
|
font-size: 40rpx;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
.cont{
|
|
|
|
font-size: 32rpx;
|
|
|
|
color: #666;
|
|
|
|
margin-top: 50rpx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|