mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 01:46:44 +08:00
问答详情
This commit is contained in:
@@ -9,17 +9,29 @@
|
|||||||
<page-title :showBack="true">问答详情</page-title>
|
<page-title :showBack="true">问答详情</page-title>
|
||||||
<u-toast ref="messager"></u-toast>
|
<u-toast ref="messager"></u-toast>
|
||||||
<view class="adetail content">
|
<view class="adetail content">
|
||||||
<!--文章内容-->
|
|
||||||
<view class="adetail-title" v-if="detailData.id" style="word-break: break-all;">
|
<view class="adetail-title" v-if="detailData.id" style="word-break: break-all;">
|
||||||
<text class="qa-basic qa-solve" v-if="detailData.isResolve">[已解决]</text>
|
<!-- <text class="qa-basic qa-solve" v-if="detailData.isResolve">[已解决]</text> -->
|
||||||
<text class="qa-basic qa-unSolve" v-else>[待解决]</text>
|
<!-- <text class="qa-basic qa-unSolve" v-else>[待解决]</text> -->
|
||||||
{{ detailData.title }}
|
{{ detailData.title }}
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="interval">
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<view class="adetail content">
|
||||||
|
<!--文章内容-->
|
||||||
|
|
||||||
<view class="adetail-info">
|
<view class="adetail-info">
|
||||||
<view style="display: flex;line-height: 40upx;">
|
<view style="display: flex;line-height: 40upx;">
|
||||||
<author-info :name="detailData.sysCreateBy" :avatar="detailData.avatar" :sex="detailData.sex" :info="detailData.ucode" :showInfo="true"></author-info>
|
<author-info :name="detailData.sysCreateBy" :avatar="detailData.avatar" :sex="detailData.sex" :info="detailData.ucode" :showInfo="true"></author-info>
|
||||||
</view>
|
</view>
|
||||||
<view style="padding: 20upx 0upx 10upx 40upx; font-size: 24rpx; ">{{ detailData.sysCreateTime }}</view>
|
<view class="concern">
|
||||||
|
+关注
|
||||||
|
</view>
|
||||||
|
<!-- <view class="concern" style="color: #999;">
|
||||||
|
已关注
|
||||||
|
</view> -->
|
||||||
|
<!-- <view style="padding: 20upx 0upx 10upx 40upx; font-size: 24rpx; ">{{ detailData.sysCreateTime }}</view> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="adetail-body">
|
<view class="adetail-body">
|
||||||
<u-parse :content="detailData.content"></u-parse>
|
<u-parse :content="detailData.content"></u-parse>
|
||||||
@@ -696,6 +708,22 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.interval{
|
||||||
|
height: 20upx;
|
||||||
|
width: 100%;
|
||||||
|
background-color: #F9F9F9;
|
||||||
|
}
|
||||||
|
.concern{
|
||||||
|
width: 140upx;
|
||||||
|
height: 68upx;
|
||||||
|
background: #F6F6F6;
|
||||||
|
border-radius: 12upx;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 68upx;
|
||||||
|
font-size: 28upx;
|
||||||
|
color: #387DF7;
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
.one-wrap {
|
.one-wrap {
|
||||||
// width: 80%;
|
// width: 80%;
|
||||||
flex:1;
|
flex:1;
|
||||||
@@ -716,12 +744,11 @@ export default {
|
|||||||
.adetail {
|
.adetail {
|
||||||
padding: 15upx 30upx;
|
padding: 15upx 30upx;
|
||||||
.adetail-title {
|
.adetail-title {
|
||||||
// font-weight: 700;
|
background-color: #fff;
|
||||||
font-weight: bold;
|
padding-bottom: 40upx;
|
||||||
//font-weight: 610;
|
font-weight: 500;
|
||||||
font-size: 32rpx;
|
font-size: 36upx;
|
||||||
letter-spacing: 0.5px;
|
letter-spacing: 0.5px;
|
||||||
|
|
||||||
.qa-basic{
|
.qa-basic{
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
|
|
||||||
@@ -734,10 +761,11 @@ export default {
|
|||||||
color: #7e7e7e;
|
color: #7e7e7e;
|
||||||
}
|
}
|
||||||
.adetail-body {
|
.adetail-body {
|
||||||
//padding-top: 15px;
|
|
||||||
line-height: 55upx;
|
line-height: 55upx;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
font-size: 28upx;
|
||||||
|
color: #666666;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
> div {
|
> div {
|
||||||
text-indent: 24px;
|
text-indent: 24px;
|
||||||
|
|||||||
Reference in New Issue
Block a user