Browse Source

Merge branch 'zyh' into zyj

master
小久哥 3 years ago
parent
commit
e287cdcc99
  1. 16
      package.json
  2. 31
      src/api/bxg/YxWechatMenu.js
  3. 17
      src/api/bxg/data.js
  4. 35
      src/api/bxg/login.js
  5. 34
      src/api/bxg/storeProductRule.js
  6. 43
      src/api/bxg/visits.js
  7. 27
      src/api/bxg/yxAppVersion.js
  8. 39
      src/api/bxg/yxArticle.js
  9. 25
      src/api/bxg/yxExpress.js
  10. 34
      src/api/bxg/yxShippingTemplates.js
  11. 48
      src/api/bxg/yxStoreAfterSales.js
  12. 24
      src/api/bxg/yxStoreBargain.js
  13. 24
      src/api/bxg/yxStoreBargainUser.js
  14. 34
      src/api/bxg/yxStoreCategory.js
  15. 39
      src/api/bxg/yxStoreCombination.js
  16. 24
      src/api/bxg/yxStoreCoupon.js
  17. 24
      src/api/bxg/yxStoreCouponIssue.js
  18. 24
      src/api/bxg/yxStoreCouponIssueUser.js
  19. 24
      src/api/bxg/yxStoreCouponUser.js
  20. 46
      src/api/bxg/yxStoreCustomer.js
  21. 93
      src/api/bxg/yxStoreOrder.js
  22. 24
      src/api/bxg/yxStoreOrderStatus.js
  23. 24
      src/api/bxg/yxStorePink.js
  24. 83
      src/api/bxg/yxStoreProduct.js
  25. 27
      src/api/bxg/yxStoreProductRelation.js
  26. 24
      src/api/bxg/yxStoreProductReply.js
  27. 31
      src/api/bxg/yxStoreSeckill.js
  28. 24
      src/api/bxg/yxStoreVisit.js
  29. 32
      src/api/bxg/yxSystemConfig.js
  30. 31
      src/api/bxg/yxSystemGroupData.js
  31. 49
      src/api/bxg/yxSystemStore.js
  32. 27
      src/api/bxg/yxSystemStoreStaff.js
  33. 24
      src/api/bxg/yxSystemUserLevel.js
  34. 24
      src/api/bxg/yxSystemUserTask.js
  35. 49
      src/api/bxg/yxUser.js
  36. 24
      src/api/bxg/yxUserBill.js
  37. 24
      src/api/bxg/yxUserExtract.js
  38. 27
      src/api/bxg/yxUserRecharge.js
  39. 41
      src/api/bxg/yxWechatLive.js
  40. 33
      src/api/bxg/yxWechatLiveGoods.js
  41. 32
      src/api/bxg/yxWechatReply.js
  42. 32
      src/api/bxg/yxWechatTemplate.js
  43. 24
      src/api/bxg/yxWechatUser.js
  44. 54
      src/api/canvasApi.js
  45. 16
      src/api/generator/genConfig.js
  46. 33
      src/api/generator/generator.js
  47. 22
      src/api/monitor/log.js
  48. 18
      src/api/monitor/online.js
  49. 27
      src/api/monitor/server.js
  50. 24
      src/api/monitor/visits.js
  51. 25
      src/api/system/user.js
  52. 25
      src/api/tools/alipay.js
  53. 24
      src/api/tools/email.js
  54. 27
      src/api/tools/localStorage.js
  55. 39
      src/api/tools/material.js
  56. 47
      src/api/tools/materialgroup.js
  57. 18
      src/api/tools/picture.js
  58. 40
      src/api/tools/qiniu.js
  59. BIN
      src/assets/canvasImg/cereshop/banner.png
  60. BIN
      src/assets/canvasImg/couponIcon.png
  61. BIN
      src/assets/canvasImg/erweima@2x.png
  62. BIN
      src/assets/canvasImg/gzh.png
  63. BIN
      src/assets/canvasImg/imgIcon.png
  64. 46
      src/assets/canvasImg/index.js
  65. BIN
      src/assets/canvasImg/logo.png
  66. BIN
      src/assets/canvasImg/panel/dainpu1@2x.png
  67. BIN
      src/assets/canvasImg/panel/dainpu@2x.png
  68. BIN
      src/assets/canvasImg/panel/didingy1@2x.png
  69. BIN
      src/assets/canvasImg/panel/didingy@2x.png
  70. BIN
      src/assets/canvasImg/panel/leibie1@2x.png
  71. BIN
      src/assets/canvasImg/panel/leibie@2x.png
  72. BIN
      src/assets/canvasImg/panel/pinpai1@2x.png
  73. BIN
      src/assets/canvasImg/panel/pinpai@2x.png
  74. BIN
      src/assets/canvasImg/panel/shangpinlieb1@2x.png
  75. BIN
      src/assets/canvasImg/panel/shangpinlieb@2x.png
  76. BIN
      src/assets/canvasImg/panel/ship1@2x.png
  77. BIN
      src/assets/canvasImg/panel/ship@2x.png
  78. BIN
      src/assets/canvasImg/panel/tup@2x.png
  79. BIN
      src/assets/canvasImg/panel/tuwen1@2x.png
  80. BIN
      src/assets/canvasImg/panel/tuwen@2x.png
  81. BIN
      src/assets/canvasImg/panel/twlieb1@2x.png
  82. BIN
      src/assets/canvasImg/panel/twlieb@2x.png
  83. BIN
      src/assets/canvasImg/panel/wenben1@2x.png
  84. BIN
      src/assets/canvasImg/panel/wenben@2x.png
  85. BIN
      src/assets/canvasImg/panel/youhuiq1@2x.png
  86. BIN
      src/assets/canvasImg/panel/youhuiq@2x.png
  87. BIN
      src/assets/canvasImg/shopIcon.png
  88. BIN
      src/assets/canvasImg/shopIcon2.png
  89. BIN
      src/assets/canvasImg/textIcon.png
  90. BIN
      src/assets/canvasImg/videoIcon.png
  91. BIN
      src/assets/canvasImg/xcxm.png
  92. 539
      src/assets/font_icon/demo.css
  93. 1205
      src/assets/font_icon/demo_index.html
  94. 197
      src/assets/font_icon/iconfont.css
  95. BIN
      src/assets/font_icon/iconfont.eot
  96. 1
      src/assets/font_icon/iconfont.js
  97. 324
      src/assets/font_icon/iconfont.json
  98. 161
      src/assets/font_icon/iconfont.svg
  99. BIN
      src/assets/font_icon/iconfont.ttf
  100. BIN
      src/assets/font_icon/iconfont.woff
  101. Some files were not shown because too many files have changed in this diff Show More

