Commit 89e1ed6a by cwq0219

样式

1 parent de504732
...@@ -177,6 +177,10 @@ html { ...@@ -177,6 +177,10 @@ html {
margin-top: 20px; margin-top: 20px;
} }
.marketing .m-b-60 {
margin-bottom: 60px;
}
.marketing .m-r-20 { .marketing .m-r-20 {
margin-right: 20px; margin-right: 20px;
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="edit-classify marketing p-t-20 edit-box"> <div class="edit-classify marketing p-t-20 edit-box">
<div class="container edit-container"> <div class="container edit-container">
<p class="edit-title">{{ title }}</p> <p class="edit-title">{{ title }}</p>
<glsx-combi-form class="edit-form-container" ref="editFormRef" labelWidth="140px" defaultWidth="320px" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule"> <glsx-combi-form class="edit-form-container m-r-20" ref="editFormRef" labelWidth="140px" defaultWidth="320px" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule">
<div slot="selectProBtn" slot-scope="scope" class="select-pro"> <div slot="selectProBtn" slot-scope="scope" class="select-pro">
<el-button type="primary" @click="handleMutiProClose(scope)">{{ editForm.goodsRefList.length ? '更换' : '请选择' }}</el-button> <el-button type="primary" @click="handleMutiProClose(scope)">{{ editForm.goodsRefList.length ? '更换' : '请选择' }}</el-button>
</div> </div>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<div class="home-set-form flex-grow"> <div class="home-set-form flex-grow">
<div v-for="(item, index) in externalFormList" :key="index"> <div v-for="(item, index) in externalFormList" :key="index">
<p class="edit-title">{{ item.title }}</p> <p class="edit-title">{{ item.title }}</p>
<glsx-combi-form class="edit-form-container p-l-40" ref="editFormRef" :labelWidth="labelWidth" defaultWidth="320px" :isBlock="true" :formRef="item.editChildRef" :formObj="editForm" :formData="item.editFormData" :formRules="item.editRule"> <glsx-combi-form class="edit-form-container p-l-40 m-b-60" ref="editFormRef" :labelWidth="labelWidth" defaultWidth="320px" :isBlock="true" :formRef="item.editChildRef" :formObj="editForm" :formData="item.editFormData" :formRules="item.editRule">
<div slot="merchantQrcode" slot-scope="scope" :style="{ 'margin-left': labelWidth, width: '120px', 'text-align': 'center' }"> <div slot="merchantQrcode" slot-scope="scope" :style="{ 'margin-left': labelWidth, width: '120px', 'text-align': 'center' }">
<p> <p>
<img class="img-120" :src="editForm[scope.scope.name]" /> <img class="img-120" :src="editForm[scope.scope.name]" />
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="edit-share marketing edit-box"> <div class="edit-share marketing edit-box">
<div class="container edit-container"> <div class="container edit-container">
<p class="edit-title">{{ title }}</p> <p class="edit-title">{{ title }}</p>
<glsx-combi-form class="edit-form-container" ref="editFormRef" labelWidth="140px" defaultWidth="320px" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule"> <glsx-combi-form class="edit-form-container m-r-20" ref="editFormRef" labelWidth="140px" defaultWidth="320px" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule">
<template slot="selectPro" slot-scope="scope"> <template slot="selectPro" slot-scope="scope">
<el-button type="primary" @click="handleRelateProClose(scope)">{{ editForm.goodsId ? '更换' : '请选择' }}</el-button> <el-button type="primary" @click="handleRelateProClose(scope)">{{ editForm.goodsId ? '更换' : '请选择' }}</el-button>
<div class="m-t-10" v-show="editForm.goodsId"> <div class="m-t-10" v-show="editForm.goodsId">
......
<!-- 编辑商品 --> <!-- 编辑商品 -->
<template> <template>
<div class="edit-pro marketing p-t-20"> <div class="edit-pro marketing p-t-20 edit-box">
<div class="container edit-container"> <div class="container edit-container">
<p class="edit-title">{{ title }}</p> <!-- <p class="edit-title">{{ title }}</p> -->
<div class="flex m-t-20"> <div class="flex">
<div class="wechat-container">
<div class="wechat-box">
<img class="w-100-per" src="./images/pro-header.png" />
<!-- <div class="home-banner wechant-conf-box home-bg" style="border: none;margin-top: 0;">
<ul ng-show="wechatImgList.length != 0" class="home-banner-box wechant-config" :style="{'width':wechatImgList.length * 100 + '%'}">
<li ng-repeat="item in wechatImgList" ng-show="item.content">
<video ng-show="item.resType == 3" class="videoUpload" ng-src="{{trustUrl(formData.goodsVideo)}}" controls="controls"></video>
<img ng-show="item.resType == 1" ng-src="{{item.content}}" />
</li>
</ul>
<img ng-show="(wechatImgList.length == 1 && !wechatImgList[0].content) || wechatImgList.length == 0 || !wechatImgList" style="width: 100%;height: 100%;" src="images/upload.png" alt="">
<ul class="indicator-dots-box align-center" ng-show="wechatImgList[0].length != 0 && wechatImgList.length != 1">
<li class="indicator-dots-box-radius" ng-show="item.content" ng-class="{'active':$index == 0}" ng-click="bannerClick($index, 0)" ng-repeat="item in wechatImgList"></li>
</ul>
</div> -->
<!-- <div class="wechat-box">
<span ng-show="!specificationDetailList.length">
<span class="price">¥{{formData.retailPrice}}</span>
</span>
<span ng-show="specificationDetailList.length">
<span class="price">¥{{minRetailPrice}}</span>
<span ng-show="specificationDetailList.length > 1">起</span>
</span>
<span class="old" ng-show="formData.originalPrice">{{formData.originalPrice}}</span>
<p class="good-name txt-ellipsis">{{formData.goodsName}}</p>
<p>
<span class="txt-tips">剩余:</span>
<span class="txt-tips" style="margin-left: 20px;">销售:0</span>
</p>
</div>
<div class="wechat-box">
<div class="line right-arrow" ng-if="nameToValSpecsList.length">
<span class="line-label">已选</span>
<span class="line-txt">{{nameToValSpecsList[0].specificationData}}</span>
</div>
<div class="line right-arrow" style="display: flex;">
<span class="line-label">配送</span>
<div>
<div style="height: 25px; line-height: 30px;" class="line-txt">填写地址</div>
<div style="height: 25px; line-height: 18px;" class="line-txt">支付后,预计48小时内发货</div>
</div>
</div>
<div class="line">
<span class="line-label">运费</span>
<span ng-show="formData.deliveryType == 1" class="line-txt">免运费</span>
<span ng-show="formData.deliveryType == 2" class="line-txt">{{formData.expressFee}}元</span>
</div>
</div>
<div class="wechat-box" style="margin-bottom: 0;">
<div style="word-wrap: break-word;">{{formData.describe}}</div>
<div ng-repeat="item in textAndput">
<img ng-show="item.content" ng-src="{{item.content}}">
</div>
</div> -->
</div>
</div>
<div class="home-set-form flex-grow"> <div class="home-set-form flex-grow">
<div v-for="(item, index) in externalFormList" :key="index"> <div v-for="(item, index) in externalFormList" :key="index">
<p class="edit-sub-title">{{ item.title }}</p> <p class="edit-title">{{ item.title }}</p>
<glsx-combi-form class="edit-form-container" ref="editFormRef" :labelWidth="labelWidth" defaultWidth="320px" :isBlock="true" :formRef="item.editChildRef" :formObj="editForm" :formData="item.editFormData" :formRules="item.editRule"> <glsx-combi-form class="edit-form-container p-l-40 m-b-60" ref="editFormRef" :labelWidth="labelWidth" defaultWidth="320px" :isBlock="true" :formRef="item.editChildRef" :formObj="editForm" :formData="item.editFormData" :formRules="item.editRule">
<template slot="describeBtn"> <template slot="describeBtn">
<el-button :disabled="isDisabled" type="primary" @click="handleDescribeImgAdd">添加图片</el-button> <el-button :disabled="isDisabled" type="primary" @click="handleDescribeImgAdd">添加图片</el-button>
</template> </template>
...@@ -167,7 +111,7 @@ ...@@ -167,7 +111,7 @@
<div slot="selectMerchant" slot-scope="scope" class="select-merchant"> <div slot="selectMerchant" slot-scope="scope" class="select-merchant">
<el-button :disabled="isDisabled" type="primary" @click="handleRelateStoreClose(scope)">{{ editForm.supplyMerchantList.length ? '更换' : '请选择' }}</el-button> <el-button :disabled="isDisabled" type="primary" @click="handleRelateStoreClose(scope)">{{ editForm.supplyMerchantList.length ? '更换' : '请选择' }}</el-button>
</div> </div>
<div slot="merchantTable" class="select-merchant"> <div slot="merchantTable" class="select-merchant" :style="{ 'margin-left': labelWidth, width: `calc(100% - ${labelWidth} )` }">
<GLTable v-show="editForm.supplyMerchantList.length" :hasPage="false" :tableParams="tableParams" :tableData="editForm.supplyMerchantList"> <GLTable v-show="editForm.supplyMerchantList.length" :hasPage="false" :tableParams="tableParams" :tableData="editForm.supplyMerchantList">
<span slot="auth-button" slot-scope="scope"> <span slot="auth-button" slot-scope="scope">
<el-button :disabled="isDisabled" type="text" @click="handleMerchantDelete(scope)">删除</el-button> <el-button :disabled="isDisabled" type="text" @click="handleMerchantDelete(scope)">删除</el-button>
...@@ -177,6 +121,62 @@ ...@@ -177,6 +121,62 @@
</glsx-combi-form> </glsx-combi-form>
</div> </div>
</div> </div>
<div class="wechat-container m-r-20">
<div class="wechat-box">
<img class="w-100-per" src="./images/pro-header.png" />
<!-- <div class="home-banner wechant-conf-box home-bg" style="border: none;margin-top: 0;">
<ul ng-show="wechatImgList.length != 0" class="home-banner-box wechant-config" :style="{'width':wechatImgList.length * 100 + '%'}">
<li ng-repeat="item in wechatImgList" ng-show="item.content">
<video ng-show="item.resType == 3" class="videoUpload" ng-src="{{trustUrl(formData.goodsVideo)}}" controls="controls"></video>
<img ng-show="item.resType == 1" ng-src="{{item.content}}" />
</li>
</ul>
<img ng-show="(wechatImgList.length == 1 && !wechatImgList[0].content) || wechatImgList.length == 0 || !wechatImgList" style="width: 100%;height: 100%;" src="images/upload.png" alt="">
<ul class="indicator-dots-box align-center" ng-show="wechatImgList[0].length != 0 && wechatImgList.length != 1">
<li class="indicator-dots-box-radius" ng-show="item.content" ng-class="{'active':$index == 0}" ng-click="bannerClick($index, 0)" ng-repeat="item in wechatImgList"></li>
</ul>
</div> -->
<!-- <div class="wechat-box">
<span ng-show="!specificationDetailList.length">
<span class="price">¥{{formData.retailPrice}}</span>
</span>
<span ng-show="specificationDetailList.length">
<span class="price">¥{{minRetailPrice}}</span>
<span ng-show="specificationDetailList.length > 1">起</span>
</span>
<span class="old" ng-show="formData.originalPrice">{{formData.originalPrice}}</span>
<p class="good-name txt-ellipsis">{{formData.goodsName}}</p>
<p>
<span class="txt-tips">剩余:</span>
<span class="txt-tips" style="margin-left: 20px;">销售:0</span>
</p>
</div>
<div class="wechat-box">
<div class="line right-arrow" ng-if="nameToValSpecsList.length">
<span class="line-label">已选</span>
<span class="line-txt">{{nameToValSpecsList[0].specificationData}}</span>
</div>
<div class="line right-arrow" style="display: flex;">
<span class="line-label">配送</span>
<div>
<div style="height: 25px; line-height: 30px;" class="line-txt">填写地址</div>
<div style="height: 25px; line-height: 18px;" class="line-txt">支付后,预计48小时内发货</div>
</div>
</div>
<div class="line">
<span class="line-label">运费</span>
<span ng-show="formData.deliveryType == 1" class="line-txt">免运费</span>
<span ng-show="formData.deliveryType == 2" class="line-txt">{{formData.expressFee}}元</span>
</div>
</div>
<div class="wechat-box" style="margin-bottom: 0;">
<div style="word-wrap: break-word;">{{formData.describe}}</div>
<div ng-repeat="item in textAndput">
<img ng-show="item.content" ng-src="{{item.content}}">
</div>
</div> -->
</div>
</div>
</div> </div>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!