import { c as n, e as r } from "./utils-4kGecFw2.js";
import { _ as t, a as e } from "./record-WJfBn7Fn.js";
import { _ as i } from "./mount_head-c1OIlkSj.js";
import { n as o, c as a } from "./index-BcLRpF0n.js";
import "./index-YqpN0yec.js";
import "./index-CZypPRsn.js";
import "vue";
import "vue-clipboard2";
import "interactjs";
import "prismjs";
import "prismjs/themes/prism-okaidia.css";
import "@liveqing/liveplayer";
import "jquery";
import "mqtt/dist/mqtt";
import "vuex";
import "axios";
import "element-ui";
import "vue-router";
import "moment";
import "terraformer-wkt-parser";
import "dayjs";
import "file-saver";
import "nanoid";
import "jspack";
import "recorder-core";
import "recorder-core/src/engine/mp3";
import "recorder-core/src/engine/mp3-engine";
import "recorder-core/src/engine/pcm";
import "js-base64";
import "element-ui/lib/theme-chalk/index.css";
var s = {
  props: {
    containerStyle: {
      type: Object,
      "default": function _default() {
        return {};
      }
    },
    position: {
      type: Object,
      "default": function _default() {
        return {};
      }
    },
    device: {
      type: Object,
      "default": function _default() {
        return {};
      }
    },
    payload: {
      type: Array,
      "default": function _default() {
        return [];
      }
    },
    selected_mount: {
      type: Object,
      "default": function _default() {
        return {};
      }
    },
    moveType: {
      type: String,
      "default": function _default() {
        return "";
      }
    }
  },
  data: function data() {
    return {
      holderModelDomV2: 1,
      radio: 1,
      value: 25,
      value2: 25,
      control_speed: 3,
      ptz_mode: 0,
      zoom: 1,
      juj: 1,
      pitch: 0,
      yaw: 0,
      camera_mode: 0,
      record: !1,
      dj_mode: 0,
      regList: [{
        val: "复位",
        num: 0
      }, {
        val: "30",
        num: -30
      }, {
        val: "60",
        num: -60
      }, {
        val: "90",
        num: -90
      }],
      drd: {
        dj_mode: [{
          id: 0,
          label: "关闭"
        }, {
          id: 1,
          label: "打开"
        }],
        ptz_mode: [{
          id: 0,
          label: "锁定"
        }, {
          id: 1,
          label: "跟随"
        }, {
          id: 2,
          label: "回中"
        }],
        camera_mode: [{
          id: 0,
          label: "录像"
        }, {
          id: 2,
          label: "拍照"
        }]
      },
      timer: null,
      holderModelDom: 0,
      activeBox3: 0,
      click_mode_status: 1,
      IAMODE: 0,
      Gtimer: null
    };
  },
  watch: {
    payload: {
      handler: function handler(n) {
        this.resolve_payload(n);
      },
      deep: !0
    }
  },
  beforeDestroy: function beforeDestroy() {},
  mounted: function mounted() {
    var _this = this;
    this.ia_mode(0), this.$nextTick(function () {
      _this.init_rocker();
    }), this.tatrack_Model(0);
  },
  methods: {
    handle_change_dj_mode: function handle_change_dj_mode(n) {},
    tatrack_switch: function tatrack_switch(r) {
      var t = new Array(165, 10, 3, 0, 0);
      t[3] = r, t[4] = n(t), window.tatrack_AI_status = r, this.commit_directive(t);
    },
    tatrack_Model: function tatrack_Model(n) {
      var _this2 = this;
      0 == n ? (window.click_mode_status = 1, this.tatrack_switch(n)) : 2 == n ? (this.tatrack_switch(n), window.click_mode_status = 3, setTimeout(function () {
        _this2.tatrack_switch(5);
      }, 100)) : 6 == n && (this.tatrack_switch(3), setTimeout(function () {
        _this2.tatrack_switch(n);
      }, 100)), this.holderModelDom = n;
    },
    hand: function hand(n, r) {
      0 == r ? (this.activeBox3 = 0, this.click_mode_status = n) : 2 == r && (this.activeBox3 = 2, this.click_mode_status = n), this.ia_mode(0);
    },
    ia_mode: function ia_mode(r) {
      var t = new Array(165, 22, 3, 0, 0);
      t[3] = r, t[4] = n(t), this.commit_directive(t), this.IAMODE = r;
    },
    onChangezoom: function onChangezoom(n) {
      this.value2 < this.value ? this.handle_zoom(1) : this.value2 > this.value && this.handle_zoom(-1), this.value2 = n;
    },
    stopChange: function stopChange() {
      this.value = 25, this.value2 = 25;
      var n = r.zoom(this.zoom = 1);
      this.commit_directive(n);
    },
    stopjujiao: function stopjujiao() {
      this.value = 25, this.value2 = 25;
      var n = r.ju(this.juj = 1);
      this.commit_directive(n);
    },
    resolve_payload: function resolve_payload(r) {
      var t = new Uint8Array(r);
      if (165 === t[0] && n(t) === t[t.length - 1]) switch (t[1]) {
        case 1:
          this.msg_key_status1(t);
          break;
        case 248:
          this.gcs_button_ctrl(t);
      }
    },
    gcs_button_ctrl: function gcs_button_ctrl(n) {
      var r = n[3],
        t = n[4];
      if (4 === r) this.gimbal_mode_ctrl(t);
    },
    msg_key_status1: function msg_key_status1(n) {
      this.gimbal_mode_ctrl(3 & n[7]);
    },
    gimbal_mode_ctrl: function gimbal_mode_ctrl(n) {
      this.ptz_mode = n;
    },
    handle_change_ptz_mode: function handle_change_ptz_mode(n) {
      this.holderModelDomV2 = n;
      var t = r.gimbal_mode_ctrl(n);
      this.commit_directive(t);
    },
    handle_zoom: function handle_zoom(n) {
      var t = r.zoom(this.zoom + n);
      this.commit_directive(t);
    },
    jujiao: function jujiao(n) {
      var t = r.ju(this.juj + n);
      this.commit_directive(t);
    },
    handle_change_pitch: function handle_change_pitch(n) {
      this.pitch = n;
      var t = r.change_pitch_angle(this.pitch);
      this.commit_directive(t);
    },
    handle_change_yaw: function handle_change_yaw() {
      var n = r.change_yaw_angle(this.yaw);
      this.commit_directive(n);
    },
    handle_change_camera_mode: function handle_change_camera_mode(n) {
      var t = r.camera_mode_ctrl(n);
      this.commit_directive(t);
    },
    handle_take_photo: function handle_take_photo() {
      var n = this.position,
        t = r.take_photo(n || {});
      this.commit_directive(t), this.$emit("take_photo", "MMC_Gimbal_Z40S");
    },
    handle_record: function handle_record() {
      this.record = !this.record;
      var n = r.record(this.record);
      this.commit_directive(n);
    },
    commit_directive: function commit_directive(n) {
      this.$emit("directive", n);
    },
    fangxiang: function fangxiang(n) {
      var t = null;
      switch (n) {
        case "up":
          t = r.gimbal_pitch_ctrl(1, this.control_speed), this.commit_directive(t);
          break;
        case "left":
          t = r.gimbal_yaw_ctrl(1, this.control_speed), this.commit_directive(t);
          break;
        case "right":
          t = r.gimbal_yaw_ctrl(-1, this.control_speed), this.commit_directive(t);
          break;
        case "down":
          t = r.gimbal_pitch_ctrl(-1, this.control_speed), this.commit_directive(t);
      }
    },
    stopfxFn: function stopfxFn() {
      var n = null;
      n = r.gimbal_pitch_ctrl(0, this.control_speed), this.commit_directive(n), n = r.gimbal_yaw_ctrl(0, this.control_speed), this.commit_directive(n);
    },
    init_rocker: function init_rocker() {
      var _this3 = this;
      var n = null;
      joystick({
        onstart: function onstart(t) {
          switch (t) {
            case "up":
              n = r.gimbal_pitch_ctrl(1, _this3.control_speed), _this3.commit_directive(n);
              break;
            case "right":
              n = r.gimbal_yaw_ctrl(1, _this3.control_speed), _this3.commit_directive(n);
              break;
            case "left":
              n = r.gimbal_yaw_ctrl(-1, _this3.control_speed), _this3.commit_directive(n);
              break;
            case "down":
              n = r.gimbal_pitch_ctrl(-1, _this3.control_speed), _this3.commit_directive(n);
          }
        },
        onend: function onend() {
          n = r.gimbal_pitch_ctrl(0, _this3.control_speed), _this3.commit_directive(n), n = r.gimbal_yaw_ctrl(0, _this3.control_speed), _this3.commit_directive(n);
        }
      });
    }
  }
};
var c = function c() {
    var n = this,
      r = n.$createElement,
      i = n._self._c || r;
    return i("div", {
      staticClass: "cpt-MMC_Gimbal_Z40",
      style: n.containerStyle
    }, [i("div", {
      directives: [{
        name: "interact",
        rawName: "v-interact"
      }],
      staticClass: "hd"
    }, [n._m(0), n._v(" "), i("div", {
      staticClass: "close",
      on: {
        click: function click(r) {
          return n.$emit("close");
        }
      }
    }, [n._v("关闭")])]), n._v(" "), i("div", {
      staticClass: "bd"
    }, [i("div", {
      staticClass: "form-wrap"
    }, [i("div", {
      staticClass: "form-item"
    }, [i("div", {
      staticClass: "label-box"
    }, [n._v("控制速度")]), n._v(" "), i("div", {
      staticClass: "input-box"
    }, [i("div", {
      staticClass: "speedC"
    }, n._l(new Array(5).fill(1), function (r, t) {
      return i("div", {
        key: t,
        staticClass: "speed",
        style: n.control_speed == t + 1 ? "background: #FFFFFF;color: #333333;" : "",
        on: {
          click: function click(r) {
            n.control_speed = t + 1;
          }
        }
      }, [n._v("\n              " + n._s(t + 1) + "\n            ")]);
    }), 0)])]), n._v(" "), i("div", {
      staticClass: "form-item"
    }, [i("div", {
      staticClass: "label-box"
    }, [n._v("云台模式")]), n._v(" "), i("div", {
      staticClass: "input-box"
    }, [i("div", {
      staticClass: "mono"
    }, [i("div", {
      staticClass: "mono-long"
    }, [i("div", {
      staticClass: "mono-left mono_box",
      "class": {
        active: 0 == n.holderModelDomV2
      },
      on: {
        click: function click(r) {
          return n.handle_change_ptz_mode(0);
        }
      }
    }), n._v(" "), i("div", {
      staticClass: "mono-middle mono_box",
      "class": {
        active: 1 == n.holderModelDomV2
      },
      on: {
        click: function click(r) {
          return n.handle_change_ptz_mode(1);
        }
      }
    }), n._v(" "), i("div", {
      staticClass: "mono-right mono_box",
      "class": {
        active: 2 == n.holderModelDomV2
      },
      on: {
        click: function click(r) {
          return n.handle_change_ptz_mode(2);
        }
      }
    })]), n._v(" "), n._m(1)])])]), n._v(" "), i("div", {
      staticClass: "form-item"
    }, [i("div", {
      staticClass: "label-box"
    }, [n._v("视频指点")]), n._v(" "), i("div", {
      staticClass: "input-box"
    }, [i("el-radio-group", {
      on: {
        change: n.handle_change_dj_mode
      },
      model: {
        value: n.dj_mode,
        callback: function callback(r) {
          n.dj_mode = r;
        },
        expression: "dj_mode"
      }
    }, n._l(n.drd.dj_mode, function (r) {
      return i("el-radio", {
        key: r.id,
        attrs: {
          size: "mini",
          label: r.id
        }
      }, [n._v(n._s(r.label))]);
    }), 1)], 1)]), n._v(" "), i("div", {
      staticClass: "form_item"
    }, [i("span", {
      staticClass: "form_item_title"
    }, [n._v("跟踪模式")]), n._v(" "), i("div", [i("div", {
      staticClass: "mono-long"
    }, [i("div", {
      staticClass: "mono-left mono_box",
      "class": {
        activeG: 0 == n.holderModelDom
      },
      on: {
        click: function click(r) {
          return n.tatrack_Model(0);
        }
      }
    }), n._v(" "), i("div", {
      staticClass: "mono-middle mono_box",
      "class": {
        activeG: 2 == n.holderModelDom
      },
      on: {
        click: function click(r) {
          return n.tatrack_Model(2);
        }
      }
    }), n._v(" "), i("div", {
      staticClass: "mono-right mono_box",
      "class": {
        activeG: 6 == n.holderModelDom
      },
      on: {
        click: function click(r) {
          return n.tatrack_Model(6);
        }
      }
    })]), n._v(" "), n._m(2)])]), n._v(" "), i("div", {
      staticClass: "form_item"
    }, [i("div", {
      staticClass: "form_item_title"
    }, [n._v("点       击")]), n._v(" "), i("div", {
      staticClass: "form_item"
    }, [i("div", [i("div", {
      staticClass: "mono-short"
    }, [i("div", {
      staticClass: "mono-left mono_box",
      "class": {
        active: 0 == n.activeBox3
      },
      on: {
        click: function click(r) {
          return n.hand(1, 0);
        }
      }
    }), n._v(" "), i("div", {
      staticClass: "mono-right mono_box",
      "class": {
        active: 2 == n.activeBox3
      },
      on: {
        click: function click(r) {
          return n.hand(6, 2);
        }
      }
    })]), n._v(" "), n._m(3)])])]), n._v(" "), i("div", {
      staticClass: "form-item"
    }, [i("div", {
      staticClass: "label-box"
    }, [n._v("变       焦")]), n._v(" "), i("div", {
      staticClass: "input-box"
    }, [i("div", {
      staticClass: "mr10",
      staticStyle: {
        cursor: "pointer"
      },
      on: {
        mousedown: function mousedown(r) {
          return n.handle_zoom(-1);
        },
        mouseup: n.stopChange,
        mouseout: n.stopChange
      }
    }, [i("span", {
      staticClass: "iconfont icon-shanchu3"
    })]), n._v(" "), i("el-slider", {
      staticStyle: {
        width: "10px"
      },
      attrs: {
        max: 50,
        min: 0,
        "show-tooltip": !1,
        disabled: ""
      },
      on: {
        change: n.stopChange,
        input: n.onChangezoom
      },
      model: {
        value: n.value,
        callback: function callback(r) {
          n.value = r;
        },
        expression: "value"
      }
    }), n._v(" "), i("div", {
      staticClass: "ml10",
      staticStyle: {
        cursor: "pointer"
      },
      on: {
        mousedown: function mousedown(r) {
          return n.handle_zoom(1);
        },
        mouseup: n.stopChange,
        mouseout: n.stopChange
      }
    }, [i("span", {
      staticClass: "iconfont icon-tianjia1"
    })])], 1)]), n._v(" "), i("div", {
      staticClass: "form-item"
    }, [i("div", {
      staticClass: "label-box"
    }, [n._v("聚       焦")]), n._v(" "), i("div", {
      staticClass: "input-box"
    }, [i("div", {
      staticClass: "mr10",
      staticStyle: {
        cursor: "pointer"
      },
      on: {
        mousedown: function mousedown(r) {
          return n.jujiao(-1);
        },
        mouseup: n.stopjujiao,
        mouseout: n.stopjujiao
      }
    }, [i("span", {
      staticClass: "iconfont icon-shanchu3"
    })]), n._v(" "), i("el-slider", {
      staticStyle: {
        width: "10px"
      },
      attrs: {
        max: 50,
        min: 0,
        "show-tooltip": !1,
        disabled: ""
      },
      on: {
        change: n.stopjujiao,
        input: n.onChangezoom
      },
      model: {
        value: n.value,
        callback: function callback(r) {
          n.value = r;
        },
        expression: "value"
      }
    }), n._v(" "), i("div", {
      staticClass: "ml10",
      staticStyle: {
        cursor: "pointer"
      },
      on: {
        mousedown: function mousedown(r) {
          return n.jujiao(1);
        },
        mouseup: n.stopjujiao,
        mouseout: n.stopjujiao
      }
    }, [i("span", {
      staticClass: "iconfont icon-tianjia1"
    })])], 1)]), n._v(" "), i("div", {
      staticClass: "form-item"
    }, [i("div", {
      staticClass: "label-box"
    }, [n._v("俯       仰")]), n._v(" "), i("div", {
      staticClass: "input-box"
    }, [i("div", {
      staticClass: "speedC"
    }, n._l(n.regList, function (r, t) {
      return i("div", {
        key: t,
        staticClass: "pitch",
        style: n.pitch == r.num ? "background: #FFFFFF;color: #333333;" : "",
        on: {
          click: function click(t) {
            return n.handle_change_pitch(r.num);
          }
        }
      }, [n._v("\n              " + n._s(r.val) + "\n            ")]);
    }), 0)])]), n._v(" "), i("div", {
      staticClass: "form-item"
    }, [i("div", {
      staticClass: "label-box"
    }, [n._v("航       向")]), n._v(" "), i("div", {
      staticClass: "input-box"
    }, [i("el-input", {
      attrs: {
        size: "mini",
        placeholder: "请输入航向"
      },
      model: {
        value: n.yaw,
        callback: function callback(r) {
          n.yaw = n._n(r);
        },
        expression: "yaw"
      }
    }), n._v(" "), i("span", {
      staticClass: "iconfont icon-shanchu3",
      on: {
        click: function click(r) {
          n.yaw--;
        }
      }
    }), n._v(" "), i("span", {
      staticClass: "iconfont icon-tianjia1 mr5 ml3",
      on: {
        click: function click(r) {
          n.yaw++;
        }
      }
    }), n._v(" "), i("div", {
      staticClass: "butto",
      attrs: {
        size: "mini",
        type: "primary"
      },
      on: {
        click: n.handle_change_yaw
      }
    }, [n._v("设置")])], 1)]), n._v(" "), i("div", {
      staticClass: "form-item"
    }, [i("div", {
      staticClass: "label-box"
    }, [n._v("相机模式")]), n._v(" "), i("div", {
      staticClass: "input-box"
    }, [i("el-radio-group", {
      on: {
        change: n.handle_change_camera_mode
      },
      model: {
        value: n.camera_mode,
        callback: function callback(r) {
          n.camera_mode = r;
        },
        expression: "camera_mode"
      }
    }, n._l(n.drd.camera_mode, function (r) {
      return i("el-radio", {
        key: r.id,
        attrs: {
          size: "mini",
          label: r.id
        }
      }, [n._v(n._s(r.label))]);
    }), 1)], 1)])]), n._v(" "), i("div", {
      staticClass: "rocker-wrap"
    }, [i("div", {
      staticClass: "item-group"
    }, [i("div", {
      staticClass: "item-box",
      on: {
        click: n.handle_take_photo
      }
    }, [i("el-tooltip", {
      staticClass: "item",
      attrs: {
        effect: "dark",
        content: "拍照",
        placement: "top"
      }
    }, [i("div", {
      staticClass: "icon-box"
    }, [i("img", {
      attrs: {
        src: t,
        alt: ""
      }
    })])])], 1), n._v(" "), i("div", {
      staticClass: "item-box",
      on: {
        click: n.handle_record
      }
    }, [i("el-tooltip", {
      staticClass: "item",
      attrs: {
        effect: "dark",
        content: "录像",
        placement: "top"
      }
    }, [i("div", {
      staticClass: "icon-box"
    }, [i("img", {
      attrs: {
        src: e,
        alt: ""
      }
    })])])], 1)]), n._v(" "), i("div", {
      ref: "rocker",
      staticClass: "rocker"
    }, [i("div", {
      staticClass: "shangUp",
      on: {
        mousedown: function mousedown(r) {
          return n.fangxiang("up");
        },
        mouseup: n.stopfxFn,
        mouseout: n.stopfxFn
      }
    }), n._v(" "), i("div", {
      staticClass: "xaiUp",
      on: {
        mousedown: function mousedown(r) {
          return n.fangxiang("down");
        },
        mouseup: n.stopfxFn,
        mouseout: n.stopfxFn
      }
    }), n._v(" "), i("div", {
      staticClass: "zuoUp",
      on: {
        mousedown: function mousedown(r) {
          return n.fangxiang("right");
        },
        mouseup: n.stopfxFn,
        mouseout: n.stopfxFn
      }
    }), n._v(" "), i("div", {
      staticClass: "youUp",
      on: {
        mousedown: function mousedown(r) {
          return n.fangxiang("left");
        },
        mouseup: n.stopfxFn,
        mouseout: n.stopfxFn
      }
    })])])])]);
  },
  l = [function () {
    var n = this,
      r = n.$createElement,
      t = n._self._c || r;
    return t("div", {
      staticClass: "left ml8"
    }, [t("img", {
      attrs: {
        src: i
      }
    }), n._v(" "), t("div", {
      staticClass: "title"
    }, [n._v("高清变焦相机Z40S")])]);
  }, function () {
    var n = this,
      r = n.$createElement,
      t = n._self._c || r;
    return t("div", {
      staticClass: "text"
    }, [t("div", {
      staticClass: "text-left"
    }, [n._v("锁定")]), n._v(" "), t("div", {
      staticClass: "text-right"
    }, [n._v("跟随")]), n._v(" "), t("div", {
      staticClass: "text-right"
    }, [n._v("回中")])]);
  }, function () {
    var n = this,
      r = n.$createElement,
      t = n._self._c || r;
    return t("div", {
      staticClass: "text"
    }, [t("div", {
      staticClass: "text-left"
    }, [n._v("移动")]), n._v(" "), t("div", {
      staticClass: "text-right"
    }, [n._v("跟踪")]), n._v(" "), t("div", {
      staticClass: "text-right"
    }, [n._v("AI")])]);
  }, function () {
    var n = this,
      r = n.$createElement,
      t = n._self._c || r;
    return t("div", {
      staticClass: "jcsb cf ziticolor"
    }, [t("div", {
      staticClass: "text-left"
    }, [n._v("移动")]), n._v(" "), t("div", {
      staticClass: "text-rights"
    }, [n._v("聚焦")])]);
  }];
