Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tools
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
tools
Commits
a2b4e007
Commit
a2b4e007
authored
Jan 31, 2023
by
庄欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
f
parent
f98ca8c7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
15 deletions
+6
-15
mp-remark-0130.zip
+0
-0
mp-remark-v4/js/index.js
+2
-1
mp-remark-v4/js/service.js
+4
-10
mp-remark-v4/ui.html
+0
-4
No files found.
mp-remark-0130.zip
deleted
100644 → 0
View file @
f98ca8c7
File deleted
mp-remark-v4/js/index.js
View file @
a2b4e007
...
...
@@ -73,6 +73,7 @@ function init() {
$
(
"textarea.yyRemark"
).
bind
(
"input propertychange"
,
function
()
{
Manager
.
yyRemark
=
this
.
value
;
});
onload
();
openUi
();
});
...
...
@@ -82,6 +83,7 @@ function onload() {
$
(
".showUi"
).
on
(
"click"
,
function
()
{
showUi
();
});
changeTab
(
Manager
.
authType
);
$
(
".show-tab"
).
click
(
function
()
{
changeTab
(
$
(
this
).
data
(
"auth"
));
});
...
...
@@ -118,7 +120,6 @@ function onload() {
var
value
=
$
(
this
).
data
(
"permission"
);
setPermission
(
value
);
});
changeTab
(
Manager
.
authType
);
}
let
urlCircle
=
[];
...
...
mp-remark-v4/js/service.js
View file @
a2b4e007
...
...
@@ -215,7 +215,6 @@ function openUi() {
Manager
.
userYyRemark
=
res2
.
data
.
operate_remark
;
Manager
.
userPermission
=
res2
.
data
.
permission
;
Manager
.
userToken
=
res2
.
data
.
lock_token
Manager
.
authType
=
"now"
;
show
();
}
})
...
...
@@ -313,7 +312,7 @@ function sendAll() { //发送SMS
tid
:
901349
},
(
res
)
=>
{
if
(
res
.
code
===
"100001"
)
{
s
etInfo
(
"发送短信成功"
);
s
howToast
(
"发送短信成功"
);
return
;
}
else
{
showToast
(
"发送短信操作失败:"
+
res
.
message
+
";请联系管理员!"
);
...
...
@@ -326,6 +325,7 @@ function sendAll() { //发送SMS
function
_pushContent
()
{
var
api
=
API
.
pushContact
;
var
content
=
""
;
console
.
log
(
Manager
)
switch
(
Manager
.
authType
)
{
case
"auth"
:
content
=
Manager
.
authContent
;
...
...
@@ -343,7 +343,7 @@ function _pushContent() {
};
sendData
(
api
,
postData
,
(
res
)
=>
{
if
(
res
.
code
===
"100001"
)
{
s
etInfo
(
"发送PUSH成功"
);
s
howToast
(
"发送PUSH成功"
);
return
;
}
else
{
showToast
(
"发送PUSH操作失败:"
+
res
.
message
+
";请联系管理员!"
);
...
...
@@ -388,13 +388,6 @@ function changeTab(type) {
}
}
function
setInfo
(
message
)
{
Manager
.
info
.
push
(
message
);
setTimeout
(
function
()
{
Manager
.
info
=
[];
},
3000
)
}
function
sendPushOnly
()
{
if
(
confirm
(
"确定发送PUSH?"
))
{
_pushContent
();
...
...
@@ -508,5 +501,6 @@ function show() {
$
(
"textarea.remark"
).
text
(
Manager
.
remark
);
$
(
"textarea.yyRemark"
).
text
(
Manager
.
yyRemark
);
$
(
"textarea.userRemark"
).
text
(
Manager
.
userRemark
);
$
(
"textarea.pushContent[name=pushContentPic]"
).
text
(
Manager
.
picContent
);
}
mp-remark-v4/ui.html
View file @
a2b4e007
...
...
@@ -315,10 +315,6 @@
style=
"font-size: 14px;padding: 8px 16px;border-radius: 6px;box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.1);cursor: pointer;"
>
要大图
</div>
<!--<div class="show-tab show-tab-now col-fff wei-500" data-auth='now'
style="font-size: 14px;padding: 8px 16px;border-radius: 6px;box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.1);cursor: pointer;">
要大图
</div>-->
</div>
<div
class=
"allcen"
style=
"margin: 9px auto;"
>
<textarea
cols=
"50"
rows=
"7"
class=
"pushContent"
name=
"pushContentAuth"
id=
"pushContentAuth"
></textarea>
...
...
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