Skip to content

Commit b35b01f

Browse files
author
myxingke
committed
说明说明说明
1 parent 6389d3d commit b35b01f

File tree

6 files changed

+15
-8
lines changed

6 files changed

+15
-8
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,17 @@
33
在那边写的时候没考虑太多,一个是目录杂乱,还有一个没有考虑项目的多页情况,当初我的想法是后端 商户端分开建两个项目,但是实际当我要这样做的时候
44
发现共用太多,我这边复制过去,万一改了呢,好像也不合理。所以新建创建做多页项目。**
55

6+
7+
68
### 最近比较忙,暂时不提交新东西上来,本项目一开始没有引入eslint 后期我会重新整理项目,把eslint加入进来!还有一开始我从单页项目弄成多入口,最后在实际还是发现应该单页应用。
79

10+
### 这个项目下面的演示地址不能正常演示了,原因是操蛋的腾讯服务器没有自动快照,我恢复到7月5号快照,有些东西不在了。所以不打算修复了!
11+
### 新的演示地址: https://beta.mp.daimatu.cn
12+
### 新演示项目只有商户管理端,我从7月开始从原来的项目上分离出来,用了更严格的eslint语法检测。相比原来的商户除了授权没有增加上,完善了更多功能!
13+
## 新演示地址 https://beta.mp.daimatu.cn(无需要输入帐号密码。只填入验证码即可!)
14+
## 新演示的源码没有提交上来,我放在码云的。需要源码的可以联系我,但只限于提供前端源码(后端源码请勿问我要)
15+
16+
817
# 关于文档说明,请认真看完!
918

1019
# 演示地址: http://www.daimatu.cn

src/module/manage/pages/merchant/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
getData (params) {
316316
if (!params) params = {page: 1}
317317
this.request('AdminMerchant', params, true).then((res) => {
318-
if(res.status) {
318+
if (res.status) {
319319
//列表数据
320320
this.list = res.data.list;
321321
//总页数
@@ -356,7 +356,7 @@
356356
})
357357
},
358358
view(id) {
359-
this.$router.push({ path: '/merchant/view/' + id, params: { id: id }});
359+
this.$router.push({ path: '/merchant/detail/' + id, params: { id: id }});
360360
}
361361
},
362362
mounted() {

src/module/manage/pages/website/index.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
</style>
3838

3939
<script>
40-
4140
export default {
4241
data () {
4342
return {

src/module/merchant/assets/style/public/bind.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595
position: relative;
9696

9797
h4 {
98-
position: relative;
9998
background: #FFFFFF;
10099
position: absolute;
101100
top: -10px;

src/module/merchant/pages/archives/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,14 @@
213213
this.$router.push({ path: '/archives/edit/' + id, params: { id: id }})
214214
},
215215
//删除素材数据
216-
del (index, id) {
216+
remove (index, id) {
217217
this.$Modal.confirm({
218218
title: '温馨提示',
219219
width: 300,
220220
content: '<p>你确定要删除?删除后不可恢复!</p>',
221221
loading: true,
222222
onOk: () => {
223-
this.request('AdminDelEditorMaterial', {id, id}).then((res) => {
223+
this.request('AdminDelEditorMaterial', {id: id}).then((res) => {
224224
if(res.status) {
225225
this.$Message.info(res.msg)
226226
this.$Modal.remove();

src/module/merchant/pages/wechat/menu.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
]
280280
},
281281
**/
282-
menu: {button: {}},
282+
menu: {button: []},
283283
// "new_menu": {'button': []},
284284
activeMenuName: '',
285285
activeMenuIndex: '',
@@ -299,7 +299,7 @@
299299
//todo 参数临时写死
300300
this.request("MerchantWxMenu", {mch_id: this.$store.state.Merchant.merchant.id, platform_id: this.$store.state.Merchant.platform.id}, true).then((res) => {
301301
if (res.status) {
302-
this.menu.button = res.data;
302+
this.menu.button = res.data.button;
303303
}
304304
})
305305
},

0 commit comments

Comments
 (0)