Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
蒋勇
zhichan
Commits
3c0637ba
Commit
3c0637ba
authored
Nov 25, 2019
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wts date
parent
f0441e77
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
+11
-1
igirl-web/app/front/entry/public/js/wts.js
+10
-0
igirl-web/app/front/entry/wts.ejs
+1
-1
No files found.
igirl-web/app/front/entry/public/js/wts.js
View file @
3c0637ba
...
...
@@ -7,6 +7,7 @@ var app = new Vue({
mobile
:
""
,
zipCode
:
""
,
agentCompanyname
:
""
,
deledate
:
"2019年11月26号"
}
},
...
...
@@ -37,8 +38,17 @@ var app = new Vue({
console
.
log
(
this
.
agentCompanyname
);
}
}
this
.
deledate
=
this
.
getDate
();
},
methods
:{
getDate
(){
var
d
=
new
Date
();
var
year
=
d
.
getFullYear
();
var
month
=
(
d
.
getMonth
()
+
1
)
>=
10
?
(
d
.
getMonth
()
+
1
)
:
"0"
+
(
d
.
getMonth
()
+
1
);
var
date
=
d
.
getDate
()
>=
10
?
d
.
getDate
()
:
"0"
+
d
.
getDate
();
var
tempDate
=
year
+
"年"
+
month
+
"月"
+
date
+
"日"
;
return
tempDate
;
},
postReq
(
path
,
data
){
return
axios
.
post
(
path
,
data
).
then
(
function
(
r
){
return
r
.
data
?
r
.
data
:
null
;
...
...
igirl-web/app/front/entry/wts.ejs
View file @
3c0637ba
...
...
@@ -188,7 +188,7 @@ li.el-carousel__indicators{
<span
id=
"mailCode"
>
{{zipCode}}
</span>
</span>
</td>
<td
align=
"right"
style=
"font-size:0.8rem;padding-right:30px"
><span
id=
"deledate"
></span></td>
<td
align=
"right"
style=
"font-size:0.8rem;padding-right:30px"
><span
id=
"deledate"
>
{{deledate}}
</span></td>
</tr>
</tbody>
</table>
...
...
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