This commit is contained in:
pengxiaolong
2025-07-21 22:10:59 +08:00
parent 31527ba8a6
commit 7116e57fc3
157 changed files with 2793 additions and 405 deletions

View File

@@ -0,0 +1,34 @@
"use strict";
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
props: {
message: {
type: String,
default: ""
}
},
data() {
return {
title: "Hello"
};
},
onLoad() {
},
methods: {
// 方法定义
onTap() {
common_vendor.index.navigateTo({
url: `/pages/PKMessageprocessing/PKMessageprocessing?customData=${JSON.stringify(this.message.customData)}`
});
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: $props.message.link,
b: common_vendor.o((...args) => $options.onTap && $options.onTap(...args))
};
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-7f4965b4"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/index/chat/messageComponent/customPKMessage.js.map

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="custom-pk-message data-v-7f4965b4" bindtap="{{b}}"><image class="data-v-7f4965b4" src="{{a}}" mode="scaleToFill" style="width:100%;height:100%"/></view>

View File

@@ -0,0 +1,9 @@
.custom-pk-message.data-v-7f4965b4{
width: 385rpx;
height: 195rpx;
padding: 20rpx;
background-color: #ffffff;
border-radius: 20rpx;
margin:19rpx 15rpx 19rpx 15rpx;
}

View File

@@ -1,5 +1,7 @@
.messagetext.data-v-b62657a0{
font-size: 16px;
font-size: 34rpx;
color: #333;
letter-spacing: 1rpx;
padding: 19rpx 30rpx 19rpx 30rpx;
}