liuyg
2021-06-30 1b22efb7fa9d35c531e5f4ff2e6d600c23a6546d
widgets/crossTailoring/Widget.html
@@ -1,44 +1,45 @@
<div>
    crossTailoring
    <div id="toolbar" class="params-setting-container">
        <div class="params-setting-anchor" title="显示/隐藏参数面板"><span class="fui-expand"></span></div>
    <div id="heardbarcrossTailoring"> <span>Cross裁剪-</span> <span id="namebarcrossTailoring">name</span> </div>
    <!-- crossTailoring -->
    <div id="toolbarcrossTailoring" class="params-setting-container">
        <!-- <div class="params-setting-anchor" title="显示/隐藏参数面板"><span class="fui-expand"></span></div> -->
        <div class="params-setting">
            <table>
                <tbody>
                    <tr>
                        <td><label>裁剪宽度:</label></td>
                        <td>
                            <input type="range" id="clip-width" min="1" max="100" step="1" data-bind="value: width, valueUpdate: 'input'">
                            <div class="sliders" id="widthcrossTailoring"></div>
                        </td>
                        <td>
                            <input type="number" id="clip-width-label" min="1" max="100" step="1" data-bind="value: width, valueUpdate: 'input'" />
                            <input readonly="readonly" class="slidersNum" type="text" id="clip-width-label" />
                        </td>
                    </tr>
                    <tr>
                        <td><label>裁剪高度:</label></td>
                        <td>
                            <input type="range" id="clip-height" min="1" max="100" step="1" data-bind="value: height, valueUpdate: 'input'">
                            <div class="sliders" id="heightcrossTailoring"></div>
                        </td>
                        <td>
                            <input type="number" id="clip-height-label" min="1" max="100" step="1" data-bind="value: height, valueUpdate: 'input'" />
                            <input readonly="readonly" class="slidersNum" type="text" id="clip-height-label" />
                        </td>
                    </tr>
                    <tr>
                        <td><label>绕X轴旋转:</label></td>
                        <td>
                            <input id="pitch" type="range" min="0" max="360" step="1.0" data-bind="value: pitch, valueUpdate: 'input'">
                            <div class="sliders" id="pitchcrossTailoring"></div>
                        </td>
                        <td>
                            <input type="number" min="0" max="360" step="1" data-bind="value: pitch, valueUpdate: 'input'">
                            <input readonly="readonly" class="slidersNum" type="text" id="clip-pitch-label" />
                        </td>
                    </tr>
                    <tr>
                        <td><label>绕Y轴旋转:</label></td>
                        <td>
                            <input id="roll" type="range" min="0" max="360" step="1.0" data-bind="value: roll, valueUpdate: 'input'">
                            <div class="sliders" id="rollcrossTailoring"></div>
                        </td>
                        <td>
                            <input type="number" min="0" max="360" step="1.0" data-bind="value: roll, valueUpdate: 'input'">
                            <input readonly="readonly" class="slidersNum" type="text" id="clip-roll-label" />
                        </td>
                    </tr>
                    <tr>
@@ -46,25 +47,27 @@
                            <label>绕Z轴旋转:</label>
                        </td>
                        <td>
                            <input id="heading" type="range" min="0" max="360" step="1.0" data-bind="value: heading, valueUpdate: 'input'">
                            <div class="sliders" id="headingcrossTailoring"></div>
                        </td>
                        <td>
                            <input type="number" min="0" max="360" step="1.0" data-bind="value: heading, valueUpdate: 'input'">
                            <input readonly="readonly" class="slidersNum" type="text" id="clip-heading-label" />
                        </td>
                    </tr>
                    <tr>
                        <td><label>拉伸:</label></td>
                        <td>
                            <input id="extrude" type="range" min="0.1" max="30" step="0.1" data-bind="value: extrudeDistance, valueUpdate: 'input'">
                            <div class="sliders" id="extrudecrossTailoring"></div>
                        </td>
                        <td>
                            <input type="number" min="0.1" max="30" step="0.5" data-bind="value: extrudeDistance, valueUpdate: 'input'">
                            <input readonly="readonly" class="slidersNum" type="text" id="clip-extrude-label" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3">
                            <input type="button" id="choose-clip-pos" class="button black" value="选取裁剪位置" />
                            <input type="button" id="clear" class="button black" value="清除" style="margin-left: 10px;" />
                            <input type="button" id="choose-clip-poscrossTailoring" class="button black"
                                value="选取裁剪位置" />
                            <input type="button" id="clearcrossTailoring" class="button black" value="清除"
                                style="margin-left: 10px;" />
                        </td>
                    </tr>
                </tbody>