Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
fd8fc745
Commit
fd8fc745
authored
Jun 18, 2019
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
cc464bba
a50a0725
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
2 deletions
+30
-2
addIntegralMall.vue
src/components/activity/addIntegralMall.vue
+30
-2
No files found.
src/components/activity/addIntegralMall.vue
View file @
fd8fc745
...
...
@@ -194,6 +194,9 @@
.addIntegralMall
.bottom_sub
{
padding-top
:
25px
;
}
.addIntegralMall
.ql-editor
{
min-height
:
200px
;
}
</
style
>
<
template
>
<el-row
class=
"addIntegralMall"
>
...
...
@@ -240,6 +243,9 @@
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"商品数量"
prop=
"storeNum"
>
<el-input
v-model=
"addMsg.storeNum"
class=
"w217"
/>
</el-form-item>
<el-form-item
label=
"商品状态"
>
<el-select
filterable
v-model=
"addMsg.state"
>
<el-option
label=
"上架"
:value=
"1"
:key=
"1"
></el-option>
...
...
@@ -313,7 +319,10 @@
</div>
<p
class=
"tips tips2"
>
最多上传5张图片
</p>
<span
class=
"resource-lititle resource-lititle2"
>
商品描述
</span>
<quill-editor
:options=
"editorOption"
v-model=
"addMsg.description"
></quill-editor>
<my-edit
v-on:edit-value=
"addMsg.description = arguments[0]"
v-bind:editValue=
"addMsg.description"
v-bind:toolbarShow=
"toolbar"
v-bind:placeholder=
"placeholder"
></my-edit>
<span
class=
"resource-lititle resource-lititle2"
>
图片介绍
</span>
<div
class=
"resource-imglist clearfix"
>
<div
class=
"re-img re-img2"
v-for=
"(item,index) in DiningImageArray2"
:key=
"index"
>
...
...
@@ -378,9 +387,23 @@
</
template
>
<
script
>
import
{
setInterval
,
setTimeout
}
from
"timers"
;
import
MyEdit
from
"../EditTemplate.vue"
;
export
default
{
data
()
{
return
{
toolbar
:
{
clean
:
true
,
//加粗
font
:
true
,
//字体
narrative
:
false
,
//叙述,
image
:
true
,
// bold: true, //加粗
// underline: true, //下划线
// header1: true, //H1
// header2: true, //H2
//fontColor: true, //字体颜色
// fontBackgroundColor: true, //背景颜色
},
placeholder
:
"请输入内容"
,
editorOption
:
{
modules
:
{
toolbar
:
[
...
...
@@ -410,6 +433,7 @@ export default {
quota
:
0
,
ishot
:
0
,
descripImg
:
''
,
storeNum
:
''
},
MenberList
:
[],
GoodsTypeList
:
[],
...
...
@@ -431,7 +455,8 @@ export default {
tradePeopleReq
:
[
{
required
:
true
,
message
:
"交易人头数要求"
,
trigger
:
"blur"
}
],
remark
:
[{
required
:
true
,
message
:
"请输入备注"
,
trigger
:
"blur"
}]
remark
:
[{
required
:
true
,
message
:
"请输入备注"
,
trigger
:
"blur"
}],
storeNum
:[{
required
:
true
,
message
:
"请输入商品数量"
,
trigger
:
"blur"
}]
},
//上传的文件数组
DiningImageArray
:
[],
...
...
@@ -446,6 +471,9 @@ export default {
GoodsSeriesList
:
[],
};
},
components
:
{
"my-edit"
:
MyEdit
},
methods
:
{
getGoodsSeries
()
{
this
.
loading
=
true
;
...
...
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