Commit 9b8b1a50 by 施宇

1111

parent e75acfb6
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
<div class="fr"> <div class="fr">
<div class="fl fw_desc"> <div class="fl fw_desc">
<p> <p>
<span>服务时间:<i>9:00-22:00</i></span> <span>服务时间:<i>9:00-18:00</i></span>
&nbsp; &nbsp; &nbsp; &nbsp;
<span>联系电话:<i>400-888-1688</i></span> <span>联系电话:<i>0755-23940717</i></span>
</p> </p>
<h5>copyright &#169; 2019 www.ICsales.com</h5> <h5>copyright &#169; 2019 www.ICsales.com</h5>
......
<foreach name="get_url_info" item="v" > <foreach name="get_url_info" item="v">
<input type="hidden" id="{$key}" value="{$v}"> <input type="hidden" id="{$key}" value="{$v}">
</foreach> </foreach>
<div class="index_header"> <div class="index_header">
...@@ -7,13 +7,23 @@ ...@@ -7,13 +7,23 @@
<img src="__PUBLIC__/images/navlogo.png" alt="芯掌柜" class="fl public_img"> <img src="__PUBLIC__/images/navlogo.png" alt="芯掌柜" class="fl public_img">
<div class="text fl public_text"> <div class="text fl public_text">
<h3 class="bold">芯掌柜</h3> <h3 class="bold">芯掌柜</h3>
<p>询报价更轻松、便捷</p> <p>元器件询报价更便捷</p>
</div> </div>
</div> </div>
<div class="fr btn_group"> <div class="fr btn_group">
<div class="fl btn btn_blue">小程序</div> <div class="fl btn btn_blue xcx_btn">
<div class="fl btn btn_yellow">网页版</div> 小程序
</div>
<div class="fl btn btn_blue app_btn">APP</div>
<div class="fl btn btn_yellow web_btn">网页版</div>
<div class="pull_qrcode xcx_qrcode header_qrcode">
<img src="__PUBLIC__/images/xcx.png" alt="">
<p>微信小程序</p>
</div>
<div class="pull_qrcode header_qrcode app_qrcode">
<img src="__PUBLIC__/images/xcx.png" alt="">
<p>扫描下载APP</p>
</div>
</div> </div>
</div> </div>
</div> </div>
\ No newline at end of file
...@@ -488,11 +488,21 @@ body { ...@@ -488,11 +488,21 @@ body {
} }
.index_wrapper .index_header .header_content .btn_group { .index_wrapper .index_header .header_content .btn_group {
margin-top: 10px; margin-top: 10px;
position: relative;
} }
.index_wrapper .index_header .header_content .btn_group div { .index_wrapper .index_header .header_content .btn_group div {
width: 120px; width: 120px;
margin-right: 20px; margin-right: 20px;
} }
.index_wrapper .index_header .header_content .header_qrcode {
width: 120px;
position: absolute;
top: 50px;
box-shadow: 0px 6px 14px 0px rgba(173, 182, 191, 0.5);
}
.index_wrapper .index_header .header_content .header_qrcode.app_qrcode {
left: 140px;
}
.index_wrapper .index_footer { .index_wrapper .index_footer {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
...@@ -534,6 +544,21 @@ body { ...@@ -534,6 +544,21 @@ body {
text-align: center; text-align: center;
margin-top: 5px; margin-top: 5px;
} }
.pull_qrcode {
display: none;
height: 130px;
background-color: #fff;
font-size: 12px;
color: #ADB6BF;
text-align: center;
}
.pull_qrcode img {
width: 80px;
margin-top: 14px;
}
.pull_qrcode p {
margin-top: 7px;
}
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
.pc_wrapper { .pc_wrapper {
display: none; display: none;
......
...@@ -283,7 +283,7 @@ body { ...@@ -283,7 +283,7 @@ body {
background: rgba(234, 173, 55, 0.9); background: rgba(234, 173, 55, 0.9);
box-shadow: 0px 2px 9px 0px rgba(242, 191, 97, 0.5); box-shadow: 0px 2px 9px 0px rgba(242, 191, 97, 0.5);
position: fixed; position: fixed;
top:160px; top: 160px;
right: 20px; right: 20px;
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
...@@ -371,18 +371,21 @@ body { ...@@ -371,18 +371,21 @@ body {
margin-top: 12px; margin-top: 12px;
padding-bottom: 15px; padding-bottom: 15px;
border-bottom: 1px solid #F5F9FC; border-bottom: 1px solid #F5F9FC;
line-height:20px; line-height: 20px;
.price { .price {
color: #EA1717; color: #EA1717;
font-size: 14px; font-size: 14px;
font-weight: 600; font-weight: 600;
} }
.xjNum{
.xjNum {
color: #EAA217; color: #EAA217;
font-size: 14px; font-size: 14px;
font-weight: 600; font-weight: 600;
} }
.xj0{
.xj0 {
color: #61A0F2; color: #61A0F2;
font-size: 14px; font-size: 14px;
font-weight: 600; font-weight: 600;
...@@ -401,7 +404,7 @@ body { ...@@ -401,7 +404,7 @@ body {
div { div {
color: #ADB6BF; color: #ADB6BF;
line-height:16px; line-height: 16px;
&.total, &.total,
&.date { &.date {
...@@ -501,12 +504,15 @@ body { ...@@ -501,12 +504,15 @@ body {
color: #fff; color: #fff;
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
&.btn_blue{
&.btn_blue {
background-color: #0D84D1; background-color: #0D84D1;
&:hover{
&:hover {
background-color: #61A0F2 !important; background-color: #61A0F2 !important;
} }
} }
&.btn_48 { &.btn_48 {
height: 48px; height: 48px;
line-height: 48px; line-height: 48px;
...@@ -523,7 +529,8 @@ body { ...@@ -523,7 +529,8 @@ body {
&.btn_yellow { &.btn_yellow {
background-color: #EAAD37; background-color: #EAAD37;
&:hover{
&:hover {
background-color: #F2BF61 !important; background-color: #F2BF61 !important;
} }
} }
...@@ -601,12 +608,25 @@ body { ...@@ -601,12 +608,25 @@ body {
.btn_group { .btn_group {
margin-top: 10px; margin-top: 10px;
position: relative;
div { div {
width: 120px; width: 120px;
margin-right: 20px; margin-right: 20px;
} }
} }
.header_qrcode {
width: 120px;
position: absolute;
top: 50px;
box-shadow: 0px 6px 14px 0px rgba(173, 182, 191, 0.5);
&.app_qrcode {
left: 140px;
}
}
} }
} }
...@@ -664,6 +684,24 @@ body { ...@@ -664,6 +684,24 @@ body {
} }
} }
.pull_qrcode {
display: none;
height: 130px;
background-color: #fff;
font-size: 12px;
color: #ADB6BF;
text-align: center;
img {
width: 80px;
width: 80px;
margin-top: 14px;
}
p {
margin-top: 7px;
}
}
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
.pc_wrapper { .pc_wrapper {
...@@ -684,7 +722,8 @@ body { ...@@ -684,7 +722,8 @@ body {
display: none; display: none;
} }
} }
.layui-icon-refresh{
.layui-icon-refresh {
display: none !important; display: none !important;
} }
......
...@@ -21,3 +21,6 @@ ...@@ -21,3 +21,6 @@
.edit_div { .edit_div {
background: #eaad37; background: #eaad37;
} }
.mobile_wrapper {
display: none;
}
...@@ -24,4 +24,7 @@ ...@@ -24,4 +24,7 @@
} }
.edit_div{ .edit_div{
background:rgb(234,173,55); background:rgb(234,173,55);
}
.mobile_wrapper{
display: none;
} }
\ No newline at end of file
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
top: 149px; top: 149px;
right: 65px; right: 65px;
font-size: 14px; font-size: 14px;
background-color: #ADB6BF; background-color: #2E3033;
border-radius: 4px; border-radius: 4px;
text-align: left; text-align: left;
padding-left: 54px; padding-left: 54px;
...@@ -150,6 +150,7 @@ ...@@ -150,6 +150,7 @@
} }
.index_content .top_section .search_section .lb_div .lb_div_content .lb_item .btn_div.android { .index_content .top_section .search_section .lb_div .lb_div_content .lb_item .btn_div.android {
top: 217px; top: 217px;
background-color: #5BCC52;
} }
.index_content .top_section .search_section .lb_div .lb_div_content .lb_item .btn_div span { .index_content .top_section .search_section .lb_div .lb_div_content .lb_item .btn_div span {
position: absolute; position: absolute;
...@@ -162,16 +163,38 @@ ...@@ -162,16 +163,38 @@
margin: 0; margin: 0;
} }
.index_content .top_section .search_section .lb_div .lb_div_content .lb_item .btn_div p.phone_type { .index_content .top_section .search_section .lb_div .lb_div_content .lb_item .btn_div p.phone_type {
font-size: 12px; font-size: 14px;
margin-top: 8px; margin-top: 8px;
} }
.index_content .top_section .search_section .lb_div .lb_div_content .lb_item .btn_div p.text { .index_content .top_section .search_section .lb_div .lb_div_content .lb_item .btn_div p.text {
font-size: 13px; font-size: 12px;
opacity: .65;
} }
.index_content .top_section .search_section .lb_div .lb_div_content .lb_item img { .index_content .top_section .search_section .lb_div .lb_div_content .lb_item img {
height: 100%; height: 100%;
width: 100%; width: 100%;
} }
.index_content .top_section .search_section .lb_div .lb_div_content .lb_item .rj_qrcode {
width: 140px;
position: absolute;
right: 65px;
z-index: 999;
}
.index_content .top_section .search_section .lb_div .lb_div_content .lb_item .rj_qrcode.ios_qrcode {
top: 197px;
}
.index_content .top_section .search_section .lb_div .lb_div_content .lb_item .rj_qrcode.android_qrcode {
top: 265px;
}
.index_content .top_section .search_section .lb_div .lb_div_content .lb_item .rj_qrcode img {
height: 80px;
width: 80px;
}
.index_content .top_section .search_section .lb_div .lb_div_content .lb_item .rj_qrcode p {
font-size: 12px;
color: #ADB6BF;
margin-top: 7px;
}
.index_content .jy_div { .index_content .jy_div {
text-align: center; text-align: center;
padding-bottom: 100px; padding-bottom: 100px;
...@@ -183,7 +206,7 @@ ...@@ -183,7 +206,7 @@
.index_content .jy_div .w_yuan { .index_content .jy_div .w_yuan {
background-color: rgba(234, 162, 23, 0.2); background-color: rgba(234, 162, 23, 0.2);
top: 79px; top: 79px;
left: 345px; left: 383px;
} }
.index_content .jy_div p { .index_content .jy_div p {
color: #8A9299; color: #8A9299;
...@@ -220,7 +243,7 @@ ...@@ -220,7 +243,7 @@
} }
.index_content .hz_div { .index_content .hz_div {
text-align: center; text-align: center;
padding-bottom: 100px; padding-bottom: 60px;
background: linear-gradient(180deg, #f5f9fc 0%, rgba(253, 254, 255, 0) 100%); background: linear-gradient(180deg, #f5f9fc 0%, rgba(253, 254, 255, 0) 100%);
} }
.index_content .hz_div .width_1190 { .index_content .hz_div .width_1190 {
...@@ -236,6 +259,7 @@ ...@@ -236,6 +259,7 @@
color: #8A9299; color: #8A9299;
font-size: 16px; font-size: 16px;
margin-top: 25px; margin-top: 25px;
line-height: 200%;
} }
.index_content .hz_div .hz_list { .index_content .hz_div .hz_list {
width: 984px; width: 984px;
...@@ -248,6 +272,23 @@ ...@@ -248,6 +272,23 @@
height: 80px; height: 80px;
width: 166px; width: 166px;
} }
.index_content .hz_div .about_us_qrcode {
width: 984px;
margin: 60px auto 0;
}
.index_content .hz_div .about_us_qrcode .qrcode {
display: inline-block;
margin-left: 140px;
}
.index_content .hz_div .about_us_qrcode .qrcode img {
width: 120px;
height: 120px;
}
.index_content .hz_div .about_us_qrcode .qrcode p {
margin-top: 16px;
font-size: 14px;
color: #ADB6BF;
}
.mobile_wrapper .mobile_h3_common { .mobile_wrapper .mobile_h3_common {
font-size: 6vw; font-size: 6vw;
color: #2E3033; color: #2E3033;
...@@ -268,6 +309,9 @@ ...@@ -268,6 +309,9 @@
background-color: #fff; background-color: #fff;
margin: 1.78571429vw; margin: 1.78571429vw;
} }
.mobile_wrapper .mobile_top {
padding-bottom: 14.28571429vw;
}
.mobile_wrapper .mobile_top .mobile_top_text { .mobile_wrapper .mobile_top .mobile_top_text {
padding-top: 11.42857143vw; padding-top: 11.42857143vw;
text-align: center; text-align: center;
...@@ -290,16 +334,16 @@ ...@@ -290,16 +334,16 @@
padding: 10.71428571vw 0; padding: 10.71428571vw 0;
} }
.mobile_wrapper .mobile_top .mobile_top_text .lb_nav span { .mobile_wrapper .mobile_top .mobile_top_text .lb_nav span {
border: 1px solid #D8DFE6; background-color: #D8DFE6;
color: #8A9299; color: #8A9299;
font-size: 3.14285714vw; font-size: 3.14285714vw;
padding: 0.57142857vw 3.85714286vw; padding: 0.85714286vw 3.85714286vw;
border-radius: 2.85714286vw; border-radius: 2.85714286vw;
margin-right: 2.85714286vw; margin-right: 2.85714286vw;
} }
.mobile_wrapper .mobile_top .mobile_top_text .lb_nav span.active { .mobile_wrapper .mobile_top .mobile_top_text .lb_nav span.active {
border: 1px solid #0D84D1; color: #fff;
color: #0D84D1; background-color: #0D84D1;
} }
.mobile_wrapper .mobile_top .mobile_top_text .lb_div { .mobile_wrapper .mobile_top .mobile_top_text .lb_div {
position: relative; position: relative;
...@@ -343,7 +387,7 @@ ...@@ -343,7 +387,7 @@
.mobile_wrapper .jy_div .w_yuan { .mobile_wrapper .jy_div .w_yuan {
background-color: rgba(234, 162, 23, 0.2); background-color: rgba(234, 162, 23, 0.2);
top: 12.14285714vw; top: 12.14285714vw;
left: 11.42857143vw; left: 14.28571429vw;
} }
.mobile_wrapper .jy_div .mobile_h3_common { .mobile_wrapper .jy_div .mobile_h3_common {
padding: 13.57142857vw 0 5vw; padding: 13.57142857vw 0 5vw;
...@@ -389,7 +433,7 @@ ...@@ -389,7 +433,7 @@
.mobile_wrapper .hz_div .w_yuan { .mobile_wrapper .hz_div .w_yuan {
background-color: rgba(13, 132, 209, 0.2); background-color: rgba(13, 132, 209, 0.2);
top: 12vw; top: 12vw;
right: 35vw; right: 33.57142857vw;
} }
.mobile_wrapper .hz_div .mobile_h3_common { .mobile_wrapper .hz_div .mobile_h3_common {
padding: 13.57142857vw 0 5vw; padding: 13.57142857vw 0 5vw;
...@@ -397,7 +441,8 @@ ...@@ -397,7 +441,8 @@
.mobile_wrapper .hz_div p { .mobile_wrapper .hz_div p {
color: #8A9299; color: #8A9299;
font-size: 3.42857143vw; font-size: 3.42857143vw;
padding: 0 5vw; padding: 0 2.85714286vw;
line-height: 200%;
} }
.mobile_wrapper .hz_div .hz_list { .mobile_wrapper .hz_div .hz_list {
margin: 2.85714286vw 8.57142857vw; margin: 2.85714286vw 8.57142857vw;
...@@ -443,4 +488,79 @@ ...@@ -443,4 +488,79 @@
.mobile_wrapper .bottom_section .bottom_bottom img.wb { .mobile_wrapper .bottom_section .bottom_bottom img.wb {
margin-left: 11.85714286vw; margin-left: 11.85714286vw;
} }
/*# sourceMappingURL=index.css.map */ .mobile_wrapper .bottom_fixed {
\ No newline at end of file position: fixed;
height: 14.28571429vw;
bottom: 0;
left: 0;
right: 0;
overflow: hidden;
z-index: 9999;
}
.mobile_wrapper .bottom_fixed .bottom_fixed_div {
position: absolute;
top: 0;
width: 300vw;
bottom: 0;
left: 0;
transition: all 0.4s ease-out;
-ms-transition: all 0.4s ease-out;
/* IE 9 */
-moz-transition: all 0.4s ease-out;
/* Firefox */
-webkit-transition: all 0.4s ease-out;
/* Safari 和 Chrome */
-o-transition: all 0.4s ease-out;
/* Opera */
}
.mobile_wrapper .bottom_fixed .bottom_fixed_div .fixed_item {
height: 100%;
width: 100vw;
font-size: 4vw;
text-align: center;
}
.mobile_wrapper .bottom_fixed .bottom_fixed_div .fixed_item.xcx_item {
background-color: #5BCC52;
line-height: 14.28571429vw;
color: #fff;
}
.mobile_wrapper .bottom_fixed .bottom_fixed_div .fixed_item.xcx_item img {
height: 7.14285714vw;
width: 7.14285714vw;
margin-right: 1.71428571vw;
}
.mobile_wrapper .bottom_fixed .bottom_fixed_div .fixed_item.xcx_item span {
vertical-align: middle;
}
.mobile_wrapper .bottom_fixed .bottom_fixed_div .fixed_item.app_item {
color: #fff;
text-align: left;
}
.mobile_wrapper .bottom_fixed .bottom_fixed_div .fixed_item.app_item .app_item_div {
width: 50%;
height: 100%;
position: relative;
padding-left: 22.57142857vw;
box-sizing: border-box;
}
.mobile_wrapper .bottom_fixed .bottom_fixed_div .fixed_item.app_item .app_item_div.ios_item {
background-color: #2E3033;
}
.mobile_wrapper .bottom_fixed .bottom_fixed_div .fixed_item.app_item .app_item_div.android_item {
background-color: #5BCC52;
}
.mobile_wrapper .bottom_fixed .bottom_fixed_div .fixed_item.app_item .app_item_div .icon {
position: absolute;
left: 10vw;
font-size: 6.85714286vw;
top: 50%;
transform: translateY(-50%);
}
.mobile_wrapper .bottom_fixed .bottom_fixed_div .fixed_item.app_item .app_item_div .phone_type {
font-size: 4vw;
padding-top: 2.85714286vw;
}
.mobile_wrapper .bottom_fixed .bottom_fixed_div .fixed_item.app_item .app_item_div .text {
font-size: 2.85714286vw;
opacity: .65;
}
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
top: 149px; top: 149px;
right: 65px; right: 65px;
font-size: 14px; font-size: 14px;
background-color: #ADB6BF; background-color: #2E3033;
border-radius: 4px; border-radius: 4px;
text-align: left; text-align: left;
padding-left: 54px; padding-left: 54px;
...@@ -171,6 +171,7 @@ ...@@ -171,6 +171,7 @@
&.android { &.android {
top: 217px; top: 217px;
background-color: #5BCC52;
} }
span { span {
...@@ -186,15 +187,17 @@ ...@@ -186,15 +187,17 @@
margin: 0; margin: 0;
&.phone_type { &.phone_type {
font-size: 12px; font-size: 14px;
margin-top: 8px; margin-top: 8px;
} }
&.text { &.text {
font-size: 13px; font-size: 12px;
opacity: .65;
} }
} }
} }
img { img {
...@@ -202,6 +205,32 @@ ...@@ -202,6 +205,32 @@
width: 100%; width: 100%;
} }
.rj_qrcode {
width: 140px;
position: absolute;
right: 65px;
z-index: 999;
&.ios_qrcode {
top: 197px;
}
&.android_qrcode {
top: 265px;
}
img {
height: 80px;
width: 80px;
}
p {
font-size: 12px;
color: #ADB6BF;
margin-top: 7px;
}
}
} }
} }
...@@ -222,7 +251,7 @@ ...@@ -222,7 +251,7 @@
.w_yuan { .w_yuan {
background-color: rgba(234, 162, 23, .2); background-color: rgba(234, 162, 23, .2);
top: 79px; top: 79px;
left: 345px; left: 383px;
} }
p { p {
...@@ -271,7 +300,7 @@ ...@@ -271,7 +300,7 @@
.hz_div { .hz_div {
text-align: center; text-align: center;
padding-bottom: 100px; padding-bottom: 60px;
background: linear-gradient(180deg, rgba(245, 249, 252, 1) 0%, rgba(253, 254, 255, 0) 100%); background: linear-gradient(180deg, rgba(245, 249, 252, 1) 0%, rgba(253, 254, 255, 0) 100%);
.width_1190 { .width_1190 {
...@@ -289,6 +318,7 @@ ...@@ -289,6 +318,7 @@
color: #8A9299; color: #8A9299;
font-size: 16px; font-size: 16px;
margin-top: 25px; margin-top: 25px;
line-height: 200%;
} }
.hz_list { .hz_list {
...@@ -304,6 +334,27 @@ ...@@ -304,6 +334,27 @@
} }
} }
} }
.about_us_qrcode {
width: 984px;
margin: 60px auto 0;
.qrcode {
display: inline-block;
margin-left: 140px;
img {
width: 120px;
height: 120px;
}
p {
margin-top: 16px;
font-size: 14px;
color: #ADB6BF;
}
}
}
} }
} }
...@@ -335,6 +386,8 @@ ...@@ -335,6 +386,8 @@
} }
.mobile_top { .mobile_top {
padding-bottom: 100vw/@fixedNum;
.mobile_top_text { .mobile_top_text {
padding-top: 80vw/@fixedNum; padding-top: 80vw/@fixedNum;
text-align: center; text-align: center;
...@@ -362,16 +415,16 @@ ...@@ -362,16 +415,16 @@
.lb_nav { .lb_nav {
span { span {
border: 1px solid #D8DFE6; background-color: #D8DFE6;
color: #8A9299; color: #8A9299;
font-size: 22vw/@fixedNum; font-size: 22vw/@fixedNum;
padding: 4vw/@fixedNum 27vw/@fixedNum; padding: 6vw/@fixedNum 27vw/@fixedNum;
border-radius: 20vw/@fixedNum; border-radius: 20vw/@fixedNum;
margin-right: 20vw/@fixedNum; margin-right: 20vw/@fixedNum;
&.active { &.active {
border: 1px solid #0D84D1; color: #fff;
color: #0D84D1; background-color: #0D84D1
} }
} }
} }
...@@ -430,7 +483,7 @@ ...@@ -430,7 +483,7 @@
.w_yuan { .w_yuan {
background-color: rgba(234, 162, 23, .2); background-color: rgba(234, 162, 23, .2);
top: 85vw/@fixedNum; top: 85vw/@fixedNum;
left: 80vw/@fixedNum; left: 100vw/@fixedNum;
} }
.mobile_h3_common { .mobile_h3_common {
...@@ -468,7 +521,7 @@ ...@@ -468,7 +521,7 @@
font-size: 24vw/@fixedNum; font-size: 24vw/@fixedNum;
color: #ADB6BF; color: #ADB6BF;
margin-top: 7px; margin-top: 7px;
text-align: left; text-align: left
} }
} }
...@@ -488,7 +541,7 @@ ...@@ -488,7 +541,7 @@
.w_yuan { .w_yuan {
background-color: rgba(13, 132, 209, .2); background-color: rgba(13, 132, 209, .2);
top: 84vw/@fixedNum; top: 84vw/@fixedNum;
right: 245vw/@fixedNum; right: 235vw/@fixedNum;
} }
.mobile_h3_common { .mobile_h3_common {
...@@ -498,7 +551,8 @@ ...@@ -498,7 +551,8 @@
p { p {
color: #8A9299; color: #8A9299;
font-size: 24vw/@fixedNum; font-size: 24vw/@fixedNum;
padding: 0 35vw/@fixedNum; padding: 0 20vw/@fixedNum;
line-height: 200%;
} }
.hz_list { .hz_list {
...@@ -518,39 +572,129 @@ ...@@ -518,39 +572,129 @@
} }
} }
} }
.bottom_section{
margin:0 20vw/@fixedNum; .bottom_section {
padding-bottom:60vw/@fixedNum; margin: 0 20vw/@fixedNum;
border-top:1px solid #E6ECF2; padding-bottom: 60vw/@fixedNum;
border-top: 1px solid #E6ECF2;
font-size: 24vw/@fixedNum; font-size: 24vw/@fixedNum;
color:#ADB6BF; color: #ADB6BF;
text-align: center; text-align: center;
.bottom_top{
margin-top:32vw/@fixedNum; .bottom_top {
i{ margin-top: 32vw/@fixedNum;
color:#686E73;
i {
color: #686E73;
} }
.phone{
margin-left:40vw/@fixedNum; .phone {
margin-left: 40vw/@fixedNum;
} }
} }
.bottom_center{
.bottom_center {
font-size: 22vw/@fixedNum; font-size: 22vw/@fixedNum;
margin-top:12vw/@fixedNum; margin-top: 12vw/@fixedNum;
} }
.bottom_bottom{
margin-top:50vw/@fixedNum; .bottom_bottom {
img{ margin-top: 50vw/@fixedNum;
height:80vw/@fixedNum;
width:80vw/@fixedNum; img {
&.wb{ height: 80vw/@fixedNum;
margin-left:83vw/@fixedNum; width: 80vw/@fixedNum;
&.wb {
margin-left: 83vw/@fixedNum;
} }
} }
} }
} }
.bottom_fixed {
position: fixed;
height: 100vw/@fixedNum;
bottom: 0;
left: 0;
right: 0;
overflow: hidden;
z-index: 9999;
.bottom_fixed_div {
position: absolute;
top: 0;
width: 300vw;
bottom: 0;
left: 0;
transition: all .4s ease-out;
-ms-transition: all .4s ease-out;
/* IE 9 */
-moz-transition: all .4s ease-out;
/* Firefox */
-webkit-transition: all .4s ease-out;
/* Safari 和 Chrome */
-o-transition: all .4s ease-out;
/* Opera */
.fixed_item {
height: 100%;
width: 100vw;
font-size: 28vw/@fixedNum;
text-align: center;
&.xcx_item {
background-color: #5BCC52;
line-height: 100vw/@fixedNum;
color: #fff;
img {
height: 50vw/@fixedNum;
width: 50vw/@fixedNum;
margin-right: 12vw/@fixedNum
}
span {
vertical-align: middle;
}
}
&.app_item {
color: #fff;
text-align: left;
.app_item_div {
width: 50%;
height: 100%;
position: relative;
padding-left:158vw/@fixedNum;
box-sizing: border-box;
&.ios_item {
background-color: #2E3033
}
&.android_item {
background-color: #5BCC52
}
.icon{
position: absolute;
left:70vw/@fixedNum;
font-size: 48vw/@fixedNum;
top:50%;
transform: translateY(-50%);
}
.phone_type{
font-size: 28vw/@fixedNum;
padding-top:20vw/@fixedNum;
}
.text{
font-size: 20vw/@fixedNum;
opacity: .65;
}
}
}
}
}
}
} }
\ No newline at end of file
...@@ -90,7 +90,7 @@ $(function () { ...@@ -90,7 +90,7 @@ $(function () {
userName: name, userName: name,
targetId: id, targetId: id,
userImg: userImg, userImg: userImg,
touserid: Util.getCookie('user_id') || "" touserid:id
}; };
Util.setCookie('templateBoolean', '1', 1, cookieHostname) Util.setCookie('templateBoolean', '1', 1, cookieHostname)
Util.setCookie('template', JSON.stringify(obj), 1, cookieHostname) Util.setCookie('template', JSON.stringify(obj), 1, cookieHostname)
......
$(function () { $(function () {
var inquiryDetail = { var inquiryDetail = {
isClick: true, isClick: true,
info: "",
init: function () { init: function () {
this.getUserData(); this.getUserData();
this.getBjData(1); this.getBjData(1);
this.bindFun(); this.bindFun();
}, },
getUserData: function () { getUserData: function () {
var me = this;
IcController.getData(apis.inquiryInfo, 'GET', { IcController.getData(apis.inquiryInfo, 'GET', {
"inquiry_items_id/eq": Util.getRequest('id') || "", "inquiry_items_id/eq": Util.getRequest('id') || "",
"token": Util.getCookie('token') || "" "token": Util.getCookie('token') || ""
...@@ -14,6 +16,7 @@ $(function () { ...@@ -14,6 +16,7 @@ $(function () {
var getNav = navTpl.innerHTML, var getNav = navTpl.innerHTML,
getDetail = detailTpl.innerHTML; getDetail = detailTpl.innerHTML;
if (res.errcode == 0) { if (res.errcode == 0) {
me.info = res.inquiry_list[Util.getRequest('id') || ''];
layui.laytpl(getNav).render(res.inquiry_list[Util.getRequest('id') || ''], function (html) { layui.laytpl(getNav).render(res.inquiry_list[Util.getRequest('id') || ''], function (html) {
$(".inquiry_detail_content .nav_title").empty().html(html); $(".inquiry_detail_content .nav_title").empty().html(html);
}); });
...@@ -83,17 +86,26 @@ $(function () { ...@@ -83,17 +86,26 @@ $(function () {
id = $(this).attr('userid'), id = $(this).attr('userid'),
userImg = $(this).attr('avatar'), userImg = $(this).attr('avatar'),
parent = $(this).parents('.bj_item'), parent = $(this).parents('.bj_item'),
type = parent.find('.goods_name').text(), type,
price = parent.find('.price').text(), price,
brand = parent.find('.brand').find('span').text(), brand,
fz = parent.find('.fz').find('span').text(), fz,
num = parent.find('.num').find('span').text(), num,
hq = parent.find('.hq').find('span').text(), hq,
time = parent.find('.time').find('span').text(), time,
img = $('.xj_img').attr('src'), img,
name = parent.find('.name').text(), name = parent.find('.name').text();
if (self.info) {
obj = { type = self.info.goods_name;
price = self.info.currency == 1 ? '¥' + self.info.price : '$' + self.info.price;
brand = self.info.brand_name;
fz = self.info.encap;
num = self.info.number + '';
hq = self.info.delivery_time;
time = $('.nav_title .fr').text();
img = self.info.goods_images || ''
};
var obj = {
userId: userId, userId: userId,
type: type, type: type,
price: price, price: price,
...@@ -104,13 +116,18 @@ $(function () { ...@@ -104,13 +116,18 @@ $(function () {
time: time, time: time,
goodImage: img, goodImage: img,
userName: name, userName: name,
targetId:id, targetId: id,
userImg:userImg, userImg: userImg,
touserid: Util.getCookie('user_id') || "" touserid:id
}; };
Util.setCookie('templateBoolean', '1', 1, cookieHostname) if (!self.info) {
Util.setCookie('template', JSON.stringify(obj), 1, cookieHostname) return;
window.location.href = '/chat' } else {
console.log(obj)
Util.setCookie('templateBoolean', '1', 1, cookieHostname)
Util.setCookie('template', JSON.stringify(obj), 1, cookieHostname)
window.location.href = '/chat'
}
} else { } else {
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment