centerLine.js 1.0 KB
"use strict";
const common_vendor = require("../common/vendor.js");
const _sfc_main = {
  __name: "centerLine",
  props: {
    fontColor: {
      type: String,
      default: "#3680FE"
    },
    leftContent: {
      type: String,
      default: "修改车辆信息"
    },
    rightContent: {
      type: String,
      default: "删除车辆"
    }
  },
  setup(__props) {
    const props = __props;
    const updateCarInfo = () => {
      if (props.leftContent === "修改车辆信息")
        ;
    };
    const deleteCar = () => {
      if (props.rightContent === "删除车辆")
        ;
    };
    return (_ctx, _cache) => {
      return {
        a: common_vendor.t(__props.leftContent),
        b: common_vendor.o(updateCarInfo),
        c: __props.fontColor,
        d: common_vendor.t(__props.rightContent),
        e: common_vendor.o(deleteCar),
        f: __props.fontColor
      };
    };
  }
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-f0331f8b"]]);
wx.createComponent(Component);