分享文案修改

feasure-livedata
lld 2026-03-21 22:06:53 +08:00
parent 5d427dc272
commit 049cdaa10a
5 changed files with 20 additions and 20 deletions

View File

@ -208,9 +208,7 @@ export default {
this.getServerData();
}
})
}, 300)
}, 500)
}
}
};

View File

@ -527,7 +527,7 @@ export default {
if (response.code === 200) {
this.$modal.msgSuccess("大棚重命名成功!");
this.getListData(); //
this.$refs.renameAgri.close(); //
this.closeWindow() //
} else {
this.$modal.msgError("大棚重命名失败!");
}

View File

@ -297,7 +297,7 @@ const cfu = {
show: true,
position: "bottom",
float: "center",
padding: 20,
padding: 10,
margin: 10,
backgroundColor: "rgb(248,241,241)",
borderColor: "#2d56d8",
@ -306,11 +306,11 @@ const cfu = {
fontColor: "#666666",
lineHeight: 32,
hiddenColor: "#CECECE",
itemGap: 40,
itemGap: 20,
// 关键开启自动换行uCharts 2.x+ 支持)
wrap: true,
// 控制每行显示数量比如每行4个8个系列分两行
itemWidth: 80,
itemWidth: 2,
},
extra: {
line: {

View File

@ -489,15 +489,7 @@ function dataCombineStack(series, len) {
function getTouches(touches, opts, e) {
let x, y;
if (touches.clientX) {
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 (touches.x) {
if (opts.rotate) {
y = opts.height - touches.x * opts.pix;
x = touches.y * opts.pix;
@ -505,6 +497,14 @@ function getTouches(touches, opts, e) {
x = touches.x * 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 {
x: x,

View File

@ -5,15 +5,17 @@ export default {
//分享到微信好友
onShareAppMessage(res) {
return {
title: '小策技术,为您的农业提供智能服务,欢迎咨询!',
path: `/pages/index`
title: '小策技术,为您的农业提供智能服务,欢迎前来咨询!',
path: `/pages/login`,
imageUrl: 'https://img.xiaoces.com/photos/logo200.png'
}
},
//分享到朋友圈
onShareTimeline() {
return {
title: '小策技术,为您的农业提供智能服务,欢迎咨询!',
path: `/pages/index`
title: '小策技术,为您的农业提供智能服务,欢迎前来咨询!',
path: `/pages/login`,
imageUrl: 'https://img.xiaoces.com/photos/logo200.png'
}
},
}