mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 22:40:48 +00:00
修复小程序下载页面无法点击的问题
This commit is contained in:
parent
a76709236e
commit
83ad384b30
File diff suppressed because one or more lines are too long
1
crmeb/public/admin/css/chunk-00e423aa.53a6041b.css
Normal file
1
crmeb/public/admin/css/chunk-00e423aa.53a6041b.css
Normal file
@ -0,0 +1 @@
|
||||
.template_sp_box[data-v-6cfc009a]{padding:5px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.template_sp[data-v-6cfc009a]{display:block;padding:2px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.flex-wrapper[data-v-6cfc009a]{display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:10px}.iframe-box[data-v-6cfc009a]{width:312px;height:550px;border-radius:10px}.ivu-mt[data-v-6cfc009a]{height:600px}.content[data-v-6cfc009a]{padding:0 20px}.content>.title[data-v-6cfc009a]{padding-bottom:26px}.content-box[data-v-6cfc009a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:20px 20px 0 20px;color:#333}.content-box.last[data-v-6cfc009a]{margin-top:0;color:#999}.line[data-v-6cfc009a]{width:3px;height:16px;background-color:#1890ff;margin-right:11px}.content-box .title[data-v-6cfc009a]{font-size:16px;font-weight:700}.content-box>span[data-v-6cfc009a]{color:#f5222d;font-size:20px}.content-box .left[data-v-6cfc009a]{width:100px;text-align:right}.content-box .right[data-v-6cfc009a]{width:400px}.rad[data-v-6cfc009a]{margin-left:20px}.mask[data-v-6cfc009a]{position:absolute;left:0;top:0;width:312px;height:550px;background-color:transparent}
|
||||
@ -1 +0,0 @@
|
||||
.template_sp_box[data-v-40b85491]{padding:5px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.template_sp[data-v-40b85491]{display:block;padding:2px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.flex-wrapper[data-v-40b85491]{display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:10px}.iframe-box[data-v-40b85491]{width:312px;height:550px;border-radius:10px}.ivu-mt[data-v-40b85491]{height:600px}.content[data-v-40b85491]{padding:0 20px}.content>.title[data-v-40b85491]{padding-bottom:26px}.content-box[data-v-40b85491]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:20px 20px 0 20px;color:#333}.content-box.last[data-v-40b85491]{margin-top:0;color:#999}.line[data-v-40b85491]{width:3px;height:16px;background-color:#1890ff;margin-right:11px}.content-box .title[data-v-40b85491]{font-size:16px;font-weight:700}.content-box>span[data-v-40b85491]{color:#f5222d;font-size:20px}.content-box .left[data-v-40b85491]{width:100px;text-align:right}.content-box .right[data-v-40b85491]{width:400px}.rad[data-v-40b85491]{margin-left:20px}.mask[data-v-40b85491]{position:absolute;left:0;width:100%;top:0;height:100%;background-color:transparent}
|
||||
File diff suppressed because one or more lines are too long
1
crmeb/public/admin/js/app.359cb19d.js
Normal file
1
crmeb/public/admin/js/app.359cb19d.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -154,6 +154,7 @@ export default {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
margin-bottom: 10px;
|
||||
background-color: #f2f2f2;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<div class="left">小程序名称:</div>
|
||||
<div class="right">{{ pageData.routine_name }}</div>
|
||||
<div class="right">{{ pageData.routine_name || "未命名" }}</div>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<div class="left">小程序码:</div>
|
||||
@ -122,15 +122,20 @@ export default {
|
||||
downLoad() {
|
||||
routineDownload({
|
||||
is_live: this.is_live,
|
||||
}).then((res) => {
|
||||
console.log(res);
|
||||
window.open(res.data.url, "_blank");
|
||||
});
|
||||
})
|
||||
.then((res) => {
|
||||
console.log(res);
|
||||
window.open(res.data.url, "_blank");
|
||||
})
|
||||
.catch((err) => {
|
||||
this.$Message.warning(err.msg);
|
||||
});
|
||||
},
|
||||
downLoadCode(url) {
|
||||
if (!url) return this.$Message.warning("暂无下载链接");
|
||||
console.log("11111");
|
||||
var image = new Image();
|
||||
image.src = url;
|
||||
|
||||
// 解决跨域 Canvas 污染问题
|
||||
image.setAttribute("crossOrigin", "anonymous");
|
||||
image.onload = function () {
|
||||
@ -231,9 +236,9 @@ export default {
|
||||
.mask {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 312px;
|
||||
height: 550px;
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -28,6 +28,18 @@ export default {
|
||||
title: '最多可添加1张图片,图片建议宽度128 * 45px',
|
||||
url: 'http://kaifa.crmeb.net/uploads/attach/2019/10/20191023/db7b7bef9dffdedd27e9a3aa34218cea.png'
|
||||
},
|
||||
titleInfo:{
|
||||
title:'',
|
||||
type: 8,
|
||||
list:[
|
||||
{
|
||||
title:'商城简介',
|
||||
val:'好物尽享 任你选择',
|
||||
max: 20,
|
||||
pla: '选填,不超过10个字'
|
||||
}
|
||||
]
|
||||
},
|
||||
hotList: {
|
||||
title:'热词最多20个字,鼠标拖拽左侧圆点可调整热词顺序',
|
||||
max:99,
|
||||
@ -47,6 +59,18 @@ export default {
|
||||
title: '最多可添加1张图片,图片建议宽度128 * 45px',
|
||||
url: 'http://kaifa.crmeb.net/uploads/attach/2019/10/20191023/db7b7bef9dffdedd27e9a3aa34218cea.png'
|
||||
},
|
||||
titleInfo:{
|
||||
title:'',
|
||||
type: 8,
|
||||
list:[
|
||||
{
|
||||
title:'商城简介',
|
||||
val:'好物尽享 任你选择',
|
||||
max: 20,
|
||||
pla: '选填,不超过10个字'
|
||||
}
|
||||
]
|
||||
},
|
||||
hotList: {
|
||||
title:'热词最多20个字,鼠标拖拽左侧圆点可调整热词顺序',
|
||||
max:99,
|
||||
@ -1772,6 +1796,10 @@ export default {
|
||||
components: toolCom.c_is_show,
|
||||
configNme: 'isShow'
|
||||
},
|
||||
{
|
||||
components: toolCom.c_input_list,
|
||||
configNme: 'titleInfo'
|
||||
},
|
||||
{
|
||||
components: toolCom.c_upload_img,
|
||||
configNme: 'imgUrl'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user