Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-tools
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 7377cb44
authored
Feb 01, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.24.0' into 'master'
上线合并 See merge request
!19
2 parents
38742cf3
bd5f4f5d
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
159 additions
and
17 deletions
package-lock.json
package.json
src/api/modules/welcomeword.js
src/config/index.js
src/mixins/word.js
src/setup/qiankun.js
src/utils/util.js
src/views/channel/addCode.vue
src/views/channel/components/empDetail.vue
src/views/channel/poster.vue
src/views/channel/store.vue
src/views/customerTransform/addCustomer.vue
src/views/customerTransform/addCustomerGroup.vue
package-lock.json
View file @
7377cb4
...
@@ -8804,6 +8804,11 @@
...
@@ -8804,6 +8804,11 @@
"integrity"
:
"sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ=="
,
"integrity"
:
"sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ=="
,
"dev"
:
true
"dev"
:
true
},
},
"number-precision"
:
{
"version"
:
"1.6.0"
,
"resolved"
:
"https://registry.npmjs.org/number-precision/-/number-precision-1.6.0.tgz"
,
"integrity"
:
"sha512-05OLPgbgmnixJw+VvEh18yNPUo3iyp4BEWJcrLu4X9W05KmMifN7Mu5exYvQXqxxeNWhvIF+j3Rij+HmddM/hQ=="
},
"oauth-sign"
:
{
"oauth-sign"
:
{
"version"
:
"0.9.0"
,
"version"
:
"0.9.0"
,
"resolved"
:
"https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz"
,
...
@@ -14166,9 +14171,9 @@
...
@@ -14166,9 +14171,9 @@
}
}
},
},
"word-edit"
:
{
"word-edit"
:
{
"version"
:
"1.3.
3
"
,
"version"
:
"1.3.
8
"
,
"resolved"
:
"https://registry.npmjs.org/word-edit/-/word-edit-1.3.
3
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/word-edit/-/word-edit-1.3.
8
.tgz"
,
"integrity"
:
"sha512-
5OEKK9oYDEumFcIMMbIENvBXeTLEeBWN5mTC2mVHxHjBhPOO6CIydFhgWdUXvbFDK42gNDoa+BXVIH67ty322w
=="
,
"integrity"
:
"sha512-
Cdpn2haSUfM0vNUUIpMPe/fIJC5g1RWt8svzN68K/AJ0SWjHwiq/dgEOxocFffWkIf4LrwWWLEuFQ1OpDf+4Wg
=="
,
"requires"
:
{
"requires"
:
{
"@amap/amap-jsapi-loader"
:
"^1.0.1"
,
"@amap/amap-jsapi-loader"
:
"^1.0.1"
,
"core-js"
:
"^3.6.5"
,
"core-js"
:
"^3.6.5"
,
...
...
package.json
View file @
7377cb4
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
"number-precision"
:
"^1.6.0"
,
"number-precision"
:
"^1.6.0"
,
"vod-js-sdk-v6"
:
"^1.6.2"
,
"vod-js-sdk-v6"
:
"^1.6.2"
,
"wangeditor"
:
"^4.7.15"
,
"wangeditor"
:
"^4.7.15"
,
"word-edit"
:
"^1.3.
3
"
"word-edit"
:
"^1.3.
8
"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@vue/cli-plugin-babel"
:
"^4.1.0"
,
"@vue/cli-plugin-babel"
:
"^4.1.0"
,
...
...
src/api/modules/welcomeword.js
View file @
7377cb4
...
@@ -190,6 +190,36 @@ const channelPreview = params => {
...
@@ -190,6 +190,36 @@ const channelPreview = params => {
sign
:
true
sign
:
true
})
})
}
}
//红包玩法
const
activityRedEnvelope
=
params
=>
{
params
.
method
=
`marketing.api.activityRedEnvelope.merchant.list`
return
http
({
url
:
'rop-scrm-marketing/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
//攻略
const
strategyList
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.strategy.list`
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
//群接龙
const
getRelayLotteryPage
=
params
=>
{
params
.
method
=
`marketing.api.activityRedEnvelope.relay.lottery.page`
return
http
({
url
:
'rop-scrm-marketing/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
export
default
{
export
default
{
getCard
,
getCard
,
merchant
,
merchant
,
...
@@ -209,5 +239,8 @@ export default {
...
@@ -209,5 +239,8 @@ export default {
bulgeActivity
,
bulgeActivity
,
findMerchantListByPage
,
findMerchantListByPage
,
channelPreview
,
channelPreview
,
activityQuestionnaireForm
activityRedEnvelope
,
activityQuestionnaireForm
,
strategyList
,
getRelayLotteryPage
}
}
src/config/index.js
View file @
7377cb4
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: limin
* @Author: limin
* @Date: 2021-06-07 14:12:32
* @Date: 2021-06-07 14:12:32
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 202
3-09-27 18:08:21
* @LastEditTime: 202
4-01-22 17:56:28
*/
*/
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// let request = require('@/http/request.js')
// let request = require('@/http/request.js')
...
@@ -12,10 +12,10 @@ let cfg = require('./conf.js')
...
@@ -12,10 +12,10 @@ let cfg = require('./conf.js')
import
{
Http
}
from
'glsx-common'
import
{
Http
}
from
'glsx-common'
let
timeout
=
30000
//超时时间
let
timeout
=
30000
//超时时间
export
const
fetchConfig
=
function
(
common
)
{
export
const
fetchConfig
=
function
(
common
)
{
// let params = { moduleName: 'peregrination', mockUrl: 'https://oss-config.glsx.com.cn/mock/63c12a2e28a427953783403b/link
/config', httpOptions: { Headers: { refererurl: location.href }, request: { timeout: 30000 } } }
let
params
=
{
moduleName
:
'tools'
,
mockUrl
:
'https://oss-config.glsx.com.cn/mock/6513d53164bbd943bb9cb5cc/tools
/config'
,
httpOptions
:
{
Headers
:
{
refererurl
:
location
.
href
},
request
:
{
timeout
:
30000
}
}
}
//
return common.utils.getConfig(params)
return
common
.
utils
.
getConfig
(
params
)
// return new Http().get('https://oss-config.dev.glsx.com.cn/mock/650901f737c9d135bfb68619/tools/config')
// return new Http().get('https://oss-config.dev.glsx.com.cn/mock/650901f737c9d135bfb68619/tools/config')
return
new
Http
().
get
(
'https://oss-config.glsx.com.cn/mock/6513d53164bbd943bb9cb5cc/tools/config'
)
//
return new Http().get('https://oss-config.glsx.com.cn/mock/6513d53164bbd943bb9cb5cc/tools/config')
}
}
export
const
config
=
{
export
const
config
=
{
install
(
vue
,
cfg
)
{
install
(
vue
,
cfg
)
{
...
...
src/mixins/word.js
View file @
7377cb4
...
@@ -91,7 +91,7 @@ export default {
...
@@ -91,7 +91,7 @@ export default {
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
getActivity
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
getActivity
,
params
:
{
params
:
{
// activityStatus: 1,
// activityStatus: 1,
activityStatusList
:
[
1
,
2
],
activityStatusList
:
[
1
,
2
],
currentPage
:
1
currentPage
:
1
}
}
},
},
...
@@ -109,6 +109,26 @@ export default {
...
@@ -109,6 +109,26 @@ export default {
params
:
{
params
:
{
merchantId
:
this
.
$globalState
.
session
.
merchantId
merchantId
:
this
.
$globalState
.
session
.
merchantId
}
}
},
{
itemName
:
'攻略'
,
itemValue
:
9
,
isWuye
:
true
,
itemType
:
'strategy'
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
strategyList
,
params
:
{
merchantId
:
this
.
$globalState
.
session
.
merchantId
}
},
{
itemName
:
'群接龙'
,
itemValue
:
10
,
// isWuye: true,
itemType
:
'relayDragon'
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
getRelayLotteryPage
,
params
:
{
merchantIdList
:
[
this
.
$globalState
.
session
.
merchantId
]
}
}
}
]
]
},
},
...
@@ -132,5 +152,14 @@ export default {
...
@@ -132,5 +152,14 @@ export default {
// }
// }
]
]
}
}
},
mounted
()
{
if
(
!
this
.
wyMerchantId
.
includes
(
this
.
$globalState
.
session
.
merchantId
))
{
this
.
btnList
.
forEach
(
item
=>
{
if
(
item
.
type
==
'activity'
)
{
item
.
funParams
=
item
.
funParams
.
filter
(
item
=>
!
item
.
isWuye
)
}
})
}
}
}
}
}
src/setup/qiankun.js
View file @
7377cb4
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-09-14 15:04:56
* @Date: 2023-09-14 15:04:56
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 202
3-11-16 10:35:09
* @LastEditTime: 202
4-01-24 10:05:52
* @FilePath: \scrm-micro-tools\src\setup\qiankun.js
* @FilePath: \scrm-micro-tools\src\setup\qiankun.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
*/
...
@@ -28,7 +28,7 @@ Vue.use(GLTableButton)
...
@@ -28,7 +28,7 @@ Vue.use(GLTableButton)
Vue
.
use
(
GLEditor
)
Vue
.
use
(
GLEditor
)
Vue
.
use
(
GLDialog
)
Vue
.
use
(
GLDialog
)
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
const
{
response
,
request
,
request2
,
sign
,
secret
,
sign_common
,
request_common
,
request_merchant
,
merchantId
,
request_gpt
}
=
await
fetchConfig
(
common
)
const
{
response
,
request
,
request2
,
sign
,
secret
,
sign_common
,
request_common
,
request_merchant
,
merchantId
,
request_gpt
,
wyMerchantId
}
=
await
fetchConfig
(
common
)
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$globalState
=
globalState
Vue
.
prototype
.
$globalState
=
globalState
...
@@ -49,6 +49,7 @@ export async function bootstrap({ history, common, messenger, globalState, route
...
@@ -49,6 +49,7 @@ export async function bootstrap({ history, common, messenger, globalState, route
alert
:
message
.
error
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
,
'Content-Type'
:
'multipart/form-data'
}
headers
:
{
token
:
globalState
.
session
.
token
,
'Content-Type'
:
'multipart/form-data'
}
})
})
Vue
.
prototype
.
wyMerchantId
=
wyMerchantId
Vue
.
prototype
.
$http_common
=
new
common
.
Http
({
response
,
signWay
:
'md5'
,
request
:
request_common
,
sign
:
sign_common
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
TGT
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_common
=
new
common
.
Http
({
response
,
signWay
:
'md5'
,
request
:
request_common
,
sign
:
sign_common
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
TGT
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_tag
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_tag
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_merchant
=
new
common
.
Http
({
response
,
request
:
request_merchant
,
sign
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_merchant
=
new
common
.
Http
({
response
,
request
:
request_merchant
,
sign
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
...
...
src/utils/util.js
View file @
7377cb4
...
@@ -90,7 +90,7 @@ util.downloadIamge = function(imgsrc, name = new Date().getTime()) {
...
@@ -90,7 +90,7 @@ util.downloadIamge = function(imgsrc, name = new Date().getTime()) {
canvas
.
height
=
image
.
height
canvas
.
height
=
image
.
height
var
context
=
canvas
.
getContext
(
'2d'
)
var
context
=
canvas
.
getContext
(
'2d'
)
context
.
drawImage
(
image
,
0
,
0
,
image
.
width
,
image
.
height
)
context
.
drawImage
(
image
,
0
,
0
,
image
.
width
,
image
.
height
)
var
url
=
canvas
.
toDataURL
(
'image/png'
)
//得到图片的base64编码数据
var
url
=
canvas
.
toDataURL
(
'image/png'
,
1
)
//得到图片的base64编码数据
var
a
=
document
.
createElement
(
'a'
)
// 生成一个a元素
var
a
=
document
.
createElement
(
'a'
)
// 生成一个a元素
var
event
=
new
MouseEvent
(
'click'
)
// 创建一个单击事件
var
event
=
new
MouseEvent
(
'click'
)
// 创建一个单击事件
...
...
src/views/channel/addCode.vue
View file @
7377cb4
...
@@ -274,6 +274,7 @@ export default {
...
@@ -274,6 +274,7 @@ export default {
const
previewList
=
this
.
$common
?
this
.
$common
.
utils
.
deepClone
(
this
.
$refs
.
welcome
.
previewList
)
:
this
.
$refs
.
welcome
.
previewList
const
previewList
=
this
.
$common
?
this
.
$common
.
utils
.
deepClone
(
this
.
$refs
.
welcome
.
previewList
)
:
this
.
$refs
.
welcome
.
previewList
const
attachmentList
=
previewList
.
map
(
item
=>
{
const
attachmentList
=
previewList
.
map
(
item
=>
{
if
(
item
.
attType
==
1
)
{
if
(
item
.
attType
==
1
)
{
console
.
log
(
item
.
attContent
,
' item.attContent'
)
item
.
attContent
=
item
.
attContent
.
replaceAll
(
'[@昵称]'
,
'@昵称'
)
item
.
attContent
=
item
.
attContent
.
replaceAll
(
'[@昵称]'
,
'@昵称'
)
item
.
attContent
=
item
.
attContent
.
replaceAll
(
'@昵称'
,
'[@昵称]'
)
item
.
attContent
=
item
.
attContent
.
replaceAll
(
'@昵称'
,
'[@昵称]'
)
}
else
if
(
item
.
attType
==
7
)
{
}
else
if
(
item
.
attType
==
7
)
{
...
...
src/views/channel/components/empDetail.vue
View file @
7377cb4
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<
template
slot=
"customerName"
slot-scope=
"scope"
>
<
template
slot=
"customerName"
slot-scope=
"scope"
>
<div
class=
"form-row"
>
<div
class=
"form-row"
>
<img
:src=
"scope.scope.avatar"
v-if=
"scope.scope.avatar"
/>
<img
:src=
"scope.scope.avatar"
v-if=
"scope.scope.avatar"
/>
{{
scope
.
scope
.
customer
Name
}}
{{
scope
.
scope
.
nickNameList
&&
scope
.
scope
.
nickNameList
[
0
].
nick
Name
}}
<span
style=
"color: #5850ff"
>
{{
scope
.
scope
.
type
==
1
?
'@微信'
:
'@企微'
}}
</span>
<span
style=
"color: #5850ff"
>
{{
scope
.
scope
.
type
==
1
?
'@微信'
:
'@企微'
}}
</span>
</div>
</div>
</
template
>
</
template
>
...
@@ -229,7 +229,6 @@ export default {
...
@@ -229,7 +229,6 @@ export default {
})
})
},
},
init
(
item
,
value
,
day
)
{
init
(
item
,
value
,
day
)
{
this
.
createTime
=
[]
this
.
createTime
=
[]
this
.
pStatus
=
null
this
.
pStatus
=
null
this
.
staffIds
=
null
this
.
staffIds
=
null
...
...
src/views/channel/poster.vue
View file @
7377cb4
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
}"
}"
/>
/>
</div>
</div>
<div
class=
"poster-item-link"
@
click
.
stop=
"downloadIamge(item.
auto
Url)"
>
下载海报
</div>
<div
class=
"poster-item-link"
@
click
.
stop=
"downloadIamge(item.
thumbnail
Url)"
>
下载海报
</div>
</div>
</div>
<div
class=
"poster-item"
>
<div
class=
"poster-item"
>
<div
class=
"poster-item-box"
>
<div
class=
"poster-item-box"
>
...
...
src/views/channel/store.vue
View file @
7377cb4
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
<el-popover
placement=
"top"
width=
"600"
trigger=
"hover"
:key=
"idx"
>
<el-popover
placement=
"top"
width=
"600"
trigger=
"hover"
:key=
"idx"
>
<span
slot=
"reference"
class=
"emp-item"
>
...(
{{
tagging
.
length
}}
)
</span>
<span
slot=
"reference"
class=
"emp-item"
>
...(
{{
tagging
.
length
}}
)
</span>
<div
class=
"form-row"
>
<div
class=
"form-row"
>
<div
class=
"tag-item"
v-for=
"(tag, idx1) in tagging"
:key=
"idx1"
>
<div
class=
"tag-item"
v-for=
"(tag, idx1) in tagging"
:key=
"idx1"
>
{{
tag
}}
{{
tag
}}
</div>
</div>
</div>
</div>
...
...
src/views/customerTransform/addCustomer.vue
View file @
7377cb4
...
@@ -303,12 +303,42 @@ export default {
...
@@ -303,12 +303,42 @@ export default {
{
{
itemName
:
'问卷调查'
,
itemName
:
'问卷调查'
,
itemValue
:
7
,
itemValue
:
7
,
isWuye
:
true
,
itemType
:
'questionnaire'
,
itemType
:
'questionnaire'
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
activityQuestionnaireForm
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
activityQuestionnaireForm
,
params
:
{
params
:
{
merchantId
:
this
.
$globalState
.
session
.
merchantId
,
merchantId
:
this
.
$globalState
.
session
.
merchantId
,
statuses
:
[
0
,
1
]
statuses
:
[
0
,
1
]
}
}
},
{
itemName
:
'红包玩法'
,
itemValue
:
11
,
itemType
:
'redPaper'
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
activityRedEnvelope
,
params
:
{
merchantId
:
this
.
$globalState
.
session
.
merchantId
}
},
{
itemName
:
'攻略'
,
itemValue
:
9
,
isWuye
:
true
,
itemType
:
'strategy'
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
strategyList
,
params
:
{
merchantId
:
this
.
$globalState
.
session
.
merchantId
}
},
{
itemName
:
'群接龙'
,
itemValue
:
10
,
// isWuye: true,
itemType
:
'relayDragon'
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
getRelayLotteryPage
,
params
:
{
merchantIdList
:
[
this
.
$globalState
.
session
.
merchantId
]
}
}
}
]
]
},
},
...
@@ -412,6 +442,13 @@ export default {
...
@@ -412,6 +442,13 @@ export default {
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
boxHeight
=
clientHeight
-
200
this
.
boxHeight
=
clientHeight
-
200
if
(
!
this
.
wyMerchantId
.
includes
(
this
.
$globalState
.
session
.
merchantId
))
{
this
.
btnList
.
forEach
(
item
=>
{
if
(
item
.
type
==
'activity'
)
{
item
.
funParams
=
item
.
funParams
.
filter
(
item
=>
!
item
.
isWuye
)
}
})
}
},
},
methods
:
{
methods
:
{
openMembers
()
{
openMembers
()
{
...
...
src/views/customerTransform/addCustomerGroup.vue
View file @
7377cb4
...
@@ -222,11 +222,41 @@ export default {
...
@@ -222,11 +222,41 @@ export default {
itemName
:
'问卷调查'
,
itemName
:
'问卷调查'
,
itemValue
:
7
,
itemValue
:
7
,
itemType
:
'questionnaire'
,
itemType
:
'questionnaire'
,
isWuye
:
true
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
activityQuestionnaireForm
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
activityQuestionnaireForm
,
params
:
{
params
:
{
merchantId
:
this
.
$globalState
.
session
.
merchantId
,
merchantId
:
this
.
$globalState
.
session
.
merchantId
,
statuses
:
[
0
,
1
]
statuses
:
[
0
,
1
]
}
}
},
{
itemName
:
'红包玩法'
,
itemValue
:
11
,
itemType
:
'redPaper'
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
activityRedEnvelope
,
params
:
{
merchantId
:
this
.
$globalState
.
session
.
merchantId
}
},
{
itemName
:
'攻略'
,
itemValue
:
9
,
isWuye
:
true
,
itemType
:
'strategy'
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
strategyList
,
params
:
{
merchantId
:
this
.
$globalState
.
session
.
merchantId
}
},
{
itemName
:
'群接龙'
,
itemValue
:
10
,
// isWuye: true,
itemType
:
'relayDragon'
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
getRelayLotteryPage
,
params
:
{
merchantIdList
:
[
this
.
$globalState
.
session
.
merchantId
]
}
}
}
]
]
},
},
...
@@ -303,6 +333,13 @@ export default {
...
@@ -303,6 +333,13 @@ export default {
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
boxHeight
=
clientHeight
-
200
this
.
boxHeight
=
clientHeight
-
200
if
(
!
this
.
wyMerchantId
.
includes
(
this
.
$globalState
.
session
.
merchantId
))
{
this
.
btnList
.
forEach
(
item
=>
{
if
(
item
.
type
==
'activity'
)
{
item
.
funParams
=
item
.
funParams
.
filter
(
item
=>
!
item
.
isWuye
)
}
})
}
},
},
methods
:
{
methods
:
{
openMembers
()
{
openMembers
()
{
...
...
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