<?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=61</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/7 11:26:27</lastBuildDate>
<ttl>20</ttl> 
<copyright>Copyright 2026 深山工作室 https://www.qwbm.com</copyright>
<item>
<guid>960</guid>
<title>百度小程序开发第一坑tcomponent自定义组件命名坑Compile san component failed. . [SAN ERROR] ROOT>swan-custom-component>view>千万不要用下划线作为自定义组件名</title>
<link>https://www.qwbm.com/new.asp?id=960</link>
<description><![CDATA[在给组件命名的时候我们大多数的时候命名字母全小写且包含一个连字符,但是有的时候我们也是用单词首字母大写的方式实现的组件命名如果当我们需要将组件渲染到dom上的时候强烈建议使用全部字母小写且有连接符连接的命名在html中是大小写不敏感的,使用全小写且连接符连接会帮助我们与当前或者未来的元素冲突百度自定义组件名不能用下划线正确示例"navigationBarTitleText": "智能小程序示例","usingComponents": {"qwbmlist": "/components/searchInput/qwbmlist","qwbm-list": "/components/searchList/qwbmlist","qwbm_list": "/components/searchList/qwbmlist",	//这行就是有问题的，因为用一下划线}注意：组件的文件名可以用驼峰命名，但不能用中划线注意：组件名只能是全小写加中划线，不能用驼峰命名和下划线 index 页面引入&lt;qwbmlist&gt;&lt;/qwbmlist&gt;&lt;qwbm-list&gt;&lt;/q]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=960</source>
<category>百度小程序开发</category>
<pubDate>2021/8/14 10:28:43</pubDate>
</item>
<item>
<guid>959</guid>
<title>开始百度小程序开发需要准备工作</title>
<link>https://www.qwbm.com/new.asp?id=959</link>
<description><![CDATA[

百度小程序开放平台登录地址：
https://smartprogram.baidu.com/developer/index.html

下载百度小程序开发工具
https://smartprogram.baidu.com/docs/develop/devtools/history/百度小程序开发注意不支持属性选择器。不支持 scoped。login / getUserInfo /支付等功能在模拟器（开发工具）上不能模拟。map 组件在开发工具上预览效果不对，但是手机上是对的。getSystemInfo 获取到的 windowHeight 在模拟器中值不正确，真机预览是正确的。v-if 和 v-for 不可在同一标签下同时使用。页面中引入自定义组件时，渲染的结果中外层会有一个 template 标签，这会导致部分选择器对应的样式匹配不上。]]></description>
<author></author>
<source>https://www.qwbm.com/new.asp?id=959</source>
<category>百度小程序开发</category>
<pubDate>2021/8/14 10:28:43</pubDate>
</item>
</channel>
</rss>
