Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-portal-fe
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
weiqingting
9 years ago
Commit
8cc716fbf9c81495d65720353b5f288238420bd7
1 parent
febc69eb
提交
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
server/stub/service/upload.js
server/views/pages/limit/add.html
server/views/pages/store/adminindex.html
server/stub/service/upload.js
View file @
8cc716f
...
...
@@ -2,7 +2,7 @@ var request=require('request');
var
fs
=
require
(
'fs'
);
var
domain
=
require
(
'../../config/common.js'
).
domain
;
// var domain = 'http://172.16.6.227:8083/yohobuy-platform-web';
//
var env = process.env.NODE_ENV || 'development';
var
env
=
process
.
env
.
NODE_ENV
||
'development'
;
exports
.
uploadFile
=
function
(
req
,
res
){
...
...
server/views/pages/limit/add.html
View file @
8cc716f
...
...
@@ -105,12 +105,12 @@
{{# attachment}}
{{#if attachUrl}}
{{#unless isDefault}}
<div
class=
"quota-content quota-img"
data-type=
"1"
><img
src=
"{{attachUrl}}"
alt=
""
><a
href=
"javascript:;"
class=
"editor-delete btn btn-default"
>
删除
</a></div>
<div
class=
"quota-content quota-img"
data-type=
"1"
><img
src=
"{{attachUrl}}"
alt=
""
><a
href=
"javascript:;"
class=
"editor-delete btn btn-default"
>
删除
</a><
a
href=
"javascript:;"
class=
"editor-update btn btn-default"
>
编辑
</a><
/div>
{{/unless}}
{{/if}}
{{#if intro}}
<div
class=
"quota-content quota-text"
data-type=
"3"
><span>
{{intro}}
</span><a
href=
"javascript:;"
class=
"editor-delete btn btn-default"
>
删除
</a></div>
<div
class=
"quota-content quota-text"
data-type=
"3"
><span>
{{intro}}
</span><a
href=
"javascript:;"
class=
"editor-delete btn btn-default"
>
删除
</a><
a
href=
"javascript:;"
class=
"editor-update btn btn-default"
>
编辑
</a><
/div>
{{/if}}
{{/ attachment}}
</div>
...
...
server/views/pages/store/adminindex.html
View file @
8cc716f
...
...
@@ -36,13 +36,14 @@
</div>
<script
type=
"text/template"
id=
"template"
>
<
div
class
=
"container-fluid"
>
<
div
class
=
"rows"
>
<
div
class
=
"form-group"
>
<
span
class
=
"col-sm-3 control-label"
>
店铺列表
<
/span>
<
select
name
=
"supplier-name"
id
=
"store-name"
style
=
"width: 280px;"
tabindex
=
"-1"
title
=
""
class
=
"select2-offscreen brandBtn-group brandBtn-group-lg"
value
=
"{{shopsId}}"
>
<
option
value
=
"-1"
>
店铺列表
<
/option
>
<
/select
>
<
/div
>
<
div
class
=
"
contentpanel
"
>
<
div
class
=
"
form-group
"
>
<
span
class
=
"col-sm-3 control-label"
>
管理员筛选
<
/span>
<
div
class
=
"col-sm-4"
>
<
select
name
=
"store-type"
id
=
"identity-type"
style
=
"height: 40px;"
class
=
"form-control"
value
=
"{{identity}}"
><
option
value
=
"-1"
selected
=
"selected"
>
请选择身份
<
/option
>
...
...
@@ -62,4 +63,5 @@
<
/div
>
<
/div
>
<
/div
>
<
/div
>
</script>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment