diff --git a/guodongRecharge/css/index.css b/guodongRecharge/css/index.css index 2124991..4d80dc6 100644 --- a/guodongRecharge/css/index.css +++ b/guodongRecharge/css/index.css @@ -381,3 +381,16 @@ margin-right: 0.05rem; margin-left: 0.05rem; } +.diamond-box { + height: 0.45rem; + width: 2.85rem; + position: absolute; + bottom: 0; + left: 0; + background: #FAF4E6; + color: #EE9740; + text-align: center; + font-size: 0.3rem; + line-height: 0.45rem; + border-radius: 0 0 0.2rem 0.2rem; +} diff --git a/guodongRecharge/css/index.less b/guodongRecharge/css/index.less index 2d4dc5a..28c6d39 100644 --- a/guodongRecharge/css/index.less +++ b/guodongRecharge/css/index.less @@ -387,4 +387,17 @@ .swiper-pagination-bullet{ margin-right: 0.05rem; margin-left: 0.05rem; +} +.diamond-box{ + height: 0.45rem; + width: 2.85rem; + position: absolute; + bottom: 0; + left: 0; + background: #FAF4E6; + color: #EE9740; + text-align: center; + font-size: 0.3rem; + line-height: 0.45rem; + border-radius: 0 0 0.2rem 0.2rem; } \ No newline at end of file diff --git a/guodongRecharge/images/face.png b/guodongRecharge/images/face.png new file mode 100644 index 0000000..7dd1f08 Binary files /dev/null and b/guodongRecharge/images/face.png differ diff --git a/guodongRecharge/index.html b/guodongRecharge/index.html index dd35b13..3ababf4 100644 --- a/guodongRecharge/index.html +++ b/guodongRecharge/index.html @@ -33,7 +33,7 @@ <body> <div class="bg"> <div class="reg-top-box"> - <img class="reg-top-face" src="" alt=""> + <img class="reg-top-face" src="images/face.png" alt=""> <p class="reg-top-p1"></p> <p class="reg-top-p2"></p> <span class="recording recording2">充值记录</span> @@ -219,6 +219,7 @@ try{ html+='<p><img src="images/diamond.png">'+list.diamond+'</p>'; html+='<p>¥'+list.amount+'</p>'; if(list.sale==1)html+='<img class="hot-icon" src="images/hot-icon.png">' + if(list.addnum>0)html+='<div class="diamond-box">送'+list.addnum+'钻</div>' html+='</li>'; } $(".new-reg-ul").html(html);