Files
yimo-resource-blog/README.md
王鹏 a47c6dd47a init
2025-08-14 15:04:24 +08:00

141 lines
6.8 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p align="center">
<img alt="logo" src="https://img.eplusskin.com/uploads/20240730/log.png">
</p>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">依沫博客资源</h1>
<h4 align="center">基于UniApp开发</h4>
<p align="center">
<img src="https://img.shields.io/github/license/mashape/apistatus.svg">
</p>
## 平台简介
依沫博客资源变现专为内容资源下载场景设计,一站式解决内容带货、流量、资源变现,资源博客文章分享难题,目前以实现个人博客,文章发表,资源收集下载,网盘短剧视频链接分享,手机壁纸下载,电脑壁纸下载,头像下载,支持抖音,快手,小红书等 100+ 平台的图片视频水印去除,这些内容展示均已实现微信小程序流量主广告变现功能,可根据自己需要进行配置,
另外还加入了积分系统以及积分任务和积分商店,可让用户完成相应的任务获得积分换取奖励,源码无保留可二次开发。
* 应用框架基于[uniapp](https://uniapp.dcloud.net.cn/)支持小程序、H5、Android和IOS。流量主流量变现广告目前只支持微信小程序
* 前端组件采用[uni-ui](https://github.com/dcloudio/uni-ui)全端兼容的高性能UI框架。
* 阿里云服务器免费试用3个月新老用户同享 99/年:[点我进入](https://www.aliyun.com/daily-act/ecs/activity_selection?userCode=ua4mkdxk)
* 需要后端代码请打开微信搜索公众号关注 "依沫资源网" 或微信扫面下方二维码关注微信公众号发送 "依沫博客后端源码" 即可获取
<img src="https://img.yidaima.cn/%E5%B0%8F%E7%A8%8B%E5%BA%8F/gongzhonghao.jpg" alt="公众号"/>
## 技术文档
[//]: # (<img src="https://img.eplusskin.com/uploads/20240730/1715928722339.png"> QQ 1149297946 或 微信yimoziyuan666)
- 运行之前请安装uview-ui组件依赖可打开项目根目录运行 cmd 输入 npm install uview-ui
- 如需微信小程序运行或实现微信流量主小程序流量变现请修改 manifest.json 微信小程序的AppID以及在后台管理端的App配置项配置自己的广告id
- 打开微信扫描下面的小程序码即可体验小程序
<img src="https://img.eplusskin.com/uploads/20240730/miniapp.jpg" alt="小程序演示"/>
## 故障排除
### uni-search-bar 组件路径错误
如果在编译时遇到以下错误:
```
pages/search/index.json: ["usingComponents"]["uni-search-bar"]: "/node-modules/uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar",在 D:/codes/git/yimo-resource-blog-master/unpackage/dist/dev/mp-weixin/node-modules/uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar 路径下未找到组件
```
**解决方案:**
1. **清理编译缓存**
```bash
# Windows 命令行
rmdir /s /q unpackage
# 或者直接删除 unpackage 目录
```
2. **检查 pages.json 配置**
确保 `pages.json` 中的 `easycom` 配置包含了 uni_modules 组件的正确匹配规则:
```json
"easycom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue",
"^uni-(.*)": "@/uni_modules/uni-$1/components/uni-$1/uni-$1.vue"
}
```
3. **确认组件存在**
检查 `uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar.vue` 文件是否存在。
4. **重新编译项目**
- 在 HBuilderX 中:运行 → 运行到小程序模拟器 → 微信开发者工具
- 或使用命令行工具重新编译
**说明:**
- uni-app 的 easycom 机制会自动注册符合命名规范的组件
- 项目中的 uni-search-bar 组件位于 `uni_modules` 目录下,是标准的 uni_modules 组件
- 错误中的 `node-modules` 路径是编译过程中的临时路径,实际组件路径应该是 `uni_modules`
- 清理缓存可以解决大部分编译路径缓存问题
### 其他常见问题
- **组件不显示**:确保已正确配置 easycom 或手动引入组件
- **编译错误**:检查 pages.json 语法,确保 JSON 格式正确
- **路径错误**:使用相对路径时注意 `@/` 表示项目根目录
## 技术支持
- 如有问题欢迎联系作者
<table>
<tr>
<td align="center" bgcolor=#F6F8FA>微信</td>
<td align="center" bgcolor=#F6F8FA>QQ</td>
</tr>
<tr>
<td bgcolor=#FFFFFF><img src="https://img.eplusskin.com/uploads/20240730/wx3.png"/></td>
<td bgcolor=#FFFFFF><img src="https://img.eplusskin.com/uploads/20240730/qiuqiu3.png"/></td>
</tr>
<tr>
<td align="center">YiMoZiYuan666</td>
<td align="center">1149297946</td>
</tr>
</table>
## 小程序部分演示图
<table>
<tr>
<td><img src="https://img.eplusskin.com/uploads/20240730/show-1.png"/></td>
<td><img src="https://img.eplusskin.com/uploads/20240730/show-2.png"/></td>
<td><img src="https://img.eplusskin.com/uploads/20240730/show-4.png"/></td>
</tr>
<tr>
<td><img src="https://img.eplusskin.com/uploads/20240730/show-3.png"/></td>
<td><img src="https://img.eplusskin.com/uploads/20240730/show-5.png"/></td>
<td><img src="https://img.eplusskin.com/uploads/20240730/%E6%B0%B4%E5%8D%B01.png"/></td>
</tr>
<tr>
<td><img src="https://img.eplusskin.com/uploads/20240730/%E6%96%87%E7%AB%A0%E8%AF%A6%E6%83%85.png"/></td>
<td><img src="https://img.eplusskin.com/uploads/20240730/%E6%96%87%E7%AB%A0%E8%AF%A6%E6%83%852.png"/></td>
<td><img src="https://img.eplusskin.com/uploads/20240730/%E4%B8%8B%E8%BD%BD.png"/></td>
</tr>
<tr>
<td><img src="https://img.eplusskin.com/uploads/20240730/%E7%A7%AF%E5%88%86.png"/></td>
<td><img src="https://img.eplusskin.com/uploads/20240730/%E7%A7%AF%E5%88%86%E7%89%A9%E5%93%81.png"/></td>
<td><img src="https://img.eplusskin.com/uploads/20240730/choujiang.jpg"/></td>
</tr>
<tr>
<td><img src="https://img.eplusskin.com/uploads/20240730/%E6%89%8B%E6%9C%BA%E5%A3%81%E7%BA%B8.png"/></td>
<td><img src="https://img.eplusskin.com/uploads/20240730/%E7%94%B5%E8%84%91%E5%A3%81%E7%BA%B8.png"/></td>
<td><img src="https://img.eplusskin.com/uploads/20240730/%E5%A3%81%E7%BA%B8%E8%AF%A6%E6%83%85.png"/></td>
</tr>
</table>
## PC端部分演示图 在线演示[www.emoboy.vip](https://www.emoboy.vip)
<img src="https://img.eplusskin.com/uploads/20240730/%E5%90%8E%E5%8F%B0-new-1.png"/>
<img src="https://img.eplusskin.com/uploads/20240730/%E5%90%8E%E5%8F%B0-new-2.png"/>
## 管理后台部分演示图
<img src="https://img.eplusskin.com/uploads/20240730/%E5%90%8E%E5%8F%B01.png"/>
<img src="https://img.eplusskin.com/uploads/20240730/%E5%90%8E%E5%8F%B02.png"/>
<img src="https://img.eplusskin.com/uploads/20240730/%E5%90%8E%E5%8F%B03.png"/>
<img src="https://img.eplusskin.com/uploads/20240730/%E5%90%8E%E5%8F%B04.png"/>
* 若您喜欢对您有帮助的话,麻烦客官动动发财的手给小二一个 Star ,您的支持是我们不断进步的源泉!!!