<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>前端 &#8211; 「马马虎虎」</title>
	<atom:link href="https://www.gek6.cn/category/web-front-end/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.gek6.cn</link>
	<description>极客蜗牛-开发效率很慢的...</description>
	<lastBuildDate>Thu, 03 Aug 2023 01:43:56 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://www.gek6.cn/wp-content/uploads/2021/12/20211205200322145-32x32.png</url>
	<title>前端 &#8211; 「马马虎虎」</title>
	<link>https://www.gek6.cn</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>解决微信公众平台素材库图片防盗链的问题</title>
		<link>https://www.gek6.cn/%e8%a7%a3%e5%86%b3%e5%be%ae%e4%bf%a1%e5%85%ac%e4%bc%97%e5%b9%b3%e5%8f%b0%e7%b4%a0%e6%9d%90%e5%ba%93%e5%9b%be%e7%89%87%e9%98%b2%e7%9b%97%e9%93%be%e7%9a%84%e9%97%ae%e9%a2%98/</link>
					<comments>https://www.gek6.cn/%e8%a7%a3%e5%86%b3%e5%be%ae%e4%bf%a1%e5%85%ac%e4%bc%97%e5%b9%b3%e5%8f%b0%e7%b4%a0%e6%9d%90%e5%ba%93%e5%9b%be%e7%89%87%e9%98%b2%e7%9b%97%e9%93%be%e7%9a%84%e9%97%ae%e9%a2%98/#respond</comments>
		
		<dc:creator><![CDATA[lane]]></dc:creator>
		<pubDate>Thu, 03 Aug 2023 01:43:48 +0000</pubDate>
				<category><![CDATA[小程序]]></category>
		<guid isPermaLink="false">https://www.gek6.cn/?p=163</guid>

					<description><![CDATA[微信公众号素材引用时提示：此图片&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[<p>微信公众号素材引用时提示：此图片来自微信公众平台未经允许不可引用<br />
html模板加上这个属性即可 简单粗暴！</p>
<pre><code>&lt;meta name=&quot;referrer&quot; content=&quot;no-referrer&quot;/&gt;</code></pre>
<p>Referer 头部是一个 HTTP 头部，用于标识请求是从哪个页面发出的。例如，如果你从页面 A 点击一个链接到页面 B，那么在请求页面 B 时，浏览器会发送一个 Referer 头部，值为页面 A 的 URL。</p>
<p>设置了 referrer 策略为 &quot;no-referrer&quot;。这表示浏览器在请求资源时，不会发送 Referer 头部。这意味着目标服务器无法知道请求是从哪个页面发出的。</p>
<p>这个策略在一些情况下可能很有用，例如，当你不希望其他人知道你的页面从哪里链接过来时，或者你不希望把你的页面的 URL 暴露给其他人时。然而，它也可能导致一些问题，因为一些服务可能依赖 Referer 头部来进行防盗链或者跟踪用户行为。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.gek6.cn/%e8%a7%a3%e5%86%b3%e5%be%ae%e4%bf%a1%e5%85%ac%e4%bc%97%e5%b9%b3%e5%8f%b0%e7%b4%a0%e6%9d%90%e5%ba%93%e5%9b%be%e7%89%87%e9%98%b2%e7%9b%97%e9%93%be%e7%9a%84%e9%97%ae%e9%a2%98/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Electron打包采坑</title>
		<link>https://www.gek6.cn/electron%e6%89%93%e5%8c%85%e9%87%87%e5%9d%91/</link>
					<comments>https://www.gek6.cn/electron%e6%89%93%e5%8c%85%e9%87%87%e5%9d%91/#respond</comments>
		
		<dc:creator><![CDATA[lane]]></dc:creator>
		<pubDate>Tue, 04 Jul 2023 07:13:18 +0000</pubDate>
				<category><![CDATA[Electron]]></category>
		<guid isPermaLink="false">https://www.gek6.cn/?p=155</guid>

					<description><![CDATA[安装过程中 会需要 python&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[<h4>安装过程中 会需要 <code>python2.7</code> 等待自动安装即可</h4>
<h4>安装 <code>windows-build-tools</code></h4>
<pre><code class="language-bash">npm install windows-build-tools</code></pre>
<h5>安装 <code>windows-build-tools</code> 后 再次打包 会下载对应操作系统的打包插件</h5>
<p>0.SHASUMS256.txt-2.0.18<br />
1.electron-v2.0.18-win32-x64.zip  淘宝镜像下载地址https://npm.taobao.org/mirrors/electron/<br />
2.winCodeSign-2.4.0.7z<br />
3.nsis-3.0.1.13.7z<br />
4.nsis-resources-3.0.7z<br />
5.app-builder-v0.6.1-x64.7z</p>
<h5>最终文件夹如下：</h5>
<pre><code>--electron  
    C:\Users\windows用户\AppData\Local\electron\
    --Cache
        electron-v2.0.18-win32-x64.zip
        SHASUMS256.txt-2.0.18
--electron-builder
    C:\Users\windows用户\AppData\Local\electron-builder\cache\
    --cache
        --app-builder
            --app-builder-v0.6.1-x64
                解压app-builder-v0.6.1-x64.7z所得文件
        --nsis
            --nsis-3.0.1.13
                解压nsis-3.0.1.13.7z所得文件
        --nsis-resources
            --nsis-resources-3.3.0
                解压nsis-resources-3.3.0.7z所得文件
        --winCodeSign
            --winCodeSign-2.4.0
                解压winCodeSign-2.4.0.7z所得文件</code></pre>
<p><img decoding="async" src="https://foruda.gitee.com/images/1687833169913255483/63cb2ac7_1999285.png" alt="目录截图" title="11111111.png" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.gek6.cn/electron%e6%89%93%e5%8c%85%e9%87%87%e5%9d%91/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CSS实现单行、多行文本溢出显示省略号</title>
		<link>https://www.gek6.cn/css%e5%ae%9e%e7%8e%b0%e5%8d%95%e8%a1%8c%e3%80%81%e5%a4%9a%e8%a1%8c%e6%96%87%e6%9c%ac%e6%ba%a2%e5%87%ba%e6%98%be%e7%a4%ba%e7%9c%81%e7%95%a5%e5%8f%b7/</link>
					<comments>https://www.gek6.cn/css%e5%ae%9e%e7%8e%b0%e5%8d%95%e8%a1%8c%e3%80%81%e5%a4%9a%e8%a1%8c%e6%96%87%e6%9c%ac%e6%ba%a2%e5%87%ba%e6%98%be%e7%a4%ba%e7%9c%81%e7%95%a5%e5%8f%b7/#respond</comments>
		
		<dc:creator><![CDATA[lane]]></dc:creator>
		<pubDate>Tue, 04 Jul 2023 07:12:08 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<guid isPermaLink="false">https://www.gek6.cn/?p=153</guid>

					<description><![CDATA[单行 overflow: hid&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[<h5>单行</h5>
<pre><code>overflow: hidden;

text-overflow:ellipsis;

white-space: nowrap;
</code></pre>
<h5>多行</h5>
<pre><code>display: -webkit-box;

-webkit-box-orient: vertical;

-webkit-line-clamp: 3;

overflow: hidden;</code></pre>
<h5>适用范围：</h5>
<blockquote>
<p>因使用了WebKit的CSS扩展属性，该方法适用于WebKit浏览器及移动端；</p>
</blockquote>
]]></content:encoded>
					
					<wfw:commentRss>https://www.gek6.cn/css%e5%ae%9e%e7%8e%b0%e5%8d%95%e8%a1%8c%e3%80%81%e5%a4%9a%e8%a1%8c%e6%96%87%e6%9c%ac%e6%ba%a2%e5%87%ba%e6%98%be%e7%a4%ba%e7%9c%81%e7%95%a5%e5%8f%b7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>IOS12.X 微信小程序样式错乱问题</title>
		<link>https://www.gek6.cn/ios12-x-%e5%be%ae%e4%bf%a1%e5%b0%8f%e7%a8%8b%e5%ba%8f%e6%a0%b7%e5%bc%8f%e9%94%99%e4%b9%b1%e9%97%ae%e9%a2%98/</link>
					<comments>https://www.gek6.cn/ios12-x-%e5%be%ae%e4%bf%a1%e5%b0%8f%e7%a8%8b%e5%ba%8f%e6%a0%b7%e5%bc%8f%e9%94%99%e4%b9%b1%e9%97%ae%e9%a2%98/#respond</comments>
		
		<dc:creator><![CDATA[lane]]></dc:creator>
		<pubDate>Wed, 03 Aug 2022 06:45:19 +0000</pubDate>
				<category><![CDATA[小程序]]></category>
		<guid isPermaLink="false">https://www.gek6.cn/?p=123</guid>

					<description><![CDATA[嵌套flex布局引起]]></description>
										<content:encoded><![CDATA[<h2>嵌套flex布局引起</h2>
]]></content:encoded>
					
					<wfw:commentRss>https://www.gek6.cn/ios12-x-%e5%be%ae%e4%bf%a1%e5%b0%8f%e7%a8%8b%e5%ba%8f%e6%a0%b7%e5%bc%8f%e9%94%99%e4%b9%b1%e9%97%ae%e9%a2%98/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>vue3+vite自动加载路由</title>
		<link>https://www.gek6.cn/vue3vite%e8%87%aa%e5%8a%a8%e5%8a%a0%e8%bd%bd%e8%b7%af%e7%94%b1/</link>
					<comments>https://www.gek6.cn/vue3vite%e8%87%aa%e5%8a%a8%e5%8a%a0%e8%bd%bd%e8%b7%af%e7%94%b1/#respond</comments>
		
		<dc:creator><![CDATA[lane]]></dc:creator>
		<pubDate>Fri, 29 Jul 2022 02:54:52 +0000</pubDate>
				<category><![CDATA[Vue]]></category>
		<guid isPermaLink="false">https://www.gek6.cn/?p=108</guid>

					<description><![CDATA[1、使用 import.meta&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[<h3>1、使用 <code>import.meta.glob</code>加载所有vue文件</h3>
<pre><code>const modules = import.meta.glob(&quot;../views/**/*.vue&quot;);
let autoRoutes: Route[] = [];
for (let key in modules) {
  console.log(key);
  autoRoutes.push({
    filePath: key,
    path: key.replace(&quot;../views/&quot;, &quot;/&quot;).replace(&quot;.vue&quot;, &quot;&quot;),
    component: modules[key]
  });
}</code></pre>
<h3>2、使用<code>addRoute</code>挂载动态路由</h3>
<pre><code>const mountRoutes = async () =&gt; {
  for (const item of autoRoutes) {
    if (item.path) {
      const route = {
        path: item.path,
        component: () =&gt; import(item.filePath)
      };
      console.log(route);
      router.addRoute(route);
    }
  }
};</code></pre>
<h3>3、路由配置</h3>
<pre><code>import { createRouter, createWebHashHistory } from &quot;vue-router&quot;;
import indexPage from &quot;../views/index/index.vue&quot;;
import { mountRoutes } from &quot;./auto-load&quot;;
import { getToken } from &quot;../utils/token&quot;;

const routes = [
  { path: &quot;/&quot;, component: indexPage },
  { path: &quot;/login&quot;, component: () =&gt; import(&quot;../views-common/account/login/index.vue&quot;) }
];
export const router = createRouter({
  history: createWebHashHistory(),
  routes
});

const authWhiteList = [
  &quot;/login&quot;
];
// 是否已经挂载动态路由标识
let routeHasMounted = false;
router.beforeEach(async (to, from, next) =&gt; {
  // 是否为免登录白名单 是的话直接放行
  if (authWhiteList.includes(to.path)) {
    next();
  } else {
    // 需要免登录的页面 判断是否已经登录
    if (!getToken()) {
      // 未登录的直接跳转到登录页面
      next({ path: &quot;/login&quot;, replace: true });
    } else {
      // 已经登录的 判断是否挂载动态路由
      if (!routeHasMounted) {
        // 未挂载状态 挂载动态路由
        await mountRoutes();
        // 将挂载状态设置为true
        routeHasMounted = true;
        // 重新路由到当前页面 因为此页面在第一次打开的时候是 匹配不到路由的
        // 这里replace: true 是为了让网页不能返回上一页
        next({ ...to, replace: true });
      } else {
        // 已经挂载状态 直接放行
        next();
      }
    }
  }
});
</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://www.gek6.cn/vue3vite%e8%87%aa%e5%8a%a8%e5%8a%a0%e8%bd%bd%e8%b7%af%e7%94%b1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>webstorm开发uniapp时rpx单位问题</title>
		<link>https://www.gek6.cn/webstorm%e5%bc%80%e5%8f%91uniapp%e6%97%b6rpx%e5%8d%95%e4%bd%8d%e9%97%ae%e9%a2%98/</link>
					<comments>https://www.gek6.cn/webstorm%e5%bc%80%e5%8f%91uniapp%e6%97%b6rpx%e5%8d%95%e4%bd%8d%e9%97%ae%e9%a2%98/#respond</comments>
		
		<dc:creator><![CDATA[lane]]></dc:creator>
		<pubDate>Thu, 28 Jul 2022 07:13:56 +0000</pubDate>
				<category><![CDATA[小程序]]></category>
		<guid isPermaLink="false">https://www.gek6.cn/?p=101</guid>

					<description><![CDATA[痛点：使用webstorm开发小&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[<h3>痛点：使用webstorm开发小程序或者uniapp时，无法识别rpx单位报红，格式化后会在数值与单位之间添加空格</h3>
<p><img decoding="async" src="https://www.gek6.cn/wp-content/uploads/2022/07/下载插件.png" alt="下载插件" /></p>
<p><img decoding="async" src="https://www.gek6.cn/wp-content/uploads/2022/07/配置插件.png" alt="配置插件" /></p>
<p><img decoding="async" src="https://www.gek6.cn/wp-content/uploads/2022/07/配置后rpx就不飘红了.png" alt="配置后rpx就不飘红了" /></p>
<ul>
<li>使用webstorm自带格式化 OK</li>
<li>使用es-lint格式化 OK</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://www.gek6.cn/webstorm%e5%bc%80%e5%8f%91uniapp%e6%97%b6rpx%e5%8d%95%e4%bd%8d%e9%97%ae%e9%a2%98/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>video标签自动播放无效？</title>
		<link>https://www.gek6.cn/video%e6%a0%87%e7%ad%be%e8%87%aa%e5%8a%a8%e6%92%ad%e6%94%be%e6%97%a0%e6%95%88%ef%bc%9f/</link>
					<comments>https://www.gek6.cn/video%e6%a0%87%e7%ad%be%e8%87%aa%e5%8a%a8%e6%92%ad%e6%94%be%e6%97%a0%e6%95%88%ef%bc%9f/#respond</comments>
		
		<dc:creator><![CDATA[lane]]></dc:creator>
		<pubDate>Thu, 21 Jul 2022 06:04:40 +0000</pubDate>
				<category><![CDATA[H5]]></category>
		<guid isPermaLink="false">https://www.gek6.cn/?p=96</guid>

					<description><![CDATA[自动播放无效 &#60;video&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[<h3>自动播放无效</h3>
<pre><code>&lt;video src=&quot;./test.mp4&quot; autoplay loop /&gt;</code></pre>
<h3>加上 muted 属性</h3>
<pre><code>&lt;video src=&quot;./test.mp4&quot; autoplay loop muted /&gt;</code></pre>
<blockquote>
<p>muted 属性用来表示网页中的音频是否静音，如果设置，音频将被初始化为静音</p>
</blockquote>
]]></content:encoded>
					
					<wfw:commentRss>https://www.gek6.cn/video%e6%a0%87%e7%ad%be%e8%87%aa%e5%8a%a8%e6%92%ad%e6%94%be%e6%97%a0%e6%95%88%ef%bc%9f/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CSS-MP4背景透明化</title>
		<link>https://www.gek6.cn/css-mp4%e8%83%8c%e6%99%af%e9%80%8f%e6%98%8e%e5%8c%96/</link>
					<comments>https://www.gek6.cn/css-mp4%e8%83%8c%e6%99%af%e9%80%8f%e6%98%8e%e5%8c%96/#respond</comments>
		
		<dc:creator><![CDATA[lane]]></dc:creator>
		<pubDate>Thu, 21 Jul 2022 06:02:24 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<guid isPermaLink="false">https://www.gek6.cn/?p=94</guid>

					<description><![CDATA[mix-blend-mode 该&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[<h2>mix-blend-mode</h2>
<blockquote>
<p>该属性描述了元素的内容应该与元素的直系父元素的内容和元素的背景如何混合</p>
</blockquote>
<h3>用法：</h3>
<pre><code class="language-css">video {
  mix-blend-mode: screen;
}</code></pre>
<p><a href="https://developer.mozilla.org/zh-CN/docs/Web/CSS/mix-blend-mode">MDN传送门</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.gek6.cn/css-mp4%e8%83%8c%e6%99%af%e9%80%8f%e6%98%8e%e5%8c%96/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>vue-quill-editor 添加自定义上传图片功能（上传至服务器或七牛云）</title>
		<link>https://www.gek6.cn/vue-quill-editor-%e6%b7%bb%e5%8a%a0%e8%87%aa%e5%ae%9a%e4%b9%89%e4%b8%8a%e4%bc%a0%e5%9b%be%e7%89%87%e5%8a%9f%e8%83%bd%ef%bc%88%e4%b8%8a%e4%bc%a0%e8%87%b3%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%88%96%e4%b8%83/</link>
					<comments>https://www.gek6.cn/vue-quill-editor-%e6%b7%bb%e5%8a%a0%e8%87%aa%e5%ae%9a%e4%b9%89%e4%b8%8a%e4%bc%a0%e5%9b%be%e7%89%87%e5%8a%9f%e8%83%bd%ef%bc%88%e4%b8%8a%e4%bc%a0%e8%87%b3%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%88%96%e4%b8%83/#respond</comments>
		
		<dc:creator><![CDATA[lane]]></dc:creator>
		<pubDate>Sun, 05 Dec 2021 11:36:23 +0000</pubDate>
				<category><![CDATA[Vue]]></category>
		<guid isPermaLink="false">https://www.gek6.cn/?p=53</guid>

					<description><![CDATA[vue-quill-editor&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[<blockquote>
<p>vue-quill-editor 默认的是以base64保存图片，会直接把图片base64和内容文本一同以字符串的形式提交到后端。 现在这样不科学</p>
</blockquote>
<h5>安装 vue-quill-editor</h5>
<pre><code>npm i vue-quill-editor --save</code></pre>
<blockquote>
<p>富文本示例代码<br />
<a href="https://github.com/gek6/letou_hr/blob/master/letou_admin_web/src/views/rich_text/rich_text.vue">https://github.com/gek6/letou_hr/blob/master/letou_admin_web/src/views/rich_text/rich_text.vue</a><br />
图片直传七牛云<br />
<a href="https://github.com/gek6/letou_hr/blob/master/letou_admin_web/src/api/upload.js">https://github.com/gek6/letou_hr/blob/master/letou_admin_web/src/api/upload.js</a></p>
</blockquote>
<h5>思路</h5>
<ul>
<li>用自定义的方法代替quill-editor中的图片点击事件</li>
<li>点击上传图片的icon后，去触发file类型 input 的点击事件，选择图片。（我这用的是饿了么的上传组件，上传到七牛云我已经写好了）</li>
<li>监听input的 onchange 拿到选择的文件数据，然后是要上传到自己服务器呢 还是上传到七牛云 就随意了。</li>
<li>上传完成以后 将图片的远程路径 添加到富文本内容区域<br />
<h5>页面内引入</h5>
<pre><code>import &#039;quill/dist/quill.core.css&#039;
import &#039;quill/dist/quill.snow.css&#039;
import &#039;quill/dist/quill.bubble.css&#039;
import { quillEditor } from &#039;vue-quill-editor&#039;
//注册组件
components: {
quillEditor
},</code></pre>
</li>
</ul>
<pre><code>&lt;div class=&quot;rich_box&quot;&gt;
    &lt;!--富文本组件--&gt;
    &lt;quill-editor v-model=&quot;content&quot; ref=&quot;myQuillEditor&quot; :options=&quot;options&quot;&gt;&lt;/quill-editor&gt;
&lt;/div&gt;
&lt;!--饿了么上传组件，也可以用input代替，都是隐藏起来--&gt;
&lt;el-upload
    class=&quot;avatar-uploader&quot;
    action=&quot;&quot;
    :http-request=&quot;to_upload_img&quot;
    :show-file-list=&quot;false&quot;
    style=&quot;display: none&quot;
    &gt;
    &lt;i class=&quot;el-icon-plus avatar-uploader-icon&quot; id=&quot;imgInput&quot;&gt;&lt;/i&gt;
&lt;/el-upload&gt;
</code></pre>
<h5>添加自定义方法</h5>
<pre><code>//mounted钩子中 替换插件图标点击事件
// 为图片ICON绑定事件  getModule 为编辑器的内部属性
this.$refs.myQuillEditor.quill.getModule(&#039;toolbar&#039;).addHandler(&#039;image&#039;, this.imgHandler)</code></pre>
<pre><code>// 点击图片ICON触发事件
imgHandler(state) {
  console.log(state)
  this.addRange = this.$refs.myQuillEditor.quill.getSelection()
  if (state) {
    // let fileInput = document.getElementById(&#039;imgInput&#039;)
    // fileInput.click() // 加一个触发事件
    // 选择并上传一张图片
    let fileInput = document.getElementById(&#039;imgInput&#039;)
    fileInput.click() // 加一个触发事件
  }
},</code></pre>
<pre><code>to_upload_img(formdata){
  return new Promise((resolve,reject)=&gt;{
    upload_img(formdata).then(res=&gt;{
      // 图片的远程路径
      let value = res.key;
      // 将图片添加到富文本内容区域
      this.addRange = this.$refs.myQuillEditor.quill.getSelection();
      // 调用编辑器的 insertEmbed 方法，插入URL
      this.$refs.myQuillEditor.quill.insertEmbed(this.addRange !== null ? this.addRange.index : 0, &#039;image&#039;, value, Quill.sources.USER)   

    })
  })
}</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://www.gek6.cn/vue-quill-editor-%e6%b7%bb%e5%8a%a0%e8%87%aa%e5%ae%9a%e4%b9%89%e4%b8%8a%e4%bc%a0%e5%9b%be%e7%89%87%e5%8a%9f%e8%83%bd%ef%bc%88%e4%b8%8a%e4%bc%a0%e8%87%b3%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%88%96%e4%b8%83/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>小程序解决轮播图倒角（圆角），IOS无法生效的问题</title>
		<link>https://www.gek6.cn/%e5%b0%8f%e7%a8%8b%e5%ba%8f%e8%a7%a3%e5%86%b3%e8%bd%ae%e6%92%ad%e5%9b%be%e5%80%92%e8%a7%92%ef%bc%88%e5%9c%86%e8%a7%92%ef%bc%89%ef%bc%8cios%e6%97%a0%e6%b3%95%e7%94%9f%e6%95%88%e7%9a%84%e9%97%ae/</link>
					<comments>https://www.gek6.cn/%e5%b0%8f%e7%a8%8b%e5%ba%8f%e8%a7%a3%e5%86%b3%e8%bd%ae%e6%92%ad%e5%9b%be%e5%80%92%e8%a7%92%ef%bc%88%e5%9c%86%e8%a7%92%ef%bc%89%ef%bc%8cios%e6%97%a0%e6%b3%95%e7%94%9f%e6%95%88%e7%9a%84%e9%97%ae/#respond</comments>
		
		<dc:creator><![CDATA[lane]]></dc:creator>
		<pubDate>Sun, 05 Dec 2021 11:31:48 +0000</pubDate>
				<category><![CDATA[小程序]]></category>
		<guid isPermaLink="false">https://www.gek6.cn/?p=49</guid>

					<description><![CDATA[小程序解决轮播图倒角（圆角），I&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[<h3>小程序解决轮播图倒角（圆角），IOS无法生效的问题</h3>
<h3>HTML</h3>
<p><!-- 轮播图 --></p>
<pre><code class="language-html">
&lt;!-- 轮播图 --&gt;
&lt;swiper class=&quot;screen-swiper&quot;     :circular=&quot;true&quot;
:autoplay=&quot;true&quot; interval=&quot;5000&quot; duration=&quot;500&quot; :indicator-color=&quot;bannerDotColor&quot; :indicator-active-color=&quot;bannerDotActiveColor&quot;&gt;
    &lt;swiper-item v-for=&quot;(item,index) in swiperList&quot; :key=&quot;index&quot;&gt;
        &lt;image :src=&quot;item.url&quot; mode=&quot;aspectFill&quot; v-if=&quot;item.type==&#039;image&#039;&quot;&gt;&lt;/image&gt;
        &lt;video :src=&quot;item.url&quot; autoplay loop muted :show-play-btn=&quot;false&quot; :controls=&quot;false&quot; objectFit=&quot;cover&quot; v-if=&quot;item.type==&#039;video&#039;&quot;&gt;&lt;/video&gt;
    &lt;/swiper-item&gt;
&lt;/swiper&gt;</code></pre>
<h3>CSS</h3>
<pre><code class="language-css">.screen-swiper{
    box-shadow:0px 20upx 14upx -20upx #000; border-radius:10px; 
     -webkit-backface-visibility: hidden;
     -webkit-transform: translate3d(0, 0, 0);
}</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://www.gek6.cn/%e5%b0%8f%e7%a8%8b%e5%ba%8f%e8%a7%a3%e5%86%b3%e8%bd%ae%e6%92%ad%e5%9b%be%e5%80%92%e8%a7%92%ef%bc%88%e5%9c%86%e8%a7%92%ef%bc%89%ef%bc%8cios%e6%97%a0%e6%b3%95%e7%94%9f%e6%95%88%e7%9a%84%e9%97%ae/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
