会员名单UI完成
@@ -126,3 +126,32 @@ export function revokeOrder(data) {
|
|||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
//--------以上不属于桂冠俱乐部----------------
|
||||||
|
//桂冠俱乐部
|
||||||
|
|
||||||
|
// 会员等级列表
|
||||||
|
export function queryLaureList(data) {
|
||||||
|
return request({
|
||||||
|
url: getUrl('/agent/laure/queryLaureList', 1),
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 会员名单列表
|
||||||
|
export function queryLaureMemberList(data) {
|
||||||
|
return request({
|
||||||
|
url: getUrl('/agent/laure/queryLaureMemberList', 1),
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取当前登录人机构信息
|
||||||
|
export function getBranchByUser(data) {
|
||||||
|
return request({
|
||||||
|
url: getUrl('/data/branch/getBranchByUser', 1),
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
BIN
src/assets/images/laurelClub/close.png
Normal file
|
After Width: | Height: | Size: 966 B |
BIN
src/assets/images/laurelClub/grade01.png
Normal file
|
After Width: | Height: | Size: 7.7 KiB |
BIN
src/assets/images/laurelClub/grade02.png
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
BIN
src/assets/images/laurelClub/grade03.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
src/assets/images/laurelClub/grade04.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
src/assets/images/laurelClub/grade05.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
src/assets/images/laurelClub/grade06.png
Normal file
|
After Width: | Height: | Size: 7.7 KiB |
BIN
src/assets/images/laurelClub/putAway.png
Normal file
|
After Width: | Height: | Size: 339 B |
BIN
src/assets/images/laurelClub/ruleBack.png
Normal file
|
After Width: | Height: | Size: 2.3 MiB |
BIN
src/assets/images/laurelClub/touxiang.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
@@ -1,69 +1,83 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="sale-list-container box">
|
<div class="sale-list-container box">
|
||||||
<!-- <div class="div100"> -->
|
<!-- <div class="div100"> -->
|
||||||
<img class="backImg" src="@/assets/images/laurelClub/background.png" alt="">
|
<img class="backImg" src="@/assets/images/laurelClub/background.png" alt="">
|
||||||
<van-sticky>
|
<!-- <van-sticky>
|
||||||
<van-tabs type="card" v-model="active" @change="tabChange" sticky>
|
<van-tabs type="card" v-model="active" @change="tabChange" sticky>
|
||||||
<van-tab name="GGrade" title="7月桂冠名单"></van-tab>
|
<van-tab name="GGrade" :title="prevDate+'月桂冠名单'"></van-tab>
|
||||||
<van-tab name="SGrade" title="7月双冠名单"></van-tab>
|
<van-tab name="SGrade" :title="prevDate+'月双冠名单'"></van-tab>
|
||||||
<van-tab name="Team" title="我的团队"></van-tab>
|
<van-tab name="Team" title="我的团队"></van-tab>
|
||||||
</van-tabs>
|
</van-tabs>
|
||||||
</van-sticky>
|
</van-sticky> -->
|
||||||
|
<!-- 内勤 1 外勤 0 -->
|
||||||
|
<div class="fs12 bntTab" v-if="branchType == '1'">
|
||||||
|
<span :class="[active=='GGrade'?'tabLeft mr2':'unTabLeft mr2']" @click="tabChange('GGrade')">{{prevDate}}月桂冠名单</span>
|
||||||
|
<span :class="[active=='SGrade'?'tabMiddle mr2':'unTabMiddle mr2']" @click="tabChange('SGrade')">{{prevDate}}月桂冠名单</span>
|
||||||
|
<span :class="[active=='Team'?'tabRight':'unTabRight']" @click="tabChange('Team')">我的团队</span>
|
||||||
|
</div>
|
||||||
|
<div class="fs12 bntTab" v-else-if="branchType == '0'">
|
||||||
|
<span :class="[active=='GGrade'?'tabLeft mr2':'unTabLeft mr2']" @click="tabChange('GGrade')">{{prevDate}}月桂冠名单</span>
|
||||||
|
<span :class="[active=='SGrade'?'tabRight mr2':'unTabRight mr2']" @click="tabChange('SGrade')">{{prevDate}}月桂冠名单</span>
|
||||||
|
</div>
|
||||||
<div class="fs12 mt20 mr20 bntCheck" v-if="active == 'Team'">
|
<div class="fs12 mt20 mr20 bntCheck" v-if="active == 'Team'">
|
||||||
<span :class="[plainStatus=='1'?'unChecked mr2':'checked mr2']">桂冠</span>
|
<span :class="[plainStatus=='1'?'unCheckedLeft mr2':'checkedLeft mr2']" @click="approvalRecordSwitch('1')">桂冠</span>
|
||||||
<span :class="[plainStatus=='0'?'unChecked':'checked']">双冠</span>
|
<span :class="[plainStatus=='0'?'unCheckedRight':'checkedRight']" @click="approvalRecordSwitch('0')">双冠</span>
|
||||||
<!-- <van-button
|
|
||||||
round
|
|
||||||
:plain="plainStatus=='0'"
|
|
||||||
size="small"
|
|
||||||
class="mr5"
|
|
||||||
type="danger"
|
|
||||||
@click="approvalRecordSwitch('1')"
|
|
||||||
>已通过</van-button>
|
|
||||||
<van-button
|
|
||||||
round
|
|
||||||
:plain="plainStatus=='1'"
|
|
||||||
size="small"
|
|
||||||
class="mr5"
|
|
||||||
type="danger"
|
|
||||||
@click="approvalRecordSwitch('0')"
|
|
||||||
>未通过</van-button> -->
|
|
||||||
</div>
|
</div>
|
||||||
<div class="section" v-if="isSuccess">
|
<div class="section" v-if="isSuccess">
|
||||||
<div v-if="claimApprovalList.length > 0">
|
<div v-if="claimApprovalList.length > 0">
|
||||||
<div>
|
<div>
|
||||||
<div class="w80 inline-b pv15 pr15 pl10 mt15">
|
<div class="pv15 pr15 pl15 mt15">
|
||||||
<van-collapse v-model="activeNames">
|
<van-collapse v-model="activeNames" :border='false'>
|
||||||
<van-collapse-item :name="index" v-for="(item, index) in claimApprovalList" :key="index">
|
<van-collapse-item :name="index" v-for="(item, index) in claimApprovalList" :key="index" :border='false'>
|
||||||
<template #title>
|
<template #title>
|
||||||
<span class="mr10 fwb">头像</span>
|
<!-- 会员等级 01-正式会员 02-铜牌会员 03-银牌会员 04-金牌会员 05-白金会员 06-终身会员 -->
|
||||||
<span class="ml5 mr10 fwb w80 inline-b v-middle" style="word-break: break-all;">{{item.grade}}</span>
|
<img v-if="item.grade == '01'" class="iconGrade" src="@/assets/images/laurelClub/grade01.png" alt="">
|
||||||
<span class="mr10 fwb">{{item.number}}</span>
|
<img v-else-if="item.grade == '02'" class="iconGrade" src="@/assets/images/laurelClub/grade02.png" alt="">
|
||||||
|
<img v-else-if="item.grade == '03'" class="iconGrade" src="@/assets/images/laurelClub/grade03.png" alt="">
|
||||||
|
<img v-else-if="item.grade == '04'" class="iconGrade" src="@/assets/images/laurelClub/grade04.png" alt="">
|
||||||
|
<img v-else-if="item.grade == '05'" class="iconGrade" src="@/assets/images/laurelClub/grade05.png" alt="">
|
||||||
|
<img v-else-if="item.grade == '06'" class="iconGrade" src="@/assets/images/laurelClub/grade06.png" alt="">
|
||||||
|
<span class="ml20 mr10 fwb w80 inline-b v-middle" style="word-break: break-all;">{{item.grade | statusFormat}}</span>
|
||||||
|
<span class="ml100 fwb">{{item.number}}人</span>
|
||||||
</template>
|
</template>
|
||||||
<div class="pb10 pt10 border-gb" style="border-top: 1px solid #dadada;">
|
<div class="pb10 pt10 border-t border-gb">
|
||||||
<div class="w130 inline-b">头像</div>
|
<img class="iconGrade mr30" src="@/assets/images/laurelClub/touxiang.png" alt="">
|
||||||
<div class="w130 inline-b">南宁青秀 王婷婷</div>
|
<div class="w100 inline-b v-middle">南宁青秀<br> 王婷婷</div>
|
||||||
<span class="fs14 c-gray-dark ml20">62 冠</span>
|
<span class="fs14 c-gray-dark ml80">62 冠</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="pb10 pt10 border-gb">
|
||||||
|
<img class="iconGrade mr30" src="@/assets/images/laurelClub/touxiang.png" alt="">
|
||||||
|
<div class="w100 inline-b v-middle">南宁青秀<br> 王婷婷</div>
|
||||||
|
<span class="fs14 c-gray-dark ml80">62 冠</span>
|
||||||
|
</div>
|
||||||
|
<div class="pb10 pt10 border-gb">
|
||||||
|
<img class="iconGrade mr30" src="@/assets/images/laurelClub/touxiang.png" alt="">
|
||||||
|
<div class="w100 inline-b v-middle">南宁青秀<br> 王婷婷</div>
|
||||||
|
<span class="fs14 c-gray-dark ml80">62 冠</span>
|
||||||
|
</div>
|
||||||
|
<div @click="putAwayFunc(index)" class="m-bottom white">收起<img class="w20 h20" src="@/assets/images/laurelClub/putAway.png" alt=""></div>
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
</van-collapse>
|
</van-collapse>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="text-center bg-white">
|
<div v-else class="text-center bg-white m20 borderYellow p20">
|
||||||
<img class="mt40 w300 inline-b" src="@/assets/images/laurelClub/pic_page-non.png" />
|
<img class="w300 inline-b" src="@/assets/images/laurelClub/pic_page-non.png" />
|
||||||
<!-- <div class="fs17 mt40" v-if="active == 'notApproved'">暂无未审批信息!</div>
|
|
||||||
<div class="fs17 mt40" v-if="active == 'approvalRecord'">暂无审批记录!</div> -->
|
|
||||||
</div>
|
</div>
|
||||||
|
<van-popup v-model="show">
|
||||||
|
<img class="w12 h12 inline-b btnClose" @click="closeFunc" src="@/assets/images/laurelClub/close.png" />
|
||||||
|
<img src="@/assets/images/laurelClub/ruleBack.png" alt="">
|
||||||
|
</van-popup>
|
||||||
</div>
|
</div>
|
||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Tab, Tabs, Collapse, CollapseItem,Checkbox, CheckboxGroup,Dialog } from 'vant'
|
import { Tab, Tabs, Collapse, CollapseItem,Checkbox, CheckboxGroup,Dialog,Popup } from 'vant'
|
||||||
import { queryClaimData } from '@/api/ebiz/claims/claims'
|
import { getAgentInfo } from '@/api/ebiz/my/my'
|
||||||
|
import { queryLaureList,queryLaureMemberList,getBranchByUser } from '@/api/ebiz/laurelClub/laurelClub'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'claimApprovalList',
|
name: 'claimApprovalList',
|
||||||
@@ -74,40 +88,43 @@ export default {
|
|||||||
[CollapseItem.name]: CollapseItem,
|
[CollapseItem.name]: CollapseItem,
|
||||||
[Dialog.name]: Dialog,
|
[Dialog.name]: Dialog,
|
||||||
[Checkbox.name]: Checkbox,
|
[Checkbox.name]: Checkbox,
|
||||||
[CheckboxGroup.name]: CheckboxGroup
|
[CheckboxGroup.name]: CheckboxGroup,
|
||||||
|
[Popup.name]: Popup
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
prevDate:new Date().getMonth(), //上月月份
|
||||||
|
branchType: null, // 1内勤 0外勤
|
||||||
|
show: false, //弹框是否显示
|
||||||
active: 'GGrade', // GGrade(桂冠) SGrade(双冠) Team(团队)
|
active: 'GGrade', // GGrade(桂冠) SGrade(双冠) Team(团队)
|
||||||
claimApprovalList: [
|
claimApprovalList: [
|
||||||
{
|
{
|
||||||
grade: 1,
|
grade: '01',
|
||||||
number:33
|
number:33
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
grade: 2,
|
grade: '02',
|
||||||
number:34
|
number:34
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
grade: 3,
|
grade: '03',
|
||||||
number:35
|
number:35
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
grade: 4,
|
grade: '04',
|
||||||
number:34
|
number:34
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
grade: 5,
|
grade: '05',
|
||||||
number:35
|
number:35
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
grade: 6,
|
grade: '06',
|
||||||
number:36
|
number:36
|
||||||
},
|
},
|
||||||
], //接口数据
|
], //接口数据
|
||||||
isSuccess: false, //有无数据显示
|
isSuccess: false, //有无数据显示
|
||||||
plainStatus:'1', //审批记录--1已通过,0未通过按钮状态
|
plainStatus:'1', //审批记录--1已通过,0未通过按钮状态
|
||||||
total:0, //统计list中有多少条子数据
|
|
||||||
activeNames:[],//控制展开的面板列表
|
activeNames:[],//控制展开的面板列表
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -117,8 +134,47 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.checkBtn() // 初始化显示按钮
|
this.checkBtn() // 初始化显示按钮
|
||||||
window.appCallBack = this.appCallBack
|
window.appCallBack = this.appCallBack
|
||||||
|
this.initThisPage()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
//获取当前人是否内外勤接口
|
||||||
|
async initThisPage() {
|
||||||
|
const res = await getAgentInfo({})
|
||||||
|
if (res.result == 0) {
|
||||||
|
// res.branchType 以N打头的是内勤 其他是外勤
|
||||||
|
this.branchType = /^N{1}/.test(res.branchType) ? '1' : '0'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//tab按钮切换
|
||||||
|
tabChange(active) {
|
||||||
|
let that = this
|
||||||
|
this.active = active
|
||||||
|
if(active == 'GGrade'){
|
||||||
|
|
||||||
|
}
|
||||||
|
//切换tab时,需要重置右上角的按钮状态--全部展开
|
||||||
|
that.activeNames = []
|
||||||
|
|
||||||
|
|
||||||
|
// this.claimApprovalList = []
|
||||||
|
// if(this.active == 'approvalRecord'){
|
||||||
|
// //当为审批记录时,重置状态为1已通过
|
||||||
|
// this.plainStatus = 1
|
||||||
|
// this.getList(1)
|
||||||
|
// }else{
|
||||||
|
// this.getList()
|
||||||
|
// }
|
||||||
|
},
|
||||||
|
//底部收起按钮
|
||||||
|
putAwayFunc(id){
|
||||||
|
var index = this.activeNames.findIndex(item =>{
|
||||||
|
if(item == id){
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.activeNames.splice(index,1)
|
||||||
|
},
|
||||||
|
// 右上角按钮
|
||||||
checkBtn() {
|
checkBtn() {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
let title = '会员规则'
|
let title = '会员规则'
|
||||||
@@ -137,8 +193,12 @@ export default {
|
|||||||
},
|
},
|
||||||
appCallBack(data) {
|
appCallBack(data) {
|
||||||
if (data.trigger == 'right_button_click') {
|
if (data.trigger == 'right_button_click') {
|
||||||
|
this.show = true
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
//关闭方法会员规则弹层
|
||||||
|
closeFunc(){
|
||||||
|
this.show = false
|
||||||
},
|
},
|
||||||
//审批记录--切换1已通过,0未通过按钮状态
|
//审批记录--切换1已通过,0未通过按钮状态
|
||||||
approvalRecordSwitch(plainStatus){
|
approvalRecordSwitch(plainStatus){
|
||||||
@@ -170,7 +230,7 @@ export default {
|
|||||||
// let res = await queryClaimData(data)
|
// let res = await queryClaimData(data)
|
||||||
this.$toast.clear()
|
this.$toast.clear()
|
||||||
// if (res.result == '0') {
|
// if (res.result == '0') {
|
||||||
// this.isSuccess = true
|
this.isSuccess = true
|
||||||
// if (res.content.length) {
|
// if (res.content.length) {
|
||||||
// this.claimApprovalList = res.content
|
// this.claimApprovalList = res.content
|
||||||
// this.claimApprovalList.forEach(function(item) {
|
// this.claimApprovalList.forEach(function(item) {
|
||||||
@@ -188,47 +248,132 @@ export default {
|
|||||||
// } else {
|
// } else {
|
||||||
// this.$toast(res.resultMessage)
|
// this.$toast(res.resultMessage)
|
||||||
// }
|
// }
|
||||||
},
|
}
|
||||||
tabChange(name) {
|
},
|
||||||
let that = this
|
filters: {
|
||||||
this.currentPage = 1
|
statusFormat: function(status) {
|
||||||
this.active = name
|
let text
|
||||||
this.claimApprovalList = []
|
switch (status) {
|
||||||
if(this.active == 'approvalRecord'){
|
case '01':
|
||||||
//当为审批记录时,重置状态为1已通过
|
text = '正式会员'
|
||||||
this.plainStatus = 1
|
break
|
||||||
this.getList(1)
|
case '02':
|
||||||
}else{
|
text = '铜牌会员'
|
||||||
this.getList()
|
break
|
||||||
|
case '03':
|
||||||
|
text = '银牌会员'
|
||||||
|
break
|
||||||
|
case '04':
|
||||||
|
text = '金牌会员'
|
||||||
|
break
|
||||||
|
case '05':
|
||||||
|
text = '白金会员'
|
||||||
|
break
|
||||||
|
case '06':
|
||||||
|
text = '终身会员'
|
||||||
|
break
|
||||||
}
|
}
|
||||||
//切换tab时,需要重置右上角的按钮状态--全部展开
|
return text
|
||||||
that.activeNames = []
|
}
|
||||||
that.isOpen = 0 //右上角按钮状态 0 全部收起 1 全部展开
|
|
||||||
that.checkBtn() // 初始化显示按钮
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.box{
|
||||||
|
min-height: 100vh;
|
||||||
|
background-color:#142162
|
||||||
|
}
|
||||||
|
// 顶部背景图
|
||||||
.backImg{
|
.backImg{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 317px;
|
height: 317px;
|
||||||
}
|
}
|
||||||
.box{
|
// 顶部tab按钮
|
||||||
height: 100vh;
|
.bntTab{
|
||||||
background-color:#142162
|
margin-top: -25px;
|
||||||
|
text-align: center;
|
||||||
|
.unTabLeft{
|
||||||
|
background-color: #fff;
|
||||||
|
color: #333333;
|
||||||
|
border: 1px solid #fff;
|
||||||
|
border-radius: 10px 0 0 10px;
|
||||||
|
width: 114px;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.tabLeft{
|
||||||
|
background: linear-gradient(135deg, #30339A 0%, #181935 100%);
|
||||||
|
color: #FFCB6B;
|
||||||
|
border: 1px solid rgba(222, 144, 34, 1);
|
||||||
|
border-radius: 10px 0 0 10px;
|
||||||
|
width: 114px;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.unTabMiddle{
|
||||||
|
background-color: #fff;
|
||||||
|
color: #333333;
|
||||||
|
border: 1px solid #fff;
|
||||||
|
// border-radius: 8px 0 0 8px;
|
||||||
|
width: 114px;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.tabMiddle{
|
||||||
|
background: linear-gradient(135deg, #30339A 0%, #181935 100%);
|
||||||
|
color: #FFCB6B;
|
||||||
|
border: 1px solid rgba(222, 144, 34, 1);
|
||||||
|
// border-radius: 8px 0 0 8px;
|
||||||
|
width: 114px;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.unTabRight{
|
||||||
|
background-color: #fff;
|
||||||
|
color: #333333;
|
||||||
|
border: 1px solid #fff;
|
||||||
|
border-radius: 0 10px 10px 0;
|
||||||
|
width: 114px;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.tabRight{
|
||||||
|
background: linear-gradient(135deg, #30339A 0%, #181935 100%);
|
||||||
|
color: #FFCB6B;
|
||||||
|
border: 1px solid rgba(222, 144, 34, 1);
|
||||||
|
border-radius: 0 10px 10px 0;
|
||||||
|
width: 114px;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/.van-tabs{
|
/deep/.van-tabs{
|
||||||
padding-top:0;
|
padding-top:0;
|
||||||
.van-tabs__nav--card{
|
.van-tabs__nav--card{
|
||||||
box-shadow: 0 0 0 1px rgba(222, 144, 34, 1);
|
box-shadow: 0 0 0 1px rgba(222, 144, 34, 1);
|
||||||
border-radius: 4px;
|
border-radius: 10px;
|
||||||
border: 1px solid rgba(222, 144, 34, 1);
|
border: 1px solid rgba(222, 144, 34, 1);
|
||||||
height:40px;
|
height:40px;
|
||||||
|
background-color: transparent;
|
||||||
.van-tab{
|
.van-tab{
|
||||||
color: #333333;
|
color: #333333;
|
||||||
border-right: 1px solid #FFE97C;
|
border-right: 1px solid rgba(222, 144, 34, 1);
|
||||||
line-height: 10.66667vw;
|
line-height: 10.66667vw;
|
||||||
|
// margin-right: 5px;
|
||||||
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
.van-tab:last-child {
|
.van-tab:last-child {
|
||||||
border-right: none;
|
border-right: none;
|
||||||
@@ -237,27 +382,49 @@ export default {
|
|||||||
.van-tab--active{
|
.van-tab--active{
|
||||||
background: linear-gradient(135deg, #30339A 0%, #181935 100%);
|
background: linear-gradient(135deg, #30339A 0%, #181935 100%);
|
||||||
color: #FFCB6B !important;
|
color: #FFCB6B !important;
|
||||||
// border-radius: 5px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//桂冠,双冠按钮
|
||||||
.bntCheck{
|
.bntCheck{
|
||||||
text-align: right;
|
text-align: right;
|
||||||
.unChecked{
|
.unCheckedLeft{
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
border: 1px solid #fff;
|
border: 1px solid #fff;
|
||||||
border-radius: 8px 0 0 8px;
|
border-radius: 10px 0 0 10px;
|
||||||
width: 45px;
|
width: 45px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.checked{
|
.checkedLeft{
|
||||||
background: linear-gradient(135deg, #30339A 0%, #181935 100%);
|
background: linear-gradient(135deg, #30339A 0%, #181935 100%);
|
||||||
color: #FFCB6B;
|
color: #FFCB6B;
|
||||||
border: 1px solid rgba(222, 144, 34, 1);
|
border: 1px solid rgba(222, 144, 34, 1);
|
||||||
border-radius: 0 8px 8px 0;
|
border-radius: 10px 0 0 10px;
|
||||||
|
width: 45px;
|
||||||
|
height: 20px;
|
||||||
|
line-height: 22px;
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.unCheckedRight{
|
||||||
|
background-color: #fff;
|
||||||
|
color: #333333;
|
||||||
|
border: 1px solid #fff;
|
||||||
|
border-radius: 0 10px 10px 0;
|
||||||
|
width: 45px;
|
||||||
|
height: 20px;
|
||||||
|
line-height: 22px;
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.checkedRight{
|
||||||
|
background: linear-gradient(135deg, #30339A 0%, #181935 100%);
|
||||||
|
color: #FFCB6B;
|
||||||
|
border: 1px solid rgba(222, 144, 34, 1);
|
||||||
|
border-radius: 0 10px 10px 0;
|
||||||
width: 45px;
|
width: 45px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
@@ -265,7 +432,70 @@ export default {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.borderYellow{
|
||||||
|
border: 2px solid rgba(222, 144, 34, 1);
|
||||||
|
border-radius:4px;
|
||||||
|
}
|
||||||
|
//折叠面板样式
|
||||||
|
/deep/.van-collapse{
|
||||||
|
.van-collapse-item{
|
||||||
|
border: 2px solid rgba(222, 144, 34, 1);
|
||||||
|
border-radius:10px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
background-color: #fff;
|
||||||
|
position: relative;
|
||||||
|
.van-cell{
|
||||||
|
background-color: transparent;
|
||||||
|
padding: 13px 15px;
|
||||||
|
}
|
||||||
|
.van-collapse-item__content{
|
||||||
|
padding-top: 0;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
.m-bottom{
|
||||||
|
position: absolute;
|
||||||
|
bottom: -23px;
|
||||||
|
left: 150px;
|
||||||
|
img{
|
||||||
|
vertical-align: text-bottom;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//隐藏顶部线条
|
||||||
|
.van-hairline--top-bottom::after, .van-hairline-unset--top-bottom::after,.van-hairline--top::after{
|
||||||
|
border-width: 0;
|
||||||
|
}
|
||||||
|
.border-t{
|
||||||
|
border-top: 1px solid #dadada;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/#app .van-cell:not(:last-child)::after {
|
||||||
|
border-bottom: 1px solid red !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.iconGrade{
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
//会员规则弹层
|
||||||
|
/deep/.van-popup--center{
|
||||||
|
position: fixed;
|
||||||
|
width: 80%;
|
||||||
|
height: 80%;
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color: #142162;
|
||||||
|
border: 2px solid rgba(222, 144, 34, 1);
|
||||||
|
img{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.btnClose{
|
||||||
|
position: absolute;
|
||||||
|
right: 12px;
|
||||||
|
top: 13px;
|
||||||
|
}
|
||||||
|
}
|
||||||
// .div100{
|
// .div100{
|
||||||
// height: 100%;
|
// height: 100%;
|
||||||
// }
|
// }
|
||||||
|
|||||||