cmy 1 year ago
parent
commit
90f3abb7ea
73 changed files with 124 additions and 6 deletions
  1. 122 4
      pages/game/index.vue
  2. 2 2
      pages/user/ship.vue
  3. BIN
      static/game/juedou/footerLeft.png
  4. BIN
      static/game/juedou/footerRight.png
  5. 0 0
      static/game/juedou/game1.png
  6. 0 0
      static/game/juedou/game2.png
  7. 0 0
      static/game/juedou/game3.png
  8. 0 0
      static/game/juedou/game4.png
  9. 0 0
      static/game/juedou/game5.png
  10. 0 0
      static/game/juedou/game6.png
  11. 0 0
      static/game/juedou/game7.png
  12. 0 0
      static/game/juedou/game8.png
  13. BIN
      static/game/juedou/gameBanner.png
  14. BIN
      static/game/juedou/gameBottom.png
  15. BIN
      static/game/juedou/touru.png
  16. BIN
      static/game/图层 59.png
  17. BIN
      static/icon/appleIcon.png
  18. BIN
      static/icon/bdjj.png
  19. BIN
      static/icon/btncz.png
  20. BIN
      static/icon/call.png
  21. BIN
      static/icon/copy.png
  22. BIN
      static/icon/dh.png
  23. BIN
      static/icon/djl.png
  24. BIN
      static/icon/dsjh.png
  25. BIN
      static/icon/dw.png
  26. BIN
      static/icon/fhsy.png
  27. BIN
      static/icon/gou.png
  28. BIN
      static/icon/guanbi@2x.png
  29. BIN
      static/icon/i8.png
  30. BIN
      static/icon/index06.png
  31. BIN
      static/icon/index1.png
  32. BIN
      static/icon/jindou.png
  33. BIN
      static/icon/ks.png
  34. BIN
      static/icon/n1.png
  35. BIN
      static/icon/n2.png
  36. BIN
      static/icon/n3.png
  37. BIN
      static/icon/n4.png
  38. BIN
      static/icon/n5.png
  39. BIN
      static/icon/n6.png
  40. BIN
      static/icon/n7.png
  41. BIN
      static/icon/n8.png
  42. BIN
      static/icon/qudou1.png
  43. BIN
      static/icon/qudou2.png
  44. BIN
      static/icon/qudou3.png
  45. BIN
      static/icon/quick0.png
  46. BIN
      static/icon/quick1.png
  47. BIN
      static/icon/quick2.png
  48. BIN
      static/icon/quick3.png
  49. BIN
      static/icon/quick4.png
  50. BIN
      static/icon/search-h.png
  51. BIN
      static/icon/select.png
  52. BIN
      static/icon/selected.png
  53. BIN
      static/icon/sh-log.png
  54. BIN
      static/icon/skxx.png
  55. BIN
      static/icon/tdjj.png
  56. BIN
      static/icon/team.png
  57. BIN
      static/icon/title-icon.png
  58. BIN
      static/icon/tool-1.png
  59. BIN
      static/icon/tool-2.png
  60. BIN
      static/icon/tool-3.png
  61. BIN
      static/icon/tool-4.png
  62. BIN
      static/icon/tool-5.png
  63. BIN
      static/icon/tool-6.png
  64. BIN
      static/icon/user_address.png
  65. BIN
      static/icon/user_bind.png
  66. BIN
      static/icon/user_name.png
  67. BIN
      static/icon/user_page.png
  68. BIN
      static/icon/user_serve.png
  69. BIN
      static/icon/user_set.png
  70. BIN
      static/icon/uset.png
  71. BIN
      static/icon/wenhao.png
  72. 0 0
      static/user/listbg.png
  73. 0 0
      static/user/star.png

+ 122 - 4
pages/game/index.vue

@@ -1,6 +1,39 @@
 <template>
 <template>
