sa03 5 tahun lalu
induk
melakukan
370652f97e

+ 1 - 5
_src/components/chatMini/chatMini.scss

@@ -149,7 +149,6 @@ $offsetRight: 5px;
   flex: 1;
   position: relative;
   background: $chatContBg;
-  margin-bottom: 66px;
   .msg-unread{
     position: absolute;
     width: 120px;
@@ -199,12 +198,9 @@ $offsetRight: 5px;
 }
 
 .box-ft{
-  position: absolute;
+  position: relative;
   background: $chatContBg;
   border-top: 1px solid #d6d6d6;
-  bottom: 0;
-  left: 0;
-  right: 0;
   .input-con{
     position: relative;
     display: flex;

+ 2 - 2
_src/components/chatMini/chatMini.vue

@@ -25,8 +25,7 @@
 
         <chat-pin v-bind="pinMsg" @pinMsgClose="pinMsgClose" @scrollToView="scrollToView"></chat-pin>
 
-          <!--  【注意】:此处不要使用webkit-box等自适应的模型,“必须”使用Js动态控制高度   !-->
-        <div class="box-bd">
+        <div class="box-bd" ref="msgBox">
           <div ref="scrollWrap" @scroll.prevent="handleScroll" class="scroller">
             <div ref="msgWrap" class="msg-wrap">
               <div class="msg-top-more" v-if="lockEnd">
@@ -250,6 +249,7 @@ export default {
       let ele = this.$refs.chatInput
       this.inputHeight = 'auto'
       this.$nextTick(() => {
+        this.$refs.msgBox.style.padding = 0
         this.inputHeight = Math.max(18, Math.min(ele.scrollHeight, 75)) + 'px'
       })
     },

File diff ditekan karena terlalu besar
+ 0 - 0
dist/css/mini.8a2b67db.css


File diff ditekan karena terlalu besar
+ 0 - 0
dist/css/mini.d0c746db.css


File diff ditekan karena terlalu besar
+ 0 - 0
dist/js/mini.09b39c1b.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/js/mini.cd24872c.js


+ 5 - 5
dist/precache-manifest.ce4dc33a60651e0861f031ca5ffc18b3.js → dist/precache-manifest.88b640ba7cdfd5c505b7c4c9effc9e16.js

@@ -24,12 +24,12 @@ self.__precacheManifest = [
     "url": "/dist/js/index.22147928.js"
   },
   {
-    "revision": "78f9d1ea6013b72d87e5",
-    "url": "/dist/css/mini.d0c746db.css"
+    "revision": "bb4d9b25d3aab56ed42b",
+    "url": "/dist/css/mini.8a2b67db.css"
   },
   {
-    "revision": "78f9d1ea6013b72d87e5",
-    "url": "/dist/js/mini.cd24872c.js"
+    "revision": "bb4d9b25d3aab56ed42b",
+    "url": "/dist/js/mini.09b39c1b.js"
   },
   {
     "revision": "2fad952a20fbbcfd1bf2ebb210dccf7a",
@@ -68,7 +68,7 @@ self.__precacheManifest = [
     "url": "/dist/css/chunk-common.657b0eab.css"
   },
   {
-    "revision": "750b4ddb97e9e3c44a3db728dd18b656",
+    "revision": "b36485764e7988078ecf08374dc7cda3",
     "url": "/dist/../protected/views/mini.html"
   },
   {

+ 1 - 1
dist/sw.js

@@ -1,4 +1,4 @@
-importScripts("/dist/precache-manifest.ce4dc33a60651e0861f031ca5ffc18b3.js");
+importScripts("/dist/precache-manifest.88b640ba7cdfd5c505b7c4c9effc9e16.js");
 
 
 var workbox=function(){"use strict";try{self.workbox.v["workbox:sw:3.6.3"]=1}catch(t){}const t="https://storage.googleapis.com/workbox-cdn/releases/3.6.3",e={backgroundSync:"background-sync",broadcastUpdate:"broadcast-cache-update",cacheableResponse:"cacheable-response",core:"core",expiration:"cache-expiration",googleAnalytics:"google-analytics",navigationPreload:"navigation-preload",precaching:"precaching",rangeRequests:"range-requests",routing:"routing",strategies:"strategies",streams:"streams"};return new class{constructor(){return this.v={},this.t={debug:"localhost"===self.location.hostname,modulePathPrefix:null,modulePathCb:null},this.e=this.t.debug?"dev":"prod",this.s=!1,new Proxy(this,{get(t,s){if(t[s])return t[s];const o=e[s];return o&&t.loadModule(`workbox-${o}`),t[s]}})}setConfig(t={}){if(this.s)throw new Error("Config must be set before accessing workbox.* modules");Object.assign(this.t,t),this.e=this.t.debug?"dev":"prod"}skipWaiting(){self.addEventListener("install",()=>self.skipWaiting())}clientsClaim(){self.addEventListener("activate",()=>self.clients.claim())}loadModule(t){const e=this.o(t);try{importScripts(e),this.s=!0}catch(s){throw console.error(`Unable to import module '${t}' from '${e}'.`),s}}o(e){if(this.t.modulePathCb)return this.t.modulePathCb(e,this.t.debug);let s=[t];const o=`${e}.${this.e}.js`,r=this.t.modulePathPrefix;return r&&""===(s=r.split("/"))[s.length-1]&&s.splice(s.length-1,1),s.push(o),s.join("/")}}}();

+ 2 - 2
protected/views/mini.html

@@ -1,3 +1,3 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><!--[if IE]><link rel="icon" href="/dist/favicon.ico"><![endif]--><title>MeeChat</title><link href=/dist/css/chunk-common.657b0eab.css rel=preload as=style><link href=/dist/css/chunk-vendors.061e5f0b.css rel=preload as=style><link href=/dist/css/mini.d0c746db.css rel=preload as=style><link href=/dist/js/chunk-common.2624943a.js rel=preload as=script><link href=/dist/js/chunk-vendors.ab422156.js rel=preload as=script><link href=/dist/js/mini.cd24872c.js rel=preload as=script><link href=/dist/css/chunk-vendors.061e5f0b.css rel=stylesheet><link href=/dist/css/chunk-common.657b0eab.css rel=stylesheet><link href=/dist/css/mini.d0c746db.css rel=stylesheet><link rel=icon type=image/png sizes=32x32 href=/dist/img/icons/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=/dist/img/icons/favicon-16x16.png><link rel=manifest href=/dist/manifest.json><meta name=theme-color content=#4DBA87><meta name=apple-mobile-web-app-capable content=no><meta name=apple-mobile-web-app-status-bar-style content=default><meta name=apple-mobile-web-app-title content=MeeChat><link rel=apple-touch-icon href=/dist/img/icons/apple-touch-icon-152x152.png><link rel=mask-icon href=/dist/img/icons/safari-pinned-tab.svg color=#4DBA87><meta name=msapplication-TileImage content=/dist/img/icons/msapplication-icon-144x144.png><meta name=msapplication-TileColor content=#000000></head><body><div id=app></div><script>window.EOS_PROTOCOL = 'https'
+<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><!--[if IE]><link rel="icon" href="/dist/favicon.ico"><![endif]--><title>MeeChat</title><link href=/dist/css/chunk-common.657b0eab.css rel=preload as=style><link href=/dist/css/chunk-vendors.061e5f0b.css rel=preload as=style><link href=/dist/css/mini.8a2b67db.css rel=preload as=style><link href=/dist/js/chunk-common.2624943a.js rel=preload as=script><link href=/dist/js/chunk-vendors.ab422156.js rel=preload as=script><link href=/dist/js/mini.09b39c1b.js rel=preload as=script><link href=/dist/css/chunk-vendors.061e5f0b.css rel=stylesheet><link href=/dist/css/chunk-common.657b0eab.css rel=stylesheet><link href=/dist/css/mini.8a2b67db.css rel=stylesheet><link rel=icon type=image/png sizes=32x32 href=/dist/img/icons/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=/dist/img/icons/favicon-16x16.png><link rel=manifest href=/dist/manifest.json><meta name=theme-color content=#4DBA87><meta name=apple-mobile-web-app-capable content=no><meta name=apple-mobile-web-app-status-bar-style content=default><meta name=apple-mobile-web-app-title content=MeeChat><link rel=apple-touch-icon href=/dist/img/icons/apple-touch-icon-152x152.png><link rel=mask-icon href=/dist/img/icons/safari-pinned-tab.svg color=#4DBA87><meta name=msapplication-TileImage content=/dist/img/icons/msapplication-icon-144x144.png><meta name=msapplication-TileColor content=#000000></head><body><div id=app></div><script>window.EOS_PROTOCOL = 'https'
       window.EOS_HOST = 'proxy.eosnode.tools'
-      window.EOS_PORT = '443'</script><script src=/dist/js/chunk-vendors.ab422156.js></script><script src=/dist/js/chunk-common.2624943a.js></script><script src=/dist/js/mini.cd24872c.js></script></body></html>
+      window.EOS_PORT = '443'</script><script src=/dist/js/chunk-vendors.ab422156.js></script><script src=/dist/js/chunk-common.2624943a.js></script><script src=/dist/js/mini.09b39c1b.js></script></body></html>

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini