| @@ -92,9 +92,9 @@ class Command(CompatibilityBaseCommand): | ||
| 92 | 92 | sendcustomwxamessage( | 
| 93 | 93 | openid=user.openid, | 
| 94 | 94 | miniappid='wx02c3038b13008270', | 
| 95 | - pagepath='/pages/index/index', | |
| 95 | + pagepath='/pages/index/index?openCard=1', | |
| 96 | 96 | thumb_media_id=u'xizg0MLt4x4jSJ38mTpf4dzINBqOMwVbfe3DoNFZ1BoqJ9iVyhGk_dvqwVIHcvlo', | 
| 97 | - title=u'测试一下' | |
| 97 | + title=u'申请电子保修卡' | |
| 98 | 98 | ) | 
| 99 | 99 |  | 
| 100 | 100 | close_old_connections() | 
| @@ -0,0 +1,88 @@ | ||
| 1 | +@charset "UTF-8"; | |
| 2 | +/* CSS Document */ | |
| 3 | +body{margin:0;padding:0;font:10pt Arial,sans-serif ;color:#333;background:url(../img/bg.jpg) center top no-repeat | |
| 4 | +fixed;} | |
| 5 | +div,span,ul,ol,li,p,input,h1,h2,h3,h4{margin: 0;padding: 0} | |
| 6 | +img{border: none;} | |
| 7 | +a{text-decoration:none} | |
| 8 | +ul,ol,li{ list-style-type:none} | |
| 9 | +h1{font-size:16pt;display: inline-block;} | |
| 10 | +h2{font-size:12pt;display: inline-block;} | |
| 11 | + | |
| 12 | + | |
| 13 | +#focus{width:100%;height:600px;float:left;} | |
| 14 | +#focus .box{width:1000px;height:0;margin: 0 auto;position:relative;} | |
| 15 | +#focus .box h1{position: absolute;left:0;top:160px;z-index: 1;border: 10px solid | |
| 16 | +#fff;font-weight:bold;font-size:50pt;color:#fff;padding:30px;display: block;transform:width 1s;-moz-transition:width 1s; | |
| 17 | +-webkit-transition:width 1s;-o-transition:width 1s;} | |
| 18 | +#focus .box .logo{position: absolute;left:0px;top:200px;z-index: 2;width:450px;height:127px;background: | |
| 19 | +url(../img/logo.svg) left center no-repeat} | |
| 20 | +#focus img{width:1000px;height:600px;} | |
| 21 | +#focus li{float:left;display:inline;width:1000px;height:600px;overflow: hidden;} | |
| 22 | +#focus h1{width:auto} | |
| 23 | +#old_member ,#new_member ,#social ,#mbs_point {width:100%;float:left;background:#fff;transform:opacity | |
| 24 | +1s;-moz-transition:opacity 1s; -webkit-transition:opacity 1s;-o-transition:opacity 1s; z-index: 1;} | |
| 25 | +#mbs_point{background:#f5f5f5;} | |
| 26 | +#old_member:hover ,#new_member:hover ,#social:hover ,#mbs_point:hover{opacity: 0.95;} | |
| 27 | +#old_member .box ,#new_member .box ,#social .box ,#mbs_point .box{width:1000px;margin:0px auto;} | |
| 28 | +#old_member .content ,#new_member .content ,#mbs_point .content{width:100%;float:left;margin:50px 0;position: relative} | |
| 29 | +#old_member .content p ,#new_member .content p ,#mbs_point p{width:100%;float:left;line-height:30px;word-break: | |
| 30 | +break-word;word-wrap: break-word;margin:10px 0;display:inline-block} | |
| 31 | +#new_member .content p{width:850px;margin:0 0 50px 0} | |
| 32 | +#new_member .content .qr{width:150px;background:url(../img/qr.svg) top right no-repeat;padding:160px 0 0 0;float: | |
| 33 | +left;text-align: center;} | |
| 34 | +#new_member .content ol ,#new_member .content ul ,#old_member .content ul ,#mbs_point .content ul | |
| 35 | +{width:100%;margin:0 ;padding:0 0 10px 0;float: left;display:inline-block} | |
| 36 | +#old_member .content ul li ,#new_member .content ul li ,#mbs_point .content ul li{width:100%;line-height:30px;} | |
| 37 | +#new_member .content ol li{width:97%;padding:0 0 0 3% ;color:#333;line-height:30px;} | |
| 38 | +#focus .content .tips ,#new_member .content .tips ,#new_member .content .tips ,#old_member .content .tips ,#mbs_point .content .tips{font-size:9pt;color:#666;line-height:26px} | |
| 39 | +#old_member .content ul li .text_right{width:100%;text-align: right;float: left;} | |
| 40 | +#new_member h2{width:97%;height:24px;margin:20px 0 0 0;padding:0 0 0 3%;float:left;line-height:24px; -ms-background-position-x:-486px;-ms-background-position-y:0px;} | |
| 41 | +.yanbao{background:url(../img/yanbao_icon.svg) left top no-repeat; } | |
| 42 | +.weixiurengongfei{background: url(../img/weixiurengongfei_icon.svg) left top no-repeat;} | |
| 43 | +.yiwaiweixiuquan{background: url(../img/yiwaiweixiuquan_icon.svg) left top no-repeat;} | |
| 44 | +.waiguanqingjie{background: url(../img/waiguanqingjie_icon.svg) left top no-repeat;} | |
| 45 | +.mianfeitiaojiao{background: url(../img/mianfeitiaojiao_icon.svg) left top no-repeat;} | |
| 46 | +.gujianshengji{background: url(../img/gujianshengji_icon.svg) left top no-repeat;} | |
| 47 | +.shenduqingjie{background: url(../img/shenduqingjie_icon.svg) left top no-repeat;} | |
| 48 | +.jifenzengzhi{background: url(../img/jifenzengzhi_icon.svg) left top no-repeat;} | |
| 49 | +.huodongyaoyue{background: url(../img/huodongyaoyue_icon.svg) left top no-repeat;} | |
| 50 | +.zhuanxiangliyu{background: url(../img/zhuanxiangliyu_icon.svg) left top no-repeat;} | |
| 51 | +.zhuanshulipin{background: url(../img/zhuanshulipin_icon.svg) left top no-repeat;} | |
| 52 | +#new_member h1 ,#old_member h1 ,#mbs_point h1{width:100%;margin:30px 0 0 0;} | |
| 53 | +#mbs_point h2{width:100%;margin:20px 0 0 0} | |
| 54 | +#old_member .content ul li a,#new_member .content ul li a ,#mbs_point .content ul li a{color:#0967B2} | |
| 55 | +#old_member .content ul li a:hover ,#new_member .content ul li a:hover ,#mbs_point .content ul li | |
| 56 | +a:hover{text-decoration: underline;} | |
| 57 | +#new_member table ,#mbs_point table{border-left:1px solid #ddd;border-top:1px solid #ddd;width:100%;float:left} | |
| 58 | +#new_member table tr td ,#mbs_point table tr td{border-right:1px solid #ddd;border-bottom:1px solid #ddd;text-align: | |
| 59 | +center;line-height: 20px;padding:10px 0} | |
| 60 | +#new_member table .title_bg ,#mbs_point table .title_bg {background:#efefef;font-weight:bold} | |
| 61 | +.goods_img{width:1000px;background:url(../img/goods.jpg) center center no-repeat;height:400px;} | |
| 62 | +.goods_img2{width:1000px;background:url(../img/goods2.jpg) center center no-repeat;height:400px;} | |
| 63 | +#social .content{width:100%;float:left;margin: 25px 0} | |
| 64 | +#social ul{width: 100%;float: left} | |
| 65 | +#social ul li{width: auto;margin-right:50px;float: left;font-size:0} | |
| 66 | +/* #social ul li .lp{width:180px;height:50px;background: url(../img/bottom_logo.svg) left center no-repeat;float: left} | |
| 67 | +*/ | |
| 68 | +#social ul li .tit{font-size: 9pt;float: left;line-height:80px} | |
| 69 | +#social ul li .weixin{width:80px;height:80px;background: url(../img/qr.svg) center center no-repeat;float: | |
| 70 | +left;position: relative;margin:0 -40px 0 0} | |
| 71 | +#social ul li .login a{width:80px;height:60px;background: #0967B2;float: left;position: relative;margin:0 0 0 | |
| 72 | +20px;font-size: 9pt;line-height:20px;padding:20px 0 0 0;text-align: center;color:#fff;border-radius: 5px;display: | |
| 73 | +inline;opacity:1;transform:background-color 1s;-moz-transition:background-color 1s; -webkit-transition:background-color | |
| 74 | +1s;-o-transition:background-color 1s;} | |
| 75 | +#social ul li .login a:hover{background: #3a5a98} | |
| 76 | +#social ul li .weixinqr{display:none} | |
| 77 | +#footer{width:100%;float:left;background: #fff;padding:30px 0} | |
| 78 | +#footer ul{width:1000px;margin: 0 auto} | |
| 79 | +#footer ul li{margin-right: 40px;float:left} | |
| 80 | +#new_member .content .qrimg{display:none} | |
| 81 | +/* back to top */ | |
| 82 | +.cd-top {display:inline-block;height: 40px;width: 40px;position: fixed;bottom: 20px;right: 20px;overflow: | |
| 83 | +hidden;text-indent: 100%;font-size:0 white-space:nowrap;background: url(../img/upto.svg) left top no-repeat; | |
| 84 | +visibility: hidden;opacity: 0;-webkit-transition: all 0.3s;-moz-transition: all 0.3s;transition: all | |
| 85 | +0.3s;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;} | |
| 86 | +.cd-top.cd-is-visible {/* the button becomes visible */visibility: visible;opacity: 1;} | |
| 87 | +.cd-top.cd-fade-out {/* 如果用户继续向下滚动,这个按钮的透明度会变得更低 */opacity: .5;} | |
| 88 | +.no-touch .cd-top:hover {background-color: #333;opacity: 1;} | 
| @@ -0,0 +1,48 @@ | ||
| 1 | +@charset "UTF-8"; | |
| 2 | +/* CSS Document */ | |
| 3 | +body{margin:0;padding:0;font-size:18pt;color:#333;background:none center top no-repeat fixed;} | |
| 4 | +h1{font-size:32pt;display: inline-block;} | |
| 5 | +h2{font-size:28pt;display: inline-block;} | |
| 6 | +#focus{width:90%;padding:0 5%;height:600px;float:left;} | |
| 7 | +#focus .box{width:100%;} | |
| 8 | +#old_member ,#new_member ,#social ,#mbs_point{width:90%;padding:0 5%;line-height:60px} | |
| 9 | +#new_member{margin:0 } | |
| 10 | +#old_member:hover ,#new_member:hover ,#mbs_point:hover ,#social:hover{opacity: 1;} | |
| 11 | +#old_member .box ,#new_member .box ,#mbs_point .box ,#social .box{width:100%;} | |
| 12 | +#old_member .content ,#new_member .content ,#mbs_point .content{width:100%;margin:50px 0 0 0;} | |
| 13 | +#old_member .content p ,#new_member .content p ,#mbs_point .content p{margin:20px 0;line-height:60px;font-size:25pt;} | |
| 14 | +#new_member .content p{width:100%;margin:0 0 50px 0;float:left} | |
| 15 | + | |
| 16 | +#new_member .content .qrimg{width:60%;padding:10px 0 ;margin:0 20%; float: left;text-align: center;display:block;} | |
| 17 | +.goods_img{width:90%;padding:0 5%;background: url(../img/goods.jpg) center center no-repeat;height:400px;margin: 0;} | |
| 18 | +.goods_img2{width:90%;padding:0 5%;background: url(../img/goods2.jpg) center center no-repeat;height:400px;margin: 0 ;} | |
| 19 | +#footer{width:90%;padding:50px 5%;float:left;background: #fff;font-size: 14pt} | |
| 20 | +#footer ul{width:100%;margin: 0 auto} | |
| 21 | +#footer ul li{margin: 0 40px 20px 0;float:left} | |
| 22 | +.cd-top {display: none;} | |
| 23 | +#new_member .content ol li ,#new_member .content ul li ,#old_member .content ul li ,#mbs_point .content ul li{width:100%;line-height:40px;margin:15px 0} | |
| 24 | +#new_member .content ol li {width:93%;padding:0 0 0 7%} | |
| 25 | +#new_member h2{height:42px;margin:40px 0 0 0;padding:0 0 0 7%;width:93%;float:left;display: block;line-height:42px} | |
| 26 | +#new_member table tr td ,#mbs_point table tr td{font-size:15pt;line-height:30px;padding:20px 0} | |
| 27 | +#new_member .content .qr{display:none}  | |
| 28 | + | |
| 29 | +#social ul li .tit{font-size: 14pt;float: left;line-height:120px;font-weight:bold;text-align: left;} | |
| 30 | +#social ul li .weixinqr{width:120px;height:120px;display:block} | |
| 31 | +#social ul li .weixin{width:120px;height:120px;background: url(../img/qr.svg) center center no-repeat;float: left;position: relative;margin:0 -40px 0 0;display:none} | |
| 32 | +#social ul li .login a{width:120px;height:90px;background: #0967B2;float: left;position: relative;margin:0 0 0 20px;padding:30px 0 0 0;font-size: 14pt;font-weight:bold;line-height:30px;text-align: center;color:#fff;border-radius: 5px;display: inline;opacity:1;transform:background-color 1s;-moz-transition:background-color 1s; -webkit-transition:background-color 1s;-o-transition:background-color 1s;} | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | +.yanbao{background: url(../img/yanbao_icon.svg) left top no-repeat;} | |
| 38 | +.weixiurengongfei{background: url(../img/weixiurengongfei_icon.svg) left top no-repeat;} | |
| 39 | +.yiwaiweixiuquan{background: url(../img/yiwaiweixiuquan_icon.svg) left top no-repeat;} | |
| 40 | +.waiguanqingjie{background: url(../img/waiguanqingjie_icon.svg) left top no-repeat;} | |
| 41 | +.mianfeitiaojiao{background: url(../img/mianfeitiaojiao_icon.svg) left top no-repeat;} | |
| 42 | +.gujianshengji{background: url(../img/gujianshengji_icon.svg) left top no-repeat;} | |
| 43 | +.shenduqingjie{background: url(../img/shenduqingjie_icon.svg) left top no-repeat;} | |
| 44 | +.jifenzengzhi{background: url(../img/jifenzengzhi_icon.svg) left top no-repeat;} | |
| 45 | +.huodongyaoyue{background: url(../img/huodongyaoyue_icon.svg) left top no-repeat;} | |
| 46 | +.zhuanxiangliyu{background: url(../img/zhuanxiangliyu_icon.svg) left top no-repeat;} | |
| 47 | +.zhuanshulipin{background: url(../img/zhuanshulipin_icon.svg) left top no-repeat;} | |
| 48 | + | 
| @@ -0,0 +1 @@ |