diff --git a/h5pay/newPay/css/index.css b/h5pay/newPay/css/index.css index f9b4072..2cf2054 100644 --- a/h5pay/newPay/css/index.css +++ b/h5pay/newPay/css/index.css @@ -357,6 +357,7 @@ height: 0.76rem; line-height: 0.76rem; padding-top: 0.3rem; + position: relative; } .area-search-box input { width: 9rem; @@ -367,6 +368,12 @@ color: #fff; font-size: 0.3rem; } +.area-search-box .more-icon { + width: 0.4rem; + position: absolute; + top: 0.5rem; + left: 0.65rem; +} .area-ul { width: 10rem; height: 9.7rem; @@ -448,3 +455,9 @@ text-align: center; font-weight: 700; } +.countryCode { + font-style: normal; + position: absolute; + right: 1rem; + color: rgba(255, 255, 255, 0.8); +} diff --git a/h5pay/newPay/css/index.less b/h5pay/newPay/css/index.less index 0dfd86b..abf73eb 100644 --- a/h5pay/newPay/css/index.less +++ b/h5pay/newPay/css/index.less @@ -365,6 +365,7 @@ height: 0.76rem; line-height: 0.76rem; padding-top: 0.3rem; + position: relative; input{ width: 9rem; height: 0.76rem; @@ -374,6 +375,12 @@ color: #fff; font-size: 0.3rem; } + .more-icon{ + width: 0.4rem; + position: absolute; + top: 0.5rem; + left: 0.65rem; + } } .area-ul{ width: 10rem; @@ -455,4 +462,10 @@ color: #00F7FF; text-align: center; font-weight: 700; +} +.countryCode{ + font-style:normal; + position: absolute; + right: 1rem; + color:rgba(255,255,255,0.8); } \ No newline at end of file diff --git a/h5pay/newPay/images/more-icon.png b/h5pay/newPay/images/more-icon.png new file mode 100644 index 0000000..9819475 Binary files /dev/null and b/h5pay/newPay/images/more-icon.png differ diff --git a/h5pay/newPay/index.html b/h5pay/newPay/index.html index c6818cb..2eeaef5 100644 --- a/h5pay/newPay/index.html +++ b/h5pay/newPay/index.html @@ -72,7 +72,7 @@ </div> <div class="area-content-box"> <div class="area-box"> - 儲值地區:<div class="area-content"><img src="images/area-icon.png" alt=""><span>中國</span></div> + 儲值地區:<div class="area-content"><img src="images/area-icon.png" alt=""><span>--</span></div> </div> </div> @@ -127,6 +127,7 @@ <h2 class="layer-area-title">選擇儲值地區</h2> <div class="area-search-box"> + <img class="more-icon" src="images/more-icon.png" alt=""> <input placeholder="搜索" type="text"> </div> <ul class="area-ul"> @@ -187,7 +188,7 @@ $(function(){ dataType: "JSON", data: { os: 'h5', - cid: 'h5_fireflygw', + cid: 'web_gw', vest: 0, lang: 2, } @@ -478,8 +479,8 @@ $(function(){ var html=[]; for(var i=0;i<data.countryList.length;i++){ var list=data.countryList[i] - if(sessionStorage.countryCode==list.countryCode)html+='<li data-type="'+list.countryCode+'" class="area-li-click"><img src="images/area-icon.png"><span>'+list.countryShowName+'</span></li>' - else html+='<li data-type="'+list.countryCode+'"><img src="images/area-icon.png"><span>'+list.countryShowName+'</span></li>' + if(sessionStorage.countryCode==list.countryCode)html+='<li data-type="'+list.countryCode+'" class="area-li-click"><img src="images/area-icon.png"><span>'+list.countryShowName+'</span><i class="countryCode">'+list.countryCode+'</i></li>' + else html+='<li data-type="'+list.countryCode+'"><img src="images/area-icon.png"><span>'+list.countryShowName+'</span><i class="countryCode">'+list.countryCode+'</i></li>' } $(".area-ul").html(html) $(".area-ul li").unbind("click").on("click",function(){ @@ -890,7 +891,7 @@ $(function(){ dataType: 'text', data: { 'os': 'PC', - 'cid': 'Web_fireflygw', + 'cid': 'web_gw', 'vest': 0, 'lang': 2, "uid": localStorage.uid,