pull/1/head
parent
60bf302119
commit
4fa658db18
Binary file not shown.
After Width: | Height: | Size: 73 KiB |
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,663 @@
|
||||
.uniui-color:before {
|
||||
content: "\e6cf";
|
||||
}
|
||||
|
||||
.uniui-wallet:before {
|
||||
content: "\e6b1";
|
||||
}
|
||||
|
||||
.uniui-settings-filled:before {
|
||||
content: "\e6ce";
|
||||
}
|
||||
|
||||
.uniui-auth-filled:before {
|
||||
content: "\e6cc";
|
||||
}
|
||||
|
||||
.uniui-shop-filled:before {
|
||||
content: "\e6cd";
|
||||
}
|
||||
|
||||
.uniui-staff-filled:before {
|
||||
content: "\e6cb";
|
||||
}
|
||||
|
||||
.uniui-vip-filled:before {
|
||||
content: "\e6c6";
|
||||
}
|
||||
|
||||
.uniui-plus-filled:before {
|
||||
content: "\e6c7";
|
||||
}
|
||||
|
||||
.uniui-folder-add-filled:before {
|
||||
content: "\e6c8";
|
||||
}
|
||||
|
||||
.uniui-color-filled:before {
|
||||
content: "\e6c9";
|
||||
}
|
||||
|
||||
.uniui-tune-filled:before {
|
||||
content: "\e6ca";
|
||||
}
|
||||
|
||||
.uniui-calendar-filled:before {
|
||||
content: "\e6c0";
|
||||
}
|
||||
|
||||
.uniui-notification-filled:before {
|
||||
content: "\e6c1";
|
||||
}
|
||||
|
||||
.uniui-wallet-filled:before {
|
||||
content: "\e6c2";
|
||||
}
|
||||
|
||||
.uniui-medal-filled:before {
|
||||
content: "\e6c3";
|
||||
}
|
||||
|
||||
.uniui-gift-filled:before {
|
||||
content: "\e6c4";
|
||||
}
|
||||
|
||||
.uniui-fire-filled:before {
|
||||
content: "\e6c5";
|
||||
}
|
||||
|
||||
.uniui-refreshempty:before {
|
||||
content: "\e6bf";
|
||||
}
|
||||
|
||||
.uniui-location-filled:before {
|
||||
content: "\e6af";
|
||||
}
|
||||
|
||||
.uniui-person-filled:before {
|
||||
content: "\e69d";
|
||||
}
|
||||
|
||||
.uniui-personadd-filled:before {
|
||||
content: "\e698";
|
||||
}
|
||||
|
||||
.uniui-back:before {
|
||||
content: "\e6b9";
|
||||
}
|
||||
|
||||
.uniui-forward:before {
|
||||
content: "\e6ba";
|
||||
}
|
||||
|
||||
.uniui-arrow-right:before {
|
||||
content: "\e6bb";
|
||||
}
|
||||
|
||||
.uniui-arrowthinright:before {
|
||||
content: "\e6bb";
|
||||
}
|
||||
|
||||
.uniui-arrow-left:before {
|
||||
content: "\e6bc";
|
||||
}
|
||||
|
||||
.uniui-arrowthinleft:before {
|
||||
content: "\e6bc";
|
||||
}
|
||||
|
||||
.uniui-arrow-up:before {
|
||||
content: "\e6bd";
|
||||
}
|
||||
|
||||
.uniui-arrowthinup:before {
|
||||
content: "\e6bd";
|
||||
}
|
||||
|
||||
.uniui-arrow-down:before {
|
||||
content: "\e6be";
|
||||
}
|
||||
|
||||
.uniui-arrowthindown:before {
|
||||
content: "\e6be";
|
||||
}
|
||||
|
||||
.uniui-bottom:before {
|
||||
content: "\e6b8";
|
||||
}
|
||||
|
||||
.uniui-arrowdown:before {
|
||||
content: "\e6b8";
|
||||
}
|
||||
|
||||
.uniui-right:before {
|
||||
content: "\e6b5";
|
||||
}
|
||||
|
||||
.uniui-arrowright:before {
|
||||
content: "\e6b5";
|
||||
}
|
||||
|
||||
.uniui-top:before {
|
||||
content: "\e6b6";
|
||||
}
|
||||
|
||||
.uniui-arrowup:before {
|
||||
content: "\e6b6";
|
||||
}
|
||||
|
||||
.uniui-left:before {
|
||||
content: "\e6b7";
|
||||
}
|
||||
|
||||
.uniui-arrowleft:before {
|
||||
content: "\e6b7";
|
||||
}
|
||||
|
||||
.uniui-eye:before {
|
||||
content: "\e651";
|
||||
}
|
||||
|
||||
.uniui-eye-filled:before {
|
||||
content: "\e66a";
|
||||
}
|
||||
|
||||
.uniui-eye-slash:before {
|
||||
content: "\e6b3";
|
||||
}
|
||||
|
||||
.uniui-eye-slash-filled:before {
|
||||
content: "\e6b4";
|
||||
}
|
||||
|
||||
.uniui-info-filled:before {
|
||||
content: "\e649";
|
||||
}
|
||||
|
||||
.uniui-reload:before {
|
||||
content: "\e6b2";
|
||||
}
|
||||
|
||||
.uniui-micoff-filled:before {
|
||||
content: "\e6b0";
|
||||
}
|
||||
|
||||
.uniui-map-pin-ellipse:before {
|
||||
content: "\e6ac";
|
||||
}
|
||||
|
||||
.uniui-map-pin:before {
|
||||
content: "\e6ad";
|
||||
}
|
||||
|
||||
.uniui-location:before {
|
||||
content: "\e6ae";
|
||||
}
|
||||
|
||||
.uniui-starhalf:before {
|
||||
content: "\e683";
|
||||
}
|
||||
|
||||
.uniui-star:before {
|
||||
content: "\e688";
|
||||
}
|
||||
|
||||
.uniui-star-filled:before {
|
||||
content: "\e68f";
|
||||
}
|
||||
|
||||
.uniui-calendar:before {
|
||||
content: "\e6a0";
|
||||
}
|
||||
|
||||
.uniui-fire:before {
|
||||
content: "\e6a1";
|
||||
}
|
||||
|
||||
.uniui-medal:before {
|
||||
content: "\e6a2";
|
||||
}
|
||||
|
||||
.uniui-font:before {
|
||||
content: "\e6a3";
|
||||
}
|
||||
|
||||
.uniui-gift:before {
|
||||
content: "\e6a4";
|
||||
}
|
||||
|
||||
.uniui-link:before {
|
||||
content: "\e6a5";
|
||||
}
|
||||
|
||||
.uniui-notification:before {
|
||||
content: "\e6a6";
|
||||
}
|
||||
|
||||
.uniui-staff:before {
|
||||
content: "\e6a7";
|
||||
}
|
||||
|
||||
.uniui-vip:before {
|
||||
content: "\e6a8";
|
||||
}
|
||||
|
||||
.uniui-folder-add:before {
|
||||
content: "\e6a9";
|
||||
}
|
||||
|
||||
.uniui-tune:before {
|
||||
content: "\e6aa";
|
||||
}
|
||||
|
||||
.uniui-auth:before {
|
||||
content: "\e6ab";
|
||||
}
|
||||
|
||||
.uniui-person:before {
|
||||
content: "\e699";
|
||||
}
|
||||
|
||||
.uniui-email-filled:before {
|
||||
content: "\e69a";
|
||||
}
|
||||
|
||||
.uniui-phone-filled:before {
|
||||
content: "\e69b";
|
||||
}
|
||||
|
||||
.uniui-phone:before {
|
||||
content: "\e69c";
|
||||
}
|
||||
|
||||
.uniui-email:before {
|
||||
content: "\e69e";
|
||||
}
|
||||
|
||||
.uniui-personadd:before {
|
||||
content: "\e69f";
|
||||
}
|
||||
|
||||
.uniui-chatboxes-filled:before {
|
||||
content: "\e692";
|
||||
}
|
||||
|
||||
.uniui-contact:before {
|
||||
content: "\e693";
|
||||
}
|
||||
|
||||
.uniui-chatbubble-filled:before {
|
||||
content: "\e694";
|
||||
}
|
||||
|
||||
.uniui-contact-filled:before {
|
||||
content: "\e695";
|
||||
}
|
||||
|
||||
.uniui-chatboxes:before {
|
||||
content: "\e696";
|
||||
}
|
||||
|
||||
.uniui-chatbubble:before {
|
||||
content: "\e697";
|
||||
}
|
||||
|
||||
.uniui-upload-filled:before {
|
||||
content: "\e68e";
|
||||
}
|
||||
|
||||
.uniui-upload:before {
|
||||
content: "\e690";
|
||||
}
|
||||
|
||||
.uniui-weixin:before {
|
||||
content: "\e691";
|
||||
}
|
||||
|
||||
.uniui-compose:before {
|
||||
content: "\e67f";
|
||||
}
|
||||
|
||||
.uniui-qq:before {
|
||||
content: "\e680";
|
||||
}
|
||||
|
||||
.uniui-download-filled:before {
|
||||
content: "\e681";
|
||||
}
|
||||
|
||||
.uniui-pyq:before {
|
||||
content: "\e682";
|
||||
}
|
||||
|
||||
.uniui-sound:before {
|
||||
content: "\e684";
|
||||
}
|
||||
|
||||
.uniui-trash-filled:before {
|
||||
content: "\e685";
|
||||
}
|
||||
|
||||
.uniui-sound-filled:before {
|
||||
content: "\e686";
|
||||
}
|
||||
|
||||
.uniui-trash:before {
|
||||
content: "\e687";
|
||||
}
|
||||
|
||||
.uniui-videocam-filled:before {
|
||||
content: "\e689";
|
||||
}
|
||||
|
||||
.uniui-spinner-cycle:before {
|
||||
content: "\e68a";
|
||||
}
|
||||
|
||||
.uniui-weibo:before {
|
||||
content: "\e68b";
|
||||
}
|
||||
|
||||
.uniui-videocam:before {
|
||||
content: "\e68c";
|
||||
}
|
||||
|
||||
.uniui-download:before {
|
||||
content: "\e68d";
|
||||
}
|
||||
|
||||
.uniui-help:before {
|
||||
content: "\e679";
|
||||
}
|
||||
|
||||
.uniui-navigate-filled:before {
|
||||
content: "\e67a";
|
||||
}
|
||||
|
||||
.uniui-plusempty:before {
|
||||
content: "\e67b";
|
||||
}
|
||||
|
||||
.uniui-smallcircle:before {
|
||||
content: "\e67c";
|
||||
}
|
||||
|
||||
.uniui-minus-filled:before {
|
||||
content: "\e67d";
|
||||
}
|
||||
|
||||
.uniui-micoff:before {
|
||||
content: "\e67e";
|
||||
}
|
||||
|
||||
.uniui-closeempty:before {
|
||||
content: "\e66c";
|
||||
}
|
||||
|
||||
.uniui-clear:before {
|
||||
content: "\e66d";
|
||||
}
|
||||
|
||||
.uniui-navigate:before {
|
||||
content: "\e66e";
|
||||
}
|
||||
|
||||
.uniui-minus:before {
|
||||
content: "\e66f";
|
||||
}
|
||||
|
||||
.uniui-image:before {
|
||||
content: "\e670";
|
||||
}
|
||||
|
||||
.uniui-mic:before {
|
||||
content: "\e671";
|
||||
}
|
||||
|
||||
.uniui-paperplane:before {
|
||||
content: "\e672";
|
||||
}
|
||||
|
||||
.uniui-close:before {
|
||||
content: "\e673";
|
||||
}
|
||||
|
||||
.uniui-help-filled:before {
|
||||
content: "\e674";
|
||||
}
|
||||
|
||||
.uniui-paperplane-filled:before {
|
||||
content: "\e675";
|
||||
}
|
||||
|
||||
.uniui-plus:before {
|
||||
content: "\e676";
|
||||
}
|
||||
|
||||
.uniui-mic-filled:before {
|
||||
content: "\e677";
|
||||
}
|
||||
|
||||
.uniui-image-filled:before {
|
||||
content: "\e678";
|
||||
}
|
||||
|
||||
.uniui-locked-filled:before {
|
||||
content: "\e668";
|
||||
}
|
||||
|
||||
.uniui-info:before {
|
||||
content: "\e669";
|
||||
}
|
||||
|
||||
.uniui-locked:before {
|
||||
content: "\e66b";
|
||||
}
|
||||
|
||||
.uniui-camera-filled:before {
|
||||
content: "\e658";
|
||||
}
|
||||
|
||||
.uniui-chat-filled:before {
|
||||
content: "\e659";
|
||||
}
|
||||
|
||||
.uniui-camera:before {
|
||||
content: "\e65a";
|
||||
}
|
||||
|
||||
.uniui-circle:before {
|
||||
content: "\e65b";
|
||||
}
|
||||
|
||||
.uniui-checkmarkempty:before {
|
||||
content: "\e65c";
|
||||
}
|
||||
|
||||
.uniui-chat:before {
|
||||
content: "\e65d";
|
||||
}
|
||||
|
||||
.uniui-circle-filled:before {
|
||||
content: "\e65e";
|
||||
}
|
||||
|
||||
.uniui-flag:before {
|
||||
content: "\e65f";
|
||||
}
|
||||
|
||||
.uniui-flag-filled:before {
|
||||
content: "\e660";
|
||||
}
|
||||
|
||||
.uniui-gear-filled:before {
|
||||
content: "\e661";
|
||||
}
|
||||
|
||||
.uniui-home:before {
|
||||
content: "\e662";
|
||||
}
|
||||
|
||||
.uniui-home-filled:before {
|
||||
content: "\e663";
|
||||
}
|
||||
|
||||
.uniui-gear:before {
|
||||
content: "\e664";
|
||||
}
|
||||
|
||||
.uniui-smallcircle-filled:before {
|
||||
content: "\e665";
|
||||
}
|
||||
|
||||
.uniui-map-filled:before {
|
||||
content: "\e666";
|
||||
}
|
||||
|
||||
.uniui-map:before {
|
||||
content: "\e667";
|
||||
}
|
||||
|
||||
.uniui-refresh-filled:before {
|
||||
content: "\e656";
|
||||
}
|
||||
|
||||
.uniui-refresh:before {
|
||||
content: "\e657";
|
||||
}
|
||||
|
||||
.uniui-cloud-upload:before {
|
||||
content: "\e645";
|
||||
}
|
||||
|
||||
.uniui-cloud-download-filled:before {
|
||||
content: "\e646";
|
||||
}
|
||||
|
||||
.uniui-cloud-download:before {
|
||||
content: "\e647";
|
||||
}
|
||||
|
||||
.uniui-cloud-upload-filled:before {
|
||||
content: "\e648";
|
||||
}
|
||||
|
||||
.uniui-redo:before {
|
||||
content: "\e64a";
|
||||
}
|
||||
|
||||
.uniui-images-filled:before {
|
||||
content: "\e64b";
|
||||
}
|
||||
|
||||
.uniui-undo-filled:before {
|
||||
content: "\e64c";
|
||||
}
|
||||
|
||||
.uniui-more:before {
|
||||
content: "\e64d";
|
||||
}
|
||||
|
||||
.uniui-more-filled:before {
|
||||
content: "\e64e";
|
||||
}
|
||||
|
||||
.uniui-undo:before {
|
||||
content: "\e64f";
|
||||
}
|
||||
|
||||
.uniui-images:before {
|
||||
content: "\e650";
|
||||
}
|
||||
|
||||
.uniui-paperclip:before {
|
||||
content: "\e652";
|
||||
}
|
||||
|
||||
.uniui-settings:before {
|
||||
content: "\e653";
|
||||
}
|
||||
|
||||
.uniui-search:before {
|
||||
content: "\e654";
|
||||
}
|
||||
|
||||
.uniui-redo-filled:before {
|
||||
content: "\e655";
|
||||
}
|
||||
|
||||
.uniui-list:before {
|
||||
content: "\e644";
|
||||
}
|
||||
|
||||
.uniui-mail-open-filled:before {
|
||||
content: "\e63a";
|
||||
}
|
||||
|
||||
.uniui-hand-down-filled:before {
|
||||
content: "\e63c";
|
||||
}
|
||||
|
||||
.uniui-hand-down:before {
|
||||
content: "\e63d";
|
||||
}
|
||||
|
||||
.uniui-hand-up-filled:before {
|
||||
content: "\e63e";
|
||||
}
|
||||
|
||||
.uniui-hand-up:before {
|
||||
content: "\e63f";
|
||||
}
|
||||
|
||||
.uniui-heart-filled:before {
|
||||
content: "\e641";
|
||||
}
|
||||
|
||||
.uniui-mail-open:before {
|
||||
content: "\e643";
|
||||
}
|
||||
|
||||
.uniui-heart:before {
|
||||
content: "\e639";
|
||||
}
|
||||
|
||||
.uniui-loop:before {
|
||||
content: "\e633";
|
||||
}
|
||||
|
||||
.uniui-pulldown:before {
|
||||
content: "\e632";
|
||||
}
|
||||
|
||||
.uniui-scan:before {
|
||||
content: "\e62a";
|
||||
}
|
||||
|
||||
.uniui-bars:before {
|
||||
content: "\e627";
|
||||
}
|
||||
|
||||
.uniui-cart-filled:before {
|
||||
content: "\e629";
|
||||
}
|
||||
|
||||
.uniui-checkbox:before {
|
||||
content: "\e62b";
|
||||
}
|
||||
|
||||
.uniui-checkbox-filled:before {
|
||||
content: "\e62c";
|
||||
}
|
||||
|
||||
.uniui-shop:before {
|
||||
content: "\e62f";
|
||||
}
|
||||
|
||||
.uniui-headphones:before {
|
||||
content: "\e630";
|
||||
}
|
||||
|
||||
.uniui-cart:before {
|
||||
content: "\e631";
|
||||
}
|
Binary file not shown.
@ -0,0 +1,86 @@
|
||||
{
|
||||
"id": "uni-icons",
|
||||
"displayName": "uni-icons 图标",
|
||||
"version": "1.3.5",
|
||||
"description": "图标组件,用于展示移动端常见的图标,可自定义颜色、大小。",
|
||||
"keywords": [
|
||||
"uni-ui",
|
||||
"uniui",
|
||||
"icon",
|
||||
"图标"
|
||||
],
|
||||
"repository": "https://github.com/dcloudio/uni-ui",
|
||||
"engines": {
|
||||
"HBuilderX": "^3.2.14"
|
||||
},
|
||||
"directories": {
|
||||
"example": "../../temps/example_temps"
|
||||
},
|
||||
"dcloudext": {
|
||||
"category": [
|
||||
"前端组件",
|
||||
"通用组件"
|
||||
],
|
||||
"sale": {
|
||||
"regular": {
|
||||
"price": "0.00"
|
||||
},
|
||||
"sourcecode": {
|
||||
"price": "0.00"
|
||||
}
|
||||
},
|
||||
"contact": {
|
||||
"qq": ""
|
||||
},
|
||||
"declaration": {
|
||||
"ads": "无",
|
||||
"data": "无",
|
||||
"permissions": "无"
|
||||
},
|
||||
"npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
|
||||
},
|
||||
"uni_modules": {
|
||||
"dependencies": ["uni-scss"],
|
||||
"encrypt": [],
|
||||
"platforms": {
|
||||
"cloud": {
|
||||
"tcb": "y",
|
||||
"aliyun": "y"
|
||||
},
|
||||
"client": {
|
||||
"App": {
|
||||
"app-vue": "y",
|
||||
"app-nvue": "y"
|
||||
},
|
||||
"H5-mobile": {
|
||||
"Safari": "y",
|
||||
"Android Browser": "y",
|
||||
"微信浏览器(Android)": "y",
|
||||
"QQ浏览器(Android)": "y"
|
||||
},
|
||||
"H5-pc": {
|
||||
"Chrome": "y",
|
||||
"IE": "y",
|
||||
"Edge": "y",
|
||||
"Firefox": "y",
|
||||
"Safari": "y"
|
||||
},
|
||||
"小程序": {
|
||||
"微信": "y",
|
||||
"阿里": "y",
|
||||
"百度": "y",
|
||||
"字节跳动": "y",
|
||||
"QQ": "y"
|
||||
},
|
||||
"快应用": {
|
||||
"华为": "u",
|
||||
"联盟": "u"
|
||||
},
|
||||
"Vue": {
|
||||
"vue2": "y",
|
||||
"vue3": "y"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,463 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../common/vendor.js");
|
||||
const api_request = require("./request.js");
|
||||
const API = {
|
||||
//微信登录
|
||||
getToken: (data) => api_request.net.POST("/login/token", data),
|
||||
// 获取token
|
||||
wx_login: (data, userId) => api_request.net.POST("/user/binding/wechat", data, true, { "userId": userId }),
|
||||
// 微信登录
|
||||
/*
|
||||
首页信息
|
||||
*/
|
||||
getIndexInfo: (data) => api_request.net.GET("/api/index/index"),
|
||||
// 首页信息
|
||||
getIndexBanner: (data) => api_request.net.GET("/api/banner/index", data),
|
||||
// 轮播图
|
||||
getIndexNotice: (data) => api_request.net.GET("/api/news/notice"),
|
||||
// 公告
|
||||
getGoodsDetail: (data) => api_request.net.GET("/api/goods/detail", data),
|
||||
// 商品详情(普通商品)
|
||||
getSeckillGoodsDetail: (data) => api_request.net.GET("/api/seckill_goods/detail", data),
|
||||
// 商品详情(秒杀)
|
||||
getGroupGoodsDetail: (data) => api_request.net.GET("/api/group_goods/detail", data),
|
||||
// 商品详情(团购)
|
||||
getGoodsList: (data) => api_request.net.GET("/api/goods/lists", data),
|
||||
// 商品列表(普通商品)
|
||||
getSeckillGoodsList: (data) => api_request.net.GET("/api/seckill_goods/lists", data),
|
||||
// 商品列表(限时)
|
||||
getGroupGoodsList: (data) => api_request.net.GET("/api/group_goods/lists?page=&keyword=", data),
|
||||
// 商品列表(团购)
|
||||
getNewinfo: (data) => api_request.net.GET("/api/goods/getGoodsSpec", data),
|
||||
// 根据商品规格更新数据
|
||||
getCategoryList: (data) => api_request.net.GET("/api/goods_category/lists"),
|
||||
// 获取商品分类
|
||||
getCategory: (data) => api_request.net.GET("/api/goods/category", data),
|
||||
// 根据分类Id获取分类商品
|
||||
getCartList: (data) => api_request.net.GET("/api/cart/lists", data),
|
||||
// 获取购物车列表
|
||||
addCart: (data) => api_request.net.POST("/api/cart/add", data),
|
||||
// 加入购物车
|
||||
delCart: (data) => api_request.net.POST("/api/cart/delete", data),
|
||||
// 删除购物车
|
||||
updateCart: (data) => api_request.net.POST("/api/cart/edit", data),
|
||||
// 更新购物车
|
||||
login: (data) => api_request.net.POST("/api/user/wechatLogin", data),
|
||||
// 登录
|
||||
login_test: (data) => api_request.net.GET("/api/user/testLogin?id=1"),
|
||||
// 登录 测试专用
|
||||
zhuce: (data) => api_request.net.POST("/api/user/profile", data),
|
||||
// 注册
|
||||
getOrderList: (data) => api_request.net.GET("/api/order/lists", data),
|
||||
//订单列表
|
||||
getOrderGroupList: (data) => api_request.net.GET("/api/group_order/lists", data),
|
||||
//订单列表(团购)
|
||||
getOrderSeckillList: (data) => api_request.net.GET("/api/seckill_order/lists", data),
|
||||
//订单列表(秒杀)
|
||||
pay: (data) => api_request.net.POST("/api/order/pay", data),
|
||||
//支付
|
||||
payGroup: (data) => api_request.net.POST("/api/group_order/pay", data),
|
||||
//支付(团购)
|
||||
paySeckill: (data) => api_request.net.POST("/api/seckill_order/pay", data),
|
||||
//支付(秒杀)
|
||||
refund: (data) => api_request.net.POST("/api/order/refund", data),
|
||||
//退款
|
||||
getOrderInviteList: (data) => api_request.net.GET("/api/invite/order", data),
|
||||
//分销订单
|
||||
getOrderBaseinfo: (data) => api_request.net.POST("/api/order/preview", data),
|
||||
//获取订单提交页面的基本信息
|
||||
getOrderGroupBaseinfo: (data) => api_request.net.POST("/api/group_order/preview", data),
|
||||
//获取订单提交页面的基本信息(团购)
|
||||
getOrderSeckillBaseinfo: (data) => api_request.net.POST("/api/seckill_order/preview", data),
|
||||
//获取订单提交页面的基本信息(秒杀)
|
||||
getOrderCartinfo: (data) => api_request.net.POST("/api/order/cartPreview", data),
|
||||
//获取订单提交页面的基本信息(购物车来的)
|
||||
getDelivery: (data) => api_request.net.GET("/api/index/delivery", data),
|
||||
//获取配送相关的选项(普通商品)
|
||||
staffApply: (data) => api_request.net.POST("/api/invite/apply", data),
|
||||
//业务员申请
|
||||
deliveryApply: (data) => api_request.net.POST("/api/staff/apply", data),
|
||||
//配送员申请
|
||||
getDeliveryArea: (data) => api_request.net.GET("/api/staff/getDeliveryArea"),
|
||||
//获取配送区域
|
||||
getAddressList: (data) => api_request.net.GET("/api/address/lists"),
|
||||
//地址列表
|
||||
getAddDetail: (data) => api_request.net.GET("/api/address/detail", data),
|
||||
//地址详情
|
||||
addAddress: (data) => api_request.net.POST("/api/address/add", data),
|
||||
//新增地址
|
||||
editAddress: (data) => api_request.net.POST("/api/address/edit", data),
|
||||
//修改地址
|
||||
delAddress: (data) => api_request.net.GET("/api/address/delete", data),
|
||||
//删除地址
|
||||
getDefaultAddress: (data) => api_request.net.GET("/api/address/getDefault"),
|
||||
//获取默认地址
|
||||
orderSubmitFunc: (data) => api_request.net.POST("/api/order/order", data),
|
||||
//提交订单(普通订单)
|
||||
orderSubmitCartFunc: (data) => api_request.net.POST("/api/order/cartOrder", data),
|
||||
//提交订单(购物车)
|
||||
orderSubmitGroupFunc: (data) => api_request.net.POST("/api/group_order/order", data),
|
||||
//提交订单(团购订单)
|
||||
orderSubmitSeckillFunc: (data) => api_request.net.POST("/api/seckill_order/order", data),
|
||||
//提交订单(秒杀订单)
|
||||
orderDetail: (data) => api_request.net.GET("/api/order/detail", data),
|
||||
//订单详情-普通订单 (顾客)
|
||||
orderGroupDetail: (data) => api_request.net.GET("/api/group_order/detail", data),
|
||||
//订单详情-团购订单
|
||||
orderSeckillDetail: (data) => api_request.net.GET("/api/seckill_order/detail", data),
|
||||
//订单详情-秒杀订单
|
||||
orderStaffDetail: (data) => api_request.net.GET("/api/staff/orderDetail", data),
|
||||
//订单详情-配送订单
|
||||
orderLeaderDetail: (data) => api_request.net.GET("/api/leader/orderDetail", data),
|
||||
//订单详情-管理员订单
|
||||
orderCancel: (data) => api_request.net.POST("/api/order/cancle", data),
|
||||
//取消订单
|
||||
orderCancelGroup: (data) => api_request.net.POST("/api/group_order/cancle", data),
|
||||
//取消订单 (团购)
|
||||
orderCancelSeckill: (data) => api_request.net.POST("/api/seckill_order/cancle", data),
|
||||
//取消订单 (秒杀)
|
||||
/*
|
||||
用户相关
|
||||
*/
|
||||
getUserInfo: (data) => api_request.net.GET("/api/user/userInfo", data),
|
||||
//获取用户信息
|
||||
updateUserInfo: (data) => api_request.net.POST("/api/user/profile", data),
|
||||
//更新用户信息
|
||||
rechargeFunc: (data) => api_request.net.POST("/api/recharge/recharge", data),
|
||||
//充值
|
||||
withdrawalFunc: (data) => api_request.net.POST("/api/withdrawl/submit", data),
|
||||
//提现
|
||||
vipBuy: (data) => api_request.net.POST("/api/vip/order", data),
|
||||
//购买VIP
|
||||
vipConfig: (data) => api_request.net.GET("/api/vip/config"),
|
||||
//会员说明
|
||||
/*
|
||||
优惠券
|
||||
*/
|
||||
getCouponsList: (data) => api_request.net.GET("/api/coupon/userCoupons", data),
|
||||
//优惠券
|
||||
getCouponsCenterList: (data) => api_request.net.GET("/api/coupon/lists", data),
|
||||
//领券中心
|
||||
couponsCenterReceive: (data) => api_request.net.POST("/api/coupon/receive", data),
|
||||
//领取优惠
|
||||
getMyStars: (data) => api_request.net.GET("/api/collect/lists", data),
|
||||
//我的收藏
|
||||
/*
|
||||
推广中心
|
||||
*/
|
||||
inviteCenter: (data) => api_request.net.GET("/api/invite/index", data),
|
||||
//首页
|
||||
inviteCenterwithdrawl: (data) => api_request.net.POST("/api/withdrawl/submit", data),
|
||||
//提现
|
||||
inviteCenterwithdrawlDetail: (data) => api_request.net.GET("/api/invite/withdrawlDetail", data),
|
||||
//提现明细
|
||||
inviteCenterwithdrawlRecodes: (data) => api_request.net.GET("/api/invite/record", data),
|
||||
//提现明细(佣金)
|
||||
getShareQrcode: (data) => api_request.net.GET("/api/user/getShareQrcode"),
|
||||
//用户分销二维码
|
||||
/*
|
||||
配置相关
|
||||
*/
|
||||
getConfig: (data) => api_request.net.GET("/api/index/config"),
|
||||
setDeliveryTime: (data) => api_request.net.POST("/api/staff/setDeliveryTime", data),
|
||||
// 设置配送时间
|
||||
getDeliveryTime: (data) => api_request.net.GET("/api/staff/getDeliveryTime"),
|
||||
// 获取配送时间
|
||||
getStaffOrder: (data) => api_request.net.GET("/api/staff/orderLists", data),
|
||||
// 获取订单管理列表(配送员)
|
||||
getManageOrder: (data) => api_request.net.GET("/api/leader/orderLists", data),
|
||||
// 获取订单管理列表(团长)
|
||||
deliveryPhoto: (data) => api_request.net.POST("/api/staff/deliveryPhoto", data),
|
||||
// 送达拍照
|
||||
reveiceOrder: (data) => api_request.net.POST("/api/staff/reveiceOrder", data),
|
||||
// 接单
|
||||
reveiceOrderOk: (data) => api_request.net.POST("/api/leader/assignOrder", data),
|
||||
// 派单
|
||||
getStaffList: (data) => api_request.net.GET("/api/leader/staffList"),
|
||||
// 配送员列表
|
||||
goodsBuyFunc: (data) => api_request.net.POST("/api/leader/goodsBuy", data),
|
||||
// 商品申购
|
||||
getRecordList: (data) => api_request.net.GET("/api/leader/recordList", data),
|
||||
// 货物入库
|
||||
/**
|
||||
*
|
||||
* 登录类信息
|
||||
*
|
||||
*/
|
||||
// 检查更新
|
||||
getUpdateVersion: (data) => api_request.net.GET("/api/v1/index/version"),
|
||||
// 获取定位
|
||||
getLocationInfo: (data) => api_request.net.GET("/api/v1/index/ip", data),
|
||||
// 验证码登陆
|
||||
codeLogin: (data) => api_request.net.POST("/code/login", data),
|
||||
// H5扫码登录邀请接口
|
||||
inviteLogin: (data) => api_request.net.POST("/api/v1/invite/login", data),
|
||||
// 发送手机验证码接口
|
||||
sendVerifyCode: (data) => api_request.net.POST("/api/v1/sms/send", { send_type: "student", ...data }),
|
||||
// 注销账号
|
||||
unRegister: (data) => api_request.net.POST("/api/v1/student/delete", data),
|
||||
// 授权登录
|
||||
accessLogin: (data, t = "wx") => api_request.net.POST(`/api/v1/${t}/login`, data),
|
||||
// 退出登录
|
||||
logOut: (data) => api_request.net.POST("/api/v1/code/logout", data),
|
||||
// 获取省份
|
||||
getProvince: (data) => api_request.net.GET("/api/v1/colleges/getProvince", data),
|
||||
// 根据学员所选择的教学点获取院校列表接口
|
||||
collegesList: (data) => api_request.net.GET("/api/v1/colleges/list", data),
|
||||
// 通过市反查省/自治区/直辖市
|
||||
getProvinceByCity: (data) => api_request.net.GET("/api/v1/region/getProvinceByCity", data),
|
||||
/**
|
||||
*
|
||||
* 用户信息
|
||||
*
|
||||
*/
|
||||
// 学员个人信息接口
|
||||
selectUserInfo: (data) => api_request.net.GET("/api/v1/student/info", data),
|
||||
// 登录成功后填写学员信息接口
|
||||
userUpdate: (data) => api_request.net.POST("/api/v1/student/update", data),
|
||||
// 邀请二维码
|
||||
qrcode: (data) => api_request.net.POST("/api/v1/student/invite/qrcode", data),
|
||||
uploadBase64: (data) => api_request.net.POST("/api/v1/student/uploadBase64", data),
|
||||
// 获取被邀请人列表接口
|
||||
inviteList: (data) => api_request.net.GET("/api/v1/student/invite/list", data),
|
||||
// 积分列表
|
||||
scoreList: (data) => api_request.net.GET("/point", data),
|
||||
// 余额明细
|
||||
balanceList: (data) => api_request.net.POST("/api/v1/balance/detail/get/list", data),
|
||||
// 模拟测试记录
|
||||
recordList: (data) => api_request.net.GET("/api/v1/test-record/mock/examination/record", data),
|
||||
// 练习题错误集详情
|
||||
practiceList: (data) => api_request.net.GET("/api/v1/test-record/practice/list", data),
|
||||
/**
|
||||
*
|
||||
* 首页数据
|
||||
*
|
||||
*/
|
||||
// 首页配置获取
|
||||
indexConfig: (data) => api_request.net.GET("/api/v1/index/config", data),
|
||||
// 轮播
|
||||
// indexBanner: data => net.GET('/app/banner', data),
|
||||
indexBanner: (data) => api_request.net.POST("/api/v1/index/lbt", data),
|
||||
// 获取咨询文章列表
|
||||
// wzList: data => net.GET('/app/consult-wz', data),
|
||||
wzList: (data) => api_request.net.POST("/api/v1/index/wz/list", data),
|
||||
// 获取咨询文章
|
||||
// wzInfo: id => net.GET(`/app/consult-wz/${id}`),
|
||||
wzInfo: (id) => api_request.net.GET(`/api/v1/index/wz/${id}`),
|
||||
// 获取课程分页
|
||||
getCourseList: (data) => api_request.net.GET(`/app/course/page`, data),
|
||||
// 获取推荐院校列表
|
||||
// recommendwzList: data => net.GET('/app/academy', data),
|
||||
recommendwzList: (data) => api_request.net.POST("/api/v1/index/academy/list", data),
|
||||
// 获取推荐院校文章
|
||||
// recommendwzInfo: id => net.GET(`/app/academy/${id}`),
|
||||
recommendwzInfo: (id) => api_request.net.GET(`/api/v1/index/academy/${id}`),
|
||||
// 推荐院校文章阅读量累计
|
||||
// recomendaddReadNumber: data => net.PUT('/app/academy/num',data),
|
||||
recomendaddReadNumber: (data) => api_request.net.POST("/api/v1/index/academy/add/num", data),
|
||||
//获取考试大纲列表
|
||||
syllabusList: (data) => api_request.net.POST("/api/v1/index/syllabus/list", data),
|
||||
// 搜索
|
||||
search: (data) => api_request.net.POST("/api/v1/index/search", data),
|
||||
// 阅读量累计
|
||||
addReadNumber: (data) => api_request.net.PUT("/app/consult-wz/num", data),
|
||||
// 师资团队列表
|
||||
lecturerList: (data) => api_request.net.GET("/api/v1/index/lecturer", data),
|
||||
// 师资详情
|
||||
lecturerDetail: (id) => api_request.net.GET(`/api/v1/index/lecturer/${id}`),
|
||||
// 获取资料列表
|
||||
indexMaterial: (data) => api_request.net.GET("/api/v1/index/material", data),
|
||||
// indexMaterial: data => net.GET('/app/material', data),
|
||||
// 获取资料详情
|
||||
materialDetail: (data) => api_request.net.GET(`/api/v1/index/material/${data.id}`, { buyer_id: data.buyer_id }),
|
||||
// 获取精品课程
|
||||
indexBoutiqueCourse: (data) => api_request.net.GET("/api/v1/index/boutique/course", data),
|
||||
// 获取精品课程详情
|
||||
boutiqueCourseDetail: (id) => api_request.net.GET(`/api/v1/index/boutique/course/${id}`),
|
||||
// 获取课程
|
||||
courseList: (data) => api_request.net.POST("/api/v1/course/get", data),
|
||||
// 获取套餐
|
||||
comboList: (data) => api_request.net.POST("/api/v1/combo/course/get", data),
|
||||
// courseList: data => net.GET('/app/course/page', data),
|
||||
// 获取课程详情
|
||||
courseDetail: (id, data) => api_request.net.GET(`/api/v1/course/${id}`, data),
|
||||
// courseDetail: (id, data) => net.GET(`/app/course`, {id}),
|
||||
// 获取线下课程
|
||||
offlineCourseList: (data) => api_request.net.POST("/api/v1/offline/course/get", data),
|
||||
// 获取线下课程详情
|
||||
offlineCourseDetail: (id) => api_request.net.GET(`/api/v1/offline/course/${id}`),
|
||||
// 获取套餐课程详情
|
||||
getComboDetail: (data) => api_request.net.GET(`/api/v1/combo/course/${data.id}`, { buyer_id: data.buyer_id } |