southnote-mini-sdk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/app.js +22 -0
  2. package/app.json +53 -0
  3. package/app.wxss +15 -0
  4. package/assets/file/badwords.js +63008 -0
  5. package/assets/file/rules.js +38 -0
  6. package/assets/images/emoji/smile001.png +0 -0
  7. package/assets/images/emoji/smile002.png +0 -0
  8. package/assets/images/emoji/smile003.png +0 -0
  9. package/assets/images/emoji/smile004.png +0 -0
  10. package/assets/images/emoji/smile005.png +0 -0
  11. package/assets/images/emoji/smile006.png +0 -0
  12. package/assets/images/emoji/smile007.png +0 -0
  13. package/assets/images/emoji/smile008.png +0 -0
  14. package/assets/images/emoji/smile009.png +0 -0
  15. package/assets/images/emoji/smile010.png +0 -0
  16. package/assets/images/emoji/smile011.png +0 -0
  17. package/assets/images/emoji/smile012.png +0 -0
  18. package/assets/images/emoji/smile013.png +0 -0
  19. package/assets/images/emoji/smile014.png +0 -0
  20. package/assets/images/emoji/smile015.png +0 -0
  21. package/assets/images/emoji/smile016.png +0 -0
  22. package/assets/images/emoji/smile017.png +0 -0
  23. package/assets/images/emoji/smile018.png +0 -0
  24. package/assets/images/emoji/smile019.png +0 -0
  25. package/assets/images/emoji/smile020.png +0 -0
  26. package/assets/images/emoji/smile021.png +0 -0
  27. package/assets/images/emoji/smile022.png +0 -0
  28. package/assets/images/emoji/smile023.png +0 -0
  29. package/assets/images/emoji/smile024.png +0 -0
  30. package/assets/images/emoji/smile025.png +0 -0
  31. package/assets/images/emoji/smile026.png +0 -0
  32. package/assets/images/emoji/smile027.png +0 -0
  33. package/assets/images/emoji/smile028.png +0 -0
  34. package/assets/images/emoji/smile029.png +0 -0
  35. package/assets/images/emoji/smile030.png +0 -0
  36. package/assets/images/emoji/smile031.png +0 -0
  37. package/assets/images/emoji/smile032.png +0 -0
  38. package/assets/images/emoji/smile033.png +0 -0
  39. package/assets/images/emoji/smile034.png +0 -0
  40. package/assets/images/emoji/smile035.png +0 -0
  41. package/assets/images/emoji/smile036.png +0 -0
  42. package/assets/images/emoji/smile037.png +0 -0
  43. package/assets/images/emoji/smile038.png +0 -0
  44. package/assets/images/emoji/smile039.png +0 -0
  45. package/assets/images/emoji/smile040.png +0 -0
  46. package/assets/images/emoji/smile041.png +0 -0
  47. package/assets/images/emoji/smile042.png +0 -0
  48. package/assets/images/emoji/smile043.png +0 -0
  49. package/assets/images/emoji/smile044.png +0 -0
  50. package/assets/images/emoji/smile045.png +0 -0
  51. package/assets/images/emoji/smile046.png +0 -0
  52. package/assets/images/emoji/smile047.png +0 -0
  53. package/assets/images/emoji/smile048.png +0 -0
  54. package/assets/images/emoji/smile049.png +0 -0
  55. package/assets/images/emoji/smile050.png +0 -0
  56. package/assets/images/emoji/smile051.png +0 -0
  57. package/assets/images/emoji/smile052.png +0 -0
  58. package/assets/images/icons/age1.png +0 -0
  59. package/assets/images/icons/age2.png +0 -0
  60. package/assets/images/icons/age3.png +0 -0
  61. package/assets/images/icons/attachment.png +0 -0
  62. package/assets/images/icons/clear.png +0 -0
  63. package/assets/images/icons/edit_input.png +0 -0
  64. package/assets/images/icons/header_placeholder.png +0 -0
  65. package/assets/images/icons/home_collect.png +0 -0
  66. package/assets/images/icons/home_collected.png +0 -0
  67. package/assets/images/icons/home_comment.png +0 -0
  68. package/assets/images/icons/home_like.png +0 -0
  69. package/assets/images/icons/home_liked.png +0 -0
  70. package/assets/images/icons/home_message.png +0 -0
  71. package/assets/images/icons/home_share.png +0 -0
  72. package/assets/images/icons/icon_more.png +0 -0
  73. package/assets/images/icons/input_game.png +0 -0
  74. package/assets/images/icons/logo.png +0 -0
  75. package/assets/images/icons/lv1.png +0 -0
  76. package/assets/images/icons/lv2.png +0 -0
  77. package/assets/images/icons/lv3.png +0 -0
  78. package/assets/images/icons/lv4.png +0 -0
  79. package/assets/images/icons/search.png +0 -0
  80. package/assets/images/icons/sex1.png +0 -0
  81. package/assets/images/icons/sex2.png +0 -0
  82. package/assets/images/icons/sign_empty.png +0 -0
  83. package/assets/images/icons/sign_login.png +0 -0
  84. package/assets/wheel/wheel_bg.png +0 -0
  85. package/assets/wheel/wheel_bg2.png +0 -0
  86. package/assets/wheel/wheel_fore.png +0 -0
  87. package/assets/wheel/wheel_to.png +0 -0
  88. package/components/bottomSheet/bottomSheet.js +473 -0
  89. package/components/bottomSheet/bottomSheet.json +3 -0
  90. package/components/bottomSheet/bottomSheet.wxml +73 -0
  91. package/components/bottomSheet/bottomSheet.wxss +238 -0
  92. package/components/experience-item/experience-item.js +105 -0
  93. package/components/experience-item/experience-item.json +4 -0
  94. package/components/experience-item/experience-item.wxml +39 -0
  95. package/components/experience-item/experience-item.wxss +110 -0
  96. package/components/grid-item/grid-item.js +8 -0
  97. package/components/grid-item/grid-item.json +4 -0
  98. package/components/grid-item/grid-item.wxml +62 -0
  99. package/components/grid-item/grid-item.wxss +191 -0
  100. package/components/post-item/post-item.js +1085 -0
  101. package/components/post-item/post-item.json +4 -0
  102. package/components/post-item/post-item.wxml +427 -0
  103. package/components/post-item/post-item.wxss +525 -0
  104. package/components/wiki-renderer/wiki-renderer.js +636 -0
  105. package/components/wiki-renderer/wiki-renderer.json +12 -0
  106. package/components/wiki-renderer/wiki-renderer.wxml +150 -0
  107. package/components/wiki-renderer/wiki-renderer.wxss +412 -0
  108. package/components/wiki-tabs/wiki-tabs.js +52 -0
  109. package/components/wiki-tabs/wiki-tabs.json +3 -0
  110. package/components/wiki-tabs/wiki-tabs.wxml +28 -0
  111. package/components/wiki-tabs/wiki-tabs.wxss +43 -0
  112. package/index.js +49 -0
  113. package/package.json +35 -0
  114. package/pages/addGame/addGame.js +454 -0
  115. package/pages/addGame/addGame.json +3 -0
  116. package/pages/addGame/addGame.wxml +71 -0
  117. package/pages/addGame/addGame.wxss +110 -0
  118. package/pages/addSubject/addSubject.js +199 -0
  119. package/pages/addSubject/addSubject.json +4 -0
  120. package/pages/addSubject/addSubject.wxml +78 -0
  121. package/pages/addSubject/addSubject.wxss +85 -0
  122. package/pages/commonLogin/commonLogin.js +269 -0
  123. package/pages/commonLogin/commonLogin.json +4 -0
  124. package/pages/commonLogin/commonLogin.wxml +57 -0
  125. package/pages/commonLogin/commonLogin.wxss +177 -0
  126. package/pages/copyOfficial/copyOfficial.js +25 -0
  127. package/pages/copyOfficial/copyOfficial.json +3 -0
  128. package/pages/copyOfficial/copyOfficial.wxml +22 -0
  129. package/pages/copyOfficial/copyOfficial.wxss +49 -0
  130. package/pages/demo/demo.js +23 -0
  131. package/pages/demo/demo.json +3 -0
  132. package/pages/demo/demo.wxml +8 -0
  133. package/pages/demo/demo.wxss +24 -0
  134. package/pages/game/game.js +1254 -0
  135. package/pages/game/game.json +8 -0
  136. package/pages/game/game.wxml +371 -0
  137. package/pages/game/game.wxss +672 -0
  138. package/pages/home/home.js +665 -0
  139. package/pages/home/home.json +10 -0
  140. package/pages/home/home.wxml +115 -0
  141. package/pages/home/home.wxss +231 -0
  142. package/pages/lottery-winners/lottery-winners.js +60 -0
  143. package/pages/lottery-winners/lottery-winners.json +4 -0
  144. package/pages/lottery-winners/lottery-winners.wxml +53 -0
  145. package/pages/lottery-winners/lottery-winners.wxss +127 -0
  146. package/pages/message/messageCommentsAndAt/messageCommentsAndAt.js +178 -0
  147. package/pages/message/messageCommentsAndAt/messageCommentsAndAt.json +5 -0
  148. package/pages/message/messageCommentsAndAt/messageCommentsAndAt.wxml +93 -0
  149. package/pages/message/messageCommentsAndAt/messageCommentsAndAt.wxss +177 -0
  150. package/pages/message/messageEntire/messageEntire.js +112 -0
  151. package/pages/message/messageEntire/messageEntire.json +4 -0
  152. package/pages/message/messageEntire/messageEntire.wxml +44 -0
  153. package/pages/message/messageEntire/messageEntire.wxss +88 -0
  154. package/pages/message/messageLikeAndCollect/messageLikeAndCollect.js +147 -0
  155. package/pages/message/messageLikeAndCollect/messageLikeAndCollect.json +5 -0
  156. package/pages/message/messageLikeAndCollect/messageLikeAndCollect.wxml +84 -0
  157. package/pages/message/messageLikeAndCollect/messageLikeAndCollect.wxss +166 -0
  158. package/pages/message/messageNewFans/messageNewFans.js +139 -0
  159. package/pages/message/messageNewFans/messageNewFans.json +5 -0
  160. package/pages/message/messageNewFans/messageNewFans.wxml +35 -0
  161. package/pages/message/messageNewFans/messageNewFans.wxss +85 -0
  162. package/pages/officialWebview/officialWebview.js +13 -0
  163. package/pages/officialWebview/officialWebview.json +3 -0
  164. package/pages/officialWebview/officialWebview.wxml +2 -0
  165. package/pages/officialWebview/officialWebview.wxss +1 -0
  166. package/pages/post/post.js +1856 -0
  167. package/pages/post/post.json +6 -0
  168. package/pages/post/post.wxml +694 -0
  169. package/pages/post/post.wxss +1003 -0
  170. package/pages/post-editor/post-editor.js +465 -0
  171. package/pages/post-editor/post-editor.json +4 -0
  172. package/pages/post-editor/post-editor.wxml +63 -0
  173. package/pages/post-editor/post-editor.wxss +195 -0
  174. package/pages/postDialog/postDialog.js +560 -0
  175. package/pages/postDialog/postDialog.json +6 -0
  176. package/pages/postDialog/postDialog.wxml +377 -0
  177. package/pages/postDialog/postDialog.wxss +979 -0
  178. package/pages/report-category/report-category.js +29 -0
  179. package/pages/report-category/report-category.json +4 -0
  180. package/pages/report-category/report-category.wxml +14 -0
  181. package/pages/report-category/report-category.wxss +43 -0
  182. package/pages/report-form/report-form.js +65 -0
  183. package/pages/report-form/report-form.json +3 -0
  184. package/pages/report-form/report-form.wxml +11 -0
  185. package/pages/report-form/report-form.wxss +44 -0
  186. package/pages/sevenDaySignDetail/sevenDaySignDetail.js +273 -0
  187. package/pages/sevenDaySignDetail/sevenDaySignDetail.json +3 -0
  188. package/pages/sevenDaySignDetail/sevenDaySignDetail.wxml +82 -0
  189. package/pages/sevenDaySignDetail/sevenDaySignDetail.wxss +173 -0
  190. package/pages/topic/topic.js +266 -0
  191. package/pages/topic/topic.json +6 -0
  192. package/pages/topic/topic.wxml +77 -0
  193. package/pages/topic/topic.wxss +162 -0
  194. package/pages/user/user.js +939 -0
  195. package/pages/user/user.json +5 -0
  196. package/pages/user/user.wxml +179 -0
  197. package/pages/user/user.wxss +340 -0
  198. package/pages/userDatum/userDatum.js +24 -0
  199. package/pages/userDatum/userDatum.json +4 -0
  200. package/pages/userDatum/userDatum.wxml +36 -0
  201. package/pages/userDatum/userDatum.wxss +41 -0
  202. package/pages/userGameLib/userGameLib.js +105 -0
  203. package/pages/userGameLib/userGameLib.json +4 -0
  204. package/pages/userGameLib/userGameLib.wxml +42 -0
  205. package/pages/userGameLib/userGameLib.wxss +119 -0
  206. package/pages/webview/webview.js +25 -0
  207. package/pages/webview/webview.json +3 -0
  208. package/pages/webview/webview.wxml +22 -0
  209. package/pages/webview/webview.wxss +50 -0
  210. package/pages/wheelActivivty/wheelActivivty.js +492 -0
  211. package/pages/wheelActivivty/wheelActivivty.json +8 -0
  212. package/pages/wheelActivivty/wheelActivivty.wxml +131 -0
  213. package/pages/wheelActivivty/wheelActivivty.wxss +459 -0
  214. package/pages/wiki/wiki.js +138 -0
  215. package/pages/wiki/wiki.json +6 -0
  216. package/pages/wiki/wiki.wxml +20 -0
  217. package/pages/wiki/wiki.wxss +44 -0
  218. package/request/JKRequest.js +177 -0
  219. package/services/home.js +603 -0
  220. package/towxml/config.js +291 -0
  221. package/towxml/decode.js +35 -0
  222. package/towxml/decode.json +11 -0
  223. package/towxml/decode.wxml +137 -0
  224. package/towxml/decode.wxss +0 -0
  225. package/towxml/img/img.js +98 -0
  226. package/towxml/img/img.json +3 -0
  227. package/towxml/img/img.wxml +1 -0
  228. package/towxml/img/img.wxss +0 -0
  229. package/towxml/index.js +19 -0
  230. package/towxml/latex/latex.js +53 -0
  231. package/towxml/latex/latex.json +5 -0
  232. package/towxml/latex/latex.wxml +1 -0
  233. package/towxml/latex/latex.wxss +0 -0
  234. package/towxml/parse/highlight/highlight.js +1 -0
  235. package/towxml/parse/highlight/index.js +8 -0
  236. package/towxml/parse/highlight/languages/bash.js +111 -0
  237. package/towxml/parse/highlight/languages/c-like.js +236 -0
  238. package/towxml/parse/highlight/languages/c.js +22 -0
  239. package/towxml/parse/highlight/languages/css.js +132 -0
  240. package/towxml/parse/highlight/languages/dart.js +134 -0
  241. package/towxml/parse/highlight/languages/go.js +63 -0
  242. package/towxml/parse/highlight/languages/htmlbars.js +80 -0
  243. package/towxml/parse/highlight/languages/java.js +125 -0
  244. package/towxml/parse/highlight/languages/javascript.js +265 -0
  245. package/towxml/parse/highlight/languages/json.js +52 -0
  246. package/towxml/parse/highlight/languages/less.js +148 -0
  247. package/towxml/parse/highlight/languages/nginx.js +101 -0
  248. package/towxml/parse/highlight/languages/php.js +161 -0
  249. package/towxml/parse/highlight/languages/python-repl.js +29 -0
  250. package/towxml/parse/highlight/languages/python.js +131 -0
  251. package/towxml/parse/highlight/languages/scss.js +122 -0
  252. package/towxml/parse/highlight/languages/shell.js +22 -0
  253. package/towxml/parse/highlight/languages/typescript.js +215 -0
  254. package/towxml/parse/highlight/languages/xml.js +139 -0
  255. package/towxml/parse/highlight/style/github.wxss +99 -0
  256. package/towxml/parse/highlight/style/monokai.wxss +70 -0
  257. package/towxml/parse/index.js +118 -0
  258. package/towxml/parse/markdown/index.js +67 -0
  259. package/towxml/parse/markdown/markdown.js +4 -0
  260. package/towxml/parse/markdown/plugins/echarts.js +11 -0
  261. package/towxml/parse/markdown/plugins/emoji.js +2 -0
  262. package/towxml/parse/markdown/plugins/ins.js +1 -0
  263. package/towxml/parse/markdown/plugins/latex.js +158 -0
  264. package/towxml/parse/markdown/plugins/mark.js +1 -0
  265. package/towxml/parse/markdown/plugins/sub.js +1 -0
  266. package/towxml/parse/markdown/plugins/sup.js +1 -0
  267. package/towxml/parse/markdown/plugins/todo.js +147 -0
  268. package/towxml/parse/markdown/plugins/yuml.js +20 -0
  269. package/towxml/parse/parse2/Parser.js +492 -0
  270. package/towxml/parse/parse2/Tokenizer.js +903 -0
  271. package/towxml/parse/parse2/domelementtype/index.js +55 -0
  272. package/towxml/parse/parse2/domhandler/index.js +145 -0
  273. package/towxml/parse/parse2/domhandler/node.js +474 -0
  274. package/towxml/parse/parse2/entities/decode.js +179 -0
  275. package/towxml/parse/parse2/entities/decode_codepoint.js +60 -0
  276. package/towxml/parse/parse2/entities/encode.js +77 -0
  277. package/towxml/parse/parse2/entities/escape.js +112 -0
  278. package/towxml/parse/parse2/entities/generated/decode-data-html.js +9 -0
  279. package/towxml/parse/parse2/entities/generated/decode-data-xml.js +9 -0
  280. package/towxml/parse/parse2/entities/generated/encode-html.js +12 -0
  281. package/towxml/parse/parse2/entities/index.js +137 -0
  282. package/towxml/parse/parse2/index.js +8 -0
  283. package/towxml/style/main.wxss +419 -0
  284. package/towxml/style/theme/dark.wxss +73 -0
  285. package/towxml/style/theme/light.wxss +63 -0
  286. package/towxml/table/table.js +11 -0
  287. package/towxml/table/table.json +6 -0
  288. package/towxml/table/table.wxml +24 -0
  289. package/towxml/table/table.wxss +0 -0
  290. package/towxml/todogroup/todogroup.js +20 -0
  291. package/towxml/todogroup/todogroup.json +6 -0
  292. package/towxml/todogroup/todogroup.wxml +12 -0
  293. package/towxml/todogroup/todogroup.wxss +3 -0
  294. package/towxml/towxml.js +22 -0
  295. package/towxml/towxml.json +6 -0
  296. package/towxml/towxml.wxml +5 -0
  297. package/towxml/towxml.wxss +8 -0
  298. package/towxml/yuml/yuml.js +51 -0
  299. package/towxml/yuml/yuml.json +5 -0
  300. package/towxml/yuml/yuml.wxml +5 -0
  301. package/towxml/yuml/yuml.wxss +0 -0
  302. package/utils/auth.js +17 -0
  303. package/utils/base64.js +67 -0
  304. package/utils/compressImage.js +41 -0
  305. package/utils/exp.js +49 -0
  306. package/utils/formatPost.js +18 -0
  307. package/utils/parseContent.js +191 -0
  308. package/utils/query-select.js +9 -0
  309. package/utils/sensitive.js +82 -0
