Commit 826fb8d5 by 前端

Merge branch 'v3.17.0' into 'master'

V3.17.0

See merge request !18
2 parents 4fe41725 7a7e3343
......@@ -1894,51 +1894,6 @@
"integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
"dev": true
},
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"optional": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"optional": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"optional": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"ssri": {
"version": "8.0.1",
"resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz",
......@@ -1947,28 +1902,6 @@
"requires": {
"minipass": "^3.1.1"
}
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
},
"vue-loader-v16": {
"version": "npm:vue-loader@16.8.3",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz",
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
}
}
}
},
......@@ -13530,6 +13463,75 @@
}
}
},
"vue-loader-v16": {
"version": "npm:vue-loader@16.8.3",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz",
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
},
"dependencies": {
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"optional": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"optional": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"optional": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
}
}
},
"vue-quill-editor": {
"version": "3.0.6",
"resolved": "https://registry.npmmirror.com/vue-quill-editor/-/vue-quill-editor-3.0.6.tgz",
......
......@@ -109,6 +109,56 @@ const exportExchangCodeApi = params => {
})
}
const gethwOrderlist = params => {
params.method = `scrm.api.equity.hw.order.page`
return http({
data: params,
sign: true
})
}
const exportHWOrderList = params => {
params.method = `scrm.api.equity.hw.order.export`
return http({
data: params,
sign: true,
returnAll: true
})
}
const gethwBrandList = params => {
params.method = `scrm.api.equity.hw.order.getAllBrand`
return http({
data: params,
sign: true
})
}
const editHwActiveDayApi= params => {
params.method = `scrm.api.equity.hw.order.updateLimitedTimeActivity`
return http({
data: params,
sign: true
})
}
const getHwActiveDayApi= params => {
params.method = `scrm.api.equity.hw.order.getLimitedTimeActivity`
return http({
data: params,
sign: true
})
}
const syncHwDataApi= params => {
params.method = `scrm.api.equity.hw.order.sync`
return http({
data: params,
sign: true
})
}
export default {
getEquityCardList,
newEquityCard,
......@@ -123,5 +173,11 @@ export default {
getQrUrl,
getcardRecordList,
exportcardRecordList,
exportExchangCodeApi
exportExchangCodeApi,
gethwOrderlist,
exportHWOrderList,
gethwBrandList,
editHwActiveDayApi,
getHwActiveDayApi,
syncHwDataApi
}
<template>
<el-input ref="input" :value="value" v-bind="$attrs" v-on="{...$listeners}" @blur="blurFn"></el-input>
</template>
<script>
export default {
name: 'FormatInput',
props: ['value','precise','intDigit','maxVal','minVal'],
data() {
return {
}
},
watch:{
value:{
handler(nVal, oVal){
this.inputFn(nVal)
},
deep: true
}
},
mounted(){
},
methods:{
inputFn(e){
e = e || e==0 ? String(e) : ''
this.intDigit = this.intDigit || 6
this.precise = this.precise || this.precise==0 || this.precise=='0' ? this.precise : 2
let value = e
if(this.maxVal && +this.maxVal<= +e){
value = this.maxVal //加等号是因为 '500' == '500.' 导致多了点
}else{
const intDigitReg = this.intDigit == -1 ? `(^\\d+)(\\.\\d+)?` : `(^\\d{${this.intDigit}})\\d+(\\.\\d+)?`
value = e.replace(/^0\d/g, '0').replace(/[^\d.]/g, '').replace(/^\./g, '').replace(new RegExp(intDigitReg,'g'), '$1').replace('.', '$#$')
.replace(/\./g, '').replace('$#$', '.').replace(new RegExp(`^(-)*(\\d+)\\.(\\d{${this.precise}}).*$`), this.intDigit == -1 ? '$1$2' : '$1$2.$3')
}
this.$emit('input', value)
},
blurFn(e){
let value = e.target.value
console.log(+this.minVal>=value)
if(this.minVal && +this.minVal>=value) value = this.minVal+''
if(value && value.charAt(value.length-1)=='.') value = value.substr(0 ,value.length-1)
this.$emit('input', value)
}
}
}
</script>
<style lang="scss" scoped>
</style>
\ No newline at end of file
......@@ -10,6 +10,7 @@
import Vue from 'vue'
// 导入权限按钮
import _button from '@/components/glsx-button/index'
Vue.component('glsx-button', _button)
Vue.component('d2-table', () =>
import ('./d2-table/index.vue'))
......@@ -21,4 +22,6 @@ Vue.component('d2-table', () =>
import ('./glsx-dialog/index.vue'))
Vue.component('glsx-combi-form', () =>
import ('./glsx-combi-form/index.vue'))
Vue.component('FormatInput', () =>
import ('./FormatInput/index.vue'))
......@@ -8,11 +8,10 @@
*/
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// let request = require('@/http/request.js')
import { utils } from 'glsx-common'
import { Http } from 'glsx-common'
let cfg = require('./conf.js')
export const fetchConfig = function(isEnv = true) {
let params = { moduleName: 'equity', mockUrl: 'https://oss-config.dev.glsx.com.cn/mock/616e90b11072f92988f05a09/equity/config',env:'test', httpOptions: { Headers: { refererurl: location.href }, request: { timeout: 30000 } } }
return utils.getConfig(params)
return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=equity')
// return new Http().get('https://oss-config.dev.glsx.com.cn/mock/616e90b11072f92988f05a09/equity/config')
// return new Http().get('https://oss-config.dev.glsx.com.cn/mock/616e90b11072f92988f05a09/equity/config')
//return window.fetch('https://', {}).then(res => res.json())
......
......@@ -40,6 +40,13 @@ const staticRoutes = Object.freeze([
meta: {}
},
{
//加油订单
name: 'foodOrder',
path: '/foodOrder/index',
component: resolve => require([`@/views/foodOrder/index.vue`], resolve),
meta: {}
},
{
//商品管理
name: 'Goods',
path: '/goods/index',
......
<template>
<div class="equity-wrap">
<div class="active-wrap">
<span class="title">非会员限时活动/天:</span>
<FormatInput :intDigit="2" ref="dayRef" :precise="0" :maxVal="30" :minVal="1" :disabled="!isEdit" class="day-input" size="small" v-model="limitedDay"></FormatInput>
<!-- <el-input ref="dayRef" v-model="limitedDay"></el-input> -->
<span class="edit" @click="editDay">{{isEdit? '完成' : '编辑'}}</span>
<span class="date" v-if="residueDay>0">剩余<span class="num">{{residueDay}}</span>天</span>
<span class="date" v-else>已结束</span>
</div>
<div class="equity-wrap contain">
<GLCombiForm :rowNumber="1" ref="showSearch" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="operate_wrap">
<span class="table_title"></span>
<div class="operate_btn">
<el-button class="export_btn" type="primary" size="small" @click="syncDataFn">同步数据</el-button>
<el-button class="export_btn" size="small" @click="handleExport">导出</el-button>
</div>
</div>
<GLTable ref="table" :noDataImg="url" :searchForm="searchFormTable" :tableParams="tableParams" :getListApi="tableParams.getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<div slot="brandSlot" slot-scope="scope">
<template v-if="scope.scope.productInfo && scope.scope.productInfo.length > 1">
<span>{{ filterData(scope.scope, 'price').slice(0, 1).join('、') }}</span>
<el-popover
placement="top"
width="fit-content"
trigger="hover">
<div v-for="(item,index) in filterData(scope.scope, 'price')" :key="index">
{{ item }}
</div>
<span class="more-info" slot="reference">...[{{ scope.scope.productInfo.length }}]</span>
</el-popover>
</template>
<template v-else>
<span v-if="!scope.scope.productInfo || !scope.scope.productInfo.length">--</span>
<span v-else>{{ filterData(scope.scope, 'price').join('、') }}</span>
</template>
</div>
<div slot="operatSlot" slot-scope="scope">
<el-button type="text" @click="openDetailDialog(scope.scope)">详情</el-button>
</div>
</GLTable>
</div>
<GLDialog bigTitle="订单详情"
mode="big"
:visible.sync="dialogVisible"
:before-close="handleClose"
:close-on-click-modal="false"
@onOk="handleConfirm"
@onCancel="handleClose">
<div class="detail-wrap">
<span class="title">用户信息</span>
<div>
<div class="info" v-for="(item, index) in userInfoList" :key="index">
<label class="label" for="">{{item.label}}:</label>
<span class="content">{{curDetailInfo[item.key] || '--'}}</span>
</div>
</div>
</div>
<div class="detail-wrap">
<span class="title">订单信息</span>
<div>
<div class="info" v-for="(item, index) in orderInfoList" :key="index">
<label class="label" for="">{{item.label}}:</label>
<span class="content">{{curDetailInfo[item.key] || '--'}}</span>
</div>
<div>
<!-- <label class="label" for="">商品信息:</label> -->
<div class="info">
<label class="label" for="">商品信息:</label>
<span class="content">合计/元:<span style="color: #EB4E4E;">{{curDetailInfo.allPrice || 0}}</span></span>
</div>
<table class="info-table">
<tr class="title-td">
<td>商品名称</td>
<td>单价/元</td>
<td>数量/份</td>
<td>小计/元</td>
</tr>
<tr v-for="(item,index) in (curDetailInfo.productInfo || [])" :key="index">
<td>{{ item.productName || '--'}}</td>
<td>{{ item.price || '0'}}</td>
<td>{{ item.amount || '--'}}</td>
<td>{{ calcPrice(item.price, item.amount) || '0' }}</td>
</tr>
</table>
</div>
</div>
</div>
<div class="detail-wrap">
<span class="title">餐厅信息</span>
<div>
<div class="info" v-for="(item, index) in shopInfoList" :key="index">
<label class="label" for="">{{item.label}}:</label>
<span class="content">{{curDetailInfo[item.key] || '--'}}</span>
</div>
</div>
</div>
</GLDialog>
</div>
</template>
<script type="text/ecmascript-6">
const userInfoList = [
{
label: '微信昵称',
key: 'accountName'
},
{
label: '手机号',
key: 'mobile'
},
{
label: '取餐手机号',
key: 'takePhoneNumber'
}
]
const orderInfoList = [
{
label: '订单状态',
key: 'status'
},
{
label: '订单编号',
key: 'orderNo'
},
{
label: '下单时间',
key: 'orderTime'
},
{
label: '品牌',
key: 'brandName'
},
{
label: '订单金额',
key: 'settlePrice'
},
{
label: '返利总额',
key: 'rebate'
}
]
const shopInfoList = [
{
label: '餐厅地址',
key: 'restaurantAddress'
}
]
import url from '@/assets/empty.png'
export default {
name: '',
// mixins: [searchMixin],
data() {
return {
limitedDay: '',
residueDay: '',
isEdit: false,
curDetailInfo: {},
userInfoList,
orderInfoList,
shopInfoList,
url: url,
size: 'small',
dialogVisible: false,
pickerOptions: {
disabledDate(time) {
return time.getTime() > Date.now() || time.getTime() < new Date('2017-12-31').getTime()
}
},
brandList: [],
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
searchForm: {
// orderNo: '',
// mobile: '',
// daterange: '',
// brand: ''
},
searchFormData: [
{
label: '用户手机号',
name: 'mobile',
type: 'input',
isClear: true
},
{
label: '品牌',
name: 'brand',
type: 'select',
optionList: [],
optionId: 'id',
optionLabel: 'name',
isClear: true
},
{
label: '订单编号',
name: 'orderNo',
type: 'input',
isClear: true
},
{
label: '下单时间',
name: 'daterange',
type: 'datePicker',
valueFormat: 'yyyy-MM-dd',
isClear: true,
customPickerOptions: {
disabledDate(time) {
return time.getTime() > Date.now() || time.getTime() < new Date('2017-12-31').getTime()
}
}
}
],
searchFormTable: {},
tableParams: {
listName: 'list',
getListApi: this.$apis.equityApi.gethwOrderlist,
tableColumns: [
{
label: '微信昵称',
prop: 'accountName',
width: 150
},
{
label: '手机号',
prop: 'mobile',
},
{
label: '品牌',
prop: 'brandName'
},
{
label: '商品信息',
addHtml: 'brandSlot'
},
{
label: '订单金额/元',
prop: 'settlePrice',
width: 150
},
{
label: '返利总金额/元',
prop: 'rebate',
width: 150,
},
{
label: '订单状态',
prop: 'status',
width: 120,
},
{
label: '订单编号',
prop: 'orderNo',
width: 200,
},
{
label: '下单时间',
prop: 'orderStatusName',
width: 220,
formatter: cell => {
return cell.orderTime ? this.dateFormat(cell.orderTime, 'YYYY-MM-DD HH:mm:ss') : '--'
}
},
{
label: '操作',
width: 120,
addHtml: 'operatSlot'
}
]
}
}
},
created() {
this.getBrandListFn()
this.getActiveDay()
},
mounted() {},
methods: {
calcPrice(price, amount){
return Number((price * amount).toFixed(2))
},
editDay(){
if(this.isEdit){
this.activeDayBlur()
}else{
this.isEdit=true
this.$nextTick(()=>{
this.$refs?.dayRef?.$refs?.input?.focus()
})
}
},
openDetailDialog(row){
this.dialogVisible = true
let allPrice = row.productInfo?.reduce((prev,cur)=>{
let price = cur.price ? +cur.price : 0
let curPrice = Number((prev + Number((price * cur.amount).toFixed(2))).toFixed(2))
return curPrice
}, 0) || 0
row.allPrice = allPrice
row.orderTime = this.dateFormat(row.orderTime, 'YYYY-MM-DD HH:mm:ss')
this.curDetailInfo = row || {}
},
handleClose(){
this.dialogVisible = false
},
handleConfirm(){
this.handleClose()
},
activeDayBlur(e){
const MAX_DAY = 30
this.$confirm('确认修改活动时长?', '提示', {
type: 'warning'
}).then((resp) => {
if(confirm){
if(+this.limitedDay>MAX_DAY) return this.$message.error(`限时活动时长最大为${MAX_DAY}天`)
this.$apis.equityApi.editHwActiveDayApi({limitedDay: this.limitedDay}).then(res => {
if(res){
this.$message.success(`操作成功`)
}
}).finally(end =>{
this.getActiveDay()
})
}
}).catch(err => {
setTimeout(()=>{
this.getActiveDay()
}, 500)
}).finally(end =>{
this.isEdit= false
})
},
getActiveDay(){
this.$apis.equityApi.getHwActiveDayApi({}).then(res => {
if(res){
this.limitedDay = res.limitedDay
let y = new Date().getFullYear();
let m = new Date().getMonth()+1;
let d = new Date().getDate();
let curDayTime = new Date(`${y}/${m}/${d}`).getTime()
let updateTimeArr = res.updateTime?.split(' ')
let updateDayTime = updateTimeArr?.length ? new Date(updateTimeArr[0]?.replace('-','/')).getTime() : ''
if(!updateTimeArr?.length) return;
let days = parseInt(parseInt(curDayTime - updateDayTime) / 86400 / 1000)
this.residueDay = res.limitedDay - (days < 0 ? 0 : days)
}
})
},
getBrandListFn(){
this.$apis.equityApi.gethwBrandList({}).then(res => {
if(res?.length) {
let brandList = []
res.forEach((item,index) => {
brandList.push({name: item, id: item})
});
this.brandList = brandList
const _target = this.searchFormData.find(item => item.name == 'brand')
if(_target) _target.optionList = [{name: '全部', id: ''}, ...brandList]
}
})
},
filterData({productInfo: list}, type) {
return list?.map(item => {
return `${item.productName || '--'}:${item.amount || '0'}`
}) || []
},
formatParams() {
var params = JSON.parse(JSON.stringify(this.searchForm))
if(params.daterange?.length){
params.startTime = params.daterange?.length ? this.searchForm.daterange[0] + ' 00:00:00' : ''
params.endTime = params.daterange?.length ? this.searchForm.daterange[1] + ' 23:59:59': ''
}else{
delete params.startTime
delete params.endTime
}
delete params.daterange
return params
},
handleExport() {
var params = this.formatParams()
this.$apis.equityApi.exportHWOrderList(params).then(res => {
if(res?.data){
let tempaa = this.getExplorer()
if (tempaa == 'QQ') {
window.open(res.data)
} else {
let iframe = document.createElement('iframe')
iframe.style.display = 'none'
iframe.src = res.data
document.body.appendChild(iframe)
}
}
})
},
syncDataFn(){
const today = new Date()
const year = today.getFullYear()
let month = today.getMonth() + 1
month = month < 10 ? '0'+ month : month
let day = today.getDate()
day = day < 10 ? '0'+ day : day
const params = {
startTime: `${year}-${month}-${day} 00:00:00`,
endTime: `${year}-${month}-${day} 23:59:59`
}
this.$apis.equityApi.syncHwDataApi(params).then(res=>{
if(res){
this.handleSearch()
this.$message.success(`同步成功`)
}
})
},
beforeSearchFn() {
return new Promise((resolve, reject) => {
this.searchFormTable = this.formatParams()
resolve()
})
},
setTableFinishFun() {
// 接收到的数据为空
if (!this.$refs.table.data.length) {
this.$refs.table.setTableHeightFun()
}
},
handleReset() {
this.searchForm = {
orderNo: '',
mobile: '',
daterange: '',
brand: ''
},
this.handleSearch()
},
handleSearch() {
this.$refs.table.refreshTable()
}
}
}
</script>
<style lang="scss" scoped>
.active-wrap{
box-sizing: border-box;
background-color: #fff;
width: 100%;
height: 52px;
display: flex;
align-items: center;
padding: 0 20px;
font-size: 14px;
color: #333333;
span{
white-space: nowrap;
}
.title{
display: inline-block;
width: 154px;
text-align: right;
}
.day-input{
width: 200px;
}
.edit{
font-weight: 400;
color: #5850FF;
margin: 0 13px 0 8px;
cursor: pointer;
}
.date{
color: #333333;
}
.num{
color: #EB4E4E;
}
}
.more-info {
white-space: nowrap;
color: #5850FF;
cursor: pointer;
}
.equity-wrap .contain {
margin-top: 20px;
}
.detail-wrap{
background: #F9F9F9;
padding: 16px 20px;
margin-top: 16px;
&:first-child{
margin-top: 0;
}
.title{
height: 22px;
display: inline-block;
font-weight: 500;
font-size: 16px;
color: #333333;
}
.info{
height: 20px;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 14px;
line-height: 20px;
display: inline-block;
margin: 10px 0;
.label{
display: inline-block;
width: 154px;
color: #666666;
text-align: right;
}
.content{
display: inline-block;
color: #333333;
}
}
}
.info-table{
width: 591px;
background-color: #fff;
margin-left: 154px;
.title-td{
background: #F4F6FC;
}
tr, td{
border: 1px solid #E8E8EA;
height: 40px;
line-height: 40px;
text-align: center;
}
}
</style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!