<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
<channel>
<title>深山工作室 https://www.qwbm.com【网页学习】</title>
<link>https://www.qwbm.com/news.asp?id=6</link>
<description>网页学习 https://www.qwbm.com</description>
<category>网页学习</category>
<language>zh-cn</language>
<docs>https://www.qwbm.com/rss.asp</docs>
<generator>https://www.qwbm.com</generator>
<webMaster>565449214@qq.com</webMaster>
<managingEditor>565449214@qq.com</managingEditor>
<pubDate>2007-11-21 下午 23:11:35</pubDate>
<lastBuildDate>2026/4/16 5:38:17</lastBuildDate>
<ttl>20</ttl> 
<copyright>Copyright 2026 深山工作室 https://www.qwbm.com</copyright>
<item>
<guid>978</guid>
<title>uni-app开发表单input组件的一些规则说明自己预留使用</title>
<link>https://www.qwbm.com/new.asp?id=978</link>
<description><![CDATA[


'multi-select' 复选选择题
'select' 单选选择题
'input' 单行文本输入
'textarea' 多行文本输入
'level' 等级选择题
'boolean' 是非选择题
'date' 日期选择器
'time' 时间选择器
'region' 省市区三联选择器
'image' 图片选择器
'phone' 手机输入+验证码
'work' 行业二级联动选择器
'university' 大学二级联动选择器
'single-picker' 自定义单列选择器
'password' 密码输入
'foreign' 外国国家选取
'local' 获取当前位置信息
'drive' 车牌号输入



验证规则说明
规则名称	别名	用法	描述
require		['require']	必填项
(如不设置此项,则数据不为空时才进行其他规则验证)
number		['number']	是否为数值
chn		['chn']	是否为汉字
chnNum		['chnNum']	是否为汉字和数值
chnOrNum		['chnO]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=978</source>
<category>网页学习</category>
<pubDate>2021/8/14 10:28:43</pubDate>
</item>
<item>
<guid>11350</guid>
<title>dw里面查找替换使用正则删除sqlserver里面的CONSTRAINT</title>
<link>https://www.qwbm.com/new.asp?id=11350</link>
<description><![CDATA[在dw里面使用查找替换功能，使用正则查找替换删除sqlserver里面的CONSTRAINT的信息，一键删除

import re
# 示例文本
text = """
CONSTRAINT [DF__xilie__03BEBB7E]&nbsp; DEFAULT ((0)) FOR [xiid]
CONSTRAINT [DF__cjxil__1300FF0E]&nbsp; DEFAULT ((0)) FOR [cjxiid]
CONSTRAINT [DF__jiageubilv]&nbsp; DEFAULT ((0)) FOR [xshiyi]
CONSTRAINT [DF__cjkua__04B2DFB7]&nbsp; DEFAULT ((0)) FOR [cjkuan]
"""

# 定义正则表达式模式
pattern = r'CONSTRAINT\s*\[DF__[^\]]*\]'

# 使用 re.sub 替换所有匹配项为空字符串
new_text = re.sub(pattern, '', text)

# 输出结果
print(new_te]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=11350</source>
<category>网页学习</category>
<pubDate>2024/9/18 15:02:15</pubDate>
</item>
<item>
<guid>11349</guid>
<title>Android移动端自动化测试：使用UIAutomatorViewer与Selenium定位元素</title>
<link>https://www.qwbm.com/new.asp?id=11349</link>
<description><![CDATA[APP移动端自动化测试】第三节.UIAutomatorViewer元素定位API操作

（1）应用场景
定位元素的时候必须根据元素的相关特征来进行定位，而UIAutomatorViewer就是用来获取元素特征的。
（2）简介
UlAutomatorViewer用来扫描和分析Android应用程序的UI控件的工具。
（3）使用步骤
1．进入SDK目录下的目录
mac在tools/bin目录下，打开uiautomatorviewero
windows在 tools目录下，打开uiautomatorviewer.bat
2．电脑连接真机或打开android模拟器
3．启动待测试app
4．点击uiautomatorviewer的左上角Device Screenshot (从左数第二个按钮)
5．点击希望查看的控件
6．查看右下角Node Detail相关信息
（4）示例
查看《设置》应用程序右上角"放大镜”按钮的"resource-id".
&nbsp;&nbsp;&nbsp; 实现步骤：
&nbsp;&nbsp;&nbsp; 1.打开uiautomato]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=11349</source>
<category>网页学习</category>
<pubDate>2024/9/18 14:33:40</pubDate>
</item>
<item>
<guid>10350</guid>
<title>抖音直播音挂载小雪花 懂车帝小程序</title>
<link>https://www.qwbm.com/new.asp?id=10350</link>
<description><![CDATA[
在抖音直播间挂载小雪花（抖音直播或发布视频发懂车帝小程序获得佣金）

一定要开通对应的直播权限，粉丝达到1000个

官方懂车帝-小程序挂载答疑集合，点击下面链接就可以看到相关的教程
https://bytedance.larkoffice.com/wiki/XjNqw6rq2i1tdYkrZL4cpy8lnCc

开通权限之后，一些直播问题下面是一个问题集合，怎么挂懂车帝新车小程序，还有怎么挂懂车帝二手车小程序，还介绍了怎么在手机端直播时怎么挂小程序，在电脑端直播时怎么挂小程序。
https://bytedance.larkoffice.com/docx/ZKOidD7P7oRy2ex0XcRcR3S7nrf



]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=10350</source>
<category>网页学习</category>
<pubDate>2024/8/26 11:41:53</pubDate>
</item>
<item>
<guid>10349</guid>
<title>javascript获取浏览器指纹可以用来做投票</title>
<link>https://www.qwbm.com/new.asp?id=10349</link>
<description><![CDATA[有些网站是会员制,而且对会员所用的机器会有一个绑定,这就意味着一个用户只能在固定的机器上或浏览器上登陆,如果换了电脑或浏览器那很不幸,请联系商家解绑,类似的还有某些企业通过下载终端的方式进行绑定,当然这样对用户体验有很大的影响,总而言之都是为了保护企业的利益,你懂的!言归正传,既然说到绑定机器,那他们是怎么实现的呢?当然方法很多,今天我们说一下通过获取浏览器指纹的方式来识别用户是否更换了机器(尝试用js获取用户物理地址的还是放弃吧,IE可能还给你点机会, 反正我是不想再研究了,能力有限).

&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
&nbsp;&nbsp;&nbsp; &lt;meta charset="UTF-8"&gt;
&nbsp;&nbsp;&nbsp; &lt;title&gt;Title&lt;/title&gt;
&nbsp;&nbsp;&nbsp; &lt;script src="https://cdn.staticfile.org/fingerprintjs2/2.1.0/fin]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=10349</source>
<category>网页学习</category>
<pubDate>2024/8/26 11:38:17</pubDate>
</item>
<item>
<guid>9349</guid>
<title>火狐Mozilla Firefox出现：无法载入您的Firefox配置文件 它可能已经丢失 或是无法访问 问题解决集合处理办法</title>
<link>https://www.qwbm.com/new.asp?id=9349</link>
<description><![CDATA[
试了几个版本的火狐Mozilla Firefox软件，最后都是提示：无法载入您的Firefox配置文件 它可能已经丢失 或是无法访问，一开始以为是电脑环境问题，后来发现新做的电脑系统也不能安装，win7/win10安装之后也提示这个问题，那么就百分百肯定是软件安装问题了。



网上找的解决办法：(新建用户配置)
通过运行win+r输入firefox.exe -p -no-remote进行配置解决。
这时会弹出一个选择用户配置文件窗口，我们需要重新创建一个新的配置文件；
创建一个“默认用户”，然后点击完成；
----------------------------
以上操作之后正常使用，就不用再下面的操作。
----------------------------

操作完成之后提示：发生意外错误，无法保存更改


这样操作之后还是提示有问题。

************************************************
网上找到的解决办法：
找到安装目录C:\Documents and Settings\Administ]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=9349</source>
<category>网页学习</category>
<pubDate>2024/8/20 18:17:42</pubDate>
</item>
<item>
<guid>8349</guid>
<title>在Android、iOS、Windows、MacOS中微信小程序的文件存放路径</title>
<link>https://www.qwbm.com/new.asp?id=8349</link>
<description><![CDATA[一、微信小程序文件存放路径
安卓：
/data/data/com.tencent.mm/MicroMsg/{{user哈希值}}/appbrand/pkg/

iOS越狱：
/User/Containers/Data/Application/{{系统UUID}}/Library/WechatPrivate/{{user哈希值}}/WeApp/LocalCache/release/

Windows：
C:\Users{{系统用户名}}\Documents\WeChat Files\Applet\

macOS：
/Users/{{系统用户名}}/Library/Containers/com.tencent.xinWeChat/Data/Library/Containers/com.tencent.xinWeChat/Data/Library/Caches/com.tencent.xinWeChat/2.0b4.0.9/{{user哈希值}}/WeApp/LocalCache/release/

二、Android其他缓存

1 Android应用缓存：
]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=8349</source>
<category>网页学习</category>
<pubDate>2024/4/16 13:20:43</pubDate>
</item>
<item>
<guid>7349</guid>
<title>python通过代码修改pip下载源让下载库飞起</title>
<link>https://www.qwbm.com/new.asp?id=7349</link>
<description><![CDATA[临时解决
python.exe -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy

修改配置永久有效
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=7349</source>
<category>网页学习</category>
<pubDate>2024/3/6 15:57:10</pubDate>
</item>
<item>
<guid>6349</guid>
<title>python里面requests.post返回的res.text还有其它的吗</title>
<link>https://www.qwbm.com/new.asp?id=6349</link>
<description><![CDATA[在 Python 的 requests 库中,使用 requests.post 发送 POST 请求后,返回的响应对象 res 包含很多属性和方法,主要有:
- res.status_code: 响应的 HTTP 状态码
- res.text: 响应内容的字符串形式,res.content 的 decode 版本
- res.content: 响应内容的二进制形式
- res.headers: 响应头部信息
- res.cookies: 响应中的 Cookie
- res.encoding: 响应的编码
- res.json(): 将响应的 JSON 字符串解析为 Python 对象
- res.raise_for_status(): 如果状态码不是 200,会抛出异常

所以在使用 requests.post 以后,主要的数据属性有:
- res.status_code: 判断请求是否成功
- res.text: 作为字符串获取响应内容
- res.content: 作为字节获取响应内容
- res.json(): 如果响应是 JSON,解析为 Pytho]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=6349</source>
<category>网页学习</category>
<pubDate>2024/1/29 15:14:32</pubDate>
</item>
<item>
<guid>5349</guid>
<title>aliyun阿里云续费域名优惠口令(注册、续费都可以使用)</title>
<link>https://www.qwbm.com/new.asp?id=5349</link>
<description><![CDATA[2023年阿里云域名续费优惠口令内容
com英文域名续费-------------------com批量注册更享优惠
cn英文域名续费-------------------cn注册多个价格更优
cn英文域名注册-------------------互联网上的中国标识
xin（普通词）注册-------------------只争朝夕
xin（普通词）续费-------------------不负韶华
xin（溢价词）续费-------------------抱诚守信

2022年阿里云icon域名优惠口令如下:
com英文域名续费-------------------商标优选即买即用
cn英文域名续费----------------------商标注册急速申报
xin (普通词)注册---------------------只争朝夕
xin (普通词)续费---------------------不负韶华
xin (溢价词)续费---------------------抱诚守信
]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=5349</source>
<category>网页学习</category>
<pubDate>2023/8/4 13:18:07</pubDate>
</item>
<item>
<guid>4349</guid>
<title>windows7环境下安装配置jdk</title>
<link>https://www.qwbm.com/new.asp?id=4349</link>
<description><![CDATA[一、jdk下载地址：
注：这个jdk是1.8的版本
链接：https://pan.baidu.com/s/1DYG3-F0D2QDC5CjhFOwNVA 
提取码：wqnb 

二、将下载好的jdk安装包解压到e盘
如下：


三、配置java环境变量
右键我的电脑-&gt;属性-&gt;高级-&gt;环境变量-&gt;系统变量
注意：是下面的系统变量，不是上面的用户变量
新建变量名 JAVA_HOME，变量值 E:\jdk
修改变量 Path ，在最前面加上 %JAVA_HOME%\bin;
注意：“Path"是首字母大写，不要改成"PATH” bin后面要有分号;
注意：系统变量上面的用户变量里，不要有这两个，如果有应该去掉，以避免被干扰。
注意：Win10 下PATH的配置有所不同，按照下个步骤配置即可：Win10 下环境变量Path的配置



四、验证
点WIN键-&gt;运行（或者使用win+r)
输入cmd命令
输入java -version
如果出现版本信息，表明配置成功

————————————————
版权声明]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=4349</source>
<category>网页学习</category>
<pubDate>2023/6/27 11:16:09</pubDate>
</item>
<item>
<guid>4348</guid>
<title>python对微信操作要用到这两个库wxpy与itchat</title>
<link>https://www.qwbm.com/new.asp?id=4348</link>
<description><![CDATA[https://github.com/youfou/wxpy
https://github.com/littlecodersh/itchat

这里对wxpy和itchat两个微信机器人开发库进行重新介绍:
# 微信机器人开发库介绍
## wxpy - 可能是最优雅的微信个人号API
wxpy是基于微信网页版的API开发的,依赖requests和Flask等模块,可以方便地用Python编写机器人。使用wxpy需要一个微信个人号和一个网页应用,并将网页应用和个人号账号关联起来使用。
### 主要功能
- 消息收发:可以接收微信消息如文本、图片等,也可以发送各种消息给联系人或群聊。
- 好友管理:可以获取全部好友列表和各好友的详细信息,也可进行好友添加/删除/备注等操作。
- 群管理:可以获取群聊列表和详细信息,发起群聊创建/加入/退出等操作。 
- 菜单管理:可以创建自定义菜单来与用户交互。 
- 多账号管理:可以同时登录和操作多个微信个人账号。
- 事件处理:可以设置各种事件的回调函数,如接收添加好友请求、群聊加入邀请等操作。

### 安装和使用
p]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=4348</source>
<category>网页学习</category>
<pubDate>2023/5/2 10:13:49</pubDate>
</item>
<item>
<guid>2349</guid>
<title>ASP中Utf-8与Gb2312编码转换乱码问题的解决方法页面编码声明</title>
<link>https://www.qwbm.com/new.asp?id=2349</link>
<description><![CDATA[ASP程序在同一个站点中,如果有UTF-8编码的程序，又有GB2312编码的程序时，在浏览UTF-8编码的页面后，再浏览当前网站GB2312的页面，GB2312编码的页面就会出现乱码
出现这样的问题是当你浏览UTF-8编码的时候，服务器默认用UTF-8的引擎来输出html，当你用再浏览GB2312的页面时，它还是用UTF-8来输出本应是GB2312编码的页面所以会乱码。 

首先让我们来了解一下Session对象提供了四个属性。
1.CodePage 读/写。整型。
定义用于在浏览器中显示页内容的代码页（Code Page）。代码页是字符集的数字值，不同的语言和场所可能使用不同的代码页。例如，ANSI代码页 1252用于美国英语和大多数欧洲语言。代码页932用于日文字。（这里我们要用到的就是这个属性）
2.LCID 读/写。整型。
定义发送给浏览器的页面地区标识（LCID）。LCID是唯一地标识地区的一个国际标准缩写，例如，2057定义当前地区的货币符号是'￡'。LCID也可用于FormatCurrency等语句中，只要其中有一个可选的LCID参数。LCID也可在ASP处]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=2349</source>
<category>网页学习</category>
<pubDate>2023/2/22 10:21:11</pubDate>
</item>
<item>
<guid>2348</guid>
<title>DW设置之后更好用 DreamweaverCS编辑GB2312与UTF-8文件在代码视图中点击鼠标错位问题的解决办法</title>
<link>https://www.qwbm.com/new.asp?id=2348</link>
<description><![CDATA[1. 修改编辑代码编辑背景颜色（设置之后对眼睛好一些）
首选参数---代码颜色-----默认背景 #CCE8CF

2. Dreamweaver用户有可能会发现，默认情况下，DW在编辑GBK（GB2312）编码的网页文件时，在代码视图下是没有问题的，但在编辑UTF-8格式的网页时，鼠标在代码视图中点击某个代码，鼠标光标却点不中要点的位置，一般会向左挪了几个字符，如果某行中文字符越多，错位问题越严重，实在是让人抓狂的不行，那么如何解决dw在编辑UTF-8时代码视图下光标定位错位的问题呢？

其实很简单，只要修改下代码视图的字体就行了。

运行DW依次点击：编辑-首选参数，在分类项中找到 字体 并点击，在“字体设置”的列表中选择 Unicode，如果选择其它项，大家可以发现列表下面的三个字体设置也会跟着变。其实列表中的项就是我们选择不同的编码时对应的字体项，我们的编码为 UTF-8时，对应的就是Unicode。然后在代码视图中选择“宋体”，大小9pt就OK了，可参照下图设置。保存后看看，错位问题是不是没有了？



]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=2348</source>
<category>网页学习</category>
<pubDate>2023/2/22 10:18:33</pubDate>
</item>
<item>
<guid>1348</guid>
<title>解决国内 github.com 打不开的准确方法</title>
<link>https://www.qwbm.com/new.asp?id=1348</link>
<description><![CDATA[http://github.com的地址修正
第一步： 找最快访问http://github.com的地址
找最快访问http://github.com的地址方法很平凡，打开网站 http://tool.chinaz.com/dns/ ，在A类型的查询中输入 github.com，找到最快访问的ip地址，并复制下来.


第二步：修改host文件
电脑的hosts文件在下面这个地址，找到hosts文件
C:\Windows\System32\Drivers\etc

打开hosts文件，可能需要管理员权限。在末尾新建一行，添加如下内容：

140.82.112.26 alive.github.com
140.82.114.25 live.github.com
185.199.108.154 github.githubassets.com
140.82.113.22 central.github.com
185.199.108.133 desktop.githubusercontent.com
185.199.108.153 assets-cdn.gith]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1348</source>
<category>网页学习</category>
<pubDate>2023/1/1 16:03:03</pubDate>
</item>
<item>
<guid>1347</guid>
<title>8种Python字符串拼接的方法，你知道几种</title>
<link>https://www.qwbm.com/new.asp?id=1347</link>
<description><![CDATA[一、join函数
join 是 python 中字符串自带的一个方法，返回一个字符串。使用语法为：

sep.join(可迭代对象) --》 str
# sep 分隔符 可以为空


将一个包含多个字符串的可迭代对象（字符串、元组、列表），转为用分隔符sep连接的字符串。
列表
列表必须为非嵌套列表，列表元素为字符串（str）类型

list1 = ["123", "456", "789"]
print(''.join(list1)) # '123456789'
print('-'.join(list1)) # '123-456-789'

元组

#Python学习交流群：531509025
tuple1 = ('abc', 'dd', 'ff')
print(''.join(tuple1)) # 'abcddff'
print('*'.join(tuple1)) # 'abc*dd*ff'

字符串

str1 = "hello Hider"
print(''.join(str1))
print(':'.join(str1))
]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1347</source>
<category>网页学习</category>
<pubDate>2022/11/12 12:04:17</pubDate>
</item>
<item>
<guid>1346</guid>
<title>Python拼接字符串的几种方式</title>
<link>https://www.qwbm.com/new.asp?id=1346</link>
<description><![CDATA["""
1. 使用加号“+”连接字符串
用加号“+”连接两个字符串，连接后这两个字符串将连接成一个字符串。但需注意的是，
不能用“+”连接字符串和数字，需要把数字使用str()函数转换成字符串，或者直接在数字两侧加带引号，再进行连接、
"""
str11 = "hello"
str12 = "world"
str13 = str11 + str12
print(str13)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # helloworld

""" 注： 但在python中，尽量少用加号“+”连接字符串，原因如下：在python中，String对象是定长对象，一旦创建，长度就不可变化，若是使用+号连接两个字符串，则会新开辟一段长度总和长度的内存，再将两个字符串memcpy进去。如果要连接N个String对象，则要进行N-1次内存申请和拷贝。 官方推荐的是使用字符串的join方法，该方法对于连接一个list或tuple中的元素非常有效，它会先统计所有元素的长度，申请内存，然后拷贝。 """

"""
2. ]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1346</source>
<category>网页学习</category>
<pubDate>2022/11/12 11:45:13</pubDate>
</item>
<item>
<guid>1345</guid>
<title>Python pandas删除指定行/列数据的方法实例</title>
<link>https://www.qwbm.com/new.asp?id=1345</link>
<description><![CDATA[pandas是很常用的数据分析，数据处理的包。anaconda已经有这个包了，纯净版python的可以自行pip安装。

删除重复值 drop_duplicates()
df=pd.DataFrame({'state':[1,1,2,2,1,2,2],'pop':['a','b','c','d','b','c','d']})
语法：drop_duplicates(subset,keep,inplace)，其中参数 keep:{‘first’，‘last’，False}，默认’first’
first：保留第一次出现的重复项，删除第二次及之后出现的重复项。
last：保留最后一次出现的重复项，删除之前出现的重复项。
"false"：删除所有重复项。


查看有nan的行，和不含有nan的行
#1 查看含有nan的行&nbsp; &nbsp; &nbsp;df[df.isna().any(axis=1)]
#2 查看不含有nan的行&nbsp;&nbsp; df[~df.isna().any(axis=1)]&nbsp; &nbsp;#有一个符号 ~ 一定要注意这一]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1345</source>
<category>网页学习</category>
<pubDate>2022/10/28 16:42:29</pubDate>
</item>
<item>
<guid>1344</guid>
<title>chrome谷歌浏览器中的谷歌翻译有问题一键修复处理</title>
<link>https://www.qwbm.com/new.asp?id=1344</link>
<description><![CDATA[谷歌已调用用户退出使用“使用率太低”的谷歌翻译显示服务正式中国。现在访问谷歌翻译主页，是香港谷歌翻译的页面，点击页面上的链接会进入香港谷歌翻译页面。
当然，如果不使用网络代理是无法使用的。这给日常需要使用谷歌翻译的小伙伴带来了不便。


下面是IP地址以及修改windows系统主机文件的自动化脚本代码，只需一键即可完成所有步骤。

脚本在GitHub Gist上，你也可以通过下面的链接直接下载到本地使用。
把代码保存为bat'文件，最后以管理员身份运行脚本自动完成！


:: Copyright (c)2022 
:: This is a batch script for fixing Google Translate and making it available
:: in the Chinese mainland. If you experience any problem, visit the page below:

@echo off
setlocal enabledelayedexpansion
chcp 437 &gt;NULL

s]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1344</source>
<category>网页学习</category>
<pubDate>2022/10/11 8:59:34</pubDate>
</item>
<item>
<guid>1329</guid>
<title>让你的Pycharm和电脑pip install下载速度飞起来</title>
<link>https://www.qwbm.com/new.asp?id=1329</link>
<description><![CDATA[前言
有很多朋友刚刚学Python的时候，会来问为什么pip下载东西这么慢啊？pycharm里面下载库也是非常的慢。这其实是个常识性的问题，我们下载的慢是因为Python使用pip方法安装第三方包时，需要从 https://pypi.org/ 资源库中下载。这个网站是国外的服务器，访问自然就很慢，但是国内有很多的镜像站，所谓镜像站就是内容一样，只不过服务器在国内，访问速度自然而然就很快了。下面给大家普及一下如何修改pip的下载源以及pycharm的下载源。

电脑修改下载源
在国内，比较火的就是下面这几个下载源：

阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣 http://pypi.douban.com/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

我使用的是]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1329</source>
<category>网页学习</category>
<pubDate>2022/9/30 17:02:31</pubDate>
</item>
<item>
<guid>1328</guid>
<title>pywinauto技术文档</title>
<link>https://www.qwbm.com/new.asp?id=1328</link>
<description><![CDATA[全部英文技术文档pywinauto技术文档
https://pywinauto.readthedocs.io/en/latest/contents.html
常用功能文档
https://pywinauto.readthedocs.io/en/latest/code/pywinauto.controls.uiawrapper.html


pywinauto常用功能的中文技术文档
https://www.kancloud.cn/gnefnuy/pywinauto_doc/1193049

pywinauto-笔记汇总
https://www.jianshu.com/p/0c1522f059fe
]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1328</source>
<category>网页学习</category>
<pubDate>2022/9/30 14:47:49</pubDate>
</item>
<item>
<guid>1327</guid>
<title>Appium元素定位方式之android_uiautomator定位</title>
<link>https://www.qwbm.com/new.asp?id=1327</link>
<description><![CDATA[1. android_uiautomator定位
&nbsp; 相当于使用 UiAutomator Api 去递归地搜索元素（Android 专属），可以说android uiautomator是终极定位方式，有的时候一些元素不能够很好的定位时，那么就需要采用android uiautomator去定位，他是一种非常强有力的定位方式，原理是通过android 自带的android uiautomator的类库去查找元素。appium对android 的uiautomator进行了封装，该方法的参数为UiSelector类定位元素的表达式：new UiSelector().属性（'属性值'），实例化一个UiSelector对象，然后通过实例接口调用。
&nbsp; AndroidUIAutomator是一个强有力的元素定位方式，它是通过Android UIAutomator类库去找元素，可以选择resourceId、text、className、description作为传入的字符串。

1.1 android_uiautomator之text文本定位语法
　　1) 使用tex]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1327</source>
<category>网页学习</category>
<pubDate>2022/9/23 17:04:58</pubDate>
</item>
<item>
<guid>1326</guid>
<title>使用uiautomatorviewer连接模拟器页面报错：Error while obtaining UI hierarchy XML file</title>
<link>https://www.qwbm.com/new.asp?id=1326</link>
<description><![CDATA[使用uiautomatorviewer连接模拟器页面报错：Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!

解决方法1：
杀死adb服务器并重新启动它。
adb kill-server
adb start-server

命令面板执行这两条命令后再次连接即可
解决方法2：
命令面板运行：adb reconnect

运行后再次点击连接即可
]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1326</source>
<category>网页学习</category>
<pubDate>2022/9/23 17:03:38</pubDate>
</item>
<item>
<guid>1325</guid>
<title>使用uiautomatorviewer连接模拟器页面报错No Android devices were detected by adb.</title>
<link>https://www.qwbm.com/new.asp?id=1325</link>
<description><![CDATA[



原因：adb 没有连接上手机模拟器

连接夜神模拟器:解决：cmd——adb connect 127.0.0.1:62001
连接mumu模拟器:解决：cmd——adb connect 127.0.0.1:7555



打开cmd控制台，输入命令adb connect 127.0.0.1:7555即可连接模拟器。
Microsoft Windows [版本 10.0.18363.1198]
(c) 2019 Microsoft Corporation。保留所有权利。



C:\Users\ghgxj&gt;adb connect 127.0.0.1:7555
connected to 127.0.0.1:7555]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1325</source>
<category>网页学习</category>
<pubDate>2022/9/23 17:01:56</pubDate>
</item>
<item>
<guid>1324</guid>
<title>python+appium自动化测试-滑动</title>
<link>https://www.qwbm.com/new.asp?id=1324</link>
<description><![CDATA[一、scroll()方法
Appium 中webdriver提供scroll()方法来滚动页面，该方法只适用于屏幕上已经显示的两个元素，从一个元素滚动到另一个元素。若元素不存在当前屏幕或被遮挡，则无法使用该方法。

方法介绍：
scroll(self, start_el, stop_el, duration=None)：
&nbsp;&nbsp;&nbsp; 参数：
&nbsp;&nbsp;&nbsp; - start_el- 开始要滚动的元素
&nbsp;&nbsp;&nbsp; - stop_el- 要滚动到的元素
&nbsp;&nbsp;&nbsp; - 即从元素stop_el滚动至元素start_el
&nbsp;&nbsp;&nbsp; - duration 即滚动的持续时间

具体代码如下
def scroll():	
stop_el = self.driver.find_element_by_xpath("//android.widget.TextView[@text='2008']")
start_el = self.driver.find_]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1324</source>
<category>网页学习</category>
<pubDate>2022/9/23 16:05:30</pubDate>
</item>
<item>
<guid>1323</guid>
<title>Appium获取手机分辨率 & 自适应设备下滑刷新</title>
<link>https://www.qwbm.com/new.asp?id=1323</link>
<description><![CDATA[需求背景：appium做手机自动化的时候，有个很固定的需求就是竖直滑动刷新页面信息（比如：微信朋友圈、微博等），开始的时候我是固定写死的，如driver.swipe(300, 1000, 300, 300)，但是这样写的弊端也很明显，代码不够健壮，如果遇到小屏设备或者大屏设备，滑动的幅度看起来就可能过大或过小。所以我们需要根据不同分辨率的设备做自适应，使代码在各种大小的屏幕上表现的行为和体验都比较一致。

首先，我们需要获取屏幕的宽和高，Appium（python）可用get_window_size()方法获取屏幕的宽和高（可用键值索引单独获取宽或高），然后按照屏幕尺寸定义滑动幅度占屏比。因为下滑刷新是比较常用的功能，所以我封装为一个函数，方便调用，代码如下：

def scroll_down(self):
&nbsp;&nbsp;&nbsp; width = self.get_window_size()['width']
&nbsp;&nbsp;&nbsp; height = self.get_window_size()['height']
&nbsp;&nbsp;&n]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1323</source>
<category>网页学习</category>
<pubDate>2022/9/23 15:58:32</pubDate>
</item>
<item>
<guid>1322</guid>
<title>python加Appium判断滑动是否到达屏幕底部</title>
<link>https://www.qwbm.com/new.asp?id=1322</link>
<description><![CDATA[需求：在做appium自动化的过程中遇到一个问题，每次下滑都会刷新页面（比如微信朋友圈），要通过滑动获取所有页面信息，直到滑动到页面底部，但是不知道怎么判断滑动到底部从而终止滑动的循环（appium无法得知滑动成功还是失败）

appium本身没有直接判断是否滑动到页面底部的函数，但是我们可以通过一个比较笨的方法来实现滑动到页面底部的判断，思路也比较简单：判断滑动前后的页面元素是否完全一致，如果完全一致则说明滑动失败（已经滑动到了底部），如果不一致则说明滑动成功。示例代码如下：


# 获取滑动前页面元素
before_swipe = driver.page_source
# 滑动
driver.swipe(300, 1000, 300, 300) 
# 获取滑动后页面元素
after_swipe = driver.page_source
# 对比滑动前后的页面元素
# 若滑动前后页面元素完全相同，则滑动失败，已达页尾
if before_swipe == after_swipe:
&nbsp;&nbsp;&nbsp; Swiped = False
# 若]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1322</source>
<category>网页学习</category>
<pubDate>2022/9/23 15:54:47</pubDate>
</item>
<item>
<guid>1321</guid>
<title>python退出while循环break、return、continue</title>
<link>https://www.qwbm.com/new.asp?id=1321</link>
<description><![CDATA[while True:
&nbsp; &nbsp;break

1、while用于构建循环，while True是无限循环；
2、break用于退出for循环和while循环，当有多层循环时，退出break所在的循环体
3、return是用来结束函数返回数据用的，适用对象不对，所以有报错
4、continue用来结束本次循环体，从新回到continue语句所在的循环体开始下一次循环;本例中开始执行：while True:
]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1321</source>
<category>网页学习</category>
<pubDate>2022/9/23 15:49:29</pubDate>
</item>
<item>
<guid>1320</guid>
<title>Python PyInstaller安装和使用教程（详解版）</title>
<link>https://www.qwbm.com/new.asp?id=1320</link>
<description><![CDATA[安装 PyInstaller 模块
pip install pyinstaller

强烈建议使用 pip 在线安装的方式来安装 PyInstaller 模块，不要使用离线包的方式来安装，因为 PyInstaller 模块还依赖其他模块，pip 在安装 PyInstaller 模块时会先安装它的依赖模块。
官网：http://www.pyinstaller.org/



使用Pyinstaller
1、使用下载安装的方式安装的Pyinstaller打包方式
将需要打包的文件放在解压得到的Pyinstaller文件夹中，打开cmd窗口，把路径切换到当前路径打开命令提示行，输入以下内容（最后的是文件名）：

python pyinstaller.py -F myfile.py
2、使用pip方式安装的Pyinstaller打包方式
打开cmd窗口，把路径切换到文件所在路径(文件随便放在哪里都行)打开命令提示行，输入以下内容（最后的是文件名）：

pyinstaller -F myfile.py
3、输入参数的含义
-F 表示生成单个可执行文件
-w ]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1320</source>
<category>网页学习</category>
<pubDate>2022/9/16 14:10:30</pubDate>
</item>
<item>
<guid>1319</guid>
<title>python自动控制鼠标操作pymouse</title>
<link>https://www.qwbm.com/new.asp?id=1319</link>
<description><![CDATA[安装PyMouse库
1.使用pip可以直接下载pymouse
&nbsp;pip install pymouse
&nbsp;或者
&nbsp;pip install -i https://mirrors.aliyun.com/pypi/simple/ --upgrade pymouse

2.第二步：需要安装 PyUserinput、pyHook
若不安装PyUserinput，导入包pyMouse则报错： ModuleNotFoundError: No module named ‘windows’


找到pymouse的安装路径，如果不知道在哪里可以用pip安装一下，如果已经安装了会自动提示安装路径，通常都是在python或者ide的Lib\site-packages里，比如我的在：

D:\Program Files (x86)\Python\Python36\Lib\site-packages\pymouse

__init__.py
进入pymouse的安装路径打开__init__.py文件；
把92行的92行的from windows i]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1319</source>
<category>网页学习</category>
<pubDate>2022/9/16 9:25:02</pubDate>
</item>
<item>
<guid>1318</guid>
<title>NameError: name ‘xxx‘ is not defined问题总结</title>
<link>https://www.qwbm.com/new.asp?id=1318</link>
<description><![CDATA[


最近在使用python写实验遇到这个问题：
NameError: name ‘xxx’ is not defined
在学习python或者在使用python的过程中这个问题大家肯定都遇到过，在这里我就这个问题总结以下几种情况：

错误NameError: name ‘xxx’ is not defined总结

情况一：要加双引号（" "）或者（’ '）而没加
情况二：字符缩进格式的问题
情况三：if __name__=='__main__' : 没有和class类进行对齐
情况四：NameError: name ‘file’ is not defined
情况五：NameError: name ‘模块’ is not defined
情况六：NameError: name ‘reload’ is not defined
情况七：全局变量的问题
情况八：两个.py文件的函数或类调用问题(一个.py文件要调用另一个.py文件中的函数或者类时，需要添加该代码文件所在路径，否则会报“NameError: name ‘XXX’ is not define]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1318</source>
<category>网页学习</category>
<pubDate>2022/9/15 18:09:07</pubDate>
</item>
<item>
<guid>1317</guid>
<title>总结一下with open()和open()的区别与使用方法</title>
<link>https://www.qwbm.com/new.asp?id=1317</link>
<description><![CDATA[使用例子：
with open('app.txt', 'w', encoding="utf-8") as file:
&nbsp;&nbsp;&nbsp; file.write(ls_cont)


1.用途：是python用来打开本地文件的，他会在使用完毕后，自动关闭文件，无需手动书写close()

2.用法：
with open (file = "你要打开的路径名（或保存内容的地址）",mode = "r/w/a",encoding = "utf-8") as f1:
&nbsp; &nbsp; &nbsp; &nbsp; data = f1.read/write()
&nbsp; &nbsp; &nbsp; &nbsp; print(data)

3.关于mde的三种模式：
&nbsp;&nbsp;&nbsp; r：只读&nbsp; 用read()
&nbsp;&nbsp;&nbsp; w：只写 用write() &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; //会清除之前写的内容
&nbsp;&nbsp;&nb]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1317</source>
<category>网页学习</category>
<pubDate>2022/9/14 15:23:30</pubDate>
</item>
<item>
<guid>1316</guid>
<title>python中 f 用法</title>
<link>https://www.qwbm.com/new.asp?id=1316</link>
<description><![CDATA[python中f‘{}‘用法
python的字符串前面加f表示格式化字符串，加f后可以在字符串里面使用用花括号括起来的变量和表达式，如果字符串里面没有表达式，那么前面加不加f输出应该都一样。

Python3.6新增了一种f-字符串格式化
格式化的字符串文字前缀为’f’和接受的格式字符串相似str.format()。它们包含由花括号包围的替换区域。替换字段是表达式，在运行时进行评估，然后使用format()协议进行格式化。
formatted string literals, 以 f 开头，包含的{}表达式在程序运行时会被表达式的值代替。

如： 

f'名称: {i["value"]}'

python3.6增加的方法，字符串定义以f开头，可以使用{}包裹变量，方便字符串的定义。
print(f'features:,{features.shape},\n,labels.shape:,{labels.shape}')
print(f'features:,{features.shape} \n labels.shape:,{labels.shape}')#不加逗]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1316</source>
<category>网页学习</category>
<pubDate>2022/9/14 14:57:56</pubDate>
</item>
<item>
<guid>1315</guid>
<title>python错误yntaxError: Non-UTF-8 code starting with '\xd3' in file 文件.py but no encoding declared</title>
<link>https://www.qwbm.com/new.asp?id=1315</link>
<description><![CDATA[python运行程序提示错误

"D:\Program Files (x86)\Python\Python36\python.exe" D:/python_projects/写的案例/模仿客服机器人.py
&nbsp; File "D:/python_projects/写的案例/模仿客服机器人.py", line 19
SyntaxError: Non-UTF-8 code starting with '\xd3' in file D:/python_projects/写的案例/模仿客服机器人.py on line 19, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

这是python解码出错



解决办法：在代码首行添加： #coding=gbk


---------------------------- 这是侵害线 ------------------------------------


其它遇到的问题：
SyntaxError]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1315</source>
<category>网页学习</category>
<pubDate>2022/9/14 14:35:23</pubDate>
</item>
<item>
<guid>1313</guid>
<title>js指定日期加n天加n月加n年</title>
<link>https://www.qwbm.com/new.asp?id=1313</link>
<description><![CDATA[var bplimitdt = "${pd.LimitDT}"; //选中系统到期时间
bplimitdt = new Date(bplimitdt); //字符串转化成时间
var newDate = DateAdd("m ", 3, bplimitdt); //bpmonth：新增三个月份
newDate = formatDate(newDate.getTime(), 'YY-MM-DD hh:mm:ss'); //格式化时间




格式化时间
function formatDate(time, format) {
var date = new Date(time);

var year = date.getFullYear(),
month = date.getMonth() + 1,
//月份是从0开始的
day = date.getDate(),
hour = date.getHours(),
min = date.getMinutes(),
sec = date.getSeconds();
var preArr = Array.app]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1313</source>
<category>网页学习</category>
<pubDate>2022/8/25 13:58:01</pubDate>
</item>
<item>
<guid>1312</guid>
<title>asp显示随机密码</title>
<link>https://www.qwbm.com/new.asp?id=1312</link>
<description><![CDATA['随机显示密码
function ranpassword(ps_len,xml)
strstring = "abcdefghijklmnopqrstuvwxyzABCEDFGHIJKLMNOPQRSTUVWXYZ1234567890"
randomize timer
dim i,a
ranpassword=""
password_length = 16
if ps_len&lt;&gt;"" and ps_len&lt;&gt;"0" then
password_length=clng(ps_len)
end if
for i=1 to password_length
a=int(rnd*(len(strstring)))+1
ranpassword=ranpassword+mid(strstring,a,1)
next
end function

]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1312</source>
<category>网页学习</category>
<pubDate>2022/7/25 14:38:20</pubDate>
</item>
<item>
<guid>1311</guid>
<title>通过阿里云服务接口获得ip地址详细信息</title>
<link>https://www.qwbm.com/new.asp?id=1311</link>
<description><![CDATA[Dim ip,datatype,token,url


Function BytesToBstr(strBody,CodeBase)
dim objStream
set objStream = Server.CreateObject("Adodb.Stream")
objStream.Type = 1
objStream.Mode =3
objStream.Open
objStream.Write strBody
objStream.Position = 0
objStream.Type = 2
objStream.Charset = CodeBase
BytesToBstr = objStream.ReadText 
objStream.Close
set objStream = nothing
End Function

'Get内容
Function geturl_diy(url,d_biaoqian,xml2)
dim http
set http=server.createobject("Msxml2.ServerXMLHTTP")
]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1311</source>
<category>网页学习</category>
<pubDate>2022/7/25 9:17:54</pubDate>
</item>
<item>
<guid>1310</guid>
<title>jquery中动态生成的代码使用on hover事件时不出现效果</title>
<link>https://www.qwbm.com/new.asp?id=1310</link>
<description><![CDATA[jquery动态添加的元素，使用on hover事件时有问题，可以使用以下的代码

$("body").on("mouseover mouseout",".lineItem",function(event) {
&nbsp;&nbsp;&nbsp; if(event.type == "mouseover"){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //鼠标悬浮
&nbsp;&nbsp;&nbsp; }else if(event.type == "mouseout"){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //鼠标离开
&nbsp;&nbsp;&nbsp; }
});
]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1310</source>
<category>网页学习</category>
<pubDate>2022/7/20 18:54:10</pubDate>
</item>
<item>
<guid>1309</guid>
<title>阿里云短信验证码签名不合法isv.SMS_SIGNATURE_ILLEGAL</title>
<link>https://www.qwbm.com/new.asp?id=1309</link>
<description><![CDATA[

阿里云短信验证码签名不合法isv.SMS_SIGNATURE_ILLEGAL

阿里短信服务发送验证码提示该账号下找不到对应签名isv.SMS_SIGNATURE_ILLEGAL 签名和模板都审核通过了


做阿里云短信验证功能提示：{"RequestId":"8057F1CC-EC28-5D8A-A1A2-6EBE73815CF4","Message":"该账号下找不到对应签名","Code":"isv.SMS_SIGNATURE_ILLEGAL"}
模板也做了，签名也申请了，appkey也申请了，无论怎么执行都提示签名不对，那么问题错在那了呢？

其实就是你申请签名的名称一定要写正确 。

操作流程：
1. 阿里云开通云短信服务
2. 获取到 AccessKey ID 和 AccessKey Secret
3. 创建签名和模板
4. 使用官方提供的API


阿里云短信操作流程：https://help.aliyun.com/document_detail/59210.html?spm=a2c4g.11174283.4.1.8d482c42]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1309</source>
<category>网页学习</category>
<pubDate>2022/6/21 23:22:16</pubDate>
</item>
<item>
<guid>1308</guid>
<title>iis点开后任务栏上有显示，但是窗口看不到的解决办法</title>
<link>https://www.qwbm.com/new.asp?id=1308</link>
<description><![CDATA[启动【IIS管理器】后，在任务栏中有，但是窗口不见了。

尝试在【设置=》控制面板=》程序=》程序和功能】重新安装IIS相关组件，重启电脑后还是没解决。

网上查了一下，找到解决办法：开始=》运行命令=》输入：inetmgr.exe /reset

搞定！！
原因：由于某种原因，之前该窗口的位置被改动过，显示在我们显示器之外的地方，所以我们看不见它。这个命令把它的设置还原了。
]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1308</source>
<category>网页学习</category>
<pubDate>2022/6/18 8:55:51</pubDate>
</item>
<item>
<guid>1307</guid>
<title>facebook广告推广设定像素标准事件的值和币种等说明</title>
<link>https://www.qwbm.com/new.asp?id=1307</link>
<description><![CDATA[facebook标准版

  
    
      网站动作
      说明
      标准事件程式码
    
    
      新增付款资料
      在结帐过程中添加客户付款信息。示例：用户单击存储计费信息的按钮。
      fbq('track', 'AddPaymentInfo');
    
    
      加到购物车
      将项目添加到购物车。示例：单击网站上的“添加到购物车”按钮。
      fbq('track', 'AddToCart');
    
    
      加到愿望清单
      将项目添加到您的愿望清单。示例：单击网站上的“添加到愿望清单”按钮。
      fbq('track', 'AddToWishlist');
    
    
      完成注册
      客户提交信息以换取您企业提供的服务。示例：注册电子邮件订阅。
      fbq('track', 'CompleteRegistration');
    
    
      联络
 ]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1307</source>
<category>网页学习</category>
<pubDate>2022/6/15 10:51:53</pubDate>
</item>
<item>
<guid>1306</guid>
<title>iframe里阻止_blank弹出新窗口的方法</title>
<link>https://www.qwbm.com/new.asp?id=1306</link>
<description><![CDATA[近弄个东西，需要用到iframe，但是加载的网页中有_blank，不能让他跳出来。
如果想让目的网址的_blank删除，这是不可能的。
网上找了很多的资料，要么是跨域不能修改.要么就根本牛头不对马嘴


后来,看到了html5里iframe有个叫sandbox的属性把 iframe 里的网页给关笼子里的属性

所以,就来找找这个的用法.


&lt;iframe sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
&nbsp;&nbsp;&nbsp; src="https://www.qwbm.com"
&nbsp;&nbsp;&nbsp; style="border: 0; width:130px; height:20px;"&gt;&lt;/iframe&gt;


我们在上面的示例中看到了一些可能的沙盒标志，现在让我们更详细地研究一下该属性的内部工作原理。

给定具有空沙盒属性 ( &lt;iframe sandbox src="..."&gt; &lt;/ifra]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1306</source>
<category>网页学习</category>
<pubDate>2022/6/8 11:04:34</pubDate>
</item>
<item>
<guid>1305</guid>
<title>jquery实现下拉加载更多</title>
<link>https://www.qwbm.com/new.asp?id=1305</link>
<description><![CDATA[



实现思路：
只要滚动条拉到的某个位置距离底部距离大于边框的高度立即加载新数据。

代码如下：
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset="utf-8"&gt;
&lt;title&gt;滚动加载更多&lt;/title&gt;
&lt;style type="text/css"&gt;
body,div {margin:0;padding:0;}
body {width: 100%;background-color: #ccc;display: flex;flex-wrap: wrap;justify-content: space-around;border: 1px solid gold;}
.load_div {width: 400px;height: 300px;border:1px solid red;}
.load_div2 {width: 400px;height: 300px;border:1px solid green;}
&lt;/sty]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1305</source>
<category>网页学习</category>
<pubDate>2022/6/8 10:39:37</pubDate>
</item>
<item>
<guid>1304</guid>
<title>静态网站利用微信URL Scheme生成的ticket从浏览器h5跳到微信小程序完整代码</title>
<link>https://www.qwbm.com/new.asp?id=1304</link>
<description><![CDATA[

1.使用微信云开发托管静态网页：
微信相关的浏览器可以获得免鉴权能力跳转任意小程序，普通浏览器只能跳转自己的小程序。
静态网站H5跳小程序，阅读微信官方文档：https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/staticstorage/jump-miniprogram.html


2.用URL Scheme获取ticket跳转小程序的进行跳转。
附上urlscheme.generate微信文档参考： https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-scheme/urlscheme.generate.html#method-http

操作分为两步：
第一步：通过小程序appId和secret获取token（微信接口）https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&amp;appid=&amp;se]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1304</source>
<category>网页学习</category>
<pubDate>2022/6/8 10:11:43</pubDate>
</item>
<item>
<guid>1303</guid>
<title>RSA加密解密插件</title>
<link>https://www.qwbm.com/new.asp?id=1303</link>
<description><![CDATA[

&lt;%
''........................................
'' RSA插件
'' author Flc 2021-02-02
'' Version v1.0
''........................................


&nbsp;&nbsp;&nbsp; Public Publickey, Privatekey
&nbsp;&nbsp;&nbsp; Private SB, Rsa
&nbsp;&nbsp;&nbsp; Private s_B, s_R, s_U

&nbsp;&nbsp;&nbsp; Private Sub Class_Initialize()
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set SB = App.Str.StringBuilder()
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Rsa = Server.CreateObject("System.Securi]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1303</source>
<category>网页学习</category>
<pubDate>2022/6/3 15:55:10</pubDate>
</item>
<item>
<guid>1302</guid>
<title>微软Encoder加密解密函数</title>
<link>https://www.qwbm.com/new.asp?id=1302</link>
<description><![CDATA[

&lt;%
&nbsp; ''微软Encoder加密解密
&nbsp; ''暂时只支持中文，英文，其他语言未测试
&nbsp; ''Author:amuie@126.com

Private Ary, En, SB, StrStartFlag, StrEndFlag

Private Sub Class_Initialize()
&nbsp;&nbsp;&nbsp; Set En = Server.CreateObject("Scripting.Encoder")
&nbsp;&nbsp;&nbsp; Set SB = App.Str.StringBuilder()
StrStartFlag = App.Str.RegexpEncode("#@~^")
&nbsp; 	StrEndFlag = App.Str.RegexpEncode("==^#~@")
Ary = Array( _
&nbsp;&nbsp;&nbsp; 	&amp;h00, &amp;h00, &amp;h00, &amp;h01, &amp;h01, &amp;h01, &amp;]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1302</source>
<category>网页学习</category>
<pubDate>2022/6/3 15:52:32</pubDate>
</item>
<item>
<guid>1301</guid>
<title>Shopify 店铺被封原因与防范及如何解封办法</title>
<link>https://www.qwbm.com/new.asp?id=1301</link>
<description><![CDATA[Shopify被封原因

代理问题，一般购买或使用免费代理，所使用ip地址会经常变动。由于Shopify店铺后台登录地址经常变动会让shopify认为你的账户处于不安全的状态，所以会被临时封禁。当然如果是因为这种情况账户被封，向shopify写邮件告知原因，以前是可以解封的。现在这不行了，我有一个账号就是换代理封了，死活不给解封。

信用卡方面： 在shopify填写信用卡时，使用了V-*P-*N代理，基本上马上会就被封，因为你的卡片中国的，IP地址是国外的，被确认为盗刷，引发风控。而且，从此以后，你这个人的信用卡都不能再开店了。

产品是仿牌。这个没话说，做仿牌用shopify，自己找死，没得说。

地址选择。Shopify后台地址设置当中，选择了美国或加拿大等非大陆地区。一旦被Shopify检测到Shopify店铺的IP地址是在国内登入，而该店铺后台所设置的地址是国外，则会被封店。

Shopify Payment的问题：很多同学总是纠结这个shopify 2%-0.5%的手续费，其实真的没有必要。如果你不是美国店，你还用shopify payment那会就被封]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1301</source>
<category>网页学习</category>
<pubDate>2022/6/3 15:23:58</pubDate>
</item>
<item>
<guid>1300</guid>
<title>Instagram 广告投放操作与技巧</title>
<link>https://www.qwbm.com/new.asp?id=1300</link>
<description><![CDATA[Instagram 广告投放的版位及操作其实很简易，首先我们要有几点先备知识：

■ 当前Instagram广告并不是独立的广告平台，而是透过Facebook广告系统进行投放和管理
■ IG App内多图贴文仅能用App投放（不要问我为什么，也许之后会改）仅单图贴文可供脸书后台选取推广。

Instagram是全球成长最快的在线社区之一，目前已有超过4亿月度活跃用户。Instagram的用户有75% +来自美国以外，是真正的覆盖全球范围的社区。用户平均每天有21分钟会花在这个应用上。
作为品牌营销的一个潜在的解决方案，广告主可以通过Instagram上的3类广告推广自己的业务。

1、图片广告让企业向人们讲述他们的故事，让人们寻找视觉灵感。
2、视频广告使广告主通过视觉、声音和运动来启发人们。
3。轮播广告使广告主能够通过更深层次的故事，以及多个图像的使用来启发人们。用户在feed里看到轮播广告时可以向左滑动查看更多图片。广告主可以从多个call-to-action按钮中选择来链接到附加信息。

目前IG 商业帐号可以直接在贴文下方透过＂推广＂按钮进行投放，但是]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1300</source>
<category>网页学习</category>
<pubDate>2022/6/3 15:06:54</pubDate>
</item>
<item>
<guid>1299</guid>
<title>网页添加WhatsApp跳转链接教程</title>
<link>https://www.qwbm.com/new.asp?id=1299</link>
<description><![CDATA[对于外贸建站来说，国外流行的社交聊天工具或APP的使用是必不可少的，WhatsApp就是其中之一，WhatsApp是与国外客户取得联系的绝佳方式，本文详细介绍如何在自己的网站中加入WhatsApp社交聊天工具，实现这个功能。

添加WhatsApp图标
挑选一个自己满意的图标上传到自己网站服务器

创建WhatsApp链接
WhatsApp提供“Click to Chat”点击聊天功能，允许您在网页中创建一个链接，当用户点击时即可响应打开WhatsApp聊天窗口。

WhatsApp提供PC电脑端和手机移动端两种不同的链接地址：
PC电脑端：&lt;a href="https://api.whatsapp.com/send?phone=+86123456789&amp;text=Hello"&gt;点我WhatsApp聊天&lt;/a&gt;
手机移动端：&lt;a href="whatsapp://send?phone=+86123456789&amp;text=Hello"&gt;点我WhatsApp聊天&lt;/a&gt;

里面都包含两个参数 phone]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1299</source>
<category>网页学习</category>
<pubDate>2022/6/3 15:03:58</pubDate>
</item>
<item>
<guid>1297</guid>
<title>shopify广告与Facebook广告操作</title>
<link>https://www.qwbm.com/new.asp?id=1297</link>
<description><![CDATA[开始投放之前，需要提前做好这些准备
1. 科学上网
2. 创建两大社交网络的账号（FB,INS），需要准备真实的个人信息资料（一定不要作假否则导致封号后果惨重），并且需要养号几天。
3. 创建一个公共主页并进行对应的设置；
4. 创建一个BM；
5. 安装FB像素，这是用来跟踪统计访客在你网站做出了那些具体行为的，例如：访问了那些页面，访问时间是多少，有没有添加购物车，有没有付款等等。
6. 申请个人工商户或公司资质；
7. 找到国内的官方代理开户，账号会更稳定。
8. 根据你找的代理要求，在你的账号里充值。

投放
首先创建系列：



&nbsp; 
选择合适的营销目标是非常关键，它的重要性甚至超过了你的素材和测试技巧。
其次创建广告组
1） 先选择对应的转化事件，我们做dropshipping转化量广告里一般都选购物：


2） 选择受众，创建受众的时候，除了可以对国家地区，年龄段，性别定位之外，更重要的是可以针对“细分定位”来进行定位，“细分定位”包含了：人口统计数据，兴趣，行为。
由于兴趣，行为和人口统计的受众通常很广泛，如果设置完]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=1297</source>
<category>网页学习</category>
<pubDate>2022/6/3 14:51:38</pubDate>
</item>
</channel>
</rss>
