|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<view class="page">
|
|
|
<u-sticky :h5-nav-height="0" z-index="9099" :offset-top='0'>
|
|
|
- <uni-NavBar headerTitle="全屏广告详情" background="#fff" :isSlot="false"></uni-NavBar>
|
|
|
+ <uni-NavBar :headerTitle="`${headerTitle}详情`" background="#fff" :isSlot="false"></uni-NavBar>
|
|
|
<view class="status-message dis a-c " :style="{background:detailsInfo.styleCOlor.backcolor}">
|
|
|
<text>{{adTypeMap}}</text>
|
|
|
<view class="status"
|
|
|
@@ -215,6 +215,7 @@
|
|
|
selectedDays: [], //周期策略选中日期
|
|
|
adPricingModelList: [], //计费模式列表
|
|
|
adSlotPriceList: [], //广告位价格列表
|
|
|
+ headerTitle: "",
|
|
|
}
|
|
|
},
|
|
|
onShow() {
|
|
|
@@ -266,7 +267,13 @@
|
|
|
let list = this.detailsInfo.validTimeRangeValue.split(',');
|
|
|
this.timeSegmentStart = list[0];
|
|
|
this.timeSegmentEnd = list[1];
|
|
|
- console.log(this.detailsInfo);
|
|
|
+ const map = {
|
|
|
+ '0': '全屏广告',
|
|
|
+ '1': '弹窗广告',
|
|
|
+ '2': '轮播广告',
|
|
|
+ '3': '页面嵌入广告',
|
|
|
+ }
|
|
|
+ this.headerTitle = map[this.detailsInfo.type] || ''
|
|
|
},
|
|
|
methods: {
|
|
|
adEdit() {
|