Commit fdad1457 by 无尘

fix: 修改海报预览

parent 74b024c2
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>分享有礼</title><link href=./static/css/app.61628aeec1fbc71223d4f79fb71b5393.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.33.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.29.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-card.2.0.14.js></script><script src=//web-1251519181.file.myqcloud.com/components/people.2.0.38.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/selector.1.1.91.js></script><script type=text/javascript src=./static/js/manifest.9ed7f68d9ec5d18ae9aa.js></script><script type=text/javascript src=./static/js/vendor.8455def81090347f10ce.js></script><script type=text/javascript src=./static/js/app.cd37bb64acc000bd2918.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>分享有礼</title><link href=./static/css/app.188669cb8a6e521f859c822f454d7065.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.33.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.29.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-card.2.0.14.js></script><script src=//web-1251519181.file.myqcloud.com/components/people.2.0.38.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/selector.1.1.91.js></script><script type=text/javascript src=./static/js/manifest.7e87a8553a9eab51c864.js></script><script type=text/javascript src=./static/js/vendor.b02712d05f24edc20c20.js></script><script type=text/javascript src=./static/js/app.1a0881bfab64e4bd501a.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([12],{"/w0s":function(e,t){},hGAT:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("Ch4/"),a=r("P9l9"),s={name:"share-index-leaflets",components:{},data:function(){return{canCreate:!0}},methods:{judgeCreate:function(){var e=this;Object(a.a)("/sharing-core-web/can-create",{}).then(function(t){var r=t.data;if(1==r.errorCode)return e.canCreate=r.result,!1;n.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.judgeCreate()}},c={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"share-index common-wrap"},[t("div",{staticClass:"right-content border-box"}),this._v(" "),t("vue-gic-footer")],1)},staticRenderFns:[]};var o=r("VU/8")(s,c,!1,function(e){r("/w0s")},"data-v-98e8c416",null);t.default=o.exports}});
\ No newline at end of file
webpackJsonp([12],{V1WY:function(t,e){},dStO:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("3Xzz"),r=a("P9l9"),n=a("Ch4/"),o={name:"invited-log",components:{navCrumb:i.a},data:function(){return{navpath:[{name:"分享有礼",path:"/shareIndex"},{name:"受邀人日志"}],invitedData:{headUrl:"",realName:""},tableData:[],currentPage:1,pageSize:20,total:0}},methods:{handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getInvitedData:function(){var t=this,e={activityId:t.$route.query.activityId,openId:t.$route.query.invitedId};Object(r.a)("/sharing-core-web/get-activity-invited",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.invitedData=a.result||{headUrl:"",realName:""},!1;n.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTableList:function(){var t=this,e={openId:t.$route.query.invitedId,activityId:t.$route.query.activityId};Object(r.a)("/sharing-core-web/list-activity-invited-trans",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result||[],!1;n.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getInvitedData(),this.getTableList()}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"invited-log common-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content border-box"},[a("div",{staticClass:"right-box border-box"},[a("div",{staticClass:"invited-data"},[a("div",{staticClass:"invited-data-img flex flex-align-center flex-pack-center"},[a("img",{attrs:{src:t.invitedData.headUrl,alt:""}})]),t._v(" "),a("div",{staticClass:"invited-data-name text-center font-14 color-606266"},[t._v("-"+t._s(t.invitedData.nickName)+"/"+t._s(t.invitedData.realName)+"-")])]),t._v(" "),a("div",{staticClass:"invited-log-table"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"操作时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"cell"},[a("div",[t._v(t._s(t._f("timeStampToYmd")(e.row.transTime)))]),t._v(" "),a("div",[t._v(t._s(t._f("timeStampToHms")(e.row.transTime)))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"转化进度","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.transName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.orderNo?"订单编号:":"")+t._s(e.row.orderNo||"--"))]}}])})],1)],1)])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var l=a("VU/8")(o,s,!1,function(t){a("V1WY")},"data-v-6d9595af",null);e.default=l.exports}});
\ No newline at end of file
webpackJsonp([13],{V1WY:function(t,e){},dStO:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("3Xzz"),r=a("P9l9"),n=a("Ch4/"),o={name:"invited-log",components:{navCrumb:i.a},data:function(){return{navpath:[{name:"分享有礼",path:"/shareIndex"},{name:"受邀人日志"}],invitedData:{headUrl:"",realName:""},tableData:[],currentPage:1,pageSize:20,total:0}},methods:{handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getInvitedData:function(){var t=this,e={activityId:t.$route.query.activityId,openId:t.$route.query.invitedId};Object(r.a)("/sharing-core-web/get-activity-invited",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.invitedData=a.result||{headUrl:"",realName:""},!1;n.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTableList:function(){var t=this,e={openId:t.$route.query.invitedId,activityId:t.$route.query.activityId};Object(r.a)("/sharing-core-web/list-activity-invited-trans",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result||[],!1;n.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getInvitedData(),this.getTableList()}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"invited-log common-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content border-box"},[a("div",{staticClass:"right-box border-box"},[a("div",{staticClass:"invited-data"},[a("div",{staticClass:"invited-data-img flex flex-align-center flex-pack-center"},[a("img",{attrs:{src:t.invitedData.headUrl,alt:""}})]),t._v(" "),a("div",{staticClass:"invited-data-name text-center font-14 color-606266"},[t._v("-"+t._s(t.invitedData.nickName)+"/"+t._s(t.invitedData.realName)+"-")])]),t._v(" "),a("div",{staticClass:"invited-log-table"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"操作时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"cell"},[a("div",[t._v(t._s(t._f("timeStampToYmd")(e.row.transTime)))]),t._v(" "),a("div",[t._v(t._s(t._f("timeStampToHms")(e.row.transTime)))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"转化进度","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.transName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.orderNo?"订单编号:":"")+t._s(e.row.orderNo||"--"))]}}])})],1)],1)])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var l=a("VU/8")(o,s,!1,function(t){a("V1WY")},"data-v-6d9595af",null);e.default=l.exports}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var f,i,u,d=0,b=[];d<r.length;d++)i=r[d],t[i]&&b.push(t[i][0]),t[i]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,a);b.length;)b.shift()();if(a)for(d=0;d<a.length;d++)u=o(o.s=a[d]);return u};var r={},t={15:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"e3ae64373bf17ee56853",1:"cd8911fae63b93bb26df",2:"d3152091f9dfe3b83cc0",3:"c2ad70fccad724d5ca55",4:"8bcfa0b5cbcb9317369e",5:"6292def4983145b5962d",6:"a7f8a076881c826bf057",7:"d2ca391d27760dce0507",8:"6278b7fbcae037415120",9:"b3295d4914390befbf99",10:"df35ee9de62c50cdc6eb",11:"d0725b11939656aef083",12:"7213ac9b1784cc20392d"}[e]+".js";var f=setTimeout(i,12e4);function i(){a.onerror=a.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=i,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var f,i,u,d=0,b=[];d<r.length;d++)i=r[d],t[i]&&b.push(t[i][0]),t[i]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,a);b.length;)b.shift()();if(a)for(d=0;d<a.length;d++)u=o(o.s=a[d]);return u};var r={},t={16:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"e3ae64373bf17ee56853",1:"cd8911fae63b93bb26df",2:"134d89d7bf2d3ca64055",3:"50e434bf5a182ae11752",4:"8bcfa0b5cbcb9317369e",5:"6292def4983145b5962d",6:"a7f8a076881c826bf057",7:"d2ca391d27760dce0507",8:"6278b7fbcae037415120",9:"b3295d4914390befbf99",10:"df35ee9de62c50cdc6eb",11:"d0725b11939656aef083",12:"2863cfd4f02c8f757706",13:"57d532e3a50a73b6f47b"}[e]+".js";var f=setTimeout(i,12e4);function i(){a.onerror=a.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=i,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -3,8 +3,8 @@
* @version: 1.0.0
* @Author: 无尘
* @Date: 2019-11-18 10:37:02
* @LastEditors: 无尘
* @LastEditTime: 2019-12-18 19:03:53
* @LastEditors : 无尘
* @LastEditTime : 2020-01-02 14:46:43
-->
<!--
<poster-config @submitBack="submitBack" @submitNext="submitNext"></poster-config>
......@@ -217,14 +217,14 @@ export default {
rules: {
playBillUrl: [{ required: true, message: '请上传海报图片', trigger: 'blur' }]
},
qrcodeOption: { width: 100, margin: 0.5, color: { dark: '#000000',light: '#ffffff' }}
qrcodeOption: { width: 200, margin: 0.5, color: { dark: '#000000',light: '#ffffff' }}
};
},
methods: {
changeQrcode() {
const that = this;
that.qrcodeOption = {
width: 100,
width: 200,
margin: that.activeInfoData.qrcodePadding/2,
color: {
dark: that.activeInfoData.qrcodeFrontColor,
......@@ -238,6 +238,25 @@ export default {
selectTemplate(num) {
const that = this;
that.activeInfoData.templateType = num;
if (num == 4) {
that.qrcodeOption = {
width: 150,
margin: that.activeInfoData.qrcodePadding/2,
color: {
dark: that.activeInfoData.qrcodeFrontColor,
light: that.activeInfoData.qrcodeBackColor
}
}
}else {
that.qrcodeOption = {
width: 200,
margin: that.activeInfoData.qrcodePadding/2,
color: {
dark: that.activeInfoData.qrcodeFrontColor,
light: that.activeInfoData.qrcodeBackColor
}
}
}
},
/**
* 上一步
......@@ -310,7 +329,7 @@ export default {
}
that.activeInfoData = resData.result;
that.qrcodeOption = {
width: 100,
width: 200,
margin: that.activeInfoData.qrcodePadding/2,
color: {
dark: that.activeInfoData.qrcodeFrontColor,
......@@ -497,8 +516,8 @@ export default {
}
.form-preview-body {
position: relative;
width: 315px;
height: 400px;
width: 630px;
height: 800px;
background: rgba(245, 247, 250, 1);
border-radius: 4px;
border: 1px solid rgba(220, 223, 230, 1);
......@@ -511,7 +530,7 @@ export default {
li {
width: 100%;
height: 100%;
padding: 30px 33px;
padding: 50px;
img {
width: 110px;
}
......
......@@ -3,8 +3,8 @@
* @version: 1.0.0
* @Author: 无尘
* @Date: 2019-11-20 13:44:22
* @LastEditors: 无尘
* @LastEditTime: 2019-12-11 20:48:52
* @LastEditors : 无尘
* @LastEditTime : 2020-01-02 14:47:08
-->
<!--
单个上传组件
......@@ -43,7 +43,7 @@
</p>
<p class="upload-tip">为了确保二维码位置的准确,建议<a
class="color-1890ff"
href="https://report-1251519181.cos.ap-shanghai.myqcloud.com/haoban/20191211204644/post.psd"
href="https://report-1251519181.cos.ap-shanghai.myqcloud.com/haoban/20200102144544/模板.psd"
download="post.psd"
> 下载模板</a> 基于模板进行海报设计。</p>
<p class="upload-tip">如果设计师还没有设计好图片,可以先跳过该步骤,先保存活动配置。</p>
......
<!--
* @Descripttion: 当前组件信息
* @version: 1.0.0
* @Author: 无尘
* @Date: 2020-01-02 10:42:15
* @LastEditors: 无尘
* @LastEditTime: 2020-01-02 11:27:06
-->
<template>
<div class="share-index common-wrap">
<div class="right-content border-box">
</div>
<vue-gic-footer></vue-gic-footer>
</div>
</template>
<script>
import errMsg from '@/common/js/error';
import { getRequest } from '@/api/api';
export default {
name: 'share-index-leaflets',
components: {},
data() {
return {
canCreate: true
};
},
methods: {
/**
* 是否可以创建活动
*/
judgeCreate() {
const that = this;
let para = {};
getRequest('/sharing-core-web/can-create', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
that.canCreate = resData.result;
return false;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
}
},
mounted() {
const that = this;
that.judgeCreate();
}
};
</script>
<style lang="less" scoped>
.share-index {
.separator-space {
width: 100%;
height: 60px;
line-height: 60px;
text-align: center;
font-size: 14px;
color: #909399;
font-weight: 600;
&.no-active {
height: 40px;
line-height: 20px;
}
}
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment