Commit 55a42449 by chenwq

众筹样式;订单样式

1 parent a60bd7b8
...@@ -230,7 +230,6 @@ function setMinHeight(calssName = '.edit-container') { ...@@ -230,7 +230,6 @@ function setMinHeight(calssName = '.edit-container') {
let height = document.querySelector('.header-wrap').clientHeight + 110 + 'px' let height = document.querySelector('.header-wrap').clientHeight + 110 + 'px'
let minHeight = 'calc(100vh - ' + height + ')' let minHeight = 'calc(100vh - ' + height + ')'
document.querySelector(calssName).style.minHeight = minHeight document.querySelector(calssName).style.minHeight = minHeight
console.log(minHeight)
} }
export { limitPrice, getExplorer, exportFn, aToExport, downloadIamge, orderManageStatusList, afterSaleStatusList, orderSourceList, deliveryTypeList, statusList, serviceStatusList, memberTypeList, stateList, orderTypesList, orderStatusList, setMinHeight } export { limitPrice, getExplorer, exportFn, aToExport, downloadIamge, orderManageStatusList, afterSaleStatusList, orderSourceList, deliveryTypeList, statusList, serviceStatusList, memberTypeList, stateList, orderTypesList, orderStatusList, setMinHeight }
<!-- 订单详情 --> <!-- 订单详情 -->
<template> <template>
<div class="order-detail marketing edit-box"> <div class="order-detail marketing">
<div class="edit-box">
<div class="container m-b-20"> <div class="container m-b-20">
<p class="edit-title">订单信息</p> <p class="edit-title">订单信息</p>
<el-form label-width="100px" :inline="true"> <el-form label-width="100px" :inline="true">
...@@ -56,9 +57,10 @@ ...@@ -56,9 +57,10 @@
</el-form> </el-form>
</div> </div>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }">
<el-button type="default" @click="handleCancel">返回</el-button>
</div> </div>
<GLFooter>
<el-button @click="handleCancel" size="medium">取消</el-button>
</GLFooter>
</div> </div>
</template> </template>
...@@ -71,8 +73,6 @@ export default { ...@@ -71,8 +73,6 @@ export default {
return { return {
size: 'small', size: 'small',
title: '查看订单', title: '查看订单',
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
routeInfo: { routeInfo: {
orderCode: '' orderCode: ''
...@@ -201,8 +201,7 @@ export default { ...@@ -201,8 +201,7 @@ export default {
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.setMinHeight('.edit-box')
this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.routeInfo = this.$route.query this.routeInfo = this.$route.query
this.getInfo() this.getInfo()
}, },
......
...@@ -105,14 +105,15 @@ ...@@ -105,14 +105,15 @@
<div slot="activityBigImg" class="edit-tips m-t-8">建议尺寸750*1258</div> <div slot="activityBigImg" class="edit-tips m-t-8">建议尺寸750*1258</div>
<div slot="activityVideos" class="edit-tips m-t-8">最多上传6个视频</div> <div slot="activityVideos" class="edit-tips m-t-8">最多上传6个视频</div>
<div slot="posterImg" class="edit-tips m-t-8">建议尺寸640*1008</div> <div slot="posterImg" class="edit-tips m-t-8">建议尺寸640*1008</div>
<div class="form-describe flex-default" slot="formDescribe" v-for="(item, index) in formDescribeList" :key="index"> <div class="form-describe-box" slot="formDescribe">
<el-input class="describe-input" v-model="item.value" placeholder="请输入" maxlength="20"> <div v-for="(item, index) in formDescribeList" :key="index" class="form-describe flex-default">
<el-button v-show="index == formDescribeList.length - 1 && formDescribeList.length < describeNum" slot="suffix" :size="size" type="text" @click="handleDescribeAdd"> <el-input class="describe-input" v-model="item.value" placeholder="请输入" maxlength="20"></el-input>
<span class="describe-plus">+</span> <el-button class="describe-delete" v-show="!(index == 0 && formDescribeList.length == 1)" icon="el-icon-delete" type="text" @click="handleDescribeDelete(index)"></el-button>
</div>
<el-button class="describe-btn" v-show="formDescribeList.length < describeNum" :size="size" type="text" @click="handleDescribeAdd">
<img class="icon-add" src="@/assets/seckillActivity/icon-add.png" />
新增表单
</el-button> </el-button>
</el-input>
<el-button class="describe-delete" v-show="index != formDescribeList.length - 1 || index == describeNum - 1" icon="el-icon-delete" type="text" @click="handleDescribeDelete(index)"></el-button>
<!-- <el-button v-show="index == formDescribeList.length - 1 && formDescribeList.length < describeNum" :size="size" type="default" class="default-blue-btn el-icon-plus" @click="handleDescribeAdd">新增</el-button> -->
</div> </div>
</glsx-combi-form> </glsx-combi-form>
</div> </div>
...@@ -1356,10 +1357,22 @@ export default { ...@@ -1356,10 +1357,22 @@ export default {
padding: 20px 20px 0 20px; padding: 20px 20px 0 20px;
background: #f9f9f9; background: #f9f9f9;
} }
.edit-activity .form-describe-box {
width: 597px;
background: #f9f9f9;
}
.edit-activity .describe-btn {
color: #5850ff;
cursor: pointer;
padding: 0 0 16px 20px;
}
.edit-activity .form-describe-box .icon-add {
width: 20px;
height: 20px;
vertical-align: middle;
}
.edit-activity .form-describe { .edit-activity .form-describe {
width: 560px;
padding: 0 20px 20px; padding: 0 20px 20px;
background: #f9f9f9;
} }
.edit-activity .form-describe:first-child { .edit-activity .form-describe:first-child {
padding: 20px; padding: 20px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!