Commit d7d2c0b7 by 胡悦

提交权益喜报

1 parent 6d82a1e2
......@@ -11,13 +11,13 @@
.header-time {
position: absolute;
right: 0;
top: 30px;
padding: 3px 16px;
height: 22px;
line-height: 22px;
top: 60px;
padding: 6px 32px;
height: 44px;
line-height: 44px;
background-image: linear-gradient(90deg, #F95A2E 0%, #F97E2E 100%);
border-radius: 12px 0 0 12px;
font-size: 11px;
border-radius: 24px 0 0 24px;
font-size: 22px;
color: #FFFFFF;
}
.service-name {
......
......@@ -28,7 +28,7 @@
width: calc(100% - 34px);
padding: 20px 17px;
border-radius: 10px;
background: linear-gradient(-180deg, rgba(255,249,235,100), rgba(255,240,196,100));
background: #FFF9EA;
.title {
width: 100%;
text-align: center;
......@@ -43,7 +43,7 @@
.order-list {
margin: 20px;
border-radius: 10px 10px 10px 10px;
background: linear-gradient(0deg, #ffe9c8ff, #fff3e0ff);
background: #FFEFDB;
padding: 40px;
.order-item {
display: flex;
......@@ -77,5 +77,46 @@
}
}
}
.goods {
margin: 20px;
&-title {
background: #FFEFDB;
border-radius: 10px 10px 0 0;
font-size: 22px;
color: #3A3A3A;
line-height: 32px;
padding: 10px 24px;
}
&-list {
padding: 24px 40px;
font-size: 22px;
color: #3A3A3A;
line-height: 32px;
background: #FFE6CC;
border-radius: 0 0 10px 10px;
}
&-item {
display: flex;
justify-content: space-between;
margin-bottom: 12px;
&:last-child {
margin-bottom: 0;
}
}
&-name {
max-width: 361px;
}
&-price {
font-weight: 500;
font-size: 24px;
color: #F2383B;
font-weight: 600;
}
&-unit {
display: inline-block;
margin-left: 6px;
font-weight: normal;
}
}
}
}
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-10-10 15:26:23
* @LastEditors: huyue
* @LastEditTime: 2023-05-24 15:07:55
* @LastEditTime: 2023-08-08 17:54:26
-->
<template>
<div class="wrapper-good equity-box">
......@@ -71,6 +71,15 @@
<div class="order-value"><span>{{data.newInfo!.monthTurnover?.toLocaleString()}}</span><span class="order-unit">元</span></div>
</div>
</div>
<div class="goods">
<div class="goods-title">升级商品</div>
<div class="goods-list">
<div class="goods-item" v-for="(item, index) in data.newInfo!.goodsInfoDTOList" :key="index">
<div class="goods-name">{{ item.goodsName.toLocaleString() }}</div>
<div class="goods-price">{{ item.goodsPrice.toLocaleString() }}<span class="goods-unit">元</span></div>
</div>
</div>
</div>
</div>
</div>
<img class="icon-bottom" :src="getImageUrl('icon-bottom')" alt="" />
......@@ -82,6 +91,7 @@
import { reactive, onMounted, inject } from "vue";
import { djReq } from "../../utils/request";
import { useRoute } from "vue-router";
import common from "../../utils/common"
import { DataInfo, Params } from "./interface/goodNew";
const route = useRoute();
......@@ -90,7 +100,9 @@ const global: any = inject("global");
let query: Params = {};
const data = reactive<Partial<DataInfo>>({
newInfo: {},
newInfo: {
goodsInfoDTOList: []
},
});
const getInfo = async () => {
......
......@@ -31,4 +31,10 @@ export interface NewsData {
referrerWeChatAvatar?: string;
referrer?: string;
reportName?: string;
}
\ No newline at end of file
goodsInfoDTOList: GoodsInfo[];
}
interface GoodsInfo {
goodsName: string;
goodsPrice: number;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!