資源簡介
zxshop是一套基于uniapp uniCloud開發(fā)的電商系統(tǒng),包括單商戶與多商戶兩個(gè)版本,通過拖拽可視化組件,生成適用全行業(yè)多場景模板,幫商家快速網(wǎng)上開店。同時(shí)支持PC端后臺(tái)管理和移動(dòng)端后臺(tái)管理,提高產(chǎn)品全方位用戶體驗(yàn)。
## 支持組件
* 基礎(chǔ)組件:文本、圖片廣告、商品、視頻、標(biāo)題、圖文導(dǎo)航、商品搜索、公告、輔助空白、輔助線、自由面板
* 系統(tǒng)組件:分類模板、頁面導(dǎo)航
* 營銷組件:優(yōu)惠券
## 部署步驟
```bash
# 導(dǎo)入項(xiàng)目
將項(xiàng)目導(dǎo)入到HBuilderX開發(fā)工具中
# 修改根目錄下manifest.json
AppID:從微信小程序獲取
# 修改根目錄下config.js
SPACE_ID:從unicloud服務(wù)空間獲取SpaceID
CLIENT_SECRET:從unicloud服務(wù)空間獲取clientSecret
# 修改配置文件 cloudfunctions/common/config
wxConfigMp中的
appId:從微信小程序獲取
secret:從微信小程序獲取
mchId:從支付商戶平臺(tái)獲取
key:從支付商戶平臺(tái)獲取
# 修改配置文件 cloudfunctions/common/uni-id/config.json
mp-weixin中的
appId:從微信小程序獲取
secret:從微信小程序獲取
# 關(guān)聯(lián)云服務(wù)空間
沒有云服務(wù)空間需要通過鼠標(biāo)右鍵cloudfunctions,點(diǎn)擊創(chuàng)建云服務(wù)空間,然后再關(guān)聯(lián)剛剛創(chuàng)建好的云服務(wù)空間
# 初始化cloudfunctions/db_init.json
鼠標(biāo)郵件db_init.json,點(diǎn)擊初始化云數(shù)據(jù)庫
# 上傳cloudfunctions/common功能模塊
逐個(gè)文件鼠標(biāo)右鍵點(diǎn)擊上傳公共模塊
# 上傳cloudfuncions下的云函數(shù)
逐個(gè)點(diǎn)擊以zx-開頭的文件,鼠標(biāo)右鍵點(diǎn)擊上傳部署
# 運(yùn)行項(xiàng)目
最后通過HBuilderX菜單欄運(yùn)行-運(yùn)行到瀏覽器,啟動(dòng)項(xiàng)目
```
代碼片段和文件信息
-----------?---------??----------?-----??----
?????目錄???????????0??2020-12-08?23:38??zxshop\
?????目錄???????????0??2020-12-08?23:38??zxshop\.git\
?????文件?????????157??2020-12-08?23:38??zxshop\.gitignore
?????文件?????????298??2020-12-08?23:38??zxshop\.git\config
?????文件??????????73??2020-12-08?23:38??zxshop\.git\desc
?????文件??????????23??2020-12-08?23:38??zxshop\.git\HEAD
?????目錄???????????0??2020-12-08?23:38??zxshop\.git\hooks\
?????文件?????????478??2020-12-08?23:38??zxshop\.git\hooks\applypatch-msg.sample
?????文件?????????896??2020-12-08?23:38??zxshop\.git\hooks\commit-msg.sample
?????文件????????3327??2020-12-08?23:38??zxshop\.git\hooks\fsmonitor-watchman.sample
?????文件?????????189??2020-12-08?23:38??zxshop\.git\hooks\post-update.sample
?????文件?????????424??2020-12-08?23:38??zxshop\.git\hooks\pre-applypatch.sample
?????文件????????1638??2020-12-08?23:38??zxshop\.git\hooks\pre-commit.sample
?????文件????????1348??2020-12-08?23:38??zxshop\.git\hooks\pre-push.sample
?????文件????????4898??2020-12-08?23:38??zxshop\.git\hooks\pre-reba
?????文件?????????544??2020-12-08?23:38??zxshop\.git\hooks\pre-receive.sample
?????文件????????1492??2020-12-08?23:38??zxshop\.git\hooks\prepare-commit-msg.sample
?????文件????????3610??2020-12-08?23:38??zxshop\.git\hooks\update.sample
?????文件???????23480??2020-12-08?23:38??zxshop\.git\index
?????目錄???????????0??2020-12-08?23:38??zxshop\.git\info\
?????文件?????????240??2020-12-08?23:38??zxshop\.git\info\exclude
?????目錄???????????0??2020-12-08?23:38??zxshop\.git\logs\
?????文件?????????179??2020-12-08?23:38??zxshop\.git\logs\HEAD
?????目錄???????????0??2020-12-08?23:38??zxshop\.git\logs\refs\
?????目錄???????????0??2020-12-08?23:38??zxshop\.git\logs\refs\heads\
?????文件?????????179??2020-12-08?23:38??zxshop\.git\logs\refs\heads\master
?????目錄???????????0??2020-12-08?23:38??zxshop\.git\logs\refs\remotes\
?????目錄???????????0??2020-12-08?23:38??zxshop\.git\logs\refs\remotes\origin\
?????文件?????????179??2020-12-08?23:38??zxshop\.git\logs\refs\remotes\origin\HEAD
?????目錄???????????0??2020-12-08?23:38??zxshop\.git\ob
?????目錄???????????0??2020-12-08?23:38??zxshop\.git\ob
............此處省略307個(gè)文件信息
評論
共有 條評論