-	<view>
+	<view class="game">
+		<view class="backImg">
+			<navigator url="/pages/index/happly" open-type="reLaunch">
+			<image class="back" src="../../static/icon/fanhui.png" mode=""></image>
+			</navigator>
+		</view>
+		<scroll-view scroll-y="true" class="scroll" >
+			<view class="centerBox flex position-relative">
+				<view class="centerItem">
+					<view class="gameList position-relative" v-for="(item,index) in imgNum">
+						<image class="gameImgBg" :src="`../../static/game/juedou/game${(2*index+1)}.png`" mode="scaleToFill"></image>
+					</view>
+				</view>
+				<view class="tipImgBox">
+					<view class="conentTipImg" :style="{
+						top:`${(index)*276+106}rpx`
+					}" v-for="(item,index) in imgNum">
+						
+					</view>
+				</view>
+				<view class="centerItem">
+					<view class="gameList position-relative" v-for="(item,index) in imgNum">
+						<image class="gameImgBg" :src="`../../static/game/juedou/game${(2*index+2)}.png`" mode="scaleToFill"></image>
+					</view>
+				</view>
+			</view>
+		</scroll-view>
 		
 		
+		<view class="footer flex">
+			<image class="leftImg" src="../../static/game/juedou/footerLeft.png" mode="scaleToFill"></image>
+			<view class="footerCenter">
+				
+			</view>
+			<image class="rightImg" src="../../static/game/juedou/footerRight.png" mode="scaleToFill"></image>
+		</view>
 	</view>
 	</view>
 </template>
 </template>
 
 
