Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
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
高淑倩
7-Eleven
Commits
a9b7ad36
Commit
a9b7ad36
authored
Oct 25, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
标签
parent
612ecd06
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
155 additions
and
154 deletions
+155
-154
app.js
src/app.js
+2
-2
selectTab.js
src/component/selectTab/selectTab.js
+52
-47
selectTab.wxml
src/component/selectTab/selectTab.wxml
+17
-20
selectTab.wxss
src/component/selectTab/selectTab.wxss
+45
-68
waterFlowLayout.wxml
src/component/waterFlowLayout/waterFlowLayout.wxml
+5
-5
index.js
src/config/index.js
+1
-1
project.config.json
src/project.config.json
+1
-1
grassCommunity.js
src/subPackage/page/pages/grassCommunity/grassCommunity.js
+21
-2
grassCommunity.json
src/subPackage/page/pages/grassCommunity/grassCommunity.json
+2
-0
grassCommunity.wxml
src/subPackage/page/pages/grassCommunity/grassCommunity.wxml
+4
-3
myReleaseDetail.js
src/subPackage/page/pages/myReleaseDetail/myReleaseDetail.js
+5
-5
No files found.
src/app.js
View file @
a9b7ad36
...
@@ -124,9 +124,9 @@ App({
...
@@ -124,9 +124,9 @@ App({
cityJson
:
cityJson
,
cityJson
:
cityJson
,
// brandId: 2711,
// brandId: 2711,
// brandId: 2005,
// brandId: 2005,
//
brandId: 1001,
brandId
:
1001
,
// brandId: 1002,
// brandId: 1002,
brandId
:
3001
,
//
brandId: 3001,
// brandId: 3002,
// brandId: 3002,
}
}
})
})
src/component/selectTab/selectTab.js
View file @
a9b7ad36
...
@@ -9,13 +9,9 @@ Component({
...
@@ -9,13 +9,9 @@ Component({
* 组件的属性列表
* 组件的属性列表
*/
*/
properties
:
{
properties
:
{
show
:
{
// 显示标识
show
SelectTabModal
:
{
// 显示标识
type
:
Boolean
,
type
:
Boolean
,
value
:
false
value
:
false
},
proGoods
:
{
// 显示标识
type
:
Array
,
value
:
''
}
}
},
},
...
@@ -23,9 +19,13 @@ Component({
...
@@ -23,9 +19,13 @@ Component({
* 组件的初始数据
* 组件的初始数据
*/
*/
data
:
{
data
:
{
pro
List
:
[],
tab
List
:
[],
proData
:
[],
proData
:
[],
productName
:
''
productName
:
''
,
pageNum
:
'1'
,
pageSize
:
'10000'
,
currentTab
:
''
,
currentTabName
:
''
},
},
observers
:
{
observers
:
{
...
@@ -41,11 +41,11 @@ Component({
...
@@ -41,11 +41,11 @@ Component({
}
}
}
}
},
},
show
()
{
show
SelectTabModal
()
{
const
{
show
}
=
this
.
data
const
{
show
SelectTabModal
}
=
this
.
data
if
(
show
)
{
if
(
show
SelectTabModal
)
{
wxService
.
nextTick
(()
=>
{
wxService
.
nextTick
(()
=>
{
this
.
ge
tPro
List
();
this
.
ge
Tab
List
();
})
})
}
}
}
}
...
@@ -57,29 +57,30 @@ Component({
...
@@ -57,29 +57,30 @@ Component({
methods
:
{
methods
:
{
hidePopup
:
function
()
{
// 隐藏弹出框
hidePopup
:
function
()
{
// 隐藏弹出框
this
.
setData
({
this
.
setData
({
show
:
false
showSelectTabModal
:
false
})
},
_selectCoupon
(
e
)
{
console
.
log
(
e
)
this
.
setData
({
proData
:
e
.
detail
})
})
},
},
confirm
()
{
confirm
()
{
if
(
this
.
data
.
proData
.
length
<
1
)
{
if
(
!
this
.
data
.
currentTab
)
{
wx
.
showToast
({
wx
.
showToast
({
title
:
'请选择
关联商品
'
,
title
:
'请选择
标签
'
,
icon
:
'none'
icon
:
'none'
})
})
return
false
;
return
false
;
}
}
let
params
=
{
id
:
this
.
data
.
currentTab
,
name
:
this
.
data
.
currentTabName
}
this
.
setData
({
this
.
setData
({
show
:
false
showSelectTabModal
:
false
})
},()
=>
{
wxService
.
nextTick
(()
=>
{
wxService
.
nextTick
(()
=>
{
this
.
triggerEvent
(
'_selectGoods'
,
this
.
data
.
proData
)
this
.
triggerEvent
(
'_selectTab'
,
params
)
})
})
})
},
},
// 点击键盘完成时触发
// 点击键盘完成时触发
...
@@ -89,37 +90,41 @@ Component({
...
@@ -89,37 +90,41 @@ Component({
})
})
},
},
// 搜索商品search
geTabList
(){
search
()
{
wxService
.
post
(
`/merchant/contentTags/getTagsGroupedListC?pageNum=
${
this
.
data
.
pageNum
}
&pageSize=
${
this
.
data
.
pageSize
}
`
,
{
if
(
!
this
.
data
.
productName
)
{
wx
.
showToast
({
title
:
'请输入商品名称'
,
icon
:
'none'
})
return
false
}
this
.
getProList
()
},
// 商品列表
getProList
()
{
wxService
.
post
(
`/sale/product/buyer/listWithMember`
,
{
productName
:
this
.
data
.
productName
}).
then
(
res
=>
{
}).
then
(
res
=>
{
const
{
result
,
data
}
=
res
.
data
const
{
result
,
data
}
=
res
.
data
if
(
result
==
0
)
{
if
(
result
==
0
)
{
data
.
forEach
(
item
=>
{
this
.
setData
({
item
.
isSelect
=
false
tabList
:
data
})
})
this
.
setData
({
proList
:
data
})
console
.
log
(
data
)
}
}
}).
finally
(()
=>
{
}).
finally
(()
=>
{
})
})
},
// 点击更多
getMoreTab
(
e
){
let
index
=
e
.
currentTarget
.
dataset
.
index
if
(
!
this
.
data
.
tabList
[
index
].
flag
){
this
.
data
.
tabList
[
index
].
flag
=
true
}
else
{
this
.
data
.
tabList
[
index
].
flag
=
false
}
this
.
setData
({
tabList
:
this
.
data
.
tabList
})
},
selectTab
(
e
)
{
this
.
setData
({
currentTab
:
e
.
currentTarget
.
dataset
.
id
,
currentTabName
:
e
.
currentTarget
.
dataset
.
name
})
}
}
},
},
})
})
src/component/selectTab/selectTab.wxml
View file @
a9b7ad36
<view class="modal-container{{show ? ' active' : ''}}" bindtap="hidePopup" />
<view class="modal-container{{show
SelectTabModal
? ' active' : ''}}" bindtap="hidePopup" />
<view class="modal-content{{show ? ' active' : ''}}">
<view class="modal-content{{show
SelectTabModal
? ' active' : ''}}">
<view class="modal-header">
<view class="modal-header">
<image src="/assets/imgs/7_1_0/arrow-right.png" class="modal-to-back" mode="widthFix" bindtap="hidePopup" />
<image src="/assets/imgs/7_1_0/arrow-right.png" class="modal-to-back" mode="widthFix" bindtap="hidePopup" />
<text class="modal-title">选择订单商品</text>
<image
class="modal-close"
mode="widthFix"
src="/assets/imgs/7_1_0/close.png"
bindtap="hidePopup"
/>
</view>
</view>
<view class="modal-info">
<view class="modal-info">
<view class="order-input weui-flex weui-progress">
<view class="tab-wrap">
<input class="order-name border_box" placeholder=" 请输入商品名称" value="{{productName}}" bindblur="onTapConfirm"/>
<view class="tab-list" wx:for="{{tabList}}" wx:key="{{index}}">
<text class="order-search" bindtap="search">搜索</text>
<view class="tab-title" >
<view class="tab-item-title">{{item.name}}</view>
<view class="more-tab" wx:if="{{item.contentTagsList.length > 3}}">
<text class="more-text" bindtap="getMoreTab" data-index="{{index}}">{{item.flag ? '收起' : '更多'}}</text>
<image class="arrow-right" src="/assets/imgs/7_1_0/arrow-right.png" mode="widthFix"></image>
</view>
</view>
<view wx:if="{{idx<3}}" class="tab-item {{currentTab == tagItem.id ? 'active' : ''}}" wx:for="{{item.contentTagsList}}" wx:for-index="idx" wx:for-item="tagItem" wx:key="{{idx}}" bindtap="selectTab" data-id="{{tagItem.id}}" data-name="{{tagItem.name}}">{{tagItem.name}}</view>
<view wx:if="{{idx>3 && item.flag}}" class="tab-item {{currentTab == tagItem.id ? 'active' : ''}}" wx:for="{{item.contentTagsList}}" wx:for-index="idx" wx:for-item="tagItem" wx:key="{{idx}}" bindtap="selectTab" data-id="{{tagItem.id}}" data-name="{{tagItem.name}}">{{tagItem.name}}</view>
<!-- <view class="tab-item" wx:for="{{tabItems}}" wx:for-index="tabIndex" wx:for-item="moreTabItem" wx:key="{{tabIndex}}" bindtap="selectTab" data-id="{{moreTabItem.id}}" data-name="{{moreTabItem.name}}">{{moreTabItem.name}}</view> -->
<!-- <view class="tab-item">默认选项</view> -->
</view>
</view>
</view>
<view class="coupon-list">
<relate-order-item wx:if="{{proList && proList.length > 0}}" bind:_selectCoupon="_selectCoupon" selectShow="{{show}}" proList="{{proList}}" />
</view>
<view class="empty-coupon" wx:if="{{!proList || proList.length < 1}}">
暂无订单商品哦~
</view>
</view>
</view>
<view class="post-notes fixed-bottom0" bindtap="confirm">确认
添加
</view>
<view class="post-notes fixed-bottom0" bindtap="confirm">确认</view>
</view>
</view>
src/component/selectTab/selectTab.wxss
View file @
a9b7ad36
/* component/selectTab/selectTab.wxss */
/* component/selectTab/selectTab.wxss */
@import '/app.wxss';
@import '/app.wxss';
@import './../../base/base.wxss';
@import './../../base/base.wxss';
.order-input {
height: 112rpx;
line-height: 112rpx;
background-color: rgba(246, 246, 246, 1);
}
.order-name {
width: 550rpx;
height: 60rpx;
border-radius: 5rpx;
margin: 0 20rpx;
background-color: rgba(255, 255, 255, 1);
}
.order-search {
width: 122rpx;
height: 60rpx;
line-height: 60rpx;
border-radius: 5rpx;
background-color: rgba(203, 60, 60, 1);
color: rgba(255, 255, 255, 1);
font-size: 28rpx;
text-align: left;
font-family: PingFangSC-Regular;
text-align: center;
}
.modal-container {
.modal-container {
position: fixed;
position: fixed;
width: 100%;
width: 100%;
...
@@ -81,50 +58,49 @@
...
@@ -81,50 +58,49 @@
top: 35rpx;
top: 35rpx;
transform: rotate(180deg);
transform: rotate(180deg);
}
}
.modal-title {
color: #333333;
font-size: 32rpx;
position: absolute;
left: 295rpx;
top: 28rpx;
}
.coupon-list {
width: 702rpx;
height: 174rpx;
position: relative;
margin-bottom: 25rpx;
}
.modal-info {
.modal-info {
padding: 0
24
rpx;
padding: 0
50
rpx;
margin-top: 95rpx;
margin-top: 95rpx;
}
max-height: 900rpx;
.modal-info {
overflow-y: scroll;
min-height: 900rpx;
}
overflow: scroll;
.tab-title{
}
display: flex;
.empty-coupon {
align-items: center;
width: 100%;
justify-content: space-between;
color: #aaaaaa;
}
margin-top: 211rpx;
.arrow-right{
text-align: center;
width: 10rpx;
}
margin-left: 6rpx;
.coupon-radio {
vertical-align: middle;
width: 32rpx;
}
height: 32rpx;
.more-text{
border-radius: 50%;
font-size: 22rpx;
border: 1rpx solid rgba(0, 0, 0, 0.2);
color: #666666;
line-height: 26rpx;
vertical-align: middle;
text-align: center;
}
}
.tab-item-title{
.tick-success {
font-size: 30rpx;
width: 18rpx;
color: #333333;
}
}
.select-radio {
.tab-item{
position: absolute;
color: #808080;
top: 71rpx;
font-size: 26rpx;
right: 30rpx;
line-height: 66rpx;
}
padding: 0 39rpx;
.theme-color {
/* width: 184rpx; */
border: none;
overflow-x: scroll;
}
display: inline-block;
border-radius: 10rpx;
background-color: rgba(238, 238, 238, 1);
margin: 25rpx 23rpx 25rpx 0;
}
.tab-item.active{
border: 1px solid rgba(203, 60, 60, 1);
background: #ffffff;
color: rgba(203, 60, 60, 1);
}
.tab-list{
margin-bottom: 34rpx;
}
\ No newline at end of file
src/component/waterFlowLayout/waterFlowLayout.wxml
View file @
a9b7ad36
...
@@ -14,12 +14,12 @@
...
@@ -14,12 +14,12 @@
</view>
</view>
<template name="water-list">
<template name="water-list">
<view class="item" data-current-type="{{currentType}}">
<view class="item" data-current-type="{{currentType}}"
data-id="{{id}}" bindtap="gotoDetail"
>
<view class="no-audited" wx:if="{{currentType != 2}}">
<view class="no-audited" wx:if="{{currentType != 2}}">
{{currentType == 1 ? '待审核' : (currentType == 3 ? '已驳回' : '已通过')}}
{{currentType == 1 ? '待审核' : (currentType == 3 ? '已驳回' : '已通过')}}
</view>
</view>
<image class="item-img" src="{{url}}" data-id="{{id}}" mode="widthFix" bindload="imageLoad" bindtap="gotoDetail"></image>
<image class="item-img" src="{{url}}" data-id="{{id}}" mode="widthFix" bindload="imageLoad" bindtap="gotoDetail"></image>
<view class="item-title-box"
data-id="{{id}}" bindtap="gotoDetail"
>
<view class="item-title-box" >
<view class="item-title">{{headline}}</view>
<view class="item-title">{{headline}}</view>
</view>
</view>
<view>
<view>
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
</view>
</view>
<view class="share-oprate"
<view class="share-oprate"
catchtap="onTapShare"
catchtap="onTapShare"
data-title="{{
headline
}}"
data-title="{{
explain
}}"
data-url="{{url}}"
data-url="{{url}}"
data-headline="{{headline}}"
data-headline="{{headline}}"
data-describe="{{describe}}"
data-describe="{{describe}}"
...
@@ -65,9 +65,9 @@
...
@@ -65,9 +65,9 @@
<!-- 标签 -->
<!-- 标签 -->
<view class="tabs-list">
<view class="tabs-list">
<image class="lock-image" src="/assets/imgs/7_1_0/lock.png"></image>
<image class="lock-image" src="/assets/imgs/7_1_0/lock.png"></image>
<view class="tab-item">
<view class="tab-item"
wx:if="{{tagsName}}"
>
<image class="tab-image" src="/assets/imgs/7_1_0/tab.png"></image>
<image class="tab-image" src="/assets/imgs/7_1_0/tab.png"></image>
<text class="tab-text">
爆改大赛
</text>
<text class="tab-text">
{{tagsName}}
</text>
</view>
</view>
</view>
</view>
</view>
</view>
...
...
src/config/index.js
View file @
a9b7ad36
const
PROJECT_ENV
=
'
prod
'
// 生产 prod, 开发 dev, 测试 test, 预生产 pre
const
PROJECT_ENV
=
'
dev
'
// 生产 prod, 开发 dev, 测试 test, 预生产 pre
const
needMock
=
''
//
const
needMock
=
''
//
// appid_dev_wx wxc3b64b09b1d3dfc2
// appid_dev_wx wxc3b64b09b1d3dfc2
...
...
src/project.config.json
View file @
a9b7ad36
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
},
},
"compileType"
:
"miniprogram"
,
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.8.2"
,
"libVersion"
:
"2.8.2"
,
"appid"
:
"wx
313ec36b710125d4
"
,
"appid"
:
"wx
c3b64b09b1d3dfc2
"
,
"projectname"
:
"%E5%BE%AE%E5%95%86%E5%9F%8E"
,
"projectname"
:
"%E5%BE%AE%E5%95%86%E5%9F%8E"
,
"debugOptions"
:
{
"debugOptions"
:
{
"hidedInDevtools"
:
[]
"hidedInDevtools"
:
[]
...
...
src/subPackage/page/pages/grassCommunity/grassCommunity.js
View file @
a9b7ad36
...
@@ -19,12 +19,15 @@ wxService.page({
...
@@ -19,12 +19,15 @@ wxService.page({
headline
:
""
,
headline
:
""
,
sspList
:
[],
sspList
:
[],
stcList
:
[],
stcList
:
[],
userId
:
memberId
userId
:
memberId
,
tagsId
:
''
},
},
tabName
:
''
,
video
:
''
,
video
:
''
,
pageNo
:
1
,
pageNo
:
1
,
pageSize
:
100
,
pageSize
:
100
,
requesting
:
false
requesting
:
false
,
showSelectTabModal
:
false
},
},
/**
/**
...
@@ -171,6 +174,22 @@ wxService.page({
...
@@ -171,6 +174,22 @@ wxService.page({
},
},
//关联标签
_selectTab
(
e
){
console
.
log
(
e
)
this
.
setData
({
'params.tagsId'
:
e
.
detail
.
id
,
tabName
:
e
.
detail
.
name
})
},
// 标签选择
selectTab
(){
this
.
setData
({
showSelectTabModal
:
true
})
},
//多张图片上传
//多张图片上传
moreImgUpload
(
data
)
{
moreImgUpload
(
data
)
{
...
...
src/subPackage/page/pages/grassCommunity/grassCommunity.json
View file @
a9b7ad36
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
"upload-video"
:
"/component/uploadVideo/uploadVideo"
,
"upload-video"
:
"/component/uploadVideo/uploadVideo"
,
"grass-item"
:
"/component/grassItem/grassItem"
,
"grass-item"
:
"/component/grassItem/grassItem"
,
"select-related-goods"
:
"/component/selectRelatedGoods/selectRelatedGoods"
,
"select-related-goods"
:
"/component/selectRelatedGoods/selectRelatedGoods"
,
"select-tab"
:
"/component/selectTab/selectTab"
,
"go-home"
:
"/component/goHome/goHome"
"go-home"
:
"/component/goHome/goHome"
}
}
}
}
\ No newline at end of file
src/subPackage/page/pages/grassCommunity/grassCommunity.wxml
View file @
a9b7ad36
...
@@ -25,9 +25,9 @@
...
@@ -25,9 +25,9 @@
<view class="title-border">
<view class="title-border">
<input placeholder="这一刻想说什么..." name="article" value="{{params.article}}" />
<input placeholder="这一刻想说什么..." name="article" value="{{params.article}}" />
</view>
</view>
<view class="title-border">
<view class="title-border"
bindtap="selectTab"
>
<image class="tab-icon" src="/assets/imgs/7_1_0/tab.png"></image>
<image class="tab-icon" src="/assets/imgs/7_1_0/tab.png"></image>
<input class="tab-input" placeholder="选择标签"
name="article" value="{{params.article}}
" />
<input class="tab-input" placeholder="选择标签"
value="{{tabName}}" disabled="
" />
</view>
</view>
<view class="related-goods" bindtap="handleRelatedGoods">
<view class="related-goods" bindtap="handleRelatedGoods">
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
<button class="post-notes fixed-bottom0" form-type="submit">发布笔记</button>
<button class="post-notes fixed-bottom0" form-type="submit">发布笔记</button>
</form>
</form>
<!--goHome-->
<!--goHome-->
<go-home />
<go-home />
<select-tab showSelectTabModal="{{showSelectTabModal}}" bind:_selectTab="_selectTab" />
<select-related-goods show="{{showSelectRelatedGoods}}" bind:_selectGoods="_selectGoods" pro-goods="{{proGoods}}"/>
<select-related-goods show="{{showSelectRelatedGoods}}" bind:_selectGoods="_selectGoods" pro-goods="{{proGoods}}"/>
src/subPackage/page/pages/myReleaseDetail/myReleaseDetail.js
View file @
a9b7ad36
...
@@ -39,7 +39,7 @@ wxService.page({
...
@@ -39,7 +39,7 @@ wxService.page({
let
memberId
=
options
.
memberId
;
let
memberId
=
options
.
memberId
;
if
(
memberId
)
{
if
(
memberId
)
{
let
content
=
{
let
content
=
{
title
:
this
.
data
.
contentInfo
.
headline
,
title
:
this
.
data
.
contentInfo
.
explain
,
id
:
this
.
data
.
contentInfo
.
id
,
id
:
this
.
data
.
contentInfo
.
id
,
article
:
this
.
data
.
contentInfo
.
article
,
article
:
this
.
data
.
contentInfo
.
article
,
url
:
this
.
data
.
contentInfo
.
sspList
[
0
].
url
url
:
this
.
data
.
contentInfo
.
sspList
[
0
].
url
...
@@ -49,7 +49,7 @@ wxService.page({
...
@@ -49,7 +49,7 @@ wxService.page({
contentId
:
this
.
data
.
contentInfo
.
id
,
contentId
:
this
.
data
.
contentInfo
.
id
,
tentacleId
:
memberId
,
tentacleId
:
memberId
,
contentType
:
app
.
globalData
.
contants
.
SHARE_TYPE
.
DETAILS_OF_THE_CONTENT
,
//内容类型
contentType
:
app
.
globalData
.
contants
.
SHARE_TYPE
.
DETAILS_OF_THE_CONTENT
,
//内容类型
title
:
this
.
data
.
contentInfo
.
headline
,
//标题
title
:
this
.
data
.
contentInfo
.
explain
,
//标题
type
:
3
// 1:门店,2:员工(暂时不做),3:会员,4:第三方外部渠道,5:智能营销
type
:
3
// 1:门店,2:员工(暂时不做),3:会员,4:第三方外部渠道,5:智能营销
}
}
...
@@ -81,7 +81,7 @@ wxService.page({
...
@@ -81,7 +81,7 @@ wxService.page({
onTapShare
(){
onTapShare
(){
const
{
memberId
,
member
}
=
wx
.
getStorageSync
(
'_baseUserInfo'
)
const
{
memberId
,
member
}
=
wx
.
getStorageSync
(
'_baseUserInfo'
)
let
content
=
{
let
content
=
{
title
:
this
.
data
.
contentInfo
.
headline
,
title
:
this
.
data
.
contentInfo
.
explain
,
id
:
this
.
data
.
contentInfo
.
id
,
id
:
this
.
data
.
contentInfo
.
id
,
article
:
this
.
data
.
contentInfo
.
article
,
article
:
this
.
data
.
contentInfo
.
article
,
url
:
this
.
getImageInSspList
()
url
:
this
.
getImageInSspList
()
...
@@ -90,7 +90,7 @@ wxService.page({
...
@@ -90,7 +90,7 @@ wxService.page({
content
:
JSON
.
stringify
(
content
),
content
:
JSON
.
stringify
(
content
),
contentId
:
this
.
data
.
contentInfo
.
id
,
contentId
:
this
.
data
.
contentInfo
.
id
,
contentType
:
app
.
globalData
.
contants
.
SHARE_TYPE
.
DETAILS_OF_THE_CONTENT
,
//内容类型
contentType
:
app
.
globalData
.
contants
.
SHARE_TYPE
.
DETAILS_OF_THE_CONTENT
,
//内容类型
title
:
this
.
data
.
contentInfo
.
headline
,
//标题
title
:
this
.
data
.
contentInfo
.
explain
,
//标题
type
:
3
// 1:门店,2:员工(暂时不做),3:会员,4:第三方外部渠道,5:智能营销
type
:
3
// 1:门店,2:员工(暂时不做),3:会员,4:第三方外部渠道,5:智能营销
}
}
...
@@ -105,7 +105,7 @@ wxService.page({
...
@@ -105,7 +105,7 @@ wxService.page({
let
scene
=
'i='
+
id
+
'&t='
+
tentacleId
let
scene
=
'i='
+
id
+
'&t='
+
tentacleId
this
.
setData
({
this
.
setData
({
showCardModal
:
true
,
showCardModal
:
true
,
cardTitle
:
this
.
data
.
contentInfo
.
headline
,
cardTitle
:
this
.
data
.
contentInfo
.
explain
,
cardUrl
:
this
.
getImageInSspList
(),
cardUrl
:
this
.
getImageInSspList
(),
pagePath
:
path
,
pagePath
:
path
,
scene
:
scene
scene
:
scene
...
...
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