16
package.json

@ -44,6 +44,12 @@
"clipboard": "2.0.8",
"core-js": "^3.21.1",
"echarts": "4.9.0",
"echarts-gl": "^1.1.1",
"echarts-wordcloud": "^1.1.3",
"vue-quill-editor": "^3.0.6",
"vue-ueditor-wrap": "^2.4.1",
"wangeditor": ">=3.0.0",
"element-ui": "^2.15.6",
"file-saver": "2.0.5",
"fuse.js": "6.4.3",
@ -61,12 +67,13 @@
"vue-meta": "^2.4.0",
"vue-router": "3.4.9",
"vuedraggable": "2.24.3",
"vuex": "3.6.0",
"vuex": "3.1.0",
"bpmn-js-token-simulation": "^0.10.0",
"min-dash": "^3.5.2",
"xml-js": "^1.6.11",
"@babel/parser": "^7.7.4",
"throttle-debounce": "^2.1.0"
"throttle-debounce": "^2.1.0",
"codemirror": "^5.49.2"
},
"devDependencies": {
"@vue/cli-plugin-babel": "4.4.6",
@ -95,7 +102,10 @@
"terser-webpack-plugin": "^4.2.3",
"webpack-bundle-analyzer": "^3.9.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.20.0"
"eslint-plugin-import": "^2.20.0",
"sass-resources-loader": "^2.0.0",
"stylus": "^0.54.7",
"stylus-loader": "^3.0.2"
},
"engines": {
"node": ">=8.9",

31
src/api/bxg/YxWechatMenu.js

@ -0,0 +1,31 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/YxWechatMenu',
method: 'post',
data
})
}
export function del(key) {
return request({
url: '/bxg/api/YxWechatMenu/' + key,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/YxWechatMenu',
method: 'put',
data
})
}
export function get() {
return request({
url: '/bxg/api/YxWechatMenu',
method: 'get'
})
}

17
src/api/bxg/data.js

@ -0,0 +1,17 @@
import request from '@/utils/request'
import qs from 'qs'
export function initData(url, params) {
return request({
url: url + '?' + qs.stringify(params, { indices: false }),
method: 'get'
})
}
export function download(url, params) {
return request({
url: url + '?' + qs.stringify(params, { indices: false }),
method: 'get',
responseType: 'blob'
})
}

35
src/api/bxg/login.js

@ -0,0 +1,35 @@
import request from '@/utils/request'
export function login(username, password, code, uuid) {
return request({
url: '/bxg/auth/login',
method: 'post',
data: {
username,
password,
code,
uuid
}
})
}
export function getInfo() {
return request({
url: '/bxg/auth/info',
method: 'get'
})
}
export function getCodeImg() {
return request({
url: '/bxg/auth/code',
method: 'get'
})
}
export function logout() {
return request({
url: '/bxg/auth/logout',
method: 'delete'
})
}

34
src/api/bxg/storeProductRule.js

@ -0,0 +1,34 @@
import request from '@/utils/request'
export function add(data, id) {
return request({
url: `api/yxStoreProductRule/save/${id}`,
method: 'post',
data
})
}
export function del(ids) {
return request({
url: '/bxg/api/yxStoreProductRule/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreProductRule',
method: 'put',
data
})
}
export function info (id) {
return request({
url: `api/yxStoreProductRule/rule/${id}`,
method: 'get'
});
}
export default { add, edit, del, info }

43
src/api/bxg/visits.js

@ -0,0 +1,43 @@
import request from '@/utils/request'
export function count() {
return request({
url: '/bxg/api/visits',
method: 'post'
})
}
export function get() {
return request({
url: '/bxg/api/visits',
method: 'get'
})
}
export function getChartData() {
return request({
url: '/bxg/api/visits/chartData',
method: 'get'
})
}
export function gett() {
return request({
url: '/bxg/api/data/count',
method: 'get'
})
}
export function chart() {
return request({
url: '/bxg/api/data/chart',
method: 'get'
})
}
export function getOrderCount() {
return request({
url: '/bxg/api/yxStoreOrder/orderCount',
method: 'get'
})
}

27
src/api/bxg/yxAppVersion.js

@ -0,0 +1,27 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxAppVersion',
method: 'post',
data
})
}
export function del(ids) {
return request({
url: '/bxg/api/yxAppVersion/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxAppVersion',
method: 'put',
data
})
}
export default { add, edit, del }

39
src/api/bxg/yxArticle.js

@ -0,0 +1,39 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxArticle',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxArticle/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxArticle',
method: 'put',
data
})
}
export function publish(id) {
return request({
url: '/bxg/api/yxArticle/publish/' + id,
method: 'get'
})
}
export function get(id) {
return request({
url: '/bxg/api/yxArticle/info/' + id,
method: 'get'
})
}

25
src/api/bxg/yxExpress.js

@ -0,0 +1,25 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxExpress',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxExpress/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxExpress',
method: 'put',
data
})
}

34
src/api/bxg/yxShippingTemplates.js

@ -0,0 +1,34 @@
import request from '@/utils/request'
export function add(data,id) {
return request({
url: `api/yxShippingTemplates/save/${id}`,
method: 'post',
data
})
}
export function del(ids) {
return request({
url: '/bxg/api/yxShippingTemplates/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxShippingTemplates',
method: 'put',
data
})
}
export function getCity() {
return request({
url: '/bxg/api/yxShippingTemplates/citys',
method: 'get'
});
}
export default { add, edit, del,getCity }

48
src/api/bxg/yxStoreAfterSales.js

