|
|
@@ -18,7 +18,8 @@
|
|
|
</view>
|
|
|
<view class="quiz_usertime">
|
|
|
<view style="display: flex;align-items: center;">
|
|
|
- <image :src="quizdata.image?quizdata.image:'http://www.hnyfwlw.com:8006/bigdata_app/image/fourMoodBase/touxiang.png'"
|
|
|
+ <image
|
|
|
+ :src="quizdata.image?quizdata.image:'http://www.hnyfwlw.com:8006/bigdata_app/image/fourMoodBase/touxiang.png'"
|
|
|
mode=""></image>
|
|
|
<span>{{quizdata.username}}</span>
|
|
|
</view>
|
|
|
@@ -130,7 +131,7 @@
|
|
|
examine(list) {
|
|
|
console.log(list)
|
|
|
var imgarr = []
|
|
|
- for(var i=0;i<list.length;i++){
|
|
|
+ for (var i = 0; i < list.length; i++) {
|
|
|
imgarr.unshift(list[0].image)
|
|
|
}
|
|
|
console.log(imgarr)
|
|
|
@@ -150,11 +151,19 @@
|
|
|
console.log(res)
|
|
|
this.quizdata = res.data[0]
|
|
|
console.log(this.quizdata)
|
|
|
+
|
|
|
+ // if (this.quizdata.image) {
|
|
|
+ // this.list = [{
|
|
|
+ // image: this.quizdata.image
|
|
|
+ // }]
|
|
|
+ // }
|
|
|
+
|
|
|
var index2 = this.quizdata.content.indexOf('http')
|
|
|
+ console.log(index2,'------------- index2 num value')
|
|
|
this.recursion(index2)
|
|
|
- if(!(index2+1)){
|
|
|
+ if (!(index2 + 1) && this.quizdata.image) {
|
|
|
var obj = {
|
|
|
- image: this.quizdata.img_urls
|
|
|
+ image: this.quizdata.image
|
|
|
}
|
|
|
this.list.push(obj)
|
|
|
}
|
|
|
@@ -195,6 +204,7 @@
|
|
|
width: 95%;
|
|
|
margin: 0 auto 20rpx;
|
|
|
height: 428rpx;
|
|
|
+
|
|
|
image {
|
|
|
max-width: 100%;
|
|
|
max-height: 100%;
|
|
|
@@ -205,12 +215,14 @@
|
|
|
width: 95%;
|
|
|
margin: 20rpx auto;
|
|
|
border-bottom: 4rpx dashed #E8E8E8;
|
|
|
- .quiz_title{
|
|
|
+
|
|
|
+ .quiz_title {
|
|
|
width: 100%;
|
|
|
font-size: 36rpx;
|
|
|
font-weight: 700;
|
|
|
text-align: center;
|
|
|
}
|
|
|
+
|
|
|
.quiz_username {
|
|
|
width: 100%;
|
|
|
|
|
|
@@ -250,7 +262,8 @@
|
|
|
.quiz_usercontert {
|
|
|
padding: 20rpx;
|
|
|
margin-bottom: 20rpx;
|
|
|
- /deep/img{
|
|
|
+
|
|
|
+ /deep/img {
|
|
|
width: 0 !important;
|
|
|
height: 0 !important;
|
|
|
}
|
|
|
@@ -305,9 +318,11 @@
|
|
|
|
|
|
.comment_unit_con {
|
|
|
padding-left: 60rpx;
|
|
|
+ word-break: break-all;
|
|
|
|
|
|
/deep/p {
|
|
|
margin-top: 20rpx;
|
|
|
+ word-break: break-all;
|
|
|
|
|
|
img {
|
|
|
margin-top: 20rpx;
|
|
|
@@ -346,4 +361,4 @@
|
|
|
color: #7a7a7a;
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|