|
|
@@ -40,10 +40,10 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="footer">
|
|
|
- <view class="btn dis a-c j-c" @click="createAdShow=true">
|
|
|
+ <view class="btn dis a-c j-c" @click="ifPlatform=true">
|
|
|
<image src="/static/ad/createAd.png" mode="" style="width: 32rpx ; height: 32rpx;margin-right: 13rpx;">
|
|
|
</image>
|
|
|
- <text>创建广告</text>
|
|
|
+ <text>投广告</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<u-popup v-model="createAdShow" mode="center" width="580rpx" :closeable="true" border-radius="20">
|
|
|
@@ -106,18 +106,21 @@
|
|
|
</view>
|
|
|
</u-popup>
|
|
|
<my-date-picker ref="datePicker" @confirmPickDate="confirmPickDate" />
|
|
|
+ <AdServicePopup v-if="ifPlatform" @contact="onContactPlatform"/>
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
|
import myDatePicker from '@/components/date-picker.vue';
|
|
|
import uniNavBar from '@/components/uni-NavBar/uni-NavBar.vue'
|
|
|
+ import AdServicePopup from './popup_platform.vue'
|
|
|
+
|
|
|
import {
|
|
|
USER_INFO
|
|
|
} from '@/common/util/constants.js'
|
|
|
export default {
|
|
|
components: {
|
|
|
myDatePicker,
|
|
|
- uniNavBar
|
|
|
+ uniNavBar,AdServicePopup
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -196,21 +199,21 @@
|
|
|
label: "全部",
|
|
|
value: " ",
|
|
|
},
|
|
|
- {
|
|
|
- id: 1,
|
|
|
- label: "待审核",
|
|
|
- value: "0",
|
|
|
- },
|
|
|
- {
|
|
|
- id: 2,
|
|
|
- label: "审核通过",
|
|
|
- value: "1",
|
|
|
- },
|
|
|
- {
|
|
|
- id: 3,
|
|
|
- label: "审核驳回",
|
|
|
- value: "2",
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // id: 1,
|
|
|
+ // label: "待审核",
|
|
|
+ // value: "0",
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // id: 2,
|
|
|
+ // label: "审核通过",
|
|
|
+ // value: "1",
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // id: 3,
|
|
|
+ // label: "审核驳回",
|
|
|
+ // value: "2",
|
|
|
+ // },
|
|
|
{
|
|
|
id: 4,
|
|
|
label: "未开始",
|
|
|
@@ -237,7 +240,7 @@
|
|
|
dataList: [], //广告列表
|
|
|
userInfo: {},
|
|
|
adSlotList: [], //广告位列表
|
|
|
-
|
|
|
+ ifPlatform:false
|
|
|
}
|
|
|
},
|
|
|
onShow() {
|
|
|
@@ -248,6 +251,9 @@
|
|
|
this.userInfo = uni.getStorageSync(USER_INFO);
|
|
|
},
|
|
|
methods: {
|
|
|
+ onContactPlatform(){
|
|
|
+ this.ifPlatform = false
|
|
|
+ },
|
|
|
adSlotOptions(item) {
|
|
|
this.selectedOptions.positionId = item.id;
|
|
|
},
|