UI
This commit is contained in:
parent
a5e67e4f80
commit
627e240a04
76
pages.json
76
pages.json
|
|
@ -10,14 +10,14 @@
|
|||
"path": "pages/shouye/index",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/shouye/detail",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"style": {
|
||||
"navigationBarTitleText": "预售日历",
|
||||
"navigationBarBackgroundColor": "#161616",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarBackgroundColor": "#161616",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
"style": {
|
||||
"navigationBarTitleText": "无限令",
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
"style": {
|
||||
"navigationBarTitleText": "换箱",
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
|
@ -81,7 +81,7 @@
|
|||
"path": "pages/user/index",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -89,7 +89,7 @@
|
|||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "星钻明细",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "消费记录",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -105,7 +105,7 @@
|
|||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "打包记录",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -113,7 +113,7 @@
|
|||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "发货记录",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -121,7 +121,7 @@
|
|||
"style": {
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"navigationBarTitleText": "订单详情",
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
|
@ -130,7 +130,7 @@
|
|||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "星钻记录",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -138,7 +138,7 @@
|
|||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "积分记录",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -146,7 +146,7 @@
|
|||
"style": {
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"navigationBarTitleText": "奖励明细",
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
|
@ -156,16 +156,16 @@
|
|||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "会员中心",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "pages/guize/guize",
|
||||
"style": {
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"navigationBarTitleText": "",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -173,7 +173,7 @@
|
|||
"style": {
|
||||
"navigationBarTitleText": "欧气券",
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
|
@ -182,7 +182,7 @@
|
|||
"style": {
|
||||
"navigationBarTitleText": "查看物流",
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
|
@ -191,7 +191,7 @@
|
|||
"style": {
|
||||
"navigationBarTitleText": "我的卡册",
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -199,13 +199,13 @@
|
|||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/sangdai/hegui",
|
||||
"style": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationStyle": "custom",
|
||||
"disableSwipeBack": true
|
||||
}
|
||||
|
|
@ -231,7 +231,7 @@
|
|||
"style": {
|
||||
"navigationBarTitleText": "邀请好友",
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -240,20 +240,20 @@
|
|||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/DrawCard/index",
|
||||
"style": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/DrawCard/cardDetail",
|
||||
"style": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
|
@ -262,13 +262,13 @@
|
|||
"style": {
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"navigationBarTitleText": "图鉴",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/chouka/ka",
|
||||
"style": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
|
@ -277,27 +277,27 @@
|
|||
"style": {
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"navigationBarTitleText": "卡册",
|
||||
"navigationBarTextStyle": "white"
|
||||
"navigationBarTextStyle": "black"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/chouka/detail",
|
||||
"style": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/jiaoliu/jiaoliu",
|
||||
"style": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/zizhi/index",
|
||||
"style": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "自制赏",
|
||||
"navigationBarBackgroundColor": "#222222"
|
||||
}
|
||||
|
|
@ -305,7 +305,7 @@
|
|||
{
|
||||
"path": "pages/zizhi/detail",
|
||||
"style": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "龙珠手办店",
|
||||
"navigationBarBackgroundColor": "#222222"
|
||||
}
|
||||
|
|
@ -313,7 +313,7 @@
|
|||
{
|
||||
"path": "pages/infinite/index",
|
||||
"style": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarBackgroundColor": "#222222"
|
||||
}
|
||||
|
|
@ -321,7 +321,7 @@
|
|||
{
|
||||
"path": "pages/infinite/UnlimitedOrder",
|
||||
"style": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "魔晶令",
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"navigationStyle": "custom"
|
||||
|
|
@ -502,7 +502,7 @@
|
|||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "友达赏",
|
||||
"navigationBarBackgroundColor": "#222222",
|
||||
"backgroundColor": "#000000"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<view class="guize">
|
||||
<view v-html="rule" style="color: #fff;"></view>
|
||||
<view v-html="rule" style="color: #676767;"></view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -120,6 +120,7 @@
|
|||
height: 100vh;
|
||||
position: relative;
|
||||
padding: 24rpx;
|
||||
background-color: #FFFFFF;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@
|
|||
<!-- <view class="page-hd common_bg relative" :style="{
|
||||
backgroundImage: `url(${$img1('index/jifen.png')})`
|
||||
}"></view> -->
|
||||
<view class="title1">
|
||||
福利
|
||||
</view>
|
||||
<image :src="$img1('index/jifen.png')" style="width: 100%; margin-top: ;" mode=""></image>
|
||||
|
||||
<view class="list relative">
|
||||
|
|
@ -17,7 +20,7 @@
|
|||
<image :src="$img1('common/new1.png')" class="pic-new" mode="widthFix" v-if="item.new_is==1">
|
||||
</image>
|
||||
</view>
|
||||
<view class="title hang2">
|
||||
<view class="title hang1">
|
||||
{{ item.title }}
|
||||
</view>
|
||||
<!-- <view class="hot-num">
|
||||
|
|
@ -128,6 +131,18 @@
|
|||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.title1 {
|
||||
width: 100%;
|
||||
top: 108rpx;
|
||||
position: absolute;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 34rpx;
|
||||
justify-content: center;
|
||||
color: black;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.activeImg {
|
||||
position: absolute;
|
||||
width: 32rpx !important;
|
||||
|
|
@ -361,7 +376,7 @@
|
|||
height: 332rpx;
|
||||
background-color: #E4E4E4;
|
||||
position: relative;
|
||||
border-radius: 16rpx 16rpx 0rpx 0rpx;
|
||||
border-radius: 16rpx 16rpx 0rpx 0rpx;
|
||||
|
||||
.pic-img {
|
||||
// width: 290rpx;
|
||||
|
|
@ -379,7 +394,6 @@
|
|||
|
||||
>text {
|
||||
font-size: 28rpx;
|
||||
font-family: YouSheBiaoTiHei;
|
||||
font-weight: 400;
|
||||
color: #111111;
|
||||
text-shadow: 2rpx 2rpx #FFFFFF;
|
||||
|
|
@ -396,9 +410,8 @@
|
|||
}
|
||||
|
||||
.title {
|
||||
padding: 20rpx 20rpx 0;
|
||||
font-size: 28rpx;
|
||||
font-family: Source Han Sans CN;
|
||||
padding: 24rpx 26rpx 0;
|
||||
font-size: 20rpx;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
}
|
||||
|
|
@ -409,24 +422,23 @@
|
|||
padding: 10rpx 20rpx 0;
|
||||
|
||||
font-size: 24rpx;
|
||||
font-family: Source Han Sans CN;
|
||||
font-weight: 400;
|
||||
color: #cccccc;
|
||||
}
|
||||
|
||||
.price-box {
|
||||
padding: 32rpx 20rpx 10rpx;
|
||||
padding: 60rpx 20rpx 10rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.price {
|
||||
font-weight: 500;
|
||||
font-size: 24rpx;
|
||||
font-size: 18rpx;
|
||||
color: #333333;
|
||||
|
||||
text {
|
||||
font-size: 36rpx;
|
||||
font-size: 18rpx;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -435,14 +447,14 @@
|
|||
align-items: center;
|
||||
|
||||
.num {
|
||||
font-size: 16rpx;
|
||||
font-size: 18rpx;
|
||||
font-weight: 400;
|
||||
color: #6C6C6C;
|
||||
}
|
||||
|
||||
.box {
|
||||
width: 18.22rpx;
|
||||
height: 16rpx;
|
||||
width: 20rpx;
|
||||
height: 17.56rpx;
|
||||
margin-left: 6rpx;
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1060,7 +1060,7 @@
|
|||
|
||||
.sub-tab {
|
||||
display: flex;
|
||||
padding: 20rpx 30rpx 0;
|
||||
padding: 30rpx 30rpx 0;
|
||||
|
||||
.sub-tab-item {
|
||||
width: 155rpx;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<view class="navLeft align-center" :style="{ top: $sys().statusBarHeight + 'px' }" @tap="$c.back(1)">
|
||||
<view class="flex" style="width: 100%">
|
||||
<!-- <image class="img100" :src="$img1('common/indexTitle.png')"></image> -->
|
||||
<view class="title1" style="width: 166rpx; height: 64rpx;">
|
||||
<view class="title1" style="width: 166rpx; height: 64rpx; margin-top: 5rpx;">
|
||||
<!-- {{ $config.getAppSetting("app_name") }} -->
|
||||
<image :src="$img1('common/home_logo.png')" style="width: 166rpx; height: 64rpx;" mode=""></image>
|
||||
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
<view class="flex yqhy" v-if="tuijian.length > 0" style="margin-top: 30rpx; flex-direction: column">
|
||||
<!-- <image class="img100" style=" display: flex; justify-content: center;"
|
||||
:src="$img1('/image/a6548-pw1cx.webp')"></image> -->
|
||||
<text style="color: black; font-weight: 600; margin-bottom: 30rpx">今日推荐</text>
|
||||
<text style="color: black; font-weight: 600; margin-bottom: 20rpx">今日推荐</text>
|
||||
<view class="flex row align-center"
|
||||
style="width: 100%; height: 230rpx; justify-content: space-between; overflow: auto;">
|
||||
<view v-for="(item, index) in tuijian" class="recommend_item" :key="index">
|
||||
|
|
@ -90,7 +90,7 @@
|
|||
</view>
|
||||
<view v-if="item.stock" class="qbt_con_item_price">
|
||||
<text>{{ item.sale_stock }}/{{ item.stock }}</text>
|
||||
<image :src="$img1('index/box.png')" style="width: 18rpx; height: 16rpx"></image>
|
||||
<image :src="$img1('index/box.png')" style="width: 20rpx; height: 18rpx"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -99,12 +99,8 @@
|
|||
<image :src="$img1('common/new1.png')" class="image1"
|
||||
style="animation: zoom 1.2s ease-in-out infinite" mode="widthFix"
|
||||
v-if="item.new_is == 1 && tabList[tabCur].id != 2"></image>
|
||||
<view class="image3 common_bg" :style="{
|
||||
backgroundImage:
|
||||
tabList[tabCur].id != 2
|
||||
? `url(${$img1('common/label1.png')})`
|
||||
: `url(${$img1('common/label2.png')})`,
|
||||
}">
|
||||
<view class="image3 common_bg"
|
||||
:style="{backgroundImage:tabList[tabCur].id != 2? `url(${$img1('common/label1.png')})`: `url(${$img1('common/label2.png')})`,}">
|
||||
<text>
|
||||
{{ item.type_text }}
|
||||
</text>
|
||||
|
|
@ -137,7 +133,7 @@
|
|||
|
||||
<!-- 优惠券弹窗 -->
|
||||
<uni-popup ref="couponPop" type="center" maskBackgroundColor="rgba(0,0,0,0.8)">
|
||||
|
||||
|
||||
<view v-if="couponData" class="coupon-pop common_bg relative">
|
||||
<!-- <view class="coupon-pop-title">
|
||||
<text>新人大礼包</text>
|
||||
|
|
@ -160,7 +156,7 @@
|
|||
<image class="img100" :src="$img1('common/close.png')"></image>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
</uni-popup>
|
||||
<!-- <tab-bar :index="0"></tab-bar> -->
|
||||
|
||||
|
|
@ -499,7 +495,7 @@
|
|||
height: 200rpx;
|
||||
flex: 0 0 auto;
|
||||
background-color: gray;
|
||||
margin-right: 10rpx;
|
||||
margin-right: 40rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
|
||||
|
|
@ -633,8 +629,7 @@
|
|||
.swiper-box {
|
||||
width: 750rpx;
|
||||
height: 460rpx;
|
||||
margin: 0 auto;
|
||||
background: #000000;
|
||||
margin: 40rpx auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
|
@ -663,6 +658,7 @@
|
|||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: inherit;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.news-box {
|
||||
|
|
@ -713,9 +709,10 @@
|
|||
}
|
||||
|
||||
.yqhy {
|
||||
width: 691rpx;
|
||||
width: 100%;
|
||||
height: 300rpx;
|
||||
margin: 30rpx auto 0;
|
||||
margin-top: 30rpx;
|
||||
margin-left: 32rpx;
|
||||
}
|
||||
|
||||
.nav2 {
|
||||
|
|
@ -745,7 +742,6 @@
|
|||
padding: 0 30rpx;
|
||||
font-weight: 400;
|
||||
color: #ffffff;
|
||||
font-family: YouSheBiaoTiHei;
|
||||
font-weight: 400;
|
||||
font-size: 36rpx;
|
||||
color: #cccccc;
|
||||
|
|
@ -775,20 +771,19 @@
|
|||
margin-right: 30rpx;
|
||||
}
|
||||
|
||||
font-size: 28rpx;
|
||||
font-family: Source Han Sans CN;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
|
||||
&.act {
|
||||
color: #333333;
|
||||
font-size: 32rpx;
|
||||
font-weight: 600;
|
||||
font-size: 28rpx;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 60rpx;
|
||||
height: 2rpx;
|
||||
height: 4rpx;
|
||||
background: #333333;
|
||||
border-radius: 30rpx;
|
||||
position: absolute;
|
||||
|
|
@ -846,8 +841,6 @@
|
|||
background: linear-gradient(0deg, #1ac762 0%, #35ed85 100%);
|
||||
border-radius: 18rpx;
|
||||
font-size: 26rpx;
|
||||
font-family: Source Han Sans CN;
|
||||
font-weight: 400;
|
||||
color: #111111;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -928,11 +921,9 @@
|
|||
align-items: center;
|
||||
|
||||
text {
|
||||
font-size: 14rpx;
|
||||
// font-family: YouSheBiaoTiHei;
|
||||
font-size: 16rpx;
|
||||
font-weight: 400;
|
||||
color: #ffffff;
|
||||
// text-shadow: 2rpx 2rpx #FFFFFF;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -963,7 +954,6 @@
|
|||
align-items: center;
|
||||
|
||||
font-size: 22rpx;
|
||||
font-family: Source Han Sans CN;
|
||||
font-weight: 400;
|
||||
color: #222222;
|
||||
|
||||
|
|
@ -992,8 +982,7 @@
|
|||
.list_2 {
|
||||
padding: 28rpx 20rpx 0;
|
||||
font-size: 20rpx;
|
||||
font-family: Source Han Sans CN;
|
||||
font-weight: 400;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
|
|
@ -1013,7 +1002,6 @@
|
|||
|
||||
.item-price {
|
||||
font-size: 16rpx;
|
||||
font-family: Source Han Sans CN;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
|
||||
|
|
@ -1110,7 +1098,7 @@
|
|||
>view:nth-child(1) {
|
||||
width: 168rpx;
|
||||
height: 168rpx;
|
||||
|
||||
|
||||
|
||||
>text:nth-child(1) {
|
||||
font-weight: 400;
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
</view> -->
|
||||
|
||||
<view class="other-item" @click="$c.to({ url: '/pages/user/yetx' })">
|
||||
<view class="num">{{ userinfo.coupon || 0 }}</view>
|
||||
<view class="num">{{ userinfo.money || '0.00' }}</view>
|
||||
<view class="title">{{$config.getAppSetting('balance_name')}}</view>
|
||||
</view>
|
||||
|
||||
|
|
@ -344,13 +344,13 @@
|
|||
icon: 'my/s7.png',
|
||||
path: '/pages/guize/guize?type=4'
|
||||
},
|
||||
{
|
||||
id: 8,
|
||||
show: true,
|
||||
title: '道具卡',
|
||||
icon: 'my/s8.png',
|
||||
path: '/package/mine/skill-card'
|
||||
},
|
||||
// {
|
||||
// id: 8,
|
||||
// show: true,
|
||||
// title: '道具卡',
|
||||
// icon: 'my/s8.png',
|
||||
// path: '/package/mine/skill-card'
|
||||
// },
|
||||
// {
|
||||
// id: 9,
|
||||
// show:true,
|
||||
|
|
@ -1427,8 +1427,12 @@
|
|||
>view {
|
||||
width: 618rpx;
|
||||
height: 6rpx;
|
||||
border-radius: 12rpx;
|
||||
border: 1px solid #111111;
|
||||
border-radius: 6rpx;
|
||||
// border: 1px solid #111111;
|
||||
|
||||
/deep/.cmd-progress-inner {
|
||||
background: #CCCCCC;
|
||||
}
|
||||
|
||||
>text {
|
||||
font-weight: 400;
|
||||
|
|
|
|||
|
|
@ -1,221 +1,194 @@
|
|||
<template>
|
||||
<view class="content">
|
||||
<uni-nav-bar
|
||||
left-icon="left"
|
||||
title="消费记录"
|
||||
color="#fff"
|
||||
backgroundColor="transparent"
|
||||
:fixed="true"
|
||||
:statusBar="true"
|
||||
:border="false"
|
||||
@clickLeft="back"
|
||||
></uni-nav-bar>
|
||||
|
||||
<!-- <view class="head">
|
||||
<view
|
||||
class="status_bar"
|
||||
:style="'height:' + statusBarHeight + 'px;'"
|
||||
></view>
|
||||
<view class="header_title">
|
||||
<view @click="back()">
|
||||
返回
|
||||
</view>
|
||||
<view class="hang1">消费记录</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<!-- 内容 -->
|
||||
<mescroll-body
|
||||
ref="mescrollRef"
|
||||
@init="mescrollInit"
|
||||
:down="downOption"
|
||||
@down="downCallback"
|
||||
@up="upCallback"
|
||||
>
|
||||
<view class="coupon">
|
||||
<view
|
||||
v-for="(item, index) in listData"
|
||||
:key="index"
|
||||
class="coupon_item"
|
||||
:style="'border:' + (index == listData.length - 1 ? 'none' : '')"
|
||||
>
|
||||
<view class="coupon_item_1">
|
||||
<view>{{ item.content }}</view>
|
||||
<view>{{ item.addtime }}</view>
|
||||
</view>
|
||||
<view class="coupon_r">{{ item.change_money }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</mescroll-body>
|
||||
</view>
|
||||
<view class="content">
|
||||
<uni-nav-bar left-icon="left" title="消费记录" color="#000000" backgroundColor="transparent" :fixed="true"
|
||||
:statusBar="true" :border="false" @clickLeft="back"></uni-nav-bar>
|
||||
<!-- 内容 -->
|
||||
<mescroll-body ref="mescrollRef" @init="mescrollInit" :down="downOption" @down="downCallback" @up="upCallback">
|
||||
<view class="coupon">
|
||||
<view v-for="(item, index) in listData" :key="index" class="coupon_item"
|
||||
:style="'border:' + (index == listData.length - 1 ? 'none' : '')">
|
||||
<view class="coupon_item_1">
|
||||
<view>{{ item.content }}</view>
|
||||
<view>{{ item.addtime }}</view>
|
||||
</view>
|
||||
<view class="coupon_r">{{ item.change_money }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</mescroll-body>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
z_imgPath: this.$z_img2 + 'mine/',
|
||||
statusBarHeight: uni.getSystemInfoSync().statusBarHeight,
|
||||
arr: ['全部', '充值', '消费'],
|
||||
show: 1,
|
||||
listData: [],
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
z_imgPath: this.$z_img2 + 'mine/',
|
||||
statusBarHeight: uni.getSystemInfoSync().statusBarHeight,
|
||||
arr: ['全部', '充值', '消费'],
|
||||
show: 1,
|
||||
listData: [],
|
||||
|
||||
// 是否显示参与
|
||||
downOption: {
|
||||
auto: false
|
||||
}
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
// setTimeout(() => {
|
||||
// this.listData=[
|
||||
// {
|
||||
// content:'哈哈哈哈哈哈哈哈哈',
|
||||
// addtime:'2333-23-23 23:23:23',
|
||||
// change_money:233
|
||||
// }
|
||||
// ]
|
||||
// }, 1000);
|
||||
},
|
||||
methods: {
|
||||
back() {
|
||||
uni.navigateBack()
|
||||
},
|
||||
getlist(v) {
|
||||
this.show = v
|
||||
this.loadData(1)
|
||||
},
|
||||
// 是否显示参与
|
||||
downOption: {
|
||||
auto: false
|
||||
}
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
// setTimeout(() => {
|
||||
// this.listData=[
|
||||
// {
|
||||
// content:'哈哈哈哈哈哈哈哈哈',
|
||||
// addtime:'2333-23-23 23:23:23',
|
||||
// change_money:233
|
||||
// }
|
||||
// ]
|
||||
// }, 1000);
|
||||
},
|
||||
methods: {
|
||||
back() {
|
||||
uni.navigateBack()
|
||||
},
|
||||
getlist(v) {
|
||||
this.show = v
|
||||
this.loadData(1)
|
||||
},
|
||||
|
||||
/*下拉刷新的回调 */
|
||||
downCallback() {
|
||||
//联网加载数据
|
||||
this.loadData(1)
|
||||
},
|
||||
/*上拉加载的回调: 其中page.num:当前页 从1开始, page.size:每页数据条数,默认10 */
|
||||
upCallback(page) {
|
||||
//联网加载数据
|
||||
this.loadData(page.num)
|
||||
},
|
||||
loadData(pageNo) {
|
||||
// 模拟接口
|
||||
let that = this
|
||||
that.req({
|
||||
url: 'profitPay',
|
||||
Loading: true,
|
||||
data: {
|
||||
page: pageNo
|
||||
// type: that.show
|
||||
},
|
||||
success(res) {
|
||||
console.log(res)
|
||||
that.mescroll.endByPage(res.data.data.length, res.data.last_page)
|
||||
if (pageNo == 1) {
|
||||
that.listData = res.data.data
|
||||
} else {
|
||||
that.listData = that.listData.concat(res.data.data)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
/*下拉刷新的回调 */
|
||||
downCallback() {
|
||||
//联网加载数据
|
||||
this.loadData(1)
|
||||
},
|
||||
/*上拉加载的回调: 其中page.num:当前页 从1开始, page.size:每页数据条数,默认10 */
|
||||
upCallback(page) {
|
||||
//联网加载数据
|
||||
this.loadData(page.num)
|
||||
},
|
||||
loadData(pageNo) {
|
||||
// 模拟接口
|
||||
let that = this
|
||||
that.req({
|
||||
url: 'profitPay',
|
||||
Loading: true,
|
||||
data: {
|
||||
page: pageNo
|
||||
// type: that.show
|
||||
},
|
||||
success(res) {
|
||||
console.log(res)
|
||||
that.mescroll.endByPage(res.data.data.length, res.data.last_page)
|
||||
if (pageNo == 1) {
|
||||
that.listData = res.data.data
|
||||
} else {
|
||||
that.listData = that.listData.concat(res.data.data)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.coupon_r > image {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.coupon_r>image {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
|
||||
.coupon_r {
|
||||
font-size: 32rpx;
|
||||
/* font-family: 'zcq'; */
|
||||
color: #fff;
|
||||
}
|
||||
.coupon_r {
|
||||
font-size: 24rpx;
|
||||
/* font-family: 'zcq'; */
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.coupon_item_1 > view:nth-of-type(2) {
|
||||
font-size: 24rpx;
|
||||
color: #CCCCCC;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.coupon_item_1>view:nth-of-type(2) {
|
||||
font-size: 20rpx;
|
||||
color: #676767;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
|
||||
.coupon_item_1 > view:nth-of-type(1) {
|
||||
font-size: 28rpx;
|
||||
// font-weight: bold;
|
||||
color: #ffffff;
|
||||
}
|
||||
.coupon_item_1>view:nth-of-type(1) {
|
||||
font-size: 24rpx;
|
||||
// font-weight: bold;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.coupon_item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 30rpx 0;
|
||||
box-sizing: border-box;
|
||||
// background-color: rgba(255, 255, 255, 0.08);
|
||||
// margin-top: 20rpx;
|
||||
// border-radius: 10rpx;
|
||||
position: relative;
|
||||
.coupon_item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 30rpx 0;
|
||||
box-sizing: border-box;
|
||||
// background-color: rgba(255, 255, 255, 0.08);
|
||||
// margin-top: 20rpx;
|
||||
// border-radius: 10rpx;
|
||||
position: relative;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 2rpx;
|
||||
background: rgba(255,255,255,0.3);
|
||||
}
|
||||
}
|
||||
&::after {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 2rpx;
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
}
|
||||
|
||||
.coupon {
|
||||
width: 690rpx;
|
||||
margin: 20rpx auto;
|
||||
/* background: #11141D;
|
||||
.coupon {
|
||||
width: 690rpx;
|
||||
margin: 20rpx auto;
|
||||
background-color: #FFFFFF;
|
||||
padding: 0 32rpx;
|
||||
border-radius: 16rpx;
|
||||
/* background: #11141D;
|
||||
box-shadow: 0px 0px 10rpx 0px rgba(150, 255, 254, 0.7);
|
||||
padding: 0 30rpx; */
|
||||
box-sizing: border-box;
|
||||
/* border-radius: 20rpx; */
|
||||
}
|
||||
*/
|
||||
box-sizing: border-box;
|
||||
/* border-radius: 20rpx; */
|
||||
}
|
||||
|
||||
.content {
|
||||
width: 100vw;
|
||||
min-height: 100vh;
|
||||
box-sizing: border-box;
|
||||
color: #fff;
|
||||
.content {
|
||||
width: 100vw;
|
||||
min-height: 100vh;
|
||||
box-sizing: border-box;
|
||||
color: #fff;
|
||||
background-color: #F7F7F7;
|
||||
|
||||
.head {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 20;
|
||||
.head {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 20;
|
||||
|
||||
.header_title {
|
||||
height: 70rpx;
|
||||
line-height: 70rpx;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
font-weight: bold;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-left: 30rpx;
|
||||
box-sizing: border-box;
|
||||
.header_title {
|
||||
height: 70rpx;
|
||||
line-height: 70rpx;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
font-weight: bold;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-left: 30rpx;
|
||||
box-sizing: border-box;
|
||||
|
||||
> view:nth-of-type(1) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
>view:nth-of-type(1) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
> view:nth-of-type(2) {
|
||||
width: 520rpx;
|
||||
text-align: center;
|
||||
/* margin: auto; */
|
||||
}
|
||||
>view:nth-of-type(2) {
|
||||
width: 520rpx;
|
||||
text-align: center;
|
||||
/* margin: auto; */
|
||||
}
|
||||
|
||||
image {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
image {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user