comment.js 1.3 KB
"use strict";
var common_vendor = require("../common/vendor.js");
if (!Math) {
  open();
}
const open = () => "./openComment.js";
const _sfc_main = {
  props: {
    commentList: {
      type: Array,
      default: []
    }
  },
  setup(__props) {
    const props = __props;
    common_vendor.onMounted(() => {
      props.commentList.forEach((item) => {
        item.image = item.image.split(",");
      });
    });
    common_vendor.reactive({
      backgroundImage: "none",
      paddingTop: "0",
      marginTop: "0"
    });
    return (_ctx, _cache) => {
      return {
        a: common_vendor.f(__props.commentList, (item, k0, i0) => {
          return {
            a: item.avatar,
            b: common_vendor.t(item.nickname),
            c: common_vendor.t(item.createtime),
            d: "4639ae0e-0-" + i0,
            e: common_vendor.p({
              text: item.content
            }),
            f: common_vendor.f(item.image, (it, k1, i1) => {
              return {
                a: it
              };
            }),
            g: item.id
          };
        })
      };
    };
  }
};
var Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/vue/\u5927\u5065\u5EB7\u5546\u57CE/healthMall/componets/comment.vue"]]);
wx.createComponent(Component);