@ -0,0 +1,48 @@
import request from '@/utils/request'
export function getData(data) {
return request({
url: '/bxg/api/yxStoreAfterSales/sales/List',
method: 'get',
data
})
}
export function salesCheck(data) {
return request({
url: '/bxg/api/yxStoreAfterSales/salesCheck',
method: 'post',
data
})
}
export function rebackMoney(params) {
return request({
url: '/bxg/api/yxStoreAfterSales/makeMoney',
method: 'post',
params
})
}
export function add(data) {
return request({
url: '/bxg/api/yxStoreAfterSales',
method: 'post',
data
})
}
export function del(ids) {
return request({
url: '/bxg/api/yxStoreAfterSales/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreAfterSales',
method: 'put',
data
})
}

24
src/api/bxg/yxStoreBargain.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStoreBargain',
method: 'put',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxStoreBargain/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreBargain',
method: 'put',
data
})
}

24
src/api/bxg/yxStoreBargainUser.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStoreBargainUser',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxStoreBargainUser/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreBargainUser',
method: 'put',
data
})
}

34
src/api/bxg/yxStoreCategory.js

@ -0,0 +1,34 @@
import request from '@/utils/request'
export function getCates(params) {
return request({
url: '/bxg/api/yxStoreCategory',
method: 'get',
params
})
}
export function add(data) {
return request({
url: '/bxg/api/yxStoreCategory',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxStoreCategory/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreCategory',
method: 'put',
data
})
}
export default { add, edit, del, getCates }

39
src/api/bxg/yxStoreCombination.js

@ -0,0 +1,39 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStoreCombination',
method: 'post',
data
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreCombination',
method: 'put',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxStoreCombination/' + id,
method: 'delete'
})
}
export function getCombinationInfo(id) {
return request({
url: '/bxg/api/yxStoreCombination/info/' + id,
method: 'get'
})
}
export function onsale(id, data) {
return request({
url: '/bxg/api/yxStoreCombination/onsale/' + id,
method: 'post',
data
})
}

24
src/api/bxg/yxStoreCoupon.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStoreCoupon',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxStoreCoupon/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreCoupon',
method: 'put',
data
})
}

24
src/api/bxg/yxStoreCouponIssue.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStoreCouponIssue',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxStoreCouponIssue/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreCouponIssue',
method: 'put',
data
})
}

24
src/api/bxg/yxStoreCouponIssueUser.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStoreCouponIssueUser',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxStoreCouponIssueUser/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreCouponIssueUser',
method: 'put',
data
})
}

24
src/api/bxg/yxStoreCouponUser.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStoreCouponUser',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxStoreCouponUser/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreCouponUser',
method: 'put',
data
})
}

46
src/api/bxg/yxStoreCustomer.js

@ -0,0 +1,46 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStoreCustomer',
method: 'post',
data
})
}
export function del(ids) {
return request({
url: '/bxg/api/yxStoreCustomer/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreCustomer',
method: 'put',
data
})
}
export function getqrcode() {
return request({
url: '/bxg/api/wxmp/qrcode',
method: 'get'
})
}
export function getOpenId(key) {
return request({
url: '/bxg/api/wxmp/getOpenId?key=' + key,
method: 'get'
})
}
export function getwechatCode() {
return request({
url: '/bxg/api/wxmp/wechatCode',
method: 'get'
})
}
export default { add, edit, del, getqrcode, getOpenId, getwechatCode }

93
src/api/bxg/yxStoreOrder.js

@ -0,0 +1,93 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStoreOrder',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxStoreOrder/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreOrder',
method: 'put',
data
})
}
export function updateDelivery(data) {
return request({
url: '/bxg/api/yxStoreOrder/updateDelivery',
method: 'put',
data
})
}
export function editT(data) {
return request({
url: '/bxg/api/yxStoreOrder/check',
method: 'put',
data
})
}
export function refund(data) {
return request({
url: '/bxg/api/yxStoreOrder/refund',
method: 'post',
data
})
}
export function editOrder(data) {
return request({
url: '/bxg/api/yxStoreOrder/edit',
method: 'post',
data
})
}
export function remark(data) {
return request({
url: '/bxg/api/yxStoreOrder/remark',
method: 'post',
data
})
}
export function get() {
return request({
url: '/bxg/api/yxExpress',
method: 'get'
})
}
export function express(data) {
return request({
url: '/bxg/api/yxStoreOrder/express',
method: 'post',
data
})
}
export function getOrderDetail(id) {
return request({
url: '/bxg/api/getStoreOrderDetail/' + id,
method: 'get'
})
}
export function getNowOrderStatus(id) {
return request({
url: '/bxg/api/getNowOrderStatus/' + id,
method: 'get'
})
}

24
src/api/bxg/yxStoreOrderStatus.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStoreOrderStatus',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxStoreOrderStatus/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreOrderStatus',
method: 'put',
data
})
}

24
src/api/bxg/yxStorePink.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStorePink',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxStorePink/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStorePink',
method: 'put',
data
})
}

83
src/api/bxg/yxStoreProduct.js

@ -0,0 +1,83 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStoreProduct/addOrSave',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxStoreProduct/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreProduct',
method: 'put',
data
})
}
export function onsale(id, data) {
return request({
url: '/bxg/api/yxStoreProduct/onsale/' + id,
method: 'post',
data
})
}
export function recovery(id) {
return request({
url: '/bxg/api/yxStoreProduct/recovery/' + id,
method: 'delete'
})
}
export function isFormatAttr(id, data) {
return request({
url: '/bxg/api/yxStoreProduct/isFormatAttr/' + id,
method: 'post',
data
})
}
export function isFormatAttrForActivity(id, data) {
return request({
url: '/bxg/api/yxStoreProduct/isFormatAttrForActivity/' + id,
method: 'post',
data
})
}
export function setAttr(id, data) {
return request({
url: '/bxg/api/yxStoreProduct/setAttr/' + id,
method: 'post',
data
})
}
export function clearAttr(id) {
return request({
url: '/bxg/api/yxStoreProduct/clearAttr/' + id,
method: 'post'
})
}
export function getAttr(id) {
return request({
url: '/bxg/api/yxStoreProduct/attr/' + id,
method: 'get'
})
}
export function getInfo(id) {
return request({
url: '/bxg/api/yxStoreProduct/info/' + id,
method: 'get'
})
}

27
src/api/bxg/yxStoreProductRelation.js

@ -0,0 +1,27 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStoreProductRelation',
method: 'post',
data
})
}
export function del(ids) {
return request({
url: '/bxg/api/yxStoreProductRelation/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreProductRelation',
method: 'put',
data
})
}
export default { add, edit, del }

24
src/api/bxg/yxStoreProductReply.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStoreProductReply',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxStoreProductReply/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreProductReply',
method: 'put',
data
})
}

31
src/api/bxg/yxStoreSeckill.js

@ -0,0 +1,31 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStoreSeckill',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxStoreSeckill/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreSeckill',
method: 'put',
data
})
}
export function getSecKillInfo(id) {
return request({
url: '/bxg/api/yxStoreSecKill/info/' + id,
method: 'get'
})
}

24
src/api/bxg/yxStoreVisit.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxStoreVisit',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxStoreVisit/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxStoreVisit',
method: 'put',
data
})
}

32
src/api/bxg/yxSystemConfig.js

@ -0,0 +1,32 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxSystemConfig',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxSystemConfig/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxSystemConfig',
method: 'put',
data
})
}
export function get() {
return request({
url: '/bxg/api/yxSystemConfig?size=500',
method: 'get'
})
}

31
src/api/bxg/yxSystemGroupData.js

@ -0,0 +1,31 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxSystemGroupData',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxSystemGroupData/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxSystemGroupData',
method: 'put',
data
})
}
export function get() {
return request({
url: '/bxg/api/yxSystemGroupData',
method: 'get'
})
}

49
src/api/bxg/yxSystemStore.js

@ -0,0 +1,49 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxSystemStore',
method: 'post',
data
})
}
export function get() {
return request({
url: '/bxg/api/yxSystemStore',
method: 'get'
})
}
export function getAll() {
return request({
url: '/bxg/api/yxSystemStore/all',
method: 'get'
})
}
export function getL(data) {
return request({
url: '/bxg/api/yxSystemStore/getL',
method: 'post',
data
})
}
export function del(ids) {
return request({
url: '/bxg/api/yxSystemStore/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxSystemStore',
method: 'put',
data
})
}
export default { getL, add, edit, del, get, getAll }

27
src/api/bxg/yxSystemStoreStaff.js

@ -0,0 +1,27 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxSystemStoreStaff',
method: 'post',
data
})
}
export function del(ids) {
return request({
url: '/bxg/api/yxSystemStoreStaff/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxSystemStoreStaff',
method: 'put',
data
})
}
export default { add, edit, del }

24
src/api/bxg/yxSystemUserLevel.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxSystemUserLevel',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxSystemUserLevel/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxSystemUserLevel',
method: 'put',
data
})
}

24
src/api/bxg/yxSystemUserTask.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxSystemUserTask',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxSystemUserTask/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxSystemUserTask',
method: 'put',
data
})
}

49
src/api/bxg/yxUser.js

@ -0,0 +1,49 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxUser',
method: 'post',
data
})
}
export function del(uid) {
return request({
url: '/bxg/api/yxUser/' + uid,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxUser',
method: 'put',
data
})
}
export function onStatus(id, data) {
return request({
url: '/bxg/api/yxUser/onStatus/' + id,
method: 'post',
data
})
}
export function editp(data) {
return request({
url: '/bxg/api/yxUser/money',
method: 'post',
data
})
}
export function getSpread(data) {
return request({
url: '/bxg/api/yxUser/spread',
method: 'post',
data
})
}

24
src/api/bxg/yxUserBill.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxUserBill',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxUserBill/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxUserBill',
method: 'put',
data
})
}

24
src/api/bxg/yxUserExtract.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxUserExtract',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxUserExtract/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxUserExtract',
method: 'put',
data
})
}

27
src/api/bxg/yxUserRecharge.js

@ -0,0 +1,27 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxUserRecharge',
method: 'post',
data
})
}
export function del(ids) {
return request({
url: '/bxg/api/yxUserRecharge/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxUserRecharge',
method: 'put',
data
})
}
export default { add, edit, del }

41
src/api/bxg/yxWechatLive.js

@ -0,0 +1,41 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxWechatLive',
method: 'post',
data
})
}
export function del(ids) {
return request({
url: '/bxg/api/yxWechatLive/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxWechatLive',
method: 'put',
data
})
}
export function sync() {
return request({
url: '/bxg/api/yxWechatLive/synchro',
method: 'get'
})
}
export function addGoods(data) {
return request({
url: '/bxg/api/yxWechatLive/addGoods',
method: 'post',
data
})
}
export default { add, edit, del, sync, addGoods }

33
src/api/bxg/yxWechatLiveGoods.js

@ -0,0 +1,33 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxWechatLiveGoods',
method: 'post',
data
})
}
export function del(ids) {
return request({
url: '/bxg/api/yxWechatLiveGoods/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxWechatLiveGoods',
method: 'put',
data
})
}
export function sync(ids) {
return request({
url: '/bxg/api/yxWechatLiveGoods/synchro',
method: 'post',
data: ids
})
}
export default { add, edit, del, sync }

32
src/api/bxg/yxWechatReply.js

@ -0,0 +1,32 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxWechatReply',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxWechatReply/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxWechatReply',
method: 'put',
data
})
}
export function get() {
return request({
url: '/bxg/api/yxWechatReply',
method: 'get'
})
}

32
src/api/bxg/yxWechatTemplate.js

@ -0,0 +1,32 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxWechatTemplate',
method: 'post',
data
})
}
export function del(id) {
return request({
url: '/bxg/api/yxWechatTemplate/' + id,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxWechatTemplate',
method: 'put',
data
})
}
export function get() {
return request({
url: '/bxg/api/yxWechatTemplate',
method: 'get'
})
}

24
src/api/bxg/yxWechatUser.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: '/bxg/api/yxWechatUser',
method: 'post',
data
})
}
export function del(uid) {
return request({
url: '/bxg/api/yxWechatUser/' + uid,
method: 'delete'
})
}
export function edit(data) {
return request({
url: '/bxg/api/yxWechatUser',
method: 'put',
data
})
}

54
src/api/canvasApi.js

