Commit a237cbb5 by 王志慧

fixed

1 parent 8676bdb2
...@@ -3,13 +3,14 @@ ...@@ -3,13 +3,14 @@
<div class="header"> <div class="header">
<div class="step"> <div class="step">
<div class="baseinfo"> <div class="baseinfo">
<div :class="['circular', { circularAct: activePage == '1' }]">1</div> <div :class="['circular', { circularAct: activePage == '1' }]" v-if="activePage==1">1</div>
<div class="text">基本信息</div> <div :class="['circular', { circularTick: activePage == '2' }]" v-else>√</div>
<span class="text">基本信息</span>
</div> </div>
<div class="horizontalLine"></div> <div class="horizontalLine"></div>
<div class="baseinfo"> <div class="baseinfo">
<div :class="['circular', { circularAct: activePage == '2' }]">2</div> <div :class="['circular', { circularAct: activePage == '2' }]">2</div>
<div class="text">直播间配置</div> <span class="text">直播间配置</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -334,8 +335,6 @@ export default { ...@@ -334,8 +335,6 @@ export default {
const { configForm } = this, const { configForm } = this,
res = await this.$apis.redenvelope.getRedEnvelopeActivityDetail({ id }), res = await this.$apis.redenvelope.getRedEnvelopeActivityDetail({ id }),
merchantId = String(res.merchantId) merchantId = String(res.merchantId)
console.log(configForm)
this.configForm = { this.configForm = {
...configForm, ...configForm,
activityName: res.activityName, activityName: res.activityName,
...@@ -540,19 +539,24 @@ export default { ...@@ -540,19 +539,24 @@ export default {
width: 30%; width: 30%;
display: flex; display: flex;
align-items: center; align-items: center;
// min-width: ;
.horizontalLine { .horizontalLine {
height: 1px; height: 1px;
width: 30%; // width: 30%;
background: #c6c6c6; background: #c6c6c6;
margin: 0 15px; margin: 0 15px;
flex-basis: 30%;
} }
.baseinfo { .baseinfo {
display: flex; flex-basis: 20%;
// display: flex;
line-height: 32px; line-height: 32px;
white-space: nowrap;
.text { .text {
margin-left: 8px; margin-left: 8px;
font-size: 16px; font-size: 16px;
color: rgba(0, 0, 0, 0.85); color: rgba(0, 0, 0, 0.85);
white-space: nowrap;
} }
.circular { .circular {
width: 32px; width: 32px;
...@@ -562,12 +566,17 @@ export default { ...@@ -562,12 +566,17 @@ export default {
color: #c6c6c6; color: #c6c6c6;
text-align: center; text-align: center;
line-height: 32px; line-height: 32px;
display: inline-block;
} }
.circularAct { .circularAct {
background: #5850ff; background: #5850ff;
border: none; border: none;
color: #ffffff; color: #ffffff;
} }
.circularTick{
border: 1px solid #5850FF;
color:#5850FF;
}
} }
} }
} }
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
<script> <script>
export default { export default {
components: { components: {
FreeInnovate: () => import('./components/RedEnvelopeConfig/FreeAdd.vue'), FreeInnovate: () => import('./FreeAdd.vue'),
OffshoreProcurement: () => import('./components/RedEnvelopeConfig/OffAdd.vue') OffshoreProcurement: () => import('./OffAdd.vue')
}, },
data() { data() {
return { return {
......
...@@ -224,7 +224,7 @@ export default { ...@@ -224,7 +224,7 @@ export default {
// id: e.id || '' // id: e.id || ''
// } // }
this.$router.push({ this.$router.push({
path: `/redEnvelope/add/`, path: `/redEnvelope/components/RedEnvelopeConfig/add`,
query:{ query:{
id:e.id, id:e.id,
sourceType:e.sourceType sourceType:e.sourceType
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!