Browse Source

app换行问题

xiaol 2 months ago
parent
commit
fadc06c48c
26 changed files with 90 additions and 94 deletions
  1. 0 1
      components/tm-public/chat/msg.vue
  2. 1 2
      library/utils/Comm.js
  3. 1 1
      unpackage/dist/build/web/index.html
  4. 0 0
      unpackage/dist/build/web/static/js/index.653b06c3.js
  5. 0 0
      unpackage/dist/build/web/static/js/pages-chat-index.5b391af2.js
  6. 0 0
      unpackage/dist/build/web/static/js/pages-chat-index.9b04d36d.js
  7. 0 0
      unpackage/dist/build/web/static/js/pages-guild-order-hallpay.5bc7001b.js
  8. 0 0
      unpackage/dist/build/web/static/js/pages-guild-order-hallpay.ac5d8599.js
  9. 0 0
      unpackage/dist/build/web/static/js/pages-guild-order-order.3acae379.js
  10. 0 0
      unpackage/dist/build/web/static/js/pages-guild-order-order.c4debc12.js
  11. 0 0
      unpackage/dist/build/web/static/js/pages-login-register.6cea451a.js
  12. 0 0
      unpackage/dist/build/web/static/js/pages-login-register.f57484ef.js
  13. 0 0
      unpackage/dist/build/web/static/js/pages-user-detail-integral_gift.0fc13415.js
  14. 0 0
      unpackage/dist/build/web/static/js/pages-user-detail-integral_gift.11abf318.js
  15. 0 0
      unpackage/dist/build/web/static/js/pages-user-order-detail-detail.60685587.js
  16. 0 0
      unpackage/dist/build/web/static/js/pages-user-order-detail-detail.e34dac83.js
  17. 0 0
      unpackage/dist/build/web/static/js/pages-user-qrcode-index.bf9dcd6f.js
  18. 0 0
      unpackage/dist/build/web/static/js/pages-user-qrcode-index.e5e5cd0c.js
  19. BIN
      unpackage/dist/build/web/web.zip
  20. 3 3
      unpackage/dist/dev/app-plus/app-service.js
  21. 85 87
      unpackage/dist/dev/app-plus/app-view.js
  22. 0 0
      unpackage/dist/dev/app-plus/manifest.json
  23. 0 0
      unpackage/dist/dev/app-plus/static/img/chat-camera.705dc7e5.svg
  24. 0 0
      unpackage/dist/dev/app-plus/static/img/chat-collect.8089f961.svg
  25. 0 0
      unpackage/dist/dev/app-plus/static/img/chat-phone.ef5d020f.svg
  26. 0 0
      unpackage/dist/dev/app-plus/static/img/chat-reg.807bed59.svg

+ 0 - 1
components/tm-public/chat/msg.vue

@@ -40,7 +40,6 @@
 					<!-- #ifdef H5 -->
 						<text v-html="utils.toH5ml(item.data)"></text>
 					<!-- #endif -->
-					
 					<!-- #ifndef H5 -->  
 						<rich-text :nodes="utils.toH5ml(item.data)"></rich-text>
 					<!-- #endif -->

+ 1 - 2
library/utils/Comm.js

@@ -663,9 +663,8 @@ function toH5ml(str) {
 	//#endif
 	
 	//#ifndef H5
-		str = str.replace(/&nbsp;/ig, ' ');//替换HTML空格
+		str = str.replace(/\n/g, '<br/>');//替换HTML空格
 	//#endif
-	   
 	return str;
 }
 

+ 1 - 1
unpackage/dist/build/web/index.html

@@ -1,5 +1,5 @@
 <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>CBB</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
-            document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/h5/static/index.2da1efab.css><script src=https://cn-shanghai-aliyun-cloudauth.oss-cn-shanghai.aliyuncs.com/web_sdk_js/jsvm_all.js></script><script src="https://cstaticdun.126.net/load.min.js?t=201903281201"></script></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><script src="https://cstaticdun.126.net/load.min.js?t=201903281201"></script><div id=app></div><script src=/h5/static/js/chunk-vendors.f6948fc5.js></script><script src=/h5/static/js/index.ff399aed.js></script></body></html><script>if(("standalone" in window.navigator) && window.navigator.standalone){
+            document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/h5/static/index.2da1efab.css><script src=https://cn-shanghai-aliyun-cloudauth.oss-cn-shanghai.aliyuncs.com/web_sdk_js/jsvm_all.js></script><script src="https://cstaticdun.126.net/load.min.js?t=201903281201"></script></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><script src="https://cstaticdun.126.net/load.min.js?t=201903281201"></script><div id=app></div><script src=/h5/static/js/chunk-vendors.f6948fc5.js></script><script src=/h5/static/js/index.653b06c3.js></script></body></html><script>if(("standalone" in window.navigator) && window.navigator.standalone){
 	var noddy, remotes = false;
 	document.addEventListener('click', function(event) {
 		noddy = event.target;

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/static/js/index.653b06c3.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/static/js/pages-chat-index.5b391af2.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/static/js/pages-chat-index.9b04d36d.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/static/js/pages-guild-order-hallpay.5bc7001b.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/static/js/pages-guild-order-hallpay.ac5d8599.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/static/js/pages-guild-order-order.3acae379.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/static/js/pages-guild-order-order.c4debc12.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/static/js/pages-login-register.6cea451a.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/static/js/pages-login-register.f57484ef.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/static/js/pages-user-detail-integral_gift.0fc13415.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/static/js/pages-user-detail-integral_gift.11abf318.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/static/js/pages-user-order-detail-detail.60685587.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/static/js/pages-user-order-detail-detail.e34dac83.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/static/js/pages-user-qrcode-index.bf9dcd6f.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/web/static/js/pages-user-qrcode-index.e5e5cd0c.js


BIN
unpackage/dist/build/web/web.zip


File diff suppressed because it is too large
+ 3 - 3
unpackage/dist/dev/app-plus/app-service.js


File diff suppressed because it is too large
+ 85 - 87
unpackage/dist/dev/app-plus/app-view.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/app-plus/manifest.json


+ 0 - 0
unpackage/dist/dev/app-plus/static/img/chat-camera.64863261.svg → unpackage/dist/dev/app-plus/static/img/chat-camera.705dc7e5.svg


+ 0 - 0
unpackage/dist/dev/app-plus/static/img/chat-collect.ab06e10e.svg → unpackage/dist/dev/app-plus/static/img/chat-collect.8089f961.svg


+ 0 - 0
unpackage/dist/dev/app-plus/static/img/chat-phone.700c9170.svg → unpackage/dist/dev/app-plus/static/img/chat-phone.ef5d020f.svg


+ 0 - 0
unpackage/dist/dev/app-plus/static/img/chat-reg.d32a3d10.svg → unpackage/dist/dev/app-plus/static/img/chat-reg.807bed59.svg


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