@ -0,0 +1,54 @@
import request from '@/utils/request'
// 读取画布
export function getCanvasData(params) {
// console.log(qs.stringify(params, { indices: false }))
return request({
url: '/bxg/api/canvas/getCanvas',
method: 'get',
params
})
}
// 保存画布
export function saveCanvasData(data) {
return request({
url: '/bxg/api/canvas/saveCanvas',
method: 'post',
data
})
}
// 文件上传
export function uploadCanvas() {
return request({
url: '/bxg/api/canvas/upload',
method: ''
})
}
// 查询分类层级
export function getClassify() {
return request({
url: '/bxg/api/canvas/getClassify',
method: 'get'
})
}
// 选择商品查询
export function getProducts(params) {
return request({
url: '/bxg/api/canvas/getProducts',
methods: 'get',
params
})
}
// 选择店铺查询
export function getShops(params) {
return request({
url: '/bxg/api/canvas/getShops',
method: 'get',
params
})
}

16
src/api/generator/genConfig.js

@ -0,0 +1,16 @@
import request from '@/utils/request'
export function get(tableName) {
return request({
url: 'api/genConfig/' + tableName,
method: 'get'
})
}
export function update(data) {
return request({
url: 'api/genConfig',
data,
method: 'put'
})
}

33
src/api/generator/generator.js

@ -0,0 +1,33 @@
import request from '@/utils/request'
export function getAllTable() {
return request({
url: 'api/generator/tables/all',
method: 'get'
})
}
export function generator(tableName, type) {
return request({
url: 'api/generator/' + tableName + '/' + type,
method: 'post',
responseType: type === 2 ? 'blob' : ''
})
}
export function save(data) {
return request({
url: 'api/generator',
data,
method: 'put'
})
}
export function sync(tables) {
return request({
url: 'api/generator/sync',
method: 'post',
data: tables
})
}

22
src/api/monitor/log.js

@ -0,0 +1,22 @@
import request from '@/utils/request'
export function getErrDetail(id) {
return request({
url: 'api/logs/error/' + id,
method: 'get'
})
}
export function delAllError() {
return request({
url: 'api/logs/del/error',
method: 'delete'
})
}
export function delAllInfo() {
return request({
url: 'api/logs/del/info',
method: 'delete'
})
}

18
src/api/monitor/online.js

@ -0,0 +1,18 @@
import request from '@/utils/request'
export function del(keys) {
return request({
url: 'auth/online',
method: 'delete',
data: keys
})
}
export function delT(keys) {
return request({
url: 'auth/online/delete',
method: 'post',
data: keys
})
}

27
src/api/monitor/server.js

@ -0,0 +1,27 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: 'api/server',
method: 'post',
data
})
}
export function del(ids) {
return request({
url: 'api/server',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: 'api/server',
method: 'put',
data
})
}
export default { add, edit, del }

24
src/api/monitor/visits.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function count() {
return request({
url: 'api/visits',
method: 'post'
})
}
export function get() {
return request({
url: 'api/visits',
method: 'get'
})
}
export function getChartData() {
return request({
url: 'api/visits/chartData',
method: 'get'
})
}

25
src/api/system/user.js

@ -135,3 +135,28 @@ export function importTemplate() {
responseType: 'blob'
})
}
export function updatePass(user) {
const data = {
oldPass: encrypt(user.oldPass),
newPass: encrypt(user.newPass)
}
return request({
url: 'api/users/updatePass/',
method: 'post',
data
})
}
export function updateEmail(form) {
const data = {
password: encrypt(form.pass),
email: form.email
}
return request({
url: 'api/users/updateEmail/' + form.code,
method: 'post',
data
})
}

25
src/api/tools/alipay.js

@ -0,0 +1,25 @@
import request from '@/utils/request'
export function get() {
return request({
url: 'api/aliPay',
method: 'get'
})
}
export function update(data) {
return request({
url: 'api/aliPay',
data,
method: 'put'
})
}
// 支付
export function toAliPay(url, data) {
return request({
url: 'api/' + url,
data,
method: 'post'
})
}

24
src/api/tools/email.js

@ -0,0 +1,24 @@
import request from '@/utils/request'
export function get() {
return request({
url: 'api/email',
method: 'get'
})
}
export function update(data) {
return request({
url: 'api/email',
data,
method: 'put'
})
}
export function send(data) {
return request({
url: 'api/email',
data,
method: 'post'
})
}

27
src/api/tools/localStorage.js

@ -0,0 +1,27 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: 'api/localStorage',
method: 'post',
data
})
}
export function del(ids) {
return request({
url: 'api/localStorage/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: 'api/localStorage',
method: 'put',
data
})
}
export default { add, edit, del }

39
src/api/tools/material.js

@ -0,0 +1,39 @@
import request from '@/utils/request'
export function getPage(query) {
return request({
url: 'api/material/page',
method: 'get',
params: query
})
}
export function addObj(obj) {
return request({
url: 'api/material',
method: 'post',
data: obj
})
}
export function getObj(id) {
return request({
url: 'api/material/' + id,
method: 'get'
})
}
export function delObj(id) {
return request({
url: 'api/material/' + id,
method: 'delete'
})
}
export function putObj(obj) {
return request({
url: 'api/material',
method: 'put',
data: obj
})
}

47
src/api/tools/materialgroup.js

@ -0,0 +1,47 @@
import request from '@/utils/request'
export function getPage(query) {
return request({
url: 'api/materialgroup/page',
method: 'get',
params: query
})
}
export function getList(query) {
return request({
url: 'api/materialgroup/list',
method: 'get',
params: query
})
}
export function addObj(obj) {
return request({
url: 'api/materialgroup',
method: 'post',
data: obj
})
}
export function getObj(id) {
return request({
url: 'api/materialgroup/' + id,
method: 'get'
})
}
export function delObj(id) {
return request({
url: 'api/materialgroup/' + id,
method: 'delete'
})
}
export function putObj(obj) {
return request({
url: 'api/materialgroup',
method: 'put',
data: obj
})
}

18
src/api/tools/picture.js

@ -0,0 +1,18 @@
import request from '@/utils/request'
export function del(ids) {
return request({
url: 'api/pictures',
method: 'delete',
data: ids
})
}
export function sync() {
return request({
url: 'api/pictures/synchronize',
method: 'post'
})
}
export default { del, sync }

40
src/api/tools/qiniu.js

