Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
ybf
Project
Project
Details
Activity
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
xulili
ybf
Commits
182f0ffa
Commit
182f0ffa
authored
5 years ago
by
xd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推送注册链接未成功
parent
43181b6e
master
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
270 additions
and
541 deletions
+270
-541
index.vue
wx_application/src/views/mainSale/active/main/index.vue
+1
-3
ea.js
ybf_wx/src/api/sidebar/ea.js
+10
-0
home.vue
ybf_wx/src/views/home.vue
+1
-1
index 1.vue
ybf_wx/src/views/sideNav/discount/index 1.vue
+0
-461
index.vue
ybf_wx/src/views/sideNav/discount/index.vue
+74
-76
index1.vue
ybf_wx/src/views/sideNav/register/index1.vue
+184
-0
No files found.
wx_application/src/views/mainSale/active/main/index.vue
View file @
182f0ffa
...
...
@@ -547,8 +547,7 @@ export default {
scope
:
"snsapi_base"
,
state
:
"ztest"
,
tail
:
"#wechat_redirect"
};
}
let
url
=
basicInfo
.
head
+
"appid="
+
...
...
@@ -601,7 +600,6 @@ export default {
this
.
oyStallCode
=
res
.
data
[
0
].
oyStallCode
;
// this.getAllInfo()
this
.
getAllNewFans
()
})
.
catch
(
err
=>
{})
}
...
...
This diff is collapsed.
Click to expand it.
ybf_wx/src/api/sidebar/ea.js
View file @
182f0ffa
...
...
@@ -12,6 +12,16 @@ export function getVoucherList(inData) {
data
:
postData
})
}
export
function
judgeMemberId
(
inData
)
{
let
postData
=
{
args
:
inData
}
return
request
({
url
:
''
,
method
:
'post'
,
data
:
postData
})
}
export
function
getVoucherWxUrl
(
inData
)
{
let
postData
=
{
...
...
This diff is collapsed.
Click to expand it.
ybf_wx/src/views/home.vue
View file @
182f0ffa
...
...
@@ -70,7 +70,7 @@
if
(
sessionStorage
.
getItem
(
"userId"
))
{
this
.
zcache
.
userId
=
sessionStorage
.
getItem
(
"userId"
)
}
else
{
//
this.zReadyUserId();
this
.
zReadyUserId
();
this
.
zTestGetNowUrlInfo
();
}
...
...
This diff is collapsed.
Click to expand it.
ybf_wx/src/views/sideNav/discount/index 1.vue
deleted
100644 → 0
View file @
43181b6e
<
template
>
<div
class=
"main"
>
<div
class=
"contents"
>
<!--
<div
class=
"zListActive"
>
<div
class=
"inputs"
>
<div
class=
"button"
@
click=
"zReadyGetUserFromId"
>
ReLoad
</div>
</div>
</div>
-->
<div
v-for=
"item of zlist.voucher"
v-show=
"isShow"
:key=
"item.coupon_id"
>
<div
class=
"content"
>
<div
class=
"content-imgs"
>
<img
class=
"imgs-img"
:src=
"zcache.defaultImgUrl"
alt
/>
</div>
<div
class=
"content-infos"
>
<div
class=
"infos-mains"
>
<div
class=
"mains"
>
<div
class=
"main-usedPercent"
>
活动ID:
{{
item
.
action_id
}}
</div>
<div
class=
"main-money"
>
{{
item
.
coupon_title
}}
</div>
</div>
<div
class=
"buttons"
>
<button
class=
"button-send"
@
click=
"handlePush(item.coupon_link)"
>
推送
</button>
</div>
</div>
<div
class=
"infos-tips"
>
<div
class=
"tip-shareMan"
>
优惠券ID:
{{
item
.
coupon_id
}}
</div>
<!--
<div
class=
"tip-commision"
>
佣金:¥
{{
item
.
commision
}}
</div>
-->
</div>
</div>
</div>
</div>
<!--
<div
class=
"no"
v-show=
"!isShow"
>
暂无优惠券可发放...
</div>
-->
</div>
</div>
</
template
>
<
script
>
// import { ApiTestCfPost, ApiTestEaPost } from "@/api/test/main";
import
{
ApiEaPost
,
ApiEaActiveList
}
from
"@/api/test/test"
;
import
{
configWx
,
getUserInfo
}
from
"@/utils/aCommon"
;
// import * as APISidebarEA from "@/api/sidebar/ea";
import
{
getVoucherList
,
getVoucherWxUrl
}
from
"@/api/sidebar/ea"
;
import
{
getUserInfoByUserId
}
from
"@/api/sidebar/voucher"
;
import
Vue
from
"vue"
;
import
{
Field
}
from
"vant"
;
const
zlog
=
console
.
log
.
bind
(
console
);
Vue
.
use
(
Field
);
export
default
{
name
:
"discountIndex"
,
data
()
{
return
{
zcache
:
{
storeId
:
1
,
userId
:
""
,
unionId
:
""
,
userInfo
:
""
,
defaultImgUrl
:
"/mainSale/2.png"
,
now
:
{
activeId
:
""
,
voucherId
:
""
,
}
},
zlist
:
{
voucher
:
[],
voucherUrl
:
""
},
test
:
{
list
:
{
main
:
[
{
imgUrl
:
"/mainSale/test-city.png"
,
usedPercent
:
"10"
,
money
:
"100"
,
shareMan
:
"Alice"
,
commision
:
"11"
},
{
imgUrl
:
"/mainSale/test-city.png"
,
usedPercent
:
"20"
,
money
:
"200"
,
shareMan
:
"Bob"
,
commision
:
"22"
}
]
}
},
dis
:
{},
isShow
:
true
};
},
created
()
{
if
(
this
.
$route
.
params
.
userId
)
{
this
.
zcache
.
userId
=
this
.
$route
.
params
.
userId
;
}
else
{
this
.
zcache
.
userId
=
sessionStorage
.
getItem
(
"userId"
)
}
this
.
zReadyGetUserFromId
();
this
.
getAgentAuth
();
// this.getVoucherList()
},
methods
:
{
// 获取店铺数据
zReadyGetUserFromId
()
{
let
postData
=
{
userName
:
this
.
zcache
.
userId
// userName: 'ShanDian'
}
getUserInfoByUserId
(
postData
)
.
then
(
res
=>
{
if
(
res
.
data
.
length
==
0
)
{
alert
(
'您当前没有绑定店铺'
)
}
else
{
this
.
zcache
.
storeId
=
res
.
data
[
0
].
oyStallCode
res
.
data
.
forEach
(
item
=>
{
this
.
getVoucherList
(
item
.
oyStallCode
).
then
(
res
=>
{
console
.
log
(
res
,
'优惠券数据'
)
this
.
zlist
.
voucher
.
push
(...
res
)
console
.
log
(
this
.
zlist
.
voucher
,
'this.zlist.voucher'
)
})
console
.
log
(
this
.
zlist
.
voucher
,
'111'
)
})
}
})
.
catch
(
err
=>
{})
},
// 获取优惠券列表
// getVoucherList(mdid) {
// const postData = {
// appCode: "0696", // j接口编码
// mdid: mdid
// }
// getVoucherList(postData).then(res => {
// if(res.errCode == 0) {
// if(res.result.coupons.length != 0) {
// return(res.result.coupons)
// }
// }
// })
// .catch(err => {
// })
// },
getVoucherList
(
mdid
)
{
const
postData
=
{
appCode
:
"0696"
,
// j接口编码
mdid
:
mdid
}
return
new
Promise
(
function
(
resolve
,
reject
)
{
getVoucherList
(
postData
).
then
(
res
=>
{
if
(
res
.
errCode
==
0
)
{
if
(
res
.
result
.
coupons
.
length
!=
0
)
{
resolve
(
res
.
result
.
coupons
)
}
}
})
.
catch
(
err
=>
{
reject
(
err
)
})
})
},
// 推送链接
handlePush
(
link
)
{
wx
.
invoke
(
"sendChatMessage"
,
{
msgtype
:
"news"
,
//消息类型,必填
news
:
{
link
:
`http://oysales.oywanhao.com/qrCode?Url=
${
link
}
`
,
//H5消息页面url 必填
title
:
"领取优惠券"
,
//H5消息标题
desc
:
''
,
//H5消息摘要
imgUrl
:
''
//H5消息封面图片URL
}
},
function
(
res
)
{
if
(
res
.
err_msg
==
"sendChatMessage:ok"
)
{
}
else
if
(
res
.
err_msg
!=
"sendChatMessage:ok"
)
{
}
}
)
}
}
};
</
script
>
<
style
scoped
>
.no
{
font-size
:
20px
;
margin-top
:
40px
;
text-align
:
center
;
}
.main
{
background-color
:
white
;
width
:
100%
;
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
start
;
}
.tops
{
border
:
2px
solid
lightblue
;
width
:
100%
;
height
:
100px
;
}
.contents
{
/* border: 2px solid lightpink; */
width
:
100%
;
height
:
100%
;
padding
:
16px
;
padding-bottom
:
40px
;
}
.content
{
border
:
0px
solid
orange
;
height
:
100px
;
width
:
100%
;
padding
:
4px
0px
;
margin-bottom
:
16px
;
border-radius
:
4px
;
box-shadow
:
0px
2px
4px
0px
rgb
(
187
,
187
,
187
);
display
:
flex
;
flex-direction
:
row
;
justify-content
:
start
;
}
.content-imgs
{
/* border: 1px solid pink; */
width
:
20%
;
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
start
;
align-items
:
center
;
}
.imgs-img
{
width
:
50px
;
height
:
50px
;
margin-top
:
10px
;
border-radius
:
50%
;
object-fit
:
cover
;
}
.content-infos
{
/* border: 1px solid orange; */
width
:
80%
;
height
:
100%
;
}
.infos-mains
{
height
:
70%
;
width
:
100%
;
/* border: 1px solid green; */
display
:
flex
;
flex-direction
:
row
;
justify-content
:
start
;
}
.mains
{
/* border: 1px solid red; */
width
:
70%
;
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
flex-start
;
}
.main-usedPercent
{
font-size
:
14px
;
color
:
grey
;
}
.main-money
{
/* border: 1px solid lightgreen; */
/* font-size: 24px; */
font-size
:
20px
;
}
.buttons
{
/* border: 1px solid darkorange; */
/* background-color: bisque; */
width
:
30%
;
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
}
.button-send
{
border
:
0px
solid
blue
;
height
:
40px
;
width
:
60px
;
border-radius
:
4px
;
background-color
:
rgba
(
68
,
93
,
251
,
1
);
color
:
white
;
font-size
:
16px
;
}
.infos-tips
{
height
:
30%
;
width
:
100%
;
/* border: 1px solid red; */
border-top
:
1px
dashed
gray
;
padding-top
:
6px
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
start
;
align-items
:
center
;
}
.tip-shareMan
{
/* border: 1px solid orange; */
width
:
70%
;
height
:
100%
;
font-size
:
14px
;
line-height
:
16px
;
color
:
rgb
(
150
,
150
,
150
);
}
.tip-commision
{
/* border: 1px solid green; */
width
:
30%
;
height
:
100%
;
font-size
:
14px
;
line-height
:
16px
;
color
:
rgb
(
150
,
150
,
150
);
}
.menus
{
border-top
:
1px
solid
rgb
(
194
,
194
,
194
);
position
:
fixed
;
bottom
:
0px
;
left
:
0px
;
width
:
100%
;
height
:
50px
;
background-color
:
white
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
start
;
align-items
:
center
;
}
.menu
{
/* border: 1px solid red; */
height
:
50px
;
/* width: 120px; */
width
:
50%
;
line-height
:
50px
;
text-align
:
center
;
font-size
:
14px
;
color
:
black
;
}
.activeMenu
{
color
:
lightcoral
;
}
.zListActive
{
/*border: 1px solid limegreen;*/
width
:
100%
;
height
:
auto
;
margin-bottom
:
16px
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
flex-start
;
align-items
:
flex-start
;
}
.zListActive
>
.inputs
{
/*border: 1px solid dodgerblue;*/
width
:
100%
;
height
:
auto
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
align-items
:
center
;
}
.zListActive
>
.inputs
>
.input
{
/*border-bottom: 2px solid red;*/
border-color
:
dodgerblue
;
border-radius
:
4px
;
width
:
70%
;
height
:
40px
;
font-size
:
16px
;
}
.zListActive
>
.inputs
>
.button
{
border
:
1px
solid
dodgerblue
;
border-radius
:
4px
;
width
:
40%
;
height
:
40px
;
font-size
:
14px
;
line-height
:
36px
;
text-align
:
center
;
}
.zListActive
>
.lists
{
/*border: 1px solid red;*/
width
:
100%
;
height
:
auto
;
margin-top
:
8px
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
flex-start
;
align-items
:
flex-start
;
}
.zListActive
>
.lists
>
.item
{
border
:
1px
solid
red
;
width
:
100%
;
height
:
100px
;
margin-bottom
:
16px
;
padding
:
4px
4px
;
border-radius
:
4px
;
box-shadow
:
0px
2px
4px
0px
rgb
(
187
,
187
,
187
);
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-around
;
align-items
:
flex-start
;
font-size
:
14px
;
}
.zListActive
>
.lists
>
.voucherUrl
{
border
:
1px
solid
orange
;
width
:
100%
;
height
:
100px
;
margin-bottom
:
16px
;
padding
:
4px
4px
;
border-radius
:
4px
;
box-shadow
:
0px
2px
4px
0px
rgb
(
187
,
187
,
187
);
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
flex-start
;
font-size
:
14px
;
/* text-wrap: none; */
}
</
style
>
This diff is collapsed.
Click to expand it.
ybf_wx/src/views/sideNav/discount/index.vue
View file @
182f0ffa
<
template
>
<div
class=
"main"
>
<div
class=
"contents"
>
<!--
<div
class=
"zListActive"
>
<div
class=
"inputs"
>
<div
class=
"button"
@
click=
"zReadyGetUserFromId"
>
ReLoad
</div>
</div>
</div>
-->
<div
v-for=
"item of zlist.voucher"
v-show=
"isShow"
:key=
"item.coupon_id"
>
<div
class=
"content"
>
<div
class=
"content-imgs"
>
...
...
@@ -28,23 +23,23 @@
</div>
</div>
</div>
<
!--
<div
class=
"no"
v-show=
"!isShow"
>
暂无优惠券可发放...
</div>
--
>
<
div
class=
"no"
v-show=
"!isShow"
>
暂无优惠券可发放...
</div
>
</div>
</div>
</
template
>
<
script
>
// import { ApiTestCfPost, ApiTestEaPost } from "@/api/test/main"
;
import
{
ApiEaPost
,
ApiEaActiveList
}
from
"@/api/test/test"
;
import
{
configWx
,
getUserInfo
}
from
"@/utils/aCommon"
;
// import * as APISidebarEA from "@/api/sidebar/ea"
;
import
{
getVoucherList
,
getVoucherWxUrl
}
from
"@/api/sidebar/ea"
;
import
{
getUserInfoByUserId
}
from
"@/api/sidebar/voucher"
;
import
Vue
from
"vue"
;
import
{
Field
}
from
"vant"
;
const
zlog
=
console
.
log
.
bind
(
console
)
;
Vue
.
use
(
Field
)
;
// import { ApiTestCfPost, ApiTestEaPost } from "@/api/test/main"
import
{
ApiEaPost
,
ApiEaActiveList
}
from
"@/api/test/test"
import
{
configWx
,
getUserInfo
}
from
"@/utils/aCommon"
// import * as APISidebarEA from "@/api/sidebar/ea"
import
{
getVoucherList
,
getVoucherWxUrl
,
judgeMemberId
}
from
"@/api/sidebar/ea"
import
{
getUserInfoByUserId
}
from
"@/api/sidebar/voucher"
import
Vue
from
"vue"
import
{
Field
}
from
"vant"
const
zlog
=
console
.
log
.
bind
(
console
)
Vue
.
use
(
Field
)
export
default
{
name
:
"discountIndex"
,
...
...
@@ -97,76 +92,44 @@ export default {
}
this
.
zReadyGetUserFromId
();
this
.
getAgentAuth
();
// this.getVoucherList()
},
methods
:
{
// 获取店铺数据
zReadyGetUserFromId
()
{
let
postData
=
{
//
userName: this.zcache.userId
userName
:
'ShanDian'
userName
:
this
.
zcache
.
userId
//
userName: 'ShanDian'
}
getUserInfoByUserId
(
postData
)
.
then
(
res
=>
{
if
(
res
.
data
.
length
==
0
)
{
alert
(
'您当前没有绑定店铺'
)
this
.
isShow
=
false
}
else
{
// this.zcache.storeId = res.data[0].oyStallCode
// let list = []
// res.data.forEach(item => {
// this.getVoucherList(item.oyStallCode).then(res => {
// console.log(res,'优惠券数据')
// this.zlist.voucher.push(...res)
// console.log(this.zlist.voucher,'this.zlist.voucher')
// })
// console.log(this.zlist.voucher,'111')
// })
// this.memberIdJudge('BH01','181')
let
list
=
[]
res
.
data
.
forEach
(
item
=>
{
let
obj
=
this
.
getVoucherList
(
item
.
oyStallCode
)
list
.
push
(
obj
)
})
console
.
log
(
list
,
'list'
);
let
promiseAll
=
Promise
.
all
([
...
list
// res.data.map(item => {
// console.log(item,'item');
// let obj = this.getVoucherList(item.oyStallCode)
// console.log(obj,'obj');
// return obj
// })
])
console
.
log
(
promiseAll
,
'promiseAll'
)
// promiseAll.then(res =>{
// console.log(res,'sss')
// })
let
promiseAll
=
Promise
.
all
([
...
list
]).
then
(
res
=>
{
res
.
forEach
(
item
=>
{
if
(
item
.
length
>
0
)
{
console
.
log
(
item
,
'item'
);
this
.
zlist
.
voucher
.
push
(...
item
)
}
})
if
(
this
.
zlist
.
voucher
.
length
>
0
)
{
this
.
isShow
=
true
}
else
{
this
.
isShow
=
false
}
})
}
})
.
catch
(
err
=>
{})
},
// 获取优惠券列表
// getVoucherList(mdid) {
// const postData = {
// appCode: "0696", // j接口编码
// mdid: mdid
// }
// getVoucherList(postData).then(res => {
// if(res.errCode == 0) {
// if(res.result.coupons.length != 0) {
// return(res.result.coupons)
// }
// }
// })
// .catch(err => {
// })
// },
getVoucherList
(
mdid
)
{
const
postData
=
{
appCode
:
"0696"
,
// j接口编码
...
...
@@ -188,7 +151,6 @@ export default {
reject
(
err
)
})
})
},
// 推送链接
handlePush
(
link
)
{
...
...
@@ -209,12 +171,48 @@ export default {
}
}
)
}
},
///
// memberIdJudge(oyStallMemberId,oyStallCode) {
// const postData = {
// appCode: "0728", // j接口编码
// wxmpcode: oyStallMemberId,
// crmcode: oyStallCode
// }
// judgeMemberId(postData).then(res => {
// if(res.errCode == 0) {
// console.log(res,'res')
// }else {
// console.log(res,'?')
// }
// })
// .catch(err => {
// console.log(err)
// })
// },
}
};
</
script
>
<
style
scoped
>
/* #mask{
width: 100%;
opacity: 0.6;
background-color: black;
bottom: 0;
left: 0;
position: fixed;
z-index: 998;
}
.mask_img{
width: 316px;
height: 200px;
z-index: 999;
position: fixed;
right: 0px;
} */
.no
{
font-size
:
20px
;
margin-top
:
40px
;
...
...
This diff is collapsed.
Click to expand it.
ybf_wx/src/views/sideNav/register/index1.vue
0 → 100644
View file @
182f0ffa
<
template
>
<div
class=
"register_container"
>
<div
v-for=
"(item, index) of list"
:key=
"index"
>
<div
class=
"list"
>
<div>
<img
class=
"list-logo"
:src=
"item.logoUrl"
alt
/>
</div>
<div
class=
"list-infos"
>
<div
class=
"list-info-title"
>
{{
item
.
name
}}
</div>
<div
class=
"list-info-dsc"
>
{{
item
.
dsc
}}
</div>
</div>
<button
class=
"button-send"
@
click=
"sendMessage"
>
邀请
</button>
</div>
</div>
</div>
</
template
>
<
script
>
import
{
configWx
,
getUserInfo
}
from
"@/utils/aCommon"
import
{
getUserInfoByUserId
}
from
"@/api/sidebar/voucher"
;
import
{
judgeMemberId
}
from
"@/api/sidebar/ea"
export
default
{
name
:
'register'
,
data
()
{
return
{
list
:[
{
name
:
"会员拉新"
,
dsc
:
"推荐完成注册,完成会员拉新"
,
logoUrl
:
"/mainSale/4.png"
}
],
storeCode
:
''
,
oyStallCode
:
''
,
userId
:
''
}
},
created
()
{
if
(
this
.
$route
.
params
.
userId
)
{
this
.
userId
=
this
.
$route
.
params
.
userId
;
}
else
{
this
.
userId
=
sessionStorage
.
getItem
(
"userId"
)
}
this
.
userId
=
"ShanDian"
// this.zReadyGetUserFromId()
this
.
getAgentAuth
()
this
.
memberIdJudge
(
'BH03'
,
181
)
this
.
getVoucherList
()
},
methods
:{
zReadyGetUserFromId
()
{
let
userName
=
this
.
userId
getUserInfoByUserId
({
userName
}).
then
(
res
=>
{
this
.
storeCode
=
res
.
data
[
0
].
oyStallMemberId
})
.
catch
(
err
=>
{
})
},
memberIdJudge
(
oyStallMemberId
,
oyStallCode
)
{
const
postData
=
{
appCode
:
"0728"
,
// j接口编码
wxmpcode
:
oyStallMemberId
,
crmcode
:
oyStallCode
}
judgeMemberId
(
postData
).
then
(
res
=>
{
if
(
res
.
errCode
==
0
)
{
console
.
log
(
res
,
'res'
);
}
else
{
console
.
log
(
res
,
'?'
);
}
})
.
catch
(
err
=>
{
console
.
log
(
err
)
})
},
// memberIdJudge(oyStallMemberId,oyStallCode) {
// const postData = {
// appCode: "0728", // j接口编码
// wxmpcode: oyStallMemberId,
// crmcode: oyStallCode
// }
// return new Promise(function(resolve, reject) {
// judgeMemberId(postData).then(res => {
// if(res.errCode == 0) {
// resolve(res.result.check)
// }else {
// resolve('')
// }
// })
// .catch(err => {
// reject(err)
// })
// })
// },
sendMessage
(){
if
(
this
.
storeCode
==
''
)
{
alert
(
'您当前没有绑定店铺'
)
}
else
{
let
url
=
`http://oysales.oywanhao.com/register?storeCode=
${
this
.
storeCode
}
`
wx
.
invoke
(
"sendChatMessage"
,
{
msgtype
:
"news"
,
//消息类型,必填
news
:
{
link
:
url
,
//H5消息页面url 必填
title
:
"注册邀请"
,
//H5消息标题
desc
:
"注册成为欧亚会员"
,
//H5消息摘要
imgUrl
:
""
//H5消息封面图片URL
}
},
function
(
res
)
{
// alert('sendChatMessage')
if
(
res
.
err_msg
==
"sendChatMessage:ok"
)
{
}
else
if
(
res
.
err_msg
!=
"sendChatMessage:ok"
)
{
}
}
)
}
},
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.register_container
{
padding
:
4px
12px
40px
12px
;
.list
{
height
:
140px
;
box-shadow
:
0px
2px
4px
0px
rgb
(
187
,
187
,
187
);
margin
:
6px
0px
;
padding
:
0px
12px
;
border-radius
:
6px
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
flex-start
;
align-items
:
center
;
.list-logo
{
width
:
80px
;
height
:
80px
;
border-radius
:
6px
;
}
.list-infos
{
height
:
80px
;
padding-left
:
12px
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
flex-start
;
align-items
:
flex-start
;
}
.list-info-title
{
width
:
100%
;
height
:
18px
;
font-size
:
16px
;
font-weight
:
bold
;
line-height
:
18px
;
}
.list-info-dsc
{
margin-top
:
6px
;
width
:
100%
;
height
:
16px
;
font-size
:
12px
;
font-weight
:
normal
;
line-height
:
18px
;
}
.button-send
{
border
:
0px
solid
blue
;
margin-left
:
5px
;
height
:
40px
;
width
:
84px
;
border-radius
:
4px
;
background-color
:
rgba
(
68
,
93
,
251
,
1
);
color
:
white
;
font-size
:
16px
;
}
}
}
</
style
>
This diff is collapsed.
Click to expand it.
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