Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
游洁
thinkApp
Commits
31c84542
Commit
31c84542
authored
May 31, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
5ef2f509
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
114 additions
and
339 deletions
+114
-339
navbar.vue
src/components/navbar.vue
+1
-1
rulesPopup.vue
src/components/setComments/rulesPopup.vue
+93
-332
commentRulesList.vue
src/pages/setComments/commentRulesList.vue
+20
-6
No files found.
src/components/navbar.vue
View file @
31c84542
...
...
@@ -48,6 +48,6 @@
.sticky
{
position
:
sticky
;
top
:
0
;
z-index
:
999
;
z-index
:
2
;
}
</
style
>
src/components/setComments/rulesPopup.vue
View file @
31c84542
This diff is collapsed.
Click to expand it.
src/pages/setComments/commentRulesList.vue
View file @
31c84542
...
...
@@ -35,19 +35,20 @@
<view
class=
"commentRulesList-footer-box"
>
<view
class=
"commentRulesList-footer flex"
>
<view
class=
"add flex"
>
<text>
添加自定义规则
</text>
<text
@
click=
"addRules"
>
添加自定义规则
</text>
<view
class=
"Wire"
></view>
</view>
<view
class=
"save flex"
><text>
保存
</text></view>
<view
class=
"save flex"
><text
@
click=
"save"
>
保存
</text></view>
</view>
</view>
<rulesPopup></rulesPopup>
<rulesPopup
ref=
"getrulesPopup"
></rulesPopup>
</view>
</
template
>
<
script
>
import
rulesPopup
from
'@/components/setComments/rulesPopup'
import
setComments
from
'@/components/setComments/setComments'
import
{
ref
,
reactive
,
toRefs
,
onMounted
,
...
...
@@ -65,6 +66,7 @@
rulesPopup
},
setup
()
{
let
{
refs
}
=
getCurrentInstance
();
let
{
proxy
}
=
getCurrentInstance
();
...
...
@@ -89,7 +91,7 @@
HomeWorkId
:
''
,
jobDetails
:
{},
dataList
:[],
pageState
:
'more'
pageState
:
'more'
,
});
let
methods
=
{
back
(){
...
...
@@ -97,8 +99,16 @@
delta
:
1
})
},
editRules
(){
//编辑
规则
saveRules
(){
//保存
规则
},
addRules
(){
//添加规则
data
.
show
=
true
refs
.
getrulesPopup
.
$vm
.
showFun
()
},
editRules
(){
//编辑规则
data
.
show
=
true
refs
.
getrulesPopup
.
$vm
.
showFun
()
},
deleteRules
(){
//删除规则
uni
.
showModal
({
...
...
@@ -116,8 +126,11 @@
}
}
});
}
}
,
}
onMounted
(()
=>
{
})
return
{
...
toRefs
(
data
),
...
methods
...
...
@@ -186,6 +199,7 @@
left
:
0
;
right
:
0
;
bottom
:
0
;
z-index
:
1
;
background
:
#FFFFFF
;
box-shadow
:
0
rpx
0
rpx
21
rpx
0
rpx
rgba
(
165
,
165
,
165
,
0.34
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment