分享文案修改
parent
5d427dc272
commit
049cdaa10a
|
|
@ -208,9 +208,7 @@ export default {
|
||||||
this.getServerData();
|
this.getServerData();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, 300)
|
}, 500)
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -527,7 +527,7 @@ export default {
|
||||||
if (response.code === 200) {
|
if (response.code === 200) {
|
||||||
this.$modal.msgSuccess("大棚重命名成功!");
|
this.$modal.msgSuccess("大棚重命名成功!");
|
||||||
this.getListData(); // 刷新列表
|
this.getListData(); // 刷新列表
|
||||||
this.$refs.renameAgri.close(); // 关闭弹窗
|
this.closeWindow() // 关闭弹窗
|
||||||
} else {
|
} else {
|
||||||
this.$modal.msgError("大棚重命名失败!");
|
this.$modal.msgError("大棚重命名失败!");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -297,7 +297,7 @@ const cfu = {
|
||||||
show: true,
|
show: true,
|
||||||
position: "bottom",
|
position: "bottom",
|
||||||
float: "center",
|
float: "center",
|
||||||
padding: 20,
|
padding: 10,
|
||||||
margin: 10,
|
margin: 10,
|
||||||
backgroundColor: "rgb(248,241,241)",
|
backgroundColor: "rgb(248,241,241)",
|
||||||
borderColor: "#2d56d8",
|
borderColor: "#2d56d8",
|
||||||
|
|
@ -306,11 +306,11 @@ const cfu = {
|
||||||
fontColor: "#666666",
|
fontColor: "#666666",
|
||||||
lineHeight: 32,
|
lineHeight: 32,
|
||||||
hiddenColor: "#CECECE",
|
hiddenColor: "#CECECE",
|
||||||
itemGap: 40,
|
itemGap: 20,
|
||||||
// 关键:开启自动换行(uCharts 2.x+ 支持)
|
// 关键:开启自动换行(uCharts 2.x+ 支持)
|
||||||
wrap: true,
|
wrap: true,
|
||||||
// 控制每行显示数量(比如每行4个,8个系列分两行)
|
// 控制每行显示数量(比如每行4个,8个系列分两行)
|
||||||
itemWidth: 80,
|
itemWidth: 2,
|
||||||
},
|
},
|
||||||
extra: {
|
extra: {
|
||||||
line: {
|
line: {
|
||||||
|
|
|
||||||
|
|
@ -489,15 +489,7 @@ function dataCombineStack(series, len) {
|
||||||
|
|
||||||
function getTouches(touches, opts, e) {
|
function getTouches(touches, opts, e) {
|
||||||
let x, y;
|
let x, y;
|
||||||
if (touches.clientX) {
|
if (touches.x) {
|
||||||
if (opts.rotate) {
|
|
||||||
y = opts.height - touches.clientX * opts.pix;
|
|
||||||
x = (touches.pageY - e.currentTarget.offsetTop - (opts.height / opts.pix / 2) * (opts.pix - 1)) * opts.pix;
|
|
||||||
} else {
|
|
||||||
x = touches.clientX * opts.pix;
|
|
||||||
y = (touches.pageY - e.currentTarget.offsetTop - (opts.height / opts.pix / 2) * (opts.pix - 1)) * opts.pix;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (opts.rotate) {
|
if (opts.rotate) {
|
||||||
y = opts.height - touches.x * opts.pix;
|
y = opts.height - touches.x * opts.pix;
|
||||||
x = touches.y * opts.pix;
|
x = touches.y * opts.pix;
|
||||||
|
|
@ -505,6 +497,14 @@ function getTouches(touches, opts, e) {
|
||||||
x = touches.x * opts.pix;
|
x = touches.x * opts.pix;
|
||||||
y = touches.y * opts.pix;
|
y = touches.y * opts.pix;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
if (opts.rotate) {
|
||||||
|
y = opts.height - touches.clientX * opts.pix;
|
||||||
|
x = (touches.pageY - e.currentTarget.offsetTop - (opts.height / opts.pix / 2) * (opts.pix - 1)) * opts.pix;
|
||||||
|
} else {
|
||||||
|
x = touches.clientX * opts.pix;
|
||||||
|
y = (touches.pageY - e.currentTarget.offsetTop - (opts.height / opts.pix / 2) * (opts.pix - 1)) * opts.pix;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
x: x,
|
x: x,
|
||||||
|
|
|
||||||
|
|
@ -5,15 +5,17 @@ export default {
|
||||||
//分享到微信好友
|
//分享到微信好友
|
||||||
onShareAppMessage(res) {
|
onShareAppMessage(res) {
|
||||||
return {
|
return {
|
||||||
title: '小策技术,为您的农业提供智能服务,欢迎咨询!',
|
title: '小策技术,为您的农业提供智能服务,欢迎前来咨询!',
|
||||||
path: `/pages/index`
|
path: `/pages/login`,
|
||||||
|
imageUrl: 'https://img.xiaoces.com/photos/logo200.png'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//分享到朋友圈
|
//分享到朋友圈
|
||||||
onShareTimeline() {
|
onShareTimeline() {
|
||||||
return {
|
return {
|
||||||
title: '小策技术,为您的农业提供智能服务,欢迎咨询!',
|
title: '小策技术,为您的农业提供智能服务,欢迎前来咨询!',
|
||||||
path: `/pages/index`
|
path: `/pages/login`,
|
||||||
|
imageUrl: 'https://img.xiaoces.com/photos/logo200.png'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue