|
@@ -0,0 +1,235 @@
|
|
|
+<template>
|
|
|
+ <div class="wrap">
|
|
|
+ <m-header v-if="headerStatus" />
|
|
|
+
|
|
|
+ <div class="monthMoney"> 2020年3月课酬确认单 </div>
|
|
|
+ <div class="monthCount">
|
|
|
+ <div class="item">
|
|
|
+ <span class="title">本月合计</span>
|
|
|
+ <span>100节</span>
|
|
|
+ <span class="money">4000元</span>
|
|
|
+ </div>
|
|
|
+ <div class="item">
|
|
|
+ <span class="title">乐团课合计</span>
|
|
|
+ <span>100节</span>
|
|
|
+ <span class="money">4000元</span>
|
|
|
+ </div>
|
|
|
+ <div class="item">
|
|
|
+ <span class="title">VIP课合计</span>
|
|
|
+ <span>100节</span>
|
|
|
+ <span class="money">4元</span>
|
|
|
+ </div>
|
|
|
+ <div class="item">
|
|
|
+ <span class="title">网管课合计</span>
|
|
|
+ <span>100节</span>
|
|
|
+ <span class="money">4000元</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div style="padding-bottom: .8rem">
|
|
|
+ <van-list v-model="loading" :finished="finished" finished-text=" " @load="getList">
|
|
|
+ <van-cell-group v-for="i in 10" :key="i">
|
|
|
+ <van-cell>
|
|
|
+ <template #icon>
|
|
|
+ <i class="icon icon_audition"></i>
|
|
|
+ </template>
|
|
|
+ <template #title>
|
|
|
+ <div class="title">长笛·基础知识课</div>
|
|
|
+ <div class="baseInfo">
|
|
|
+ <p>排课:3月5日 13:00-13:35</p>
|
|
|
+ <p>签到:13:00 签退13:35</p>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template #default>
|
|
|
+ <p class="money error">¥<span>50</span></p>
|
|
|
+ <div class="moneyInfo">
|
|
|
+ 课酬:¥100<br />实付:¥50
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ </van-cell-group>
|
|
|
+ </van-list>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- <m-empty class="empty" v-else key="data" /> -->
|
|
|
+
|
|
|
+ <div class="button-group">
|
|
|
+ <span class="btn" @click="onAppeal">问题申诉</span>
|
|
|
+ <span class="btn primary">确认课酬</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+import MHeader from "@/components/MHeader";
|
|
|
+import { browser } from '@/common/common'
|
|
|
+// import MEmpty from "@/components/MEmpty";
|
|
|
+export default {
|
|
|
+ name: "remuneration",
|
|
|
+ components: { MHeader },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ headerStatus: true,
|
|
|
+ loading: false,
|
|
|
+ finished: false
|
|
|
+ };
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ let params = this.$route.query;
|
|
|
+ if (params.Authorization) {
|
|
|
+ localStorage.setItem("Authorization", decodeURI(params.Authorization));
|
|
|
+ localStorage.setItem("userInfo", decodeURI(params.Authorization));
|
|
|
+ }
|
|
|
+ document.title = '确认课酬'
|
|
|
+ if(browser().android || browser().iPhone) {
|
|
|
+ this.headerStatus = false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ getList() {
|
|
|
+ this.finished = true
|
|
|
+ },
|
|
|
+ onAppeal() {
|
|
|
+ this.$router.push({
|
|
|
+ path: 'appealDetail'
|
|
|
+ })
|
|
|
+ },
|
|
|
+ formatter(type, val) {
|
|
|
+ if (type === "year") {
|
|
|
+ return `${val}年`;
|
|
|
+ } else if (type === "month") {
|
|
|
+ return `${val}月`;
|
|
|
+ } else if (type == "day") {
|
|
|
+ return `${val}日`;
|
|
|
+ }
|
|
|
+ return val;
|
|
|
+ }
|
|
|
+ }
|
|
|
+};
|
|
|
+</script>
|
|
|
+<style lang="less" scoped>
|
|
|
+@import url("../../assets/commonLess/variable.less");
|
|
|
+.wrap {
|
|
|
+ height: 100vh;
|
|
|
+ overflow-y: auto;
|
|
|
+ overflow-x: hidden;
|
|
|
+ background-color: #F3F4F8;
|
|
|
+}
|
|
|
+
|
|
|
+.monthMoney {
|
|
|
+ font-size: .16rem;
|
|
|
+ color: #1A1A1A;
|
|
|
+ background: #fff;
|
|
|
+ text-align: center;
|
|
|
+ line-height: .5rem;
|
|
|
+}
|
|
|
+
|
|
|
+.monthCount {
|
|
|
+ border: 1px solid rgba(204,204,204,1);
|
|
|
+ border-radius: .04rem;
|
|
|
+ margin: .16rem .16rem 0;
|
|
|
+ background: #fff;
|
|
|
+ padding: .12rem;
|
|
|
+ .item {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ color: #666666;
|
|
|
+ font-size: .14rem;
|
|
|
+ padding: .05rem .1rem;
|
|
|
+ .title {
|
|
|
+ width: .8rem;
|
|
|
+ }
|
|
|
+ .money {
|
|
|
+ width: .8rem;
|
|
|
+ text-align: right;
|
|
|
+ }
|
|
|
+
|
|
|
+ &:nth-child(2n + 2) {
|
|
|
+ background: #F0F0F0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+/deep/.van-cell-group {
|
|
|
+ margin: .16rem .16rem 0;
|
|
|
+ border: 1px solid #71BDB8;
|
|
|
+ border-radius: .04rem;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+/deep/.van-cell {
|
|
|
+ padding: .13rem;
|
|
|
+ .van-cell__title {
|
|
|
+ padding-left: .1rem;
|
|
|
+ }
|
|
|
+ .van-cell__value {
|
|
|
+ flex: 0 auto;
|
|
|
+ padding-left: .1rem;
|
|
|
+ }
|
|
|
+ .title {
|
|
|
+ font-size: .16rem;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #1A1A1A;
|
|
|
+ padding-bottom: .05rem;
|
|
|
+ }
|
|
|
+ .baseInfo {
|
|
|
+ font-size: .14rem;
|
|
|
+ color: #808080;
|
|
|
+ line-height: 1.3;
|
|
|
+ }
|
|
|
+ .money {
|
|
|
+ font-size: .16rem;
|
|
|
+ color: #1A1A1A;
|
|
|
+ padding-bottom: .02rem;
|
|
|
+ &.error {
|
|
|
+ color: #FF3535;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ font-size: .22rem;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .moneyInfo {
|
|
|
+ font-size: .14rem;
|
|
|
+ line-height: 1.3;
|
|
|
+ color: #1A1A1A;
|
|
|
+ }
|
|
|
+}
|
|
|
+.icon {
|
|
|
+ width: .4rem;
|
|
|
+ height: .4rem;
|
|
|
+ display: inline-block;
|
|
|
+}
|
|
|
+.icon_audition {
|
|
|
+ background: url('../../assets/images/audition/audition_icon.png') no-repeat center;
|
|
|
+ background-size: contain;
|
|
|
+}
|
|
|
+.icon_music {
|
|
|
+ background: url('../../assets/images/audition/music_icon.png') no-repeat center;
|
|
|
+ background-size: contain;
|
|
|
+}
|
|
|
+.icon_vip {
|
|
|
+ background: url('../../assets/images/audition/vip_icon.png') no-repeat center;
|
|
|
+ background-size: contain;
|
|
|
+}
|
|
|
+.button-group {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ margin: 0.2rem 0;
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+ .btn {
|
|
|
+ padding: 0 .45rem;
|
|
|
+ line-height: .4rem;
|
|
|
+ display: inline-block;
|
|
|
+ border: 1px solid @mColor;
|
|
|
+ border-radius: 1rem;
|
|
|
+ color: @mColor;
|
|
|
+ background: #fff;
|
|
|
+ font-size: .18rem;
|
|
|
+ &.primary {
|
|
|
+ color: #fff;
|
|
|
+ background: @mColor;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .btn+.btn {
|
|
|
+ margin-left: .1rem;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|