@@ -8,7 +41,8 @@
 	export default {
 	export default {
 		data() {
 		data() {
 			return {
 			return {
-				
+				// 图片数量
+				imgNum:4
 			}
 			}
 		},
 		},
 		methods: {
 		methods: {
@@ -17,6 +51,90 @@
 	}
 	}
 </script>
 </script>
 
 
-<style>
-
+<style lang="scss" scoped>
+	.game{
+		min-height: 100vh;
+		background-color: rgb(80, 49, 47);
+		// padding-top: calc(var(--status-bar-height) + 500rpx);
+	}
+	.backImg{
+		padding: 40rpx 0rpx 0 30rpx;
+		background-image: url("../../static/game/juedou/gameBanner.png");
+		background-repeat: no-repeat;
+		background-size: 100% auto;
+		height: 398rpx;
+		.back{
+			width: 40rpx;
+			height: 40rpx;
+		}
+	}
+	.centerBox{
+		flex-wrap: wrap;
+		margin: 0 26rpx;
+		background-color:rgb(59, 33, 33);
+		padding: 0 18rpx;
+		.tipImgBox{
+			.conentTipImg{
+				background-color: rgb(159,81,53);
+				// border: 1px solid #FFF;
+				width: 50rpx;
+				height: 50rpx;
+				border-radius: 14rpx;
+				transform:rotateX(30deg) rotateZ(45deg) ;
+				position: absolute;
+				left: 324rpx;
+			}
+		}
+		
+		.centerItem{
+			line-height: 0;
+			padding: 20rpx 18rpx 0rpx 18rpx;
+			box-shadow:inset 0px -5px 10px 3px rgba(106,41,25, 1) ;
+			&:nth-child(1){
+				padding-right: 30rpx;
+			}
+			&:nth-child(3){
+				padding-left: 30rpx;
+			}
+			.gameList{
+				border: 2px solid rgba(127,71,36, .7);
+				border-radius: 10rpx;
+				overflow: hidden;
+				margin-bottom: 40rpx;
+				.gameImgBg{
+					width:267rpx ;
+					height: 226rpx;
+				}
+			}
+		}
+	}
+	.scroll{
+		height: calc(100vh - 170rpx - 398rpx);
+	}
+	.footer{
+		position: fixed;
+		bottom: 0;
+		left: 0;
+		width: 100%;
+		height: 170rpx;
+		background-image: url("../../static/game/juedou/gameBottom.png");
+		background-repeat: no-repeat;
+		background-size: 100% auto;
+		padding: 0 30rpx;
+		.footerCenter{
+			background-image: url("../../static/game/juedou/touru.png");
+			background-repeat: no-repeat;
+			background-size: 100% auto;
+			height:114rpx ;
+			width: 260rpx;
+		}
+		.leftImg{
+			width: 78rpx;
+			height: 104rpx;
+		}
+		.rightImg{
+			width: 82rpx;
+			height: 106rpx;
+		}
+	}
 </style>
 </style>

+ 2 - 2
pages/user/ship.vue

@@ -19,7 +19,7 @@
 				<view class="item flex" @click="item.hide=false">
 				<view class="item flex" @click="item.hide=false">
 					<view class="itemLeft">
 					<view class="itemLeft">
 						<view class="name flex-start">
 						<view class="name flex-start">
-							<image class="nameTip margin-r-10" src="../../static/user/ship/star.png" mode="scaleToFill">
+							<image class="nameTip margin-r-10" src="../../static/user/star.png" mode="scaleToFill">
 							</image>
 							</image>
 							<text>
 							<text>
 								体验飞船
 								体验飞船
@@ -348,7 +348,7 @@
 			}
 			}
 			.item {
 			.item {
 				padding: 10rpx;
 				padding: 10rpx;
-				background-image: url("../../static/user/ship/listbg.png");
+				background-image: url("../../static/user/listbg.png");
 				background-size: 100% 100%;
 				background-size: 100% 100%;
 				color: #FFFFFF;
 				color: #FFFFFF;
 				font-weight: bold;
 				font-weight: bold;

BIN
static/game/juedou/footerLeft.png


BIN
static/game/juedou/footerRight.png


+ 0 - 0
static/game/图层 48 拷贝.png → static/game/juedou/game1.png


+ 0 - 0
static/game/组 55 拷贝.png → static/game/juedou/game2.png


+ 0 - 0
static/game/图层 49 拷贝.png → static/game/juedou/game3.png


+ 0 - 0
static/game/图层 50 拷贝.png → static/game/juedou/game4.png


+ 0 - 0
static/game/图层 51 拷贝.png → static/game/juedou/game5.png


+ 0 - 0
static/game/图层 54 拷贝.png → static/game/juedou/game6.png


+ 0 - 0
static/game/图层 53 拷贝.png → static/game/juedou/game7.png


+ 0 - 0
static/game/图层 52 拷贝.png → static/game/juedou/game8.png


BIN
static/game/juedou/gameBanner.png


BIN
static/game/juedou/gameBottom.png


BIN
static/game/juedou/touru.png


BIN
static/game/图层 59.png


BIN
static/icon/appleIcon.png


BIN
static/icon/bdjj.png


BIN
static/icon/btncz.png


BIN
static/icon/call.png


BIN
static/icon/copy.png


BIN
static/icon/dh.png


BIN
static/icon/djl.png


BIN
static/icon/dsjh.png


BIN
static/icon/dw.png


BIN
static/icon/fhsy.png


BIN
static/icon/gou.png


BIN
static/icon/guanbi@2x.png


BIN
static/icon/i8.png


BIN
static/icon/index06.png


BIN
static/icon/index1.png


BIN
static/icon/jindou.png


BIN
static/icon/ks.png


BIN
static/icon/n1.png


BIN
static/icon/n2.png


BIN
static/icon/n3.png


BIN
static/icon/n4.png


BIN
static/icon/n5.png


BIN
static/icon/n6.png


BIN
static/icon/n7.png


BIN
static/icon/n8.png


BIN
static/icon/qudou1.png


BIN
static/icon/qudou2.png


BIN
static/icon/qudou3.png


BIN
static/icon/quick0.png


BIN
static/icon/quick1.png


BIN
static/icon/quick2.png


BIN
static/icon/quick3.png


BIN
static/icon/quick4.png


BIN
static/icon/search-h.png


BIN
static/icon/select.png


BIN
static/icon/selected.png


BIN
static/icon/sh-log.png


BIN
static/icon/skxx.png


BIN
static/icon/tdjj.png


BIN
static/icon/team.png


BIN
static/icon/title-icon.png


BIN
static/icon/tool-1.png


BIN
static/icon/tool-2.png


BIN
static/icon/tool-3.png


BIN
static/icon/tool-4.png


BIN
static/icon/tool-5.png


BIN
static/icon/tool-6.png


BIN
static/icon/user_address.png


BIN
static/icon/user_bind.png


BIN
static/icon/user_name.png


BIN
static/icon/user_page.png


BIN
static/icon/user_serve.png


BIN
static/icon/user_set.png


BIN
static/icon/uset.png


BIN
static/icon/wenhao.png


+ 0 - 0
static/user/ship/listbg.png → static/user/listbg.png


+ 0 - 0
static/user/ship/star.png → static/user/star.png