Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
admin-base
Commits
c013830d
Commit
c013830d
authored
Jan 09, 2019
by
wangwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/development' into development
parents
fa7fbd40
13e7fa96
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
2 deletions
+32
-2
dev.env.js
config/dev.env.js
+2
-0
prod.env.js
config/prod.env.js
+2
-0
test.env.js
config/test.env.js
+2
-0
entrance.vue
src/components/notBuyClass/entrance.vue
+2
-2
dialog.vue
src/components/qrcode/dialog.vue
+24
-0
No files found.
config/dev.env.js
View file @
c013830d
...
...
@@ -6,6 +6,8 @@ module.exports = merge(prodEnv, {
NODE_ENV
:
'"development"'
,
API_URL
:
'"/"'
,
MAX_FILESIZE
:
'1024*1024*10'
,
SHOP_URL
:
'"https://w.url.cn/s/AX5b5QN"'
,
PERIODS_URL
:
'"https://w.url.cn/s/ARs9XI5"'
,
IMAGE_URL_HEAD
:
'"https://cdn.singsingenglish.com/"'
,
INVITE_URL
:
'"https://wechat-test.changchangenglish.com/"'
,
});
config/prod.env.js
View file @
c013830d
...
...
@@ -4,5 +4,7 @@ module.exports = {
IMAGE_URL_HEAD
:
'"https://cdn.singsingenglish.com/"'
,
API_URL
:
'"/"'
,
MAX_FILESIZE
:
'1024*1024*10'
,
SHOP_URL
:
'"https://w.url.cn/s/A45jJYk"'
,
PERIODS_URL
:
'"https://w.url.cn/s/AJi1QsS"'
,
INVITE_URL
:
'"https://wechat.changchangenglish.com/"'
,
};
config/test.env.js
View file @
c013830d
...
...
@@ -4,5 +4,7 @@ module.exports = {
IMAGE_URL_HEAD
:
'"https://cdn.singsingenglish.com/"'
,
API_URL
:
'"/"'
,
MAX_FILESIZE
:
'1024*1024*10'
,
SHOP_URL
:
'"https://w.url.cn/s/AX5b5QN"'
,
PERIODS_URL
:
'"https://w.url.cn/s/ARs9XI5"'
,
INVITE_URL
:
'"https://wechat-test.changchangenglish.com/"'
,
}
src/components/notBuyClass/entrance.vue
View file @
c013830d
...
...
@@ -73,8 +73,8 @@
value
:
''
,
},
selectedGoods
:[],
link1
:
"https://w.url.cn/s/A45jJYk"
,
//商品链接
link2
:
"https://w.url.cn/s/AJi1QsS"
,
//期数链接
link1
:
process
.
env
.
SHOP_URL
,
//商品链接
link2
:
process
.
env
.
PERIODS_URL
,
//期数链接
}
},
mounted
(){
...
...
src/components/qrcode/dialog.vue
View file @
c013830d
...
...
@@ -148,6 +148,8 @@
size=
"small"
>
移除
</el-button>
<i
class=
"iconfont icon-shangyi"
@
click=
"upIndex(scope.$index, list)"
v-if=
"!$store.state.readonly"
style=
"cursor: pointer;color: #409EFF;margin-left:10px;"
></i>
<i
class=
"iconfont icon-xiayi"
@
click=
"downIndex(scope.$index, list)"
v-if=
"!$store.state.readonly"
style=
"cursor: pointer;color: #409EFF;"
></i>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -367,6 +369,28 @@
});
})
},
upIndex
(
index
,
list
){
if
(
index
>
0
){
var
tempOption
=
list
[
index
-
1
];
Vue
.
set
(
list
,
index
-
1
,
list
[
index
]);
Vue
.
set
(
list
,
index
,
tempOption
);
this
.
$message
({
type
:
'success'
,
message
:
'操作成功!'
});
}
},
downIndex
(
index
,
list
){
if
(
index
<
list
.
length
-
1
){
var
tempOption
=
list
[
index
+
1
];
Vue
.
set
(
list
,
index
+
1
,
list
[
index
]);
Vue
.
set
(
list
,
index
,
tempOption
);
this
.
$message
({
type
:
'success'
,
message
:
'操作成功!'
});
}
},
}
}
</
script
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment