Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
f1dacd08
Commit
f1dacd08
authored
Nov 22, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
4f61a469
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
16 deletions
+24
-16
TravelContractNew.vue
src/components/TravelContractNew.vue
+24
-16
No files found.
src/components/TravelContractNew.vue
View file @
f1dacd08
...
...
@@ -243,7 +243,7 @@
</div>
<el-form
label-width=
"180px"
:model=
"CtObj"
:rules=
"rules"
ref=
"CtObj"
>
<div
class=
"container-fluid"
style=
"padding-top: 60px; padding-left: 220px;"
>
<div
class=
"block mtop15"
id=
"anchor-0"
>
<div
class=
"block mtop15"
id=
"anchor-0"
ref=
"anchor0"
>
<div
class=
"blockTitle"
>
<span
class=
"icon"
>
<i
class=
"iconfont icon-dingdanguanli-"
></i>
...
...
@@ -437,7 +437,7 @@
</tbody>
</table>
</div>
<div
class=
"block mtop15"
id=
"anchor-1"
>
<div
class=
"block mtop15"
id=
"anchor-1"
ref=
"anchor1"
>
<div
class=
"blockTitle"
>
<span
class=
"icon"
>
<i
class=
"iconfont icon-renwuguanli"
></i>
...
...
@@ -790,7 +790,7 @@
</tbody>
</table>
</div>
<div
class=
"block mtop15"
id=
"anchor-2"
>
<div
class=
"block mtop15"
id=
"anchor-2"
ref=
"anchor2"
>
<div
class=
"blockTitle"
>
<span
class=
"icon"
>
<i
class=
"iconfont icon-copy"
></i>
...
...
@@ -802,7 +802,7 @@
<div
style=
"padding:10px;"
>
未尽事宜,经旅游者和出境社双方协商一致,可以列入补充条款。(如合同空间不够,可以另附纸张,由双方签字或者盖章确认。)
</div>
<el-input
type=
"textarea"
resize=
"none"
v-model=
"CtObj.otherMatter"
rows=
"13"
></el-input>
</div>
<div
class=
"block mtop15"
id=
"anchor-3"
>
<div
class=
"block mtop15"
id=
"anchor-3"
ref=
"anchor3"
>
<div
class=
"blockTitle"
>
<span
class=
"icon"
>
<i
class=
"iconfont icon-Shape2"
></i>
...
...
@@ -883,7 +883,7 @@
</tbody>
</table>
</div>
<div
class=
"block mtop15"
id=
"anchor-4"
>
<div
class=
"block mtop15"
id=
"anchor-4"
ref=
"anchor4"
>
<div
class=
"blockTitle"
>
<span
class=
"icon"
>
<i
class=
"iconfont icon-Shape1"
></i>
...
...
@@ -1009,7 +1009,7 @@
</div>
<!-- <el-input type="textarea" rows="26" resize="none" v-model="CtObj.travelContent"></el-input> -->
</div>
<div
class=
"block mtop15"
id=
"anchor-5"
>
<div
class=
"block mtop15"
id=
"anchor-5"
ref=
"anchor5"
>
<div
class=
"blockTitle"
>
<span
class=
"icon"
>
<i
class=
"iconfont icon-people"
></i>
...
...
@@ -1048,7 +1048,7 @@
</table>
</div>
<div
class=
"block mtop15"
id=
"anchor-6"
>
<div
class=
"block mtop15"
id=
"anchor-6"
ref=
"anchor6"
>
<div
class=
"blockTitle"
>
<span
class=
"icon"
>
<i
class=
"iconfont icon-bianji"
></i>
...
...
@@ -1122,7 +1122,7 @@
</tbody>
</table>
</div>
<div
class=
"block mtop15"
id=
"anchor-7"
>
<div
class=
"block mtop15"
id=
"anchor-7"
ref=
"anchor7"
>
<div
class=
"blockTitle"
>
<span
class=
"icon"
>
<i
class=
"iconfont icon-bianji"
></i>
...
...
@@ -1727,14 +1727,22 @@
var
_self
=
this
;
_self
.
scroll
=
(
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
)
+
70
;
//滑动到指定位置相应菜单高亮
var
a_0
=
$
(
"#anchor-0"
).
offset
().
top
;
var
a_1
=
$
(
"#anchor-1"
).
offset
().
top
;
var
a_2
=
$
(
"#anchor-2"
).
offset
().
top
;
var
a_3
=
$
(
"#anchor-3"
).
offset
().
top
;
var
a_4
=
$
(
"#anchor-4"
).
offset
().
top
;
var
a_5
=
$
(
"#anchor-5"
).
offset
().
top
;
var
a_6
=
$
(
"#anchor-6"
).
offset
().
top
;
var
a_7
=
$
(
"#anchor-7"
).
offset
().
top
;
var
a_0
=
this
.
$refs
.
anchor0
.
offsetTop
;
var
a_1
=
this
.
$refs
.
anchor1
.
offsetTop
;
var
a_2
=
this
.
$refs
.
anchor2
.
offsetTop
;
var
a_3
=
this
.
$refs
.
anchor3
.
offsetTop
;
var
a_4
=
this
.
$refs
.
anchor4
.
offsetTop
;
var
a_5
=
this
.
$refs
.
anchor5
.
offsetTop
;
var
a_6
=
this
.
$refs
.
anchor6
.
offsetTop
;
var
a_7
=
this
.
$refs
.
anchor7
.
offsetTop
;
// var a_0 = $("#anchor-0").offset().top;
// var a_1 = $("#anchor-1").offset().top;
// var a_2 = $("#anchor-2").offset().top;
// var a_3 = $("#anchor-3").offset().top;
// var a_4 = $("#anchor-4").offset().top;
// var a_5 = $("#anchor-5").offset().top;
// var a_6 = $("#anchor-6").offset().top;
// var a_7 = $("#anchor-7").offset().top;
if
(
_self
.
scroll
<
a_0
)
{
this
.
ckedIndex
=
0
}
else
if
(
_self
.
scroll
>
a_0
&&
_self
.
scroll
<
a_1
)
{
...
...
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