@ -0,0 +1,40 @@
import request from '@/utils/request'
export function get() {
return request({
url: 'api/qiNiuContent/config',
method: 'get'
})
}
export function update(data) {
return request({
url: 'api/qiNiuContent/config',
data,
method: 'put'
})
}
export function download(id) {
return request({
url: 'api/qiNiuContent/download/' + id,
method: 'get'
})
}
export function sync() {
return request({
url: 'api/qiNiuContent/synchronize',
method: 'post'
})
}
export function del(ids) {
return request({
url: 'api/qiNiuContent',
method: 'delete',
data: ids
})
}
export default { del, download, sync }

BIN
src/assets/canvasImg/cereshop/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

BIN
src/assets/canvasImg/couponIcon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
src/assets/canvasImg/erweima@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

BIN
src/assets/canvasImg/gzh.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
src/assets/canvasImg/imgIcon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

46
src/assets/canvasImg/index.js

@ -0,0 +1,46 @@
// 左侧工具栏图标
import shopIcon from './panel/dainpu@2x.png'
import textIcon from './panel/wenben@2x.png'
import brandIcon from './panel/pinpai@2x.png'
import textImgIcon from './panel/tuwen@2x.png'
import twListIcon from './panel/twlieb@2x.png'
import customIcon from './panel/didingy@2x.png'
import videoIcon from './panel/ship@2x.png'
import goodsList from './panel/shangpinlieb@2x.png'
import categoryIcon from './panel/leibie@2x.png'
import coupon from './panel/youhuiq@2x.png'
// 左侧工具选中状态
import shopIconH from './panel/dainpu1@2x.png'
import textIconH from './panel/wenben1@2x.png'
import brandIconH from './panel/pinpai1@2x.png'
import textImgIconH from './panel/tuwen1@2x.png'
import twListIconH from './panel/twlieb1@2x.png'
import customIconH from './panel/didingy1@2x.png'
import videoIconH from './panel/ship1@2x.png'
import goodsListH from './panel/shangpinlieb1@2x.png'
import categoryIconH from './panel/leibie1@2x.png'
import couponH from './panel/youhuiq1@2x.png'
export default{
shopIcon,
textIcon,
brandIcon,
textImgIcon,
twListIcon,
customIcon,
videoIcon,
goodsList,
categoryIcon,
coupon,
shopIconH,
textIconH,
brandIconH,
textImgIconH,
twListIconH,
customIconH,
videoIconH,
goodsListH,
categoryIconH,
couponH
}

BIN
src/assets/canvasImg/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
src/assets/canvasImg/panel/dainpu1@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B

BIN
src/assets/canvasImg/panel/dainpu@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 B

BIN
src/assets/canvasImg/panel/didingy1@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 B

BIN
src/assets/canvasImg/panel/didingy@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

BIN
src/assets/canvasImg/panel/leibie1@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

BIN
src/assets/canvasImg/panel/leibie@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

BIN
src/assets/canvasImg/panel/pinpai1@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 721 B

BIN
src/assets/canvasImg/panel/pinpai@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 895 B

BIN
src/assets/canvasImg/panel/shangpinlieb1@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 B

BIN
src/assets/canvasImg/panel/shangpinlieb@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

BIN
src/assets/canvasImg/panel/ship1@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 B

BIN
src/assets/canvasImg/panel/ship@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 B

BIN
src/assets/canvasImg/panel/tup@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 758 B

BIN
src/assets/canvasImg/panel/tuwen1@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

BIN
src/assets/canvasImg/panel/tuwen@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 666 B

BIN
src/assets/canvasImg/panel/twlieb1@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 B

BIN
src/assets/canvasImg/panel/twlieb@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 696 B

BIN
src/assets/canvasImg/panel/wenben1@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

BIN
src/assets/canvasImg/panel/wenben@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

BIN
src/assets/canvasImg/panel/youhuiq1@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 656 B

BIN
src/assets/canvasImg/panel/youhuiq@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
src/assets/canvasImg/shopIcon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 693 B

BIN
src/assets/canvasImg/shopIcon2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
src/assets/canvasImg/textIcon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

BIN
src/assets/canvasImg/videoIcon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
src/assets/canvasImg/xcxm.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

539
src/assets/font_icon/demo.css

