wente
2024-05-22 686e9cb12978d559130f816e5c2d2854a13c2f48
svgEditor
6个文件已修改
276 ■■■■ 已修改文件
web/public/SVGOrigin/Method-Draw-master/editor/extensions/ext-eyedropper.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/public/SVGOrigin/Method-Draw-master/editor/extensions/ext-shapes.js 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/public/SVGOrigin/Method-Draw-master/editor/index.html 190 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/public/SVGOrigin/Method-Draw-master/editor/lib/jgraduate/jquery.jgraduate.js 46 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/public/SVGOrigin/Method-Draw-master/editor/src/method-draw.js 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/public/SVGOrigin/Method-Draw-master/editor/extensions/ext-eyedropper.js
@@ -70,7 +70,7 @@
      buttons: [{
        id: "tool_eyedropper",
        type: "mode",
        title: "Eye Dropper Tool",
        title: "吸管工具",
        position: 8,
        key: "I",
        icon: "extensions/eyedropper.png",
web/public/SVGOrigin/Method-Draw-master/editor/extensions/ext-shapes.js
@@ -20,18 +20,18 @@
  
  // This populates the category list
  var categories = {
    basic: 'Basic',
    object: 'Objects',
    symbol: 'Symbols',
    arrow: 'Arrows',
    flowchart: 'Flowchart',
    nature: 'Nature',
    game: 'Cards & Chess',
    dialog_balloon: 'Dialog balloons',
    music: 'Music',
    weather: 'Weather & Time',
    ui: 'User Interface',
    social: 'Social Web'
    basic: '基本',
    object: '物体',
    symbol: '符号',
    arrow: '箭头',
    flowchart: '流程图',
    nature: '自然',
    game: '纸牌与象棋',
    dialog_balloon: '对话框',
    music: '音乐',
    weather: '天气与时间',
    ui: '用户接口',
    social: '社交网络'
  };
  
  var library = {
@@ -147,7 +147,7 @@
      id: "tool_shapelib",
      type: "mode_flyout", // _flyout
      position: 6,
      title: "Shape library",
      title: "形状库",
      icon: "extensions/ext-shapes.png",
      events: {
        "click": function() {
web/public/SVGOrigin/Method-Draw-master/editor/index.html
@@ -93,7 +93,7 @@
    </div>
  </a>
  <div class="menu">
  <div style="opacity: 0" class="menu">
    <div class="menu_title">File</div>
    <div class="menu_list" id="file_menu">
      <div id="tool_clear" class="menu_item">New Document</div>
@@ -104,7 +104,7 @@
    </div>
  </div>
  <div class="menu">
  <div style="opacity: 0" class="menu">
    <div class="menu_title">Edit</div>
    <div class="menu_list" id="edit_menu">
      <div class="menu_item" id="tool_undo">Undo <span class="shortcut">⌘Z</span></div>
@@ -118,7 +118,7 @@
    </div>
  </div>
  <div class="menu">
  <div style="opacity: 0" class="menu">
    <div class="menu_title">Object</div>
    <div class="menu_list"  id="object_menu">
      <div class="menu_item action_selected disabled" id="tool_move_top">Bring to Front <span class="shortcut">⌘⇧↑</span></div>
@@ -134,7 +134,7 @@
    </div>
  </div>
  <div class="menu">
  <div style="opacity: 0" class="menu">
    <div class="menu_title">View</div>
    <div class="menu_list" id="view_menu">
        <div class="menu_item push_button_pressed" id="tool_rulers">View Rulers</div>
@@ -147,26 +147,28 @@
</div>
<div id="tools_top" class="tools_panel">
  <div id="canvas_panel" class="context_panel">
    <h4 class="clearfix">Canvas</h4>
    <h4 class="clearfix">画布</h4>
    <label data-title="Change canvas width">
      <input size="3" id="canvas_width" type="text" pattern="[0-9]*" />
      <span class="icon_label">Width</span>
      <span class="icon_label">宽度</span>
    </label>
    <label data-title="Change canvas height">
      <input id="canvas_height" size="3" type="text" pattern="[0-9]*" />
      <span class="icon_label">Height</span>
      <span class="icon_label">高度</span>
    </label>
    <label data-title="Change canvas color" class="draginput">
      <span>Color</span>
      <span>颜色</span>
      <div id="color_canvas_tools">
        <div class="color_tool active" id="tool_canvas">
          <div class="color_block">
@@ -178,24 +180,24 @@
    </label>
    <div class="draginput">
      <span>Sizes</span>
      <span>画布大小</span>
      <select id="resolution">
        <option id="selectedPredefined" selected="selected">Custom</option>
        <option id="selectedPredefined" selected="selected">默认</option>
        <option>640x480</option>
        <option>800x600</option>
        <option>1024x768</option>
        <option>1280x960</option>
        <option>1600x1200</option>
        <option id="fitToContent" value="content">Fit to Content</option>
        <option id="fitToContent" value="content">适应内容</option>
      </select>
      <div class="caret"></div>
      <label id="resolution_label">Custom</label>
      <label id="resolution_label">默认</label>
    </div>
  </div>
  <div id="rect_panel" class="context_panel">
    <h4 class="clearfix">Rectangle</h4>
    <h4 class="clearfix">矩形</h4>
    <label>
      <input id="rect_x" class="attr_changer" data-title="Change X coordinate" size="3" data-attr="x" pattern="[0-9]*" />
      <span>X</span>
@@ -206,16 +208,16 @@
    </label>
    <label id="rect_width_tool attr_changer" data-title="Change rectangle width">
      <input id="rect_width" class="attr_changer" size="3" data-attr="width" type="text" pattern="[0-9]*" />
      <span class="icon_label">Width</span>
      <span class="icon_label">宽度</span>
    </label>
    <label id="rect_height_tool" data-title="Change rectangle height">
      <input id="rect_height" class="attr_changer" size="3" data-attr="height" type="text" pattern="[0-9]*" />
      <span class="icon_label">。</span>
      <span class="icon_label">高度</span>
    </label>
  </div>
  <div id="path_panel" class="context_panel clearfix">
    <h4 class="clearfix">Path</h4>
    <h4 class="clearfix">路径</h4>
    <label>
      <input id="path_x" class="attr_changer" data-title="Change ellipse's cx coordinate" size="3" data-attr="x" pattern="[0-9]*" />
      <span>X</span>
@@ -227,7 +229,7 @@
  </div>
  <div id="image_panel" class="context_panel clearfix">
  <h4>Image</h4>
  <h4>图片</h4>
    <label>
      <input id="image_x" class="attr_changer" data-title="Change X coordinate" size="3" data-attr="x"  pattern="[0-9]*"/>
      <span>X</span>
@@ -238,32 +240,32 @@
    </label>
    <label>
      <input id="image_width" class="attr_changer" data-title="Change image width" size="3" data-attr="width" pattern="[0-9]*" />
      <span class="icon_label">Width</span>
      <span class="icon_label">宽度</span>
    </label>
    <label>
      <input id="image_height" class="attr_changer" data-title="Change image height" size="3" data-attr="height" pattern="[0-9]*" />
      <span class="icon_label">Height</span>
      <span class="icon_label">高度</span>
    </label>
  </div>
  <div id="circle_panel" class="context_panel">
    <h4>Circle</h4>
    <h4>圆</h4>
    <label id="tool_circle_cx">
      <span>Center X</span>
      <span>中心X轴</span>
      <input id="circle_cx" class="attr_changer" title="Change circle's cx coordinate" size="3" data-attr="cx"/>
    </label>
    <label id="tool_circle_cy">
      <span>Center Y</span>
      <span>中心Y轴</span>
      <input id="circle_cy" class="attr_changer" title="Change circle's cy coordinate" size="3" data-attr="cy"/>
    </label>
    <label id="tool_circle_r">
      <span>Radius</span>
      <span>半径</span>
      <input id="circle_r" class="attr_changer" title="Change circle's radius" size="3" data-attr="r"/>
    </label>
  </div>
  <div id="ellipse_panel" class="context_panel clearfix">
    <h4>Ellipse</h4>
    <h4>椭圆</h4>
    <label id="tool_ellipse_cx">
      <input id="ellipse_cx" class="attr_changer" data-title="Change ellipse's cx coordinate" size="3" data-attr="cx" pattern="[0-9]*" />
      <span>X</span>
@@ -274,36 +276,36 @@
    </label>
    <label id="tool_ellipse_rx">
      <input id="ellipse_rx" class="attr_changer" data-title="Change ellipse's x radius" size="3" data-attr="rx" pattern="[0-9]*" />
      <span>Radius X</span>
      <span>半径X</span>
    </label>
    <label id="tool_ellipse_ry">
      <input id="ellipse_ry" class="attr_changer" data-title="Change ellipse's y radius" size="3" data-attr="ry" pattern="[0-9]*" />
      <span>Radius Y</span>
      <span>半径Y</span>
    </label>
  </div>
  <div id="line_panel" class="context_panel clearfix">
    <h4>Line</h4>
    <h4>线条</h4>
    <label id="tool_line_x1">
      <input id="line_x1" class="attr_changer" data-title="Change line's starting x coordinate" size="3" data-attr="x1" pattern="[0-9]*" />
      <span>Start X</span>
      <span>左上X轴</span>
    </label>
    <label id="tool_line_y1">
      <input id="line_y1" class="attr_changer" data-title="Change line's starting y coordinate" size="3" data-attr="y1" pattern="[0-9]*" />
      <span>Start Y</span>
      <span>左上Y轴</span>
    </label>
    <label id="tool_line_x2">
      <input id="line_x2" class="attr_changer" data-title="Change line's ending x coordinate" size="3" data-attr="x2"   pattern="[0-9]*" />
      <span>End X</span>
      <span>右下X轴</span>
    </label>
    <label id="tool_line_y2">
      <input id="line_y2" class="attr_changer" data-title="Change line's ending y coordinate" size="3" data-attr="y2"   pattern="[0-9]*" />
      <span>End Y</span>
      <span>右下Y轴</span>
    </label>
  </div>
  <div id="text_panel" class="context_panel">
    <h4>Text</h4>
    <h4>文本</h4>
    <label>
      <input id="text_x" class="attr_changer" data-title="Change text x coordinate" size="3" data-attr="x" pattern="[0-9]*" />
      <span>X</span>
@@ -315,7 +317,7 @@
    <div class="toolset draginput select twocol" id="tool_font_family">
        <!-- Font family -->
      <span>Font</span>
      <span>字体</span>
      <div id="preview_font" style="font-family: Helvetica, Arial, sans-serif;">Helvetica</div>
      <div class="caret"></div>
      <input id="font_family" data-title="Change Font Family" size="12" type="hidden" />
@@ -340,7 +342,7 @@
    <label id="tool_font_size" data-title="Change Font Size">
      <input id="font_size" size="3" value="0" />
      <span id="font_sizeLabel" class="icon_label">Font Size</span>
      <span id="font_sizeLabel" class="icon_label">字体大小</span>
    </label>
    <!-- Not visible, but still used -->
    <input id="text" type="text" size="35"/>
@@ -355,7 +357,7 @@
  </div>
  <div id="g_panel" class="context_panel clearfix">
    <h4>Group</h4>
    <h4>组合</h4>
    <label>
      <input id="g_x" class="attr_changer" data-title="Change groups's x coordinate" size="3" data-attr="x" pattern="[0-9]*" />
      <span>X</span>
@@ -367,7 +369,7 @@
  </div>
  <div id="path_node_panel" class="context_panel clearfix">
    <h4>Edit Path</h4>
    <h4>编辑路径</h4>
    <label id="tool_node_x">
      <input id="path_node_x" class="attr_changer" data-title="Change node's x coordinate" size="3" data-attr="x" />
@@ -379,13 +381,13 @@
    </label>
    <div id="segment_type" class="draginput label">
      <span>Segment Type</span>
      <span>分段类型</span>
      <select id="seg_type" data-title="Change Segment type">
        <option id="straight_segments" selected="selected" value="4">Straight</option>
        <option id="curve_segments" value="6">Curve</option>
        <option id="straight_segments" selected="selected" value="4">直线</option>
        <option id="curve_segments" value="6">曲线</option>
      </select>
      <div class="caret"></div>
      <label id="seg_type_label">Straight</label>
      <label id="seg_type_label">直线</label>
    </div>
    <!--
@@ -396,9 +398,9 @@
  -->
    <div class="clearfix"></div>
    <div class="tool_button" id="tool_node_clone" title="Adds a node">Add Node</div>
    <div class="tool_button" id="tool_node_delete" title="Delete Node">Delete Node</div>
    <div class="tool_button" id="tool_openclose_path" title="Open/close sub-path">Open Path</div>
    <div class="tool_button" id="tool_node_clone" title="Adds a node">添加节点</div>
    <div class="tool_button" id="tool_node_delete" title="Delete Node">删除节点</div>
    <div class="tool_button" id="tool_openclose_path" title="Open/close sub-path">打开路径</div>
    <!--<div class="tool_button" id="tool_add_subpath" title="Add sub-path"></div>-->
  </div>
@@ -407,7 +409,7 @@
    <label id="tool_angle" data-title="Change rotation angle" class="draginput">
      <input id="angle" class="attr_changer" size="2" value="0" data-attr="transform" data-min="-180" data-max="180" type="text"/>
      <span class="icon_label">Rotation</span>
      <span class="icon_label">旋转</span>
      <div id="tool_angle_indicator">
        <div id="tool_angle_indicator_cursor"></div>
      </div>
@@ -415,33 +417,33 @@
      <label class="toolset" id="tool_opacity" data-title="Change selected item opacity">
        <input id="group_opacity" class="attr_changer" data-attr="opacity" data-multiplier="0.01" size="3" value="100" step="5" min="0" max="100" />
        <span id="group_opacityLabel" class="icon_label">Opacity</span>
        <span id="group_opacityLabel" class="icon_label">透明度</span>
      </label>
    <div class="toolset" id="tool_blur" data-title="Change gaussian blur value">
      <label>
        <input id="blur" size="2" value="0" step=".1"  min="0" max="10" />
        <span class="icon_label">Blur</span>
        <span class="icon_label">模糊度</span>
      </label>
    </div>
    <label id="cornerRadiusLabel" data-title="Change Rectangle Corner Radius">
      <input id="rect_rx" size="3" value="0" data-attr="rx" class="attr_changer" type="text" pattern="[0-9]*" />
      <span class="icon_label">Roundness</span>
      <span class="icon_label">圆度</span>
    </label>
    <div class="clearfix"></div>
    <div id="align_tools">
      <h4>Align</h4>
      <h4>对齐方式</h4>
      <div class="toolset align_buttons" id="tool_position">
          <label>
            <div class="col last clear" id="position_opts">
              <div class="draginput_cell" id="tool_posleft" title="Align Left"></div>
              <div class="draginput_cell" id="tool_poscenter" title="Align Center"></div>
              <div class="draginput_cell" id="tool_posright" title="Align Right"></div>
              <div class="draginput_cell" id="tool_postop" title="Align Top"></div>
              <div class="draginput_cell" id="tool_posmiddle" title="Align Middle"></div>
              <div class="draginput_cell" id="tool_posbottom" title="Align Bottom"></div>
              <div class="draginput_cell" id="tool_posleft" title="左对齐"></div>
              <div class="draginput_cell" id="tool_poscenter" title="水平居中"></div>
              <div class="draginput_cell" id="tool_posright" title="右对齐"></div>
              <div class="draginput_cell" id="tool_postop" title="上对齐"></div>
              <div class="draginput_cell" id="tool_posmiddle" title="垂直居中"></div>
              <div class="draginput_cell" id="tool_posbottom" title="下对齐"></div>
            </div>
          </label>
      </div>
@@ -450,23 +452,23 @@
  <!-- Buttons when multiple elements are selected -->
  <div id="multiselected_panel" class="context_panel clearfix">
    <h4 class="hidable">Multiple Elements</h4>
    <h4 class="hidable">对齐方式</h4>
    <div class="toolset align_buttons" style="position: relative">
      <label id="tool_align_relative" style="margin-top: 10px;">
        <select id="align_relative_to" title="Align relative to ...">
        <option id="selected_objects" value="selected">Align to objects</option>
        <option id="page" value="page">Align to page</option>
        <option id="selected_objects" value="selected">与对象对齐</option>
        <option id="page" value="page">与页面对齐</option>
        </select>
      </label>
      <h4>.</h4>
        <div class="col last clear">
          <div class="draginput_cell" id="tool_alignleft" title="Align Left"></div>
          <div class="draginput_cell" id="tool_aligncenter" title="Align Center"></div>
          <div class="draginput_cell" id="tool_alignright" title="Align Right"></div>
          <div class="draginput_cell" id="tool_aligntop" title="Align Top"></div>
          <div class="draginput_cell" id="tool_alignmiddle" title="Align Middle"></div>
          <div class="draginput_cell" id="tool_alignbottom" title="Align Bottom"></div>
          <div class="draginput_cell" id="tool_alignleft" title="左对齐"></div>
          <div class="draginput_cell" id="tool_aligncenter" title="水平居中"></div>
          <div class="draginput_cell" id="tool_alignright" title="右对齐"></div>
          <div class="draginput_cell" id="tool_aligntop" title="上对齐"></div>
          <div class="draginput_cell" id="tool_alignmiddle" title="垂直居中"></div>
          <div class="draginput_cell" id="tool_alignbottom" title="下对齐"></div>
        </div>
    </div>
    <div class="clearfix"></div>
@@ -475,15 +477,15 @@
  <div id="stroke_panel" class="context_panel clearfix">
    <div class="clearfix"></div>
    <h4>Stroke</h4>
    <h4>边框</h4>
    <div class="toolset" data-title="Change stroke">
      <label>
        <input id="stroke_width" size="2" value="5" data-attr="stroke-width" min="0" max="99" step="1" />
        <span class="icon_label">Stroke Width</span>
        <span class="icon_label">边宽</span>
      </label>
    </div>
    <div class="stroke_tool draginput">
      <span>Stroke Dash</span>
      <span>线条样式</span>
      <select id="stroke_style" data-title="Change stroke dash style">
        <option selected="selected" value="none">—</option>
        <option value="2,2">···</option>
@@ -511,14 +513,14 @@
<div id="tools_left" class="tools_panel">
  <div class="tool_button" id="tool_select" title="Select Tool [V]"></div>
  <div class="tool_button" id="tool_fhpath" title="Pencil Tool [P]"></div>
  <div class="tool_button" id="tool_line" title="Line Tool [L]"></div>
  <div class="tool_button" id="tool_rect" title="Square/Rect Tool [R]"></div>
  <div class="tool_button" id="tool_ellipse" title="Ellipse/Circle Tool [C]"></div>
  <div class="tool_button" id="tool_path" title="Path Tool [P]"></div>
  <div class="tool_button" id="tool_text" title="Text Tool [T]"></div>
  <div class="tool_button" id="tool_zoom" title="Zoom Tool [Z]"></div>
  <div class="tool_button" id="tool_select" title="选择工具[V]"></div>
  <div class="tool_button" id="tool_fhpath" title="铅笔工具[P]"></div>
  <div class="tool_button" id="tool_line" title="连线工具[L]"></div>
  <div class="tool_button" id="tool_rect" title="方形/矩形 [R]"></div>
  <div class="tool_button" id="tool_ellipse" title="椭圆/圆 [C]"></div>
  <div class="tool_button" id="tool_path" title="路径工具 [P]"></div>
  <div class="tool_button" id="tool_text" title="文本工具 [T]"></div>
  <div class="tool_button" id="tool_zoom" title="缩放工具 [Z]"></div>
  <div id="color_tools">
        <div id="tool_switch" title="Switch stroke and fill colors [X]"></div>
@@ -581,27 +583,27 @@
  <div id="svg_source_overlay"></div>
  <div id="svg_source_container">
    <div id="save_output_btns">
      <p id="copy_save_note">Copy the contents of this box into a text editor, then save the file with a .svg extension.</p>
      <button id="copy_save_done">Done</button>
      <p id="copy_save_note">将此框的内容复制到文本编辑器中,然后使用.svg扩展名保存文件。</p>
      <button id="copy_save_done">好</button>
    </div>
    <form>
      <textarea id="svg_source_textarea" spellcheck="false"></textarea>
    </form>
    <div id="tool_source_back" class="toolbar_button">
      <button id="tool_source_cancel" class="cancel">Cancel</button>
      <button id="tool_source_save" class="ok">Apply Changes</button>
      <button id="tool_source_cancel" class="cancel">取消</button>
      <button id="tool_source_save" class="ok">应用更改</button>
    </div>
  </div>
</div>
<div id="base_unit_container">
  <select id="base_unit">
    <option value="px">Pixels</option>
    <option value="cm">Centimeters</option>
    <option value="mm">Millimeters</option>
    <option value="in">Inches</option>
    <option value="pt">Points</option>
    <option value="pc">Picas</option>
    <option value="px">像素</option>
    <option value="cm">厘米</option>
    <option value="mm">毫米</option>
    <option value="in">英寸</option>
    <option value="pt">像素点</option>
    <option value="pc">派卡</option>
    <option value="em">Ems</option>
    <option value="ex">Exs</option>
  </select>
@@ -616,16 +618,16 @@
</div>
<ul id="cmenu_canvas" class="contextMenu">
  <li><a href="#cut">Cut <span class="shortcut">⌘X;</span></a></li>
  <li><a href="#copy">Copy<span class="shortcut">⌘C</span></a></li>
  <li><a href="#paste">Paste<span class="shortcut">⌘V</span></a></li>
  <li class="separator"><a href="#delete">Delete<span class="shortcut">⌫</span></a></li>
  <li class="separator"><a href="#group">Group<span class="shortcut">⌘G</span></a></li>
  <li><a href="#ungroup">Ungroup<span class="shortcut">⌘⇧G</span></a></li>
  <li class="separator"><a href="#move_front">Bring to Front<span class="shortcut">⌘⇧↑</span></a></li>
  <li><a href="#move_up">Bring Forward<span class="shortcut">⌘↑</span></a></li>
  <li><a href="#move_down">Send Backward<span class="shortcut">⌘↓</span></a></li>
  <li><a href="#move_back">Send to Back<span class="shortcut">⌘⇧↓</span></a></li>
  <li><a href="#cut">剪切 <span class="shortcut">⌘X;</span></a></li>
  <li><a href="#copy">复制<span class="shortcut">⌘C</span></a></li>
  <li><a href="#paste">粘贴<span class="shortcut">⌘V</span></a></li>
  <li class="separator"><a href="#delete">删除<span class="shortcut">⌫</span></a></li>
  <li class="separator"><a href="#group">分组<span class="shortcut">⌘G</span></a></li>
  <li><a href="#ungroup">取消分组<span class="shortcut">⌘⇧G</span></a></li>
  <li class="separator"><a href="#move_front">置于最上方<span class="shortcut">⌘⇧↑</span></a></li>
  <li><a href="#move_up">置前一层<span class="shortcut">⌘↑</span></a></li>
  <li><a href="#move_down">置后一层<span class="shortcut">⌘↓</span></a></li>
  <li><a href="#move_back">置于最下方<span class="shortcut">⌘⇧↓</span></a></li>
</ul>
</body>
web/public/SVGOrigin/Method-Draw-master/editor/lib/jgraduate/jquery.jgraduate.js
@@ -202,9 +202,9 @@
      
            $this.addClass('jGraduate_Picker');
            $this.html('<ul class="jGraduate_tabs">' +
                    '<li class="jGraduate_tab_color jGraduate_tab_current" data-type="col">Solid Color</li>' +
                    '<li class="jGraduate_tab_lingrad" data-type="lg">Linear Gradient</li>' +
                    '<li class="jGraduate_tab_radgrad" data-type="rg">Radial Gradient</li>' +
                    '<li class="jGraduate_tab_color jGraduate_tab_current" data-type="col">颜色</li>' +
                  '<li class="jGraduate_tab_lingrad" data-type="lg">线性渐变</li>' +
                    '<li class="jGraduate_tab_radgrad" data-type="rg">径向渐变</li>' +
                  '</ul>' +
                  '<div class="jGraduate_colPick"></div>' +
                  '<div class="jGraduate_gradPick"></div>' +
@@ -224,79 +224,79 @@
              '</div>' + 
              '<div class="jGraduate_Form jGraduate_Points jGraduate_lg_field">' +
                '<div class="jGraduate_StopSection">' +
                  '<label class="jGraduate_Form_Heading">Begin Point</label>' +
                  '<label class="jGraduate_Form_Heading">起点</label>' +
                  '<div class="jGraduate_Form_Section">' +
                    '<label>x:</label>' +
                    '<input type="text" id="' + id + '_jGraduate_x1" size="3" title="Enter starting x value between 0.0 and 1.0"/>' +
                    '<input type="text" id="' + id + '_jGraduate_x1" size="3" title="输入介于0.0和1.0之间的起始x值"/>' +
                    '<label> y:</label>' +
                    '<input type="text" id="' + id + '_jGraduate_y1" size="3" title="Enter starting y value between 0.0 and 1.0"/>' +
                    '<input type="text" id="' + id + '_jGraduate_y1" size="3" title="输入介于0.0和1.0之间的起始y值"/>' +
                  '</div>' +
                '</div>' +
                '<div class="jGraduate_StopSection">' +
                  '<label class="jGraduate_Form_Heading">End Point</label>' +
                  '<label class="jGraduate_Form_Heading">终点</label>' +
                  '<div class="jGraduate_Form_Section">' +
                    '<label>x:</label>' +
                    '<input type="text" id="' + id + '_jGraduate_x2" size="3" title="Enter ending x value between 0.0 and 1.0"/>' +
                    '<input type="text" id="' + id + '_jGraduate_x2" size="3" title="输入介于0.0和1.0之间的起始x值"/>' +
                    '<label> y:</label>' +
                    '<input type="text" id="' + id + '_jGraduate_y2" size="3" title="Enter ending y value between 0.0 and 1.0"/>' +
                    '<input type="text" id="' + id + '_jGraduate_y2" size="3" title="输入介于0.0和1.0之间的起始y值"/>' +
                  '</div>' +
                '</div>' +
              '</div>' +
              '<div class="jGraduate_Form jGraduate_Points jGraduate_rg_field">' +
          '<div class="jGraduate_StopSection">' +
            '<label class="jGraduate_Form_Heading">Center Point</label>' +
            '<label class="jGraduate_Form_Heading">中心点</label>' +
            '<div class="jGraduate_Form_Section">' +
              '<label>x:</label>' +
              '<input type="text" id="' + id + '_jGraduate_cx" size="3" title="Enter x value between 0.0 and 1.0"/>' +
              '<input type="text" id="' + id + '_jGraduate_cx" size="3" title="输入介于0.0和1.0之间的起始x值"/>' +
              '<label> y:</label>' +
              '<input type="text" id="' + id + '_jGraduate_cy" size="3" title="Enter y value between 0.0 and 1.0"/>' +
              '<input type="text" id="' + id + '_jGraduate_cy" size="3" title="输入介于0.0和1.0之间的起始y值"/>' +
            '</div>' +
          '</div>' +
          '<div class="jGraduate_StopSection">' +
            '<label class="jGraduate_Form_Heading">Focal Point</label>' +
            '<label class="jGraduate_Form_Heading">焦点</label>' +
            '<div class="jGraduate_Form_Section">' +
              '<label>Match center: <input type="checkbox" checked="checked" id="' + id + '_jGraduate_match_ctr"/></label><br/>' +
              '<label>x:</label>' +
              '<input type="text" id="' + id + '_jGraduate_fx" size="3" title="Enter x value between 0.0 and 1.0"/>' +
              '<input type="text" id="' + id + '_jGraduate_fx" size="3" title="输入介于0.0和1.0之间的起始x值"/>' +
              '<label> y:</label>' +
              '<input type="text" id="' + id + '_jGraduate_fy" size="3" title="Enter y value between 0.0 and 1.0"/>' +
              '<input type="text" id="' + id + '_jGraduate_fy" size="3" title="输入介于0.0和1.0之间的起始y值"/>' +
            '</div>' +
          '</div>' +
              '</div>' +
        '<div class="jGraduate_StopSection jGraduate_SpreadMethod">' +
          '<label class="jGraduate_Form_Heading">Spread method</label>' +
          '<label class="jGraduate_Form_Heading">扩散方式</label>' +
          '<div class="jGraduate_Form_Section">' +
            '<select class="jGraduate_spreadMethod">' +
              '<option value=pad selected>Pad</option>' +
              '<option value=reflect>Reflect</option>' +
              '<option value=repeat>Repeat</option>' +
              '<option value=pad selected>延长</option>' +
              '<option value=reflect>映射</option>' +
              '<option value=repeat>重复</option>' +
            '</select>' + 
          '</div>' +
        '</div>' +
              '<div class="jGraduate_Form">' +
                '<div class="jGraduate_Slider jGraduate_RadiusField jGraduate_rg_field">' +
            '<label class="prelabel">Radius:</label>' +
            '<label class="prelabel">半径:</label>' +
            '<div id="' + id + '_jGraduate_Radius" class="jGraduate_SliderBar jGraduate_Radius" title="Click to set radius">' +
              '<img id="' + id + '_jGraduate_RadiusArrows" class="jGraduate_RadiusArrows" src="' + $settings.images.clientPath + 'rangearrows2.gif">' +
            '</div>' +
            '<label><input type="text" id="' + id + '_jGraduate_RadiusInput" size="3" value="100"/>%</label>' + 
                '</div>' +
                '<div class="jGraduate_Slider jGraduate_EllipField jGraduate_rg_field">' +
            '<label class="prelabel">Ellip:</label>' +
            '<label class="prelabel">椭圆:</label>' +
            '<div id="' + id + '_jGraduate_Ellip" class="jGraduate_SliderBar jGraduate_Ellip" title="Click to set Ellip">' +
              '<img id="' + id + '_jGraduate_EllipArrows" class="jGraduate_EllipArrows" src="' + $settings.images.clientPath + 'rangearrows2.gif">' +
            '</div>' +
            '<label><input type="text" id="' + id + '_jGraduate_EllipInput" size="3" value="0"/>%</label>' + 
                '</div>' +
                '<div class="jGraduate_Slider jGraduate_AngleField jGraduate_rg_field">' +
            '<label class="prelabel">Angle:</label>' +
            '<label class="prelabel">角度:</label>' +
            '<div id="' + id + '_jGraduate_Angle" class="jGraduate_SliderBar jGraduate_Angle" title="Click to set Angle">' +
              '<img id="' + id + '_jGraduate_AngleArrows" class="jGraduate_AngleArrows" src="' + $settings.images.clientPath + 'rangearrows2.gif">' +
            '</div>' +
            '<label><input type="text" id="' + id + '_jGraduate_AngleInput" size="3" value="0"/>º&nbsp;</label>' + 
                '</div>' +
                '<div class="jGraduate_Slider jGraduate_OpacField">' +
            '<label class="prelabel">Opac:</label>' +
            '<label class="prelabel">透明度:</label>' +
            '<div id="' + id + '_jGraduate_Opac" class="jGraduate_SliderBar jGraduate_Opac" title="Click to set Opac">' +
              '<img id="' + id + '_jGraduate_OpacArrows" class="jGraduate_OpacArrows" src="' + $settings.images.clientPath + 'rangearrows2.gif">' +
            '</div>' +
web/public/SVGOrigin/Method-Draw-master/editor/src/method-draw.js
@@ -29,7 +29,7 @@
    var is_ready = false;
    curConfig = {
      canvas_expansion: 1,
      dimensions: [580,400],
      dimensions: [200,200],
      initFill: {color: 'fff', opacity: 1},
      initStroke: {width: 1.5, color: '000', opacity: 1},
      initOpacity: 1,
@@ -83,7 +83,7 @@
          "noteTheseIssues": "Also note the following issues: ",
          "unsavedChanges": "There are unsaved changes.",
          "enterNewLinkURL": "Enter the new hyperlink URL",
          "errorLoadingSVG": "Error: Unable to load SVG data",
          "errorLoadingSVG": "错误: 无法读取SVG数据",
          "URLloadFail": "Unable to load from URL",
          "retrieving": 'Retrieving "%s" ...'
        }
@@ -4046,8 +4046,10 @@
      is_ready = true;
      var data = window.parent.document.getElementById("svgContentId").value
      svgCanvas.clear()
      if(data){
      window.methodDraw.loadSvgString(data)
      window.methodDraw.updateCanvas()
      }
      // alert(data+'inputValue')
    };
web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue
@@ -114,8 +114,9 @@
      async uploadSvgContent(event) {
        const iframeWindow = this.$refs.myIframe.contentWindow
        const file = event.target.files[0];
        console.log(file,'file file')
        // 可以在这里进行进一步的文件处理,比如读取文件内容等操作
        if (file) {
        if (file && file.type==='image/svg+xml') {
          const reader = new FileReader();
          reader.onload = (e) => {
            const fileContent = e.target.result;
@@ -123,6 +124,9 @@
            iframeWindow.setSvgContent(fileContent)
          }
          reader.readAsText(file); // 以文本形式读取文件内容
        }else {
          this.$message({message: '请选择SVG图片', type: 'warning'})
          return false; // 取消操作
        }
        // iframeWindow.setSvgContent(data)
        // 使用form表单的数据格式