123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395 |
- <template>
- <view class="content">
- <view class="bg">
- <image src="../../static/index/bg01.png" mode=""></image>
- </view>
- <view class="bg1">
- <image src="../../static/index/bg03.png" mode=""></image>
- </view>
- <<<<<<< HEAD
- <view class="box-top">
- <view class="bg3 " @click="addShow()">
- <image src="../../static/index/img14.png" mode=""></image>
- </view>
- <view class="bg3 two">
- <image src="../../static/index/img08.png" mode=""></image>
- </view>
- </view>
- =======
- <top></top>
- >>>>>>> 73974efe3831c0b51b1b6c6f11e99b54236f3a8b
- <view class="bg5">
- <image src="../../static/index/img09.png" mode=""></image>
- </view>
- <view class="bg4">
- <image src="../../static/index/img04.png" mode=""></image>
- </view>
- <view class="bg6">
- <image src="../../static/index/img10.png" mode=""></image>
- </view>
- <view class="bg7">
- <image src="../../static/index/img13.png" mode=""></image>
- </view>
- <view class="bg8">
- <image src="../../static/index/img06.png" mode=""></image>
- </view>
- <view class="bg9">
- <image src="../../static/index/bg05.png" mode=""></image>
- <view class="bg10">
- <image src="../../static/index/img01.png" mode=""></image>
- </view>
- </view>
- <view class="bg9">
- <image src="../../static/index/bg05.png" mode=""></image>
- <view class="bg10">
- <image src="../../static/index/img03.png" mode=""></image>
- </view>
- </view>
- <view class="bg9">
- <image src="../../static/index/bg05.png" mode=""></image>
- <view class="bg10">
- <image src="../../static/index/img02.png" mode=""></image>
- </view>
- </view>
- <view class="bg11">
- <image src="../../static/img/bottom.png" mode=""></image>
- </view>
- <!-- <u-popup :show="show" @close="close" @open="open" mode="left" ref="dd" zIndex="999999">
- <view class="" style="background-color: #fff;width: 500rpx;height: 400rpx;">
- <text>我是黄伟强的爹</text>
- </view>
- </u-popup> -->
- <uni-popup ref="popup" type="left">
- <view class="popup">
- <view class="title">
- <view class="title-img">
- <image src="../../static/img/logo.png" mode=""></image>
- </view>
- <view class="text">
- 恒星币
- </view>
- </view>
- <view class="hx">
- </view>
- <view class="box-left" v-for=" (item,index) in cdList" @click="navTo(item.url)">
- <view class="box-box">
- <view class="box-img">
- <image :src="item.image" mode=""></image>
- </view>
- <view class="box-title">
- {{item.title}}
- </view>
- <view class="box-right">
- <image :src="item.right" mode=""></image>
- </view>
- </view>
- <view class="hx1">
- </view>
- </view>
- </view>
- </uni-popup>
- <!-- <u-alert title="将就将就军军" type = "warning" :description = "description"></u-alert> -->
- </view>
- </template>
- <script>
- <<<<<<< HEAD
- import uniPopup from '@/components/uni-popup/uni-popup.vue';
- export default {
- comments: {
- top,
- uniPopup
- =======
- import top from '@/components/top/top.vue'
- export default {
- comments: {
- top
- >>>>>>> 73974efe3831c0b51b1b6c6f11e99b54236f3a8b
- },
- data() {
- return {
- show: false,
- cdList: [{
- image: '../../static/img/cd1.png',
- title: '首页 ',
- right: '../../static/img/right.png',
- url: './Expect'
- },
- {
- image: '../../static/img/cd2.png',
- title: '恒星私募',
- right: '../../static/img/right.png',
- url: './Expect'
- },
- {
- image: '../../static/img/cd5.png',
- title: 'DIFI挖矿',
- right: '../../static/img/right.png'
- },
- {
- image: '../../static/img/cd4.png',
- title: '我的推荐',
- right: '../../static/img/right.png'
- },
- {
- image: '../../static/img/cd3.png',
- title: '超级节点',
- right: '../../static/img/right.png'
- },
- {
- image: '../../static/img/cd6.png',
- title: '游戏版块',
- right: '../../static/img/right.png'
- },
- {
- image: '../../static/img/cd7.png',
- title: '好友加速明细',
- right: '../../static/img/right.png'
- },
- {
- image: '../../static/img/cd8.png',
- title: '算力奖励明细',
- right: '../../static/img/right.png'
- },
- {
- image: '../../static/img/cd9.png',
- title: '社群奖励明细',
- right: '../../static/img/right.png'
- },
- {
- image: '../../static/img/cd10.png',
- title: '公会奖励明细',
- right: '../../static/img/right.png'
- }
- ]
- };
- },
- methods: {
- addShow() {
- this.show = true
- this.$refs.popup.open()
- console.log(this.$refs.dd)
- console.log("陈宫", this.show);
- if (this.show == false) {
- this.$refs.popup.close()
- console.log("陈宫", this.show);
- }
- },
- navTo(url) {
- uni.navigateTo({
- url
- })
- }
- // open() {
- // console.log('open');
- // },
- // close() {
- // this.show = false
- // // console.log('close');
- // }
- }
- }
- </script>
- <style lang="scss">
- page,
- .content {
- height: 100%;
- margin: 0;
- padding: 0;
- }
- image {
- height: 100%;
- width: 100%;
- }
- .bg {
- position: absolute;
- width: 750rpx;
- height: 3117rpx;
- }
- <<<<<<< HEAD
- .box-top {
- display: flex;
- padding: 36rpx 41rpx 72rpx 41rpx;
- }
- =======
- >>>>>>> 73974efe3831c0b51b1b6c6f11e99b54236f3a8b
- .bg1 {
- position: absolute;
- width: 750rpx;
- height: 629rpx;
- }
- <<<<<<< HEAD
- .bg3 {
- width: 56rpx;
- height: 62rpx;
- }
- .two {
- margin-left: 36rpx;
- }
- .bg4 {
- =======
- .bg4{
- >>>>>>> 73974efe3831c0b51b1b6c6f11e99b54236f3a8b
- display: flex;
- margin: 0 auto;
- width: 680rpx;
- height: 581rpx;
- }
- .bg5 {
- position: absolute;
- right: 0;
- top: 105rpx;
- width: 68rpx;
- height: 108rpx;
- }
- .bg6 {
- width: 78rpx;
- height: 98rpx;
- margin: 33rpx 22rpx;
- }
- .bg7 {
- position: absolute;
- right: 0;
- top: 660rpx;
- width: 219rpx;
- height: 308rpx;
- }
- .bg8 {
- width: 546rpx;
- height: 168rpx;
- margin: -66rpx auto;
- }
- .bg9 {
-
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 680rpx;
- height: 524rpx;
- margin: 40rpx auto;
- }
- .bg10 {
- position: absolute;
-
- width: 590rpx;
- height: 400rpx;
- }
- .bg11 {
- background: black;
- float: left;
- bottom: 0;
- width: 750rpx;
- height: 650rpx;
- }
- .popup {
- display: flex;
- flex-direction: column;
- background: linear-gradient(180deg, #00143B 0%, #000309 100%);
- width: 565rpx;
- height: 1448rpx;
- .box-left {
- width: 530rpx;
- display: flex;
- flex-direction: column;
- .box-box {
- position: relative;
- display: flex;
- align-items: center;
- justify-content: flex-start;
- margin-left: 30rpx;
- }
- .box-img {
- z-index: 999;
- width: 35rpx;
- height: 35rpx;
- }
- .box-title {
- margin-left: 20rpx;
- font-size: 30rpx;
- font-family: PingFang SC;
- // font-weight: bold;
- color: #FFFFFF;
- line-height: 78rpx;
- }
- .box-right {
- position: absolute;
- right: 0;
- z-index: 999;
- width: 17rpx;
- height: 32rpx;
- }
- }
- .title {
- margin: 40rpx 190rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- .title-img {
- width: 186rpx;
- height: 193rpx;
- }
- .text {
- display: flex;
- font-size: 41rpx;
- font-family: zihun100hao-fangfangxianfengti;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 38rpx;
- }
- }
- .hx {
- width: 565rpx;
- height: 12rpx;
- background: #FFFFFF;
- opacity: 0.23;
- }
- .hx1 {
- width: 565rpx;
- height: 2rpx;
- background: #FFFFFF;
- opacity: 0.1;
- }
- }
- </style>
|