Commit 722a7baf authored by 黄奎's avatar 黄奎

新增参数

parent 52afa11e
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<view class="setComments-content" @click="goComment(item)"> <view class="setComments-content" @click="goComment(item)">
<view class="center-line"></view> <view class="center-line"></view>
<view class="setComments-title flex"> <view class="setComments-title flex">
<text class="setComments-title-left">{{item.Times}}次评价</text> <text class="setComments-title-left">{{item.Title}}</text>
<view class="setComments-title-right"> <view class="setComments-title-right">
<view class="setComments-options flex"> <view class="setComments-options flex">
<view class="setComments-options-title flex" @click.stop="showActionHandler(item)"> <view class="setComments-options-title flex" @click.stop="showActionHandler(item)">
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<view class="commentDetails-index-setType flex"> <view class="commentDetails-index-setType flex">
<view class="commentDetails-setType-text flex"> <view class="commentDetails-setType-text flex">
<view> <view>
{{topData.Times}}次评价 {{topData.Title}}
</view> </view>
<view class="flex"> <view class="flex">
<text>{{topData.ShowTypeStr}}</text> <text>{{topData.ShowTypeStr}}</text>
...@@ -77,14 +77,16 @@ ...@@ -77,14 +77,16 @@
checked: '1', checked: '1',
Msg: { Msg: {
CourseId: '', CourseId: '',
CommentTimes:1 CommentTimes:1,
CommentMainId:0,
}, },
courseTimeList: [], courseTimeList: [],
topData:{ topData:{
ShowTypeStr:"", ShowTypeStr:"",
Times:1, Times:1,
CreateTime:"", CreateTime:"",
CreateTypeStr:"" CreateTypeStr:"",
Title:"",
} }
}); });
let methods = { let methods = {
...@@ -146,8 +148,9 @@ ...@@ -146,8 +148,9 @@
this.topData.Times = json.Times; this.topData.Times = json.Times;
this.topData.CreateTime = json.CreateTime; this.topData.CreateTime = json.CreateTime;
this.topData.CreateTypeStr = json.CreateTypeStr; this.topData.CreateTypeStr = json.CreateTypeStr;
this.topData.Title=json.Title;
this.Msg.CommentTimes = json.Times; this.Msg.CommentTimes = json.Times;
this.Msg.CommentMainId=json.Id;
}, },
onShow() { onShow() {
this.getStuCommentList(); this.getStuCommentList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment