|
@@ -3,7 +3,7 @@
|
|
|
<!-- 用户信息 -->
|
|
<!-- 用户信息 -->
|
|
|
<div class="user-wrap">
|
|
<div class="user-wrap">
|
|
|
<div class="user-top">
|
|
<div class="user-top">
|
|
|
- <div>今日概况</div>
|
|
|
|
|
|
|
+ <div class="app-size-28">今日概况</div>
|
|
|
<app-avatar-module :width="80" />
|
|
<app-avatar-module :width="80" />
|
|
|
</div>
|
|
</div>
|
|
|
<div class="income-amount">
|
|
<div class="income-amount">
|
|
@@ -26,16 +26,16 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<!-- 订单总览 -->
|
|
<!-- 订单总览 -->
|
|
|
- <!-- <div class="module-com order-wrap">
|
|
|
|
|
|
|
+ <div class="module-com order-wrap">
|
|
|
<div class="total-blo">
|
|
<div class="total-blo">
|
|
|
<div class="total-list" v-for="(item, index) in orderData" :key="index">
|
|
<div class="total-list" v-for="(item, index) in orderData" :key="index">
|
|
|
<div class="list-num">{{ item.value }}</div>
|
|
<div class="list-num">{{ item.value }}</div>
|
|
|
<div class="app-color-3">{{ item.name }}</div>
|
|
<div class="app-color-3">{{ item.name }}</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div> -->
|
|
|
|
|
|
|
+ </div>
|
|
|
<!-- 消息 -->
|
|
<!-- 消息 -->
|
|
|
- <!-- <div class="module-com news-wrap">
|
|
|
|
|
|
|
+ <div class="module-com news-wrap">
|
|
|
<div class="news-list" v-for="(item, index) in 3" :key="index">
|
|
<div class="news-list" v-for="(item, index) in 3" :key="index">
|
|
|
<div class="news-left">
|
|
<div class="news-left">
|
|
|
<i class="iconfont iconxiaoxi2"></i>
|
|
<i class="iconfont iconxiaoxi2"></i>
|
|
@@ -46,18 +46,18 @@
|
|
|
<i class="iconfont iconxiangyou"></i>
|
|
<i class="iconfont iconxiangyou"></i>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div> -->
|
|
|
|
|
|
|
+ </div>
|
|
|
<!-- 客户按钮 -->
|
|
<!-- 客户按钮 -->
|
|
|
- <!-- <div class="module-com tabs-wrap">
|
|
|
|
|
|
|
+ <div class="module-com tabs-wrap">
|
|
|
<div class="tabs-list" v-for="(item, index) in tabsData" :key="index" @click="$util.pageTo(item)">
|
|
<div class="tabs-list" v-for="(item, index) in tabsData" :key="index" @click="$util.pageTo(item)">
|
|
|
<div class="tabs-img">
|
|
<div class="tabs-img">
|
|
|
<img :src="item.img" alt mode="widthFix" />
|
|
<img :src="item.img" alt mode="widthFix" />
|
|
|
</div>
|
|
</div>
|
|
|
<div class="tabs-name">{{ item.name }}</div>
|
|
<div class="tabs-name">{{ item.name }}</div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div> -->
|
|
|
|
|
|
|
+ </div>
|
|
|
<!-- 总览 -->
|
|
<!-- 总览 -->
|
|
|
- <!-- <div class="module-com total-wrap">
|
|
|
|
|
|
|
+ <div class="module-com total-wrap">
|
|
|
<div class="total-tit">总览</div>
|
|
<div class="total-tit">总览</div>
|
|
|
<div class="total-blo">
|
|
<div class="total-blo">
|
|
|
<div class="total-list" v-for="(item, index) in totalData" :key="index">
|
|
<div class="total-list" v-for="(item, index) in totalData" :key="index">
|
|
@@ -65,14 +65,14 @@
|
|
|
<div class="app-color-3">{{ item.name }}</div>
|
|
<div class="app-color-3">{{ item.name }}</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div> -->
|
|
|
|
|
|
|
+ </div>
|
|
|
<fab-module />
|
|
<fab-module />
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import FabModule from '@/components/plugin/fab'
|
|
import FabModule from '@/components/plugin/fab'
|
|
|
-import appAvatarModule from '@/components/module/app-avatar'
|
|
|
|
|
|
|
+import AppAvatarModule from '@/components/module/app-avatar'
|
|
|
// img
|
|
// img
|
|
|
import tabIcon1 from '@/static/images/admin/tab-icon-1.png'
|
|
import tabIcon1 from '@/static/images/admin/tab-icon-1.png'
|
|
|
import tabIcon2 from '@/static/images/admin/tab-icon-2.png'
|
|
import tabIcon2 from '@/static/images/admin/tab-icon-2.png'
|
|
@@ -86,7 +86,7 @@ export default {
|
|
|
name: 'admin-workbench',
|
|
name: 'admin-workbench',
|
|
|
components: {
|
|
components: {
|
|
|
FabModule,
|
|
FabModule,
|
|
|
- appAvatarModule
|
|
|
|
|
|
|
+ AppAvatarModule
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
@@ -127,12 +127,12 @@ export default {
|
|
|
{
|
|
{
|
|
|
name: '邀请有礼',
|
|
name: '邀请有礼',
|
|
|
img: tabIcon2,
|
|
img: tabIcon2,
|
|
|
- url: '/pages/coupon/list'
|
|
|
|
|
|
|
+ url: '/pages/interest/admin/invite'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: '优惠券',
|
|
name: '优惠券',
|
|
|
img: tabIcon3,
|
|
img: tabIcon3,
|
|
|
- url: '/pages/coupon/list'
|
|
|
|
|
|
|
+ url: '/pages/coupon/admin/list'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: '广告管理',
|
|
name: '广告管理',
|
|
@@ -203,6 +203,9 @@ export default {
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
|
+ .app-content {
|
|
|
|
|
+ padding-bottom: 10px;
|
|
|
|
|
+ }
|
|
|
// 公共
|
|
// 公共
|
|
|
.module-com {
|
|
.module-com {
|
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
@@ -214,15 +217,34 @@ export default {
|
|
|
// 用户信息
|
|
// 用户信息
|
|
|
.user-wrap {
|
|
.user-wrap {
|
|
|
padding: 20px 40px 40px 30px;
|
|
padding: 20px 40px 40px 30px;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ background-image: url('../../static/images/admin/bg.png');
|
|
|
|
|
+ background-size: 100% 380px;
|
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
.user-top {
|
|
.user-top {
|
|
|
|
|
+ // padding-top: 20px;
|
|
|
@include disFlex(center, space-between);
|
|
@include disFlex(center, space-between);
|
|
|
}
|
|
}
|
|
|
.income-amount {
|
|
.income-amount {
|
|
|
- margin-top: 20px;
|
|
|
|
|
- margin-bottom: 60px;
|
|
|
|
|
|
|
+ margin-top: 14px;
|
|
|
|
|
+ margin-bottom: 40px;
|
|
|
.price {
|
|
.price {
|
|
|
font-size: 50px;
|
|
font-size: 50px;
|
|
|
- color: #fff;
|
|
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ margin-top: 4px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .user-bottom {
|
|
|
|
|
+ @include disFlex(center, space-around);
|
|
|
|
|
+ // padding-bottom: 40px;
|
|
|
|
|
+ .info-list-name {
|
|
|
|
|
+ color: #BFD4FF;
|
|
|
|
|
+ }
|
|
|
|
|
+ .info-list-value {
|
|
|
|
|
+ font-size: 36px;
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ margin-top: 4px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|