积分审核,积分排行
This commit is contained in:
482
src/project/pingchang/AppCreditPoints/AppCreditPoints.vue
Normal file
482
src/project/pingchang/AppCreditPoints/AppCreditPoints.vue
Normal file
@@ -0,0 +1,482 @@
|
|||||||
|
<template>
|
||||||
|
<section class="AppCreditPoints">
|
||||||
|
<AiTabPanes :tabs="tabList" v-model="tabIndex" @change="handChangeTab" />
|
||||||
|
<div class="area-content">
|
||||||
|
<AiAreaPicker :areaId="user.areaId" :value="areaId" @select="areaSelect" :name.sync="areaName" selectRoot>
|
||||||
|
<img src="components/img/local-icon.png" alt="">
|
||||||
|
<span class="label" v-if="areaName">{{ areaName }}</span>
|
||||||
|
<span v-else>请选择</span>
|
||||||
|
<u-icon name="arrow-down" color="#666" size="24"/>
|
||||||
|
</AiAreaPicker>
|
||||||
|
</div>
|
||||||
|
<u-gap height="6"/>
|
||||||
|
<div class="fill" v-if="info && info.length">
|
||||||
|
<div class="ranking-content" v-if="info && info.length">
|
||||||
|
<div class="item" v-if="info.length > 1" @click="toGridIntegral(2, info[1].integral_user_id)">
|
||||||
|
<img
|
||||||
|
src="https://cdn.cunwuyun.cn/dvcp/credit/2.png"
|
||||||
|
alt=""
|
||||||
|
class="top-img"
|
||||||
|
/>
|
||||||
|
<img
|
||||||
|
:src="info[1].avatar_url"
|
||||||
|
alt=""
|
||||||
|
class="user-img mar-b4"
|
||||||
|
v-if="info[1].avatar_url"
|
||||||
|
/>
|
||||||
|
<div class="user-name-bg mar-b4" v-else>
|
||||||
|
{{ formatName(info[1].name) }}
|
||||||
|
</div>
|
||||||
|
<p class="user-name mar-b8">
|
||||||
|
{{ info[1].name }}
|
||||||
|
</p>
|
||||||
|
<p class="item-num">{{ info[1].integral }}</p>
|
||||||
|
</div>
|
||||||
|
<div class="item-top item" v-if="info.length > 0" @click="toGridIntegral(1, info[0].integral_user_id)">
|
||||||
|
<img
|
||||||
|
src="https://cdn.cunwuyun.cn/dvcp/credit/1.png"
|
||||||
|
alt=""
|
||||||
|
class="top-img-one"
|
||||||
|
/>
|
||||||
|
<img
|
||||||
|
:src="info[0].avatar_url"
|
||||||
|
alt=""
|
||||||
|
class="user-img mar-b4"
|
||||||
|
v-if="info[0].avatar_url"
|
||||||
|
/>
|
||||||
|
<div class="user-name-bg mar-b4" v-else>
|
||||||
|
{{ formatName(info[0].name) }}
|
||||||
|
</div>
|
||||||
|
<p class="user-name mar-b8">
|
||||||
|
{{ info[0].name }}
|
||||||
|
</p>
|
||||||
|
<p class="item-num">{{ info[0].integral }}</p>
|
||||||
|
</div>
|
||||||
|
<div class="item" v-if="info.length > 2" @click="toGridIntegral(3, info[2].integral_user_id)">
|
||||||
|
<img
|
||||||
|
src="https://cdn.cunwuyun.cn/dvcp/credit/3.png"
|
||||||
|
alt=""
|
||||||
|
class="top-img"
|
||||||
|
/>
|
||||||
|
<img
|
||||||
|
:src="info[2].avatar_url"
|
||||||
|
alt=""
|
||||||
|
class="user-img mar-b4"
|
||||||
|
v-if="info[2].avatar_url"
|
||||||
|
/>
|
||||||
|
<div class="user-name-bg mar-b4" v-else>
|
||||||
|
{{ formatName(info[2].name) }}
|
||||||
|
</div>
|
||||||
|
<p class="user-name mar-b8">
|
||||||
|
{{ info[2].name }}
|
||||||
|
</p>
|
||||||
|
<p class="item-num">{{ info[2].integral }}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<u-gap height="6"/>
|
||||||
|
<div class="ranking-list" v-if="info && info.length">
|
||||||
|
<div
|
||||||
|
class="item"
|
||||||
|
v-for="(item, index) in info"
|
||||||
|
:key="index"
|
||||||
|
v-if="index > 2"
|
||||||
|
@click="toGridIntegral(index, item.integral_user_id)"
|
||||||
|
>
|
||||||
|
<span class="item-num">{{ index + 1 }}</span>
|
||||||
|
<img
|
||||||
|
:src="item.avatar_url"
|
||||||
|
alt=""
|
||||||
|
class="user-img mar-b4"
|
||||||
|
v-if="item.avatar_url"
|
||||||
|
/>
|
||||||
|
<div class="user-name-bg mar-b4 mar-r24" v-else>
|
||||||
|
{{ formatName(item.name) }}
|
||||||
|
</div>
|
||||||
|
<span class="item-name">{{ item.name }}</span>
|
||||||
|
<span class="item-point">{{ item.integral }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<AiEmpty v-else/>
|
||||||
|
</section>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import {mapState} from 'vuex'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "AppCreditPoints",
|
||||||
|
appName: "积分排行",
|
||||||
|
computed: {
|
||||||
|
...mapState(['user'])
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
info: [],
|
||||||
|
current: 1,
|
||||||
|
areaId: '',
|
||||||
|
areaName: '',
|
||||||
|
tabIndex: 0,
|
||||||
|
tabList: ['总榜', '月榜', "周榜"],
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.areaId = this.user.areaId
|
||||||
|
this.areaName = this.user.areaName || ''
|
||||||
|
this.getInfo();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
handChangeTab() {
|
||||||
|
this.getInfo()
|
||||||
|
},
|
||||||
|
areaSelect(e) {
|
||||||
|
this.areaId = e
|
||||||
|
this.getInfo()
|
||||||
|
},
|
||||||
|
// 积分排行
|
||||||
|
getInfo() {
|
||||||
|
this.info = []
|
||||||
|
this.$http.post(`/app/appintegraluser/integralSortFD?type=${this.tabIndex}&areaId=${this.areaId}`).then((res) => {
|
||||||
|
if (res?.data) {
|
||||||
|
this.info = res.data
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
formatName(name) {
|
||||||
|
if (name == undefined) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
return name.substr(name.length - 2, name.length > 2 ? (name.length - 1) : name.length)
|
||||||
|
},
|
||||||
|
toGridIntegral(rankNum, userId) {
|
||||||
|
uni.navigateTo({url: `./gridIntegral?rankNum=${rankNum}&userId=${userId}`})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
.AppCreditPoints {
|
||||||
|
width: 100vw;
|
||||||
|
background-color: #f3f6f9;
|
||||||
|
|
||||||
|
.bg-blue {
|
||||||
|
width: 100%;
|
||||||
|
height: 176px;
|
||||||
|
background-color: #3975C6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-content {
|
||||||
|
width: 690px;
|
||||||
|
height: 256px;
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 16px;
|
||||||
|
margin: -130px 0 40px 30px;
|
||||||
|
padding: 100px 60px 40px 60px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.item {
|
||||||
|
text-align: center;
|
||||||
|
z-index: 99;
|
||||||
|
|
||||||
|
.num {
|
||||||
|
font-family: DIN;
|
||||||
|
font-size: 52px;
|
||||||
|
font-weight: bold;
|
||||||
|
line-height: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.label {
|
||||||
|
font-size: 28px;
|
||||||
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
|
color: #999;
|
||||||
|
line-height: 40px;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-5AAD6A {
|
||||||
|
color: #5aad6a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-4185F5 {
|
||||||
|
color: #4185f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-CD413A {
|
||||||
|
color: #cd413a;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
position: absolute;
|
||||||
|
width: 360px;
|
||||||
|
height: 250px;
|
||||||
|
top: -40px;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.ranking-content {
|
||||||
|
padding: 94px 30px 32px;
|
||||||
|
background-color: #fff;
|
||||||
|
.item {
|
||||||
|
display: inline-block;
|
||||||
|
width: 216px;
|
||||||
|
height: 320px;
|
||||||
|
box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.12);
|
||||||
|
border-radius: 12px;
|
||||||
|
padding: 40px 0 0 0;
|
||||||
|
text-align: center;
|
||||||
|
box-sizing: border-box;
|
||||||
|
position: relative;
|
||||||
|
vertical-align: top;
|
||||||
|
background: #fff;
|
||||||
|
|
||||||
|
.user-name {
|
||||||
|
font-size: 30px;
|
||||||
|
font-family: PingFang-SC-Medium, PingFang-SC;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #333;
|
||||||
|
line-height: 42px;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-num {
|
||||||
|
font-size: 46px;
|
||||||
|
font-weight: 6000;
|
||||||
|
color: #2c51ce;
|
||||||
|
line-height: 54px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-img {
|
||||||
|
width: 100%;
|
||||||
|
height: 34px;
|
||||||
|
position: absolute;
|
||||||
|
top: -11px;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-top {
|
||||||
|
margin: -46px 20px 0;
|
||||||
|
height: 366px;
|
||||||
|
|
||||||
|
.user-img {
|
||||||
|
width: 104px;
|
||||||
|
height: 104px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.user-name-bg {
|
||||||
|
width: 104px;
|
||||||
|
height: 104px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background-color: #4e8eee;
|
||||||
|
font-size: 28px;
|
||||||
|
line-height: 104px;
|
||||||
|
text-align: center;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-img-one {
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
top: -22px;
|
||||||
|
left: 0;
|
||||||
|
height: 46px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.ranking-list {
|
||||||
|
background-color: #fff;
|
||||||
|
|
||||||
|
.item {
|
||||||
|
width: 100%;
|
||||||
|
height: 120px;
|
||||||
|
line-height: 120px;
|
||||||
|
background: #fff;
|
||||||
|
padding: 0 64px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
.item-num {
|
||||||
|
display: inline-block;
|
||||||
|
width: 68px;
|
||||||
|
color: #858594;
|
||||||
|
font-size: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.user-img {
|
||||||
|
margin-right: 24px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-name {
|
||||||
|
color: #333;
|
||||||
|
font-size: 30px;
|
||||||
|
display: inline-block;
|
||||||
|
width: 240px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-point {
|
||||||
|
display: inline-block;
|
||||||
|
width: 210px;
|
||||||
|
text-align: right;
|
||||||
|
font-size: 30px;
|
||||||
|
font-family: PingFangSC-Medium, PingFang SC;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mar-r24 {
|
||||||
|
margin-right: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.user-img {
|
||||||
|
width: 80px;
|
||||||
|
height: 80px;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.user-name-bg {
|
||||||
|
display: inline-block;
|
||||||
|
width: 80px;
|
||||||
|
height: 80px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background-color: #4e8eee;
|
||||||
|
font-size: 28px;
|
||||||
|
line-height: 80px;
|
||||||
|
text-align: center;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mar-b4 {
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mar-b8 {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detail-content {
|
||||||
|
width: 690px;
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 16px;
|
||||||
|
margin: 432px 0 0 32px;
|
||||||
|
padding: 30px 30px 94px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
.title {
|
||||||
|
font-size: 34px;
|
||||||
|
font-family: PingFangSC-Medium, PingFang SC;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #333;
|
||||||
|
line-height: 48px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item {
|
||||||
|
padding: 34px 0 32px 0;
|
||||||
|
border-bottom: 2px solid #ddd;
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
.item-info {
|
||||||
|
width: 500px;
|
||||||
|
|
||||||
|
p {
|
||||||
|
word-break: break-all;
|
||||||
|
font-size: 32px;
|
||||||
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #333;
|
||||||
|
line-height: 44px;
|
||||||
|
}
|
||||||
|
|
||||||
|
span {
|
||||||
|
display: inline-block;
|
||||||
|
margin-top: 8px;
|
||||||
|
font-size: 24px;
|
||||||
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #999;
|
||||||
|
line-height: 34px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-num {
|
||||||
|
width: calc(100% - 500px);
|
||||||
|
text-align: right;
|
||||||
|
font-size: 36px;
|
||||||
|
font-family: PingFangSC-Semibold, PingFang SC;
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: 50px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-0 {
|
||||||
|
color: #2c51ce !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-1 {
|
||||||
|
color: #e6736e !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fixed-top {
|
||||||
|
z-index: 999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-tab {
|
||||||
|
height: 96px;
|
||||||
|
background-color: #3975C6;
|
||||||
|
padding: 20px 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-tab .tab-item {
|
||||||
|
flex: 1;
|
||||||
|
text-align: center;
|
||||||
|
position: relative;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-tab .tab-active {
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-tab .active-line {
|
||||||
|
position: absolute;
|
||||||
|
width: 40px;
|
||||||
|
height: 4px;
|
||||||
|
background: #FFF;
|
||||||
|
top: 48px;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.area-content {
|
||||||
|
padding: 32px;
|
||||||
|
background-color: #fff;
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 42px;
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-right: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.u-icon {
|
||||||
|
margin-left: 6px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
::v-deep .content {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
BIN
src/project/pingchang/AppCreditPoints/components/img/line.png
Normal file
BIN
src/project/pingchang/AppCreditPoints/components/img/line.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 700 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
263
src/project/pingchang/AppCreditPoints/gridIntegral.vue
Normal file
263
src/project/pingchang/AppCreditPoints/gridIntegral.vue
Normal file
@@ -0,0 +1,263 @@
|
|||||||
|
<template>
|
||||||
|
<div class="gridIntegral">
|
||||||
|
<div class="bg-blue"></div>
|
||||||
|
<div class="header-content">
|
||||||
|
<img src="https://cdn.cunwuyun.cn/dvcp/credit/head.png" alt="">
|
||||||
|
<div class="headerDataPane">
|
||||||
|
<div class="header-user" flex>
|
||||||
|
<div class="user-name">{{info.userName}}</div>
|
||||||
|
<div class="headerItem top">
|
||||||
|
<div v-text="`积分余额`"/>
|
||||||
|
<b v-text="info.integral||0"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="header-rank" flex>
|
||||||
|
<div class="headerItem">
|
||||||
|
<div v-text="`历史累计积分`"/>
|
||||||
|
<b v-text="info.totalIntegral||0"/>
|
||||||
|
</div>
|
||||||
|
<div class="divider"/>
|
||||||
|
<div class="headerItem">
|
||||||
|
<div v-text="`积分排名`"/>
|
||||||
|
<b v-text="rankNum"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="detail-content" v-if="list.length">
|
||||||
|
<div flex>
|
||||||
|
<div class="title fill">积分明细</div>
|
||||||
|
<!-- <u-icon name="question-circle" label="积分规则" color="#3F8DF5" label-color="#3F8DF5" @click="gotoRules"/> -->
|
||||||
|
</div>
|
||||||
|
<u-gap/>
|
||||||
|
<div class="item" v-for="(item, index) in list" :key="index">
|
||||||
|
<div class="item-info">
|
||||||
|
<p v-text="item.eventDesc||item.integralRuleName"/>
|
||||||
|
<span v-text="item.doTime"/>
|
||||||
|
</div>
|
||||||
|
<div class="item-num" :class="'color-'+ item.integralCalcType">
|
||||||
|
{{ (item.integralCalcType == 1 ? '+' : '-') + item.changeIntegral }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<AiEmpty v-else/>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import {mapState} from 'vuex'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "gridIntegral",
|
||||||
|
computed: {
|
||||||
|
...mapState(['user'])
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
info: {},
|
||||||
|
list: [],
|
||||||
|
current: 1,
|
||||||
|
pages: 0,
|
||||||
|
userId: '',
|
||||||
|
rankNum: ''
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.getInfo()
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
|
onLoad(option) {
|
||||||
|
this.rankNum = option.rankNum
|
||||||
|
this.userId = option.userId
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
|
document.title = '积分明细'
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
// 积分排行
|
||||||
|
getInfo() {
|
||||||
|
this.$http.post(`/app/appintegraluser/integralUserInfoFD?integralUserId=${this.userId}`).then(res => {
|
||||||
|
if (res?.data) {
|
||||||
|
this.info = res.data
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
getList() {
|
||||||
|
this.$http.post(`/app/appintegraldetail/list`, null, {
|
||||||
|
params: {current: this.current, size: 10, integralUserId: this.userId}
|
||||||
|
}).then(res => {
|
||||||
|
if (res?.data) {
|
||||||
|
this.list = [this.list, res.data.records || []].flat()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
gotoRules() {
|
||||||
|
uni.navigateTo({url: './integralRules'})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onReachBottom() {
|
||||||
|
this.current++
|
||||||
|
this.getList()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
.gridIntegral {
|
||||||
|
width: 100vw;
|
||||||
|
min-height: 100vh;
|
||||||
|
background-color: #f3f6f9;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
.bg-blue {
|
||||||
|
width: 100%;
|
||||||
|
height: 270px;
|
||||||
|
background-color: #3975C6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-content {
|
||||||
|
width: 690px;
|
||||||
|
height: 408px;
|
||||||
|
margin: -130px 0 40px;
|
||||||
|
padding: 32px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
position: relative;
|
||||||
|
background: #FFF;
|
||||||
|
border-radius: 16px;
|
||||||
|
|
||||||
|
.headerDataPane {
|
||||||
|
|
||||||
|
top: 76px;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
position: absolute;
|
||||||
|
z-index: 9;
|
||||||
|
|
||||||
|
|
||||||
|
.header-rank {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-around;
|
||||||
|
}
|
||||||
|
.header-user {
|
||||||
|
padding: 0 64px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
.user-name {
|
||||||
|
font-size: 50px;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.headerItem {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 28px;
|
||||||
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #999999;
|
||||||
|
line-height: 40px;
|
||||||
|
|
||||||
|
b {
|
||||||
|
display: block;
|
||||||
|
line-height: 50px;
|
||||||
|
color: #000;
|
||||||
|
font-size: 36px;
|
||||||
|
font-family: DIN, DINAlternate-Bold, DINAlternate;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.top {
|
||||||
|
b {
|
||||||
|
font-size: 104px;
|
||||||
|
line-height: 122px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
& > img {
|
||||||
|
position: absolute;
|
||||||
|
width: 342px;
|
||||||
|
height: 220px;
|
||||||
|
top: -60px;
|
||||||
|
right: 10px;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.mar-b4 {
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mar-b8 {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detail-content {
|
||||||
|
width: 690px;
|
||||||
|
background: #FFF;
|
||||||
|
border-radius: 16px;
|
||||||
|
padding: 30px 30px 94px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
.title {
|
||||||
|
font-size: 34px;
|
||||||
|
font-family: PingFangSC-Medium, PingFang SC;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #333;
|
||||||
|
line-height: 48px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item {
|
||||||
|
padding: 34px 0 32px 0;
|
||||||
|
border-bottom: 2px solid #ddd;
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
.item-info {
|
||||||
|
width: 500px;
|
||||||
|
|
||||||
|
p {
|
||||||
|
word-break: break-all;
|
||||||
|
font-size: 32px;
|
||||||
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #333;
|
||||||
|
line-height: 44px;
|
||||||
|
}
|
||||||
|
|
||||||
|
span {
|
||||||
|
display: inline-block;
|
||||||
|
margin-top: 8px;
|
||||||
|
font-size: 24px;
|
||||||
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #999;
|
||||||
|
line-height: 34px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-num {
|
||||||
|
width: calc(100% - 500px);
|
||||||
|
text-align: right;
|
||||||
|
font-size: 36px;
|
||||||
|
font-family: PingFangSC-Semibold, PingFang SC;
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: 50px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.color-1 {
|
||||||
|
color: #2C51CE !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-0 {
|
||||||
|
color: #E6736E !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.divider {
|
||||||
|
width: 2px;
|
||||||
|
height: 60px;
|
||||||
|
background: #ededed;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
297
src/project/pingchang/AppPointsReview/AppPointsReview.vue
Normal file
297
src/project/pingchang/AppPointsReview/AppPointsReview.vue
Normal file
@@ -0,0 +1,297 @@
|
|||||||
|
<template>
|
||||||
|
<div class="AppPointsReview">
|
||||||
|
<AiTopFixed>
|
||||||
|
<div class="top-search">
|
||||||
|
<div class="left">
|
||||||
|
<u-search v-model="search.createUserName" :clearabled="true" placeholder="请输入申请人、审批人" :show-action="false" bg-color="#F5F5F5"
|
||||||
|
search-icon-color="#999" color="#999" height="58" @search="getListInit" @clear="getListInit">
|
||||||
|
</u-search>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="top-select">
|
||||||
|
<div class="item" @click="showDateSelect=true">
|
||||||
|
<span v-if="!search.startTime" style="color:#999;">日期筛选</span>
|
||||||
|
<span v-else>{{ search.startTime }}至{{ search.endTime }}</span>
|
||||||
|
<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" v-if="!search.startTime" />
|
||||||
|
<img src="./img/del-icon.png" alt="" class="del-icon" v-else @click.stop="clearDate">
|
||||||
|
</div>
|
||||||
|
<div class="item" @click="isShowType=true">
|
||||||
|
<span style="color:#999;" v-if="!search.type">事件类型</span>
|
||||||
|
<span v-else>{{ search.typeName }}</span>
|
||||||
|
<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" v-if="!search.type"/>
|
||||||
|
<img src="./img/del-icon.png" alt="" class="del-icon" v-else @click.stop="clearType">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</AiTopFixed>
|
||||||
|
<div class="list-content">
|
||||||
|
<div class="item" v-for="(item, index) in list" :key="index" @click="toDetail(item.id)">
|
||||||
|
<div class="title-flex">
|
||||||
|
<p class="title">{{item.applyItemName}}</p>
|
||||||
|
<div class="btn" v-if="item.status == 1">
|
||||||
|
<p v-if="item.pushStatus == 1">已推送</p>
|
||||||
|
<div @click.stop="pushNew(item.id)" v-else>推送精选</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="user-name">{{item.integralUserName}}<span>积分+{{item.applyIntegral}}</span></div>
|
||||||
|
<div class="time-flex">
|
||||||
|
<span>{{item.createTime}}</span>
|
||||||
|
<span :class="`color-${item.status}`">{{ $dict.getLabel('appIntegralApplyEventStatus', item.status) }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<AiEmpty v-if="!list.length" description="暂无数据"></AiEmpty>
|
||||||
|
|
||||||
|
<u-calendar v-model="showDateSelect" mode="range" min-year="2023" @change="dateConfirm"></u-calendar>
|
||||||
|
<u-select v-model="isShowType" :list="typeList" value-name="id" label-name="ruleName" @confirm="typeConfirm"></u-select>
|
||||||
|
<u-modal v-model="showPush" :show-cancel-button="true" content="是否将精选内容对全体居民公开,选择否将只对本村/社区公开"
|
||||||
|
confirm-text="是" cancel-text="否" @confirm="pushNewConfirm(1)" @cancel="pushNewConfirm(1)" :mask-close-able="true"></u-modal>
|
||||||
|
<AiAdd @add="toAdd"/>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
export default {
|
||||||
|
name: "AppPointsReview",
|
||||||
|
appName: "积分审核",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
keyword: '',
|
||||||
|
areaId: '',
|
||||||
|
areaName: '',
|
||||||
|
|
||||||
|
showDateSelect: false,
|
||||||
|
search: {
|
||||||
|
createUserName: '',
|
||||||
|
startTime: '',
|
||||||
|
endTime: '',
|
||||||
|
type: '',
|
||||||
|
typeName: ''
|
||||||
|
},
|
||||||
|
list: [],
|
||||||
|
current: 1,
|
||||||
|
pages: 2,
|
||||||
|
typeList: [],
|
||||||
|
isShowType: false,
|
||||||
|
showPush: false,
|
||||||
|
pushNewId: ''
|
||||||
|
};
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
...mapState(['user']),
|
||||||
|
isGridMember() {
|
||||||
|
return this.user.girdCheckType > 0
|
||||||
|
},
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
this.$dict.load('appIntegralApplyEventStatus').then(() => {
|
||||||
|
this.getListInit()
|
||||||
|
})
|
||||||
|
this.getTypeList()
|
||||||
|
uni.$on('updateList', () => {
|
||||||
|
this.getListInit()
|
||||||
|
})
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
getListInit() {
|
||||||
|
this.current = 1
|
||||||
|
this.pages = 2
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
|
getList() {
|
||||||
|
console.log(4)
|
||||||
|
if (this.current > this.pages) return
|
||||||
|
this.$http.post(`/app/appintegraluserapply/listByGridMember`,null, {
|
||||||
|
params:{
|
||||||
|
...this.search,
|
||||||
|
current: this.current,
|
||||||
|
size: 10,
|
||||||
|
applyItemId: this.search.type,
|
||||||
|
createTimeStart: this.search.startTime,
|
||||||
|
createTimeEnd: this.search.endTime
|
||||||
|
}
|
||||||
|
}).then(res=> {
|
||||||
|
if(res?.data) {
|
||||||
|
res.data.records.map((item) => {
|
||||||
|
item.createTime = item.createTime.substring(0, 16)
|
||||||
|
})
|
||||||
|
this.list = this.current > 1 ? [...this.list, ...res.data.records]: res.data.records
|
||||||
|
this.pages = Math.ceil(res.data.total / 10)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
dateConfirm(e) {
|
||||||
|
console.log(123)
|
||||||
|
this.search.startTime = e.startDate
|
||||||
|
this.search.endTime = e.endDate
|
||||||
|
this.getListInit()
|
||||||
|
},
|
||||||
|
toDetail(id) {
|
||||||
|
uni.navigateTo({url: `./detail?id=${id}`})
|
||||||
|
},
|
||||||
|
getTypeList() {
|
||||||
|
this.$http.post(`/app/appintegralrule/listByFD`).then(res=> {
|
||||||
|
if(res?.data) {
|
||||||
|
this.typeList = res.data
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
typeConfirm(e) {
|
||||||
|
this.search.type = e[0].value
|
||||||
|
this.search.typeName = e[0].label
|
||||||
|
this.getListInit()
|
||||||
|
},
|
||||||
|
pushNew(id) {
|
||||||
|
this.pushNewId = id
|
||||||
|
this.showPush = true
|
||||||
|
},
|
||||||
|
pushNewConfirm(status) {
|
||||||
|
this.$http.post(`/app/appintegraluserapply/pushById?id=${this.pushNewId}&status=${status}`).then(res=> {
|
||||||
|
if(res.code == 0) {
|
||||||
|
this.$u.toast('推送成功')
|
||||||
|
this.getListInit()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
clearDate() {
|
||||||
|
this.search.startTime = ''
|
||||||
|
this.search.endTime = ''
|
||||||
|
this.getListInit()
|
||||||
|
},
|
||||||
|
clearType() {
|
||||||
|
this.search.type = ''
|
||||||
|
this.search.typeName = ''
|
||||||
|
this.getListInit()
|
||||||
|
},
|
||||||
|
toAdd() {
|
||||||
|
uni.navigateTo({url: './integralAdd'})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
onReachBottom() {
|
||||||
|
this.current = this.current + 1;
|
||||||
|
this.getList();
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.AppPointsReview {
|
||||||
|
height: 100%;
|
||||||
|
::v-deep .AiTopFixed {
|
||||||
|
.placeholder {
|
||||||
|
.content {
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.fixed {
|
||||||
|
margin: 0 !important;
|
||||||
|
.content {
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.top-search {
|
||||||
|
padding: 20px 32px;
|
||||||
|
display: flex;
|
||||||
|
.left {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.top-select {
|
||||||
|
display: flex;
|
||||||
|
padding: 28px 0;
|
||||||
|
.item {
|
||||||
|
flex: 1;
|
||||||
|
// padding: 0 8px;
|
||||||
|
text-align: center;
|
||||||
|
span {
|
||||||
|
display: inline-block;
|
||||||
|
font-family: PingFangSC-Medium;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 28px;
|
||||||
|
color: #666;
|
||||||
|
line-height: 40px;
|
||||||
|
}
|
||||||
|
.del-icon {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.list-content {
|
||||||
|
padding: 32px;
|
||||||
|
.item {
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 32px;
|
||||||
|
background-color: #fff;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
.title-flex {
|
||||||
|
display: flex;
|
||||||
|
.title {
|
||||||
|
word-break: break-all;
|
||||||
|
text-overflow: -o-ellipsis-lastline;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
line-clamp: 2;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
color: #333;
|
||||||
|
font-size: 32px;
|
||||||
|
font-weight: 500;
|
||||||
|
font-family: "PingFang SC";
|
||||||
|
line-height: 44px;
|
||||||
|
width: calc(100% - 182px);
|
||||||
|
}
|
||||||
|
.btn {
|
||||||
|
width: 182px;
|
||||||
|
text-align: right;
|
||||||
|
padding-left: 32px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
div {
|
||||||
|
width: 150px;
|
||||||
|
text-align: center;
|
||||||
|
border-radius: 8px;
|
||||||
|
line-height: 56px;
|
||||||
|
background: #1365DD;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 28px;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
font-size: 28px;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.user-name {
|
||||||
|
font-size: 28px;
|
||||||
|
color: #666;
|
||||||
|
line-height: 34px;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
span {
|
||||||
|
margin-left: 32px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.time-flex {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
font-size: 28px;
|
||||||
|
color: #999;
|
||||||
|
line-height: 34px;
|
||||||
|
.color-0{
|
||||||
|
color: #FF9A40;
|
||||||
|
}
|
||||||
|
.color-1{
|
||||||
|
color: #42D784;
|
||||||
|
}
|
||||||
|
.color-2{
|
||||||
|
color: #cd413aff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
471
src/project/pingchang/AppPointsReview/detail.vue
Normal file
471
src/project/pingchang/AppPointsReview/detail.vue
Normal file
@@ -0,0 +1,471 @@
|
|||||||
|
<template>
|
||||||
|
<div class="detail">
|
||||||
|
<div class="header-content">
|
||||||
|
<div class="title-flex">
|
||||||
|
<p>{{info.applyItemName}}</p>
|
||||||
|
<div :class="`color-${info.status}`">{{ $dict.getLabel('appIntegralApplyEventStatus', info.status) }}</div>
|
||||||
|
</div>
|
||||||
|
<div class="user-flex">
|
||||||
|
<div>申请人:{{info.integralUserName}}</div>
|
||||||
|
<div>电话号码:<span style="color:#1365DD;" @click="callPhone(info.phone)">{{info.phone}}</span></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="content">
|
||||||
|
<div class="title-flex">
|
||||||
|
<p>申请信息</p>
|
||||||
|
<div style="color:#1365DD;" v-if="info.status == 0">
|
||||||
|
<span style="margin-right:16px" v-if="isEdit" @click="isEdit=false;getDetail()">取消</span>
|
||||||
|
<span @click="edit">{{isEdit ? '保存' : '编辑'}}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="info-flex solid">
|
||||||
|
<div class="label">积分值</div>
|
||||||
|
<div class="value">
|
||||||
|
<u-input type="number" placeholder="请输入" input-align="right" placeholder-style="color:#999;font-size:16px;" height="40" v-model="info.applyIntegral" maxlength="10" v-if="isEdit"/>
|
||||||
|
<!-- <u-number-box v-model="info.applyIntegral" input-height="44" size="14" :min="1" :max="100" v-if="isEdit"></u-number-box> -->
|
||||||
|
<span v-else>{{info.applyIntegral}}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="info-flex">
|
||||||
|
<div class="label">详情描述</div>
|
||||||
|
</div>
|
||||||
|
<div class="info-textarea" v-if="isEdit">
|
||||||
|
<u-input v-model="info.content" type="textarea" :height="200" auto-height maxlength="300" placeholder="请输入详细描述" />
|
||||||
|
<div class="hint">{{ info.content.length }}/300</div>
|
||||||
|
</div>
|
||||||
|
<p class="text solid" v-else>{{info.content}}</p>
|
||||||
|
|
||||||
|
<div class="items solid" v-if="isEdit">
|
||||||
|
<p>上传图片</p>
|
||||||
|
<div class="upload">
|
||||||
|
<AiUploader :def.sync="info.images" placeholder="上传图片" type="image" :limit="9" multiple></AiUploader>
|
||||||
|
</div>
|
||||||
|
<div class="text-tips left">可上传图片,最多上传9张。</div>
|
||||||
|
</div>
|
||||||
|
<div class="items" v-if="isEdit">
|
||||||
|
<p>上传视频</p>
|
||||||
|
<div class="upload">
|
||||||
|
<AiUploader :def.sync="info.videos" placeholder="上传视频" type="video" :limit="9" multiple :size="30 * 1024 * 1024"></AiUploader>
|
||||||
|
</div>
|
||||||
|
<div class="text-tips left">可上传视频,最大30M。</div>
|
||||||
|
</div>
|
||||||
|
<div class="img-list" v-if="info.files && info.files.length && !isEdit">
|
||||||
|
<div v-for="(item, index) in info.files" :key="index">
|
||||||
|
<div v-if="item.postfix == '.mp4' || item.postfix == '.MOV'" class="video-item" @click="choose(item)" >
|
||||||
|
<img :src="item.facePicture" alt="" class="pic-img">
|
||||||
|
<img :src="`${$cdn}video/play-icon.png`" alt="" class="play-icon">
|
||||||
|
</div>
|
||||||
|
<img :src="item.accessUrl" alt="" @click="previewImages(item.accessUrl)" class="pic-img" v-else>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="pass-info" v-if="info.status == 2">
|
||||||
|
<div class="title"><span></span>未通过理由</div>
|
||||||
|
<p>{{info.auditDesc}}</p>
|
||||||
|
</div>
|
||||||
|
<div class="footer" v-if="info.status == 0 && !isEdit">
|
||||||
|
<div class="confirm" @click="agree()">通过</div>
|
||||||
|
<div class="cancel" @click="show=true">不通过</div>
|
||||||
|
</div>
|
||||||
|
<u-popup v-model="show" mode="bottom">
|
||||||
|
<div class="textarea">
|
||||||
|
<u-input v-model="value" type="textarea" :height="120" :auto-height="true" placeholder="请输入不通过原因" :clearable="false" maxlength="500" />
|
||||||
|
<p>字数{{ value.length }}/500</p>
|
||||||
|
</div>
|
||||||
|
<div class="btn">
|
||||||
|
<span @click="value = ''">清空内容</span>
|
||||||
|
<span class="confirm" @click="confirm">保存</span>
|
||||||
|
</div>
|
||||||
|
</u-popup>
|
||||||
|
<u-popup v-model="showVideo" mode="bottom">
|
||||||
|
<div class="audio">
|
||||||
|
<video controls class="only_video" :src="videoUrl" autoplay></video>
|
||||||
|
<!-- <audio :src="url" ref="audio" :controls="true" :name="autioName" style="display: block;"></audio> -->
|
||||||
|
</div>
|
||||||
|
</u-popup>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "detail",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
show: false,
|
||||||
|
value: '',
|
||||||
|
id: '',
|
||||||
|
info: {},
|
||||||
|
showVideo: false,
|
||||||
|
videoUrl: '',
|
||||||
|
isEdit: false,
|
||||||
|
flag: false
|
||||||
|
};
|
||||||
|
},
|
||||||
|
onLoad(option) {
|
||||||
|
this.id = option.id
|
||||||
|
this.$dict.load('appIntegralApplyEventStatus').then(() => {
|
||||||
|
this.getDetail()
|
||||||
|
})
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
|
document.title = '积分详情'
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
getDetail() {
|
||||||
|
this.$http.post(`/app/appintegraluserapply/queryDetailById?id=${this.id}`).then(res=> {
|
||||||
|
if(res?.data) {
|
||||||
|
this.info = res.data
|
||||||
|
this.info.images = res.data.files.filter(e => (['jpeg', 'jpg', 'png'].includes(e.postfix.split('.')[1])))
|
||||||
|
this.info.videos = res.data.files.filter(e => (['mp4', 'MOV'].includes(e.postfix.split('.')[1])))
|
||||||
|
this.flag = false
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
confirm() {
|
||||||
|
if(!this.value) {
|
||||||
|
return this.$u.toast('请输入不通过原因')
|
||||||
|
}
|
||||||
|
this.submit(0)
|
||||||
|
},
|
||||||
|
agree() {
|
||||||
|
this.$confirm('确定通过该条申请').then(() => {
|
||||||
|
this.submit(1)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
submit(status) {
|
||||||
|
this.$http.post(`/app/appintegraluserapply/auditById`, {
|
||||||
|
auditDesc: this.value,
|
||||||
|
id: this.id,
|
||||||
|
auditStatus: status
|
||||||
|
}).then(res=> {
|
||||||
|
if(res.code == 0) {
|
||||||
|
this.$u.toast('操作成功')
|
||||||
|
uni.$emit('updateList')
|
||||||
|
this.show = false
|
||||||
|
this.getDetail()
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
previewImages(img) {
|
||||||
|
var imgs = []
|
||||||
|
this.info.files.map((item) => {
|
||||||
|
if(item.postfix != '.mp4' || item.postfix != '.MOV') {
|
||||||
|
imgs.push(item.accessUrl)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
uni.previewImage({
|
||||||
|
urls: imgs,
|
||||||
|
current: img
|
||||||
|
})
|
||||||
|
},
|
||||||
|
callPhone(phone) {
|
||||||
|
uni.makePhoneCall({ phoneNumber: phone })
|
||||||
|
},
|
||||||
|
choose(item) {
|
||||||
|
this.videoUrl = item.accessUrl
|
||||||
|
this.showVideo = true
|
||||||
|
},
|
||||||
|
edit() {
|
||||||
|
if(this.isEdit) {
|
||||||
|
this.editSubmit()
|
||||||
|
}else {
|
||||||
|
this.isEdit = true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
editSubmit() {
|
||||||
|
if(this.flag) return
|
||||||
|
|
||||||
|
if (!/^([1-9]\d*|0)(\.\d{1,2})?$/g.test(this.info.applyIntegral)) {
|
||||||
|
this.info.applyIntegral = Number(this.info.applyIntegral).toFixed(2)
|
||||||
|
return this.$u.toast('积分值最多只保留两位小数点')
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!this.info.content) {
|
||||||
|
return this.$u.toast('请输入详细描述')
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((this.info.images.length + this.info.videos.length) > 9) {
|
||||||
|
return this.$u.toast('图片和视频不得超过9个')
|
||||||
|
} else {
|
||||||
|
this.info.files = [...this.info.images,...this.info.videos]
|
||||||
|
}
|
||||||
|
|
||||||
|
this.flag = true
|
||||||
|
this.$http.post(`/app/appintegraluserapply/updateByGirdMember`,{
|
||||||
|
...this.info,
|
||||||
|
userId: this.info.integralUserId,
|
||||||
|
}).then(res=> {
|
||||||
|
if(res?.data) {
|
||||||
|
this.$u.toast('提交成功')
|
||||||
|
uni.$emit('updateList')
|
||||||
|
this.getDetail()
|
||||||
|
this.isEdit = false
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
uni-page-body {
|
||||||
|
background-color: #F4F5FA;
|
||||||
|
}
|
||||||
|
.detail {
|
||||||
|
height: 100%;
|
||||||
|
padding-top: 32px;
|
||||||
|
.title-flex {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
p {
|
||||||
|
color: #333;
|
||||||
|
font-size: 34px;
|
||||||
|
font-weight: 600;
|
||||||
|
font-family: "PingFang SC";
|
||||||
|
line-height: 40px;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
div {
|
||||||
|
font-size: 28px;
|
||||||
|
font-family: "PingFang SC";
|
||||||
|
line-height: 40px;
|
||||||
|
width: 280px;
|
||||||
|
text-align: right;
|
||||||
|
span {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.color-0{
|
||||||
|
color: #FF9A40;
|
||||||
|
}
|
||||||
|
.color-1{
|
||||||
|
color: #42D784;
|
||||||
|
}
|
||||||
|
.color-2{
|
||||||
|
color: #cd413aff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.header-content {
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 40px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
.user-flex {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
line-height: 42px;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
font-size: 28px;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.content {
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 32px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
.info-flex {
|
||||||
|
display: flex;
|
||||||
|
padding: 24px 0;
|
||||||
|
line-height: 40px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
.label {
|
||||||
|
color: #999;
|
||||||
|
vertical-align: top;
|
||||||
|
width: 160px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.value {
|
||||||
|
display: inline-block;
|
||||||
|
width: calc(100% - 160px);
|
||||||
|
word-break: break-all;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
.text {
|
||||||
|
color: #333;
|
||||||
|
font-size: 28px;
|
||||||
|
font-family: "PingFang SC";
|
||||||
|
line-height: 42px;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
padding-bottom: 24px;
|
||||||
|
}
|
||||||
|
.info-textarea{
|
||||||
|
padding: 16px 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
border-bottom: 1px solid #ddd;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
.hint {
|
||||||
|
padding: 4px 0 8px 0;
|
||||||
|
text-align: right;
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.img-list {
|
||||||
|
div {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
.pic-img {
|
||||||
|
width: 210px;
|
||||||
|
height: 210px;
|
||||||
|
margin: 0 16px 16px 0;
|
||||||
|
}
|
||||||
|
.pic-img:nth-of-type(3n) {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
.video-item {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.play-icon {
|
||||||
|
position: absolute;
|
||||||
|
top: 80px;
|
||||||
|
left: 80px;
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.pass-info {
|
||||||
|
padding: 40px;
|
||||||
|
background-color: #fff;
|
||||||
|
.title {
|
||||||
|
color: #222;
|
||||||
|
font-size: 30px;
|
||||||
|
font-family: "PingFang SC";
|
||||||
|
line-height: 40px;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
|
||||||
|
span {
|
||||||
|
display: inline-block;
|
||||||
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
|
background-color: #CD413A;
|
||||||
|
border-radius: 50%;
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
color: #666;
|
||||||
|
font-size: 28px;
|
||||||
|
font-family: "PingFang SC";
|
||||||
|
line-height: 42px;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.footer{
|
||||||
|
width: 100%;
|
||||||
|
height: 96px;
|
||||||
|
background: #FFF;
|
||||||
|
box-shadow: inset 0 0 0 0 #D4D4D4;
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: flex;
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
div {
|
||||||
|
flex: 1;
|
||||||
|
height: 96px;
|
||||||
|
line-height: 96px;
|
||||||
|
background: #FFF;
|
||||||
|
font-family: PingFangSC-Regular;
|
||||||
|
font-size: 32px;
|
||||||
|
text-align: center;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.cancel {
|
||||||
|
color: #1365DD;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.confirm {
|
||||||
|
background-color: #1365DD;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.textarea {
|
||||||
|
margin: 32px 32px 24px;
|
||||||
|
width: calc(100% - 64px);
|
||||||
|
padding: 16px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
background: #f7f7f7;
|
||||||
|
border-radius: 8px;
|
||||||
|
p {
|
||||||
|
font-size: 26px;
|
||||||
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
|
color: #999;
|
||||||
|
line-height: 36px;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn {
|
||||||
|
padding: 0 32px 24px;
|
||||||
|
height: 64px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
span {
|
||||||
|
display: inline-block;
|
||||||
|
line-height: 64px;
|
||||||
|
font-size: 26px;
|
||||||
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
.confirm {
|
||||||
|
width: 144px;
|
||||||
|
text-align: center;
|
||||||
|
background: #1365dd;
|
||||||
|
border-radius: 32px;
|
||||||
|
font-size: 28px;
|
||||||
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.audio {
|
||||||
|
width: 100%;
|
||||||
|
height: 600px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 32px;
|
||||||
|
.only_video {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.items {
|
||||||
|
width: 100%;
|
||||||
|
background: #FFF;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
p {
|
||||||
|
padding: 24px 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
textarea {
|
||||||
|
padding: 24px 32px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tips {
|
||||||
|
color: #f46;
|
||||||
|
font-size: 24px;
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-tips {
|
||||||
|
padding: 12px 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
text-align: right;
|
||||||
|
color: #999999;
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
.left {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.upload {
|
||||||
|
padding: 24px 0 0 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
BIN
src/project/pingchang/AppPointsReview/img/del-icon.png
Normal file
BIN
src/project/pingchang/AppPointsReview/img/del-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 757 B |
294
src/project/pingchang/AppPointsReview/integralAdd.vue
Normal file
294
src/project/pingchang/AppPointsReview/integralAdd.vue
Normal file
@@ -0,0 +1,294 @@
|
|||||||
|
<template>
|
||||||
|
<div class="integralAdd">
|
||||||
|
<div class="item">
|
||||||
|
<div class="left"><span class="tips">*</span>姓名</div>
|
||||||
|
<div class="right" :class="form.name ? '' : 'color-999'" >
|
||||||
|
<AiPagePicker single :isShowPhone="true" @select="handleSelectUser" type="sysUser" style="width:100%;text-align:right;" action="/app/appwechatuserqujing/listByFdAppletUserByGirdMember" nodeKey="openId">
|
||||||
|
<AiMore v-model="form.name"/>
|
||||||
|
</AiPagePicker>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="item">
|
||||||
|
<div class="left"><span class="tips">*</span>身份证</div>
|
||||||
|
<div class="right" :class="form.idNumber ? '' : 'color-999'">{{form.idNumber || '自动获取'}}</div>
|
||||||
|
</div>
|
||||||
|
<div class="item mar-b32">
|
||||||
|
<div class="left"><span class="tips">*</span>手机号</div>
|
||||||
|
<div class="right" :class="form.phone ? '' : 'color-999'">{{form.phone || '自动获取'}}</div>
|
||||||
|
</div>
|
||||||
|
<div class="item mar-b32">
|
||||||
|
<div class="left"><span class="tips">*</span>事件类型</div>
|
||||||
|
<div class="right">
|
||||||
|
<AiSelect :list="dictList" v-model="form.applyItemId" @data="selectType" v-if="dictList.length"></AiSelect>
|
||||||
|
<span v-else class="color-999">请选择</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="item mar-b32">
|
||||||
|
<div class="left"><span class="tips">*</span>积分值</div>
|
||||||
|
<div class="right">
|
||||||
|
<u-input type="number" placeholder="请输入" input-align="right" placeholder-style="color:#999;font-size:16px;" height="40" v-model="form.applyIntegral" maxlength="10" />
|
||||||
|
<!-- <u-number-box v-model="form.applyIntegral" input-height="44" size="14" :min="1" :max="100"></u-number-box> -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="items">
|
||||||
|
<p><span class="tips">*</span>详情描述</p>
|
||||||
|
<textarea v-model="form.content" :maxlength="300" placeholder="请输入详细描述..."></textarea>
|
||||||
|
<div class="text-tips">{{ form.content.length }}/300</div>
|
||||||
|
</div>
|
||||||
|
<div class="items">
|
||||||
|
<p>上传图片</p>
|
||||||
|
<div class="upload">
|
||||||
|
<AiUploader :def.sync="form.images" placeholder="上传图片" type="image" :limit="9" multiple></AiUploader>
|
||||||
|
</div>
|
||||||
|
<div class="text-tips left">可上传图片,最多上传9张。</div>
|
||||||
|
</div>
|
||||||
|
<div class="items">
|
||||||
|
<p>上传视频</p>
|
||||||
|
<div class="upload">
|
||||||
|
<AiUploader :def.sync="form.videos" placeholder="上传视频" type="video" :limit="9" multiple :size="30 * 1024 * 1024"></AiUploader>
|
||||||
|
</div>
|
||||||
|
<div class="text-tips left">可上传视频,最大30M。</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="item mar-b32">
|
||||||
|
<div class="left">所属网格</div>
|
||||||
|
<!-- <AiPagePicker type="gird" v-model="form.girdId" :params="{ formType: 2 }" @select="handleSelectGrid" nodeKey="id">
|
||||||
|
<AiMore v-model="form.girdName"/>
|
||||||
|
</AiPagePicker> -->
|
||||||
|
<div class="right" :class="form.girdName ? '' : 'color-999'">{{form.girdName || '自动获取'}}</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
<div hover-class="text-hover" @click="submit">提交申请</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
export default {
|
||||||
|
name: "integralAdd",
|
||||||
|
appName: '积分申请',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
form: {
|
||||||
|
name: '',
|
||||||
|
userId: '',
|
||||||
|
phone: '',
|
||||||
|
idNumber: '',
|
||||||
|
applyItemId: '',
|
||||||
|
applyIntegral: '',
|
||||||
|
applyItemName: '',
|
||||||
|
content: '',
|
||||||
|
files: [],
|
||||||
|
images: [],
|
||||||
|
videos: [],
|
||||||
|
girdId: '',
|
||||||
|
girdName: '',
|
||||||
|
},
|
||||||
|
list: [],
|
||||||
|
dictList: [],
|
||||||
|
flag: false,
|
||||||
|
id: '',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
...mapState(['user']),
|
||||||
|
},
|
||||||
|
onLoad(o) {
|
||||||
|
if(o.id) {
|
||||||
|
this.id = o.id
|
||||||
|
this.getDetail()
|
||||||
|
}
|
||||||
|
this.$dict.load(['clapEventStatus'])
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
|
document.title = '积分代申请'
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
submit() {
|
||||||
|
if(this.flag) return
|
||||||
|
|
||||||
|
if (!this.form.name) {
|
||||||
|
return this.$u.toast('请选择代申请人员')
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!this.form.applyItemId) {
|
||||||
|
return this.$u.toast('请选择事件类型')
|
||||||
|
}
|
||||||
|
if (!/^([1-9]\d*|0)(\.\d{1,2})?$/g.test(this.form.applyIntegral)) {
|
||||||
|
this.form.applyIntegral = Number(this.form.applyIntegral).toFixed(2)
|
||||||
|
return this.$u.toast('积分值最多只保留两位小数点')
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!this.form.content) {
|
||||||
|
return this.$u.toast('请输入详细描述')
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((this.form.images.length + this.form.videos.length) > 9) {
|
||||||
|
return this.$u.toast('图片和视频不得超过9个')
|
||||||
|
} else {
|
||||||
|
this.form.files = [...this.form.images,...this.form.videos]
|
||||||
|
}
|
||||||
|
|
||||||
|
this.flag = true
|
||||||
|
this.$http.post(`/app/appintegraluserapply/add`,{
|
||||||
|
...this.form
|
||||||
|
}).then(res=> {
|
||||||
|
if(res?.data) {
|
||||||
|
this.$u.toast('提交成功')
|
||||||
|
uni.$emit('updateList')
|
||||||
|
setTimeout(()=> {
|
||||||
|
uni.navigateBack()
|
||||||
|
},500)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
selectType(selecteds) {
|
||||||
|
this.form.applyItemName = this.list.filter(e=> (e.id==selecteds[0].value))[0].ruleName
|
||||||
|
this.form.applyIntegral = this.list.filter(e => (e.id == selecteds[0].value))[0].integral
|
||||||
|
},
|
||||||
|
// 事件类型
|
||||||
|
getType() {
|
||||||
|
this.$http.post(`/app/appintegralrule/listByFdGirdMember?openId=${this.form.userId}`).then(res=> {
|
||||||
|
if(res?.data) {
|
||||||
|
this.list = res.data
|
||||||
|
this.dictList = res.data.map(v => {
|
||||||
|
return {
|
||||||
|
value: v.id,
|
||||||
|
label: v.ruleName
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSelectGrid(v) {
|
||||||
|
this.form.girdName = v.girdName
|
||||||
|
this.form.girdId = v.girdId
|
||||||
|
},
|
||||||
|
getDetail() {
|
||||||
|
this.$http.post(`/app/appintegraluserapply/queryDetailById?id=${this.id}`).then(res => {
|
||||||
|
if (res?.data) {
|
||||||
|
this.form = res.data
|
||||||
|
this.form.images = res.data.files.filter(e => (['jpeg', 'jpg', 'png'].includes(e.name.split('.')[1])))
|
||||||
|
this.form.videos = res.data.files.filter(e => (['mp4'].includes(e.name.split('.')[1])))
|
||||||
|
this.form.files = []
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSelectUser(v) {
|
||||||
|
this.form.name = v?.[0]?.realName || ""
|
||||||
|
this.form.userId = v?.[0]?.openId || ""
|
||||||
|
this.form.phone = v?.[0]?.phone || ""
|
||||||
|
this.form.idNumber = v?.[0]?.idNumber || ""
|
||||||
|
this.form.girdId = v?.[0]?.girdId || ""
|
||||||
|
this.form.girdName = v?.[0]?.girdName || ""
|
||||||
|
this.form.applyIntegral = ''
|
||||||
|
this.form.applyItemId = ''
|
||||||
|
this.form.applyItemName = ''
|
||||||
|
this.dictList = []
|
||||||
|
this.getType()
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.integralAdd {
|
||||||
|
padding: 24px 0 120px 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
.item {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
background: #FFF;
|
||||||
|
padding: 24px 32px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
.left {
|
||||||
|
width: 250px;
|
||||||
|
.tips {
|
||||||
|
color: #f46;
|
||||||
|
font-size: 24px;
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.right {
|
||||||
|
width: calc(100% - 200px);
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
::v-deep .AiSelect {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.mar-b32 {
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
.items {
|
||||||
|
width: 100%;
|
||||||
|
background: #FFF;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
p {
|
||||||
|
padding: 24px 32px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
// border: 1px solid #EEEEEE;
|
||||||
|
}
|
||||||
|
textarea {
|
||||||
|
padding: 24px 32px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tips {
|
||||||
|
color: #f46;
|
||||||
|
font-size: 24px;
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-tips {
|
||||||
|
padding: 12px 32px 32px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
text-align: right;
|
||||||
|
color: #999999;
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
.left {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.upload {
|
||||||
|
padding: 24px 32px 0 32px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ::v-deep .display {
|
||||||
|
// display: inline-block;
|
||||||
|
// }
|
||||||
|
.footer{
|
||||||
|
width: 100%;
|
||||||
|
height: 96px;
|
||||||
|
background: #FFF;
|
||||||
|
box-shadow: inset 0 0 0 0 #D4D4D4;
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: flex;
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 3;
|
||||||
|
div {
|
||||||
|
flex: 1;
|
||||||
|
height: 96px;
|
||||||
|
line-height: 96px;
|
||||||
|
background: #1365DD;
|
||||||
|
font-family: PingFangSC-Regular;
|
||||||
|
font-size: 32px;
|
||||||
|
text-align: center;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #fff;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user