Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

libai / footsen

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • footsen
  • footseen
  • Nesting
  • box
  • boxDetail.html
Find file
BlameHistoryPermalink
  • dabai's avatar
    footseen更新 · 96fe1e53
    dabai committed 4 years ago
    96fe1e53
boxDetail.html 2.7 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta content="telephone=no" name="format-detection">
    <meta name="wap-font-scale" content="no">
    <title></title>
		<link rel="stylesheet" href="css/base.css" />
    <link rel="stylesheet" href="css/detail.css">
    <script src="../../lib/fsize.js"></script>
	</head>
	<body>
		<div class="main">
			<div style="width: 100%;height: 0.566rem;"></div>
			<div class="mTitle"></div>
			<div class="mBox"></div>
		</div>
		<script src="../../lib/jquery-3.1.1.min.js"></script>
		<script src="../../lib/langchange.js"></script>
		<script type="text/javascript">
			var params = getRequest();
	    sessionStorage.token=params.token;//token
	    sessionStorage.uid = params.uid; //uid
    	sessionStorage.key = params.key;
    	
			$.ajax({
				url: $ip + '/RedPacket/getRedPacketInDetail.html',
          type: "post",
          dataType: "JSON",
          data: {
              uid: sessionStorage.uid,
              lang: sessionStorage.lang,
              key:sessionStorage.key,
              cid: "web_gw",
              os: "WEB",
              token: sessionStorage.token
          },
          error: function (msg) {
              console.log('请求出错');
          },
          success:function(res){
          	if(res.code == 1){
          		
          		$('title').html(res.detailTitle);
          		
          		var str = '';
          		str = '<span>'+langList[langType].box9+':</span><span><img src="../../img/zuan.png"/>'+res.totalNum+'</span><span>'+langList[langType].box10+':</span><span><img src="../../img/zuan.png"/>'+res.getNum+'</span>';
          		$('.mTitle').html(str);
          		
          		var str2 = '';
          		for(var i=0;i<res.list.length;i++){
          			str2 += '<div class="mDetail">';
          			str2 += '	<a>';
          			if(res.list[i].face== '/user/boy.png' || res.list[i].face== '/user/girl.png' ){
									str2 += '	<img src="http://app.ixiulive.com/static/images/head2.png?x-oss-process=image/resize,w_80"/>';
								} else {						
									str2 += '	<img src="'+cdn+res.list[i].face+'?x-oss-process=image/resize,w_80"/>';
								}
          			str2 += '	</a>';
          			str2 += '	<span class="mDetailName ellipsis">'+res.list[i].nickname+'</span>';
          			str2 += '	<span class="mDetailInter ellipsis">+'+res.list[i].num+'</span>';
          			str2 += '</div>';
          		}
          		$('.mBox').html(str2);
          	}
          }
			})
		</script>
	</body>
</html>