c._withStripped = !0;
var A = o({
  render: c,
  staticRenderFns: l
}, function (n) {
  n && n("data-v-53c365ce_0", {
    source: '.cpt-MMC_Gimbal_Z40[data-v-53c365ce] {\n  position: absolute;\n  right: 0;\n  top: 0;\n  background: rgba(0, 23, 79, 0.7);\n  box-shadow: 0 2px 4px 0 rgba(1, 162, 255, 0.35), inset 0 0 40px 0 rgba(0, 184, 255, 0.5);\n  border-radius: 10px;\n  width: 500px;\n  box-sizing: border-box;\n}\n.cpt-MMC_Gimbal_Z40 .hd[data-v-53c365ce] {\n  height: 32px;\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  background: rgba(16, 65, 215, 0.2);\n  box-shadow: inset 0 0 15px 0 rgba(0, 182, 255, 0.6);\n  border-radius: 10px 10px 0 0;\n}\n.cpt-MMC_Gimbal_Z40 .hd .left[data-v-53c365ce] {\n  display: flex;\n  align-items: center;\n}\n.cpt-MMC_Gimbal_Z40 .hd .left .title[data-v-53c365ce] {\n  font-size: 20px;\n  font-family: YouSheBiaoTiHei;\n  color: #14faff;\n  line-height: 26px;\n  text-shadow: 0px 1px 1px rgba(2, 32, 56, 0.2);\n  background: linear-gradient(135deg, #e3aa77 0%, #f5cda9 38%, #f9ecd3 58%, #fcdbb1 79%, #edb07a 100%);\n  -webkit-background-clip: text;\n  -webkit-text-fill-color: transparent;\n}\n.cpt-MMC_Gimbal_Z40 .hd .close[data-v-53c365ce] {\n  font-size: 14px;\n  font-family: MicrosoftYaHei;\n  color: #d2dfff;\n  margin-right: 8px;\n  cursor: pointer;\n}\n.cpt-MMC_Gimbal_Z40 .bd[data-v-53c365ce] {\n  padding: 10px 20px;\n  display: flex;\n  justify-content: space-between;\n  height: 234px;\n  overflow-y: auto;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap[data-v-53c365ce] {\n  flex-shrink: 0;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item[data-v-53c365ce] {\n  display: flex;\n  align-items: center;\n  height: 40px;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item .label-box[data-v-53c365ce] {\n  color: #cbd0eb;\n  width: 75px;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item .input-box[data-v-53c365ce] {\n  display: flex;\n  align-items: center;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item .input-box .mono[data-v-53c365ce] {\n  display: flex;\n  flex-direction: column;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item .input-box .mono .mono-long[data-v-53c365ce] {\n  display: flex;\n  justify-content: space-between;\n  width: 168px;\n  height: 17px;\n  background: url("../assets/images/mount_long.png") no-repeat;\n  background-size: 100%;\n  margin-bottom: 5px;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item .input-box .mono .mono-long .mono_box[data-v-53c365ce] {\n  width: 28px;\n  height: 13px;\n  border-radius: 3px;\n  margin-top: 2px;\n  cursor: pointer;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item .input-box .mono .mono-long .active[data-v-53c365ce] {\n  background: url("../assets/images/mount/mount_control.png") no-repeat !important;\n  background-size: 100% 100%;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item .input-box .mono .text[data-v-53c365ce] {\n  font-size: 14px;\n  font-family: MicrosoftYaHei;\n  color: #ffffff;\n  display: flex;\n  justify-content: space-between;\n  font-size: 14px;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap[data-v-53c365ce] {\n  flex: 1;\n  margin: auto;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .item-group[data-v-53c365ce] {\n  display: flex;\n  justify-content: space-evenly;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .item-group .item-box .icon-box[data-v-53c365ce] {\n  width: 32px;\n  height: 32px;\n  background: #000;\n  border-radius: 32px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .item-group .item-box .icon-box .iconfont[data-v-53c365ce] {\n  font-size: 24px;\n  color: #dce9ff;\n  cursor: pointer;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .rocker[data-v-53c365ce] {\n  margin: 10px auto 0;\n  width: 150px;\n  height: 150px;\n  position: relative;\n  margin: 0 auto;\n  background: center url("../assets/images/accident/caozuo.png") no-repeat;\n  background-size: 100% 100%;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .rocker .shangUp[data-v-53c365ce] {\n  position: absolute;\n  left: 37%;\n  top: 4px;\n  border-radius: 50%;\n  width: 40px;\n  height: 40px;\n  border: 0px solid red;\n  cursor: pointer;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .rocker .xaiUp[data-v-53c365ce] {\n  position: absolute;\n  left: 37%;\n  bottom: 4px;\n  border-radius: 50%;\n  width: 40px;\n  height: 40px;\n  border: 0px solid red;\n  cursor: pointer;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .rocker .zuoUp[data-v-53c365ce] {\n  position: absolute;\n  left: 4px;\n  top: 37%;\n  border-radius: 50%;\n  width: 40px;\n  height: 40px;\n  border: 0px solid red;\n  cursor: pointer;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .rocker .youUp[data-v-53c365ce] {\n  position: absolute;\n  right: 4px;\n  top: 37%;\n  border-radius: 50%;\n  width: 40px;\n  height: 40px;\n  border: 0px solid red;\n  cursor: pointer;\n}\n[data-v-53c365ce] .el-select {\n  width: 165px;\n  margin-right: 5px;\n}\n[data-v-53c365ce] .el-select .el-input .el-input__inner {\n  background: #000000;\n  border: 1px solid #004fff;\n  color: #dce9ff;\n}\n[data-v-53c365ce] .el-input {\n  width: 165px;\n  margin-right: 5px;\n}\n[data-v-53c365ce] .el-input .el-input__inner {\n  background: #000000;\n  border: 1px solid #004fff;\n  color: #dce9ff;\n}\n[data-v-53c365ce] .el-radio-group .el-radio .el-radio__input.is-checked .el-radio__inner {\n  border-color: #004fff;\n  background: #004fff;\n}\n[data-v-53c365ce] .el-radio-group .el-radio .el-radio__label {\n  color: #cbd0eb;\n}\n[data-v-53c365ce] .butto {\n  width: 35px;\n  height: 25px;\n  font-size: 12px;\n  line-height: 25px;\n  text-align: center;\n  background: #004fff;\n  color: #000;\n  border-radius: 5px;\n}\n[data-v-53c365ce] .el-button {\n  background: #2aefed;\n  color: #000;\n  border: none;\n}\n[data-v-53c365ce] .el-slider__bar {\n  background: #fff;\n}\n.speedC[data-v-53c365ce] {\n  width: 203px;\n  height: 24px;\n  display: flex;\n  background: rgba(13, 34, 79, 0.65);\n  border: 1px solid #004fff;\n  border-radius: 12px;\n}\n.speedC .speed[data-v-53c365ce] {\n  width: 41px;\n  color: #ffffff;\n  border-radius: 12px;\n  text-align: center;\n  line-height: 24px;\n}\n.iconfont[data-v-53c365ce] {\n  color: #004fff;\n}\n[data-v-53c365ce] .el-slider__runway {\n  visibility: hidden;\n}\n.form_item[data-v-53c365ce] {\n  display: flex;\n  color: #cbd0eb;\n}\n.form_item .form_item_title[data-v-53c365ce] {\n  width: 85px;\n}\n.form_item .mono_box[data-v-53c365ce] {\n  width: 28px;\n  height: 13px;\n  border-radius: 3px;\n  margin-top: 2px;\n  cursor: pointer;\n}\n.form_item .active[data-v-53c365ce] {\n  background: url("../assets/images/mount/mount_control.png") no-repeat !important;\n  background-size: 100% 100%;\n}\n.form_item .mono-short[data-v-53c365ce],\n.form_item .mono-long[data-v-53c365ce],\n.form_item .slider[data-v-53c365ce],\n.form_item .text[data-v-53c365ce] {\n  display: flex;\n  justify-content: space-between;\n  font-size: 14px;\n}\n.form_item .mono-left[data-v-53c365ce] {\n  margin-left: 2px;\n}\n.form_item .mono-right[data-v-53c365ce] {\n  margin-right: 2px;\n}\n.form_item .mono-short[data-v-53c365ce] {\n  width: 111px;\n  height: 17px;\n  background: url("../assets/images/mount_short.png") no-repeat;\n  background-size: 100%;\n  margin-bottom: 5px;\n}\n.form_item .mono-long[data-v-53c365ce] {\n  width: 168px;\n  height: 17px;\n  background: url("../assets/images/mount_long.png") no-repeat;\n  background-size: 100%;\n  margin-bottom: 5px;\n}\n.form_item .imgs[data-v-53c365ce] {\n  margin-top: 10px;\n  display: flex;\n  justify-content: space-between;\n}\n.form_item .imgs > img[data-v-53c365ce] {\n  cursor: pointer;\n  width: 32px;\n  height: 32px;\n}\n.form_item .imgs > img[data-v-53c365ce]:hover {\n  opacity: 0.7;\n}\n.form_item .slider_box[data-v-53c365ce] {\n  width: 140px;\n  margin: -7px 5px 0;\n}\n.form_item .symbol[data-v-53c365ce] {\n  box-sizing: border-box;\n  border-radius: 50%;\n  border: 1px solid #004fff;\n  width: 24px;\n  height: 24px;\n  line-height: 20px;\n  text-align: center;\n  cursor: pointer;\n  font-size: 20px;\n  padding-left: 1px;\n}\n.form_item .symbol[data-v-53c365ce]:hover {\n  opacity: 0.7;\n}\n.img_bottom[data-v-53c365ce] {\n  display: flex;\n  width: 320px;\n  justify-content: space-between;\n}\n.img_bottom > img[data-v-53c365ce] {\n  cursor: pointer;\n  width: 130px;\n  height: 130px;\n}\n[data-v-53c365ce] .el-select,[data-v-53c365ce] .el-input {\n  width: 84px;\n  height: 24px;\n}\n[data-v-53c365ce] .el-input__inner {\n  width: 84px;\n  height: 24px;\n  background: rgba(13, 34, 79, 0.65);\n  border: 1px solid #004fff;\n  font-size: 14px;\n  font-family: PingFangSC-Regular, PingFang SC;\n  font-weight: 400;\n  color: #ffffff;\n}\n[data-v-53c365ce] .el-select .el-input .el-select__caret {\n  line-height: 26px;\n}\n[data-v-53c365ce] .el-input__suffix .el-input__suffix-inner .el-icon-circle-close:before {\n  line-height: 16px;\n  position: absolute;\n  top: 5px;\n  right: 3px;\n}\n[data-v-53c365ce] .el-button {\n  margin-left: 10px;\n  padding: 0;\n  background: #2aefed;\n  border-radius: 2px;\n  width: 43px;\n  height: 24px;\n  outline: none;\n  color: #000000;\n  border: none;\n}\n[data-v-53c365ce] .el-button:hover {\n  opacity: 0.7;\n}\n.text-right[data-v-53c365ce] {\n  width: 30px;\n}\n.activeG[data-v-53c365ce] {\n  background: url("../assets/images/mount/mount_control.png") no-repeat !important;\n  background-size: 100% 100%;\n}\n.ziticolor[data-v-53c365ce] {\n  color: #dce9ff;\n  font-size: 14px;\n}\n\n/*# sourceMappingURL=index.vue.map */',
    map: {
      version: 3,
      sources: ["E:\\work\\standardization\\mmc-stl-module\\src\\components\\MMCFlightControlCenter\\components\\mount\\MMC_Gimbal_Z40S\\index.vue", "index.vue"],
      names: [],
      mappings: "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",
      file: "index.vue",
      sourcesContent: ['\x3c!-- 挂载--Z40S fckernel1027 --\x3e\r\n<template>\r\n  <div class="cpt-MMC_Gimbal_Z40" :style="containerStyle">\r\n    <div v-interact class="hd">\r\n      <div class="left ml8">\r\n        <img src="../assets/images/mount/mount_head.png" />\r\n        <div class="title">高清变焦相机Z40S</div>\r\n      </div>\r\n      <div class="close" @click="$emit(\'close\')">关闭</div>\r\n    </div>\r\n    <div class="bd">\r\n      <div class="form-wrap">\r\n        <div class="form-item">\r\n          <div class="label-box">控制速度</div>\r\n          <div class="input-box">\r\n            <div class="speedC">\r\n              <div\r\n                v-for="(item, index) in new Array(5).fill(1)"\r\n                :key="index"\r\n                class="speed"\r\n                :style="control_speed == index + 1 ? \'background: #FFFFFF;color: #333333;\' : \'\'"\r\n                @click="control_speed = index + 1"\r\n              >\r\n                {{ index + 1 }}\r\n              </div>\r\n            </div>\r\n            \x3c!-- <el-select\r\n              v-model="control_speed"\r\n              size="mini"\r\n              placeholder="请选择控制速度"\r\n            >\r\n              <el-option\r\n                v-for="(item, index) in new Array(5).fill(1)"\r\n                :key="index"\r\n                :label="index + 1"\r\n                :value="index + 1"\r\n              ></el-option>\r\n            </el-select>--\x3e\r\n          </div>\r\n        </div>\r\n        <div class="form-item">\r\n          <div class="label-box">云台模式</div>\r\n          <div class="input-box">\r\n            <div class="mono">\r\n              <div class="mono-long">\r\n                <div\r\n                  class="mono-left mono_box"\r\n                  :class="{ active: holderModelDomV2 == 0 }"\r\n                  @click="handle_change_ptz_mode(0)"\r\n                />\r\n                <div\r\n                  class="mono-middle mono_box"\r\n                  :class="{ active: holderModelDomV2 == 1 }"\r\n                  @click="handle_change_ptz_mode(1)"\r\n                />\r\n                <div\r\n                  class="mono-right mono_box"\r\n                  :class="{ active: holderModelDomV2 == 2 }"\r\n                  @click="handle_change_ptz_mode(2)"\r\n                />\r\n              </div>\r\n              <div class="text">\r\n                <div class="text-left">锁定</div>\r\n                <div class="text-right">跟随</div>\r\n                <div class="text-right">回中</div>\r\n              </div>\r\n            </div>\r\n            \x3c!-- <el-radio-group @change="handle_change_ptz_mode" v-model="ptz_mode">\r\n              <el-radio\r\n                size="mini"\r\n                v-for="item in drd.ptz_mode"\r\n                :key="item.id"\r\n                :label="item.id"\r\n                >{{ item.label }}</el-radio\r\n              >\r\n            </el-radio-group> --\x3e\r\n          </div>\r\n        </div>\r\n        <div class="form-item">\r\n          <div class="label-box">视频指点</div>\r\n          <div class="input-box">\r\n            <el-radio-group v-model="dj_mode" @change="handle_change_dj_mode">\r\n              <el-radio v-for="item in drd.dj_mode" :key="item.id" size="mini" :label="item.id">{{\r\n                item.label\r\n              }}</el-radio>\r\n            </el-radio-group>\r\n          </div>\r\n        </div>\r\n        <div class="form_item">\r\n          <span class="form_item_title">跟踪模式</span>\r\n          <div>\r\n            <div class="mono-long">\r\n              <div\r\n                class="mono-left mono_box"\r\n                :class="{ activeG: holderModelDom == 0 }"\r\n                @click="tatrack_Model(0)"\r\n              />\r\n              <div\r\n                class="mono-middle mono_box"\r\n                :class="{ activeG: holderModelDom == 2 }"\r\n                @click="tatrack_Model(2)"\r\n              />\r\n              <div\r\n                class="mono-right mono_box"\r\n                :class="{ activeG: holderModelDom == 6 }"\r\n                @click="tatrack_Model(6)"\r\n              />\r\n            </div>\r\n            <div class="text">\r\n              <div class="text-left">移动</div>\r\n              <div class="text-right">跟踪</div>\r\n              <div class="text-right">AI</div>\r\n            </div>\r\n          </div>\r\n        </div>\r\n        <div class="form_item">\r\n          <div class="form_item_title">点&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;击</div>\r\n          <div class="form_item">\r\n            <div>\r\n              <div class="mono-short">\r\n                <div\r\n                  class="mono-left mono_box"\r\n                  :class="{ active: activeBox3 == 0 }"\r\n                  @click="hand(1, 0)"\r\n                />\r\n                <div\r\n                  class="mono-right mono_box"\r\n                  :class="{ active: activeBox3 == 2 }"\r\n                  @click="hand(6, 2)"\r\n                />\r\n              </div>\r\n              <div class="jcsb cf ziticolor">\r\n                <div class="text-left">移动</div>\r\n                <div class="text-rights">聚焦</div>\r\n              </div>\r\n            </div>\r\n          </div>\r\n        </div>\r\n        <div class="form-item">\r\n          <div class="label-box">变&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;焦</div>\r\n          <div class="input-box">\r\n            <div\r\n              class="mr10"\r\n              style="cursor: pointer"\r\n              @mousedown="handle_zoom(-1)"\r\n              @mouseup="stopChange"\r\n              @mouseout="stopChange"\r\n            >\r\n              <span class="iconfont icon-shanchu3" />\r\n            </div>\r\n            \x3c!-- <el-button\r\n              @click="handle_zoom(-1)"\r\n              size="mini"\r\n              icon="el-icon-minus"\r\n              circle\r\n            ></el-button>--\x3e\r\n            <el-slider\r\n              v-model="value"\r\n              :max="50"\r\n              :min="0"\r\n              :show-tooltip="false"\r\n              style="width: 10px"\r\n              disabled\r\n              @change="stopChange"\r\n              @input="onChangezoom"\r\n            />\r\n            <div\r\n              class="ml10"\r\n              style="cursor: pointer"\r\n              @mousedown="handle_zoom(1)"\r\n              @mouseup="stopChange"\r\n              @mouseout="stopChange"\r\n            >\r\n              <span class="iconfont icon-tianjia1" />\r\n            </div>\r\n          </div>\r\n        </div>\r\n        <div class="form-item">\r\n          <div class="label-box">聚&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;焦</div>\r\n          <div class="input-box">\r\n            <div\r\n              class="mr10"\r\n              style="cursor: pointer"\r\n              @mousedown="jujiao(-1)"\r\n              @mouseup="stopjujiao"\r\n              @mouseout="stopjujiao"\r\n            >\r\n              <span class="iconfont icon-shanchu3" />\r\n            </div>\r\n            \x3c!-- <el-button\r\n              @click="handle_zoom(-1)"\r\n              size="mini"\r\n              icon="el-icon-minus"\r\n              circle\r\n            ></el-button>--\x3e\r\n            <el-slider\r\n              v-model="value"\r\n              :max="50"\r\n              :min="0"\r\n              :show-tooltip="false"\r\n              style="width: 10px"\r\n              disabled\r\n              @change="stopjujiao"\r\n              @input="onChangezoom"\r\n            />\r\n            <div\r\n              class="ml10"\r\n              style="cursor: pointer"\r\n              @mousedown="jujiao(1)"\r\n              @mouseup="stopjujiao"\r\n              @mouseout="stopjujiao"\r\n            >\r\n              <span class="iconfont icon-tianjia1" />\r\n            </div>\r\n          </div>\r\n        </div>\r\n        <div class="form-item">\r\n          <div class="label-box">俯&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;仰</div>\r\n          <div class="input-box">\r\n            <div class="speedC">\r\n              <div\r\n                v-for="(item, index) in regList"\r\n                :key="index"\r\n                class="pitch"\r\n                :style="pitch == item.num ? \'background: #FFFFFF;color: #333333;\' : \'\'"\r\n                @click="handle_change_pitch(item.num)"\r\n              >\r\n                {{ item.val }}\r\n              </div>\r\n            </div>\r\n            \x3c!-- <el-input\r\n              v-model.number="pitch"\r\n              size="mini"\r\n              placeholder="请输入俯仰"\r\n            />\r\n            <span class="iconfont icon-shanchu3" @click="pitch--"></span>\r\n            <span\r\n              class="iconfont icon-tianjia1 mr5 ml3"\r\n              @click="pitch++"\r\n            ></span>\r\n\r\n            <div class="butto" @click="handle_change_pitch" size="mini" type="primary"\r\n              >设置</div\r\n            > --\x3e\r\n          </div>\r\n        </div>\r\n        <div class="form-item">\r\n          <div class="label-box">航&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;向</div>\r\n          <div class="input-box">\r\n            <el-input v-model.number="yaw" size="mini" placeholder="请输入航向" />\r\n            <span class="iconfont icon-shanchu3" @click="yaw--" />\r\n            <span class="iconfont icon-tianjia1 mr5 ml3" @click="yaw++" />\r\n            \x3c!-- <el-button\r\n              @click="yaw--"\r\n              size="mini"\r\n              icon="el-icon-minus"\r\n              circle\r\n            ></el-button>\r\n            <el-button\r\n              @click="yaw++"\r\n              size="mini"\r\n              icon="el-icon-plus"\r\n              circle\r\n            ></el-button>--\x3e\r\n            <div class="butto" size="mini" type="primary" @click="handle_change_yaw">设置</div>\r\n          </div>\r\n        </div>\r\n        <div class="form-item">\r\n          <div class="label-box">相机模式</div>\r\n          <div class="input-box">\r\n            <el-radio-group v-model="camera_mode" @change="handle_change_camera_mode">\r\n              <el-radio\r\n                v-for="item in drd.camera_mode"\r\n                :key="item.id"\r\n                size="mini"\r\n                :label="item.id"\r\n                >{{ item.label }}</el-radio\r\n              >\r\n            </el-radio-group>\r\n          </div>\r\n        </div>\r\n      </div>\r\n      <div class="rocker-wrap">\r\n        <div class="item-group">\r\n          <div class="item-box" @click="handle_take_photo">\r\n            <el-tooltip class="item" effect="dark" content="拍照" placement="top">\r\n              <div class="icon-box">\r\n                \x3c!-- <span class="iconfont icon-paizhao1"></span> --\x3e\r\n                <img src="../assets/images/mount/photo.png" alt="" />\r\n              </div>\r\n            </el-tooltip>\r\n          </div>\r\n          <div class="item-box" @click="handle_record">\r\n            <el-tooltip class="item" effect="dark" content="录像" placement="top">\r\n              <div class="icon-box">\r\n                \x3c!-- <span class="iconfont icon-dandianshipin"></span> --\x3e\r\n                <img src="../assets/images/mount/record.png" alt="" />\r\n              </div>\r\n            </el-tooltip>\r\n          </div>\r\n        </div>\r\n        <div ref="rocker" class="rocker">\r\n          <div\r\n            class="shangUp"\r\n            @mousedown="fangxiang(\'up\')"\r\n            @mouseup="stopfxFn"\r\n            @mouseout="stopfxFn"\r\n          />\r\n          <div\r\n            class="xaiUp"\r\n            @mousedown="fangxiang(\'down\')"\r\n            @mouseup="stopfxFn"\r\n            @mouseout="stopfxFn"\r\n          />\r\n          <div\r\n            class="zuoUp"\r\n            @mousedown="fangxiang(\'right\')"\r\n            @mouseup="stopfxFn"\r\n            @mouseout="stopfxFn"\r\n          />\r\n          <div\r\n            class="youUp"\r\n            @mousedown="fangxiang(\'left\')"\r\n            @mouseup="stopfxFn"\r\n            @mouseout="stopfxFn"\r\n          />\r\n        </div>\r\n      </div>\r\n    </div>\r\n  </div>\r\n</template>\r\n\r\n<script>\r\nimport { cal_crc_table, MMC_Gimbal_Z40S } from \'../utils\';\r\nexport default {\r\n  props: {\r\n    containerStyle: {\r\n      type: Object,\r\n      default: () => ({})\r\n    },\r\n    position: {\r\n      type: Object,\r\n      default: () => ({})\r\n    },\r\n    device: {\r\n      type: Object,\r\n      default: () => ({})\r\n    },\r\n    payload: {\r\n      type: Array,\r\n      default: () => []\r\n    },\r\n    selected_mount: {\r\n      type: Object,\r\n      default: () => ({})\r\n    },\r\n    moveType: {\r\n      type: String,\r\n      default: () => \'\'\r\n    }\r\n  },\r\n  data() {\r\n    return {\r\n      holderModelDomV2: 1,\r\n      radio: 1,\r\n      value: 25,\r\n      value2: 25,\r\n      control_speed: 3, // 控制速度\r\n      ptz_mode: 0,\r\n      zoom: 1,\r\n      juj: 1,\r\n      pitch: 0,\r\n      yaw: 0,\r\n      camera_mode: 0,\r\n      record: false,\r\n      dj_mode: 0,\r\n      regList: [\r\n        {\r\n          val: \'复位\',\r\n          num: 0\r\n        },\r\n        {\r\n          val: \'30\',\r\n          num: -30\r\n        },\r\n        {\r\n          val: \'60\',\r\n          num: -60\r\n        },\r\n        {\r\n          val: \'90\',\r\n          num: -90\r\n        }\r\n      ],\r\n      drd: {\r\n        dj_mode: [\r\n          { id: 0, label: \'关闭\' },\r\n          { id: 1, label: \'打开\' }\r\n        ],\r\n        ptz_mode: [\r\n          { id: 0, label: \'锁定\' },\r\n          { id: 1, label: \'跟随\' },\r\n          { id: 2, label: \'回中\' }\r\n        ],\r\n        camera_mode: [\r\n          { id: 0, label: \'录像\' },\r\n          { id: 2, label: \'拍照\' }\r\n        ]\r\n      },\r\n      timer: null,\r\n      holderModelDom: 0, // 跟踪模式\r\n      activeBox3: 0,\r\n      click_mode_status: 1, // 点击事件\r\n      IAMODE: 0, // 点击事件\r\n      Gtimer: null\r\n    };\r\n  },\r\n  watch: {\r\n    payload: {\r\n      handler(value) {\r\n        this.resolve_payload(value);\r\n      },\r\n      deep: true\r\n    }\r\n  },\r\n  beforeDestroy() {\r\n    /* this.$store.commit("device/SET_MOVE_DATA", {\r\n      ...this.device,\r\n      mountStatus: 0,\r\n    }); */\r\n  },\r\n  mounted() {\r\n    // 第一调用\r\n    this.ia_mode(0);\r\n    this.$nextTick(() => {\r\n      this.init_rocker();\r\n    });\r\n    this.tatrack_Model(0);\r\n  },\r\n  methods: {\r\n    // 保存相机数据 ，在在指点时使用\r\n    handle_change_dj_mode(id) {\r\n      /* this.$store.commit("device/SET_MOVE_DATA", {\r\n        ...this.device,\r\n        mountStatus: id,\r\n        mountId: this.selected_mount.mountId,\r\n        moveType: this.moveType,\r\n        name: this.selected_mount.name\r\n      }); */\r\n    },\r\n    tatrack_switch(status) {\r\n      const buff = new Array(0xa5, 0x0a, 3, 0x00, 0x00);\r\n      buff[3] = status;\r\n      buff[4] = cal_crc_table(buff);\r\n      window.tatrack_AI_status = status;\r\n      this.commit_directive(buff);\r\n    },\r\n    // 跟踪模式\r\n    tatrack_Model(status) {\r\n      if (status == 0) {\r\n        window.click_mode_status = 1;\r\n        this.tatrack_switch(status);\r\n      } else if (status == 2) {\r\n        this.tatrack_switch(status);\r\n        window.click_mode_status = 3;\r\n        setTimeout(() => {\r\n          this.tatrack_switch(5);\r\n        }, 100);\r\n      } else if (status == 6) {\r\n        this.tatrack_switch(3);\r\n        setTimeout(() => {\r\n          this.tatrack_switch(status);\r\n        }, 100);\r\n      }\r\n      this.holderModelDom = status;\r\n    },\r\n    // 点击功能\r\n    hand(e, num) {\r\n      if (num == 0) {\r\n        this.activeBox3 = 0;\r\n        this.click_mode_status = e;\r\n      } else if (num == 2) {\r\n        this.activeBox3 = 2;\r\n        this.click_mode_status = e;\r\n      }\r\n      this.ia_mode(0); // 发送指令修改相机为自动模式\r\n    },\r\n\r\n    ia_mode(ia_mode) {\r\n      var buff = new Array(0xa5, 0x16, 0x03, 0x00, 0x00);\r\n      buff[3] = ia_mode;\r\n      buff[4] = cal_crc_table(buff);\r\n      // 调用\r\n      this.commit_directive(buff);\r\n      this.IAMODE = ia_mode;\r\n    },\r\n    onChangezoom(e) {\r\n      if (this.value2 < this.value) {\r\n        this.handle_zoom(1);\r\n      } else if (this.value2 > this.value) {\r\n        this.handle_zoom(-1);\r\n      }\r\n      this.value2 = e;\r\n    },\r\n\r\n    // 变焦停止\r\n    stopChange() {\r\n      this.value = 25;\r\n      this.value2 = 25;\r\n      // this.handle_zoom(this)\r\n      const buffer = MMC_Gimbal_Z40S.zoom((this.zoom = 1));\r\n      this.commit_directive(buffer);\r\n    },\r\n    // 聚焦停止\r\n    stopjujiao() {\r\n      this.value = 25;\r\n      this.value2 = 25;\r\n      // this.handle_zoom(this)\r\n      const buffer = MMC_Gimbal_Z40S.ju((this.juj = 1));\r\n      this.commit_directive(buffer);\r\n    },\r\n    resolve_payload(buff) {\r\n      const dataArray = new Uint8Array(buff);\r\n      if (dataArray[0] === 0xa5 && cal_crc_table(dataArray) === dataArray[dataArray.length - 1]) {\r\n        switch (dataArray[1]) {\r\n          case 0x01:\r\n            this.msg_key_status1(dataArray);\r\n            break;\r\n          case 0xf8:\r\n            this.gcs_button_ctrl(dataArray);\r\n            break;\r\n        }\r\n      }\r\n    },\r\n    gcs_button_ctrl(data) {\r\n      const button = data[3];\r\n      const status = data[4];\r\n\r\n      switch (button) {\r\n        case 4:\r\n          this.gimbal_mode_ctrl(status);\r\n          break;\r\n        default:\r\n          break;\r\n      }\r\n    },\r\n    msg_key_status1(data) {\r\n      this.gimbal_mode_ctrl(data[7] & 0x3);\r\n    },\r\n    gimbal_mode_ctrl(mode) {\r\n      this.ptz_mode = mode;\r\n    },\r\n\r\n    // 云台模式\r\n    handle_change_ptz_mode(value) {\r\n      this.holderModelDomV2 = value;\r\n      const buffer = MMC_Gimbal_Z40S.gimbal_mode_ctrl(value);\r\n      this.commit_directive(buffer);\r\n    },\r\n    // 变焦事件\r\n    handle_zoom(value) {\r\n      const buffer = MMC_Gimbal_Z40S.zoom(this.zoom + value);\r\n      this.commit_directive(buffer);\r\n      // buffer = MMC_Gimbal_Z40.zoom((this.zoom = 1));\r\n      // this.commit_directive(buffer);\r\n    },\r\n    // 聚焦事件\r\n    jujiao(value) {\r\n      const buffer = MMC_Gimbal_Z40S.ju(this.juj + value);\r\n      this.commit_directive(buffer);\r\n    },\r\n    handle_change_pitch(num) {\r\n      this.pitch = num;\r\n      const buffer = MMC_Gimbal_Z40S.change_pitch_angle(this.pitch);\r\n      this.commit_directive(buffer);\r\n    },\r\n    handle_change_yaw() {\r\n      const buffer = MMC_Gimbal_Z40S.change_yaw_angle(this.yaw);\r\n      this.commit_directive(buffer);\r\n    },\r\n    // 相机模式\r\n    handle_change_camera_mode(value) {\r\n      const buffer = MMC_Gimbal_Z40S.camera_mode_ctrl(value);\r\n      this.commit_directive(buffer);\r\n    },\r\n    // 拍照\r\n    handle_take_photo() {\r\n      const { position } = this;\r\n      const buffer = MMC_Gimbal_Z40S.take_photo(position || {});\r\n      this.commit_directive(buffer);\r\n      this.$emit(\'take_photo\', \'MMC_Gimbal_Z40S\');\r\n    },\r\n    // 录像\r\n    handle_record() {\r\n      this.record = !this.record;\r\n      const buffer = MMC_Gimbal_Z40S.record(this.record);\r\n      this.commit_directive(buffer);\r\n    },\r\n    commit_directive(buffer) {\r\n      this.$emit(\'directive\', buffer);\r\n    },\r\n    fangxiang(type) {\r\n      let buffer = null;\r\n      switch (type) {\r\n        case \'up\':\r\n          buffer = MMC_Gimbal_Z40S.gimbal_pitch_ctrl(1, this.control_speed);\r\n          this.commit_directive(buffer);\r\n          break;\r\n        case \'left\':\r\n          buffer = MMC_Gimbal_Z40S.gimbal_yaw_ctrl(1, this.control_speed);\r\n          this.commit_directive(buffer);\r\n          break;\r\n        case \'right\':\r\n          buffer = MMC_Gimbal_Z40S.gimbal_yaw_ctrl(-1, this.control_speed);\r\n          this.commit_directive(buffer);\r\n          break;\r\n        case \'down\':\r\n          buffer = MMC_Gimbal_Z40S.gimbal_pitch_ctrl(-1, this.control_speed);\r\n          this.commit_directive(buffer);\r\n      }\r\n      // this.timer = setTimeout(() => {\r\n      //   clearTimeout(this.timer);\r\n      //   buffer = MMC_Gimbal_Z40S.gimbal_pitch_ctrl(0, this.control_speed);\r\n      //   this.commit_directive(buffer);\r\n      //   buffer = MMC_Gimbal_Z40S.gimbal_yaw_ctrl(0, this.control_speed);\r\n      //   this.commit_directive(buffer);\r\n      // }, 500);\r\n    },\r\n    stopfxFn() {\r\n      let buffer = null;\r\n      buffer = MMC_Gimbal_Z40S.gimbal_pitch_ctrl(0, this.control_speed);\r\n      this.commit_directive(buffer);\r\n      buffer = MMC_Gimbal_Z40S.gimbal_yaw_ctrl(0, this.control_speed);\r\n      this.commit_directive(buffer);\r\n    },\r\n    init_rocker() {\r\n      let buffer = null;\r\n      joystick({\r\n        // zone: this.$refs["rocker"],\r\n        // mode: "static",\r\n        // position: { left: "50%", top: "50%" },\r\n        // color: "#9bacbe",\r\n        onstart: (type) => {\r\n          switch (type) {\r\n            case \'up\':\r\n              buffer = MMC_Gimbal_Z40S.gimbal_pitch_ctrl(1, this.control_speed);\r\n              this.commit_directive(buffer);\r\n              break;\r\n            case \'right\':\r\n              buffer = MMC_Gimbal_Z40S.gimbal_yaw_ctrl(1, this.control_speed);\r\n              this.commit_directive(buffer);\r\n              break;\r\n            case \'left\':\r\n              buffer = MMC_Gimbal_Z40S.gimbal_yaw_ctrl(-1, this.control_speed);\r\n              this.commit_directive(buffer);\r\n              break;\r\n            case \'down\':\r\n              buffer = MMC_Gimbal_Z40S.gimbal_pitch_ctrl(-1, this.control_speed);\r\n              this.commit_directive(buffer);\r\n          }\r\n        },\r\n        onend: () => {\r\n          buffer = MMC_Gimbal_Z40S.gimbal_pitch_ctrl(0, this.control_speed);\r\n          this.commit_directive(buffer);\r\n          buffer = MMC_Gimbal_Z40S.gimbal_yaw_ctrl(0, this.control_speed);\r\n          this.commit_directive(buffer);\r\n        }\r\n      });\r\n    }\r\n  }\r\n};\r\n<\/script>\r\n\r\n<style lang="scss" scoped>\r\n.cpt-MMC_Gimbal_Z40 {\r\n  position: absolute;\r\n  right: 0;\r\n  top: 0;\r\n  background: rgba(0, 23, 79, 0.7);\r\n  box-shadow: 0 2px 4px 0 rgba(1, 162, 255, 0.35), inset 0 0 40px 0 rgba(0, 184, 255, 0.5);\r\n  border-radius: 10px;\r\n  width: 500px;\r\n  //   height: 290px;\r\n  box-sizing: border-box;\r\n\r\n  // padding: 10px 20px;\r\n  .hd {\r\n    height: 32px;\r\n    display: flex;\r\n    justify-content: space-between;\r\n    align-items: center;\r\n    background: rgba(16, 65, 215, 0.2);\r\n    box-shadow: inset 0 0 15px 0 rgba(0, 182, 255, 0.6);\r\n    border-radius: 10px 10px 0 0;\r\n    .left {\r\n      display: flex;\r\n      align-items: center;\r\n      .title {\r\n        font-size: 20px;\r\n        font-family: YouSheBiaoTiHei;\r\n        color: #14faff;\r\n        line-height: 26px;\r\n        text-shadow: 0px 1px 1px rgba(2, 32, 56, 0.2);\r\n        background: linear-gradient(\r\n          135deg,\r\n          #e3aa77 0%,\r\n          #f5cda9 38%,\r\n          #f9ecd3 58%,\r\n          #fcdbb1 79%,\r\n          #edb07a 100%\r\n        );\r\n        -webkit-background-clip: text;\r\n        -webkit-text-fill-color: transparent;\r\n      }\r\n    }\r\n\r\n    .close {\r\n      font-size: 14px;\r\n      font-family: MicrosoftYaHei;\r\n      color: #d2dfff;\r\n      margin-right: 8px;\r\n      cursor: pointer;\r\n    }\r\n  }\r\n\r\n  .bd {\r\n    padding: 10px 20px;\r\n    display: flex;\r\n    justify-content: space-between;\r\n    height: 234px;\r\n    overflow-y: auto;\r\n\r\n    .form-wrap {\r\n      flex-shrink: 0;\r\n\r\n      .form-item {\r\n        display: flex;\r\n        align-items: center;\r\n        height: 40px;\r\n\r\n        .label-box {\r\n          color: #cbd0eb;\r\n          width: 75px;\r\n        }\r\n\r\n        .input-box {\r\n          display: flex;\r\n          align-items: center;\r\n          .mono {\r\n            display: flex;\r\n            flex-direction: column;\r\n            .mono-long {\r\n              display: flex;\r\n              justify-content: space-between;\r\n              width: 168px;\r\n              height: 17px;\r\n              background: url(\'../assets/images/mount_long.png\') no-repeat;\r\n              background-size: 100%;\r\n              margin-bottom: 5px;\r\n              .mono_box {\r\n                width: 28px;\r\n                height: 13px;\r\n                border-radius: 3px;\r\n                margin-top: 2px;\r\n                cursor: pointer;\r\n              }\r\n              .active {\r\n                background: url(\'../assets/images/mount/mount_control.png\') no-repeat !important;\r\n                background-size: 100% 100%;\r\n              }\r\n            }\r\n            .text {\r\n              font-size: 14px;\r\n              font-family: MicrosoftYaHei;\r\n              color: #ffffff;\r\n              display: flex;\r\n              justify-content: space-between;\r\n              font-size: 14px;\r\n            }\r\n          }\r\n        }\r\n      }\r\n    }\r\n\r\n    .rocker-wrap {\r\n      flex: 1;\r\n      margin: auto;\r\n\r\n      .item-group {\r\n        display: flex;\r\n        justify-content: space-evenly;\r\n\r\n        .item-box {\r\n          .icon-box {\r\n            width: 32px;\r\n            height: 32px;\r\n            background: #000;\r\n            border-radius: 32px;\r\n            display: flex;\r\n            align-items: center;\r\n            justify-content: center;\r\n\r\n            .iconfont {\r\n              font-size: 24px;\r\n              color: #dce9ff;\r\n              cursor: pointer;\r\n            }\r\n          }\r\n        }\r\n      }\r\n\r\n      .rocker {\r\n        margin: 10px auto 0;\r\n        width: 150px;\r\n        height: 150px;\r\n        position: relative;\r\n        margin: 0 auto;\r\n        background: center url(\'../assets/images/accident/caozuo.png\') no-repeat;\r\n        background-size: 100% 100%;\r\n\r\n        .shangUp {\r\n          position: absolute;\r\n          left: 37%;\r\n          top: 4px;\r\n          border-radius: 50%;\r\n          width: 40px;\r\n          height: 40px;\r\n          border: 0px solid red;\r\n          cursor: pointer;\r\n        }\r\n\r\n        .xaiUp {\r\n          position: absolute;\r\n          left: 37%;\r\n          bottom: 4px;\r\n          border-radius: 50%;\r\n          width: 40px;\r\n          height: 40px;\r\n          border: 0px solid red;\r\n          cursor: pointer;\r\n        }\r\n\r\n        .zuoUp {\r\n          position: absolute;\r\n          left: 4px;\r\n          top: 37%;\r\n          border-radius: 50%;\r\n          width: 40px;\r\n          height: 40px;\r\n          border: 0px solid red;\r\n          cursor: pointer;\r\n        }\r\n\r\n        .youUp {\r\n          position: absolute;\r\n          right: 4px;\r\n          top: 37%;\r\n          border-radius: 50%;\r\n          width: 40px;\r\n          height: 40px;\r\n          border: 0px solid red;\r\n          cursor: pointer;\r\n        }\r\n      }\r\n    }\r\n  }\r\n}\r\n\r\n::v-deep {\r\n  .el-select {\r\n    width: 165px;\r\n    margin-right: 5px;\r\n\r\n    .el-input {\r\n      .el-input__inner {\r\n        background: #000000;\r\n        border: 1px solid #004fff;\r\n        color: #dce9ff;\r\n      }\r\n    }\r\n  }\r\n\r\n  .el-input {\r\n    width: 165px;\r\n    margin-right: 5px;\r\n\r\n    .el-input__inner {\r\n      background: #000000;\r\n      border: 1px solid #004fff;\r\n      color: #dce9ff;\r\n    }\r\n  }\r\n\r\n  .el-radio-group {\r\n    .el-radio {\r\n      .el-radio__input {\r\n        &.is-checked {\r\n          .el-radio__inner {\r\n            border-color: #004fff;\r\n            background: #004fff;\r\n          }\r\n        }\r\n      }\r\n\r\n      .el-radio__label {\r\n        color: #cbd0eb;\r\n      }\r\n    }\r\n  }\r\n  .butto {\r\n    width: 35px;\r\n    height: 25px;\r\n    font-size: 12px;\r\n    line-height: 25px;\r\n    text-align: center;\r\n    background: #004fff;\r\n    color: #000;\r\n    border-radius: 5px;\r\n  }\r\n  .el-button {\r\n    background: #2aefed;\r\n    color: #000;\r\n    border: none;\r\n  }\r\n}\r\n\r\n::v-deep .el-slider__bar {\r\n  background: #fff;\r\n}\r\n\r\n.speedC {\r\n  width: 203px;\r\n  height: 24px;\r\n  display: flex;\r\n  background: rgba(13, 34, 79, 0.65);\r\n  border: 1px solid #004fff;\r\n  border-radius: 12px;\r\n\r\n  .speed {\r\n    width: 41px;\r\n    // background: #FFFFFF;\r\n    color: #ffffff;\r\n    border-radius: 12px;\r\n    text-align: center;\r\n    line-height: 24px;\r\n  }\r\n}\r\n\r\n.iconfont {\r\n  color: #004fff;\r\n}\r\n\r\n// 变焦功能\r\n::v-deep .el-slider__runway {\r\n  visibility: hidden;\r\n}\r\n\r\n.form_item {\r\n  display: flex;\r\n  // margin-bottom: 15px;\r\n  // text-align: end;\r\n  color: #cbd0eb;\r\n\r\n  .form_item_title {\r\n    width: 85px;\r\n  }\r\n\r\n  .mono_box {\r\n    width: 28px;\r\n    height: 13px;\r\n    border-radius: 3px;\r\n    margin-top: 2px;\r\n    cursor: pointer;\r\n  }\r\n\r\n  .active {\r\n    background: url(\'../assets/images/mount/mount_control.png\') no-repeat !important;\r\n    // background: url("../assets/images/accident/mono_box.svg") no-repeat !important;\r\n    background-size: 100% 100%;\r\n  }\r\n\r\n  .mono-short,\r\n  .mono-long,\r\n  .slider,\r\n  .text {\r\n    display: flex;\r\n    justify-content: space-between;\r\n    font-size: 14px;\r\n  }\r\n\r\n  .mono-left {\r\n    margin-left: 2px;\r\n  }\r\n\r\n  .mono-right {\r\n    margin-right: 2px;\r\n  }\r\n\r\n  .mono-short {\r\n    width: 111px;\r\n    height: 17px;\r\n    background: url(\'../assets/images/mount_short.png\') no-repeat;\r\n    background-size: 100%;\r\n    margin-bottom: 5px;\r\n  }\r\n\r\n  .mono-long {\r\n    width: 168px;\r\n    height: 17px;\r\n    background: url(\'../assets/images/mount_long.png\') no-repeat;\r\n    background-size: 100%;\r\n    margin-bottom: 5px;\r\n  }\r\n\r\n  .imgs {\r\n    margin-top: 10px;\r\n    display: flex;\r\n    justify-content: space-between;\r\n\r\n    & > img {\r\n      cursor: pointer;\r\n      width: 32px;\r\n      height: 32px;\r\n\r\n      &:hover {\r\n        opacity: 0.7;\r\n      }\r\n    }\r\n  }\r\n\r\n  .slider_box {\r\n    width: 140px;\r\n    margin: -7px 5px 0;\r\n  }\r\n\r\n  .symbol {\r\n    box-sizing: border-box;\r\n    border-radius: 50%;\r\n    border: 1px solid #004fff;\r\n    width: 24px;\r\n    height: 24px;\r\n    line-height: 20px;\r\n    text-align: center;\r\n    cursor: pointer;\r\n    font-size: 20px;\r\n    padding-left: 1px;\r\n\r\n    &:hover {\r\n      opacity: 0.7;\r\n    }\r\n  }\r\n}\r\n\r\n.img_bottom {\r\n  display: flex;\r\n  width: 320px;\r\n  justify-content: space-between;\r\n\r\n  & > img {\r\n    cursor: pointer;\r\n    width: 130px;\r\n    height: 130px;\r\n  }\r\n}\r\n\r\n::v-deep {\r\n  .el-select,\r\n  .el-input {\r\n    width: 84px;\r\n    height: 24px;\r\n  }\r\n\r\n  .el-input__inner {\r\n    width: 84px;\r\n    height: 24px;\r\n    background: rgba(13, 34, 79, 0.65);\r\n    border: 1px solid #004fff;\r\n    font-size: 14px;\r\n    font-family: PingFangSC-Regular, PingFang SC;\r\n    font-weight: 400;\r\n    color: #ffffff;\r\n  }\r\n\r\n  .el-select .el-input .el-select__caret {\r\n    line-height: 26px;\r\n  }\r\n\r\n  // 修改input清除按钮样式\r\n  .el-input__suffix {\r\n    .el-input__suffix-inner {\r\n      .el-icon-circle-close:before {\r\n        line-height: 16px;\r\n        position: absolute;\r\n        top: 5px;\r\n        right: 3px;\r\n      }\r\n    }\r\n  }\r\n\r\n  .el-button {\r\n    margin-left: 10px;\r\n    padding: 0;\r\n    background: #2aefed;\r\n    border-radius: 2px;\r\n    width: 43px;\r\n    height: 24px;\r\n    outline: none;\r\n    color: #000000;\r\n    border: none;\r\n\r\n    &:hover {\r\n      opacity: 0.7;\r\n    }\r\n  }\r\n}\r\n\r\n.text-right {\r\n  width: 30px;\r\n}\r\n\r\n.activeG {\r\n  background: url(\'../assets/images/mount/mount_control.png\') no-repeat !important;\r\n  background-size: 100% 100%;\r\n}\r\n\r\n.ziticolor {\r\n  color: #dce9ff;\r\n  font-size: 14px;\r\n}\r\n</style>\r\n', '.cpt-MMC_Gimbal_Z40 {\n  position: absolute;\n  right: 0;\n  top: 0;\n  background: rgba(0, 23, 79, 0.7);\n  box-shadow: 0 2px 4px 0 rgba(1, 162, 255, 0.35), inset 0 0 40px 0 rgba(0, 184, 255, 0.5);\n  border-radius: 10px;\n  width: 500px;\n  box-sizing: border-box;\n}\n.cpt-MMC_Gimbal_Z40 .hd {\n  height: 32px;\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  background: rgba(16, 65, 215, 0.2);\n  box-shadow: inset 0 0 15px 0 rgba(0, 182, 255, 0.6);\n  border-radius: 10px 10px 0 0;\n}\n.cpt-MMC_Gimbal_Z40 .hd .left {\n  display: flex;\n  align-items: center;\n}\n.cpt-MMC_Gimbal_Z40 .hd .left .title {\n  font-size: 20px;\n  font-family: YouSheBiaoTiHei;\n  color: #14faff;\n  line-height: 26px;\n  text-shadow: 0px 1px 1px rgba(2, 32, 56, 0.2);\n  background: linear-gradient(135deg, #e3aa77 0%, #f5cda9 38%, #f9ecd3 58%, #fcdbb1 79%, #edb07a 100%);\n  -webkit-background-clip: text;\n  -webkit-text-fill-color: transparent;\n}\n.cpt-MMC_Gimbal_Z40 .hd .close {\n  font-size: 14px;\n  font-family: MicrosoftYaHei;\n  color: #d2dfff;\n  margin-right: 8px;\n  cursor: pointer;\n}\n.cpt-MMC_Gimbal_Z40 .bd {\n  padding: 10px 20px;\n  display: flex;\n  justify-content: space-between;\n  height: 234px;\n  overflow-y: auto;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap {\n  flex-shrink: 0;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item {\n  display: flex;\n  align-items: center;\n  height: 40px;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item .label-box {\n  color: #cbd0eb;\n  width: 75px;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item .input-box {\n  display: flex;\n  align-items: center;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item .input-box .mono {\n  display: flex;\n  flex-direction: column;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item .input-box .mono .mono-long {\n  display: flex;\n  justify-content: space-between;\n  width: 168px;\n  height: 17px;\n  background: url("../assets/images/mount_long.png") no-repeat;\n  background-size: 100%;\n  margin-bottom: 5px;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item .input-box .mono .mono-long .mono_box {\n  width: 28px;\n  height: 13px;\n  border-radius: 3px;\n  margin-top: 2px;\n  cursor: pointer;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item .input-box .mono .mono-long .active {\n  background: url("../assets/images/mount/mount_control.png") no-repeat !important;\n  background-size: 100% 100%;\n}\n.cpt-MMC_Gimbal_Z40 .bd .form-wrap .form-item .input-box .mono .text {\n  font-size: 14px;\n  font-family: MicrosoftYaHei;\n  color: #ffffff;\n  display: flex;\n  justify-content: space-between;\n  font-size: 14px;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap {\n  flex: 1;\n  margin: auto;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .item-group {\n  display: flex;\n  justify-content: space-evenly;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .item-group .item-box .icon-box {\n  width: 32px;\n  height: 32px;\n  background: #000;\n  border-radius: 32px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .item-group .item-box .icon-box .iconfont {\n  font-size: 24px;\n  color: #dce9ff;\n  cursor: pointer;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .rocker {\n  margin: 10px auto 0;\n  width: 150px;\n  height: 150px;\n  position: relative;\n  margin: 0 auto;\n  background: center url("../assets/images/accident/caozuo.png") no-repeat;\n  background-size: 100% 100%;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .rocker .shangUp {\n  position: absolute;\n  left: 37%;\n  top: 4px;\n  border-radius: 50%;\n  width: 40px;\n  height: 40px;\n  border: 0px solid red;\n  cursor: pointer;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .rocker .xaiUp {\n  position: absolute;\n  left: 37%;\n  bottom: 4px;\n  border-radius: 50%;\n  width: 40px;\n  height: 40px;\n  border: 0px solid red;\n  cursor: pointer;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .rocker .zuoUp {\n  position: absolute;\n  left: 4px;\n  top: 37%;\n  border-radius: 50%;\n  width: 40px;\n  height: 40px;\n  border: 0px solid red;\n  cursor: pointer;\n}\n.cpt-MMC_Gimbal_Z40 .bd .rocker-wrap .rocker .youUp {\n  position: absolute;\n  right: 4px;\n  top: 37%;\n  border-radius: 50%;\n  width: 40px;\n  height: 40px;\n  border: 0px solid red;\n  cursor: pointer;\n}\n\n::v-deep .el-select {\n  width: 165px;\n  margin-right: 5px;\n}\n::v-deep .el-select .el-input .el-input__inner {\n  background: #000000;\n  border: 1px solid #004fff;\n  color: #dce9ff;\n}\n::v-deep .el-input {\n  width: 165px;\n  margin-right: 5px;\n}\n::v-deep .el-input .el-input__inner {\n  background: #000000;\n  border: 1px solid #004fff;\n  color: #dce9ff;\n}\n::v-deep .el-radio-group .el-radio .el-radio__input.is-checked .el-radio__inner {\n  border-color: #004fff;\n  background: #004fff;\n}\n::v-deep .el-radio-group .el-radio .el-radio__label {\n  color: #cbd0eb;\n}\n::v-deep .butto {\n  width: 35px;\n  height: 25px;\n  font-size: 12px;\n  line-height: 25px;\n  text-align: center;\n  background: #004fff;\n  color: #000;\n  border-radius: 5px;\n}\n::v-deep .el-button {\n  background: #2aefed;\n  color: #000;\n  border: none;\n}\n\n::v-deep .el-slider__bar {\n  background: #fff;\n}\n\n.speedC {\n  width: 203px;\n  height: 24px;\n  display: flex;\n  background: rgba(13, 34, 79, 0.65);\n  border: 1px solid #004fff;\n  border-radius: 12px;\n}\n.speedC .speed {\n  width: 41px;\n  color: #ffffff;\n  border-radius: 12px;\n  text-align: center;\n  line-height: 24px;\n}\n\n.iconfont {\n  color: #004fff;\n}\n\n::v-deep .el-slider__runway {\n  visibility: hidden;\n}\n\n.form_item {\n  display: flex;\n  color: #cbd0eb;\n}\n.form_item .form_item_title {\n  width: 85px;\n}\n.form_item .mono_box {\n  width: 28px;\n  height: 13px;\n  border-radius: 3px;\n  margin-top: 2px;\n  cursor: pointer;\n}\n.form_item .active {\n  background: url("../assets/images/mount/mount_control.png") no-repeat !important;\n  background-size: 100% 100%;\n}\n.form_item .mono-short,\n.form_item .mono-long,\n.form_item .slider,\n.form_item .text {\n  display: flex;\n  justify-content: space-between;\n  font-size: 14px;\n}\n.form_item .mono-left {\n  margin-left: 2px;\n}\n.form_item .mono-right {\n  margin-right: 2px;\n}\n.form_item .mono-short {\n  width: 111px;\n  height: 17px;\n  background: url("../assets/images/mount_short.png") no-repeat;\n  background-size: 100%;\n  margin-bottom: 5px;\n}\n.form_item .mono-long {\n  width: 168px;\n  height: 17px;\n  background: url("../assets/images/mount_long.png") no-repeat;\n  background-size: 100%;\n  margin-bottom: 5px;\n}\n.form_item .imgs {\n  margin-top: 10px;\n  display: flex;\n  justify-content: space-between;\n}\n.form_item .imgs > img {\n  cursor: pointer;\n  width: 32px;\n  height: 32px;\n}\n.form_item .imgs > img:hover {\n  opacity: 0.7;\n}\n.form_item .slider_box {\n  width: 140px;\n  margin: -7px 5px 0;\n}\n.form_item .symbol {\n  box-sizing: border-box;\n  border-radius: 50%;\n  border: 1px solid #004fff;\n  width: 24px;\n  height: 24px;\n  line-height: 20px;\n  text-align: center;\n  cursor: pointer;\n  font-size: 20px;\n  padding-left: 1px;\n}\n.form_item .symbol:hover {\n  opacity: 0.7;\n}\n\n.img_bottom {\n  display: flex;\n  width: 320px;\n  justify-content: space-between;\n}\n.img_bottom > img {\n  cursor: pointer;\n  width: 130px;\n  height: 130px;\n}\n\n::v-deep .el-select,\n::v-deep .el-input {\n  width: 84px;\n  height: 24px;\n}\n::v-deep .el-input__inner {\n  width: 84px;\n  height: 24px;\n  background: rgba(13, 34, 79, 0.65);\n  border: 1px solid #004fff;\n  font-size: 14px;\n  font-family: PingFangSC-Regular, PingFang SC;\n  font-weight: 400;\n  color: #ffffff;\n}\n::v-deep .el-select .el-input .el-select__caret {\n  line-height: 26px;\n}\n::v-deep .el-input__suffix .el-input__suffix-inner .el-icon-circle-close:before {\n  line-height: 16px;\n  position: absolute;\n  top: 5px;\n  right: 3px;\n}\n::v-deep .el-button {\n  margin-left: 10px;\n  padding: 0;\n  background: #2aefed;\n  border-radius: 2px;\n  width: 43px;\n  height: 24px;\n  outline: none;\n  color: #000000;\n  border: none;\n}\n::v-deep .el-button:hover {\n  opacity: 0.7;\n}\n\n.text-right {\n  width: 30px;\n}\n\n.activeG {\n  background: url("../assets/images/mount/mount_control.png") no-repeat !important;\n  background-size: 100% 100%;\n}\n\n.ziticolor {\n  color: #dce9ff;\n  font-size: 14px;\n}\n\n/*# sourceMappingURL=index.vue.map */']
    },
    media: void 0
  });
}, s, "data-v-53c365ce", false, undefined, !1, a);
export { A as default };
