返回按钮优化
This commit is contained in:
parent
4f2001c9d4
commit
337e23ac7e
|
@ -510,12 +510,12 @@ export default {
|
||||||
graphic: [
|
graphic: [
|
||||||
{
|
{
|
||||||
type: 'rect',
|
type: 'rect',
|
||||||
left: 20,
|
left: 30,
|
||||||
top: 40,
|
top: 43,
|
||||||
z: 1, // 确保矩形在文本下方
|
z: 1, // 确保矩形在文本下方
|
||||||
shape: {
|
shape: {
|
||||||
width: 70, // 矩形的宽度
|
width: 55, // 矩形的宽度
|
||||||
height: 35, // 矩形的高度
|
height: 30, // 矩形的高度
|
||||||
},
|
},
|
||||||
style: {
|
style: {
|
||||||
fill: 'rgba(24, 144, 255)', // 矩形的填充色
|
fill: 'rgba(24, 144, 255)', // 矩形的填充色
|
||||||
|
@ -523,12 +523,12 @@ export default {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'text',
|
type: 'text',
|
||||||
left: 38,
|
left: 35,
|
||||||
top: 50,
|
top: 50,
|
||||||
z: 2, // 确保文本在矩形上方
|
z: 2, // 确保文本在矩形上方
|
||||||
style: {
|
style: {
|
||||||
text: '返 回',
|
text: '返 回',
|
||||||
fontSize: 15,
|
fontSize: 20,
|
||||||
fill: 'white', // 设置文本颜色为白色
|
fill: 'white', // 设置文本颜色为白色
|
||||||
},
|
},
|
||||||
onclick: function () {
|
onclick: function () {
|
||||||
|
|
Loading…
Reference in New Issue