Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a4eb7158
authored
Sep 18, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
111
parent
3f6f6d66
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
117 additions
and
24 deletions
Application/Common/View/public/header.html
Application/Common/View/public/indexfoot.html
Application/Common/View/public/indexheader.html
Application/Index/View/Index/index.html
dist/css/index.css
dist/css/index.less
dist/images/logo.ico
dist/images/xcx.jpg
dist/js/global/global.min.js
dist/js/index/search.js
Application/Common/View/public/header.html
View file @
a4eb7158
...
@@ -3,8 +3,9 @@
...
@@ -3,8 +3,9 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
name=
"keywords"
content=
""
/>
<meta
name=
"keywords"
content=
""
/>
<meta
name=
"description"
content=
""
/>
<meta
name=
"description"
content=
""
/>
<meta
name=
"viewport"
content=
"width=device-width
; initial-scale=1; maximum-scale=1;
user-scalable=0"
/>
<meta
name=
"viewport"
content=
"width=device-width
,initial-scale=1,maximum-scale=1,
user-scalable=0"
/>
<title>
芯掌柜
</title>
<title>
芯掌柜
</title>
<link
rel=
"shortcut icon"
href=
"__PUBLIC__/images/logo.ico"
type=
"image/x-icon"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"__PUBLIC__/css/common/base.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"__PUBLIC__/css/common/base.css"
>
<!--[if IE 8]>
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/common/ie.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/common/ie.css">
...
...
Application/Common/View/public/indexfoot.html
View file @
a4eb7158
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<div
class=
"fr"
>
<div
class=
"fr"
>
<div
class=
"fl fw_desc"
>
<div
class=
"fl fw_desc"
>
<p>
<p>
<span>
服务工作日
时间:
<i>
9:00-18:00
</i></span>
<span>
工作日服务
时间:
<i>
9:00-18:00
</i></span>
<span>
联系电话:
<i>
0755-23940717
</i></span>
<span>
联系电话:
<i>
0755-23940717
</i></span>
</p>
</p>
...
...
Application/Common/View/public/indexheader.html
View file @
a4eb7158
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<div
class=
"fl btn btn_blue app_btn"
>
APP
</div>
<div
class=
"fl btn btn_blue app_btn"
>
APP
</div>
<div
class=
"fl btn btn_yellow web_btn"
>
网页版
</div>
<div
class=
"fl btn btn_yellow web_btn"
>
网页版
</div>
<div
class=
"pull_qrcode xcx_qrcode header_qrcode"
>
<div
class=
"pull_qrcode xcx_qrcode header_qrcode"
>
<img
src=
"__PUBLIC__/images/xcx.
png
"
alt=
""
>
<img
src=
"__PUBLIC__/images/xcx.
jpg
"
alt=
""
>
<p>
微信小程序
</p>
<p>
微信小程序
</p>
</div>
</div>
<div
class=
"pull_qrcode header_qrcode app_qrcode"
>
<div
class=
"pull_qrcode header_qrcode app_qrcode"
>
...
...
Application/Index/View/Index/index.html
View file @
a4eb7158
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<img
src=
"__PUBLIC__/images/lb2.png"
alt=
""
>
<img
src=
"__PUBLIC__/images/lb2.png"
alt=
""
>
<div
class=
"qrcode_div"
>
<div
class=
"qrcode_div"
>
<div
class=
"xcx_div"
>
<div
class=
"xcx_div"
>
<img
src=
"__PUBLIC__/images/xcx.
pn
g"
alt=
""
>
<img
src=
"__PUBLIC__/images/xcx.
jp
g"
alt=
""
>
</div>
</div>
<p>
微信扫一扫,进入小程序
</p>
<p>
微信扫一扫,进入小程序
</p>
</div>
</div>
...
@@ -151,7 +151,7 @@
...
@@ -151,7 +151,7 @@
</div> -->
</div> -->
<div
class=
"about_us_qrcode"
>
<div
class=
"about_us_qrcode"
>
<div
class=
"qrcode"
style=
"margin:0"
>
<div
class=
"qrcode"
style=
"margin:0"
>
<img
src=
"__PUBLIC__/images/xcx.
pn
g"
alt=
""
>
<img
src=
"__PUBLIC__/images/xcx.
jp
g"
alt=
""
>
<p>
微信小程序
</p>
<p>
微信小程序
</p>
</div>
</div>
<div
class=
"qrcode"
>
<div
class=
"qrcode"
>
...
@@ -266,7 +266,7 @@
...
@@ -266,7 +266,7 @@
</div>
</div>
<div
class=
"bottom_section"
>
<div
class=
"bottom_section"
>
<p
class=
"bottom_top"
>
<p
class=
"bottom_top"
>
<span
class=
"time"
>
服务工作日
时间:
<i>
9:00-18:00
</i></span>
<span
class=
"time"
>
工作日服务
时间:
<i>
9:00-18:00
</i></span>
<span
class=
"phone"
>
联系电话:
<i>
0755-23940717
</i></span>
<span
class=
"phone"
>
联系电话:
<i>
0755-23940717
</i></span>
</p>
</p>
<p
class=
"bottom_center"
>
copyright
&
#169 2019 www.ICsales.com
</p>
<p
class=
"bottom_center"
>
copyright
&
#169 2019 www.ICsales.com
</p>
...
@@ -297,6 +297,13 @@
...
@@ -297,6 +297,13 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"xcx_mask"
>
<div
class=
"mask_img_div"
>
<img
src=
"__PUBLIC__/images/xcx.jpg"
alt=
""
>
<p>
微信小程序
<br/>
长按图片
</p>
</div>
</div>
</div>
</div>
<include
file=
"Common@public/foot"
/>
<include
file=
"Common@public/foot"
/>
<!-- 移动端下的页面 -->
<!-- 移动端下的页面 -->
...
@@ -331,26 +338,23 @@
...
@@ -331,26 +338,23 @@
$
(
this
).
addClass
(
'active'
).
siblings
().
removeClass
(
'active'
)
$
(
this
).
addClass
(
'active'
).
siblings
().
removeClass
(
'active'
)
});
});
$
(
'.web_btn'
).
on
(
'click'
,
function
()
{
$
(
'.xcx_item'
).
on
(
'click'
,
function
()
{
var
token
=
Util
.
getCookie
(
'token'
)
||
""
;
$
(
'.xcx_mask'
).
show
();
if
(
token
)
{
});
window
.
location
.
href
=
home_url
$
(
'.xcx_mask'
).
on
(
'click'
,
function
()
{
$
(
this
).
hide
()
});
$
(
'.xcx_mask .mask_img_div'
).
on
(
'click'
,
function
(
e
)
{
if
(
e
&&
e
.
stopPropagation
)
{
e
.
stopPropagation
();
}
else
{
}
else
{
window
.
location
.
href
=
passport_url
;
window
.
event
.
cancelBubble
=
true
;
}
}
});
});
Util
.
showOrHideQrcode
(
'xcx_btn'
,
'xcx_qrcode'
);
function
showOrHideQrcode
(
ele1
,
ele2
)
{
Util
.
showOrHideQrcode
(
'app_btn'
,
'app_qrcode'
);
$
(
'.'
+
ele1
).
hover
(
function
()
{
Util
.
showOrHideQrcode
(
'ios'
,
'ios_qrcode'
);
$
(
'.'
+
ele2
).
slideDown
()
Util
.
showOrHideQrcode
(
'android'
,
'android_qrcode'
);
},
function
()
{
$
(
'.'
+
ele2
).
stop
().
slideUp
()
})
};
showOrHideQrcode
(
'xcx_btn'
,
'xcx_qrcode'
);
showOrHideQrcode
(
'app_btn'
,
'app_qrcode'
);
showOrHideQrcode
(
'ios'
,
'ios_qrcode'
);
showOrHideQrcode
(
'android'
,
'android_qrcode'
);
})
})
</script>
</script>
...
...
dist/css/index.css
View file @
a4eb7158
...
@@ -564,3 +564,33 @@
...
@@ -564,3 +564,33 @@
font-size
:
2.85714286vw
;
font-size
:
2.85714286vw
;
opacity
:
.65
;
opacity
:
.65
;
}
}
.mobile_wrapper
.xcx_mask
{
position
:
fixed
;
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
z-index
:
100000
;
display
:
none
;
}
.mobile_wrapper
.xcx_mask
.mask_img_div
{
width
:
70%
;
position
:
absolute
;
top
:
20%
;
left
:
15%
;
height
:
200px
;
background-color
:
#fff
;
border-radius
:
8px
;
padding
:
10%
0
;
text-align
:
center
;
}
.mobile_wrapper
.xcx_mask
.mask_img_div
img
{
width
:
60%
;
}
.mobile_wrapper
.xcx_mask
.mask_img_div
p
{
margin-top
:
4.28571429vw
;
font-size
:
3.42857143vw
;
line-height
:
140%
;
color
:
#ADB6BF
;
}
dist/css/index.less
View file @
a4eb7158
...
@@ -697,4 +697,44 @@
...
@@ -697,4 +697,44 @@
}
}
}
}
.xcx_mask{
position: fixed;
top:0;
left:0;
right:0;
bottom:0;
background-color: rgba(0,0,0,0.5);
z-index:100000;
display: none;
.mask_img_div{
width:70%;
position: absolute;
top:20%;
left:15%;
height:200px;
background-color: #fff;
border-radius: 8px;
padding:10% 0;
text-align: center;
img{
width:60%;
}
p{
margin-top:30vw/@fixedNum;
font-size: 24vw/@fixedNum;
line-height: 140%;
color:#ADB6BF;
}
}
// img{
// position: absolute;
// top:50%;
// left:50%;
// height:200vw/@fixedNum;
// width:200vw/@fixedNum;
// margin:-100vw/@fixedNum 0 0 -100vw/@fixedNum;
// }
}
}
}
\ No newline at end of file
dist/images/logo.ico
0 → 100644
View file @
a4eb7158
No preview for this file type
dist/images/xcx.jpg
0 → 100644
View file @
a4eb7158
353 KB
dist/js/global/global.min.js
View file @
a4eb7158
...
@@ -211,9 +211,17 @@
...
@@ -211,9 +211,17 @@
})
})
});
});
$
(
'.web_btn'
).
on
(
'click'
,
function
()
{
var
token
=
Util
.
getCookie
(
'token'
)
||
""
;
if
(
token
)
{
window
.
location
.
href
=
home_url
}
else
{
window
.
location
.
href
=
passport_url
;
}
});
return
this
;
return
this
;
}
,
}
},
$
(
function
()
{
},
$
(
function
()
{
IcController
.
init
();
IcController
.
init
();
})
})
...
@@ -502,6 +510,13 @@
...
@@ -502,6 +510,13 @@
return
(
e
<
16
?
"0"
:
""
)
+
e
.
toString
(
16
);
return
(
e
<
16
?
"0"
:
""
)
+
e
.
toString
(
16
);
}).
join
(
""
);
}).
join
(
""
);
return
hex
;
return
hex
;
},
showOrHideQrcode
:
function
(
ele1
,
ele2
){
$
(
'.'
+
ele1
).
hover
(
function
()
{
$
(
'.'
+
ele2
).
slideDown
()
},
function
()
{
$
(
'.'
+
ele2
).
stop
().
slideUp
()
})
}
}
};
};
if
(
typeof
define
===
"function"
&&
define
.
amd
)
{
if
(
typeof
define
===
"function"
&&
define
.
amd
)
{
...
...
dist/js/index/search.js
View file @
a4eb7158
...
@@ -4,6 +4,8 @@ $(function () {
...
@@ -4,6 +4,8 @@ $(function () {
type
:
$
(
'#type'
).
val
()
||
''
||
""
,
type
:
$
(
'#type'
).
val
()
||
''
||
""
,
time
:
$
(
'#time'
).
val
()
||
''
||
""
,
time
:
$
(
'#time'
).
val
()
||
''
||
""
,
init
:
function
()
{
init
:
function
()
{
Util
.
showOrHideQrcode
(
'xcx_btn'
,
'xcx_qrcode'
);
Util
.
showOrHideQrcode
(
'app_btn'
,
'app_qrcode'
);
this
.
bindFun
();
this
.
bindFun
();
this
.
renderPage
()
this
.
renderPage
()
},
},
...
...
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