openComment.js 1009 字节
"use strict";
var common_vendor = require("../common/vendor.js");
const _sfc_main = {
  props: {
    text: {
      type: String,
      default: ""
    }
  },
  data() {
    return {
      iSinfo: false
    };
  },
  methods: {
    showinfo() {
      this.iSinfo = !this.iSinfo;
    }
  }
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  return common_vendor.e({
    a: common_vendor.t($props.text),
    b: !$data.iSinfo ? 1 : "",
    c: !$data.iSinfo & $props.text.length > 100
  }, !$data.iSinfo & $props.text.length > 100 ? {
    d: common_vendor.o((...args) => $options.showinfo && $options.showinfo(...args))
  } : {}, {
    e: $data.iSinfo
  }, $data.iSinfo ? {
    f: common_vendor.o((...args) => $options.showinfo && $options.showinfo(...args))
  } : {});
}
var Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/vue/\u5927\u5065\u5EB7\u5546\u57CE/healthMall/componets/openComment.vue"]]);
wx.createComponent(Component);