@@ -0,0 +1,979 @@
1
+ .post-item {
2
+ background-color: #fff;
3
+ padding: 30rpx;
4
+ border-bottom: none;
5
+ /* 用 divider 代替 */
6
+ }
7
+
8
+ .post-header {
9
+ display: flex;
10
+ align-items: center;
11
+ }
12
+
13
+ .avatar {
14
+ flex-shrink: 0;
15
+ width: 70rpx;
16
+ height: 70rpx;
17
+ border-radius: 50%;
18
+ margin-right: 20rpx;
19
+ }
20
+
21
+ .comment {
22
+ margin-top: 20rpx;
23
+ }
24
+
25
+ .user-info {
26
+ flex: 1;
27
+ display: flex;
28
+ flex-direction: column;
29
+ }
30
+
31
+ .nickname {
32
+ font-weight: bold;
33
+ font-size: 26rpx;
34
+ line-height: 28rpx;
35
+
36
+ }
37
+
38
+ .comment-nickname {
39
+ font-size: 28rpx;
40
+ line-height: 28rpx;
41
+ color: #9e9e9e;
42
+ }
43
+
44
+ .time {
45
+ color: #808080;
46
+ font-size: 24rpx;
47
+ line-height: 24rpx;
48
+ }
49
+
50
+ .follow-btn {
51
+ flex-shrink: 0;
52
+ background-color: #fff;
53
+ color: #003366;
54
+ font-size: 22rpx;
55
+ border: 1px solid #003366;
56
+ height: 50rpx;
57
+ line-height: 50rpx;
58
+ /* 让文字垂直居中 */
59
+ width: 100rpx;
60
+ /* 固定宽度 */
61
+ text-align: center;
62
+ /* 水平居中 */
63
+ border-radius: 35rpx;
64
+ /* 圆形按钮,半径 = 高度/2 */
65
+ padding: 0;
66
+ /* 去掉 padding */
67
+ }
68
+
69
+ .followed {
70
+ color: #999;
71
+ border: 2rpx solid #ddd;
72
+ }
73
+
74
+ .unfollow {
75
+ color: #003366;
76
+ border: 1px solid #003366;
77
+ }
78
+
79
+ .post-content {
80
+ font-size: 30rpx;
81
+ color: black;
82
+ line-height: 45rpx;
83
+ /* max-height: 180rpx; */
84
+ /* display: -webkit-box;
85
+ -webkit-box-orient: vertical;
86
+ -webkit-line-clamp: 6; */
87
+ /* 默认显示6行 */
88
+ overflow: hidden;
89
+ margin-top: 10rpx;
90
+ }
91
+
92
+ .post-content.show-full {
93
+ max-height: none;
94
+ overflow: visible;
95
+ /* -webkit-line-clamp: unset; */
96
+ /* 展开全文 */
97
+ }
98
+
99
+ .read-more {
100
+ color: #0081ff;
101
+ /* 蓝色 */
102
+ cursor: pointer;
103
+ }
104
+
105
+
106
+ .read-more {
107
+ color: #0081ff;
108
+ cursor: pointer;
109
+ }
110
+
111
+ .post-image {
112
+ display: block;
113
+ width: 100%;
114
+ /* max-height: 500rpx; */
115
+ border-radius: 8rpx;
116
+ margin-top: 10rpx;
117
+
118
+ border: 1rpx solid rgba(211, 211, 211, 0.2);
119
+ }
120
+
121
+ .post-image-full {
122
+ border: 1rpx solid rgba(211, 211, 211, 0.2);
123
+
124
+ width: 100%;
125
+ /* 顶满屏幕宽 */
126
+ height: auto;
127
+ /* 高度自适应 */
128
+ }
129
+
130
+ .post-image-grid {
131
+ display: flex;
132
+ flex-wrap: wrap;
133
+ column-gap: 10rpx;
134
+ /* 列间距 */
135
+ row-gap: 10rpx;
136
+ margin-top: 5rpx;
137
+ /* justify-content: space-between; */
138
+ }
139
+
140
+
141
+
142
+ .grid-image-wrapper {
143
+ position: relative;
144
+ width: calc((100vw - 60rpx - 20rpx)/3);
145
+ /* background-color: red; */
146
+ color: white;
147
+ text-align: center;
148
+ /* padding: 20rpx; */
149
+ box-sizing: border-box;
150
+ }
151
+
152
+ .grid-image-wrapper1 {
153
+ position: relative;
154
+ width: calc((100vw - 60rpx - 20rpx - 32rpx)/3);
155
+ /* background-color: red; */
156
+ color: white;
157
+ text-align: center;
158
+ /* padding: 20rpx; */
159
+ box-sizing: border-box;
160
+ }
161
+
162
+
163
+ .grid-image {
164
+ display: block;
165
+ width: 100%;
166
+ height: calc((100vw - 60rpx - 20rpx)/3);
167
+ }
168
+
169
+ .grid-image1 {
170
+ display: block;
171
+ width: 100%;
172
+ height: calc((100vw - 60rpx - 20rpx - 32rpx)/3);
173
+ }
174
+
175
+ .grid-image-placeholder {
176
+ width: calc((100vw - 60rpx - 20rpx)/3);
177
+ height: calc((100vw - 60rpx - 20rpx)/3);
178
+ /* 占位宽高和图片一样 */
179
+ visibility: hidden;
180
+ /* 隐藏,只占位 */
181
+ }
182
+
183
+ .grid-image-placeholder1 {
184
+ width: calc((100vw - 60rpx - 20rpx - 32rpx)/3);
185
+ height: calc((100vw - 60rpx - 20rpx - 32rpx)/3);
186
+ /* 占位宽高和图片一样 */
187
+ visibility: hidden;
188
+ /* 隐藏,只占位 */
189
+ }
190
+
191
+ .extra-overlay {
192
+ position: absolute;
193
+ top: 0;
194
+ right: 0;
195
+ background-color: rgba(0, 0, 0, 0.5);
196
+ color: #fff;
197
+ padding: 4rpx 6rpx;
198
+ font-size: 24rpx;
199
+ border-top-right-radius: 8rpx;
200
+ border-bottom-left-radius: 8rpx;
201
+ }
202
+
203
+ .post-actions {
204
+ display: flex;
205
+ justify-content: space-between;
206
+ margin-top: 20rpx;
207
+ color: #666;
208
+ font-size: 26rpx;
209
+ }
210
+
211
+ .action {
212
+ flex: 1;
213
+ display: flex;
214
+ align-items: center;
215
+ }
216
+
217
+ .action text {
218
+ margin-left: 5px;
219
+ }
220
+
221
+ .action-icon {
222
+ width: 28rpx;
223
+ height: 28rpx;
224
+ margin-right: 6rpx;
225
+ }
226
+
227
+ .divider {
228
+ height: 10rpx;
229
+ background-color: #f5f5f5;
230
+ margin-top: 20rpx;
231
+ }
232
+
233
+
234
+ .emoji {
235
+ /* background-color: red; */
236
+ display: inline-block;
237
+ width: 40rpx;
238
+ height: 40rpx;
239
+ /* line-height: 40rpx; */
240
+ margin-bottom: 10rpx;
241
+ margin-left: 4rpx;
242
+ vertical-align: middle;
243
+ }
244
+
245
+
246
+ /* 在对应的 wxss 里写 */
247
+ .van-sticky-wrap {
248
+ background-color: white;
249
+ }
250
+
251
+ .custom-tabs {
252
+ width: 60%;
253
+ /* 控制整个 tabs 宽度 */
254
+ }
255
+
256
+ .custom-tabs .van-tabs__wrap {
257
+ width: 60%;
258
+ /* 控制顶部导航条宽度 */
259
+ }
260
+
261
+ .custom-tabs .van-tabs__content {
262
+ width: 100%;
263
+ /* 控制内容区宽度 */
264
+ }
265
+
266
+
267
+ .tabs-wrapper {
268
+ position: relative;
269
+ padding-bottom: 100rpx;
270
+ }
271
+
272
+ .dropdown-fixed {
273
+ position: absolute;
274
+ top: 0rpx;
275
+ height: 20px;
276
+ /* 根据UI微调 */
277
+ right: 0rpx;
278
+ z-index: 999;
279
+ }
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+ /* ai代码 */
291
+ .comment-list {
292
+ padding: 20rpx 30rpx;
293
+ }
294
+
295
+ .comment-item {
296
+ display: flex;
297
+ margin-bottom: 20rpx;
298
+ }
299
+
300
+ .avatar {
301
+ width: 70rpx;
302
+ height: 70rpx;
303
+ border-radius: 50%;
304
+ margin-right: 20rpx;
305
+ }
306
+
307
+ .comment-body {
308
+ flex: 1;
309
+
310
+ }
311
+
312
+ .comment-header {
313
+ display: flex;
314
+ align-items: center;
315
+ }
316
+
317
+ .nickname {
318
+ font-weight: bold;
319
+ color: #333;
320
+ }
321
+
322
+ .meta-row {
323
+ display: flex;
324
+ align-items: center;
325
+ }
326
+
327
+ .time {
328
+ color: #999;
329
+ font-size: 24rpx;
330
+ }
331
+
332
+ .reply-btn {
333
+ margin-top: 4rpx;
334
+ margin-left: 15px;
335
+ font-size: 24rpx;
336
+ line-height: 24rpx;
337
+
338
+ color: #999;
339
+ }
340
+
341
+ .action-row {
342
+ display: flex;
343
+ margin-left: auto;
344
+ align-items: center;
345
+ gap: 10rpx;
346
+ }
347
+
348
+ .like-btn {
349
+ font-size: 26rpx;
350
+ color: #666;
351
+ }
352
+
353
+ .comment-content {
354
+ margin: 10rpx 0;
355
+ font-size: 28rpx;
356
+ }
357
+
358
+ .super-long {
359
+ display: block;
360
+ border-radius: 8rpx;
361
+ margin-top: 10rpx;
362
+
363
+ /* max-width: 66vw; */
364
+ width: 23vw;
365
+ height: 55vw;
366
+ /* width: 100rpx;
367
+ height: 180rpx; */
368
+
369
+ border: 1rpx solid rgba(211, 211, 211, 0.2);
370
+
371
+ }
372
+
373
+ .comment-image {
374
+ /* width: 160rpx; */
375
+ max-width: 260rpx;
376
+ max-height: 260rpx;
377
+ border-radius: 8rpx;
378
+ margin-top: 10rpx;
379
+ }
380
+
381
+ .reply-list {
382
+ margin-left: 90rpx;
383
+ margin-top: 10rpx;
384
+ background-color: #f5f5f5;
385
+ padding: 15rpx;
386
+ border-radius: 8rpx;
387
+ }
388
+
389
+ .reply-item {
390
+ margin-bottom: 15rpx;
391
+ }
392
+
393
+ .reply-content {
394
+ font-size: 26rpx;
395
+ color: #333;
396
+ margin-bottom: 8rpx;
397
+
398
+ }
399
+
400
+
401
+ /* 赞列表 */
402
+ .like-list {
403
+ display: flex;
404
+ flex-direction: column;
405
+ padding: 20rpx 30rpx;
406
+
407
+ }
408
+
409
+ .like-item {
410
+ display: flex;
411
+ align-items: center;
412
+ padding: 16rpx;
413
+ border-bottom: 2rpx solid #f0f0f0;
414
+ }
415
+
416
+ .avatar {
417
+ width: 65rpx;
418
+ height: 65rpx;
419
+ border-radius: 50%;
420
+ }
421
+
422
+ .user-info {
423
+ flex: 1;
424
+ }
425
+
426
+ .line1 {
427
+ display: flex;
428
+ align-items: center;
429
+ }
430
+
431
+ .nickname {
432
+ font-weight: bold;
433
+ color: #333;
434
+ margin-right: 10rpx;
435
+ }
436
+
437
+ .fans {
438
+ font-size: 24rpx;
439
+ color: #999;
440
+ }
441
+
442
+ .line2 {
443
+ margin-top: 4rpx;
444
+ }
445
+
446
+ .bio {
447
+ display: block;
448
+ font-size: 24rpx;
449
+ color: #666;
450
+ /* width: 70vw; */
451
+ white-space: nowrap;
452
+ overflow: hidden;
453
+ text-overflow: ellipsis;
454
+ }
455
+
456
+ /* 转发列表 */
457
+ .share-list {
458
+ padding: 20rpx 30rpx;
459
+ }
460
+
461
+ .share-item {
462
+ display: flex;
463
+ margin-bottom: 20rpx;
464
+ }
465
+
466
+ .share-body {
467
+ flex: 1;
468
+ margin-left: 20rpx;
469
+ }
470
+
471
+ .share-content {
472
+ margin-top: 5rpx;
473
+ margin-bottom: 5rpx;
474
+ }
475
+
476
+ .share-image {
477
+ width: 200rpx;
478
+ height: 200rpx;
479
+ margin-top: 5rpx;
480
+ margin-right: 5rpx;
481
+ border-radius: 5rpx;
482
+ }
483
+
484
+ .time {
485
+ color: #999;
486
+ font-size: 24rpx;
487
+ margin-top: 5rpx;
488
+ }
489
+
490
+
491
+ /* 占位文字 */
492
+ .empty-placeholder {
493
+ flex: 1;
494
+ /* 占满剩余空间 */
495
+ display: flex;
496
+ justify-content: center;
497
+ /* 水平居中 */
498
+ align-items: center;
499
+ /* 垂直居中 */
500
+ color: #999;
501
+ font-size: 28rpx;
502
+ min-height: 400rpx;
503
+ /* 防止内容太少时没有空间居中,可以按需调整 */
504
+ }
505
+
506
+ .empty-comment {
507
+ flex: 1;
508
+ display: flex;
509
+ flex-direction: column;
510
+ justify-content: center;
511
+ /* 垂直居中 */
512
+ align-items: center;
513
+ /* 水平居中 */
514
+ color: #666;
515
+ padding: 40rpx 20rpx;
516
+ }
517
+
518
+ .empty-img {
519
+ width: 200rpx;
520
+ height: 200rpx;
521
+ margin-bottom: 20rpx;
522
+ }
523
+
524
+ .empty-text {
525
+ font-size: 28rpx;
526
+ margin-bottom: 20rpx;
527
+ }
528
+
529
+ .first-comment-btn {
530
+ background-color: #002fa7;
531
+ color: #fff;
532
+ font-size: 28rpx;
533
+ border-radius: 40rpx;
534
+ padding: 10rpx 40rpx;
535
+ height: 40rpx;
536
+ line-height: 40rpx;
537
+ }
538
+
539
+ .comment-sort {
540
+ /* display: flex;
541
+ justify-content: flex-end;
542
+ padding: 10rpx 20rpx; */
543
+ }
544
+
545
+ .sort-btn {
546
+ font-size: 26rpx;
547
+ color: #333;
548
+ }
549
+
550
+
551
+ .van-dropdown-item__content,
552
+ .van-dropdown-menu,
553
+ .van-dropdown-menu__bar {
554
+ box-shadow: none !important;
555
+ }
556
+
557
+ .van-dropdown-menu__item {
558
+ height: 40px !important;
559
+ line-height: 40px !important;
560
+ }
561
+
562
+
563
+
564
+ .loading-more {
565
+ text-align: center;
566
+ color: #999;
567
+ font-size: 28rpx;
568
+ margin: 20rpx 0;
569
+ }
570
+
571
+
572
+ /* 底部工具栏 */
573
+ .bottom-toolbar {
574
+ position: fixed;
575
+ bottom: 0;
576
+ left: 0;
577
+ right: 0;
578
+ height: 100rpx;
579
+ display: flex;
580
+ border-top: grey 1px;
581
+ align-items: center;
582
+ justify-content: space-between;
583
+ padding: 0 20rpx;
584
+ box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
585
+ z-index: 9999;
586
+ background-color: white;
587
+ }
588
+
589
+ .input-placeholder {
590
+ flex: 1;
591
+ display: flex;
592
+ align-items: center;
593
+ background-color: #f8f8f8;
594
+
595
+ border-radius: 40rpx;
596
+ padding: 0 20rpx;
597
+ height: 70rpx;
598
+ margin-right: 20rpx;
599
+ border: 2rpx solid #eeeeee;
600
+ }
601
+
602
+ .icon-keyboard {
603
+ width: 36rpx;
604
+ height: 36rpx;
605
+ margin-right: 10rpx;
606
+ }
607
+
608
+ .placeholder-text {
609
+ color: #b3b3b3;
610
+ font-size: 26rpx;
611
+ }
612
+
613
+ .toolbar-right {
614
+ display: flex;
615
+ align-items: center;
616
+ gap: 15px;
617
+ }
618
+
619
+ .toolbar-item {
620
+ display: flex;
621
+ align-items: center;
622
+ /* width: 50px; */
623
+ }
624
+
625
+
626
+ .icon {
627
+ width: 40rpx;
628
+ height: 40rpx;
629
+ object-fit: contain;
630
+ /* 保持比例显示 */
631
+ vertical-align: middle;
632
+ flex-shrink: 0;
633
+ }
634
+
635
+ .count {
636
+ margin-left: 2rpx;
637
+ color: #666;
638
+ font-size: 26rpx;
639
+ flex-shrink: 0;
640
+ }
641
+
642
+
643
+
644
+ /* 投票 */
645
+
646
+ .vote-wrapper {
647
+ margin-top: 20rpx;
648
+ padding: 20rpx;
649
+ background: #f7f7f7;
650
+ border-radius: 10rpx;
651
+ }
652
+
653
+ .vote-title {
654
+ font-size: 32rpx;
655
+ font-weight: bold;
656
+ margin-bottom: 20rpx;
657
+ }
658
+
659
+ .vote-option {
660
+ position: relative;
661
+ padding: 20rpx;
662
+ border: 2rpx solid #e5e5e5;
663
+ border-radius: 12rpx;
664
+ display: flex;
665
+ align-items: center;
666
+ margin-bottom: 16rpx;
667
+ overflow: hidden;
668
+ }
669
+
670
+ .vote-option.selected {
671
+ border-color: #002fa7;
672
+ }
673
+
674
+ .vote-bg-fill {
675
+ position: absolute;
676
+ top: 0;
677
+ left: 0;
678
+ height: 100%;
679
+ background: #e5ebfa;
680
+ z-index: 1;
681
+ }
682
+
683
+ .vote-index {
684
+ z-index: 2;
685
+ font-size: 32rpx;
686
+ font-weight: bold;
687
+ width: 40rpx;
688
+ }
689
+
690
+ .vote-image {
691
+ z-index: 2;
692
+ width: 80rpx;
693
+ height: 80rpx;
694
+ background: #ddd;
695
+ border-radius: 8rpx;
696
+ margin: 0 16rpx;
697
+ }
698
+
699
+ .vote-text {
700
+ z-index: 2;
701
+ font-size: 30rpx;
702
+ flex: 1;
703
+ }
704
+
705
+ .vote-right {
706
+ z-index: 2;
707
+ display: flex;
708
+ align-items: center;
709
+ font-size: 26rpx;
710
+ color: #666;
711
+ }
712
+
713
+ .vote-check {
714
+ width: 32rpx;
715
+ height: 32rpx;
716
+ margin-left: 8rpx;
717
+ color: #002fa7;
718
+ }
719
+
720
+ .vote-submit {
721
+ margin-top: 20rpx;
722
+ background: #ccc;
723
+ text-align: center;
724
+ height: 45px;
725
+ line-height: 45px;
726
+ border-radius: 23px;
727
+ font-size: 28rpx;
728
+ color: #fff;
729
+ }
730
+
731
+ .vote-submit.enable {
732
+ background: #002fa7;
733
+ }
734
+
735
+ .vote-submit.disable {
736
+ background: #ccc;
737
+ }
738
+
739
+
740
+ .vote-option[selected] {
741
+ border-color: #002fa7;
742
+ }
743
+
744
+ .vote-check {
745
+ width: 32rpx;
746
+ height: 32rpx;
747
+ }
748
+
749
+ .vote-bg-fill {
750
+ background: #e5ebfa;
751
+ }
752
+
753
+
754
+
755
+ .custom-sheet-wrapper {
756
+ position: fixed;
757
+ left: 0;
758
+ right: 0;
759
+ top: 0;
760
+ bottom: 0;
761
+ background-color: rgba(0, 0, 0, 0.5);
762
+ z-index: 9999;
763
+ }
764
+
765
+ .custom-sheet {
766
+ position: absolute;
767
+ bottom: 0;
768
+ width: 100%;
769
+ background-color: #f5f4f9;
770
+ border-top-left-radius: 12rpx;
771
+ border-top-right-radius: 12rpx;
772
+ padding: 20rpx 0;
773
+ }
774
+
775
+ .sheet-buttons {
776
+ display: flex;
777
+ margin-left: 15px;
778
+ justify-content: flex-start;
779
+ gap: 20px;
780
+ }
781
+
782
+ .sheet-button {
783
+ display: flex;
784
+ flex-direction: column;
785
+ align-items: center;
786
+
787
+ }
788
+
789
+ .icon-wrapper {
790
+ background-color: white;
791
+ display: flex;
792
+ align-items: center;
793
+ justify-content: center;
794
+ width: 60px;
795
+ height: 60px;
796
+ border-radius: 50%;
797
+ }
798
+
799
+ .sheet-icon {
800
+ width: 60rpx;
801
+ height: 60rpx;
802
+ margin-bottom: 8rpx;
803
+ }
804
+
805
+ .sheet-text {
806
+ margin-top: 10px;
807
+ font-size: 22rpx;
808
+ color: #333;
809
+ }
810
+
811
+ .sheet-divider {
812
+ height: 20rpx;
813
+ background-color: #ecebef;
814
+ margin-top: 10px;
815
+ }
816
+
817
+ .sheet-cancel {
818
+ text-align: center;
819
+ color: #000000;
820
+ font-size: 28rpx;
821
+ padding: 20rpx 0;
822
+ border-top: 2rpx solid #eee;
823
+ }
824
+
825
+ .author-tag-main {
826
+ /* position: relative; */
827
+ bottom: 0rpx;
828
+ display: inline-block;
829
+ text-align: center;
830
+ margin: 28rpx 4rpx 0 4rpx;
831
+ padding: 4rpx 6rpx;
832
+ background-color: #dadfea;
833
+ color: #406ce3;
834
+ border-radius: 10rpx;
835
+ font-size: 20rpx;
836
+ line-height: 24rpx;
837
+ height: 24rpx;
838
+ }
839
+
840
+ .author-tag {
841
+ position: relative;
842
+ bottom: 5rpx;
843
+ display: inline-block;
844
+ text-align: center;
845
+ margin: 0 4rpx 0 4rpx;
846
+ padding: 4rpx 6rpx;
847
+ background-color: #dadfea;
848
+ color: #406ce3;
849
+ border-radius: 10rpx;
850
+ font-size: 20rpx;
851
+ line-height: 24rpx;
852
+ height: 24rpx;
853
+ }
854
+
855
+
856
+ .level-icon {
857
+ position: relative;
858
+ width: 16px;
859
+ /* 按你的 lv1.png 实际大小调整 */
860
+ height: 16px;
861
+ margin-left: 3px;
862
+ }
863
+
864
+ .level-img {
865
+ width: 100%;
866
+ height: 100%;
867
+ }
868
+
869
+ .level-text {
870
+ position: absolute;
871
+ top: 50%;
872
+ left: 50%;
873
+ transform: translate(-50%, -50%);
874
+ font-size: 10px;
875
+ color: #6d6d6d;
876
+ text-align: center;
877
+ }
878
+
879
+
880
+ .deleted {
881
+ display: flex;
882
+ background-color: #f5f5f5;
883
+ border-radius: 4px;
884
+ margin: 6px 0;
885
+ padding-right: 6px;
886
+ align-items: flex-start;
887
+ box-sizing: border-box;
888
+ padding: 10px;
889
+ justify-content: center;
890
+ align-items: center;
891
+ color: #999;
892
+ font-size: 14px;
893
+ }
894
+
895
+
896
+ /* 抽奖 */
897
+
898
+ .lottery-container {
899
+ padding: 20rpx 30rpx;
900
+ margin-top: 10px;
901
+ border-radius: 6px;
902
+ background-color: #f7f7f7;
903
+ }
904
+
905
+ .lottery-header {
906
+ display: flex;
907
+ justify-content: space-between;
908
+ align-items: center;
909
+ margin-bottom: 8px;
910
+ }
911
+
912
+ .lottery-title {
913
+ font-weight: bold;
914
+ font-size: 34rpx;
915
+ line-height: 34rpx;
916
+ }
917
+
918
+ .lottery-status {
919
+ font-weight: 30rpx;
920
+ line-height: 34rpx;
921
+
922
+ }
923
+
924
+ .divider-line {
925
+ width: 100%;
926
+ height: 2rpx;
927
+ background-color: #e5e5e5;
928
+ margin: 30rpx 0;
929
+ }
930
+
931
+ .lottery-row {
932
+ display: flex;
933
+ align-items: center;
934
+ }
935
+
936
+ .lottery-btn {
937
+ border: 2rpx solid #ee7f13;
938
+ color: #ee7f13;
939
+ border-radius: 22rpx;
940
+ margin-top: 20px;
941
+ height: 80rpx;
942
+ line-height: 80rpx;
943
+ text-align: center;
944
+ font-weight: bold;
945
+ font-size: 27rpx;
946
+ }
947
+
948
+
949
+ /* 分割条本体 */
950
+ .floor-divider {
951
+ position: relative;
952
+ height: 20rpx;
953
+ width: 100%;
954
+ background-color: #F5F4F9;
955
+ overflow: hidden;
956
+ }
957
+
958
+ /* 公共斜线样式 */
959
+ .connector {
960
+ position: absolute;
961
+ width: 20rpx;
962
+ overflow: hidden;
963
+ top: -30rpx;
964
+ bottom: -100rpx;
965
+ background-color: #d0d0d0;
966
+ transform-origin: top;
967
+ }
968
+
969
+ /* 右侧斜线 */
970
+ .connector-right {
971
+ right: 100rpx;
972
+ transform: rotate(-50deg);
973
+ }
974
+
975
+ /* 左侧斜线 */
976
+ .connector-left {
977
+ left: 100rpx;
978
+ transform: rotate(50deg);
979
+ }