<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Manta__的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Manta__</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Manta__]]></copyright><item><title><![CDATA[hbuilder--微信小程序]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/120501892</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/120501892</guid><author>Manta__</author><pubDate>Mon, 27 Sep 2021 09:33:37 +0800</pubDate><description><![CDATA[运行小程序
1.在工具–》设置–》运行设置–》小程序运行设置–》小程序路径进行配置
打开微信小程序设置–》安全–》将服务端口打开
例如：D:/微信web开发者工具
2.在项目的manifest.json—》微信小程序配置–》设置自己的id（确保自己的小程序id邀请进该项目）
3.运行即可
热更新失败
在微信小程序–》详情–》本地设置–》将启用代码热更新加载关闭

...]]></description><category></category></item><item><title><![CDATA[uniapp+oss]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/114281898</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/114281898</guid><author>Manta__</author><pubDate>Tue, 02 Mar 2021 11:59:19 +0800</pubDate><description><![CDATA[1.创建common文件

2.base64.js

var base64EncodeChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var base64DecodeChars = new Array(
    -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
    -1, -1, -1, -1, -1, -1, -1, -1]]></description><category></category></item><item><title><![CDATA[vue+element ui+el-upload+oss]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/114280114</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/114280114</guid><author>Manta__</author><pubDate>Tue, 02 Mar 2021 11:47:45 +0800</pubDate><description><![CDATA[1.安装ali-oss
2.main.js
const OSS = require('ali-oss');
Vue.prototype.client= new OSS({
    accessKeyId: '',  // 查看你自己的阿里云KEY
    accessKeySecret: '', // 查看自己的阿里云KEYSECRET
    bucket: '', // 你的 OSS bucket 名称
    region: 'oss-cn-beijing', // bucket 所在地址，我的是 华]]></description><category></category></item><item><title><![CDATA[vue字符串中获取a标签，修改值与href]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/113718053</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/113718053</guid><author>Manta__</author><pubDate>Sat, 06 Feb 2021 11:58:04 +0800</pubDate><description><![CDATA[第一种
this.aList=document.getElementsByTagName("a")
updated() {
		for(let i=0;i&lt;this.aList.length;i++){
			console.log('aaa555555555555',this.aList)
			this.aList[i].href =this.imgUrl+this.aList[i].innerHTML
			this.aList[i].innerHTML='下载附件'+(i+1)
			cons]]></description><category></category></item><item><title><![CDATA[动态改变样式]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/111037596</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/111037596</guid><author>Manta__</author><pubDate>Fri, 11 Dec 2020 15:44:50 +0800</pubDate><description><![CDATA[&lt;view class=“li” v-for="(item,index) in 3" :key=“index” :class="{‘active’:active == index}" @click=“chooseType(index)”&gt;
货物损坏 无需终止配送

data：
active:0,
methods：
chooseType(index){
this.active = index;
},
style
.li{
color: #999999;
border: 4rpx solid #99]]></description><category></category></item><item><title><![CDATA[js获取当前时间]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/111035303</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/111035303</guid><author>Manta__</author><pubDate>Fri, 11 Dec 2020 14:48:14 +0800</pubDate><description><![CDATA[getNowTime() {
let dateTime
let yy = new Date().getFullYear()
let mm = new Date().getMonth() + 1
let dd = new Date().getDate()
let hh = new Date().getHours()
let mf = new Date().getMinutes() &lt; 10 ? ‘0’ + new Date().getMinutes():new Date().getMinutes()
l]]></description><category></category></item><item><title><![CDATA[canvas 画布基本操作]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/110630892</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/110630892</guid><author>Manta__</author><pubDate>Fri, 04 Dec 2020 10:57:06 +0800</pubDate><description><![CDATA[canvas 画布基本操作
https://www.cnblogs.com/wgs-blog/p/10045130.html
const canvas = document.getElementById(‘canvas’);
// 2、画笔 — canvas的上下文对象
const ctx = canvas.getContext(‘2d’);
// 3、设置颜色 ---- 调色
ctx.fillStyle = “red”; // 填充颜色的设置
ctx.strokeStyle = ‘blue’; // 轮廓]]></description><category></category></item><item><title><![CDATA[github]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/108609784</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/108609784</guid><author>Manta__</author><pubDate>Tue, 15 Sep 2020 21:16:56 +0800</pubDate><description><![CDATA[1.登录github
2.个人中心  设置  ssh公钥  曾经有直接用
无：生成公钥
3.代码部署
新建仓库		去掉使用readme文件初始化这个仓库
cmd中
git  status  查看项目状态
有未提交文件  git  add .
git  commit -m “add files” 先本地做提交
切到项目文件夹   按照已有仓库命令提示做   将本地仓库与云端仓库联合

...]]></description><category></category></item><item><title><![CDATA[项目初建]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/108609429</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/108609429</guid><author>Manta__</author><pubDate>Tue, 15 Sep 2020 21:02:29 +0800</pubDate><description><![CDATA[1.cmd
2.vue ui
3.创建  选择位置
4.输入文件名，必须全英文   git  init  project
5.预设   第一次  手动  功能  babel router  linter/formatter   使用配置文件
pick  a  linter   选择eslint  standard config
打开  lint  on save
是否保存为一个预设名
创建项目完成
之前创建过项目        对应预设名
6.插件  添加插件   vue-cli-plugin-elemen]]></description><category></category></item><item><title><![CDATA[使用git将项目上传到github]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/108248238</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/108248238</guid><author>Manta__</author><pubDate>Wed, 26 Aug 2020 21:44:09 +0800</pubDate><description><![CDATA[引用

git status查看当前文件状态，若有文件为上传
在这里插入代码片
git add .
git commit -m "add files"
再次输入 git status
On branch master
nothing to commit, working tree clean
则成功
已创建仓库执行以下
git remote add origin https://github.com/Miss-wang0701/vue_shop.git
git push -u origin master
.]]></description><category></category></item><item><title><![CDATA[045 线程与进程]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/105386245</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/105386245</guid><author>Manta__</author><pubDate>Wed, 08 Apr 2020 14:14:44 +0800</pubDate><description><![CDATA[线程与进程
-**进程:**程序的一次执行，它占有一片独有的内存空间，可以通过windows任务管理器查看进程
-**线程:**是进程内的一一个独立执行单元，是程序执行的一个完整流程，是CPU的最小的调度单元
-关系
一个进程至少有一个线程(主)
程序是在某个进程中的某个线程执行的
一个进程中也可以同时运行多个线程，我们会说程序是多线程运行的
一个进程内的数据可以供其中的多个线程直接共享
多个进程...]]></description><category></category></item><item><title><![CDATA[048 ES7]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/105382597</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/105382597</guid><author>Manta__</author><pubDate>Wed, 08 Apr 2020 11:15:16 +0800</pubDate><description><![CDATA[指数运算符(幂): **
Array.prototype.includes(value) : 判断数组中是否包含指定value

console.log(3 ** 3);//27
let arr = [1,2,3,4, 'abc'];
console.log(arr.includes(2));//true
console.log(arr.includes(5));//false

...]]></description><category></category></item><item><title><![CDATA[047  ES6]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/105365159</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/105365159</guid><author>Manta__</author><pubDate>Wed, 08 Apr 2020 00:37:45 +0800</pubDate><description><![CDATA[let

作用:与var类似, 用于声明一个变量
特点:
-在块作用域内有效
-不能重复声明
-不会预处理, 不存在提升
应用:
-循环遍历加监听
-使用let取代var是趋势

const
作用:定义一个常量
特点:不能修改，其它特点同let
应用:保存不用改变的数据

 const sex = '男';
    console.log(sex);//男
    //sex = '女';//不能...]]></description><category></category></item><item><title><![CDATA[046   ES5]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/105364196</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/105364196</guid><author>Manta__</author><pubDate>Tue, 07 Apr 2020 15:07:15 +0800</pubDate><description><![CDATA[js语法基本符合ES5，注意一些特别：
严格模式

理解:


除了正常运行模式(混杂模式)，ES5添加了第二种运行模式：“严格模式”（strict mode）。
顾名思义，这种模式使得Javascript在更严格的语法条件下运行


目的/作用


消除Javascript语法的一些不合理、不严谨之处，减少一些怪异行为
消除代码运行的一些不安全之处，为代码的安全运行保驾护航
为未来新版本的Jav...]]></description><category></category></item><item><title><![CDATA[044 练习之二级菜单与轮播图]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/105335960</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/105335960</guid><author>Manta__</author><pubDate>Sun, 05 Apr 2020 23:19:06 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[043 操作class属性]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/105335763</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/105335763</guid><author>Manta__</author><pubDate>Sun, 05 Apr 2020 23:12:15 +0800</pubDate><description><![CDATA[通过style属性来修改元素的样式，每修改一个样式，浏览器就需要重新渲染一次页面。这样的执行的性能是比较差的，而且这种形式当我们要修改多个样式时，也不太方便
修改box的class属性
　　-我们可以通过修改元素的class属性来间接的修改样式
　　-这样一来，我们只需要修改一次，即可同时修改多个样式，浏览器只需要重新渲染页面一次，性能比较好，并且这种方式，可以使表现和行为进一步的分离
添加指定的...]]></description><category></category></item><item><title><![CDATA[042JSON]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/105335435</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/105335435</guid><author>Manta__</author><pubDate>Sun, 05 Apr 2020 22:59:57 +0800</pubDate><description><![CDATA[JSON
　　  - JS中的对象只有JS自己认识，其他的语言都不认识
　　  - JSON就是一个特殊格式的字符串，这个字符串可以被任意的语言所识别，
　　  并且可以转换为任意语言中的对象，JSON在开发中主要用来数据的交互
　　   - JavaScript Object Notation JS对象表示法
　　   - JSON和JS对象的格式一样，只不过JSON字符串中的属性名必须加双引号...]]></description><category></category></item><item><title><![CDATA[041 轮播图例子]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/105335407</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/105335407</guid><author>Manta__</author><pubDate>Sun, 05 Apr 2020 22:42:20 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[040 定时调用与延时调用]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/105335043</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/105335043</guid><author>Manta__</author><pubDate>Sun, 05 Apr 2020 22:40:45 +0800</pubDate><description><![CDATA[setInterval()
　　- 定时调用
　　- 可以将一个函数，每隔一段时间执行一次
　　- 参数：
　　　1.回调函数，该函数会每隔一段时间被调用一次
　　　2.每次调用间隔的时间，单位是毫秒
　　- 返回值：
　　　返回一个Number类型的数据，这个数字用来作为定时器的唯一标识
clearInterval()
　　-可以用来关闭一个定时器
　　-方法中需要一个定时器的标识作为参数，这样...]]></description><category></category></item><item><title><![CDATA[039 BOM]]></title><link>https://blog.youkuaiyun.com/Manta__/article/details/105324053</link><guid>https://blog.youkuaiyun.com/Manta__/article/details/105324053</guid><author>Manta__</author><pubDate>Sun, 05 Apr 2020 22:18:59 +0800</pubDate><description><![CDATA[BOM
　　 - 浏览器对象模型
　　- BOM可以使我们通过JS来操作浏览器
　　- 在BOM中为我们提供了一组对象，用来完成对浏览器的操作
　　- BOM对象
　　　　　Window　　- 代表的是整个浏览器的窗口，同时window也是网页中的全局对象
　　　　　　Navigator　- 代表的当前浏览器的信息，通过该对象可以来识别不同的浏览器
　　　　　　Location　  - 代表当前浏...]]></description><category></category></item></channel></rss>