@ -0,0 +1,539 @@
/* Logo 字体 */
@font-face {
font-family: "iconfont logo";
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
}
.logo {
font-family: "iconfont logo";
font-size: 160px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* tabs */
.nav-tabs {
position: relative;
}
.nav-tabs .nav-more {
position: absolute;
right: 0;
bottom: 0;
height: 42px;
line-height: 42px;
color: #666;
}
#tabs {
border-bottom: 1px solid #eee;
}
#tabs li {
cursor: pointer;
width: 100px;
height: 40px;
line-height: 40px;
text-align: center;
font-size: 16px;
border-bottom: 2px solid transparent;
position: relative;
z-index: 1;
margin-bottom: -1px;
color: #666;
}
#tabs .active {
border-bottom-color: #f00;
color: #222;
}
.tab-container .content {
display: none;
}
/* 页面布局 */
.main {
padding: 30px 100px;
width: 960px;
margin: 0 auto;
}
.main .logo {
color: #333;
text-align: left;
margin-bottom: 30px;
line-height: 1;
height: 110px;
margin-top: -50px;
overflow: hidden;
*zoom: 1;
}
.main .logo a {
font-size: 160px;
color: #333;
}
.helps {
margin-top: 40px;
}
.helps pre {
padding: 20px;
margin: 10px 0;
border: solid 1px #e7e1cd;
background-color: #fffdef;
overflow: auto;
}
.icon_lists {
width: 100% !important;
overflow: hidden;
*zoom: 1;
}
.icon_lists li {
width: 100px;
margin-bottom: 10px;
margin-right: 20px;
text-align: center;
list-style: none !important;
cursor: default;
}
.icon_lists li .code-name {
line-height: 1.2;
}
.icon_lists .icon {
display: block;
height: 100px;
line-height: 100px;
font-size: 42px;
margin: 10px auto;
color: #333;
-webkit-transition: font-size 0.25s linear, width 0.25s linear;
-moz-transition: font-size 0.25s linear, width 0.25s linear;
transition: font-size 0.25s linear, width 0.25s linear;
}
.icon_lists .icon:hover {
font-size: 100px;
}
.icon_lists .svg-icon {
/* 通过设置 font-size 来改变图标大小 */
width: 1em;
/* 图标和文字相邻时,垂直对齐 */
vertical-align: -0.15em;
/* 通过设置 color 来改变 SVG 的颜色/fill */
fill: currentColor;
/* path stroke 溢出 viewBox 部分在 IE 下会显示
normalize.css 中也包含这行 */
overflow: hidden;
}
.icon_lists li .name,
.icon_lists li .code-name {
color: #666;
}
/* markdown 样式 */
.markdown {
color: #666;
font-size: 14px;
line-height: 1.8;
}
.highlight {
line-height: 1.5;
}
.markdown img {
vertical-align: middle;
max-width: 100%;
}
.markdown h1 {
color: #404040;
font-weight: 500;
line-height: 40px;
margin-bottom: 24px;
}
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
color: #404040;
margin: 1.6em 0 0.6em 0;
font-weight: 500;
clear: both;
}
.markdown h1 {
font-size: 28px;
}
.markdown h2 {
font-size: 22px;
}
.markdown h3 {
font-size: 16px;
}
.markdown h4 {
font-size: 14px;
}
.markdown h5 {
font-size: 12px;
}
.markdown h6 {
font-size: 12px;
}
.markdown hr {
height: 1px;
border: 0;
background: #e9e9e9;
margin: 16px 0;
clear: both;
}
.markdown p {
margin: 1em 0;
}
.markdown>p,
.markdown>blockquote,
.markdown>.highlight,
.markdown>ol,
.markdown>ul {
width: 80%;
}
.markdown ul>li {
list-style: circle;
}
.markdown>ul li,
.markdown blockquote ul>li {
margin-left: 20px;
padding-left: 4px;
}
.markdown>ul li p,
.markdown>ol li p {
margin: 0.6em 0;
}
.markdown ol>li {
list-style: decimal;
}
.markdown>ol li,
.markdown blockquote ol>li {
margin-left: 20px;
padding-left: 4px;
}
.markdown code {
margin: 0 3px;
padding: 0 5px;
background: #eee;
border-radius: 3px;
}
.markdown strong,
.markdown b {
font-weight: 600;
}
.markdown>table {
border-collapse: collapse;
border-spacing: 0px;
empty-cells: show;
border: 1px solid #e9e9e9;
width: 95%;
margin-bottom: 24px;
}
.markdown>table th {
white-space: nowrap;
color: #333;
font-weight: 600;
}
.markdown>table th,
.markdown>table td {
border: 1px solid #e9e9e9;
padding: 8px 16px;
text-align: left;
}
.markdown>table th {
background: #F7F7F7;
}
.markdown blockquote {
font-size: 90%;
color: #999;
border-left: 4px solid #e9e9e9;
padding-left: 0.8em;
margin: 1em 0;
}
.markdown blockquote p {
margin: 0;
}
.markdown .anchor {
opacity: 0;
transition: opacity 0.3s ease;
margin-left: 8px;
}
.markdown .waiting {
color: #ccc;
}
.markdown h1:hover .anchor,
.markdown h2:hover .anchor,
.markdown h3:hover .anchor,
.markdown h4:hover .anchor,
.markdown h5:hover .anchor,
.markdown h6:hover .anchor {
opacity: 1;
display: inline-block;
}
.markdown>br,
.markdown>p>br {
clear: both;
}
.hljs {
display: block;
background: white;
padding: 0.5em;
color: #333333;
overflow-x: auto;
}
.hljs-comment,
.hljs-meta {
color: #969896;
}
.hljs-string,
.hljs-variable,
.hljs-template-variable,
.hljs-strong,
.hljs-emphasis,
.hljs-quote {
color: #df5000;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-type {
color: #a71d5d;
}
.hljs-literal,
.hljs-symbol,
.hljs-bullet,
.hljs-attribute {
color: #0086b3;
}
.hljs-section,
.hljs-name {
color: #63a35c;
}
.hljs-tag {
color: #333333;
}
.hljs-title,
.hljs-attr,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #795da3;
}
.hljs-addition {
color: #55a532;
background-color: #eaffea;
}
.hljs-deletion {
color: #bd2c00;
background-color: #ffecec;
}
.hljs-link {
text-decoration: underline;
}
/* 代码高亮 */
/* PrismJS 1.15.0
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
code[class*="language-"],
pre[class*="language-"] {
color: black;
background: none;
text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
pre[class*="language-"]::-moz-selection,
pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection,
code[class*="language-"] ::-moz-selection {
text-shadow: none;
background: #b3d4fc;
}
pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
text-shadow: none;
background: #b3d4fc;
}
@media print {
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
}
:not(pre)>code[class*="language-"],
pre[class*="language-"] {
background: #f5f2f0;
}
/* Inline code */
:not(pre)>code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: slategray;
}
.token.punctuation {
color: #999;
}
.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
color: #905;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #690;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #9a6e3a;
background: hsla(0, 0%, 100%, .5);
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #07a;
}
.token.function,
.token.class-name {
color: #DD4A68;
}
.token.regex,
.token.important,
.token.variable {
color: #e90;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}

1205
src/assets/font_icon/demo_index.html

File diff suppressed because it is too large Load Diff

197
src/assets/font_icon/iconfont.css

File diff suppressed because one or more lines are too long

BIN
src/assets/font_icon/iconfont.eot

Binary file not shown.

1
src/assets/font_icon/iconfont.js

File diff suppressed because one or more lines are too long

324
src/assets/font_icon/iconfont.json

@ -0,0 +1,324 @@
{
"id": "2224733",
"name": "cereshop",
"font_family": "iconfont",
"css_prefix_text": "icon-",
"description": "",
"glyphs": [
{
"icon_id": "16963297",
"name": "close",
"font_class": "close",
"unicode": "e602",
"unicode_decimal": 58882
},
{
"icon_id": "1630982",
"name": "替换图片",
"font_class": "tihuantupian",
"unicode": "e66c",
"unicode_decimal": 58988
},
{
"icon_id": "1472518",
"name": "选择",
"font_class": "xuanze",
"unicode": "e62d",
"unicode_decimal": 58925
},
{
"icon_id": "2570139",
"name": "选择",
"font_class": "xuanze-danxuan",
"unicode": "e661",
"unicode_decimal": 58977
},
{
"icon_id": "16391281",
"name": "选择",
"font_class": "xuanze1",
"unicode": "e618",
"unicode_decimal": 58904
},
{
"icon_id": "15076931",
"name": "警告",
"font_class": "jinggao",
"unicode": "e608",
"unicode_decimal": 58888
},
{
"icon_id": "14404139",
"name": "删 除",
"font_class": "shanchu1",
"unicode": "e651",
"unicode_decimal": 58961
},
{
"icon_id": "8649511",
"name": "查看",
"font_class": "chakan",
"unicode": "e622",
"unicode_decimal": 58914
},
{
"icon_id": "584016",
"name": "问号",
"font_class": "iconfontquestion",
"unicode": "e60a",
"unicode_decimal": 58890
},
{
"icon_id": "1068808",
"name": "优惠券",
"font_class": "weibiaoti2fuzhi02",
"unicode": "e61f",
"unicode_decimal": 58911
},
{
"icon_id": "1069397",
"name": "优惠券",
"font_class": "youhuiquan",
"unicode": "e645",
"unicode_decimal": 58949
},
{
"icon_id": "5727587",
"name": "优惠券",
"font_class": "youhuiquan1",
"unicode": "e66d",
"unicode_decimal": 58989
},
{
"icon_id": "7550240",
"name": "优惠券",
"font_class": "youhuiquan2",
"unicode": "e692",
"unicode_decimal": 59026
},
{
"icon_id": "8361845",
"name": "优惠券",
"font_class": "youhuiquan3",
"unicode": "e6cf",
"unicode_decimal": 59087
},
{
"icon_id": "11125631",
"name": "优惠券",
"font_class": "9",
"unicode": "e624",
"unicode_decimal": 58916
},
{
"icon_id": "12476913",
"name": "优惠券",
"font_class": "youhuiquan4",
"unicode": "e60b",
"unicode_decimal": 58891
},
{
"icon_id": "12504404",
"name": "优惠券",
"font_class": "youhuiquan5",
"unicode": "e625",
"unicode_decimal": 58917
},
{
"icon_id": "14384498",
"name": "方块",
"font_class": "fangkuai",
"unicode": "e73f",
"unicode_decimal": 59199
},
{
"icon_id": "5045075",
"name": "手机",
"font_class": "phone",
"unicode": "e604",
"unicode_decimal": 58884
},
{
"icon_id": "12353088",
"name": "电脑 (1)备份",
"font_class": "pc",
"unicode": "e601",
"unicode_decimal": 58881
},
{
"icon_id": "12534140",
"name": "h5",
"font_class": "h5",
"unicode": "e713",
"unicode_decimal": 59155
},
{
"icon_id": "17711613",
"name": "小程序",
"font_class": "xiaochengxu",
"unicode": "e81e",
"unicode_decimal": 59422
},
{
"icon_id": "690725",
"name": "删除",
"font_class": "shanchu",
"unicode": "e633",
"unicode_decimal": 58931
},
{
"icon_id": "1172721",
"name": "图片",
"font_class": "tupian",
"unicode": "e64a",
"unicode_decimal": 58954
},
{
"icon_id": "6049692",
"name": "图片",
"font_class": "tupian1",
"unicode": "e61e",
"unicode_decimal": 58910
},
{
"icon_id": "15994506",
"name": "拖动位置",
"font_class": "tuodongweizhi",
"unicode": "e703",
"unicode_decimal": 59139
},
{
"icon_id": "12609224",
"name": "add",
"font_class": "add2",
"unicode": "e603",
"unicode_decimal": 58883
},
{
"icon_id": "2404491",
"name": "文本",
"font_class": "wenben",
"unicode": "e649",
"unicode_decimal": 58953
},
{
"icon_id": "9567573",
"name": "A",
"font_class": "A",
"unicode": "e600",
"unicode_decimal": 58880
},
{
"icon_id": "10885439",
"name": "文本",
"font_class": "wenben1",
"unicode": "e8c2",
"unicode_decimal": 59586
},
{
"icon_id": "6337463",
"name": "右对齐",
"font_class": "youduiqi",
"unicode": "ec82",
"unicode_decimal": 60546
},
{
"icon_id": "6337473",
"name": "左对齐",
"font_class": "zuoduiqi",
"unicode": "ec86",
"unicode_decimal": 60550
},
{
"icon_id": "11976280",
"name": "居中",
"font_class": "juzhong",
"unicode": "e619",
"unicode_decimal": 58905
},
{
"icon_id": "15838424",
"name": "add",
"font_class": "add1",
"unicode": "e664",
"unicode_decimal": 58980
},
{
"icon_id": "695192",
"name": "搜索",
"font_class": "sousuo",
"unicode": "e63f",
"unicode_decimal": 58943
},
{
"icon_id": "608218",
"name": "导航",
"font_class": "arrow-up",
"unicode": "e660",
"unicode_decimal": 58976
},
{
"icon_id": "608288",
"name": "加上",
"font_class": "add",
"unicode": "e685",
"unicode_decimal": 59013
},
{
"icon_id": "608290",
"name": "检查",
"font_class": "success",
"unicode": "e687",
"unicode_decimal": 59015
},
{
"icon_id": "608293",
"name": "减去",
"font_class": "subtract",
"unicode": "e68a",
"unicode_decimal": 59018
},
{
"icon_id": "608317",
"name": "箭头",
"font_class": "arrow-down",
"unicode": "e695",
"unicode_decimal": 59029
},
{
"icon_id": "608352",
"name": "箭头",
"font_class": "arrow-right",
"unicode": "e6ab",
"unicode_decimal": 59051
},
{
"icon_id": "609192",
"name": "箭头",
"font_class": "arrow-left",
"unicode": "e6bc",
"unicode_decimal": 59068
},
{
"icon_id": "609891",
"name": "列表",
"font_class": "phone-menu",
"unicode": "e771",
"unicode_decimal": 59249
},
{
"icon_id": "380396",
"name": "user",
"font_class": "user",
"unicode": "e67d",
"unicode_decimal": 59005
},
{
"icon_id": "10554762",
"name": "Shopping cart, finance, business",
"font_class": "shoppingCart",
"unicode": "e623",
"unicode_decimal": 58915
}
]
}

161
src/assets/font_icon/iconfont.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 45 KiB

BIN
src/assets/font_icon/iconfont.ttf

Binary file not shown.

BIN
src/assets/font_icon/iconfont.woff

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save