| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216 |
- <<<<<<< HEAD
- <template>
- <view>
- <view class="top-cont">
- <!-- 背景图片 -->
- <image class="bg"
- src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/ed4a8ff0406747a68e40988b210d1c78.png"
- mode=""></image>
- <view class="top-inner">
- <!-- 这里是状态栏 -->
- <view class="fixed-top-box" :style="{ background: bg }">
- <view class="status_bar" :style="{height: statusBarHeight}"></view>
- <view class="back-box" @click="back">
- <text class="title">我的积分</text>
- <text></text>
- </view>
- </view>
- <!-- 顶部固定后站位元素 -->
- <view style="padding-bottom: 88upx;">
- <view :style="{height: statusBarHeight}"></view>
- </view>
- <!-- 可用积分 -->
- <view class="available-points">
- <text class="label">可用积分</text>
- <text class="num">{{integral}}</text>
- </view>
-
- <view class="content">
- <!-- 积分列表 -->
- <view class="points-cont">
- <!-- 列表 -->
- <view class="point-list">
- <view v-for="(item,index) in list" :key="index" class="item">
- <view class="left">
- <text class="title">
- <!-- {{item.logTypeName}} -->
- <!-- 直播间完课积分 -->
- {{utils.getDictLabel2Name(typeOptions,item.logType)}}
- </text>
- <view class="time">{{item.createTime}}</view>
- </view>
- <view class="right">
- <text v-if="item.integral<0" class="less">{{item.integral}}</text>
- <text v-else class="add">+{{item.integral}}</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- // import {
- // getUserIntegralInfo
- // } from '@/api/living.js' // 积分
- // import {
- // completionRecords,
- // completionInfo,doSign
- // } from '@/api/integral.js'
- import {getUserIntegralLogsList,getUserSign} from '@/api/integral';
- import {getDictByKey} from '@/api/common.js'
- // import {getUserSign,getUserIntegralLogsList,doSign} from '@/api/integral';
- // import {
- // doSign
- // } from '@/api/integral';
- export default {
- comments() {
- Loading
- },
- data() {
- return {
- totalDays: null,
- records: null,
- liveId: 712,
- signNum: 0,
- typeOptions: [],
- top: 0,
- integral: 0,
- sign: [],
- // 状态栏的高度
- statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
- // tab切换
- // {lable:'获得',value:1},{lable:'消耗',value:2}
- // tags: [{lable:'最近十条',value:0},],
- // 选中的tab
- tabIndex: 0,
- current: 0,
- page: {
- type: 0,
- page: 1,
- pageSize: 10
- },
- list: [],
- loaded: false,
- loading: false
- };
- },
- onLoad(option) {
- this.getDictByKey("sys_integral_log_type");
- if (option.liveId) {
- this.liveId = option.liveId
- }
- console.log("进入积分页面了")
- // this.integrallogs()
- // this.getUserIntegralInfo()
- // this.completionRecords()
- // this.completionInfo()
- this.getUserSign()
- this.getUserIntegralLogsList();
- },
- computed: {
- // 计算属性的 getter
- bg: function() {
- return 'rgba(255,142,60, ' + this.top / 30 + ')';
- },
- },
- methods: {
- // integrallogs() {
- // integrallogs(data).then((res) => {
- // if (res.code == 200) {
- // console.log("用户领取看课积分", res)
- // // receiveList
- // }
- // }).catch((error) => {});
- // },
- // 查询用户积分领取记录
- // completionRecords() {
- // if (!this.liveId) return;
- // const data = {
- // liveId: this.liveId
- // }
- // completionRecords(data).then((res) => {
- // if (res.code == 200) {
- // this.list = res.data
- // console.log("查询用户积分领取记录", res)
- // }
- // }).catch((error) => {
- // });
- // },
- //查询用户积分余额和看直播信息统计
- // completionInfo() {
- // if (!this.liveId) return;
- // const data = {
- // liveId: this.liveId
- // }
- // completionInfo(data).then((res) => {
- // if (res.code == 200) {
- // this.integral = res.data.integral
- // this.records = res.data.records
- // this.totalDays = res.data.totalDays
- // console.log("查询用户积分余额和看直播信息统计", res)
- // }
- // }).catch((error) => {
- // });
- // },
- // doSign() {
- // var data = {};
- // // uni.showLoading({
- // // title:"正在加载中..."
- // // })
- // doSign(data).then(
- // res => {
- // // uni.hideLoading()
- // if (res.code == 200) {
- // uni.showToast({
- // icon: 'success',
- // title: res.msg,
- // });
- // this.list = [];
- // this.page.page = 1;
- // this.list = [];
- // this.loaded = false;
- // this.loading = false;
- // this.getUserIntegralLogsList();
- // this.getUserSign();
- // } else {
- // uni.showToast({
- // icon: 'none',
- // title: res.msg,
- // });
- // }
- // },
- // rej => {}
- // );
- // },
- getUserSign() {
- getUserSign().then(
- res => {
- if (res.code == 200) {
- this.data = res.member;
- this.signNum = res.signNum;
- this.isDaySign = res.isDaySign;
- this.integral = res.integral;
- this.sign = JSON.parse(res.sign);
- } else {
- uni.showToast({
- icon: 'none',
- title: "请求失败",
- });
- }
- },
- rej => {}
- );
- },
- // // 积分
- // getUserIntegralInfo() {
- // uni.showLoading({
- // title: "正在加载中..."
- // })
- // getUserIntegralInfo().then(res => {
- // uni.hideLoading()
- // if (res.code == 200) {
- // console.log("积分>>", res)
- // // 处理列表数据,将"积分"替换为"积分"
- // this.list = res.data.logs.map(item => {
- // return {
- // ...item,
- // logTypeName: item.logTypeName ? item.logTypeName.replace(/积分/g, '积分') :
- // item.logTypeName
- // }
- // })
- // this.integral = res.data.integral
- // }
- // }).catch(error => {
- // console.error("获取积分数据失败:", error);
- // });
- // },
- getDictByKey(key) {
- var data = {
- key: key
- }
- getDictByKey(data).then(
- res => {
- if (res.code == 200) {
- this.typeOptions = res.data;
- }
- },
- err => {}
- );
- },
- getUserIntegralLogsList() {
- let that = this;
- if (that.loaded == true || that.loading == true) return;
- that.loading = true;
- uni.showLoading({
- title: "加载中..."
- })
- getUserIntegralLogsList(that.page).then(
- res => {
- that.loading = false;
- that.loaded = res.data.list.length < that.page.pageSize;
- that.page.page = that.page.page + 1;
- that.list.push.apply(that.list, res.data.list);
- uni.hideLoading()
- },
- err => {
- uni.hideLoading()
- uni.showToast({
- title: err.msg,
- icon: 'none',
- duration: 2000
- });
- }
- );
- },
- // 返回上一页
- back() {
- uni.navigateBack()
- },
- // tab选择
- // tabChange(item) {
- // console.log(item)
- // this.tabIndex = item.value
- // this.page.type=this.tabIndex;
- // this.page.page=1;
- // this.list=[];
- // this.loaded=false;
- // this.loading=false;
- // this.getUserIntegralLogsList();
- // }
- }
- }
- </script>
- <style lang="scss">
- .fixed-top-box {
- width: 100%;
- position: fixed;
- top: 0;
- left: 0;
- z-index: 1000;
- transition: all 0.5s;
- }
- .top-cont {
- width: 100%;
- height: 654upx;
- position: relative;
- .bg {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 1;
- }
- .top-inner {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 2;
- .back-box {
- height: 88upx;
- padding-left: 22upx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0 20upx;
- image {
- width: 40upx;
- height: 40upx;
- }
- .title {
- font-size: 36upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #FFFFFF;
- }
- }
- .available-points {
- margin-top: 140upx;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- .label {
- font-size: 30upx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #FFFFFF;
- line-height: 1;
- }
- .num {
- font-size: 80upx;
- font-family: Gilroy;
- font-weight: 500;
- color: #FFFFFF;
- line-height: 1;
- margin-top: 28upx;
- }
- }
- .singn-content {
- padding: 0 20upx;
- margin-top: 50upx;
- }
- .sign-in-box {
- height: 380upx;
- background: #FFFFFF;
- border-radius: 16upx;
- .inner {
- padding: 40upx 30upx;
- .title-box {
- font-size: 26upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- line-height: 1;
- .num {
- font-size: 32upx;
- font-family: PingFang SC;
- font-weight: Bold;
- color: #FF7511;
- margin: 0 10upx;
- line-height: 1;
- }
- }
- .sign-list {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-top: 40upx;
- .item {
- display: flex;
- justify-content: center;
- .right {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- image {
- width: 44upx;
- height: 44upx;
- margin-bottom: 20upx;
- }
- .text {
- font-size: 24upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #FF7511;
- line-height: 1;
- white-space: nowrap;
- }
- }
- .line {
- width: 34upx;
- height: 4upx;
- background: #F6CDA7;
- border-radius: 2upx;
- margin-top: 22upx;
- }
- &:first-child {
- .line {
- display: none;
- }
- }
- &.active {
- .line {
- background: #FF8E3C;
- }
- }
- }
- }
- }
- .sign-btn-box {
- padding: 0 14upx;
- .btn {
- width: 100%;
- height: 88upx;
- box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05);
- background-color: #FF7511;
- border-radius: 44rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- image {
- width: 32upx;
- height: 32upx;
- }
- .text {
- font-size: 30upx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #FFFFFF;
- line-height: 1;
- }
- }
- }
- }
- }
- }
- .content {
- margin-top: 20upx;
- padding: 0 20upx 40upx;
- .points-cont {
- background-color: #FFFFFF;
- border-radius: 16upx;
- .pub-tab-box {
- padding: 0 80upx;
- .tab-inner {
- height: 88upx;
- line-height: 88upx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .item {
- font-size: 28upx;
- white-space: nowrap;
- line-height: 1;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- display: flex;
- align-items: center;
- justify-content: center;
- &.active {
- font-weight: bold;
- color: #333333;
- }
- .text {
- position: relative;
- z-index: 1;
- }
- .tab-bg {
- width: 72upx;
- height: 28upx;
- position: absolute;
- top: 17upx;
- left: 50%;
- transform: translateX(-36upx);
- z-index: -1;
- }
- }
- }
- .point-list {
- padding: 0 30upx;
- .item {
- padding: 30upx 0;
- display: flex;
- align-items: center;
- justify-content: space-between;
- border-bottom: 1px solid #F0F0F0;
- &:last-child {
- border-bottom: none;
- }
- .left {
- .title {
- font-size: 28upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #111111;
- line-height: 1;
- }
- .time {
- font-size: 24upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #999999;
- line-height: 1;
- margin-top: 22upx;
- }
- }
- .right {
- .add {
- font-size: 28upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #111111;
- }
- .less {
- font-size: 28upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #F56C6C;
- }
- }
- }
- }
- }
- }
- =======
- <template>
- <view>
- <view class="top-cont">
- <!-- 背景图片 -->
- <image class="bg"
- src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/ed4a8ff0406747a68e40988b210d1c78.png"
- mode=""></image>
- <view class="top-inner">
- <!-- 这里是状态栏 -->
- <view class="fixed-top-box" :style="{ background: bg }">
- <view class="status_bar" :style="{height: statusBarHeight}"></view>
- <view class="back-box" @click="back">
- <text class="title">我的积分</text>
- <text></text>
- </view>
- </view>
- <!-- 顶部固定后站位元素 -->
- <view style="padding-bottom: 88upx;">
- <view :style="{height: statusBarHeight}"></view>
- </view>
- <!-- 可用积分 -->
- <view class="available-points">
- <text class="label">可用积分</text>
- <text class="num">{{integral}}</text>
- </view>
-
- <view class="content">
- <!-- 积分列表 -->
- <view class="points-cont">
- <!-- 列表 -->
- <view class="point-list">
- <view v-for="(item,index) in list" :key="index" class="item">
- <view class="left">
- <text class="title">
- <!-- {{item.logTypeName}} -->
- <!-- 直播间完课积分 -->
- {{utils.getDictLabel2Name(typeOptions,item.logType)}}
- </text>
- <view class="time">{{item.createTime}}</view>
- </view>
- <view class="right">
- <text v-if="item.integral<0" class="less">{{item.integral}}</text>
- <text v-else class="add">+{{item.integral}}</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- // import {
- // getUserIntegralInfo
- // } from '@/api/living.js' // 积分
- // import {
- // completionRecords,
- // completionInfo,doSign
- // } from '@/api/integral.js'
- import {getUserIntegralLogsList,getUserSign} from '@/api/integral';
- import {getDictByKey} from '@/api/common.js'
- // import {getUserSign,getUserIntegralLogsList,doSign} from '@/api/integral';
- // import {
- // doSign
- // } from '@/api/integral';
- export default {
- comments() {
- Loading
- },
- data() {
- return {
- totalDays: null,
- records: null,
- liveId: 712,
- signNum: 0,
- typeOptions: [],
- top: 0,
- integral: 0,
- sign: [],
- // 状态栏的高度
- statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
- // tab切换
- // {lable:'获得',value:1},{lable:'消耗',value:2}
- // tags: [{lable:'最近十条',value:0},],
- // 选中的tab
- tabIndex: 0,
- current: 0,
- page: {
- type: 0,
- page: 1,
- pageSize: 10
- },
- list: [],
- loaded: false,
- loading: false
- };
- },
- onLoad(option) {
- this.getDictByKey("sys_integral_log_type");
- if (option.liveId) {
- this.liveId = option.liveId
- }
- console.log("进入积分页面了")
- // this.integrallogs()
- // this.getUserIntegralInfo()
- // this.completionRecords()
- // this.completionInfo()
- this.getUserSign()
- this.getUserIntegralLogsList();
- },
- computed: {
- // 计算属性的 getter
- bg: function() {
- return 'rgba(255,142,60, ' + this.top / 30 + ')';
- },
- },
- methods: {
- // integrallogs() {
- // integrallogs(data).then((res) => {
- // if (res.code == 200) {
- // console.log("用户领取看课积分", res)
- // // receiveList
- // }
- // }).catch((error) => {});
- // },
- // 查询用户积分领取记录
- // completionRecords() {
- // if (!this.liveId) return;
- // const data = {
- // liveId: this.liveId
- // }
- // completionRecords(data).then((res) => {
- // if (res.code == 200) {
- // this.list = res.data
- // console.log("查询用户积分领取记录", res)
- // }
- // }).catch((error) => {
- // });
- // },
- //查询用户积分余额和看直播信息统计
- // completionInfo() {
- // if (!this.liveId) return;
- // const data = {
- // liveId: this.liveId
- // }
- // completionInfo(data).then((res) => {
- // if (res.code == 200) {
- // this.integral = res.data.integral
- // this.records = res.data.records
- // this.totalDays = res.data.totalDays
- // console.log("查询用户积分余额和看直播信息统计", res)
- // }
- // }).catch((error) => {
- // });
- // },
- // doSign() {
- // var data = {};
- // // uni.showLoading({
- // // title:"正在加载中..."
- // // })
- // doSign(data).then(
- // res => {
- // // uni.hideLoading()
- // if (res.code == 200) {
- // uni.showToast({
- // icon: 'success',
- // title: res.msg,
- // });
- // this.list = [];
- // this.page.page = 1;
- // this.list = [];
- // this.loaded = false;
- // this.loading = false;
- // this.getUserIntegralLogsList();
- // this.getUserSign();
- // } else {
- // uni.showToast({
- // icon: 'none',
- // title: res.msg,
- // });
- // }
- // },
- // rej => {}
- // );
- // },
- getUserSign() {
- getUserSign().then(
- res => {
- if (res.code == 200) {
- this.data = res.member;
- this.signNum = res.signNum;
- this.isDaySign = res.isDaySign;
- this.integral = res.integral;
- this.sign = JSON.parse(res.sign);
- } else {
- uni.showToast({
- icon: 'none',
- title: "请求失败",
- });
- }
- },
- rej => {}
- );
- },
- // // 积分
- // getUserIntegralInfo() {
- // uni.showLoading({
- // title: "正在加载中..."
- // })
- // getUserIntegralInfo().then(res => {
- // uni.hideLoading()
- // if (res.code == 200) {
- // console.log("积分>>", res)
- // // 处理列表数据,将"积分"替换为"积分"
- // this.list = res.data.logs.map(item => {
- // return {
- // ...item,
- // logTypeName: item.logTypeName ? item.logTypeName.replace(/积分/g, '积分') :
- // item.logTypeName
- // }
- // })
- // this.integral = res.data.integral
- // }
- // }).catch(error => {
- // console.error("获取积分数据失败:", error);
- // });
- // },
- getDictByKey(key) {
- var data = {
- key: key
- }
- getDictByKey(data).then(
- res => {
- if (res.code == 200) {
- this.typeOptions = res.data;
- }
- },
- err => {}
- );
- },
- getUserIntegralLogsList() {
- let that = this;
- if (that.loaded == true || that.loading == true) return;
- that.loading = true;
- uni.showLoading({
- title: "加载中..."
- })
- getUserIntegralLogsList(that.page).then(
- res => {
- that.loading = false;
- that.loaded = res.data.list.length < that.page.pageSize;
- that.page.page = that.page.page + 1;
- that.list.push.apply(that.list, res.data.list);
- uni.hideLoading()
- },
- err => {
- uni.hideLoading()
- uni.showToast({
- title: err.msg,
- icon: 'none',
- duration: 2000
- });
- }
- );
- },
- // 返回上一页
- back() {
- uni.navigateBack()
- },
- // tab选择
- // tabChange(item) {
- // console.log(item)
- // this.tabIndex = item.value
- // this.page.type=this.tabIndex;
- // this.page.page=1;
- // this.list=[];
- // this.loaded=false;
- // this.loading=false;
- // this.getUserIntegralLogsList();
- // }
- }
- }
- </script>
- <style lang="scss">
- .fixed-top-box {
- width: 100%;
- position: fixed;
- top: 0;
- left: 0;
- z-index: 1000;
- transition: all 0.5s;
- }
- .top-cont {
- width: 100%;
- height: 654upx;
- position: relative;
- .bg {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 1;
- }
- .top-inner {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 2;
- .back-box {
- height: 88upx;
- padding-left: 22upx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0 20upx;
- image {
- width: 40upx;
- height: 40upx;
- }
- .title {
- font-size: 36upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #FFFFFF;
- }
- }
- .available-points {
- margin-top: 140upx;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- .label {
- font-size: 30upx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #FFFFFF;
- line-height: 1;
- }
- .num {
- font-size: 80upx;
- font-family: Gilroy;
- font-weight: 500;
- color: #FFFFFF;
- line-height: 1;
- margin-top: 28upx;
- }
- }
- .singn-content {
- padding: 0 20upx;
- margin-top: 50upx;
- }
- .sign-in-box {
- height: 380upx;
- background: #FFFFFF;
- border-radius: 16upx;
- .inner {
- padding: 40upx 30upx;
- .title-box {
- font-size: 26upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- line-height: 1;
- .num {
- font-size: 32upx;
- font-family: PingFang SC;
- font-weight: Bold;
- color: #FF7511;
- margin: 0 10upx;
- line-height: 1;
- }
- }
- .sign-list {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-top: 40upx;
- .item {
- display: flex;
- justify-content: center;
- .right {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- image {
- width: 44upx;
- height: 44upx;
- margin-bottom: 20upx;
- }
- .text {
- font-size: 24upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #FF7511;
- line-height: 1;
- white-space: nowrap;
- }
- }
- .line {
- width: 34upx;
- height: 4upx;
- background: #F6CDA7;
- border-radius: 2upx;
- margin-top: 22upx;
- }
- &:first-child {
- .line {
- display: none;
- }
- }
- &.active {
- .line {
- background: #FF8E3C;
- }
- }
- }
- }
- }
- .sign-btn-box {
- padding: 0 14upx;
- .btn {
- width: 100%;
- height: 88upx;
- box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05);
- background-color: #FF7511;
- border-radius: 44rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- image {
- width: 32upx;
- height: 32upx;
- }
- .text {
- font-size: 30upx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #FFFFFF;
- line-height: 1;
- }
- }
- }
- }
- }
- }
- .content {
- margin-top: 20upx;
- padding: 0 20upx 40upx;
- .points-cont {
- background-color: #FFFFFF;
- border-radius: 16upx;
- .pub-tab-box {
- padding: 0 80upx;
- .tab-inner {
- height: 88upx;
- line-height: 88upx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .item {
- font-size: 28upx;
- white-space: nowrap;
- line-height: 1;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- display: flex;
- align-items: center;
- justify-content: center;
- &.active {
- font-weight: bold;
- color: #333333;
- }
- .text {
- position: relative;
- z-index: 1;
- }
- .tab-bg {
- width: 72upx;
- height: 28upx;
- position: absolute;
- top: 17upx;
- left: 50%;
- transform: translateX(-36upx);
- z-index: -1;
- }
- }
- }
- .point-list {
- padding: 0 30upx;
- .item {
- padding: 30upx 0;
- display: flex;
- align-items: center;
- justify-content: space-between;
- border-bottom: 1px solid #F0F0F0;
- &:last-child {
- border-bottom: none;
- }
- .left {
- .title {
- font-size: 28upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #111111;
- line-height: 1;
- }
- .time {
- font-size: 24upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #999999;
- line-height: 1;
- margin-top: 22upx;
- }
- }
- .right {
- .add {
- font-size: 28upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #111111;
- }
- .less {
- font-size: 28upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #F56C6C;
- }
- }
- }
- }
- }
- }
- >>>>>>> db97a32e991ee7a9b5a59978a4bee9ad519591ce
- </style>
|