征信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

225 lines
4.7 KiB

3 months ago
<template>
2 months ago
<view class="about">
<view class="about-navbar" :style="{'height': (statusBarHeight+44)+'px'}">
<u-navbar :bgColor="bgColor" :fixed="false" :autoBack="true" title="云股东中心">
<view class="u-nav-slot" slot="content">
<view class="nav"></view>
</view>
</u-navbar>
</view>
<view class="blank" :style="{'height': (statusBarHeight+44)+'px'}"></view>
<view class="about-banner">
<image mode="widthFix" src="@/static/yunbanner.png"></image>
</view>
<view class="about-gift">
<image src="@/static/gift.png"></image>
<view class="title">恭喜您成功已成为诚信点评云股东</view>
</view>
<view class="about-gift">
<view class="txt">
<view class="title">成为诚信点评云股东</view>
<view class="desc">29.9/<text>59.9/</text></view>
</view>
<view class="btn">发起支付</view>
</view>
<view class="about-menu">
<view class="title">云股东权益</view>
<view class="desc">云股东权益</view>
</view>
<view class="about-menu">
<view class="title">赞赏平台</view>
<scroll-view scroll-x class="list" :show-scrollbar="true">
<view class="item" :class="tabIndex == index?'item-on':''" v-for="(item,index) in 10" :key="index" @click="tabItem(index)">
<view class="a">请开发人员看电影</view>
<view class="b"><text>25</text></view>
</view>
</scroll-view>
</view>
<view class="about-tip">所有的赞赏均被用于产品开发及援助他人</view>
<view class="btns">支付赞赏</view>
3 months ago
</view>
</template>
<script>
2 months ago
const systemInfoSync = uni.getSystemInfoSync();
3 months ago
export default {
data() {
return {
2 months ago
statusBarHeight: 0,
tabIndex: 0,
list: [],
bgColor: "transparent"
3 months ago
};
2 months ago
},
onLoad() {
this.statusBarHeight = systemInfoSync.statusBarHeight
},
methods: {
tabItem(index) {
this.tabIndex = index;
}
3 months ago
}
}
</script>
2 months ago
<style scoped lang="scss">
// https://zhengxin.njrenzhou.cn
.about{
min-height: 100vh;
background: url(@/static/bg3.png) center top no-repeat;
background-size: 100% auto;
overflow: hidden;
padding: 0 25rpx;
box-sizing: border-box;
&-navbar{
position: fixed;
left: 0;
right: 0;
top: 0;
z-index: 12;
width: 100%;
background: url(@/static/bg3.png) center top no-repeat;
background-size: 100% auto;
}
&-banner{
width: 100%;
min-height: 280rpx;
margin: 0 auto;
margin-top: 10rpx;
image{
width: 100%;
height: 100%;
}
}
&-tip{
font-weight: 500;
font-size: 24rpx;
color: #222222;
margin-top: 30rpx;
text-align: center;
}
.btns{
width: 220rpx;
line-height: 80rpx;
background: #32303E;
border-radius: 80rpx;
font-weight: 500;
font-size: 28rpx;
color: #FFFFFF;
margin: 30rpx auto;
text-align: center;
}
&-gift{
width: 100%;
height: 314rpx;
background: #FFFFFF;
border-radius: 20rpx;
padding: 30rpx;
box-sizing: border-box;
margin: 0 auto;
margin-top: 20rpx;
text-align: center;
.txt{
width: 100%;
height: 150rpx;
background: #FAF7F0;
border-radius: 10rpx;
border: 1px solid #32303E;
padding: 20rpx;
box-sizing: border-box;
.desc{
font-weight: 500;
font-size: 28rpx;
color: #D80C0C;
margin-top: 20rpx;
text{
font-size: 24rpx;
color: #999999;
margin-left: 20rpx;
text-decoration-line: line-through;
}
}
}
.btn{
width: 220rpx;
line-height: 80rpx;
background: #32303E;
border-radius: 80rpx;
font-weight: 500;
font-size: 28rpx;
color: #FFFFFF;
margin: 0 auto;
margin-top: 25rpx;
}
image{
width: 228rpx;
height: 170rpx;
margin-bottom: 20rpx;
}
.title{
font-weight: 500;
font-size: 36rpx;
color: #222222;
}
}
&-menu{
width: 100%;
min-height: 180rpx;
background: #FFFFFF;
border-radius: 20rpx;
padding: 30rpx;
box-sizing: border-box;
margin: 0 auto;
margin-top: 20rpx;
.title{
font-weight: 500;
font-size: 36rpx;
color: #222222;
}
.desc{
font-weight: 500;
font-size: 28rpx;
color: #222222;
line-height: 42rpx;
overflow: hidden;
margin-top: 20rpx;
}
.list{
white-space: nowrap;
overflow: hidden;
margin-top: 30rpx;
.item{
width: 200rpx;
height: 156rpx;
background: #FAF7F0;
border-radius: 10rpx;
border: 1px solid #FAF7F0;
text-align: center;
display: inline-block;
padding: 25rpx;
box-sizing: border-box;
margin-left: 20rpx;
&:first-child{
margin-left: 0;
}
.a{
font-weight: 500;
font-size: 24rpx;
color: #222222;
white-space: initial;
}
.b{
font-weight: 500;
font-size: 36rpx;
color: #D80C0C;
margin-top: 5rpx;
}
&-on{
border: 1px solid #32303E;
}
}
}
}
}
3 months ago
</style>