Browse Source

富文本修改

master
王健 4 years ago
parent
commit
389233f0d9
  1. 3
      app.json
  2. 7
      pages/message-detail/message-detail.js
  3. 3
      pages/message-detail/message-detail.wxml
  4. 4
      pages/message-detail/message-detail.wxss
  5. BIN
      wxParse/emojis/00.gif
  6. BIN
      wxParse/emojis/01.gif
  7. BIN
      wxParse/emojis/02.gif
  8. BIN
      wxParse/emojis/03.gif
  9. BIN
      wxParse/emojis/04.gif
  10. BIN
      wxParse/emojis/05.gif
  11. BIN
      wxParse/emojis/06.gif
  12. BIN
      wxParse/emojis/07.gif
  13. BIN
      wxParse/emojis/08.gif
  14. BIN
      wxParse/emojis/09.gif
  15. BIN
      wxParse/emojis/10.gif
  16. BIN
      wxParse/emojis/100.gif
  17. BIN
      wxParse/emojis/101.gif
  18. BIN
      wxParse/emojis/102.gif
  19. BIN
      wxParse/emojis/103.gif
  20. BIN
      wxParse/emojis/104.gif
  21. BIN
      wxParse/emojis/105.gif
  22. BIN
      wxParse/emojis/106.gif
  23. BIN
      wxParse/emojis/107.gif
  24. BIN
      wxParse/emojis/108.gif
  25. BIN
      wxParse/emojis/109.gif
  26. BIN
      wxParse/emojis/11.gif
  27. BIN
      wxParse/emojis/110.gif
  28. BIN
      wxParse/emojis/111.gif
  29. BIN
      wxParse/emojis/112.gif
  30. BIN
      wxParse/emojis/113.gif
  31. BIN
      wxParse/emojis/114.gif
  32. BIN
      wxParse/emojis/115.gif
  33. BIN
      wxParse/emojis/116.gif
  34. BIN
      wxParse/emojis/117.gif
  35. BIN
      wxParse/emojis/118.gif
  36. BIN
      wxParse/emojis/119.gif
  37. BIN
      wxParse/emojis/12.gif
  38. BIN
      wxParse/emojis/120.gif
  39. BIN
      wxParse/emojis/121.gif
  40. BIN
      wxParse/emojis/122.gif
  41. BIN
      wxParse/emojis/123.gif
  42. BIN
      wxParse/emojis/124.gif
  43. BIN
      wxParse/emojis/125.gif
  44. BIN
      wxParse/emojis/126.gif
  45. BIN
      wxParse/emojis/127.gif
  46. BIN
      wxParse/emojis/128.gif
  47. BIN
      wxParse/emojis/129.gif
  48. BIN
      wxParse/emojis/13.gif
  49. BIN
      wxParse/emojis/130.gif
  50. BIN
      wxParse/emojis/131.gif
  51. BIN
      wxParse/emojis/132.gif
  52. BIN
      wxParse/emojis/133.gif
  53. BIN
      wxParse/emojis/134.gif
  54. BIN
      wxParse/emojis/14.gif
  55. BIN
      wxParse/emojis/15.gif
  56. BIN
      wxParse/emojis/16.gif
  57. BIN
      wxParse/emojis/17.gif
  58. BIN
      wxParse/emojis/18.gif
  59. BIN
      wxParse/emojis/19.gif
  60. BIN
      wxParse/emojis/20.gif
  61. BIN
      wxParse/emojis/21.gif
  62. BIN
      wxParse/emojis/22.gif
  63. BIN
      wxParse/emojis/23.gif
  64. BIN
      wxParse/emojis/24.gif
  65. BIN
      wxParse/emojis/25.gif
  66. BIN
      wxParse/emojis/26.gif
  67. BIN
      wxParse/emojis/27.gif
  68. BIN
      wxParse/emojis/28.gif
  69. BIN
      wxParse/emojis/29.gif
  70. BIN
      wxParse/emojis/30.gif
  71. BIN
      wxParse/emojis/31.gif
  72. BIN
      wxParse/emojis/32.gif
  73. BIN
      wxParse/emojis/33.gif
  74. BIN
      wxParse/emojis/34.gif
  75. BIN
      wxParse/emojis/35.gif
  76. BIN
      wxParse/emojis/36.gif
  77. BIN
      wxParse/emojis/37.gif
  78. BIN
      wxParse/emojis/38.gif
  79. BIN
      wxParse/emojis/39.gif
  80. BIN
      wxParse/emojis/40.gif
  81. BIN
      wxParse/emojis/41.gif
  82. BIN
      wxParse/emojis/42.gif
  83. BIN
      wxParse/emojis/43.gif
  84. BIN
      wxParse/emojis/44.gif
  85. BIN
      wxParse/emojis/45.gif
  86. BIN
      wxParse/emojis/46.gif
  87. BIN
      wxParse/emojis/47.gif
  88. BIN
      wxParse/emojis/48.gif
  89. BIN
      wxParse/emojis/49.gif
  90. BIN
      wxParse/emojis/50.gif
  91. BIN
      wxParse/emojis/51.gif
  92. BIN
      wxParse/emojis/52.gif
  93. BIN
      wxParse/emojis/53.gif
  94. BIN
      wxParse/emojis/54.gif
  95. BIN
      wxParse/emojis/55.gif
  96. BIN
      wxParse/emojis/56.gif
  97. BIN
      wxParse/emojis/57.gif
  98. BIN
      wxParse/emojis/58.gif
  99. BIN
      wxParse/emojis/59.gif
  100. BIN
      wxParse/emojis/60.gif
  101. Some files were not shown because too many files have changed in this diff Show More

