github repository address
Click here to jump github repository.
Project Introduction
This project is based applet ▪ cloud development without building background, icon fonts, and other home pages are online, the font used is iconfont online font (station Cool Wei body), font address .
A total of four projects page, which are index Home, album album list page, picture picture list page, create create album pages.
To download deployment, follow these steps to import the project.
Step one import project
Registration applet selection cloud development (if not registered small program your own Baidu), project has been created.
Step Two Create a database
Open Cloud Development Console
- Welcome added first set of permissions set to => all users read, write may only create and add a random recording, field name => image_url, type => String, value of the image url addresses.
- Add album collection, permission is set to => all users read, write may create only.
- Add picture collection, permission is set to => all users read, write may create only.
Step Three compile the project
After the above steps are deployed to run the project.
Precautions
User authentication is required to upload pictures of openid, enter the picture list page, open the Debug window AppData, find your openid copy, in picture.js below and find the following code, replace your openid can be.
if (this.data.openid !== '你的openid')
Project Experience
The following micro-channel two-dimensional code scanning to experience.