Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 61e14d2e
authored
Sep 10, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
替换qrcode
1 parent
2c6d8306
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
119 additions
and
141 deletions
package-lock.json
package.json
pages/boutique/components/CouponPop.vue
pages/boutique/components/Picture.vue
pages/boutique/components/Reception.vue
pages/boutique/components/SkuBox.vue
pages/boutique/detail.vue
utils/qrcode.js
package-lock.json
View file @
61e14d2
...
...
@@ -183,14 +183,6 @@
"resolved"
:
"https://registry.npmjs.org/dayjs/-/dayjs-1.11.11.tgz"
,
"integrity"
:
"sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg=="
},
"decompress-response"
:
{
"version"
:
"6.0.0"
,
"resolved"
:
"https://registry.npmmirror.com/decompress-response/-/decompress-response-6.0.0.tgz"
,
"integrity"
:
"sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ=="
,
"requires"
:
{
"mimic-response"
:
"^3.1.0"
}
},
"delayed-stream"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz"
,
...
...
@@ -457,11 +449,6 @@
"resolved"
:
"https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.4.4.tgz"
,
"integrity"
:
"sha512-WZzeDOEtTOBK4Mdsar0IqEU5sMr3vSV2RqkAIzUEV2BHnUfKGyswWFPFwK5EeDo93K3FohSHbLAjj0s1Wzd+dg=="
},
"js-binary-schema-parser"
:
{
"version"
:
"2.0.3"
,
"resolved"
:
"https://registry.npmmirror.com/js-binary-schema-parser/-/js-binary-schema-parser-2.0.3.tgz"
,
"integrity"
:
"sha512-xezGJmOb4lk/M1ZZLTR/jaBHQ4gG/lqQnJqdIv4721DMggsa1bDVlHXNeHYogaIEHD9vCRv0fcL4hMA+Coarkg=="
},
"jsbn"
:
{
"version"
:
"0.1.1"
,
"resolved"
:
"https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz"
,
...
...
@@ -542,11 +529,6 @@
"mime-db"
:
"1.52.0"
}
},
"mimic-response"
:
{
"version"
:
"3.1.0"
,
"resolved"
:
"https://registry.npmmirror.com/mimic-response/-/mimic-response-3.1.0.tgz"
,
"integrity"
:
"sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ=="
},
"minimatch"
:
{
"version"
:
"3.0.8"
,
"resolved"
:
"https://registry.npmjs.org/minimatch/-/minimatch-3.0.8.tgz"
,
...
...
@@ -647,11 +629,6 @@
"wrappy"
:
"1"
}
},
"parenthesis"
:
{
"version"
:
"3.1.8"
,
"resolved"
:
"https://registry.npmmirror.com/parenthesis/-/parenthesis-3.1.8.tgz"
,
"integrity"
:
"sha512-KF/U8tk54BgQewkJPvB4s/US3VQY68BRDpH638+7O/n58TpnwiwnOtGIOsT2/i+M78s61BBpeC83STB88d8sqw=="
},
"parse-data-uri"
:
{
"version"
:
"0.2.0"
,
"resolved"
:
"https://registry.npmjs.org/parse-data-uri/-/parse-data-uri-0.2.0.tgz"
,
...
...
@@ -802,21 +779,6 @@
"resolved"
:
"https://registry.npmjs.org/semver/-/semver-5.0.3.tgz"
,
"integrity"
:
"sha512-5OkOBiw69xqmxOFIXwXsiY1HlE+om8nNptg1ZIf95fzcnfgOv2fLm7pmmGbRJsjJIqPpW5Kwy4wpDBTz5wQlUw=="
},
"simple-concat"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/simple-concat/-/simple-concat-1.0.1.tgz"
,
"integrity"
:
"sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q=="
},
"simple-get"
:
{
"version"
:
"4.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/simple-get/-/simple-get-4.0.1.tgz"
,
"integrity"
:
"sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA=="
,
"requires"
:
{
"decompress-response"
:
"^6.0.0"
,
"once"
:
"^1.3.1"
,
"simple-concat"
:
"^1.0.0"
}
},
"source-map"
:
{
"version"
:
"0.6.1"
,
"resolved"
:
"https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz"
,
...
...
@@ -867,14 +829,6 @@
"tweetnacl"
:
"~0.14.0"
}
},
"string-split-by"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmmirror.com/string-split-by/-/string-split-by-1.0.0.tgz"
,
"integrity"
:
"sha512-KaJKY+hfpzNyet/emP81PJA9hTVSfxNLS9SFTWxdCnnW1/zOOwiV248+EfoX7IQFcBaOp4G5YE6xTJMF+pLg6A=="
,
"requires"
:
{
"parenthesis"
:
"^3.1.5"
}
},
"string_decoder"
:
{
"version"
:
"0.10.31"
,
"resolved"
:
"https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz"
,
...
...
@@ -1083,47 +1037,6 @@
"vinyl"
:
"^1.1.0"
}
},
"vue-qr"
:
{
"version"
:
"4.0.9"
,
"resolved"
:
"https://registry.npmmirror.com/vue-qr/-/vue-qr-4.0.9.tgz"
,
"integrity"
:
"sha512-pAISV94T0MNEYA3NGjykUpsXRE2QfaNxlu9ZhEL6CERgqNc21hJYuP3hRVzAWfBQlgO18DPmZTbrFerJC3+Ikw=="
,
"requires"
:
{
"glob"
:
"^8.0.1"
,
"js-binary-schema-parser"
:
"^2.0.2"
,
"simple-get"
:
"^4.0.1"
,
"string-split-by"
:
"^1.0.0"
},
"dependencies"
:
{
"brace-expansion"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/brace-expansion/-/brace-expansion-2.0.1.tgz"
,
"integrity"
:
"sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA=="
,
"requires"
:
{
"balanced-match"
:
"^1.0.0"
}
},
"glob"
:
{
"version"
:
"8.1.0"
,
"resolved"
:
"https://registry.npmmirror.com/glob/-/glob-8.1.0.tgz"
,
"integrity"
:
"sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ=="
,
"requires"
:
{
"fs.realpath"
:
"^1.0.0"
,
"inflight"
:
"^1.0.4"
,
"inherits"
:
"2"
,
"minimatch"
:
"^5.0.1"
,
"once"
:
"^1.3.0"
}
},
"minimatch"
:
{
"version"
:
"5.1.6"
,
"resolved"
:
"https://registry.npmmirror.com/minimatch/-/minimatch-5.1.6.tgz"
,
"integrity"
:
"sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g=="
,
"requires"
:
{
"brace-expansion"
:
"^2.0.1"
}
}
}
},
"webpack-spritesmith"
:
{
"version"
:
"1.1.0"
,
"resolved"
:
"https://registry.npmjs.org/webpack-spritesmith/-/webpack-spritesmith-1.1.0.tgz"
,
...
...
package.json
View file @
61e14d2
...
...
@@ -6,7 +6,6 @@
"hammerjs"
:
"^2.0.8"
,
"number-precision"
:
"^1.6.0"
,
"prettier"
:
"^3.3.2"
,
"vue-qr"
:
"^4.0.9"
,
"webpack-spritesmith"
:
"^1.1.0"
}
}
pages/boutique/components/CouponPop.vue
View file @
61e14d2
...
...
@@ -7,10 +7,29 @@
-->
<
template
>
<view>
<MessageBox
ref=
"couponPopup"
type=
"center"
:is-mask-click=
"false"
animation
:isFooter=
"false"
:title=
"customerType == 1 ?'为客户发券' : '客户二维码'"
:popupW=
"1200"
:maxHeight=
"896"
>
<view
name=
"content"
class=
"content"
>
<view
class=
"form"
v-if=
"customerType != 0"
>
<view
v-for=
"(i, index) in formObject"
class=
"form-item"
:key=
"index"
>
<MessageBox
ref=
"couponPopup"
type=
"center"
:is-mask-click=
"false"
animation
:isFooter=
"false"
:title=
"customerType == 1 ?'为客户发券' : '客户二维码'"
:popupW=
"1200"
:maxHeight=
"896"
>
<view
name=
"content"
class=
"content"
>
<view
class=
"form"
v-if=
"customerType != 0"
>
<view
v-for=
"(i, index) in formObject"
class=
"form-item"
:key=
"index"
>
<view
:class=
"['label',
{required:i.required}]">
{{
i
.
label
}}
</view>
<view
:class=
"['value',
{ error: showError(i.key)
&&
i.required },{disabled:customerType == 0}]">
<template
v-if=
"i.type == 'input'"
>
...
...
@@ -44,11 +63,18 @@
</view>
</view>
</view>
<view
class=
"customer-info"
v-else
>
<view
class=
"customer-info"
v-else
>
<view
class=
"customer-title"
>
当前客户信息
</view>
<view
class=
"line"
></view>
<view
class=
"customer-list"
>
<view
class=
"customer-item"
v-for=
"(j, idx) in formObject"
:key=
"idx"
>
<view
class=
"customer-item"
v-for=
"(j, idx) in formObject"
:key=
"idx"
>
<view
class=
"label"
>
{{ j.label }}
</view>
<view
class=
"value-text"
>
{{ customerInfo[j.key] || '-----'}}
</view>
</view>
...
...
@@ -59,40 +85,66 @@
<
template
v-if=
"customerType == 1"
>
<template
v-if=
"pageParams.received"
>
<view
class=
"ok"
>
<image
class=
"ok-status"
src=
"@/assets/images/boutique/ok-status.webp"
/>
<image
class=
"ok-status"
src=
"@/assets/images/boutique/ok-status.webp"
/>
<view>
客户领券成功
</view>
</view>
</
template
>
<
template
v-if=
"!pageParams.received && pageParams.QRURL"
>
<image
class=
"qr-code-img"
:src=
"pageParams.QRURL"
/>
<image
class=
"qr-code-img"
:src=
"pageParams.QRURL"
/>
</
template
>
<
template
v-else
>
<view
class=
"no-data"
>
<image
src=
"@/assets/images/boutique/no-data.webp"
class=
"no-data-img"
/>
src=
"@/assets/images/boutique/no-data.webp"
class=
"no-data-img"
/>
<view>
填写客户信息后点击
</view>
<view>
生成专属二维码」生成券码
</view>
</view>
</
template
>
</template>
<
template
v-else
>
<vue-qr
ref=
"qrCode"
:margin=
"10"
:text=
"pageParams.customerCouponId"
colorDark=
"black"
colorLight=
"#F9F9F9"
:size=
"200"
></vue-qr>
<!--
<vue-qr
ref=
"qrCode"
:margin=
"10"
:text=
"pageParams.customerCouponId"
colorDark=
"black"
colorLight=
"#F9F9F9"
:size=
"200"
></vue-qr>
-->
</
template
>
</view>
<view
class=
"ok-tips"
v-if=
"pageParams.received"
>
<view
class=
"ok-tips"
v-if=
"pageParams.received"
>
<view>
车主已领取该礼券
</view>
<view>
请前往客户邀约列表查看
</view>
</view>
<view
class=
"ok-tips"
v-if=
"customerType == 0"
>
<view
class=
"ok-tips"
v-if=
"customerType == 0"
>
<view>
驻点销售使用微信或企微
</view>
<view>
扫描此码新增客户工单
</view>
</view>
</view>
</view>
<view
name=
"footer"
v-if=
"customerType == 1"
>
<view
class=
"footer-btn"
@
click=
"createCoupon"
:class=
"{disabled: !isCheck}"
>
生成专属二维码
</view>
<view
name=
"footer"
v-if=
"customerType == 1"
>
<view
class=
"footer-btn"
@
click=
"createCoupon"
:class=
"{disabled: !isCheck}"
>
生成专属二维码
</view>
</view>
</MessageBox>
<employee
...
...
@@ -126,7 +178,7 @@
<
script
type=
"text/ecmascript-6"
>
import
Employee
from
'@/components/Employee.vue'
import
VueQr
from
'vue-qr
'
import
qrcode
from
'@/utils/qrcode.js
'
const
phoneRex
=
/^
[
1
]([
3-9
])[
0-9
]{9}
$/
;
const
formObject_boutique
=
[{
label
:
"车主姓名"
,
...
...
@@ -177,22 +229,22 @@ export default {
default
:
1
}
},
components
:
{
Employee
,
VueQr
},
components
:
{
Employee
},
watch
:
{
watchCustomerInfo
:
{
immediate
:
true
,
handler
(
newval
)
{
handler
(
newval
)
{
this
.
customerInfo
=
newval
this
.
pageParams
.
showDetail
=
false
}
},
},
computed
:
{
watchCustomerInfo
()
{
watchCustomerInfo
()
{
return
this
.
$store
.
state
.
user
.
customerInfo
},
},
data
()
{
data
()
{
return
{
formObject
:
formObject_boutique
,
customerInfo
:
{},
...
...
@@ -210,8 +262,11 @@ export default {
isCheck
:
false
}
},
mounted
()
{
mounted
()
{
this
.
init
()
console
.
log
(
qrcode
.
createQrCodeImg
(
'id=10086'
,
{
size
:
200
}))
},
methods
:
{
init
()
{
...
...
@@ -268,10 +323,10 @@ export default {
if
(
customerType
==
0
)
return
this
.
$refs
[
e
].
open
();
},
open
()
{
open
()
{
this
.
$refs
.
couponPopup
.
open
()
},
close
()
{
close
()
{
this
.
$refs
.
couponPopup
.
close
()
},
handleSelect
(
item
,
popkey
)
{
...
...
@@ -310,7 +365,7 @@ export default {
}
return
flag
},
async
createCoupon
()
{
async
createCoupon
()
{
try
{
console
.
log
(
this
.
pageParams
)
const
{
pageParams
:
{
clickFlag
,
couponId
,
carInfo
},
customerInfo
}
=
this
,
{
...
...
@@ -404,12 +459,12 @@ export default {
.footer-btn
{
width
:
518
rpx
;
height
:
96
rpx
;
background-image
:
linear-gradient
(
180deg
,
#61
C0FF
0%
,
#2C66F
7
100%
);
background-image
:
linear-gradient
(
180deg
,
#61
c0ff
0%
,
#2c66f
7
100%
);
box-shadow
:
inset
0
0
32
rpx
0
#ffffff80
;
border-radius
:
16
rpx
;
font-weight
:
500
;
font-size
:
36
rpx
;
color
:
#
FFFFFF
;
color
:
#
ffffff
;
line-height
:
96
rpx
;
text-align
:
center
;
margin
:
0
auto
;
...
...
@@ -425,7 +480,7 @@ export default {
&-box
{
height
:
400
rpx
;
border-radius
:
22.86
rpx
;
background-color
:
#
F9F9F
9
;
background-color
:
#
f9f9f
9
;
}
&
-img
{
width
:
343
rpx
;
...
...
@@ -550,7 +605,7 @@ export default {
}
}
.disabled
{
filter
:
opacity
(
0.5
)
filter
:
opacity
(
0.5
)
;
}
.ok
{
display
:
flex
;
...
...
@@ -578,7 +633,7 @@ export default {
.customer-info
{
flex
:
1
;
padding-top
:
30
rpx
;
background-color
:
#
F9F9F
9
;
background-color
:
#
f9f9f
9
;
border-radius
:
16
rpx
;
padding
:
48
rpx
;
margin-top
:
30
rpx
;
...
...
@@ -610,7 +665,7 @@ export default {
text-align
:
right
;
margin-right
:
32
rpx
;
font-size
:
28
rpx
;
color
:
#6
C6C
70
;
color
:
#6
c6c
70
;
line-height
:
44
rpx
;
}
.value-text
{
...
...
pages/boutique/components/Picture.vue
View file @
61e14d2
...
...
@@ -5,11 +5,6 @@
:src=
"detailUrl"
mode=
"widthFix"
/>
<view
class=
"nav-bar"
v-show=
"isBack"
>
<view
class=
"back"
@
click=
"back"
>
<uni-icons
type=
"left"
:size=
"32"
></uni-icons>
</view>
</view>
</view>
</
template
>
...
...
@@ -20,10 +15,6 @@ export default {
imgUrl
:
{
type
:
String
,
default
:
''
,
},
isBack
:
{
type
:
Boolean
,
default
:
true
}
},
data
()
{
...
...
@@ -37,10 +28,6 @@ export default {
}
},
methods
:
{
back
()
{
this
.
detailUrl
=
''
this
.
$emit
(
'back'
)
}
},
}
</
script
>
...
...
@@ -50,6 +37,7 @@ export default {
position
:
absolute
;
top
:
0
;
width
:
100%
;
z-index
:
99
;
}
.nav-bar
{
position
:
fixed
;
...
...
pages/boutique/components/Reception.vue
View file @
61e14d2
...
...
@@ -22,7 +22,9 @@
<view
class=
"left-content"
:key=
"updateViewKey"
@
click=
"showPicture(currentItem.detailImgUrl)"
>
<image
:src=
"currentItem.poster"
class=
"poster"
/>
<view
class=
"tips"
>
* 点击图片查看详情
>
</view>
</view>
<view
class=
"right-content"
>
...
...
@@ -49,6 +51,7 @@
:carInfo=
"carInfo"
ref=
"couponPopup"
/>
<picture-box
:imgUrl=
"currentImgUrl"
/>
</view>
</template>
...
...
@@ -56,9 +59,10 @@
import
SkuBox
from
'./SkuBox.vue'
import
CarBrands
from
'@/components/CarBrands.vue'
import
CouponPop
from
'./CouponPop.vue'
import
PictureBox
from
'./Picture.vue'
export
default
{
name
:
'Reception'
,
components
:
{
SkuBox
,
CarBrands
,
CouponPop
},
components
:
{
SkuBox
,
CarBrands
,
CouponPop
,
PictureBox
},
props
:
{
customerType
:
Number
,
show
:
Boolean
,
...
...
@@ -72,7 +76,9 @@ export default {
currentCarString
:
''
,
customerInfo
:
{},
updateViewKey
:
Date
.
now
(),
carInfo
:
{}
carInfo
:
{},
currentImgUrl
:
''
,
currentItem
:
{}
}
},
watch
:
{
...
...
@@ -126,6 +132,7 @@ export default {
this
.
updateViewKey
=
Date
.
now
()
},
changePreView
(
e
)
{
this
.
currentItem
=
e
this
.
updateViewKey
=
Date
.
now
()
},
handleSelect
(
item
)
{
...
...
@@ -133,6 +140,9 @@ export default {
this
.
customerInfo
.
carModel
=
item
.
name
this
.
$store
.
dispatch
(
'setCustomerInfo'
,
this
.
customerInfo
)
this
.
carInfo
=
item
},
showPicture
(
e
)
{
this
.
currentImgUrl
=
e
}
}
}
...
...
@@ -207,8 +217,11 @@ export default {
.left-content
{
width
:
1328
rpx
;
height
:
100%
;
background
:
#069
;
position
:
relative
;
.poster{
width
:
100%
;
height
:
100%
;
}
.tips
{
position
:
absolute
;
right
:
32
rpx
;
...
...
pages/boutique/components/SkuBox.vue
View file @
61e14d2
...
...
@@ -90,7 +90,11 @@ export default {
goodsId
:
''
,
contentHeight
:
'0'
,
requested
:
false
,
test
:
'段落内容\n段落内容\n段落内容\n段\n#段落内容\n#段落内容\n#\n#段落内容\n#段落内容\n#段落内容\n#'
currentItem
:
{
poster
:
'https://img02.glsx.com.cn/weapp/resource/app-tape/common/default-cover.webp'
,
detailImgUrl
:
'https://wx.glsx.com.cn/upload/biz/d3c64724-3e0c-4401-aabe-56dc0060f6d6.png'
},
test
:
'·AITO汽车专享 3M车窗膜(全车)\n·M7专享天窗冰甲\n·AITO汽车专享 挡泥板(适配M7)\n·AITO汽车专享 底盘护板(适配M7)\n·AITO汽车专享 挡泥板(适配M7)\n·AITO汽车专享 M7中控屏钢化保护膜\n·M7专享后备箱垫'
}
},
watch
:
{
...
...
@@ -149,6 +153,7 @@ export default {
async
getSkuConfig
()
{
this
.
test
=
this
.
test
.
replace
(
/<
\/?
br
\s
*
\/?
>|
\n
/g
,
'<br>'
)
// this.$forceUpdate()
this
.
changeGoods
(
0
)
},
setScrollHeight
()
{
this
.
$nextTick
(()
=>
{
...
...
@@ -158,12 +163,12 @@ export default {
}).
exec
()
})
},
changeGoods
(
index
)
{
changeGoods
(
index
)
{
this
.
goodsId
=
index
this
.
changePreView
()
},
changePreView
()
{
this
.
$emit
(
'changePreView'
)
changePreView
()
{
this
.
$emit
(
'changePreView'
,
this
.
currentItem
)
}
}
}
...
...
pages/boutique/detail.vue
View file @
61e14d2
...
...
@@ -49,7 +49,7 @@
@
choose=
"choose"
@
finish=
"open"
:id=
"id"
toolStyle=
"top:
144rpx
;"
toolStyle=
"top:
calc(50% - 320rpx)
;"
/>
</
template
>
<finish-step
...
...
@@ -125,7 +125,12 @@ export default {
},
back
()
{
this
.
$refs
?.
toolRef
?.
hide
();
this
.
$emit
(
"back"
);
// this.$emit("back");
if
(
this
.
id
==
1
)
{
let
[
reception
]
=
this
.
$refs
.
media1
if
(
reception
.
currentImgUrl
)
reception
.
showPicture
(
''
)
else
this
.
$emit
(
"back"
);
}
else
this
.
$emit
(
"back"
);
},
done
(
e
)
{
this
.
$refs
.
toolRef
.
hide
();
...
...
utils/qrcode.js
0 → 100644
View file @
61e14d2
This diff is collapsed.
Click to expand it.
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