Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-equity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ebbe7027
authored
Jul 06, 2021
by
liwk
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
f9e2b2eb
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
412 additions
and
20 deletions
src/assets/css/tao.css
src/assets/css/tao.css.map
src/assets/css/tao.scss
src/base.js
src/views/tao/goods/addGoods/index.vue
src/views/tao/order/detail/index.vue
src/views/tao/sale/detail/index.vue
src/assets/css/tao.css
View file @
ebbe702
...
@@ -135,4 +135,41 @@
...
@@ -135,4 +135,41 @@
height
:
178px
;
height
:
178px
;
display
:
block
;
display
:
block
;
}
}
.layout
.box
.grid
{
display
:
-ms-grid
;
display
:
grid
;
padding
:
20px
0
;
-ms-grid-columns
:
(
1
fr
)[
3
];
grid-template-columns
:
repeat
(
3
,
1
fr
);
}
.layout
.box
.grid
.grid-item
.sub-title
{
font-weight
:
700
;
margin-bottom
:
10px
;
}
.layout
.box
.grid
.grid-item
.item
{
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
flex
;
-webkit-box-align
:
start
;
-ms-flex-align
:
start
;
align-items
:
flex-start
;
margin-bottom
:
10px
;
}
.layout
.box
.grid
.grid-item
.item
.label
{
width
:
100px
;
}
.layout
.box
.grid
.grid-btn
{
margin-top
:
40px
;
}
.layout
.box
.flex
{
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
flex
;
}
/*# sourceMappingURL=tao.css.map */
/*# sourceMappingURL=tao.css.map */
\ No newline at end of file
\ No newline at end of file
src/assets/css/tao.css.map
View file @
ebbe702
{
{
"version": 3,
"version": 3,
"mappings": "AAAA,AAAA,CAAC,CAAC;E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HP,AAmHI,OAnHG,CA4CL,IAAI,CAuEF,KAAK,CAAC;EACJ,OAAO,EAAE,IAAI;CACd
",
"sources": [
"sources": [
"tao.scss"
"tao.scss"
],
],
...
...
src/assets/css/tao.scss
View file @
ebbe702
...
@@ -96,5 +96,30 @@
...
@@ -96,5 +96,30 @@
height
:
178px
;
height
:
178px
;
display
:
block
;
display
:
block
;
}
}
.grid
{
display
:
grid
;
padding
:
20px
0
;
grid-template-columns
:
repeat
(
3
,
1fr
);
.grid-item
{
.sub-title
{
font-weight
:
700
;
margin-bottom
:
10px
;
}
.item
{
display
:
flex
;
align-items
:
flex-start
;
margin-bottom
:
10px
;
.label
{
width
:
100px
;
}
}
}
.grid-btn
{
margin-top
:
40px
;
}
}
.flex
{
display
:
flex
;
}
}
}
}
}
\ No newline at end of file
\ No newline at end of file
src/base.js
View file @
ebbe702
...
@@ -12,6 +12,9 @@ import Vue from 'vue'
...
@@ -12,6 +12,9 @@ import Vue from 'vue'
import
GlsxVueComponents
from
'glsx-vue-components'
import
GlsxVueComponents
from
'glsx-vue-components'
import
'glsx-vue-components/dist/glsx-vue-components.css'
import
'glsx-vue-components/dist/glsx-vue-components.css'
import
'./styles/index.css'
import
'./styles/index.css'
import
ElementUI
from
'element-ui'
;
import
'element-ui/lib/theme-chalk/index.css'
;
Vue
.
use
(
ElementUI
);
//引用富文本编辑器
//引用富文本编辑器
import
VueQuillEditor
from
'vue-quill-editor'
import
VueQuillEditor
from
'vue-quill-editor'
//引入富文本css
//引入富文本css
...
@@ -19,15 +22,16 @@ import 'quill/dist/quill.core.css'
...
@@ -19,15 +22,16 @@ import 'quill/dist/quill.core.css'
import
'quill/dist/quill.snow.css'
import
'quill/dist/quill.snow.css'
import
'quill/dist/quill.bubble.css'
import
'quill/dist/quill.bubble.css'
Vue
.
use
(
VueQuillEditor
)
Vue
.
use
(
VueQuillEditor
)
// import zh_CN from 'vee-validate/dist/locale/zh_CN'
// const {
// import zh_CN from 'vee-validate/dist/locale/zh_CN'
// Validator
// const {
// } = VeeValidate
// Validator
// import VueI18n from 'vue-i18n'
// } = VeeValidate
// Vue.use(VueI18n)
// import VueI18n from 'vue-i18n'
// const i18n = new VueI18n({
// Vue.use(VueI18n)
// locale: 'zh_CN'
// const i18n = new VueI18n({
// })
// locale: 'zh_CN'
// })
import
'@/components'
import
'@/components'
Vue
.
use
(
GlsxVueComponents
)
Vue
.
use
(
GlsxVueComponents
)
var
mixin
=
{
var
mixin
=
{
...
...
src/views/tao/goods/addGoods/index.vue
View file @
ebbe702
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
label=
"商品形态"
label=
"商品形态"
required
required
>
>
<el-radio-group
v-model=
"
radio1
"
>
<el-radio-group
v-model=
"
goodsType
"
>
<el-radio-button
label=
"1"
>
卡券
</el-radio-button>
<el-radio-button
label=
"1"
>
卡券
</el-radio-button>
<el-radio-button
label=
"2"
>
直充
</el-radio-button>
<el-radio-button
label=
"2"
>
直充
</el-radio-button>
</el-radio-group>
</el-radio-group>
...
@@ -90,6 +90,18 @@
...
@@ -90,6 +90,18 @@
<div
class=
"box"
>
<div
class=
"box"
>
<div
class=
"title"
>
价格信息
</div>
<div
class=
"title"
>
价格信息
</div>
<el-form-item
<el-form-item
v-if=
"goodsType != 1"
label=
"直充面额"
prop=
"name"
required
>
<el-input
v-model
.
number=
"ruleForm.name"
>
<span
slot=
"suffix"
>
元
</span>
</el-input>
</el-form-item>
<el-form-item
label=
"销售价"
label=
"销售价"
prop=
"name"
prop=
"name"
required
required
...
@@ -142,10 +154,12 @@
...
@@ -142,10 +154,12 @@
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"商品库存"
label=
"商品库存"
prop=
"name"
required
required
>
>
<el-input
v-model
.
number=
"ruleForm.name"
>
<el-input
v-model
.
number=
"ruleForm.name"
disabled
>
<
template
slot=
"append"
>
保存或上架商品后将自动检查库存
</
template
>
<
template
slot=
"append"
>
保存或上架商品后将自动检查库存
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -161,6 +175,21 @@
...
@@ -161,6 +175,21 @@
>
>
</quill-editor>
</quill-editor>
</el-form-item>
</el-form-item>
<
template
v-if=
"goodsType == 1"
>
<el-form-item
class=
"editor"
label=
"卡券页使用须知"
prop=
"name"
required
>
<quill-editor
v-model=
"ruleForm.goods"
:options=
"editorOption"
>
</quill-editor>
</el-form-item>
</
template
>
<
template
v-else
>
<el-form-item
<el-form-item
class=
"editor"
class=
"editor"
label=
"直充使用须知"
label=
"直充使用须知"
...
@@ -172,6 +201,7 @@
...
@@ -172,6 +201,7 @@
>
>
</quill-editor>
</quill-editor>
</el-form-item>
</el-form-item>
</
template
>
<el-form-item
size=
"large"
>
<el-form-item
size=
"large"
>
<el-button
<el-button
type=
"primary"
type=
"primary"
...
@@ -203,17 +233,23 @@ export default {
...
@@ -203,17 +233,23 @@ export default {
}
}
},
},
radio1
:
'1'
,
radio1
:
'1'
,
goodsType
:
1
,
ruleForm
:
{
ruleForm
:
{
region
:
'1'
region
:
'1'
},
},
list
:
[
list
:
[
{
label
:
'恒河猴'
}
{
label
:
'恒河猴'
}
]
],
rules
:
{},
imageUrl
:
''
}
}
},
},
mounted
()
{
mounted
()
{
},
},
methods
:
{
methods
:
{
handleAvatarSuccess
()
{
},
beforeAvatarUpload
()
{
},
onSubmit
()
{
}
}
}
}
}
</
script
>
</
script
>
...
...
src/views/tao/order/detail/index.vue
View file @
ebbe702
<
template
>
<
template
>
<div>
<div
class=
"layout"
>
加油
<div
class=
"box"
>
<div
class=
"grid"
>
<div
class=
"grid-item"
>
订单编号: GL1234567891254
</div>
<div
class=
"grid-item"
>
下单时间: 2021-06-02 10:10:10
</div>
</div>
</div>
<div
class=
"box"
>
<div
class=
"grid"
>
<template
v-for=
"(item,index) in detailInfoObj"
>
<div
class=
"grid-item"
:key=
"index"
>
<div
class=
"sub-title"
>
{{
item
.
title
}}
</div>
<template
v-for=
"(i,ind) in item.list"
>
<div
class=
"item"
:key=
"ind"
>
<div
class=
"label"
>
{{
i
.
label
}}
:
</div>
<div
class=
"value"
>
恒河猴
</div>
</div>
</
template
>
<
template
v-if=
"item.btn"
>
<div
class=
"grid-btn"
>
售后:
<el-button
type=
"primary"
>
开启
</el-button>
</div>
</
template
>
</div>
</template>
</div>
</div>
<d2-table
:tableParams=
"tableParams"
:hasNum=
"false"
:hasPage=
"false"
>
</d2-table>
<div
class=
"price-box"
>
<div
class=
"price-item"
>
<div
class=
"label"
>
商品总价:
</div>
<div
class=
"value"
>
59元
</div>
</div>
<div
class=
"price-item"
>
<div
class=
"label"
>
优惠:
</div>
<div
class=
"value"
>
59元
</div>
</div>
<div
class=
"price-item"
>
<div
class=
"label"
>
实收金额:
</div>
<div
class=
"value"
>
59元
</div>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -9,6 +61,104 @@ export default {
...
@@ -9,6 +61,104 @@ export default {
name
:
''
,
name
:
''
,
data
()
{
data
()
{
return
{
return
{
detailInfoObj
:
[
{
title
:
'支付信息'
,
list
:
[
{
label
:
'付款状态'
,
key
:
''
},
{
label
:
'付款金额'
,
key
:
''
},
{
label
:
'付款方式'
,
key
:
''
},
{
label
:
'付款时间'
,
key
:
''
}
]
},
{
title
:
'用户信息'
,
list
:
[
{
label
:
'用户名称'
,
key
:
''
},
{
label
:
'用户手机号'
,
key
:
''
},
],
btn
:
true
},
{
title
:
'渠道门店'
,
list
:
[
{
label
:
'关联门店'
,
key
:
''
},
{
label
:
'所属渠道'
,
key
:
''
},
{
label
:
'门店地址'
,
key
:
''
},
]
}
],
tableParams
:
{
listName
:
'list'
,
tableColumns
:
[
{
label
:
'商品信息'
,
prop
:
'cardNo'
,
minWidth
:
'200'
},
{
label
:
'商品形态'
,
prop
:
'activationCode'
,
minWidth
:
'200'
,
},
{
label
:
'单价/元'
,
prop
:
'sn'
,
minWidth
:
'200'
,
},
{
label
:
'数量'
,
prop
:
'mobile'
,
minWidth
:
'200'
// tagLabel: true
},
{
label
:
'小计/元'
,
prop
:
'memberName'
,
minWidth
:
'200'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
memberCardDefine
.
memberName
}
},
{
label
:
'订单状态'
,
prop
:
'validitDate'
,
minWidth
:
'200'
,
formatter
:
(
cellValue
)
=>
{
}
},
]
}
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -17,6 +167,18 @@ export default {
...
@@ -17,6 +167,18 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
src=
"@a/css/tao.css"
></
style
>
<
style
scoped
>
<
style
scoped
>
.price-box
{
margin-left
:
800px
;
margin-top
:
10px
;
}
.price-item
{
display
:
flex
;
align-items
:
center
;
margin-bottom
:
10px
;
}
.price-item
.label
{
width
:
100px
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/tao/sale/detail/index.vue
View file @
ebbe702
<
template
>
<
template
>
<div>
<div
class=
"layout"
>
加油
<div
class=
"box"
>
<div
class=
"grid"
>
<template
v-for=
"(item,index) in detailInfoObj"
>
<div
class=
"grid-item"
:key=
"index"
>
<template
v-for=
"(i,ind) in item.list"
>
<div
class=
"item"
:key=
"ind"
>
<div
class=
"label"
>
{{
i
.
label
}}
:
</div>
<div
class=
"value"
>
恒河猴
</div>
</div>
</
template
>
</div>
</template>
</div>
</div>
<div
class=
"box"
>
<div
class=
"grid"
>
<div
class=
"grid-item"
>
<div
class=
"sub-title"
>
售后描述
</div>
<div
class=
"img-box"
>
<
template
v-for=
"(item,index) in imgList"
>
<el-image
class=
"img-describe"
:key=
"index"
:src=
"item"
:preview-src-list=
"imgList"
>
</el-image>
</
template
>
</div>
恒河猴
</div>
<div
class=
"grid-item"
>
<div
class=
"sub-title"
>
售后商品
</div>
<div
class=
"flex"
>
<el-image
class=
"img-describe"
:src=
"imgList[0]"
:preview-src-list=
"imgList"
>
</el-image>
<div
class=
"info"
>
<div
class=
"item"
>
<div
class=
"label"
>
品牌
</div>
<div
class=
"value"
>
星巴克
</div>
</div>
<div
class=
"item"
>
<div
class=
"label"
>
商品名称
</div>
<div
class=
"value"
>
星巴克
</div>
</div>
<div
class=
"item"
>
<div
class=
"label"
>
类型
</div>
<div
class=
"value"
>
星巴克
</div>
</div>
</div>
</div>
</div>
<div
class=
"grid-item"
>
<div
class=
"sub-title"
>
购买信息
</div>
<div
class=
"item"
>
<div
class=
"label"
>
商品销售价
</div>
<div
class=
"value"
>
星巴克
</div>
</div>
<div
class=
"item"
>
<div
class=
"label"
>
实付金额
</div>
<div
class=
"value"
>
星巴克
</div>
</div>
<div
class=
"item"
>
<div
class=
"label"
>
购买数量
</div>
<div
class=
"value"
>
星巴克
</div>
</div>
<div
class=
"item"
>
<div
class=
"label"
>
订单编号
</div>
<div
class=
"value"
>
星巴克
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -9,6 +91,44 @@ export default {
...
@@ -9,6 +91,44 @@ export default {
name
:
''
,
name
:
''
,
data
()
{
data
()
{
return
{
return
{
imgList
:
[
'https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg'
,
'https://fuss10.elemecdn.com/1/8e/aeffeb4de74e2fde4bd74fc7b4486jpeg.jpeg'
],
detailInfoObj
:
[
{
list
:
[
{
label
:
'售后编号'
,
key
:
''
},
{
label
:
'申请人'
,
key
:
''
},
]
},
{
list
:
[
{
label
:
'订单渠道'
,
key
:
''
},
{
label
:
'申请时间'
,
key
:
''
},
],
},
{
list
:
[
{
label
:
'售后状态'
,
key
:
''
},
]
}
],
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -17,6 +137,14 @@ export default {
...
@@ -17,6 +137,14 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
src=
"@a/css/tao.css"
></
style
>
<
style
scoped
>
<
style
scoped
>
.flex
.info
{
margin-left
:
10px
;
}
.img-describe
{
width
:
100px
;
height
:
100px
;
margin
:
0
10px
10px
0
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment