9.27
This commit is contained in:
parent
d0d804734b
commit
aba8d7a4f6
@ -103,39 +103,56 @@
|
||||
</div>
|
||||
<!-- </el-card>-->
|
||||
|
||||
<el-card style="margin-top: 20px">
|
||||
<template>
|
||||
<div class="ds-dbox">
|
||||
<div class="k-one">
|
||||
<div class="title_">激活会员总数</div>
|
||||
<div class="num-size">{{total}}</div>
|
||||
<img class="r-bot-img" src="./imgs/hy-1.png" alt="">
|
||||
</div>
|
||||
|
||||
<div class="k-two">
|
||||
<div class="title_">今日新增/昨日新增</div>
|
||||
<div class="num-size"> {{ addNum }}/{{ yesterdayAddNum }}</div>
|
||||
<img class="r-bot-img" src="./imgs/hy-2.png" alt="">
|
||||
</div>
|
||||
<div class="k-three">
|
||||
<div class="title_">充值总人数</div>
|
||||
<div class="num-size">{{rechargeTotal || 0}}</div>
|
||||
<img class="r-bot-img" src="./imgs/hy-3.png" alt="">
|
||||
</div>
|
||||
<div class="k-four">
|
||||
<div class="title_">储值总余额</div>
|
||||
<div class="num-size">{{balance}}</div>
|
||||
<img class="r-bot-img" src="./imgs/hy-4.png" alt="">
|
||||
</div>
|
||||
<div class="k-five">
|
||||
<div class="title_">积分总余额</div>
|
||||
<div class="num-size">{{point}}</div>
|
||||
<img class="r-bot-img" src="./imgs/hy-5.png" alt="">
|
||||
</div>
|
||||
<div>
|
||||
<div class="ds-dbox">
|
||||
<div class="box2">
|
||||
<div style="font-size: 26px;color: #0DC291;font-weight: bold;margin-top: 5px">
|
||||
{{ total || 0 }}
|
||||
</div>
|
||||
<div class="size-hui">
|
||||
<div style="width: 8px;height: 8px;border-radius: 4px;background: #0DC291"></div>
|
||||
<div style="font-weight: bold;font-size: 13px;margin-left: 5px">激活会员总数</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box2">
|
||||
<div style="font-size: 26px;color: #00CAFF;font-weight: bold;margin-top: 5px">
|
||||
{{ addNum }}/{{ yesterdayAddNum }}
|
||||
</div>
|
||||
<div class="size-hui">
|
||||
<div style="width: 8px;height: 8px;border-radius: 4px;background: #00CAFF"></div>
|
||||
<div style="font-weight: bold;font-size: 13px;margin-left: 5px">今日新增/昨日新增</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box2">
|
||||
<div style="font-size: 26px;color: #F44522;font-weight: bold;margin-top: 5px">
|
||||
{{rechargeTotal || 0}}
|
||||
</div>
|
||||
<div class="size-hui">
|
||||
<div style="width: 8px;height: 8px;border-radius: 4px;background: #F44522"></div>
|
||||
<div style="font-weight: bold;font-size: 13px;margin-left: 5px">充值总人数</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box2">
|
||||
<div style="font-size: 26px;color: #FA6400;font-weight: bold;margin-top: 5px">
|
||||
{{balance || 0}}
|
||||
</div>
|
||||
<div class="size-hui">
|
||||
<div style="width: 8px;height: 8px;border-radius: 4px;background: #FA6400"></div>
|
||||
<div style="font-weight: bold;font-size: 13px;margin-left: 5px">储值总余额</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box2">
|
||||
<div style="font-size: 26px;color: #2B63F4;font-weight: bold;margin-top: 5px">
|
||||
{{point || 0}}
|
||||
</div>
|
||||
<div class="size-hui">
|
||||
<div style="width: 8px;height: 8px;border-radius: 4px;background: #2B63F4"></div>
|
||||
<div style="font-weight: bold;font-size: 13px;margin-left: 5px">积分总余额</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
</el-card>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <el-card style="margin-top: 20px">-->
|
||||
|
||||
@ -212,7 +229,7 @@
|
||||
<div>{{ scope.row.growthValue || '0' }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="创建时间" align="center" width="160" prop="balCreateTime"/>
|
||||
<el-table-column label="创建时间" align="center" prop="balCreateTime"/>
|
||||
<el-table-column label="操作" align="center" width="150" fixed='right'>
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
@ -1246,7 +1263,6 @@ export default {
|
||||
.ds-dbox {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
box-sizing: border-box;
|
||||
padding: 15px;
|
||||
}
|
||||
@ -1384,4 +1400,26 @@ export default {
|
||||
.acvtive1 {
|
||||
color: #FF770F !important;
|
||||
}
|
||||
.box2 {
|
||||
padding: 5px;
|
||||
margin-right: 20px;
|
||||
margin-bottom: 20px;
|
||||
padding-left: 20px;
|
||||
width: 211px;
|
||||
height: 70px;
|
||||
border-radius: 6px 6px 6px 6px;
|
||||
border: 1px solid #FF9655;
|
||||
}
|
||||
.size-hui {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||
font-weight: 400;
|
||||
font-size: 13px;
|
||||
color: #888888;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
text-transform: none;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
@ -1,35 +1,37 @@
|
||||
<template>
|
||||
<div class="center">
|
||||
<el-card style="margin-bottom: 20px">
|
||||
<div style="display: flex; align-items: center">
|
||||
<div style="width: 5%;margin-right: 10px">卡券核销:</div>
|
||||
<div style="width: 80%;">
|
||||
<!-- 17615834396-->
|
||||
<div class="">
|
||||
<div class="tab-box">
|
||||
<div class="tab_" :class="{active:index== tabindex }" @click="getindex(index)" v-for="(item,index) in tabs"
|
||||
:key="index">
|
||||
{{ item.name }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="w_box" style="margin-bottom: 20px">
|
||||
<div class="title_" >通过手机号查询会员可以核销的卡券或扫码核销(扫码时,请保证输入框有光标闪烁)</div>
|
||||
<div class="input_box" >
|
||||
<div style="width: 40%;margin-right: 15px">
|
||||
<el-input v-model="queryParams.mobile" placeholder="请输入会员手机号码"></el-input>
|
||||
</div>
|
||||
<div style="width: 10%;margin-left: 20px">
|
||||
<div >
|
||||
<el-button type="primary" icon="el-icon-search" @click="getList">搜索</el-button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="wrap-box">
|
||||
<div class="coupon-box" v-for="(item,index) in couponList" :key="index">
|
||||
<div class="box-top">
|
||||
<span>{{item.exchangeName}}</span>
|
||||
</div>
|
||||
<div class="box-title">{{item.name}}</div>
|
||||
<div class="box-hui"><span style="width: 35%">券码:</span> <span>{{item.ticketCode}}</span> </div>
|
||||
<div class="box-hui"><span style="width: 35%">有效期:</span> <span>{{item.outTime}}</span> </div>
|
||||
<div class="box-hui"><span style="width: 35%">获得方式:</span> <span>{{item.exchangeFrom}}</span> </div>
|
||||
<div class="anniu" @click="getcardExchangeRecord(item.id)" >
|
||||
<span>立即核销</span>
|
||||
</div>
|
||||
<div class="coupon-box" @click="getcardExchangeRecord(item.id)" v-for="(item,index) in couponList" :key="index">
|
||||
<div class="box-hei">{{item.exchangeName}} </div>
|
||||
<div class="box-hui"><span>券码:</span> <span>{{item.ticketCode}}</span> </div>
|
||||
<div class="box-hui"><span>有效期:</span> <span>{{item.outTime}}</span> </div>
|
||||
<div class="box-hui"><span>获得方式:</span> <span>{{item.exchangeFrom}}</span> </div>
|
||||
<!-- <div class="anniu" >-->
|
||||
<!-- <span>立即核销</span>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
</div>
|
||||
<el-empty :image-size="300" v-if="total == 0"></el-empty>
|
||||
|
||||
|
||||
</el-card>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -39,6 +41,15 @@ export default {
|
||||
name: 'index',
|
||||
data(){
|
||||
return{
|
||||
tabindex: 0,
|
||||
tabs: [
|
||||
{
|
||||
name: "卡券核销",
|
||||
},
|
||||
{
|
||||
name: "核销记录",
|
||||
},
|
||||
],
|
||||
queryParams : {
|
||||
pageNum: 1,
|
||||
pageSize: 999,
|
||||
@ -65,6 +76,10 @@ export default {
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
getindex(index) {
|
||||
this.tabindex = index
|
||||
|
||||
},
|
||||
getList() {
|
||||
if(!this.queryParams.mobile ){
|
||||
this.$message.error("输入框不能为空")
|
||||
@ -131,22 +146,22 @@ export default {
|
||||
display: flex;
|
||||
}
|
||||
.coupon-box{
|
||||
width: 200px;
|
||||
height: 250px;
|
||||
width: 335px;
|
||||
height: 100px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #eef1f6;
|
||||
border-radius: 2px;
|
||||
margin: 10px;
|
||||
background: url("./imgs/qname.png") no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.box-top{
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
background: #00afff;
|
||||
color: white;
|
||||
color: #333;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 18px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.box-title{
|
||||
@ -161,6 +176,16 @@ export default {
|
||||
color: #999999;
|
||||
display: flex;
|
||||
font-size: 12px;
|
||||
margin-left: 30%;
|
||||
}
|
||||
.box-hei{
|
||||
box-sizing: border-box;
|
||||
padding: 0px 15px;
|
||||
color: #333;
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
margin-left: 30%;
|
||||
margin-top: 15px;
|
||||
}
|
||||
.anniu{
|
||||
box-sizing: border-box;
|
||||
@ -177,5 +202,59 @@ export default {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.w_box{
|
||||
width: 98%;
|
||||
background: #fff;
|
||||
box-sizing: border-box;
|
||||
padding: 15px;
|
||||
border-radius: 8px;
|
||||
min-height: 80vh;
|
||||
margin: 15px auto;
|
||||
}
|
||||
.tab-box {
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
background: #fff;
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 25px;
|
||||
|
||||
}
|
||||
|
||||
.tab_ {
|
||||
width: 75px;
|
||||
height: 100%;
|
||||
//border-bottom: 2px solid #FF770F;
|
||||
display: flex;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
color: #999999;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-left: 50px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.active {
|
||||
border-bottom: 2px solid #FF770F !important;
|
||||
color: #FF770F !important;
|
||||
}
|
||||
.title_{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 20px auto;
|
||||
text-align: center;
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
color: #333333;
|
||||
}
|
||||
.input_box{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
BIN
fuintCashierWeb/src/views/cashier/NewComponents/imgs/qname.png
Normal file
BIN
fuintCashierWeb/src/views/cashier/NewComponents/imgs/qname.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.9 KiB |
@ -67,9 +67,6 @@
|
||||
</el-form>
|
||||
</div>
|
||||
<div class="cot-box">
|
||||
<!-- 条件查询-->
|
||||
|
||||
<!-- 统计-->
|
||||
<div>
|
||||
<div class="box-gang">
|
||||
<div class="box2">
|
||||
|
Loading…
Reference in New Issue
Block a user