Commit 8e95f01a authored by youjie's avatar youjie

积分

parent 9dc3a2c3
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
<scroll-view scroll-y="true" <scroll-view scroll-y="true"
@scroll="scroll" @scroll="scroll"
:scroll-top="scrollTop" :scroll-top="scrollTop"
class="col" style="width: 100%;height: 1px; flex: 1;"> class="col" style="width: 100%;height: 1px; flex: 1;overflow: hidden;background: #F3F1EF;">
<view class="userStyle">
<view class="headStatus" v-if="scrollTop > 50" :style="[titleStyle,{ <view class="headStatus" v-if="scrollTop > 50" :style="[titleStyle,{
zIndex: scrollTop < 10 ? 'unset' : 2, zIndex: scrollTop < 10 ? 'unset' : 2,
opacity: scrollTop < 10 ? '100' : scrollTop, opacity: scrollTop < 10 ? '100' : scrollTop,
...@@ -103,7 +102,7 @@ ...@@ -103,7 +102,7 @@
v-for="(item,index) in dataList" :key="index" v-for="(item,index) in dataList" :key="index"
@click="goDetails(item)"> @click="goDetails(item)">
<view class="userHeadPListL"> <view class="userHeadPListL">
<image mode="aspectFit" :src="item.imgCover"/> <image mode="scaleToFill" :src="item.imgCover"/>
<text>共{{item.peopleNum}}人</text> <text>共{{item.peopleNum}}人</text>
</view> </view>
<view class="userHeadPListA col column"> <view class="userHeadPListA col column">
...@@ -113,7 +112,7 @@ ...@@ -113,7 +112,7 @@
</view> </view>
</view> </view>
<view class="userHeadPListR"> <view class="userHeadPListR">
{{item.type==1?'+':'-'}}¥{{ item.money }} ¥{{item.type==1?'+':''}}{{ item.money }}
</view> </view>
</view> </view>
</view> </view>
...@@ -129,7 +128,6 @@ ...@@ -129,7 +128,6 @@
description="幸福存折:平台所有散拼报名跟团游产品均可参加幸福存折活动,欧洲线路为 80元/人,其他线路为 30元/人,婴儿不参加幸福存折活动。团队出团后7个工作日内将会存入幸福存折余额。" description="幸福存折:平台所有散拼报名跟团游产品均可参加幸福存折活动,欧洲线路为 80元/人,其他线路为 30元/人,婴儿不参加幸福存折活动。团队出团后7个工作日内将会存入幸福存折余额。"
></u-alert-tips> ></u-alert-tips>
</view> </view>
</view>
</scroll-view> </scroll-view>
<u-picker mode="time" v-model="showTime" :defaultTime="times" :params="params" @confirm = 'confirm'></u-picker> <u-picker mode="time" v-model="showTime" :defaultTime="times" :params="params" @confirm = 'confirm'></u-picker>
...@@ -210,6 +208,9 @@ ...@@ -210,6 +208,9 @@
this.times = this.year + '-' + this.month this.times = this.year + '-' + this.month
this.getList(); this.getList();
this.GetCustomerBalance() this.GetCustomerBalance()
},
created() {
}, },
methods: { methods: {
goTisp(){ goTisp(){
...@@ -308,14 +309,14 @@ ...@@ -308,14 +309,14 @@
position: relative; position: relative;
} }
.userStyle .userBox { .userBox {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
background: url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638774883791846536.png')no-repeat ; background: url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638774883791846536.png')no-repeat ;
background-size: 100% auto; background-size: 100% auto;
background-color: #F3F2EF; background-color: #F3F2EF;
min-height: 100vh; height: 100vh;
// padding-bottom: env(safe-area-inset-bottom); // padding-bottom: env(safe-area-inset-bottom);
} }
......
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
<scroll-view :scroll-y="true" <scroll-view :scroll-y="true"
@scroll="scroll" @scroll="scroll"
:scroll-top="scrollTop" :scroll-top="scrollTop"
class="col" style="width: 100%;height: 1px; flex: 1;"> class="col" style="width: 100%;height: 1px; flex: 1;overflow: hidden;background: #F3F1EF;">
<view class="userStyle">
<view class="headStatus" v-if="scrollTop > 50" :style="[titleStyle,{ <view class="headStatus" v-if="scrollTop > 50" :style="[titleStyle,{
zIndex: scrollTop < 10 ? 'unset' : 2, zIndex: scrollTop < 10 ? 'unset' : 2,
opacity: scrollTop < 10 ? '100' : scrollTop, opacity: scrollTop < 10 ? '100' : scrollTop,
...@@ -75,7 +74,7 @@ ...@@ -75,7 +74,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="listBox" <view class="listBox column"
:class="[showTisp?'active':'']" :class="[showTisp?'active':'']"
style="padding: 0 32rpx;width: 100vw;"> style="padding: 0 32rpx;width: 100vw;">
<view class="userMyOrderBox column"> <view class="userMyOrderBox column">
...@@ -87,24 +86,24 @@ ...@@ -87,24 +86,24 @@
{{ item.Name }} {{ item.Name }}
</view> </view>
</view> </view>
<view class="row"> <view class="row">
<view class="row" @click="SelectDate"> <view class="row" @click="SelectDate">
<text>{{year}}年</text> <text>{{year}}年</text>
<text>{{month}}月</text> <text>{{month}}月</text>
<u-icon name="arrow-down" size="28" color="#000"></u-icon> <u-icon name="arrow-down" size="28" color="#000"></u-icon>
</view> </view>
</view> </view>
</view> </view>
<scroll-view :scroll-y="true" class="col" <scroll-view :scroll-y="true" class="col"
@scrolltolower="lower" @scrolltolower="lower"
style="height: 1px;flex: 1; width: 100%;"> style="height: 1px;flex: 1; width: 100%;overflow: hidden;">
<view class="userHeadPListBox" v-if="dataList&&dataList.length>0"> <view class="userHeadPListBox" v-if="dataList&&dataList.length>0">
<view class="userHeadPList row" <view class="userHeadPList row"
v-for="(item,index) in dataList" :key="index" v-for="(item,index) in dataList" :key="index"
@click="goDetails(item)"> @click="goDetails(item)">
<view class="userHeadPListL"> <view class="userHeadPListL">
<image mode="aspectFit" :src="item.imgCover"/> <image mode="scaleToFill" :src="item.imgCover"/>
<text>共{{item.peopleNum}}人</text> <text>共{{item.peopleNum}}人</text>
</view> </view>
<view class="userHeadPListA col column"> <view class="userHeadPListA col column">
...@@ -114,7 +113,7 @@ ...@@ -114,7 +113,7 @@
</view> </view>
</view> </view>
<view class="userHeadPListR"> <view class="userHeadPListR">
{{item.type==1?'+':'-'}}¥{{ item.integralNum }} ¥{{item.type==1?'+':''}}{{ item.integralNum }}
</view> </view>
</view> </view>
</view> </view>
...@@ -126,11 +125,10 @@ ...@@ -126,11 +125,10 @@
<u-alert-tips v-if="showTisp" :show="showTisp" :close-able="true" @close="showTisp=false" <u-alert-tips v-if="showTisp" :show="showTisp" :close-able="true" @close="showTisp=false"
style="padding: 30rpx 30rpx;" style="padding: 30rpx 30rpx;"
type="warning" type="warning"
title="2025年2月1日(包含)起生效" title="2025年2月1日(包含)起生效"
description="积分:平台所有跟团游产品均可参加积分活动,积分获得比例:100:1(例:客人实付金额100元,获得1个积分)。团队出发后7个工作日内将会存入积分余额。" description="积分:平台所有跟团游产品均可参加积分活动,积分获得比例:100:1(例:客人实付金额100元,获得1个积分)。团队出发后7个工作日内将会存入积分余额。"
></u-alert-tips> ></u-alert-tips>
</view> </view>
</view>
</scroll-view> </scroll-view>
<u-picker mode="time" v-model="showTime" :defaultTime="times" :params="params" @confirm = 'confirm'></u-picker> <u-picker mode="time" v-model="showTime" :defaultTime="times" :params="params" @confirm = 'confirm'></u-picker>
...@@ -211,6 +209,9 @@ ...@@ -211,6 +209,9 @@
this.times = this.year + '-' + this.month this.times = this.year + '-' + this.month
this.getList(); this.getList();
this.GetCustomerIntegral() this.GetCustomerIntegral()
},
created() {
}, },
methods: { methods: {
goTisp(){ goTisp(){
...@@ -298,6 +299,7 @@ ...@@ -298,6 +299,7 @@
.listBox{ .listBox{
height: 1px; height: 1px;
flex: 1; flex: 1;
overflow: hidden;
} }
.listBox.active{ .listBox.active{
min-height: 936rpx; min-height: 936rpx;
...@@ -309,14 +311,14 @@ ...@@ -309,14 +311,14 @@
position: relative; position: relative;
} }
.userStyle .userBox { .userBox {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
background: url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638778933736114322.png')no-repeat ; background: url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638778933736114322.png')no-repeat ;
background-size: 100% auto; background-size: 100% auto;
background-color: #F3F2EF; background-color: #F3F2EF;
min-height: 100vh; height: 100vh;
// padding-bottom: env(safe-area-inset-bottom); // padding-bottom: env(safe-area-inset-bottom);
} }
...@@ -435,10 +437,12 @@ ...@@ -435,10 +437,12 @@
} }
.userMyOrderBox{ .userMyOrderBox{
background: #FFFFFF; background: #FFFFFF;
height: 100%;
overflow: hidden; overflow: hidden;
border-radius: 20rpx; border-radius: 20rpx;
padding: 25rpx 34rpx 45rpx 34rpx; padding: 25rpx 34rpx 45rpx 34rpx;
height: 1px;
flex: 1;
overflow: hidden;
} }
.userHeadPList{ .userHeadPList{
padding: 20rpx 0; padding: 20rpx 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment