Commit 8d553db4 authored by youjie's avatar youjie

no message

parent 02a771b4
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
<view class="rulesPopup-RuleSettings"> <view class="rulesPopup-RuleSettings">
<text class="RuleSettings-title">规则设置</text> <text class="RuleSettings-title">规则设置</text>
<view class="RuleSettings-slider"> <view class="RuleSettings-slider">
<van-slider v-model="valueNum" range @change="onChange" /> <van-slider v-model="valueNum" range
bar-height="4rpx" active-color="#ee0a24"
@change="onChange" />
</view> </view>
</view> </view>
</view> </view>
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
}, },
addComments(){ addComments(){
uni.navigateTo({ uni.navigateTo({
url: '/pages/setComments/commentRulesList' url: '/pages/setComments/commentRulesList?show=' + true
}) })
}, },
goComment(item){ goComment(item){
......
...@@ -111,7 +111,6 @@ ...@@ -111,7 +111,6 @@
//编辑规则 //编辑规则
editRules(item) { editRules(item) {
data.show = true data.show = true
refs.getrulesPopup.$vm.showFun(item) refs.getrulesPopup.$vm.showFun(item)
}, },
//删除规则 //删除规则
...@@ -205,6 +204,10 @@ ...@@ -205,6 +204,10 @@
}, },
onLoad(option) { onLoad(option) {
this.Msg.CourseId = option.CourseId; this.Msg.CourseId = option.CourseId;
if(option.show){
this.show = option.show
this.addRules()
}
this.getCourseRule(); this.getCourseRule();
}, },
}; };
......
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