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