diff --git a/.env.development b/.env.development index cc66d69..52b5791 100644 --- a/.env.development +++ b/.env.development @@ -1,7 +1,7 @@ ENV = 'development' # 接口地址 -VUE_APP_BASE_API = 'http://192.168.0.111:8094' +VUE_APP_BASE_API = 'http://192.168.1.34:8094' VUE_APP_WS_API = 'ws://localhost:8088' # 是否启用 babel-plugin-dynamic-import-node插件 diff --git a/public/UEditor/ueditor.config.js b/public/UEditor/ueditor.config.js index c8b7772..62bb6cd 100644 --- a/public/UEditor/ueditor.config.js +++ b/public/UEditor/ueditor.config.js @@ -34,8 +34,8 @@ // 工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义 toolbars: [[ 'source', '|', 'undo', 'redo', '|', - 'bold', 'italic', 'underline', 'strikethrough', '|', 'superscript', 'subscript', '|', 'forecolor', 'backcolor', '|', - 'removeformat', '|', 'insertorderedlist', 'insertunorderedlist', '|', 'selectall', 'cleardoc', 'paragraph', '|', + 'bold', 'italic', 'underline', 'strikethrough', '|','superscript', 'subscript', '|', 'forecolor', 'backcolor', '|', + 'formatmatch', '|','removeformat', '|', 'insertorderedlist', 'insertunorderedlist', '|', 'selectall', 'cleardoc', 'paragraph', '|', 'fontfamily', 'fontsize', '|', 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'link', 'unlink', '|', 'emotion', '|', '|', 'horizontal', 'print', 'preview', 'fullscreen', 'drafts', 'formula' diff --git a/src/api/EnterpriseAuthentication.js b/src/api/EnterpriseAuthentication.js index 6315cc1..4922565 100644 --- a/src/api/EnterpriseAuthentication.js +++ b/src/api/EnterpriseAuthentication.js @@ -26,7 +26,7 @@ export function edit(data) { export function getAuthenticationList(data) { return request({ - url: 'api/EnterpriseAuthentication/getAuthenticationList', + url: 'api/EnterpriseAuthentication/getAuthenticationList?page='+data.page+'&size='+data.size, method: 'post', data }) diff --git a/src/api/Resources.js b/src/api/Resources.js index d3da785..5e8280b 100644 --- a/src/api/Resources.js +++ b/src/api/Resources.js @@ -24,21 +24,4 @@ export function edit(data) { }) } -export function getResourceList(data) { - return request({ - url: 'api/Resources/listResource', - method: 'post', - data - }) -} - -export function examineResources(data) { - return request({ - url: 'api/Resources/examineResources', - method: 'post', - data - }) -} - - -export default { add, edit, del, getResourceList, examineResources } +export default { add, edit, del } diff --git a/src/api/yxStoreProduct.js b/src/api/yxStoreProduct.js index 411ea63..cccfed5 100644 --- a/src/api/yxStoreProduct.js +++ b/src/api/yxStoreProduct.js @@ -95,4 +95,12 @@ export function audit(data) { method: 'post', data }) +} +//获取虚拟商品列表 +export function getVirtualPorducts(data) { + return request({ + url: 'api/yxStoreProduct/virtualPorducts', + method: 'post', + data + }) } \ No newline at end of file diff --git a/src/utils/amap.js b/src/utils/amap.js new file mode 100644 index 0000000..b7c174d --- /dev/null +++ b/src/utils/amap.js @@ -0,0 +1,20 @@ +/* + * 异步创建script标签 + */ +export default function MapLoader (key) { + return new Promise((resolve, reject) => { + if (window.AMap) { + resolve(window.AMap) + } else { + var script = document.createElement('script') + script.type = 'text/javascript' + script.async = true + script.src = 'https://webapi.amap.com/maps?v=1.4.15&key=6b5ed4e01a6a876cc337c6dd805c2336&plugin=AMap.Autocomplete,AMap.PlaceSearch' + script.onerror = reject + document.head.appendChild(script) + } + window.initAMap = () => { + resolve(window.AMap) + } + }) +} diff --git a/src/views/activitys/activitys/cate.vue b/src/views/activitys/cate.vue similarity index 100% rename from src/views/activitys/activitys/cate.vue rename to src/views/activitys/cate.vue diff --git a/src/views/activitys/activitys/flag.vue b/src/views/activitys/flag.vue similarity index 100% rename from src/views/activitys/activitys/flag.vue rename to src/views/activitys/flag.vue diff --git a/src/views/activitys/activitys/index.vue b/src/views/activitys/index.vue similarity index 88% rename from src/views/activitys/activitys/index.vue rename to src/views/activitys/index.vue index 64dde23..14eb510 100644 --- a/src/views/activitys/activitys/index.vue +++ b/src/views/activitys/index.vue @@ -9,7 +9,7 @@ > @@ -68,7 +68,7 @@ > @@ -77,8 +77,8 @@ -
+
+
+
+ + + + + + + +
+ +
+ +
+
+
- + - - - - - + + - - + +