3
app.json

@ -1,11 +1,12 @@
{
"pages": [
"pages/message/message",
"pages/calendar/calendar",
"pages/auth/auth",
"pages/look/look",
"pages/auctionRecord/auctionRecord",
"pages/ucenter/ucenter",
"pages/message/message",
"pages/look-list/look-list",
"pages/look-detail/look-detail",
"pages/suggestion/suggestion",

7
pages/message-detail/message-detail.js

@ -1,5 +1,4 @@
// pages/message-detail/message-detail.js
const WxParse = require('../../wxParse/wxParse.js');
const $api = require('../../utils/api').API;
Page({
@ -7,7 +6,7 @@ Page({
* 页面的初始数据
*/
data: {
article: {}
article: ''
},
/**
@ -17,7 +16,9 @@ Page({
let messageId = options.messageId
$api.AJAX('get', `applets/message/${messageId}`).then(res => {
let article = res.data.messageContent;
WxParse.wxParse('article', 'html', article, this, 5);
this.setData({
article
})
})
},
/**

3
pages/message-detail/message-detail.wxml

@ -1,10 +1,9 @@
<!--pages/message-detail/message-detail.wxml-->
<import src="../../wxParse/wxParse.wxml" />
<view class="pages">
<mp-navigation-bar ext-class="set-bar" title="消息通知"></mp-navigation-bar>
<view class="main">
<view class="content">
<template is="wxParse" data="{{wxParseData:article.nodes}}" />
<rich-text nodes="{{article}}"></rich-text>
</view>
</view>
</view>

4
pages/message-detail/message-detail.wxss

@ -1,2 +1,4 @@
/* pages/message-detail/message-detail.wxss */
@import "../../wxParse/wxParse.wxss";
.content{
padding: 60rpx;
}

BIN
wxParse/emojis/00.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

BIN
wxParse/emojis/01.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

BIN
wxParse/emojis/02.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

BIN
wxParse/emojis/03.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

BIN
wxParse/emojis/04.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

BIN
wxParse/emojis/05.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

BIN
wxParse/emojis/06.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

BIN
wxParse/emojis/07.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

BIN
wxParse/emojis/08.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

BIN
wxParse/emojis/09.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

BIN
wxParse/emojis/10.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

BIN
wxParse/emojis/100.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

BIN
wxParse/emojis/101.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

BIN
wxParse/emojis/102.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

BIN
wxParse/emojis/103.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

BIN
wxParse/emojis/104.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

BIN
wxParse/emojis/105.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

BIN
wxParse/emojis/106.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
wxParse/emojis/107.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
wxParse/emojis/108.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
wxParse/emojis/109.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

BIN
wxParse/emojis/11.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

BIN
wxParse/emojis/110.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

BIN
wxParse/emojis/111.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
wxParse/emojis/112.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

BIN
wxParse/emojis/113.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1015 B

BIN
wxParse/emojis/114.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1003 B

BIN
wxParse/emojis/115.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
wxParse/emojis/116.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 996 B

BIN
wxParse/emojis/117.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
wxParse/emojis/118.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1012 B

BIN
wxParse/emojis/119.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

BIN
wxParse/emojis/12.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

BIN
wxParse/emojis/120.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1008 B

BIN
wxParse/emojis/121.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
wxParse/emojis/122.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 999 B

BIN
wxParse/emojis/123.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
wxParse/emojis/124.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1022 B

BIN
wxParse/emojis/125.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1013 B

BIN
wxParse/emojis/126.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
wxParse/emojis/127.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 956 B

BIN
wxParse/emojis/128.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1022 B

BIN
wxParse/emojis/129.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 972 B

BIN
wxParse/emojis/13.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

BIN
wxParse/emojis/130.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 980 B

BIN
wxParse/emojis/131.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 945 B

BIN
wxParse/emojis/132.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 936 B

BIN
wxParse/emojis/133.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1012 B

BIN
wxParse/emojis/134.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 968 B

BIN
wxParse/emojis/14.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

BIN
wxParse/emojis/15.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

BIN
wxParse/emojis/16.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

BIN
wxParse/emojis/17.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

BIN
wxParse/emojis/18.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

BIN
wxParse/emojis/19.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

BIN
wxParse/emojis/20.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

BIN
wxParse/emojis/21.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

BIN
wxParse/emojis/22.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

BIN
wxParse/emojis/23.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

BIN
wxParse/emojis/24.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

BIN
wxParse/emojis/25.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

BIN
wxParse/emojis/26.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

BIN
wxParse/emojis/27.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

BIN
wxParse/emojis/28.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

BIN
wxParse/emojis/29.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

BIN
wxParse/emojis/30.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

BIN
wxParse/emojis/31.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

BIN
wxParse/emojis/32.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

BIN
wxParse/emojis/33.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

BIN
wxParse/emojis/34.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

BIN
wxParse/emojis/35.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

BIN
wxParse/emojis/36.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

BIN
wxParse/emojis/37.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

BIN
wxParse/emojis/38.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

BIN
wxParse/emojis/39.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

BIN
wxParse/emojis/40.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

BIN
wxParse/emojis/41.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

BIN
wxParse/emojis/42.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

BIN
wxParse/emojis/43.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

BIN
wxParse/emojis/44.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

BIN
wxParse/emojis/45.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

BIN
wxParse/emojis/46.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

BIN
wxParse/emojis/47.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

BIN
wxParse/emojis/48.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

BIN
wxParse/emojis/49.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

BIN
wxParse/emojis/50.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

BIN
wxParse/emojis/51.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

BIN
wxParse/emojis/52.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

BIN
wxParse/emojis/53.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

BIN
wxParse/emojis/54.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

BIN
wxParse/emojis/55.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

BIN
wxParse/emojis/56.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

BIN
wxParse/emojis/57.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

BIN
wxParse/emojis/58.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

BIN
wxParse/emojis/59.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

BIN
wxParse/emojis/60.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save