ee93f7e9 by 任超

feat:预约设置选择区域模块的开发

1 parent 789d40ce
1 /* ------------------------公共头部和尾部css------------------------------------ */ 1 /* ------------------------公共头部和尾部css------------------------------------ */
2 /* layer confim */
3 .layui-layer-btn .layui-layer-btn0 {
4 background-color: #fff!important;
5 color: #333!important;
6 border: 1px solid #dedede!important;
7 }
8 .layui-layer-btn .layui-layer-btn1 {
9 border-color: #1E9FFF;
10 background-color: #1E9FFF;
11 color: #fff;
12 }
2 /* ----------------------公共样式-------------------------- */ 13 /* ----------------------公共样式-------------------------- */
3 .contentBox { 14 .contentBox {
4 width: 1200px; 15 width: 1200px;
......
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3 <svg xmlns="http://www.w3.org/2000/svg">
4 <metadata>
5 Created by FontForge 20120731 at Fri May 26 15:06:31 2017
6 By admin
7 </metadata>
8 <defs>
9 <font id="iconfont" horiz-adv-x="1024" >
10 <font-face
11 font-family="iconfont"
12 font-weight="500"
13 font-stretch="normal"
14 units-per-em="1024"
15 panose-1="2 0 6 3 0 0 0 0 0 0"
16 ascent="896"
17 descent="-128"
18 x-height="792"
19 bbox="0 -212 1024 896"
20 underline-thickness="0"
21 underline-position="0"
22 unicode-range="U+0078-E78F"
23 />
24 <missing-glyph
25 />
26 <glyph glyph-name=".notdef"
27 />
28 <glyph glyph-name=".notdef"
29 />
30 <glyph glyph-name=".null" horiz-adv-x="0"
31 />
32 <glyph glyph-name="nonmarkingreturn" horiz-adv-x="341"
33 />
34 <glyph glyph-name="x" unicode="x" horiz-adv-x="1001"
35 d="M281 543q-27 -1 -53 -1h-83q-18 0 -36.5 -6t-32.5 -18.5t-23 -32t-9 -45.5v-76h912v41q0 16 -0.5 30t-0.5 18q0 13 -5 29t-17 29.5t-31.5 22.5t-49.5 9h-133v-97h-438v97zM955 310v-52q0 -23 0.5 -52t0.5 -58t-10.5 -47.5t-26 -30t-33 -16t-31.5 -4.5q-14 -1 -29.5 -0.5
36 t-29.5 0.5h-32l-45 128h-439l-44 -128h-29h-34q-20 0 -45 1q-25 0 -41 9.5t-25.5 23t-13.5 29.5t-4 30v167h911zM163 247q-12 0 -21 -8.5t-9 -21.5t9 -21.5t21 -8.5q13 0 22 8.5t9 21.5t-9 21.5t-22 8.5zM316 123q-8 -26 -14 -48q-5 -19 -10.5 -37t-7.5 -25t-3 -15t1 -14.5
37 t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-5 19 -11 39h-368zM336 498v228q0 11 2.5 23t10 21.5t20.5 15.5t34 6h188q31 0 51.5 -14.5t20.5 -52.5v-227h-327z" />
38 <glyph glyph-name="dian" unicode="&#xe600;"
39 d="M415 397h192v-192h-192v192z" />
40 <glyph glyph-name="qq" unicode="&#xe606;"
41 d="M139 233q-24 -59 -27.5 -108t15.5 -60q13 -7 32.5 7.5t38.5 45.5q16 -66 72 -116q-29 -11 -45.5 -28.5t-16.5 -37.5q0 -34 43.5 -57.5t105.5 -23.5q56 0 97.5 19.5t50.5 48.5h18q8 -29 50 -48.5t98 -19.5q62 0 105.5 23.5t43.5 57.5q0 20 -16.5 37.5t-45.5 28.5
42 q56 50 71 116q20 -31 39 -45.5t32 -7.5q19 11 16 60t-27 108q-19 46 -42 78t-43 40q1 7 1 12q0 35 -17 64v4q0 16 -7 30q-5 125 -77.5 207t-190 82t-189.5 -82t-77 -207q-7 -14 -7 -30v-4q-17 -29 -17 -64q0 -5 1 -12q-20 -8 -43.5 -40t-41.5 -78z" />
43 <glyph glyph-name="weixin" unicode="&#xe66f;"
44 d="M659 519q13 0 29 -2q-19 90 -104.5 149t-194.5 59q-123 0 -209.5 -73t-86.5 -178q0 -118 118 -200l-29 -89l103 51q75 -14 104 -14q13 0 28 1q-9 31 -9 62q0 97 73 165.5t178 68.5zM500 599q17 0 27 -10t10 -26.5t-10 -27t-27 -10.5t-30.5 10.5t-13.5 27t13.5 26.5
45 t30.5 10zM293 525q-18 0 -31.5 10.5t-13.5 27t13.5 26.5t31.5 10q17 0 27 -10t10 -26.5t-10 -27t-27 -10.5zM930 288q0 88 -75.5 151.5t-176.5 63.5q-105 0 -178.5 -63t-73.5 -152t73.5 -151.5t178.5 -62.5q30 0 89 14l81 -44l-22 74q104 78 104 170zM596 325q-11 0 -20 9.5
46 t-9 20.5t9 20.5t20 9.5q17 0 27 -9t10 -21t-10 -21t-27 -9zM759 325q-11 0 -20 9.5t-9 20.5t9 20.5t20 9.5q16 0 26.5 -9t10.5 -21t-10.5 -21t-26.5 -9z" />
47 <glyph glyph-name="xihebiaozhunyuanjian439" unicode="&#xe601;" horiz-adv-x="1025"
48 d="M669 465v4v3v4v4v3l-1 4v7v6v19h3l3 -1h3l2 -1h3l3 -1l3 -1l3 -1h3l3 -1l3 -1l1 -1l1 -1h2l1 -1l2 -1h1l1 -1h1l2 -1l1 -1l1 -1h2v-1l2 -1l1 -1l1 -1l2 -1l1 -2h1l1 -1l1 -2l1 -1h1l1 -1v-1l1 -2l1 -1l1 -1v-1l1 -1v-1l1 -2v-2v0l1 -2v-2l1 -1v-1v-2v-3l13 -2l11 -1
49 l10 -1l8 -1h9l9 -1l22 -2h36h5h9l5 -1h9l11 -1h11l11 1l8 1h4h4h4l4 1h3h4h4l5 1h10h12l-1 9l-1 9l-1 8l-1 3v4l-1 3v3l-1 3v4l-1 3l-1 2l-1 3v3l-1 3l-1 3v2l-1 4l-1 2l-1 3l-1 3l-1 3l-1 3l-2 3l-1 4l-2 3l-1 4l-2 3l-3 9l-3 3l-3 3l-3 3l-3 3l-2 3l-3 3l-3 2l-2 3l-3 2
50 l-2 2l-2 2l-3 2l-2 1l-5 4l-2 1l-3 2l-2 1l-3 1l-2 2l-2 1l-6 2l-2 1l-3 1l-3 1l-3 1l-3 1l-3 1l-4 1l-7 3l-8 2l-7 2l-8 2l-7 2l-6 1l-6 2l-5 1l-6 2l-6 1l-6 1l-5 1l-6 2l-7 1l-6 1l-7 1l-8 2l-12 2l-10 1l-11 2l-10 1l-22 3l-10 1l-11 1l-11 1l-11 1l-11 1l-11 1l-11 1
51 l-10 1h-12l-11 1l-11 1h-11h-11l-11 1h-11h-55h-6h-5l-5 -1h-6h-5h-6h-5l-5 -1h-6l-5 -1h-5h-6l-5 -1h-5l-15 -2l-5 -1h-7h-5l-6 -1l-5 -1l-18 -1l-5 -1h-5l-6 -1l-5 -1l-5 -1h-6l-10 -2l-20 -3l-10 -1l-9 -2l-19 -3l-18 -3l-5 -1l-5 -1l-5 -1l-5 -1l-5 -1l-5 -1l-5 -2
52 l-5 -1l-5 -1l-5 -2h-2l-3 -1l-2 -1h-3l-2 -1l-2 -1l-3 -1l-2 -1l-3 -1l-2 -1h-2l-2 -1l-3 -1l-2 -1l-2 -2l-2 -1l-3 -1l-4 -2l-2 -1l-3 -2l-2 -1l-2 -1l-2 -2l-2 -1l-2 -2l-2 -1l-3 -2l-1 -1l-2 -2l-3 -2l-2 -1l-2 -2l-2 -2l-2 -2l-1 -1l-2 -2l-3 -2l-1 -3l-2 -2l-2 -2
53 l-2 -2l-2 -2l-1 -2l-4 -9l-2 -3l-2 -4l-1 -3l-2 -3l-1 -3l-2 -3l-1 -3l-1 -3l-1 -3l-1 -3l-1 -3l-1 -3l-1 -3l-1 -3v-3v-2l-1 -3l-1 -3v-3v-3l-1 -3l-1 -3v-3v-3v-6l-1 -7l-1 -7l-1 -8h16h5h5l4 -1h5h4l5 -1h4h5l4 -1l8 -1h7h5h5h4h5l11 1l11 1h6h6h5h22h3h2h5l5 1h6l5 1
54 l10 1l10 1l11 1h5l5 1l6 1h5l5 1h6v2v1v2l1 2v1v1l1 2v1l1 2v1l1 1l1 1v2v1l1 1l1 1v1l1 1l1 1l1 2h1v1l1 1l1 1l1 1l1 1l1 1l1 1h1l1 1l1 1l1 1h1l1 1h2l1 1l1 1h2l1 1h1l1 1h2l2 1l3 1l3 1l3 1l3 1h3l3 1h3l3 1h3l3 1v-54l-64 -74l-94 -241v-8v-8l1 -13v-6v-5l1 -5v-3v-3
55 v-2v-2l1 -2v-2v-3l1 -2v-2l1 -2v-3l1 -2v-3l1 -2v-2l1 -3l1 -3l1 -3l8 -4h5h1h3h2l3 -1h2h1l2 -1h551l6 1h4h3l3 1h2h6h4l2 3l1 2l1 3l1 2l1 3l1 2v2l1 3l1 2l1 2v3l1 2v2v3l1 2v3v2l1 3v2v3v6l1 6l1 8v7l1 8v4v5l-94 241l-65 74v0zM512 167q-48 0 -81.5 34t-33.5 81.5
56 t33.5 81.5t81.5 34t81.5 -34t33.5 -81.5t-33.5 -81.5t-81.5 -34zM633 519l-3 -6l-3 -6l-3 -7l-2 -3l-1 -3l-1 -4l-1 -3l-2 -3l-1 -3l-1 -3l-1 -3l-7 1h-7l-7 1h-6l-7 1h-6h-7l-6 1h-7h-6h-7h-12l-7 1h-25l-6 -1h-13h-6h-6h-7l-6 -1h-6h-7l-6 -1h-6l-7 -1h-6l-6 -1l-4 7l-2 3
57 l-1 3l-2 4l-2 2l-2 4l-1 3l-1 3l-3 6l-1 3l-2 3l-1 3l-1 3l-1 3l4 1l4 1l4 1l4 1l4 1l4 1l4 1l4 1h4l4 1l4 1h4l4 1h4l4 1l4 1h4l3 1l4 1h4h4l4 1h4h4l4 1h4h3h4h4h28h3h4h4h4l4 -1h4h4l8 -1h3l4 -1l4 -1h4l4 -1l4 -1h4l3 -1h4l4 -1l4 -1l4 -1l4 -1l4 -1l4 -1l4 -1l4 -1
58 l4 -1l4 -1zM963 437h-10h-8h-4h-7l-4 -1h-3h-4h-4l-4 -1h-4l-4 -1h-6h-5h-9l-5 1h-4h-9h-8l-4 1h-10h-6h-13h-7l-6 1h-6h-5l-10 1l-4 1h-4l-4 1h-5l-8 2l-10 1l-11 1l1 -4l1 -4l1 -4l1 -4l1 -4l1 -1l1 -2v-1l1 -2v-1l1 -2v-1l1 -1v-1l1 -2l1 -1v-1l1 -1l1 -1v-1l1 -1l1 -1
59 v-1l1 -1l1 -1h1l1 -1v-1h1l1 -1l1 -1l1 -1v0l2 -1h1l1 -1h1l1 -1h1l1 -1h1l1 -1h1l3 -1l3 -1l3 -1h3l3 -1l3 -1l4 -1h3l7 -1h7l6 -1l6 -1h6h4h6h5l5 -1h5h6h38l4 1h4h4l4 1l3 1h4l3 1h1l2 1h1l2 1h1h2l1 1h1l1 1h2l1 1v0l2 1h1l1 1l1 1h1l1 1l1 1l1 1v0l1 1l1 1l1 1l1 1v1
60 l1 1v1l1 1l1 1l1 2v1v1l1 2l1 1v2v1l1 1l1 2v1v2l1 2v2l1 1v4l1 4l1 5h-6zM206 382l6 1l5 1h3l3 1l2 1h3l3 1l3 1h2l2 1h1l1 1h1l2 1h1l1 1l1 1h1l2 1l2 1l1 1l1 1l1 1h1l2 1l1 1l1 1l1 1l1 1l1 1v1l1 2l1 1l1 1l1 1l1 2l1 1l1 1v2l1 1l1 2l1 2v1l1 2v2l1 2v2l1 2l1 2v2v8
61 h-2h-3l-5 -1h-5l-5 -1l-5 -1h-5l-10 -2l-4 -1h-5l-4 -1h-5h-2h-3l-2 -1h-2h-2h-10h-3h-9l-3 1l-3 -1h-15h-6h-5l-6 -1h-5h-10l-4 -1h-7h-4h-1l-2 1h-1h-2l-2 1h-2h-4l-3 1h-4h-4h-5l-4 1h-33l-1 -2v-11l1 -2v-1v-2v-2l1 -1v-1v-1l1 -2v-1l1 -1v-2l1 -1v-1l1 -1l1 -2v-1l1 -1
62 l1 -1l1 -1l1 -1v-1h1l1 -2h1l1 -1l1 -1l1 -1h1l1 -1l1 -1l2 -1l1 -1h1l1 -1h1l2 -1h1l1 -1h2l1 -1l3 -1h1h2l1 -1h1h2h1l2 -1h3h1h7l7 -1h7h7h7h7h37h6h6h5h6z" />
63 <glyph glyph-name="houdongfangiconfont03" unicode="&#xe634;"
64 d="M996 -48q28 -28 28 -68t-28 -68t-68 -28t-68 28v0l-281 281q-91 -53 -195 -53q-159 0 -271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5q0 -104 -53 -195l281 -281v0zM384 716q-119 0 -203.5 -84.5t-84.5 -203.5t84.5 -203.5t203.5 -84.5
65 t203.5 84.5t84.5 203.5t-84.5 203.5t-203.5 84.5z" />
66 <glyph glyph-name="phone-line" unicode="&#xe6ed;"
67 d="M811 250q6 -4 11 -8q22 -19 32 -30v0v0v0v0q2 -2 3.5 -4t2.5 -3t1 -2l2 -2l4 -7v-1q12 -23 -3 -55q-13 -29 -44 -57q-62 -58 -119 -58q-8 0 -16 1q-57 7 -153 60q-102 57 -179 130t-137 170q-56 91 -64 146q-5 35 17 74q19 34 53 63q1 1 4 3q33 27 58 36q13 6 25 6t23 -5
68 v0q4 -1 10 -5q27 -13 54 -49q18 -24 31 -46q16 -28 27 -52v-1l2 -6q11 -27 -10 -48q-1 0 -2 -1v0l-1 -1l-1 -1q0 -1 -2 -2q-3 -2 -4 -3v0q-9 -6 -15 -9l-10 -6v0q-8 -5 -25 -12q-14 -6 -24 -10q-8 -4 -11 -15.5t0 -15.5q24 -53 95 -120q49 -46 121 -87q6 -4 13 -4
69 q19 0 30 20q4 7 11 22q6 11 9 16v0q7 13 13 22q4 6 6 8q9 13 24 18q7 2 17 2q12 0 21 -4l15 -8v0l4 -2q4 -2 8 -5q12 -7 25 -16q3 -2 5 -4zM672 280q-4 -6 -15 -25l-7 -14q-8 -15 -12 -24q-9 -14 -24.5 -24.5t-33.5 -10.5q-15 0 -29 8q-75 42 -127 91q-75 72 -101 130
70 q-8 17 -2 37q6 25 28 35q10 5 25 12q14 5 21 9q5 3 10.5 6t12.5 8l1 1q3 2 3.5 3t1.5 1v0q6 6 3 14v1l-2 5q-11 23 -25 48q-12 20 -29 43q-22 29 -42 40h-1q-6 3 -9 4q-5 2 -10 2q-6 0 -13 -3h-1q-20 -8 -49 -31q-2 -2 -4 -3q-30 -25 -46 -54.5t-13 -53.5q7 -49 60 -134
71 q58 -94 132 -164t172 -125q91 -50 142 -57q6 -1 12 -1q44 0 98 50q26 24 37 47q9 20 3 29l-3 4v0l-1 1q-2 2 -5 7q-9 9 -29 25q-30 26 -56 43q-20 13 -33 21l-15 8q-3 1 -7 1t-7 -1q-6 -2 -8 -6z" />
72 <glyph glyph-name="cha" unicode="&#xe607;"
73 d="M793 513l-56 56l-225 -225l-225 225l-56 -56l225 -225l-225 -225l56 -56l225 225l225 -225l56 56l-225 225z" />
74 <glyph glyph-name="kefulianxi" unicode="&#xe605;"
75 d="M879 399q-22 8 -47 10v51q0 129 -91.5 220.5t-220.5 91.5t-221 -91.5t-92 -220.5v-51q-26 -2 -47 -10q-58 -21 -93.5 -71t-35.5 -111t35.5 -111t93.5 -70q32 -12 64 -12h59q7 0 12.5 5t5.5 12v352q0 7 -5.5 12.5t-12.5 5.5h-40v49q0 115 81 196t195.5 81t196 -81
76 t81.5 -196v-49h-41q-7 0 -12.5 -5.5t-5.5 -12.5v-352q0 -7 5.5 -12t12.5 -5h41v-50v0q0 -17 -12 -29t-29 -12v0h-105q-5 23 -19 36q-22 23 -53.5 23t-54 -22.5t-22.5 -54.5q0 -7 5 -12t12 -5h118h119v0q32 0 54 22t22 54v0v51q25 3 47 10q58 21 93.5 71t35.5 111
77 t-35.5 111.5t-93.5 70.5v0z" />
78 <glyph glyph-name="xinlang" unicode="&#xe644;"
79 d="M654 719q-19 -9 -23 -26.5t10 -32.5q7 -7 17.5 -9t39.5 -2q77 0 117 -46q25 -28 31 -47t6 -71q0 -46 2 -55.5t12 -15.5q25 -14 41 3t22 63q7 60 -24.5 122t-85.5 94q-35 21 -86 27.5t-79 -4.5v0v0v0zM385 617q-91 -33 -185 -133q-113 -120 -106 -226t132 -167
80 q129 -64 282.5 -45.5t248.5 109.5q47 44 60.5 93t-9 89t-75.5 59q-15 5 -20 9t-3 9q17 41 8 68q-13 39 -57.5 48t-113.5 -15l-37 -12l3 36q6 62 -31 80q-16 9 -43.5 8t-53.5 -10v0v0v0zM537 404q61 -16 96.5 -51t35.5 -79q0 -49 -41 -90.5t-112 -64.5q-38 -13 -97 -15t-93 8
81 q-66 18 -101.5 53t-35.5 81q0 50 48 94q22 22 43 34t54 23q104 35 203 7v0v0zM364 351q-85 -39 -85 -114q0 -66 63 -99q26 -14 65 -13t67 16q36 19 57.5 51t21.5 66q0 28 -21.5 57t-50.5 41q-23 9 -57.5 8t-59.5 -13v0v0v0zM404 248q7 -6 7 -21q0 -21 -25.5 -33t-39.5 1
82 q-8 8 -6.5 24t11 25t27.5 10.5t26 -6.5v0v0zM664 606q-19 -19 -9 -37t40 -18q26 0 38 -14t12 -43q0 -19 2.5 -26.5t9.5 -12.5q23 -15 38.5 0t15.5 51q0 45 -29 75.5t-75 33.5q-20 2 -28 0.5t-15 -9.5v0v0v0zM664 606z" />
83 <glyph glyph-name="mima" unicode="&#xe680;"
84 d="M721 490v57q-1 86 -63.5 147t-149.5 61t-149 -61t-63 -148v-56q-40 -4 -67.5 -33.5t-27.5 -69.5v-271q0 -42 30.5 -72.5t72.5 -30.5h412q43 0 73 30.5t30 72.5v271q0 41 -28.5 71t-69.5 32v0zM332 546q0 69 52.5 120t122.5 51t123.5 -51t54.5 -119v-56h-353v55zM787 116
85 q0 -25 -22.5 -47t-48.5 -22h-412q-25 0 -47.5 22t-22.5 47v271q0 26 19 49t43 23h412q26 0 52.5 -23.5t26.5 -48.5v-271v0zM787 116zM508 385q-35 0 -60 -24.5t-25 -59.5q0 -42 34 -67v-86q0 -8 6 -14t15 -6h61q9 0 15 6t6 14v86q34 25 34 67q0 35 -25 59.5t-61 24.5v0z
86 M540 257q-13 -7 -13 -21v-79h-35v79q0 14 -13 21q-23 13 -23 46q0 22 15.5 37t37.5 15t37.5 -15t15.5 -37q0 -33 -22 -46v0z" />
87 <glyph glyph-name="ananzuiconv265-copy" unicode="&#xe604;"
88 d="M888 156l-378 376l-376 -373q-11 -12 -28 -12t-29 12t-12 28.5t12 28.5l395 392q11 12 27 12q26 13 47 -8l401 -398q12 -12 12 -29t-12 -29t-29 -12t-30 12z" />
89 <glyph glyph-name="dizhi" unicode="&#xe617;"
90 d="M512 759q-109 0 -185.5 -77t-76.5 -185q0 -56 27 -126.5t65.5 -131.5t77 -114.5t65.5 -84.5l27 -31q11 12 28.5 32.5t63 81.5t80 117.5t62.5 128.5t28 128q0 108 -76.5 185t-185.5 77zM512 403q-39 0 -66.5 27.5t-27.5 66t27.5 66t66.5 27.5t66.5 -27.5t27.5 -66
91 t-27.5 -66t-66.5 -27.5z" />
92 <glyph glyph-name="caidan" unicode="&#xe68b;"
93 d="M63 768h896v-127h-896v127zM63 449h896v-128h-896v128zM63 130h896v-128h-896v128z" />
94 <glyph glyph-name="youjiantou" unicode="&#xe625;"
95 d="M780 425l-453 454q-17 17 -41.5 17t-41.5 -17t-17 -41.5t17 -41.5l412 -412l-412 -412q-17 -17 -17 -41.5t17 -41.5t41.5 -17t41.5 17l453 454q17 17 17 41t-17 41z" />
96 <glyph glyph-name="search" unicode="&#xe6e7;"
97 d="M924 52l-164 164q72 100 72 222q0 105 -51.5 193.5t-140 139.5t-192.5 51t-192.5 -51t-140 -139.5t-51.5 -193t51.5 -193t140 -140t192.5 -51.5q122 0 222 71l164 -164q9 -9 25 -10.5t26 8.5l45 45q9 10 6.5 24t-12.5 24zM128 438.5q0 86.5 43 160.5t116.5 116.5
98 t160.5 42.5t160.5 -42.5t116.5 -116.5t43 -160.5t-43 -160.5t-116.5 -117t-160.5 -43t-160.5 43t-116.5 117t-43 160.5z" />
99 <glyph glyph-name="youku1193430easyiconnet" unicode="&#xe6c9;"
100 d="M86 679q-17 -6 -18 -21q-1 -9 4 -19.5t34 -60.5q36 -62 36 -63t-14 -32t-15 -38q-7 -25 19 -33q17 -5 28 11q3 5 51 111t50 112q2 8 0 16q-3 11 -16 15q-25 10 -36 -14q-5 -11 -21 -47q-17 -38 -17.5 -38t-26.5 44q-25 44 -31 50q-12 13 -27 7v0zM327 678q-35 -8 -57 -39
101 q-20 -30 -17 -68.5t28 -63.5t65 -25q41 1 66 27q19 20 24 51q4 26 -2 47q-7 26 -24 44t-41 25q-21 6 -42 2zM360 630q19 -9 26 -35q6 -23 -5 -44q-10 -20 -28 -24.5t-33 9.5q-17 15 -17.5 41.5t15.5 42.5q19 21 42 10zM458 672q-9 -3 -12 -14q-2 -6 -2 -61.5t2 -63.5
102 q2 -9 5 -15q7 -15 22 -24q36 -22 86 -9q38 10 48 46q3 8 3 65.5t-2 62.5q-5 9 -15 12q-19 6 -27 -10q-4 -7 -5 -63v-54l-3 -5q-5 -11 -16 -17q-6 -3 -15 -3t-16 3q-10 5 -16 17l-2 5l-1 55v55l-3 6q-6 12 -20 12q-8 1 -11 0v0zM805 671q-8 -3 -12 -12l-2 -5v-57q0 -58 2 -66
103 q14 -49 80 -49q31 -1 51 10q5 3 13 10q12 12 17 31q3 8 3 64v56l-3 5q-5 13 -18 14q-12 2 -20 -6q-5 -6 -6 -13.5t-2 -53.5v-55l-3 -5q-5 -12 -17 -17q-5 -3 -14.5 -3t-15.5 3q-11 5 -16 16l-2 5l-1 55q0 44 -1 52t-5 14q-6 9 -18 9q-7 -1 -10 -2v0zM634 670q-8 -3 -12 -10
104 q-2 -5 -3 -42q-1 -35 -1 -78l1 -41l3 -6q3 -6 8 -8.5t15 -2.5t14 2q8 4 9.5 11.5t1.5 34.5q0 29 0.5 29t38 -35t42.5 -37q11 -6 23 -2q15 6 14 24q-1 10 -5.5 16t-27.5 27q-27 25 -27 26t18 17q31 30 34 37q3 6 4 11q2 18 -15 26q-6 3 -12 2.5t-10.5 -2.5t-40.5 -39l-36 -36
105 v27q0 27 -1 33q-2 10 -11 15q-12 6 -24 1v0zM265 363q-22 -68 -64 -127q-8 -12 -6 -13t14 -12q11 -11 13 -9q4 6 9 14l9 11v-69v-70h36v10l1 10l13 -11l14 -10l6 7q49 54 66 110q6 23 9 47q2 13 2.5 15t3.5 2h3v-72q0 -71 1 -77q4 -21 21 -27q7 -2 32 -2t31 2q19 7 24 29
106 q2 6 4.5 26t1.5 21q0 1 -17 5.5t-17.5 3t-1.5 -10.5q-3 -33 -6 -39q-3 -7 -17 -8t-18 7q-2 3 -2 72v70h70v31h-112v77l-18 -1h-18l-1 -38v-38l-31 -1h-30l-1 -15v-15h61v-4q0 -24 -10 -56q-15 -47 -56 -87l-8 -8v175l6 12q7 17 14.5 39t6.5 24q-1 0 -17 6.5t-17 6.5z
107 M752 353v-21h-11q-12 0 -12 1q0 2 1.5 12t1.5 13v3l-9 1q-2 0 -8 0.5t-8 0.5l-6 1l-1 -9q-2 -23 -10 -60q-4 -16 -4 -17.5t14.5 -4l14.5 -2.5q0 1 4 16l4 16l14 -1h15v-20v-20h-61v-15l1 -15h74h74v30h-54v41h45v14v14h-22l-23 1v43h-34v-22v0zM426 362q-10 -12 -9 -13
108 q4 -3 10 -8q5 -4 26 -22l18 -15l7 9q16 16 15 17q-1 2 -28 22.5t-29 20.5q-1 0 -10 -11v0zM530 353v-15h46v-32h-46v-100q1 -81 1.5 -92.5t5.5 -16.5q5 -6 18 -7.5t57 -0.5q39 0 47.5 1.5t14 7t6.5 17t1 92.5v99h-21h-22l-1 16v16h44v31h-151v-16zM611 322v-16h-9v32h9v-16z
109 M576 269q0 -16 -4 -33.5t-9 -24.5l-2 15v16v34h15v-7v0zM611 249l1 -27l3 -7q7 -14 26 -17l8 -1v-17h-88v25l11 -7q9 -5 11 -4.5t5 7.5q14 28 14 67v8h9v-27zM649 248v-28l-3 1q-6 1 -7.5 7.5t-1.5 27.5v20h12v-28zM649 139q0 -13 -1 -16q-2 -4 -8 -4.5t-35 -0.5
110 q-35 0 -38 2q-6 3 -6 20v12h88v-13zM701 162q0 -53 1 -57q4 -10 17 -14q7 -2 48 -2t48 2t11 6q5 5 6 13t1 52v53h-133l1 -53v0zM798 156q0 -24 -1 -29.5t-6 -7.5q-3 -1 -24 -1t-25 1q-5 2 -6 7.5t-1 29.5v30h63v-30v0z" />
111 <glyph glyph-name="shuangjiantou-copy" unicode="&#xe696;"
112 d="M544 664l-33 -34l230 -230l-230 -230l33 -33l264 263zM280 664l-34 -34l230 -230l-230 -230l34 -33l263 263z" />
113 <glyph glyph-name="gouxuanzhong" unicode="&#xe693;"
114 d="M689 474l-213 -231q-3 -5 -9 -5t-9 5l-29 29l-94 101q-5 11 0 22l29 29q3 5 9 5t9 -5l83 -90l177 191q3 5 9 5t9 -5l29 -29q5 -11 0 -22v0z" />
115 <glyph glyph-name="shuxian" unicode="&#xe603;"
116 d="M495 735h35v-702h-35v702z" />
117 <glyph glyph-name="youxiang" unicode="&#xe681;"
118 d="M864 690h-703q-27 0 -45.5 -18.5t-18.5 -44.5v-441q0 -26 18.5 -44.5t45.5 -18.5h703q26 0 45 18.5t19 44.5v441q0 26 -19 44.5t-45 18.5zM642 400q100 93 256 239q2 -6 2 -12v-441v-7zM864 663q9 0 17 -4q-228 -212 -299 -277q-35 -32 -71 -31q-33 2 -61 30h-1l-307 277
119 q9 5 18 5h704zM125 176q-1 5 -1 10v441q0 5 1 10l263 -236zM161 150q-10 0 -19 5l266 227l22 -20q33 -35 79 -38h6q44 0 86 38q13 12 21 20l263 -226q-10 -6 -21 -6h-703v0z" />
120 <glyph glyph-name="youxiang1" unicode="&#xe691;"
121 d="M550 263l-27 -27l-26 27l-88 88l-254 -255h737l-254 255zM123 637v-498l249 249zM924 139v498l-249 -249zM523 311l401 401h-800z" />
122 <glyph glyph-name="chuanzhen" unicode="&#xe602;"
123 d="M338 436h302q13 0 23 9.5t10 23.5v200q0 13 -9.5 23t-23.5 10h-289q-18 0 -30.5 -12.5t-12.5 -30.5v-193q0 -13 8.5 -21.5t21.5 -8.5zM783 569h-26q-17 0 -28 -10.5t-11 -32.5v-79q0 -18 -12.5 -30t-30.5 -12h-361q-18 0 -30 12t-12 30v79q0 43 -40 43h-27
124 q-24 0 -40.5 -16.5t-16.5 -40.5v-353q0 -23 16.5 -40t40.5 -17h41q26 0 26 29v28q0 18 12 30.5t30 12.5h359q18 0 30.5 -12.5t12.5 -30.5v-33q0 -24 22 -24h43q24 0 40.5 17t16.5 40v353q1 24 -15.5 40.5t-39.5 16.5zM338 436h302q13 0 23 9.5t10 23.5v200q0 13 -9.5 23
125 t-23.5 10h-289q-18 0 -30.5 -12.5t-12.5 -30.5v-193q0 -13 8.5 -21.5t21.5 -8.5zM333 50h313q12 0 20.5 8.5t8.5 20.5v60q0 9 -7 16.5t-17 7.5h-316q-11 0 -19 -8t-8 -19v-60q0 -10 7.5 -18t17.5 -8z" />
126 <glyph glyph-name="youjiantou-copy" unicode="&#xe78e;"
127 d="M244 343l453 -454q17 -17 41.5 -17t41.5 17t17 41.5t-17 41.5l-412 412l412 412q17 17 17 41.5t-17 41.5t-41.5 17t-41.5 -17l-453 -454q-17 -17 -17 -41t17 -41z" />
128 <glyph glyph-name="ananzuiconv265-copy-copy" unicode="&#xe78f;"
129 d="M136 612l378 -376l376 373q11 12 28 12t29 -12t12 -28.5t-12 -28.5l-395 -392q-11 -12 -27 -12q-26 -13 -47 8l-401 398q-12 12 -12 29t12 29t29 12t30 -12z" />
130 </font>
131 </defs></svg>
No preview for this file type
No preview for this file type
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
68 <ul class="banner_title"> 68 <ul class="banner_title">
69 <li><a href="">查询档案</a></li> 69 <li><a href="">查询档案</a></li>
70 <li><a href="">进度查询</a></li> 70 <li><a href="">进度查询</a></li>
71 <li><a href="">在线预约</a></li> 71 <li><a href="./staticViews/yyxz/index.html">在线预约</a></li>
72 <li><a>网上预审</a></li> 72 <li><a>网上预审</a></li>
73 </ul> 73 </ul>
74 </div> 74 </div>
......
No preview for this file type
1 {"version":3,"sources":["main.js"],"names":["e","t","n","r","s","o","u","a","require","i","Error","f","exports","call","length","1","module","./global","2","global","$","window","this","self"],"mappings":"CAAA,QAAAA,GAAAC,EAAAC,EAAAC,GAAA,QAAAC,GAAAC,EAAAC,GAAA,IAAAJ,EAAAG,GAAA,CAAA,IAAAJ,EAAAI,GAAA,CAAA,GAAAE,GAAA,kBAAAC,UAAAA,OAAA,KAAAF,GAAAC,EAAA,MAAAA,GAAAF,GAAA,EAAA,IAAAI,EAAA,MAAAA,GAAAJ,GAAA,EAAA,MAAA,IAAAK,OAAA,uBAAAL,EAAA,KAAA,GAAAM,GAAAT,EAAAG,IAAAO,WAAAX,GAAAI,GAAA,GAAAQ,KAAAF,EAAAC,QAAA,SAAAZ,GAAA,GAAAE,GAAAD,EAAAI,GAAA,GAAAL,EAAA,OAAAI,GAAAF,EAAAA,EAAAF,IAAAW,EAAAA,EAAAC,QAAAZ,EAAAC,EAAAC,EAAAC,GAAA,MAAAD,GAAAG,GAAAO,QAAA,IAAA,GAAAH,GAAA,kBAAAD,UAAAA,QAAAH,EAAA,EAAAA,EAAAF,EAAAW,OAAAT,IAAAD,EAAAD,EAAAE,GAAA,OAAAD,KAAAW,GAAA,SAAAP,EAAAQ,EAAAJ,GACA,YACAJ,GAAA,cAGAS,WAAA,IAAAC,GAAA,SAAAV,EAAAQ,EAAAJ,IACA,SAAAO,GACA,YACA,IAAAC,GAAA,mBAAAC,QAAAA,OAAA,OAAA,mBAAAF,GAAAA,EAAA,OAAA,IACAC,GAAA,gBAGAP,KAAAS,KAAA,mBAAAC,MAAAA,KAAA,mBAAAF,QAAAA,qBACA","file":"main.min.js","sourcesContent":["'use strict';\nrequire('./global');\n\n"]}
...\ No newline at end of file ...\ No newline at end of file
1 layui.use('element', function () {
2 let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块
3 //监听导航点击
4 element.on('nav(demo)', function (elem) {
5 //console.log(elem)
6 layer.msg(elem.text());
7 });
8 });
9 //config的设置是全局的
10 layui.config({
11 base: './js/'
12 }).extend({ //设定模块别名
13 common: 'common'
14 });
15
16 layui.use(['form', 'common'], function () {
17 var common = layui.common,
18 form = layui.form;
19 //三级地址联动
20 common.showCity('province', 'city');
21
22 //区域选择
23 form.on('select(selectCity)', function (data) {
24 console.log(data)
25 return false;
26 });
27 //办事大厅
28 form.on('select(officehall)', function (data) {
29 let latitude= undefined
30 let longitude= undefined
31 let title= ''
32 if(data.value==1) {
33 latitude = 116.397469
34 longitude = 39.908821
35 title = '北京'
36 }else if(data.value==2){
37 latitude = 121.491119
38 longitude = 31.235172
39 title = '上海'
40 }else {
41 latitude = 120.21201
42 longitude = 30.2084
43 title = '杭州'
44 }
45
46 var point = new BMapGL.Point(latitude, longitude);
47 var infoWindow = new BMapGL.InfoWindow(title, opts);
48 map.openInfoWindow(infoWindow, point);
49 return false;
50 });
51
52 });
53
54 var geolocation = new BMap.Geolocation();
55 var gc = new BMap.Geocoder();
56 geolocation.getCurrentPosition(function (r) {
57 if (this.getStatus() == BMAP_STATUS_SUCCESS) {
58 var pt = r.point;
59 gc.getLocation(pt, function (rs) {
60 var addComp = rs.addressComponents;
61 var province = addComp.province;
62 var city = addComp.city;
63 $('.Pselected').attr('data-area', province)
64 $('.Cselected').attr('data-area', city)
65 layui.use(['form', 'common'], function () {
66 var common = layui.common,
67 form = layui.form;
68 //三级地址联动
69 common.showCity('province', 'city');
70 })
71 })
72 }
73 else {
74 alert("定位失败");
75 }
76 }, { enableHighAccuracy: true });
77
78 var map = new BMapGL.Map('container');
79 var point = new BMapGL.Point(108.95309828, 34.2777999);
80 map.centerAndZoom(point, 15);
81 var opts = {
82 width: 100,
83 height: 60,
84 title: '办事大厅'
85 };
86 var infoWindow = new BMapGL.InfoWindow('雁塔区南二环西段', opts);
87 map.openInfoWindow(infoWindow, point);
...\ No newline at end of file ...\ No newline at end of file
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3 <svg xmlns="http://www.w3.org/2000/svg">
4 <metadata>Generated by IcoMoon</metadata>
5 <defs>
6 <font id="raty" horiz-adv-x="512">
7 <font-face units-per-em="512" ascent="480" descent="-32" />
8 <missing-glyph horiz-adv-x="512" />
9 <glyph unicode="&#x20;" d="" horiz-adv-x="256" />
10 <glyph unicode="&#xe600;" d="M256 16c-114.88 0-208 93.12-208 208s93.12 208 208 208 208-93.12 208-208-93.12-208-208-208zM351.376 284.656c3.904 3.904 3.904 10.256 0 14.16l-21.248 21.232c-3.904 3.904-10.256 3.904-14.16 0l-60.176-60.176-60.176 60.176c-3.904 3.904-10.256 3.904-14.16 0l-21.248-21.232c-3.904-3.904-3.904-10.256 0-14.16l60.192-60.192-60.192-60.16c-3.904-3.904-3.904-10.256 0-14.16l21.248-21.248c3.904-3.904 10.256-3.904 14.16 0l60.176 60.192 60.176-60.192c3.904-3.904 10.256-3.904 14.16 0l21.248 21.248c3.904 3.904 3.904 10.256 0 14.16l-60.192 60.16 60.192 60.192z" />
11 <glyph unicode="&#xe601;" d="M256 16c-114.88 0-208 93.12-208 208s93.12 208 208 208 208-93.12 208-208-93.12-208-208-208zM256 384c-88.352 0-160-71.648-160-160s71.648-160 160-160c88.368 0 160 71.648 160 160s-71.632 160-160 160zM328.592 167.44l-16.224-16.224c-2.976-2.976-7.808-2.976-10.8 0l-45.92 45.92-45.92-45.92c-2.992-2.976-7.808-2.976-10.8 0l-16.224 16.224c-2.976 2.976-2.976 7.808 0 10.8l45.936 45.904-45.936 45.92c-2.976 2.992-2.976 7.824 0 10.816l16.224 16.208c2.992 2.992 7.808 2.992 10.8 0l45.92-45.92 45.92 45.92c2.992 2.992 7.824 2.992 10.8 0l16.224-16.208c2.976-2.992 2.976-7.824 0-10.816l-45.936-45.92 45.936-45.904c2.976-2.992 2.976-7.84 0-10.8z" />
12 <glyph unicode="&#xf005;" d="M475.428 290.572q0-6.286-7.428-13.714l-103.714-101.143 24.572-142.857q0.286-2 0.286-5.714 0-6-3-10.143t-8.714-4.143q-5.428 0-11.428 3.428l-128.286 67.428-128.286-67.428q-6.285-3.428-11.428-3.428-6 0-9 4.143t-3 10.143q0 1.714 0.572 5.714l24.572 142.857-104 101.143q-7.143 7.714-7.143 13.714 0 10.572 16 13.143l143.428 20.857 64.286 130q5.428 11.714 14 11.714t14-11.714l64.286-130 143.429-20.857q16-2.572 16-13.143z" horiz-adv-x="476" />
13 <glyph unicode="&#xf006;" d="M324.857 188.572l87.428 84.857-120.572 17.715-54 109.143-54-109.143-120.572-17.714 87.428-84.857-20.857-120.286 108 56.857 107.714-56.857zM475.428 290.572q0-6.286-7.428-13.714l-103.714-101.143 24.572-142.857q0.286-2 0.286-5.714 0-14.286-11.714-14.286-5.428 0-11.428 3.428l-128.286 67.428-128.286-67.428q-6.285-3.428-11.428-3.428-6 0-9 4.143t-3 10.143q0 1.714 0.572 5.714l24.572 142.857-104 101.143q-7.143 7.714-7.143 13.714 0 10.572 16 13.143l143.428 20.857 64.286 130q5.428 11.714 14 11.714t14-11.714l64.286-130 143.429-20.857q16-2.572 16-13.143z" horiz-adv-x="476" />
14 <glyph unicode="&#xf123;" d="M338.857 202l73.428 71.428-120.572 17.714-8.572 17.143-45.428 92v-275.143l16.857-8.857 90.857-48-17.143 101.428-3.428 18.857zM468 276.857l-103.714-101.143 24.572-142.857q1.428-9.428-1.714-14.714t-9.714-5.286q-4.857 0-11.428 3.428l-128.286 67.428-128.286-67.428q-6.572-3.428-11.428-3.428-6.572 0-9.715 5.286t-1.715 14.714l24.572 142.857-104 101.143q-9.143 9.143-6.572 17t15.428 9.857l143.429 20.857 64.286 130q5.714 11.714 14 11.714 8 0 14-11.714l64.286-130 143.429-20.857q12.857-2 15.428-9.857t-6.857-17z" horiz-adv-x="476" />
15 </font></defs></svg>
...\ No newline at end of file ...\ No newline at end of file
No preview for this file type
No preview for this file type
1 .cancel-on-png, .cancel-off-png, .star-on-png, .star-off-png, .star-half-png {
2 font-size: 2em;
3 }
4
5 @font-face {
6 font-family: "raty";
7 font-style: normal;
8 font-weight: normal;
9 src: url("fonts/raty.eot");
10 src: url("fonts/raty.eot?#iefix") format("embedded-opentype");
11 src: url("fonts/raty.svg#raty") format("svg");
12 src: url("fonts/raty.ttf") format("truetype");
13 src: url("fonts/raty.woff") format("woff");
14 }
15
16 .cancel-on-png, .cancel-off-png, .star-on-png, .star-off-png, .star-half-png {
17 -moz-osx-font-smoothing: grayscale;
18 -webkit-font-smoothing: antialiased;
19 font-family: "raty";
20 font-style: normal;
21 font-variant: normal;
22 font-weight: normal;
23 line-height: 1;
24 speak: none;
25 text-transform: none;
26 }
27
28 .cancel-on-png:before {
29 content: "\e600";
30 }
31
32 .cancel-off-png:before {
33 content: "\e601";
34 }
35
36 .star-on-png:before {
37 content: "\f005";
38 }
39
40 .star-off-png:before {
41 content: "\f006";
42 }
43
44 .star-half-png:before {
45 content: "\f123";
46 }
1 /*!
2 * jQuery Raty - A Star Rating Plugin
3 *
4 * The MIT License
5 *
6 * @author : Washington Botelho
7 * @doc : http://wbotelhos.com/raty
8 * @version : 2.7.1
9 *
10 */
11
12 ;
13 (function($) {
14 'use strict';
15
16 var methods = {
17 init: function(options) {
18 return this.each(function() {
19 this.self = $(this);
20
21 methods.destroy.call(this.self);
22
23 this.opt = $.extend(true, {}, $.fn.raty.defaults, options);
24
25 methods._adjustCallback.call(this);
26 methods._adjustNumber.call(this);
27 methods._adjustHints.call(this);
28
29 this.opt.score = methods._adjustedScore.call(this, this.opt.score);
30
31 if (this.opt.starType !== 'img') {
32 methods._adjustStarType.call(this);
33 }
34
35 methods._adjustPath.call(this);
36 methods._createStars.call(this);
37
38 if (this.opt.cancel) {
39 methods._createCancel.call(this);
40 }
41
42 if (this.opt.precision) {
43 methods._adjustPrecision.call(this);
44 }
45
46 methods._createScore.call(this);
47 methods._apply.call(this, this.opt.score);
48 methods._setTitle.call(this, this.opt.score);
49 methods._target.call(this, this.opt.score);
50
51 if (this.opt.readOnly) {
52 methods._lock.call(this);
53 } else {
54 this.style.cursor = 'pointer';
55
56 methods._binds.call(this);
57 }
58 });
59 },
60
61 _adjustCallback: function() {
62 var options = ['number', 'readOnly', 'score', 'scoreName', 'target', 'path'];
63
64 for (var i = 0; i < options.length; i++) {
65 if (typeof this.opt[options[i]] === 'function') {
66 this.opt[options[i]] = this.opt[options[i]].call(this);
67 }
68 }
69 },
70
71 _adjustedScore: function(score) {
72 if (!score) {
73 return score;
74 }
75
76 return methods._between(score, 0, this.opt.number);
77 },
78
79 _adjustHints: function() {
80 if (!this.opt.hints) {
81 this.opt.hints = [];
82 }
83
84 if (!this.opt.halfShow && !this.opt.half) {
85 return;
86 }
87
88 var steps = this.opt.precision ? 10 : 2;
89
90 for (var i = 0; i < this.opt.number; i++) {
91 var group = this.opt.hints[i];
92
93 if (Object.prototype.toString.call(group) !== '[object Array]') {
94 group = [group];
95 }
96
97 this.opt.hints[i] = [];
98
99 for (var j = 0; j < steps; j++) {
100 var
101 hint = group[j],
102 last = group[group.length - 1];
103
104 if (last === undefined) {
105 last = null;
106 }
107
108 this.opt.hints[i][j] = hint === undefined ? last : hint;
109 }
110 }
111 },
112
113 _adjustNumber: function() {
114 this.opt.number = methods._between(this.opt.number, 1, this.opt.numberMax);
115 },
116
117 _adjustPath: function() {
118 this.opt.path = this.opt.path || '';
119
120 if (this.opt.path && this.opt.path.charAt(this.opt.path.length - 1) !== '/') {
121 this.opt.path += '/';
122 }
123 },
124
125 _adjustPrecision: function() {
126 this.opt.half = true;
127 },
128
129 _adjustStarType: function() {
130 var replaces = ['cancelOff', 'cancelOn', 'starHalf', 'starOff', 'starOn'];
131
132 this.opt.path = '';
133
134 for (var i = 0; i < replaces.length; i++) {
135 this.opt[replaces[i]] = this.opt[replaces[i]].replace('.', '-');
136 }
137 },
138
139 _apply: function(score) {
140 methods._fill.call(this, score);
141
142 if (score) {
143 if (score > 0) {
144 this.score.val(score);
145 }
146
147 methods._roundStars.call(this, score);
148 }
149 },
150
151 _between: function(value, min, max) {
152 return Math.min(Math.max(parseFloat(value), min), max);
153 },
154
155 _binds: function() {
156 if (this.cancel) {
157 methods._bindOverCancel.call(this);
158 methods._bindClickCancel.call(this);
159 methods._bindOutCancel.call(this);
160 }
161
162 methods._bindOver.call(this);
163 methods._bindClick.call(this);
164 methods._bindOut.call(this);
165 },
166
167 _bindClick: function() {
168 var that = this;
169
170 that.stars.on('click.raty', function(evt) {
171 var
172 execute = true,
173 score = (that.opt.half || that.opt.precision) ? that.self.data('score') : (this.alt || $(this).data('alt'));
174
175 if (that.opt.click) {
176 execute = that.opt.click.call(that, +score, evt);
177 }
178
179 if (execute || execute === undefined) {
180 if (that.opt.half && !that.opt.precision) {
181 score = methods._roundHalfScore.call(that, score);
182 }
183
184 methods._apply.call(that, score);
185 }
186 });
187 },
188
189 _bindClickCancel: function() {
190 var that = this;
191
192 that.cancel.on('click.raty', function(evt) {
193 that.score.removeAttr('value');
194
195 if (that.opt.click) {
196 that.opt.click.call(that, null, evt);
197 }
198 });
199 },
200
201 _bindOut: function() {
202 var that = this;
203
204 that.self.on('mouseleave.raty', function(evt) {
205 var score = +that.score.val() || undefined;
206
207 methods._apply.call(that, score);
208 methods._target.call(that, score, evt);
209 methods._resetTitle.call(that);
210
211 if (that.opt.mouseout) {
212 that.opt.mouseout.call(that, score, evt);
213 }
214 });
215 },
216
217 _bindOutCancel: function() {
218 var that = this;
219
220 that.cancel.on('mouseleave.raty', function(evt) {
221 var icon = that.opt.cancelOff;
222
223 if (that.opt.starType !== 'img') {
224 icon = that.opt.cancelClass + ' ' + icon;
225 }
226
227 methods._setIcon.call(that, this, icon);
228
229 if (that.opt.mouseout) {
230 var score = +that.score.val() || undefined;
231
232 that.opt.mouseout.call(that, score, evt);
233 }
234 });
235 },
236
237 _bindOver: function() {
238 var that = this,
239 action = that.opt.half ? 'mousemove.raty' : 'mouseover.raty';
240
241 that.stars.on(action, function(evt) {
242 var score = methods._getScoreByPosition.call(that, evt, this);
243
244 methods._fill.call(that, score);
245
246 if (that.opt.half) {
247 methods._roundStars.call(that, score, evt);
248 methods._setTitle.call(that, score, evt);
249
250 that.self.data('score', score);
251 }
252
253 methods._target.call(that, score, evt);
254
255 if (that.opt.mouseover) {
256 that.opt.mouseover.call(that, score, evt);
257 }
258 });
259 },
260
261 _bindOverCancel: function() {
262 var that = this;
263
264 that.cancel.on('mouseover.raty', function(evt) {
265 var
266 starOff = that.opt.path + that.opt.starOff,
267 icon = that.opt.cancelOn;
268
269 if (that.opt.starType === 'img') {
270 that.stars.attr('src', starOff);
271 } else {
272 icon = that.opt.cancelClass + ' ' + icon;
273
274 that.stars.attr('class', starOff);
275 }
276
277 methods._setIcon.call(that, this, icon);
278 methods._target.call(that, null, evt);
279
280 if (that.opt.mouseover) {
281 that.opt.mouseover.call(that, null);
282 }
283 });
284 },
285
286 _buildScoreField: function() {
287 return $('<input />', { name: this.opt.scoreName, type: 'hidden' }).appendTo(this);
288 },
289
290 _createCancel: function() {
291 var icon = this.opt.path + this.opt.cancelOff,
292 cancel = $('<' + this.opt.starType + ' />', { title: this.opt.cancelHint, 'class': this.opt.cancelClass });
293
294 if (this.opt.starType === 'img') {
295 cancel.attr({ src: icon, alt: 'x' });
296 } else {
297 // TODO: use $.data
298 cancel.attr('data-alt', 'x').addClass(icon);
299 }
300
301 if (this.opt.cancelPlace === 'left') {
302 this.self.prepend('&#160;').prepend(cancel);
303 } else {
304 this.self.append('&#160;').append(cancel);
305 }
306
307 this.cancel = cancel;
308 },
309
310 _createScore: function() {
311 var score = $(this.opt.targetScore);
312
313 this.score = score.length ? score : methods._buildScoreField.call(this);
314 },
315
316 _createStars: function() {
317 for (var i = 1; i <= this.opt.number; i++) {
318 var
319 name = methods._nameForIndex.call(this, i),
320 attrs = { alt: i, src: this.opt.path + this.opt[name] };
321
322 if (this.opt.starType !== 'img') {
323 attrs = { 'data-alt': i, 'class': attrs.src }; // TODO: use $.data.
324 }
325
326 attrs.title = methods._getHint.call(this, i);
327
328 $('<' + this.opt.starType + ' />', attrs).appendTo(this);
329
330 if (this.opt.space) {
331 this.self.append(i < this.opt.number ? '&#160;' : '');
332 }
333 }
334
335 this.stars = this.self.children(this.opt.starType);
336 },
337
338 _error: function(message) {
339 $(this).text(message);
340
341 $.error(message);
342 },
343
344 _fill: function(score) {
345 var hash = 0;
346
347 for (var i = 1; i <= this.stars.length; i++) {
348 var
349 icon,
350 star = this.stars[i - 1],
351 turnOn = methods._turnOn.call(this, i, score);
352
353 if (this.opt.iconRange && this.opt.iconRange.length > hash) {
354 var irange = this.opt.iconRange[hash];
355
356 icon = methods._getRangeIcon.call(this, irange, turnOn);
357
358 if (i <= irange.range) {
359 methods._setIcon.call(this, star, icon);
360 }
361
362 if (i === irange.range) {
363 hash++;
364 }
365 } else {
366 icon = this.opt[turnOn ? 'starOn' : 'starOff'];
367
368 methods._setIcon.call(this, star, icon);
369 }
370 }
371 },
372
373 _getFirstDecimal: function(number) {
374 var
375 decimal = number.toString().split('.')[1],
376 result = 0;
377
378 if (decimal) {
379 result = parseInt(decimal.charAt(0), 10);
380
381 if (decimal.slice(1, 5) === '9999') {
382 result++;
383 }
384 }
385
386 return result;
387 },
388
389 _getRangeIcon: function(irange, turnOn) {
390 return turnOn ? irange.on || this.opt.starOn : irange.off || this.opt.starOff;
391 },
392
393 _getScoreByPosition: function(evt, icon) {
394 var score = parseInt(icon.alt || icon.getAttribute('data-alt'), 10);
395
396 if (this.opt.half) {
397 var
398 size = methods._getWidth.call(this),
399 percent = parseFloat((evt.pageX - $(icon).offset().left) / size);
400
401 score = score - 1 + percent;
402 }
403
404 return score;
405 },
406
407 _getHint: function(score, evt) {
408 if (score !== 0 && !score) {
409 return this.opt.noRatedMsg;
410 }
411
412 var
413 decimal = methods._getFirstDecimal.call(this, score),
414 integer = Math.ceil(score),
415 group = this.opt.hints[(integer || 1) - 1],
416 hint = group,
417 set = !evt || this.move;
418
419 if (this.opt.precision) {
420 if (set) {
421 decimal = decimal === 0 ? 9 : decimal - 1;
422 }
423
424 hint = group[decimal];
425 } else if (this.opt.halfShow || this.opt.half) {
426 decimal = set && decimal === 0 ? 1 : decimal > 5 ? 1 : 0;
427
428 hint = group[decimal];
429 }
430
431 return hint === '' ? '' : hint || score;
432 },
433
434 _getWidth: function() {
435 var width = this.stars[0].width || parseFloat(this.stars.eq(0).css('font-size'));
436
437 if (!width) {
438 methods._error.call(this, 'Could not get the icon width!');
439 }
440
441 return width;
442 },
443
444 _lock: function() {
445 var hint = methods._getHint.call(this, this.score.val());
446
447 this.style.cursor = '';
448 this.title = hint;
449
450 this.score.prop('readonly', true);
451 this.stars.prop('title', hint);
452
453 if (this.cancel) {
454 this.cancel.hide();
455 }
456
457 this.self.data('readonly', true);
458 },
459
460 _nameForIndex: function(i) {
461 return this.opt.score && this.opt.score >= i ? 'starOn' : 'starOff';
462 },
463
464 _resetTitle: function(star) {
465 for (var i = 0; i < this.opt.number; i++) {
466 this.stars[i].title = methods._getHint.call(this, i + 1);
467 }
468 },
469
470 _roundHalfScore: function(score) {
471 var integer = parseInt(score, 10),
472 decimal = methods._getFirstDecimal.call(this, score);
473
474 if (decimal !== 0) {
475 decimal = decimal > 5 ? 1 : 0.5;
476 }
477
478 return integer + decimal;
479 },
480
481 _roundStars: function(score, evt) {
482 var
483 decimal = (score % 1).toFixed(2),
484 name ;
485
486 if (evt || this.move) {
487 name = decimal > 0.5 ? 'starOn' : 'starHalf';
488 } else if (decimal > this.opt.round.down) { // Up: [x.76 .. x.99]
489 name = 'starOn';
490
491 if (this.opt.halfShow && decimal < this.opt.round.up) { // Half: [x.26 .. x.75]
492 name = 'starHalf';
493 } else if (decimal < this.opt.round.full) { // Down: [x.00 .. x.5]
494 name = 'starOff';
495 }
496 }
497
498 if (name) {
499 var
500 icon = this.opt[name],
501 star = this.stars[Math.ceil(score) - 1];
502
503 methods._setIcon.call(this, star, icon);
504 } // Full down: [x.00 .. x.25]
505 },
506
507 _setIcon: function(star, icon) {
508 star[this.opt.starType === 'img' ? 'src' : 'className'] = this.opt.path + icon;
509 },
510
511 _setTarget: function(target, score) {
512 if (score) {
513 score = this.opt.targetFormat.toString().replace('{score}', score);
514 }
515
516 if (target.is(':input')) {
517 target.val(score);
518 } else {
519 target.html(score);
520 }
521 },
522
523 _setTitle: function(score, evt) {
524 if (score) {
525 var
526 integer = parseInt(Math.ceil(score), 10),
527 star = this.stars[integer - 1];
528
529 star.title = methods._getHint.call(this, score, evt);
530 }
531 },
532
533 _target: function(score, evt) {
534 if (this.opt.target) {
535 var target = $(this.opt.target);
536
537 if (!target.length) {
538 methods._error.call(this, 'Target selector invalid or missing!');
539 }
540
541 var mouseover = evt && evt.type === 'mouseover';
542
543 if (score === undefined) {
544 score = this.opt.targetText;
545 } else if (score === null) {
546 score = mouseover ? this.opt.cancelHint : this.opt.targetText;
547 } else {
548 if (this.opt.targetType === 'hint') {
549 score = methods._getHint.call(this, score, evt);
550 } else if (this.opt.precision) {
551 score = parseFloat(score).toFixed(1);
552 }
553
554 var mousemove = evt && evt.type === 'mousemove';
555
556 if (!mouseover && !mousemove && !this.opt.targetKeep) {
557 score = this.opt.targetText;
558 }
559 }
560
561 methods._setTarget.call(this, target, score);
562 }
563 },
564
565 _turnOn: function(i, score) {
566 return this.opt.single ? (i === score) : (i <= score);
567 },
568
569 _unlock: function() {
570 this.style.cursor = 'pointer';
571 this.removeAttribute('title');
572
573 this.score.removeAttr('readonly');
574
575 this.self.data('readonly', false);
576
577 for (var i = 0; i < this.opt.number; i++) {
578 this.stars[i].title = methods._getHint.call(this, i + 1);
579 }
580
581 if (this.cancel) {
582 this.cancel.css('display', '');
583 }
584 },
585
586 cancel: function(click) {
587 return this.each(function() {
588 var self = $(this);
589
590 if (self.data('readonly') !== true) {
591 methods[click ? 'click' : 'score'].call(self, null);
592
593 this.score.removeAttr('value');
594 }
595 });
596 },
597
598 click: function(score) {
599 return this.each(function() {
600 if ($(this).data('readonly') !== true) {
601 score = methods._adjustedScore.call(this, score);
602
603 methods._apply.call(this, score);
604
605 if (this.opt.click) {
606 this.opt.click.call(this, score, $.Event('click'));
607 }
608
609 methods._target.call(this, score);
610 }
611 });
612 },
613
614 destroy: function() {
615 return this.each(function() {
616 var self = $(this),
617 raw = self.data('raw');
618
619 if (raw) {
620 self.off('.raty').empty().css({ cursor: raw.style.cursor }).removeData('readonly');
621 } else {
622 self.data('raw', self.clone()[0]);
623 }
624 });
625 },
626
627 getScore: function() {
628 var score = [],
629 value ;
630
631 this.each(function() {
632 value = this.score.val();
633
634 score.push(value ? +value : undefined);
635 });
636
637 return (score.length > 1) ? score : score[0];
638 },
639
640 move: function(score) {
641 return this.each(function() {
642 var
643 integer = parseInt(score, 10),
644 decimal = methods._getFirstDecimal.call(this, score);
645
646 if (integer >= this.opt.number) {
647 integer = this.opt.number - 1;
648 decimal = 10;
649 }
650
651 var
652 width = methods._getWidth.call(this),
653 steps = width / 10,
654 star = $(this.stars[integer]),
655 percent = star.offset().left + steps * decimal,
656 evt = $.Event('mousemove', { pageX: percent });
657
658 this.move = true;
659
660 star.trigger(evt);
661
662 this.move = false;
663 });
664 },
665
666 readOnly: function(readonly) {
667 return this.each(function() {
668 var self = $(this);
669
670 if (self.data('readonly') !== readonly) {
671 if (readonly) {
672 self.off('.raty').children(this.opt.starType).off('.raty');
673
674 methods._lock.call(this);
675 } else {
676 methods._binds.call(this);
677 methods._unlock.call(this);
678 }
679
680 self.data('readonly', readonly);
681 }
682 });
683 },
684
685 reload: function() {
686 return methods.set.call(this, {});
687 },
688
689 score: function() {
690 var self = $(this);
691
692 return arguments.length ? methods.setScore.apply(self, arguments) : methods.getScore.call(self);
693 },
694
695 set: function(options) {
696 return this.each(function() {
697 $(this).raty($.extend({}, this.opt, options));
698 });
699 },
700
701 setScore: function(score) {
702 return this.each(function() {
703 if ($(this).data('readonly') !== true) {
704 score = methods._adjustedScore.call(this, score);
705
706 methods._apply.call(this, score);
707 methods._target.call(this, score);
708 }
709 });
710 }
711 };
712
713 $.fn.raty = function(method) {
714 if (methods[method]) {
715 return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
716 } else if (typeof method === 'object' || !method) {
717 return methods.init.apply(this, arguments);
718 } else {
719 $.error('Method ' + method + ' does not exist!');
720 }
721 };
722
723 $.fn.raty.defaults = {
724 cancel : false,
725 cancelClass : 'raty-cancel',
726 cancelHint : 'Cancel this rating!',
727 cancelOff : 'cancel-off.png',
728 cancelOn : 'cancel-on.png',
729 cancelPlace : 'left',
730 click : undefined,
731 half : false,
732 halfShow : true,
733 hints : ['bad', 'poor', 'regular', 'good', 'gorgeous'],
734 iconRange : undefined,
735 mouseout : undefined,
736 mouseover : undefined,
737 noRatedMsg : 'Not rated yet!',
738 number : 5,
739 numberMax : 20,
740 path : undefined,
741 precision : false,
742 readOnly : false,
743 round : { down: 0.25, full: 0.6, up: 0.76 },
744 score : undefined,
745 scoreName : 'score',
746 single : false,
747 space : true,
748 starHalf : 'star-half.png',
749 starOff : 'star-off.png',
750 starOn : 'star-on.png',
751 starType : 'img',
752 target : undefined,
753 targetFormat : '{score}',
754 targetKeep : false,
755 targetScore : undefined,
756 targetText : '',
757 targetType : 'hint'
758 };
759
760 })(jQuery);
...@@ -67,8 +67,8 @@ ...@@ -67,8 +67,8 @@
67 <div class="one_content contentBox"> 67 <div class="one_content contentBox">
68 <div class="layui-tab"> 68 <div class="layui-tab">
69 <ul class="layui-tab-title"> 69 <ul class="layui-tab-title">
70 <li class="layui-this">线上办理</li> 70 <li class="layui-this">网上申请</li>
71 <li>线下办理</li> 71 <li>在线预约</li>
72 </ul> 72 </ul>
73 <div class="layui-tab-content"> 73 <div class="layui-tab-content">
74 <div class="layui-tab-item layui-show"> 74 <div class="layui-tab-item layui-show">
......
1 .navigation_crumbs {
2 height: 45px;
3 }
4 .appointment_notice {
5 margin-top: 30px;
6 margin-bottom: 30px;
7 }
8 .app_progress li {
9 padding: 0 30px;
10 line-height: 40px;
11 background: #eee;
12 display: inline-block;
13 color: #fff;
14 position: relative;
15 color: black;
16 }
17 .app_progress li:after{
18 content: '';
19 display: block;
20 border-top: 20px solid #fff;
21 border-bottom: 20px solid #fff;
22 border-left: 12px solid #eee;
23 position: absolute;
24 right:0;
25 top: 0;
26 }
27 .active {
28 background-color: #1E9FFF!important;
29 color: #fff!important;
30 }
31 .app_progress li.active:after {
32 border-left-color: #1E9FFF;
33 }
34 .line {
35 width: 80px;
36 height: 0;
37 display: inline-block;
38 border-bottom: 2px dotted#dddddd;
39 margin-bottom: 4px;
40 }
41 .selectCity {
42 width: 1200px;
43 margin: 0 auto;
44 }
45 .selectCity h2 {
46 display: inline-block;
47 margin-right: 5px;
48 }
49 .area_list_content {
50 overflow: hidden;
51 margin-top: 20px;
52 width: 100%;
53 }
54 .area_list_content h2 {
55 display: inline-block;
56 float: left;
57 margin-right: 8px;
58 }
59 .selectCity .area_list {
60 width: 95%;
61 float: left;
62 }
63 .selectCity .area_list li {
64 display: inline-block;
65 width: 100px;
66 height: 32px;
67 border-radius: 3px;
68 background-color: #01AAED;
69 margin-right: 10px;
70 color: #fff;
71 text-align: center;
72 line-height: 32px;
73 margin-bottom: 10px;
74 }
75 .select_officehall {
76 width: 1200px;
77 margin: 0 auto;
78 margin-top: 10px;
79 }
80 .select_officehall h2 {
81 display: inline-block;
82 margin-right: 8px;
83 }
84 /* -----------------------------地图--------------------------------------- */
85 .map_content {
86 margin-top: 20px;
87 }
1 <!DOCTYPE html>
2 <html lang="en">
3
4 <head>
5 <title>选择区域</title>
6 <meta charset="UTF-8">
7 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8 <meta name="format-detection" content="telephone=no">
9 <meta name="renderer" content="webkit">
10 <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
11 <meta http-equiv="Cache-Control" content="no-siteapp" />
12 <link rel="alternate icon" type="image/png" href="../../staticImages/logo-realestate.png">
13 <link rel='icon' href='favicon.ico' type='image/x-ico' />
14 <meta name="description" content="" />
15 <meta name="keywords" content="" />
16 <script type="text/javascript" src="//api.map.baidu.com/api?v=2.0&ak=0NWXXsCSawnWID4UYI7Uhrl9WgtI2IGs"></script>
17 <script src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=0NWXXsCSawnWID4UYI7Uhrl9WgtI2IGs"></script>
18 <link rel="stylesheet" type="text/css" href="../../staticCss/common.css" />
19 <link rel="stylesheet" type="text/css" href="../../staticLib/layui/css/layui.css" />
20 <link rel="stylesheet" type="text/css" href="./css/index.css">
21 </head>
22
23 <body>
24 <div class="main">
25 <div class="subject top-logo">
26 <div class="top_logo_content">
27 <h1><a href="index.html"><img src="./../../staticImages/logo.jpg" alt="西安市不动产登记平台" /></a></h1>
28 <div class="top_logo_search">
29 <input type="text" name="title" required lay-verify="required" placeholder="请输入关键字搜索"
30 autocomplete="off" class="layui-input">
31 <i class="layui-icon layui-icon-search" style="font-size: 14px;"></i>
32 </div>
33 <ul class="login">
34 <li>登录</li>
35 <li>注册</li>
36 </ul>
37 </div>
38 </div>
39 <div class="navigation">
40 <ul class="layui-nav layui-bg-blue" lay-filter="">
41 <li class="layui-nav-item"><a href="./../../staticIndex.html">首页</a></li>
42 <li class="layui-nav-item"><a href="./../../staticViews/xwdt/index.html">新闻动态</a></li>
43 <li class="layui-nav-item"><a href="">业务办理</a></li>
44 <li class="layui-nav-item"><a href="./../../staticViews/bszn/index.html">办事指南</a></li>
45 <li class="layui-nav-item">
46 <a href="javascript:;">查验中心</a>
47 <dl class="layui-nav-child">
48 <!-- 二级菜单 -->
49 <dd><a href="">移动模块</a></dd>
50 <dd><a href="">后台模版</a></dd>
51 <dd><a href="">电商平台</a></dd>
52 </dl>
53 </li>
54 <li class="layui-nav-item"><a href="">在线缴费</a></li>
55 <li class="layui-nav-item" class="item_last_child"><a href="">好差评</a></li>
56 </ul>
57 </div>
58 <div class="navigation_crumbs">
59 <div class="contentBox">
60 <span class="layui-breadcrumb">
61 <a href="../../staticIndex.html">首页</a>
62 <a href="../grzx/index.html">个人中心</a>
63 <a><cite>我的预约</cite></a>
64 </span>
65 </div>
66 </div>
67 <!-- ----------------------------------内容模块的开始----------------------------------------------- -->
68 <div class="appointment_notice contentBox">
69 <ul class="app_progress">
70 <li>
71 <span>1</span>
72 预约须知
73 </li>
74 <div class="line"></div>
75 <li class="active">
76 <span>2</span>
77 选择区域
78 </li>
79 <div class="line"></div>
80 <li>
81 <span>3</span>
82 预约时间
83 </li>
84 <div class="line"></div>
85 <li>
86 <span>4</span>
87 预约结果
88 </li>
89 </ul>
90 </div>
91 <!-- ---------------------------------------省市办事大厅选择------------------------------------------- -->
92 <div class="selectCity">
93 <form class="layui-form">
94 <h2 class="title"></h2>
95 <div class="layui-inline layui-select-default" style="margin-right: 10px;">
96 <select name="province" class="Pselected" data-area="浙江省"" lay-filter=" province">
97 <option value="">选择省</option>
98 </select>
99 </div>
100 <h2></h2>
101 <div class="layui-inline selected layui-select-default">
102 <select name="city" class="Cselected" data-area="杭州市" lay-filter="selectCity">
103 <option value="">选择市</option>
104 </select>
105 </div>
106 </form>
107 <div class="area_list_content">
108 <h2></h2>
109 <ul class="area_list">
110 <li>新城区</li>
111 <li>新城区</li>
112 <li>新城区</li>
113 <li>新城区</li>
114 <li>新城区</li>
115 <li>新城区</li>
116 <li>新城区</li>
117 <li>新城区</li>
118 <li>新城区</li>
119 <li>新城区</li>
120 <li>新城区</li>
121 <li>新城区</li>
122 <li>新城区</li>
123 <li>新城区</li>
124 <li>新城区</li>
125 </ul>
126 </div>
127 </div>
128 <div class="select_officehall">
129 <form class="layui-form">
130 <h2>办事大厅</h2>
131 <div class="layui-inline">
132 <select name="officehall" lay-filter="officehall">
133 <option value="">选择办事大厅</option>
134 <option value="1">北京</option>
135 <option value="2">上海</option>
136 <option value="3">杭州</option>
137 </select>
138 </div>
139 </form>
140 </div>
141 <!-- ----------------------------------地图api--------------------------------------------------- -->
142 <div class="map_content contentBox">
143 <div id="container" style="width: 100%;height: 500px;"></div>
144 </div>
145 <!-- ----------------------------------内容模块end-------------------------------------------------- -->
146 <div class="footer">
147 <div class="system_service">
148 <ul class="">
149 <li>
150 <a href="">
151 <span>公示公告</span>
152 </a>
153 </li>
154 <li>
155 <a href="">
156 <span>法律法规</span>
157 </a>
158 </li>
159 <li>
160 <a href="">
161 <span>相应政策</span>
162 </a>
163 </li>
164 <li>
165 <a href="">
166 <span>下载服务</span>
167 </a>
168 </li>
169 <li>
170 <a href="">
171 <span>关于我们</span>
172 </a>
173 </li>
174 </ul>
175 </div>
176 <div class="subject">
177 <div class="footer_logo">
178 <a href="">
179 <img src="./../../staticImages/jiguan.png">
180 </a>
181 </div>
182 <ul>
183 <li>
184 西安市自然资源和规划局
185 </li>
186 <li>
187 电话:028-456465
188 </li>
189 <li>
190 地址:西安市丰城8路
191 </li>
192 <li>
193 网站标识吗:87987987
194 </li>
195 <li>
196 备案:陕IPC456465465
197 </li>
198 <li>
199 陕公网备案:456465465
200 </li>
201 </ul>
202 <ol>
203 <li>
204 <img src="./../../staticImages/code.png">
205 <p>扫描关注公众号</p>
206 </li>
207 <li>
208 <img src="./../../staticImages/code.png">
209 <p>扫描关注公众号</p>
210 </li>
211 </ol>
212 </div>
213 </div>
214 </div>
215 </body>
216
217 </html>
218 <script type="text/javascript" src="../../staticLib/jquery/jquery.min.js"></script>
219 <script type="text/javascript" src="../../staticLib/layui/layui.js"></script>
220 <script type="text/javascript" src="./js/city-picker.js"></script>
221 <script type="text/javascript" src="../../staticJs/xzqy.js"></script>
...\ No newline at end of file ...\ No newline at end of file
This diff could not be displayed because it is too large.
1 /**
2 * @authors Mzong(mzong121491@gmail.com)
3 * @date 2019-01-18 11:15
4 * @requires layui
5 * @version $1.1.0$
6 */
7 layui.define("layer", function(exports){
8 //提示:模块也可以依赖其它模块,如:layui.define('layer', callback);
9 var $ = layui.jquery,
10 form = layui.form;
11 // 返回的对象
12 var returnObj = {
13 /**
14 * 省市县三级联动
15 *
16 * @param { string } [form] [form是layui.form对象]
17 * @param {string} [province] [省容器的name名字 ]
18 * eg:<select name="province">
19 * @param {string} [city] [省容器的name名字]
20 * @param {string} [district] [县容器的name名字]
21 * @return {undefined} [无返回值]
22 */
23 showCity: function(province, city, district) {
24 //AreaData是地址传过来的json对象
25 var AreaData = $.rawCitiesData;
26 // console.log(999, AreaData) // 接口请求数据
27 if("undefined" == typeof AreaData) {
28 layer.open({
29 title: '系统提示'
30 ,content: '调用showCity之前请引入地址数据'
31 });
32 return;
33 }
34 var htmlProvince = '',
35 htmlCity = '',
36 htmlDistrict = '',
37 cityData = '',
38 districtData = '',
39 $province = $('select[name='+province+']'),
40 $city = $('select[name='+city+']'),
41 $district = $('select[name='+district+']'),
42 provVal = $province.attr('data-area') || '', // 省默认值
43 cityVal = $city.attr('data-area') || '', // 市默认值
44 distVal = $district.attr('data-area') || ''; // 县默认值
45 $province.find('option').not(':first').remove();
46 $city.find('option').not(':first').remove();
47 $district.find('option').not(':first').remove();
48 form.render('select');
49
50 // 加载省数据
51 loadProvince();
52 function loadProvince() {
53 AreaData.forEach(function(v, i) {
54 htmlProvince += '<option value='+v.code+'>'+v.name+'</option>';
55 });
56 $province.append(htmlProvince);
57
58 // 默认选中省
59 defaultSelect($province, provVal, function(code) {
60 cityData = findPlace(AreaData, code);
61 loadCity(cityData, true);
62 });
63
64 form.render('select');
65
66 }
67
68 // 加载城市数据
69 function loadCity(city, hasDefault) {
70 $city.find('option').not(':first').remove();
71 htmlCity = '';
72 var city = city || [];
73 city.forEach(function(v, i) {
74 htmlCity += '<option value='+v.code+'>'+v.name+'</option>';
75 });
76 $city.append(htmlCity);
77
78 // 默认加载才执行,手动选中不执行
79 if (hasDefault) {
80 // 默认选中城市
81 defaultSelect($city, cityVal, function(code) {
82 // console.log(code)
83 // 加载默认城市数据
84 districtData = findPlace(cityData, code);
85 loadDistrict(districtData, true);
86 });
87 }
88
89 form.render('select');
90 }
91
92 // 加载县数据
93 function loadDistrict(districtData, hasDefault) {
94 $district.find('option').not(':first').remove();
95 htmlDistrict = '';
96 var districtData = districtData || [];
97 districtData.forEach(function(v, i) {
98 htmlDistrict += '<option value='+v.code+'>'+v.name+'</option>';
99 });
100 $district.append(htmlDistrict);
101
102 if (hasDefault) {
103 // 默认选中县
104 defaultSelect($district, distVal);
105 }
106
107 form.render('select');
108 }
109
110 // 查找地点数据
111 function findPlace(data, code) {
112 var resData = [];
113 data.forEach(function(v, i) {
114 if (v.code === code) {
115 resData = v.sub
116 }
117 });
118
119 return resData;
120 }
121
122 /*
123 * 查找默认选中项
124 * @param {object} jq元素
125 * @param {string} 默认值
126 * @param {function} 回调函数
127 */
128 function defaultSelect($el, SelectVal, callback) {
129 $('option', $el).each(function(i, el) {
130 var $this = $(this);
131 var optVal = $this.html();
132 var code;
133 if (optVal == SelectVal) {
134 $this.attr("selected", true);
135 code = $this.val();
136 // 加载默认城市数据
137 callback && callback(code);
138 }
139 });
140 }
141
142 // 省选择
143 form.on('select('+province+')', function(data) {
144 var code = data.value;
145 // console.log(data.elem); //得到select原始DOM对象
146 // console.log(code); //得到被选中的值
147 if (code != '') {
148
149 cityData = findPlace(AreaData, code);
150
151 loadCity(cityData);
152 loadDistrict();
153
154 } else {
155 loadCity();
156 loadDistrict();
157 }
158 // console.log(data.othis); //得到美化后的DOM对象
159 });
160 // 市选择
161 form.on('select('+city+')', function(data){
162 var code = data.value;
163 if (code != '') {
164
165 districtData = findPlace(cityData, code);
166
167 loadDistrict(districtData);
168 // console.log(data.elem); //得到select原始DOM对象
169 } else {
170 loadDistrict();
171 }
172 // console.log(data.othis); //得到美化后的DOM对象
173 });
174 form.on('select('+district+')', function(data){
175 // console.log(data.elem); //得到select原始DOM对象
176 // console.log(data.value); //得到被选中的值
177 // console.log(data.othis); //得到美化后的DOM对象
178 });
179 },
180 /**
181 * 获取省市县数据
182 *
183 * @param { object } [address] [address eg:广东省广州市天河区]
184 * @return {object} [address][根据code码返回地址名称]
185 */
186 getCity: function(address) {
187 //AreaData是地址传过来的json对象
188 var AreaData = $.rawCitiesData;
189 if("undefined" == typeof AreaData) {
190 layer.open({
191 title: '系统提示'
192 ,content: '调用getCity之前请引入地址数据'
193 });
194 return;
195 }
196 var province = address.province,
197 city = address.city,
198 district = address.district,
199 provinceName = '',
200 cityName = '',
201 districtName = '';
202
203 function findIndex(arr, target) {
204 return arr.findIndex(function(v, i) {
205 return target == v.code;
206 })
207 }
208
209 if (province) {
210 var findProvinceIndex = findIndex(AreaData, province);
211 provinceName = AreaData[findProvinceIndex].name;
212 }
213
214 if (province && city) {
215 var findCityIndex = findIndex(AreaData[findProvinceIndex].sub, city);
216 cityName = AreaData[findProvinceIndex].sub[findCityIndex].name;
217 }
218
219 if (province && city && district) {
220 var findDistrictIndex = findIndex(AreaData[findProvinceIndex].sub[findCityIndex].sub, district);
221
222 districtName = AreaData[findProvinceIndex].sub[findCityIndex].sub[findDistrictIndex].name;
223 }
224
225 return {
226 provinceName: provinceName,
227 cityName: cityName,
228 districtName: districtName
229 }
230 }
231 }
232
233 // exports module
234 exports('common', returnObj);
235 });
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <html lang="en"> 2 <html lang="en">
3 3
4 <head> 4 <head>
5 <title>个人中心</title> 5 <title>预约须知</title>
6 <meta charset="UTF-8"> 6 <meta charset="UTF-8">
7 <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 7 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8 <meta name="format-detection" content="telephone=no"> 8 <meta name="format-detection" content="telephone=no">
...@@ -235,9 +235,9 @@ ...@@ -235,9 +235,9 @@
235 title: '真实准确的承诺', 235 title: '真实准确的承诺',
236 btn: ['不同意', '同意进入下一步'] //按钮 236 btn: ['不同意', '同意进入下一步'] //按钮
237 }, function () { 237 }, function () {
238 238 layer.closeAll();
239 }, function () { 239 }, function () {
240 240 window.location.href = "../xzqy/index.html";
241 }); 241 });
242 }); 242 });
243 } 243 }
......