123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- <template>
- <view class="gallery" :style="{background:'url('+ bannerImage +')#ffffff'}">
- <view><nav-bar title="none" icon="none" background="transparent" border-color="transparent" noPlaceholder></nav-bar></view>
- <view class="logo"><re-image imgSrc="/retail/main/img_logo.png" width="300" height="56"></re-image></view>
- <view class="content">
- <view class="news">
- <view class="info flex">
- <re-image imgSrc="/" width="104" height="104"></re-image>
- <view class="info-text flex-column jcsa">
- <view class="info-top flex">
- <view class="name">王安安</view>
- <view class="level flex aic">
- <re-image imgSrc="/retail/main/ic_chuji.png" width="40" height="44"></re-image>
- <view class="level-text">初级</view>
- </view>
- </view>
- <view class="phone">13630639549</view>
- </view>
- </view>
- <view class="news-total flex jcsa">
- <view class="total-item">
- <view class="item-num">156</view>
- <view class="item-text">总销订单</view>
- </view>
- <view class="total-item">
- <view class="item-num">156</view>
- <view class="item-text">总销游戏币</view>
- </view>
- <view class="total-item">
- <view class="item-num orange">¥156</view>
- <view class="item-text">预估总收益</view>
- </view>
- </view>
- </view>
- <div class="list-title-wrapper flex jcsb aic">
- <div class="list-title flex aic">
- <span class="title-line"></span>
- 套餐充值
- </div>
- <div class="timer">
- 赠送游戏币倒计时
- <span>
- <span class="lb" id="day">2</span>
- 天
- <span class="lb" id="hours">17</span>
- 时
- <span class="lb" id="mins">56</span>
- 分
- </span>
- </div>
- </div>
- <div class="list-wrapper"></div>
- </view>
- </view>
- </template>
- <script>
- import {
- toRpx
- } from '@/utils/calculate.js'
- import defaultConfig from '@/config/default.js'
- export default {
- components: {},
- computed: {
- statusBarHeight() {
- return this.$store.state.info.systemInfo?.statusBarHeight
- },
- },
- data() {
- return {
- bannerImage: defaultConfig.ossImgUrl + '/retail/main/img_bgtop.png',
- title: 'Hello',
- navBarHeight:uni.getStorageSync('navBarHeight')
- }
- },
- onLoad() {
- },
-
- methods: {
- },
- mounted() {
-
- },
- }
- </script>
- <style lang="scss" scoped>
- .gallery {
- background-repeat: no-repeat !important;
- background-size: contain !important;
- // background-position: top;
- width: 100%;
- position: absolute;
- top: 0;
- bottom: 0;
- .logo {
- margin-top: 16rpx;
- margin-left: 24rpx;
- }
- .content {
- padding: 32rpx;
- .news {
- background: #FFFFFF;
- box-shadow: 0rpx 6rpx 16rpx 0rpx #E3E6F2;
- border-radius: 24rpx;
- margin-top: 48rpx;
- padding: 40rpx;
- .info {
- .info-text {
- .info-top {
- .name {
- font-weight: 500;
- font-size: 32rpx;
- color: #363531;
- }
- .level {
- margin-left: 12rpx;
- .level-text {
- width: 80rpx;
- height: 36rpx;
- padding: 6rpx 12rpx 6rpx 20rpx;
- background: linear-gradient(130deg, #FFB873 0%, #FEC287 0%, #E69349 100%);
- border-radius: 0rpx 18rpx 18rpx 0rpx;
- font-weight: 500;
- font-size: 24rpx;
- color: #FFFFFF;
- line-height: 24rpx;
- margin-left: -12rpx;
- // text-align: left;
- }
- }
- }
- }
- .phone {
- font-weight: 400;
- font-size: 28rpx;
- color: #989897;
- }
- }
- .news-total {
- margin-top: 44rpx;
- .item-num {
- font-weight: bold;
- font-size: 40rpx;
- color: #363531;
- }
- .orange {
- color: #FF6400;
- }
- .item-text {
- font-weight: 400;
- font-size: 28rpx;
- color: #9598A6;
- }
- }
- }
- .list-title-wrapper {
- margin-top: 48rpx;
- .list-title {
- color: #363531;
- font-weight: bold;
- font-size: 36rpx;
- line-height: 36rpx;
- .title-line {
- width: 8rpx;
- height: 32rpx;
- background-color: #FF8800;
- margin-right: 20rpx;
- }
- }
- .timer{
- font-size: 24rpx;
- .lb{
- display: inline-block;
- vertical-align: top;
- width: 32rpx;
- height: 32rpx;
- background-color: #FFE4DA;
- color: #FF4300;
- text-align: center;
- line-height: 32rpx;
- border-radius: 6rpx;
- margin: 0 2rpx;
- }
- }
- }
- }
- }
- </style>
|