123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221 |
- <template>
- <view class="page">
- <view class="item item-white-bg position-relative">
- <view class="title flex">
- <image class="next" src="../../static/index/game/titlenext.png" mode=""></image>
- <view class="name">
- 盲盒详情
- </view>
- <image class="next tar" src="../../static/index/game/titlenext.png" mode=""></image>
- </view>
- <view class="tip-text">
- 限量发售 售完为止
- </view>
- <view class="type flex">
- <view class="typeitem">
- <text>发售价格:</text>
- <text class="text">21U</text>
- </view>
- <view class="typeitem">
- <text>发售总量:</text>
- <text class="text">1222个</text>
- </view>
- </view>
- <view class="type flex">
- <view class="typeitem">
- <text>探索周期:</text>
- <text class="text">45天</text>
- </view>
- <view class="typeitem">
- <text>每日产出:</text>
- <text class="text">5个矿石</text>
- </view>
- </view>
- <view class="buttom">
- 立即购买
- </view>
- <image class="tipImgRadius tiptop tipleft" src="../../static/index/game/tipimg.png" mode="scaleToFill">
- </image>
- <image class="tipImgRadius tiptop tipright" src="../../static/index/game/tipimg.png" mode="scaleToFill">
- </image>
- <image class="tipImgRadius tipbottom tipleft" src="../../static/index/game/tipimg.png" mode="scaleToFill">
- </image>
- <image class="tipImgRadius tipbottom tipright" src="../../static/index/game/tipimg.png" mode="scaleToFill">
- </image>
- </view>
- <navigator url="/pages/user/blindBox">
- <view class="item-white-bg flex mygame">
- <view class="left flex">
- <image class="tipimg" src="../../static/index/game/mhtip.png" mode="scaleToFill"></image>
- <view class="tiptext">
- 我的盲盒
- </view>
- </view>
- <view class="right flex">
- <view class="nextright text-linear-gradient">
- 查看详情
- </view>
- <image class="nextimg" src="../../static/index/game/opennext.png" mode="scaleToFill"></image>
- </view>
- </view>
- </navigator>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- };
- },
- onLoad(options) {
- },
- onShow() {},
- methods: {
- }
- };
- </script>
- <style lang="scss" scoped>
- .page {
- min-height: calc(100vh - var(--window-bottom));
- background-image: url("../../static/index/game/pageBg.png");
- background-repeat: no-repeat;
- background-size: 100% auto;
- padding-top: 1050rpx;
- line-height: 1;
- background-color: rgba(2, 8, 43, 1);
- padding-bottom: 30rpx;
- }
- .item-white-bg {
- border-radius: 30rpx;
- border: 2px solid #FFF;
- box-shadow: inset 0 5rpx 1px 0px rgba(100, 35, 192, .5);
- background-image: linear-gradient(#f6f0ff, #d2bfef);
- }
- .item {
- margin: 0 50rpx 30rpx 50rpx;
- padding: 40rpx;
- padding-bottom: 60rpx;
- .tipImgRadius {
- width: 20rpx;
- height: 20rpx;
- position: absolute;
- &.tiptop {
- top: 20rpx;
- }
- &.tipleft {
- left: 20rpx;
- }
- &.tipbottom {
- bottom: 20rpx;
- }
- &.tipright {
- right: 20rpx;
- }
- }
- .title {
- justify-content: center;
- color: #FFF;
- font-size: 40rpx;
- font-weight: bold;
- border-radius: 100rpx;
- padding: 20rpx 0;
- line-height: 1;
- background-image: linear-gradient(to right, rgba(138, 97, 194, 1), #2c324e);
- box-shadow: inset 0 5rpx 10rpx 1px rgba(255, 255, 255, .6);
- margin: 0 40rpx;
- margin-top: -80rpx;
- .name {
- padding: 0 30rpx;
- }
- .next {
- height: 26rpx;
- width: 60rpx;
- &.tar {
- transform: rotate(180deg);
- }
- }
- }
- .tip-text {
- text-align: center;
- font-weight: bold;
- font-size: 34rpx;
- color: #1C1C36;
- padding: 40rpx 0;
- }
- .type {
- padding: 0 20rpx;
- font-weight: 500;
- font-size: 28rpx;
- color: #1C1C36;
- padding-bottom: 30rpx;
- .typeitem {
- width: 50%;
- .text {
- color: #5E379E;
- }
- }
- }
- .buttom {
- margin-top: 20rpx;
- border-radius: 20rpx;
- text-align: center;
- padding: 20rpx;
- font-weight: 500;
- font-size: 31rpx;
- color: #FFFFFF;
- background-image: linear-gradient(#533492, #7b40bf);
- }
- }
- .mygame {
- margin: 0 50rpx;
- padding: 20rpx 40rpx;
- .left {
- .tipimg {
- width: 65rpx;
- height: 60rpx;
- }
- .tiptext {
- padding-left: 10rpx;
- font-weight: bold;
- font-size: 34rpx;
- color: #1C1C36;
- }
- }
- .right {
- .nextright {
- font-weight: 400;
- font-size: 25rpx;
- margin-right: 10rpx;
- }
- .nextimg {
- width: 10rpx;
- height: 19rpx;
- }
- }
- }
- </style>
|