Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lumastoreapp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xieyishang
lumastoreapp
Commits
fa4681d0
Commit
fa4681d0
authored
Dec 18, 2020
by
home
Browse files
Options
Browse Files
Download
Plain Diff
zxf
parents
7af45ea8
2fe885fc
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
1000 additions
and
667 deletions
+1000
-667
manifest.json
manifest.json
+5
-5
pages/addEditEleProduct/addEditEleProduct.vue
pages/addEditEleProduct/addEditEleProduct.vue
+38
-21
pages/eleProduct/eleProduct.vue
pages/eleProduct/eleProduct.vue
+3
-1
pages/index/index.vue
pages/index/index.vue
+19
-10
pages/order/order.vue
pages/order/order.vue
+1
-1
pages/order/shoporderdetail/shoporderdetail.vue
pages/order/shoporderdetail/shoporderdetail.vue
+526
-470
pages/publishActivities/activityDetail/activityDetail.vue
pages/publishActivities/activityDetail/activityDetail.vue
+324
-84
pages/publishActivities/activityList/activityList.vue
pages/publishActivities/activityList/activityList.vue
+54
-51
pages/storeqrcode/storeqrcode.vue
pages/storeqrcode/storeqrcode.vue
+15
-5
utils/api/merchant.js
utils/api/merchant.js
+9
-9
utils/debug.js
utils/debug.js
+6
-10
No files found.
manifest.json
View file @
fa4681d0
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
//
"appid"
:
"__UNI__FC9419E"
,
//
"appid"
:
"__UNI__FC9419E"
,
"appid"
:
"__UNI__1EA80F1"
,
//这个是
web
的
"appid"
:
"__UNI__1EA80F1"
,
//这个是
web
的
"description"
:
"商家"
,
"description"
:
"商家"
,
"versionName"
:
"1.
0.99
"
,
"versionName"
:
"1.
1.00
"
,
"versionCode"
:
1
99
,
"versionCode"
:
1
10
,
"transformPx"
:
false
,
"transformPx"
:
false
,
"compatible"
:
{
"compatible"
:
{
"ignoreVersion"
:
true
,
//
true
表示忽略版本检查提示框,HBuilderX
1.9
.
0
及以上版本支持
"ignoreVersion"
:
true
,
//
true
表示忽略版本检查提示框,HBuilderX
1.9
.
0
及以上版本支持
...
@@ -126,9 +126,9 @@
...
@@ -126,9 +126,9 @@
},
},
"splashscreen"
:
{
"splashscreen"
:
{
"android"
:
{
"android"
:
{
"hdpi"
:
"C:/Users/Administrator/Desktop/
证书/d0abce82961b508e6a0b9924d15fe86
.png"
,
"hdpi"
:
"C:/Users/Administrator/Desktop/
da/6b51802bba0a32ac69392831b1fc324
.png"
,
"xhdpi"
:
"C:/Users/Administrator/Desktop/
证书/d0abce82961b508e6a0b9924d15fe86
.png"
,
"xhdpi"
:
"C:/Users/Administrator/Desktop/
da/6b51802bba0a32ac69392831b1fc324
.png"
,
"xxhdpi"
:
"C:/Users/Administrator/Desktop/
证书/d0abce82961b508e6a0b9924d15fe86
.png"
"xxhdpi"
:
"C:/Users/Administrator/Desktop/
da/6b51802bba0a32ac69392831b1fc324
.png"
},
},
"ios"
:
{
"ios"
:
{
"iphone"
:
{
"iphone"
:
{
...
...
pages/addEditEleProduct/addEditEleProduct.vue
View file @
fa4681d0
...
@@ -341,6 +341,7 @@
...
@@ -341,6 +341,7 @@
},
},
data
()
{
data
()
{
return
{
return
{
linkage_id
:
''
,
linkage_id
:
''
,
is_datashow
:
true
,
is_datashow
:
true
,
bools
:
''
,
bools
:
''
,
...
@@ -429,7 +430,13 @@
...
@@ -429,7 +430,13 @@
{}
{}
],
],
isShow
:
false
,
isShow
:
false
,
chindformList
:[],
chindformList
:[],
myProps
:{
label
:
'
cate_name
'
,
value
:
'
cate_id
'
,
children
:
''
,
},
//上传图片相关的
//上传图片相关的
c_pics
:
[],
c_pics
:
[],
c_pics1
:[],
c_pics1
:[],
...
@@ -731,7 +738,6 @@
...
@@ -731,7 +738,6 @@
},
},
confirm
(
e
){
confirm
(
e
){
console
.
log
(
this
.
chindformList
);
return
;
this
.
cate_name
=
e
.
item
.
cate_name
;
this
.
cate_name
=
e
.
item
.
cate_name
;
this
.
form
.
cate_id
=
e
.
item
.
cate_id
;
this
.
form
.
cate_id
=
e
.
item
.
cate_id
;
this
.
index
=
e
.
index
;
this
.
index
=
e
.
index
;
...
@@ -768,7 +774,8 @@
...
@@ -768,7 +774,8 @@
},
},
//修改的时候赋初始值
//修改的时候赋初始值
async
eleProductInfofun
(){
async
eleProductInfofun
(){
let
that
=
this
;
let
res
=
await
eleProductInfo
({
let
res
=
await
eleProductInfo
({
product_id
:
this
.
product_id
,
product_id
:
this
.
product_id
,
});
});
...
@@ -808,24 +815,32 @@
...
@@ -808,24 +815,32 @@
this
.
form
.
commission
=
res
.
data
.
commission
,
//返佣比例
this
.
form
.
commission
=
res
.
data
.
commission
,
//返佣比例
this
.
form
.
sell_type
=
res
.
data
.
sell_type
,
// 售卖类型
this
.
form
.
sell_type
=
res
.
data
.
sell_type
,
// 售卖类型
this
.
form
.
mandatory
=
res
.
data
.
mandatory
this
.
form
.
mandatory
=
res
.
data
.
mandatory
this
.
video_photos
=
res
.
data
.
video_photos
;
//轮播
this
.
detail_photos
=
res
.
data
.
detail_photos
;
//详情
if
(
typeof
res
.
data
.
video_photos
==
'
object
'
){
res
.
data
.
video_photos
.
map
(
item
=>
{
//轮播
this
.
video_photos
=
res
.
data
.
video_photos
;
//轮播
this
.
c_pics1
.
push
({
for
(
let
i
in
res
.
data
.
video_photos
){
code
:
0
,
this
.
c_pics1
.
push
({
data
:
item
,
code
:
0
,
msg
:
"
success
"
,
data
:
res
.
data
.
video_photos
[
i
],
time
:
"
1587101904
"
msg
:
"
success
"
,
})
time
:
"
1587101904
"
})
});
res
.
data
.
detail_photos
.
map
(
item
=>
{
//详情
}
this
.
c_pics2
.
push
({
}
code
:
0
,
data
:
item
,
msg
:
"
success
"
,
if
(
typeof
res
.
data
.
detail_photos
==
'
object
'
){
time
:
"
1587101904
"
this
.
detail_photos
=
res
.
data
.
detail_photos
;
//详情
})
for
(
let
i
in
res
.
data
.
detail_photos
){
})
this
.
c_pics2
.
push
({
code
:
0
,
data
:
res
.
data
.
detail_photos
[
i
],
msg
:
"
success
"
,
time
:
"
1587101904
"
});
}
}
//下拉分类 初始值
//下拉分类 初始值
this
.
chindformList
.
forEach
((
item
,
index
)
=>
{
this
.
chindformList
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
cate_id
==
res
.
data
.
cate_id
){
if
(
item
.
cate_id
==
res
.
data
.
cate_id
){
...
@@ -834,6 +849,8 @@
...
@@ -834,6 +849,8 @@
}
}
});
});
if
(
res
.
data
.
commodity_type
==
'
ordinary
'
)
{
if
(
res
.
data
.
commodity_type
==
'
ordinary
'
)
{
this
.
ordinary
.
map
(
item
=>
{
this
.
ordinary
.
map
(
item
=>
{
if
(
this
.
linkage_product_id
==
item
.
product_id
){
if
(
this
.
linkage_product_id
==
item
.
product_id
){
...
...
pages/eleProduct/eleProduct.vue
View file @
fa4681d0
...
@@ -230,9 +230,11 @@
...
@@ -230,9 +230,11 @@
this
.
goods_list
=
[];
this
.
goods_list
=
[];
this
.
page
=
1
;
this
.
page
=
1
;
this
.
isallshow
=
false
;
this
.
isallshow
=
false
;
this
.
tabactive
=
1
,
// this.goods_product_list();
// this.goods_product_list();
this
.
searchProduct
();
this
.
searchProduct
();
},
},
computed
:
{
computed
:
{
staticUrl
()
{
//静态资源地址
staticUrl
()
{
//静态资源地址
return
this
.
$store
.
state
.
staticUrl
;
return
this
.
$store
.
state
.
staticUrl
;
...
...
pages/index/index.vue
View file @
fa4681d0
...
@@ -368,15 +368,6 @@
...
@@ -368,15 +368,6 @@
}
}
},
},
onLoad
()
{
onLoad
()
{
getskipShop
({
type
:
'
bld
'
}).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
this
.
is_bld
=
res
.
data
.
is_bld
// this.is_bld = 1
}
})
//显示欢迎回来~
//显示欢迎回来~
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
$refs
.
Welcome
.
show
();
this
.
$refs
.
Welcome
.
show
();
...
@@ -410,6 +401,16 @@
...
@@ -410,6 +401,16 @@
// uni.stopPullDownRefresh();//结束下拉刷新
// uni.stopPullDownRefresh();//结束下拉刷新
},
},
onShow
()
{
onShow
()
{
getskipShop
({
type
:
'
bld
'
}).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
this
.
is_bld
=
res
.
data
.
is_bld
// this.is_bld = 1
}
})
this
.
storeIndexfun
();
this
.
storeIndexfun
();
...
@@ -439,7 +440,15 @@
...
@@ -439,7 +440,15 @@
activity_nucleus
(
param
).
then
(
res
=>
{
activity_nucleus
(
param
).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
this
.
$api
.
msg
(
res
.
msg
);
uni
.
showModal
({
title
:
'
提示
'
,
content
:
res
.
msg
,
showCancel
:
false
,
confirmText
:
'
确定
'
,
success
()
{
}
})
}
else
{
}
else
{
this
.
$api
.
msg
(
res
.
msg
);
this
.
$api
.
msg
(
res
.
msg
);
}
}
...
...
pages/order/order.vue
View file @
fa4681d0
...
@@ -333,6 +333,6 @@
...
@@ -333,6 +333,6 @@
}
}
.orderlist
{
.orderlist
{
padding
:
10
0upx
24upx
0
24upx
;
box-sizing
:
border-box
;
padding
:
4
0upx
24upx
0
24upx
;
box-sizing
:
border-box
;
}
}
</
style
>
</
style
>
pages/order/shoporderdetail/shoporderdetail.vue
View file @
fa4681d0
This diff is collapsed.
Click to expand it.
pages/publishActivities/activityDetail/activityDetail.vue
View file @
fa4681d0
This diff is collapsed.
Click to expand it.
pages/publishActivities/activityList/activityList.vue
View file @
fa4681d0
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<view
class=
"projuctlist"
:hidden=
"!(tabactive==1)"
>
<view
class=
"projuctlist"
:hidden=
"!(tabactive==1)"
>
<view
class=
""
v-if=
"start_activity.length>0"
>
<view
class=
""
v-if=
"start_activity.length>0"
>
<checkbox-group
>
<checkbox-group>
<!-- 单个商品 -->
<!-- 单个商品 -->
<view
class=
"itempro flex "
v-for=
"(item,index) in start_activity"
:key=
"index"
@
click=
"jumpDetail(item.activity_id)"
>
<view
class=
"itempro flex "
v-for=
"(item,index) in start_activity"
:key=
"index"
@
click=
"jumpDetail(item.activity_id)"
>
<!--
<label
class=
"ali-c"
>
<!--
<label
class=
"ali-c"
>
...
@@ -23,40 +23,43 @@
...
@@ -23,40 +23,43 @@
</label>
-->
</label>
-->
<image
class=
"thumbnail"
:src=
"staticUrl + item.picture"
mode=
""
></image>
<image
class=
"thumbnail"
:src=
"staticUrl + item.picture"
mode=
""
></image>
<view
class=
"infobox"
style=
"width: 70%;"
>
<view
class=
"infobox"
style=
"width: 70%;"
>
<view
class=
"title oneline"
style=
"height:45upx ;"
>
{{
item
.
goods_name
}}
</view>
<view
class=
"title oneline"
style=
"height:45upx ;"
>
{{
item
.
goods_name
}}
</view>
<!--
<view
class=
"time"
>
上架时间:
{{
item
.
create_time
}}
</view>
-->
<!--
<view
class=
"time"
>
上架时间:
{{
item
.
create_time
}}
</view>
-->
<view>
<view>
<view
style=
"font-size:26rpx;font-weight:bold;"
>
领取时间:
</view>
<view
style=
"font-size:26rpx;font-weight:bold;"
>
领取时间:
</view>
<view
style=
"font-size:24rpx;color:#656565"
>
{{
item
.
start
}}
—
{{
item
.
end
}}
</view>
<view
style=
"font-size:24rpx;color:#656565"
>
{{
item
.
start
}}
—
{{
item
.
end
}}
</view>
</view>
</view>
</view>
</view>
<view
class=
"btnbox flex"
>
<view
class=
"btnbox flex"
>
<!--
<view
class=
"btns btnboxdel"
@
tap=
"deleteEleProductfun(item,index)"
>
删 除
</view>
-->
<!--
<view
class=
"btns btnboxdel"
@
tap=
"deleteEleProductfun(item,index)"
>
删 除
</view>
-->
<!--
<view
class=
"btns btnboxxj"
@
tap=
"Selectiondata(item)"
v-if=
"tabactive==1 && isselect==1"
>
加入活动
</view>
-->
<!--
<view
class=
"btns btnboxxj"
@
tap=
"Selectiondata(item)"
v-if=
"tabactive==1 && isselect==1"
>
加入活动
</view>
-->
<!--
<view
class=
"btns btnboxxj"
@
tap=
"sold_outfun(item.id,1,index)"
v-else-if=
"tabactive==1"
>
下 架
</view>
-->
<!--
<view
class=
"btns btnboxxj"
@
tap=
"sold_outfun(item.id,1,index)"
v-else-if=
"tabactive==1"
>
下 架
</view>
-->
<!--
<view
class=
"btns btnboxxj"
@
tap=
"sold_outfun(item.id,0,index)"
v-show=
"tabactive==2"
>
上 架
</view>
-->
<!--
<view
class=
"btns btnboxxj"
@
tap=
"sold_outfun(item.id,0,index)"
v-show=
"tabactive==2"
>
上 架
</view>
-->
<!--
<view
class=
"btns btnboxxj"
@
click=
"setSpecs(item.product_id)"
>
规格
</view>
-->
<!--
<view
class=
"btns btnboxxj"
@
click=
"setSpecs(item.product_id)"
>
规格
</view>
-->
<view
>
<view>
<view
class=
"btnboxdel flex"
style=
"align-items: center;"
@
click.stop=
"switch1Change"
>
<view
class=
"btnboxdel flex"
style=
"align-items: center;"
@
click.stop=
"switch1Change"
>
活动开关:
<switch
:data-activity_id=
"item.activity_id"
:checked=
"item.state==1"
@
change=
"switch1Change"
/>
活动开关:
<view
class=
"btns btnboxdel"
@
tap.stop=
"tochanges(item,index)"
>
修 改
</view>
<switch
:data-activity_id=
"item.activity_id"
:checked=
"item.state==1"
@
change=
"switch1Change"
/>
<view
class=
"btns btnboxdel"
@
tap.stop=
"tochanges(item,index)"
>
修 改
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</checkbox-group>
</checkbox-group>
</view>
</view>
<view
v-if=
"start_activity.length
<
=
0
"
style=
"text-align: center;width: 100%;height:1000upx;line-height: 1000upx;font-size: 50upx;color:#8C8C8C ;"
>
<view
v-if=
"start_activity.length
<
=
0
"
style=
"text-align: center;width: 100%;height:1000upx;line-height: 1000upx;font-size: 50upx;color:#8C8C8C ;"
>
还没有人领取~~
<image
src=
"https://luma.jxdsy.cn//static/applet5/images/uts/meiyoule.png"
mode=
""
></image>
</view>
</view>
</view>
</view>
<view
class=
"projuctlist"
:hidden=
"!(tabactive==2)"
>
<view
class=
"projuctlist"
:hidden=
"!(tabactive==2)"
>
<view
class=
""
v-if=
"end_activity.length > 0"
>
<view
class=
""
v-if=
"end_activity.length > 0"
>
<checkbox-group
>
<checkbox-group>
<!-- 单个商品 -->
<!-- 单个商品 -->
<view
class=
"itempro flex "
v-for=
"(item,index) in end_activity"
:key=
"index"
@
click=
"jumpDetail(item.activity_id)"
>
<view
class=
"itempro flex "
v-for=
"(item,index) in end_activity"
:key=
"index"
@
click=
"jumpDetail(item.activity_id)"
>
<!--
<label
class=
"ali-c"
>
<!--
<label
class=
"ali-c"
>
...
@@ -86,7 +89,7 @@
...
@@ -86,7 +89,7 @@
</checkbox-group>
</checkbox-group>
</view>
</view>
<view
v-if=
"end_activity.length
<
=
0
"
style=
"text-align: center;width: 100%;height:1000upx;line-height: 1000upx;font-size: 50upx;color:#8C8C8C ;"
>
<view
v-if=
"end_activity.length
<
=
0
"
style=
"text-align: center;width: 100%;height:1000upx;line-height: 1000upx;font-size: 50upx;color:#8C8C8C ;"
>
还没有人领取~~
<image
src=
"https://luma.jxdsy.cn//static/applet5/images/uts/meiyoule.png"
mode=
""
></image>
</view>
</view>
</view>
</view>
...
@@ -109,8 +112,8 @@
...
@@ -109,8 +112,8 @@
page
:
0
,
page
:
0
,
start_activity
:
[],
start_activity
:
[],
end_activity
:
[],
end_activity
:
[],
endpages
:
0
,
endpages
:
0
,
startpages
:
0
startpages
:
0
}
}
},
},
...
@@ -130,8 +133,8 @@
...
@@ -130,8 +133,8 @@
})
})
},
},
//下拉刷新
//下拉刷新
onPullDownRefresh
(){
onPullDownRefresh
()
{
if
(
this
.
tabactive
==
1
)
{
if
(
this
.
tabactive
==
1
)
{
this
.
startpages
=
0
this
.
startpages
=
0
activity_select
({
activity_select
({
shop_id
:
this
.
shop_id
,
shop_id
:
this
.
shop_id
,
...
@@ -143,8 +146,8 @@
...
@@ -143,8 +146,8 @@
uni
.
stopPullDownRefresh
();
uni
.
stopPullDownRefresh
();
}
}
})
})
}
else
if
(
this
.
tabactive
==
2
)
{
}
else
if
(
this
.
tabactive
==
2
)
{
this
.
endpages
=
0
this
.
endpages
=
0
activity_select
({
activity_select
({
shop_id
:
this
.
shop_id
,
shop_id
:
this
.
shop_id
,
...
@@ -156,34 +159,34 @@
...
@@ -156,34 +159,34 @@
uni
.
stopPullDownRefresh
();
uni
.
stopPullDownRefresh
();
}
}
})
})
}
}
},
},
//上拉触底
//上拉触底
onReachBottom
(){
onReachBottom
()
{
if
(
this
.
tabactive
==
1
)
{
if
(
this
.
tabactive
==
1
)
{
activity_select
({
activity_select
({
shop_id
:
this
.
shop_id
,
shop_id
:
this
.
shop_id
,
page
:
++
this
.
startpages
,
page
:
++
this
.
startpages
,
is_date
:
2
is_date
:
2
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
this
.
start_activity
=
[...
this
.
start_activity
,
...
res
.
data
.
data
]
this
.
start_activity
=
[...
this
.
start_activity
,
...
res
.
data
.
data
]
}
}
})
})
}
else
if
(
this
.
tabactive
==
2
)
{
}
else
if
(
this
.
tabactive
==
2
)
{
activity_select
({
activity_select
({
shop_id
:
this
.
shop_id
,
shop_id
:
this
.
shop_id
,
page
:
++
this
.
endpages
,
page
:
++
this
.
endpages
,
is_date
:
1
is_date
:
1
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
this
.
end_activity
=
[...
this
.
this
.
end_activity
,
...
res
.
data
.
data
]
this
.
end_activity
=
[...
this
.
end_activity
,
...
res
.
data
.
data
]
}
}
})
})
}
}
},
},
onShow
()
{
onShow
()
{
...
@@ -214,10 +217,10 @@
...
@@ -214,10 +217,10 @@
},
},
methods
:
{
methods
:
{
jumpDetail
(
activity_id
){
jumpDetail
(
activity_id
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`/pages/publishActivities/activityDetail/activityDetail?activity_id=
${
activity_id
}
`
url
:
`/pages/publishActivities/activityDetail/activityDetail?activity_id=
${
activity_id
}
`
})
})
},
},
//修改活动
//修改活动
...
@@ -227,14 +230,14 @@
...
@@ -227,14 +230,14 @@
url
:
`/pages/publishActivities/publishActivity/publishActivity?id=
${
data
.
activity_id
}
&type=edit`
,
url
:
`/pages/publishActivities/publishActivity/publishActivity?id=
${
data
.
activity_id
}
&type=edit`
,
})
})
},
},
// 查找产品
// 查找产品
findEleProduct
(){
findEleProduct
()
{
},
},
switch1Change
(
e
)
{
switch1Change
(
e
)
{
if
(
e
.
type
==
'
change
'
)
{
if
(
e
.
type
==
'
change
'
)
{
console
.
log
(
e
)
console
.
log
(
e
)
if
(
e
.
detail
.
value
)
{
if
(
e
.
detail
.
value
)
{
activity_close
({
activity_close
({
...
@@ -258,10 +261,10 @@
...
@@ -258,10 +261,10 @@
}
}
})
})
}
}
}
else
{
}
else
{
return
;
return
;
}
}
},
},
//交互end
//交互end
taggletab
(
index
)
{
taggletab
(
index
)
{
...
...
pages/storeqrcode/storeqrcode.vue
View file @
fa4681d0
...
@@ -163,6 +163,7 @@
...
@@ -163,6 +163,7 @@
const
d
=
await
getSharePoster
({
const
d
=
await
getSharePoster
({
// backgroundImage:"/static/news/sjrwm.png",
// backgroundImage:"/static/news/sjrwm.png",
backgroundImage
:
this
.
statictowUrl
+
"
static/applet5/images/uts/sjrwm.png
"
,
backgroundImage
:
this
.
statictowUrl
+
"
static/applet5/images/uts/sjrwm.png
"
,
...
@@ -239,16 +240,23 @@
...
@@ -239,16 +240,23 @@
// Context.setFillStyle('black');
// Context.setFillStyle('black');
// Context.setGlobalAlpha(0.3);
// Context.setGlobalAlpha(0.3);
// Context.fillRect(0, bgObj.height - bgObj.height*0.2, bgObj.width, bgObj.height*0.2);
// Context.fillRect(0, bgObj.height - bgObj.height*0.2, bgObj.width, bgObj.height*0.2);
}
},
});
});
console
.
log
(
'
海报生成成功, 临时路径:
'
+
d
.
poster
.
tempFilePath
)
this
.
poster
.
finalPath
=
d
.
poster
.
tempFilePath
;
console
.
log
(
'
海报生成成功, 临时路径:
'
+
d
.
poster
.
tempFilePath
)
this
.
poster
.
finalPath
=
d
.
poster
.
tempFilePath
;
console
.
log
(
this
.
poster
.
finalPath
)
}
}
this
.
qrShow
=
true
;
this
.
qrShow
=
true
;
}
catch
(
e
)
{
}
catch
(
e
)
{
_app
.
hideLoading
();
_app
.
hideLoading
();
_app
.
showToast
(
JSON
.
stringify
(
e
));
_app
.
showToast
(
JSON
.
stringify
(
e
));
console
.
log
(
JSON
.
stringify
(
e
));
console
.
log
(
JSON
.
stringify
(
e
));
console
.
log
(
'
海报生成成功, 临时路径:
'
+
d
.
poster
.
tempFilePath
)
}
}
},
},
saveImage
()
{
saveImage
()
{
...
@@ -278,7 +286,9 @@
...
@@ -278,7 +286,9 @@
}
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.hideCanvasView
{
.hideCanvasView
{
...
...
utils/api/merchant.js
View file @
fa4681d0
...
@@ -38,12 +38,12 @@ export function getActivityList(data){
...
@@ -38,12 +38,12 @@ export function getActivityList(data){
//判断商家类型 商品入库
//判断商家类型 商品入库
export
function
getskipShop
(
data
){
export
function
getskipShop
(
data
){
return
request
.
post
(
"
/
user/skipShop
"
,
data
,
{
noAuth
:
true
});
return
request
.
post
(
"
user/skipShop
"
,
data
,
{
noAuth
:
true
});
}
}
//获取分类 列表
//获取分类 列表
export
function
getshopclass
(
data
){
export
function
getshopclass
(
data
){
return
request
.
post
(
"
/
ele/weigh
"
,
data
,
{
noAuth
:
true
});
return
request
.
post
(
"
ele/weigh
"
,
data
,
{
noAuth
:
true
});
}
}
...
@@ -52,7 +52,7 @@ export function getshopclass(data){
...
@@ -52,7 +52,7 @@ export function getshopclass(data){
*/
*/
//获取分类 列表
//获取分类 列表
export
function
activity_nucleus
(
data
){
export
function
activity_nucleus
(
data
){
return
request
.
post
(
"
/
ele/activity_nucleus
"
,
data
,
{
noAuth
:
true
});
return
request
.
post
(
"
ele/activity_nucleus
"
,
data
,
{
noAuth
:
true
});
}
}
/**
/**
...
@@ -60,7 +60,7 @@ export function activity_nucleus(data){
...
@@ -60,7 +60,7 @@ export function activity_nucleus(data){
* @param {Object} data
* @param {Object} data
*/
*/
export
function
activity_add
(
data
){
export
function
activity_add
(
data
){
return
request
.
post
(
"
/
ele/activity_add
"
,
data
,
{
noAuth
:
true
});
return
request
.
post
(
"
ele/activity_add
"
,
data
,
{
noAuth
:
true
});
}
}
/**
/**
...
@@ -68,7 +68,7 @@ export function activity_add(data){
...
@@ -68,7 +68,7 @@ export function activity_add(data){
* @param {Object} data
* @param {Object} data
*/
*/
export
function
activity_select
(
data
){
export
function
activity_select
(
data
){
return
request
.
post
(
"
/
ele/activity_select
"
,
data
,
{
noAuth
:
true
});
return
request
.
post
(
"
ele/activity_select
"
,
data
,
{
noAuth
:
true
});
}
}
/**
/**
...
@@ -76,7 +76,7 @@ export function activity_select(data){
...
@@ -76,7 +76,7 @@ export function activity_select(data){
* @param {Object} data
* @param {Object} data
*/
*/
export
function
activity_close
(
data
){
export
function
activity_close
(
data
){
return
request
.
post
(
"
/
ele/activity_close
"
,
data
,
{
noAuth
:
true
});
return
request
.
post
(
"
ele/activity_close
"
,
data
,
{
noAuth
:
true
});
}
}
/**
/**
...
@@ -84,7 +84,7 @@ export function activity_close(data){
...
@@ -84,7 +84,7 @@ export function activity_close(data){
* @param {} data
* @param {} data
*/
*/
export
function
activity_find
(
data
){
export
function
activity_find
(
data
){
return
request
.
post
(
"
/
ele/activity_find
"
,
data
,
{
noAuth
:
true
});
return
request
.
post
(
"
ele/activity_find
"
,
data
,
{
noAuth
:
true
});
}
}
...
@@ -93,7 +93,7 @@ export function activity_find(data){
...
@@ -93,7 +93,7 @@ export function activity_find(data){
* @param {} data
* @param {} data
*/
*/
export
function
activity_user
(
data
){
export
function
activity_user
(
data
){
return
request
.
post
(
"
/
ele/activity_user
"
,
data
,
{
noAuth
:
true
});
return
request
.
post
(
"
ele/activity_user
"
,
data
,
{
noAuth
:
true
});
}
}
...
@@ -102,5 +102,5 @@ export function activity_user(data){
...
@@ -102,5 +102,5 @@ export function activity_user(data){
* @param {} data
* @param {} data
*/
*/
export
function
activity_update
(
data
){
export
function
activity_update
(
data
){
return
request
.
post
(
"
/
ele/activity_update
"
,
data
,
{
noAuth
:
true
});
return
request
.
post
(
"
ele/activity_update
"
,
data
,
{
noAuth
:
true
});
}
}
\ No newline at end of file
utils/debug.js
View file @
fa4681d0
...
@@ -8,14 +8,10 @@ module.exports = {
...
@@ -8,14 +8,10 @@ module.exports = {
// isdebug:true,//测试
// isdebug:true,//测试
// xqdebug:false,//正式权限
// xqdebug:false,//正式权限
xqdebug
:
true
,
//发布审核权限 也是测试环境的 主要用于ios
xqdebug
:
true
,
//发布审核权限 也是测试环境的 主要用于ios
// #ifdef APP-PLUS
/**
// isdebug:false,//正式 APP里面绝对是正式
* PS
// #endif
*
* 正式环境 选 false !
* 本地开发环境 选 true
*
* */
}
}
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