初始化万家商超用户端仓库
This commit is contained in:
289
pages/my/contributionValue/contributionValue1.vue
Normal file
289
pages/my/contributionValue/contributionValue1.vue
Normal file
@ -0,0 +1,289 @@
|
||||
<template>
|
||||
<view class="page" :style="themeColor">
|
||||
<view class="flex benben-position-layout flex flex-wrap align-center contributionValue_flex_0" :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
|
||||
<view class='flex flex-wrap align-center justify-between flex-sub contributionValue_fd0_0' >
|
||||
<view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1" >
|
||||
<text class='fu-iconfont2 contributionValue_fd0_0_c0_c0' @tap.stop="handleJumpDiy" data-type="back" data-url="1" ></text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-stretch justify-center flex-sub' >
|
||||
<text class='contributionValue_fd0_0_c1_c0' >积分明细</text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center contributionValue_fd0_0_c2' >
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view :style="{height: (88+StatusBarRpx)+'rpx'}" ></view>
|
||||
<!---flex布局flex布局开始-->
|
||||
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout contributionValue_flex_1" >
|
||||
<view class='flex flex-direction flex-wrap align-start flex-sub contributionValue_fd1_0' >
|
||||
<view class='flex flex-wrap align-center' >
|
||||
<text class='contributionValue_fd1_0_c0_c0' >积分</text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-end contributionValue_fd1_0_c1' >
|
||||
<text class='contributionValue_fd1_0_c1_c0' >当前</text>
|
||||
<text class='contributionValue_fd1_0_c1_c1' >40</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!---flex布局flex布局结束-->
|
||||
<!---flex布局flex布局开始-->
|
||||
<view class="flex benben-flex-layout flex-wrap align-center contributionValue_flex_2" >
|
||||
<view>
|
||||
<benben-flex-tabs class-name='contributionValue_benbenTabsfd2_0' v-model="tabls" ref="benben_tabsfd2_0" select-mark="benben_tabsfd2_0" key="benben_tabsfd2_0" :open-title-type='false' :open-sticky='false' :top='0' :is-show-content='false' :scrollspy='false' :tabs-info.sync="tabsInfofd2_0" >
|
||||
|
||||
<scroll-view
|
||||
@scroll="tabsInfofd2_0.scrollX = $event.detail.scrollLeft"
|
||||
id="benben_tabsfd2_0"
|
||||
class="benben-tabs"
|
||||
style="width:750rpx"
|
||||
:scroll-x="true"
|
||||
:scroll-left.sync="tabsInfofd2_0.moveX"
|
||||
scroll-with-animation="all .3s ease"
|
||||
>
|
||||
<view class="benben-tabs-content" id="benben_tabsfd2_0-content">
|
||||
<view id="benben_tabsfd2_0-title" class="benben-tabs-title flex flex align-center justify-around">
|
||||
<view
|
||||
:class="{ 'checkTitlefd2_0': tabls == '1', 'flex flex-wrap align-center': true }"
|
||||
@tap="tabls = '1'"
|
||||
:id="`benben_tabsfd2_0-title-item-${'1'}`"
|
||||
|
||||
>
|
||||
|
||||
<text >收入</text>
|
||||
|
||||
</view> <view
|
||||
:class="{ 'checkTitlefd2_0': tabls == '2', 'flex flex-wrap align-center': true }"
|
||||
@tap="tabls = '2'"
|
||||
:id="`benben_tabsfd2_0-title-item-${'2'}`"
|
||||
|
||||
>
|
||||
|
||||
<text >支出</text>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<view :style="{ left: tabsInfofd2_0.lineleft, maxWidth: tabsInfofd2_0.lineWidth }" id="benben_tabsfd2_0-line" class="benben-tabs-line flex benben-flex-tabs-line contributionValue_linefd2_0"></view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
</benben-flex-tabs>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!---flex布局flex布局结束-->
|
||||
<!---收入flex布局开始-->
|
||||
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout contributionValue_flex_3" v-if= "tabls=='1'" >
|
||||
<view class='flex flex-direction flex-wrap align-stretch flex-sub contributionValue_fd3_0' >
|
||||
<view class='flex flex-wrap align-center justify-between' >
|
||||
<view class='flex flex-wrap align-center' >
|
||||
<image class='contributionValue_fd3_0_c0_c0_c0' mode="aspectFit" :src='STATIC_URL+"135.png"'></image>
|
||||
<text class='contributionValue_fd3_0_c0_c0_c1' >仟吉蛋糕店</text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center' >
|
||||
<text class='contributionValue_fd3_0_c0_c1_c0' >线上订单</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center justify-between contributionValue_fd3_0_c1' >
|
||||
<view class='flex flex-wrap align-center' >
|
||||
<!-- <image class='contributionValue_fd3_0_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"136.png"'></image> -->
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center' >
|
||||
<text class='contributionValue_fd3_0_c1_c1_c0' >+</text>
|
||||
<text class='contributionValue_fd3_0_c1_c1_c1' >10.07</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center' >
|
||||
<text class='contributionValue_fd3_0_c2_c0' >2023.03.20 10:00:00</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class='flex flex-direction flex-wrap align-stretch flex-sub contributionValue_fd3_1' >
|
||||
<view class='flex flex-wrap align-center justify-between' >
|
||||
<view class='flex flex-wrap align-center' >
|
||||
<image class='contributionValue_fd3_1_c0_c0_c0' mode="aspectFit" :src='STATIC_URL+"135.png"'></image>
|
||||
<text class='contributionValue_fd3_1_c0_c0_c1' >仟吉蛋糕店</text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center' >
|
||||
<text class='contributionValue_fd3_1_c0_c1_c0' >线上订单</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center justify-between contributionValue_fd3_1_c1' >
|
||||
<view class='flex flex-wrap align-center' >
|
||||
<!-- <image class='contributionValue_fd3_1_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"136.png"'></image> -->
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center' >
|
||||
<text class='contributionValue_fd3_1_c1_c1_c0' >+</text>
|
||||
<text class='contributionValue_fd3_1_c1_c1_c1' >10.07</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center' >
|
||||
<text class='contributionValue_fd3_1_c2_c0' >2023.03.20 10:00:00</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!---收入flex布局结束-->
|
||||
|
||||
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
|
||||
export default {
|
||||
components:{},
|
||||
|
||||
|
||||
data(){
|
||||
return {"tabsInfofd2_0":{ lineleft: '', lineWidth: '', moveX: 0, scrollX: 0, PageScrollX: 0 },"tabls":"1"};
|
||||
},
|
||||
computed:{
|
||||
themeColor() {
|
||||
return this.$store.getters.themeColor
|
||||
},
|
||||
|
||||
},
|
||||
watch:{},
|
||||
onLoad(options){
|
||||
|
||||
},
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
onReady(){
|
||||
|
||||
},
|
||||
onShow(){
|
||||
|
||||
},
|
||||
onHide(){
|
||||
|
||||
},
|
||||
onResize(){
|
||||
|
||||
},
|
||||
onPullDownRefresh(){
|
||||
|
||||
},
|
||||
onReachBottom(e){
|
||||
|
||||
},
|
||||
onPageScroll(e){
|
||||
|
||||
},
|
||||
methods:{
|
||||
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.page{
|
||||
width: 100vw;
|
||||
overflow-x: hidden;
|
||||
min-height: calc(100vh - var(--window-bottom));
|
||||
background:rgba(246, 247, 249, 1);background-size: 100% auto !important;
|
||||
}
|
||||
.contributionValue_flex_0{
|
||||
background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
|
||||
}
|
||||
.contributionValue_fd0_0_c2{
|
||||
width:32rpx;height:32rpx;
|
||||
}
|
||||
.contributionValue_fd0_0_c1_c0{
|
||||
font-size:36rpx;font-weight:600;color:#333333;line-height:36rpx;
|
||||
}
|
||||
.contributionValue_fd0_0_c0_c0{
|
||||
font-size:32rpx;font-weight:500;color:#333;line-height:88rpx;
|
||||
}
|
||||
.contributionValue_fd0_0{
|
||||
margin:0rpx 32rpx 0rpx 32rpx;
|
||||
}
|
||||
.contributionValue_flex_1{
|
||||
background:rgba(203, 255, 247, 1);background-size:100% auto !important;padding:19rpx 32rpx 21rpx 32rpx;
|
||||
}
|
||||
.contributionValue_fd1_0_c1_c1{
|
||||
color:#FFFFFF;font-size:48rpx;font-weight:700;line-height:42rpx;margin:0rpx 0rpx 0rpx 16rpx;
|
||||
}
|
||||
.contributionValue_fd1_0_c1_c0{
|
||||
color:#FFFFFF;font-size:24rpx;font-weight:500;line-height:24rpx;
|
||||
}
|
||||
.contributionValue_fd1_0_c1{
|
||||
margin:32rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
.contributionValue_fd1_0_c0_c0{
|
||||
color:#FFFFFF;font-size:32rpx;font-weight:500;line-height:42rpx;
|
||||
}
|
||||
.contributionValue_fd1_0{
|
||||
background:url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/138.png) no-repeat ,transparent;background-size:100% auto !important;padding:116rpx 0rpx 110rpx 30rpx;
|
||||
}
|
||||
.contributionValue_flex_2{
|
||||
background:linear-gradient(360deg, #F6F7F9 0%, #FFFFFF 100%);margin:-35rpx 0rpx 0rpx 0rpx;border-radius:16rpx 16rpx 0rpx 0rpx;position:relative;
|
||||
}
|
||||
.contributionValue_linefd2_0{
|
||||
background:rgba(255, 147, 0, 1);width:40rpx;height:8rpx;top:91rpx;background-size:100% auto !important;border-radius:25rpx 25rpx 25rpx 25rpx;
|
||||
}
|
||||
.checkTitlefd2_0{
|
||||
font-weight:700 !important;font-size:32rpx !important;color:#333 !important;background-color:rgba(255, 255, 255, 1) !important;
|
||||
}
|
||||
::v-deep .contributionValue_benbenTabsfd2_0{
|
||||
width:750rpx;height:100rpx;white-space:nowrap;font-size:32rpx;font-weight:500;color:#666666;border-radius:16rpx 16rpx 0rpx 0rpx;text-align:center;
|
||||
}
|
||||
.contributionValue_flex_3{
|
||||
background:rgba(246, 247, 249, 1);padding:0rpx 24rpx 0rpx 24rpx;border-radius:16rpx 16rpx 0rpx 0rpx;margin:rpx 0rpx 0rpx 0rpx;background-size:100% auto !important;
|
||||
}
|
||||
.contributionValue_fd3_1_c2_c0{
|
||||
color:#999999;font-size:28rpx;font-weight:400;line-height:42rpx;
|
||||
}
|
||||
.contributionValue_fd3_1_c1_c1_c1{
|
||||
color:#E32121;font-size:36rpx;font-weight:500;line-height:36rpx;
|
||||
}
|
||||
.contributionValue_fd3_1_c1_c1_c0{
|
||||
color:#E32121;font-size:36rpx;font-weight:500;line-height:36rpx;
|
||||
}
|
||||
.contributionValue_fd3_1_c1_c0_c0{
|
||||
width:120rpx;height:120rpx;border-radius:16rpx 16rpx 16rpx 16rpx;
|
||||
}
|
||||
.contributionValue_fd3_1_c1{
|
||||
margin:40rpx 0rpx 57rpx 0rpx;
|
||||
}
|
||||
.contributionValue_fd3_1_c0_c1_c0{
|
||||
color:#59A6F4;font-size:28rpx;font-weight:500;line-height:50rpx;
|
||||
}
|
||||
.contributionValue_fd3_1_c0_c0_c1{
|
||||
color:#333333;font-size:32rpx;font-weight:500;
|
||||
}
|
||||
.contributionValue_fd3_1_c0_c0_c0{
|
||||
width:30rpx;height:28rpx;border-radius:0rpx 0rpx 0rpx 0rpx;margin:0rpx 16rpx 0rpx 0rpx;
|
||||
}
|
||||
.contributionValue_fd3_1{
|
||||
background:rgba(255, 255, 255, 1);border-radius:16rpx 16rpx 16rpx 16rpx;background-size:100% auto !important;margin:0rpx 0rpx 20rpx 0rpx;padding:41rpx 24rpx 24rpx 24rpx;
|
||||
}
|
||||
.contributionValue_fd3_0_c2_c0{
|
||||
color:#999999;font-size:28rpx;font-weight:400;line-height:42rpx;
|
||||
}
|
||||
.contributionValue_fd3_0_c1_c1_c1{
|
||||
color:#E32121;font-size:36rpx;font-weight:500;line-height:36rpx;
|
||||
}
|
||||
.contributionValue_fd3_0_c1_c1_c0{
|
||||
color:#E32121;font-size:36rpx;font-weight:500;line-height:36rpx;
|
||||
}
|
||||
.contributionValue_fd3_0_c1_c0_c0{
|
||||
width:120rpx;height:120rpx;border-radius:16rpx 16rpx 16rpx 16rpx;
|
||||
}
|
||||
.contributionValue_fd3_0_c1{
|
||||
margin:40rpx 0rpx 57rpx 0rpx;
|
||||
}
|
||||
.contributionValue_fd3_0_c0_c1_c0{
|
||||
color:#59A6F4;font-size:28rpx;font-weight:500;line-height:50rpx;
|
||||
}
|
||||
.contributionValue_fd3_0_c0_c0_c1{
|
||||
color:#333333;font-size:32rpx;font-weight:500;
|
||||
}
|
||||
.contributionValue_fd3_0_c0_c0_c0{
|
||||
width:30rpx;height:28rpx;border-radius:0rpx 0rpx 0rpx 0rpx;margin:0rpx 16rpx 0rpx 0rpx;
|
||||
}
|
||||
.contributionValue_fd3_0{
|
||||
background:rgba(255, 255, 255, 1);border-radius:16rpx 16rpx 16rpx 16rpx;background-size:100% auto !important;margin:0rpx 0rpx 20rpx 0rpx;padding:41rpx 24rpx 24rpx 24rpx;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user