diff --git a/Application/Common/Conf/seo_media_config.php b/Application/Common/Conf/seo_media_config.php index e54a12d7b..1090b7b55 100644 --- a/Application/Common/Conf/seo_media_config.php +++ b/Application/Common/Conf/seo_media_config.php @@ -13,7 +13,7 @@ ), 'wap_index' => array ( - 'seo_title' => '溪谷手游', + 'seo_title' => '万盟天下', 'seo_keyword' => 'asdasdasd', 'seo_description' => 'asdasdasd', ), diff --git a/Application/Mobile/View/User/usergift.html b/Application/Mobile/View/User/usergift.html index cae28fd95..0edfb9d79 100644 --- a/Application/Mobile/View/User/usergift.html +++ b/Application/Mobile/View/User/usergift.html @@ -1,155 +1,56 @@ - + + + + + + + + - - - - - 我的礼包 - - - - - - - - - - - - - - - - - 删除 - - - - {$vo.gift_name} - - 有效期:{$vo.start_time|date="Y-m-d",###}~{$vo['end_time']} - - - - 礼包码: - - - - - 复制 - - - - - - - - - - - - - - - - - - - - - + + + \ No newline at end of file diff --git a/Public/Mobile/css/myBag.css b/Public/Mobile/css/myBag.css new file mode 100644 index 000000000..88da8f7fe --- /dev/null +++ b/Public/Mobile/css/myBag.css @@ -0,0 +1,91 @@ + +.myBag{ + width: 100%; + font-family:PingFang SC; +} +.not-play{ + position:fixed; + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} +.not-play>img{ + width: 3rem; + height: 2.1rem; +} +.not-play>span{ + font-size: 0.28rem; + margin-top: 0.28rem; + color: #A9A9A9; +} +.myBag-box{ + margin-top: 0.3rem; + padding: 0 0.3rem; +} +.myBag-info{ + width: 100%; + height: 3.6rem; + background:rgba(255,255,255,1); + box-shadow:0px 0px 0.1rem 0px rgba(0, 0, 0, 0.15); + border-radius:0.2rem; + margin-bottom: 0.3rem; +} +.myBag-info .infoBox{ + padding: 0.3rem; +} +.myBag-info .infoBox .title{ + font-size:0.32rem; + font-weight:500; + color:rgba(41,41,41,1); + padding-bottom: 0.29rem; + border-bottom: 1px solid #F5F5F5; +} +.myBag-info .infoBox .gift-bag{ + display: flex; + align-items: center; + font-size: 0.28rem; + color: #292929; + font-weight: 500; + margin-top: 0.3rem; +} +.myBag-info .infoBox .gift-bag>img{ + width: 0.3rem; + height: 0.3rem; + margin-right: 0.14rem; +} +.myBag-info .infoBox .describe{ + margin-top: 0.3rem; + font-size:0.2rem; + font-weight:400; + color:rgba(169,169,169,1); +} +.myBag-info .infoBox .redeem{ + margin-top: 0.3rem; + width: 99.8%; + height: 0.6rem; + background: url("../images/juxing.png"); + background-size: 100% 100%; + font-size: 0.24rem; + font-weight:400; + color:rgba(169,169,169,1); + line-height: 0.6rem; + padding-left: 0.2rem; + position: relative; +} +.myBag-info .infoBox .redeem>a{ + width: 1.78rem; + height: 0.6rem; + background: url("../images/juxing2.png"); + background-size: 100% 100%; + position: absolute; + right: 0; + top: 0; + line-height: 0.6rem; + text-align: center; + font-size: 0.28rem; + color: #fff; + font-weight: 500; +} \ No newline at end of file diff --git a/Public/Mobile/images/juxing.png b/Public/Mobile/images/juxing.png new file mode 100644 index 000000000..4e7028a0c Binary files /dev/null and b/Public/Mobile/images/juxing.png differ diff --git a/Public/Mobile/images/libao.png b/Public/Mobile/images/libao.png new file mode 100644 index 000000000..fa740c71a Binary files /dev/null and b/Public/Mobile/images/libao.png differ diff --git a/Public/Mobile/images/not_play.png b/Public/Mobile/images/not_play.png new file mode 100644 index 000000000..ee85f205c Binary files /dev/null and b/Public/Mobile/images/not_play.png differ diff --git a/Public/Mobile/js/myBag.js b/Public/Mobile/js/myBag.js new file mode 100644 index 000000000..8fd023431 --- /dev/null +++ b/Public/Mobile/js/myBag.js @@ -0,0 +1,18 @@ +$(function() { + //复制 + $(".redeem>a").click(function(){ + var qrcodeLink = $(this).parent().children("div").children("span").text(); + var clipboard = new Clipboard('.redeem>a', { + text: function() { + return qrcodeLink; + } + }); + clipboard.on('success', function(e) { + console.log("复制成功"); + }); + + clipboard.on('error', function(e) { + console.log("复制失败"); + }); + }) +}) \ No newline at end of file
礼包码: