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
b2201208
Commit
b2201208
authored
Dec 14, 2020
by
haitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fd
parent
6f59df4d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
18 deletions
+32
-18
manifest.json
manifest.json
+2
-2
pages/addEditEleProduct/addEditEleProduct.vue
pages/addEditEleProduct/addEditEleProduct.vue
+14
-7
pages/index/index.vue
pages/index/index.vue
+2
-2
pages/publishActivities/activityDetail/activityDetail.vue
pages/publishActivities/activityDetail/activityDetail.vue
+12
-5
utils/debug.js
utils/debug.js
+2
-2
No files found.
manifest.json
View file @
b2201208
...
...
@@ -3,8 +3,8 @@
//
"appid"
:
"__UNI__FC9419E"
,
"appid"
:
"__UNI__1EA80F1"
,
//这个是
web
的
"description"
:
"商家"
,
"versionName"
:
"1.0.9
6
"
,
"versionCode"
:
19
6
,
"versionName"
:
"1.0.9
9
"
,
"versionCode"
:
19
9
,
"transformPx"
:
false
,
"compatible"
:
{
"ignoreVersion"
:
true
,
//
true
表示忽略版本检查提示框,HBuilderX
1.9
.
0
及以上版本支持
...
...
pages/addEditEleProduct/addEditEleProduct.vue
View file @
b2201208
...
...
@@ -390,10 +390,6 @@
checked
:
'
2
'
}],
ischeckedtime
:[
0
],
//默认选中,
myProps
:
{
label
:
'
cate_name
'
,
value
:
'
cate_id
'
,
},
name
:
'
product
'
,
result
:[],
form
:
{
...
...
@@ -452,13 +448,16 @@
activity_type
:
""
,
//判断是否可以秒杀
seckilltimelist
:[],
//秒杀时段列表
selchildList
:[],
cate_name
:
""
,
index
:
0
,
isScanCode
:
true
,
//是不是点击了扫码
codeDisabled
:
false
,
//条形码是否能输入
update
:
true
,
detail_photos
:[],
//详情图片
video_photos
:[],
//轮播图片
video_photos
:[],
//轮播图片
cate_name
:
""
,
//分类名
}
},
computed
:
{
...
...
@@ -766,6 +765,14 @@
product_id
:
this
.
product_id
,
});
if
(
res
.
code
==
0
){
this
.
form
.
cate_id
=
res
.
data
.
cate_id
;
//分类id
for
(
var
i
=
0
;
i
<
this
.
chindformList
.
length
;
i
++
)
{
if
(
this
.
chindformList
[
i
].
cate_id
==
res
.
data
.
cate_id
){
this
.
cate_name
=
this
.
chindformList
[
i
].
cate_name
;
break
;
}
}
this
.
linkage_product_id
=
res
.
data
.
linkage_product_id
this
.
bools
=
res
.
data
.
product_name
;
this
.
defaultinfo
=
res
.
data
;
...
...
@@ -776,7 +783,7 @@
this
.
form
.
photo
=
res
.
data
.
photo
;
//图片
this
.
form
.
activity_price
=
res
.
data
.
activity_price
//秒杀价
this
.
form
.
store_count
=
res
.
data
.
store_count
//秒杀库存
this
.
form
.
cate_id
=
res
.
data
.
cate_id
;
//分类id
this
.
form
.
activity_id
=
res
.
data
.
activity_id
//秒杀时段id
this
.
form
.
limit_num
=
res
.
data
.
limit_num
this
.
form
.
specifications
=
res
.
data
.
gram
...
...
pages/index/index.vue
View file @
b2201208
...
...
@@ -186,7 +186,7 @@
</navigator>
</view>
<view
class=
"jiu_max"
>
<view
class=
"jiu_max"
v-if=
"shop_type == 'goods'"
>
<!-- 商城订单 -->
<navigator
url=
"/pages/order/shopOrder"
>
<view
class=
"jiu_min"
>
...
...
@@ -564,7 +564,7 @@
this
.
is_luck_draw
=
res
.
data
.
shop_info
.
is_luck_draw
this
.
money_type
=
res
.
data
.
shop_info
.
money_type
this
.
activity_type
=
res
.
data
.
shop_info
.
activity_type
//判断是否有秒杀资格
console
.
log
(
this
.
shop_type
,
'
aa
'
)
}
else
{
this
.
$api
.
msg
(
res
.
msg
);
}
...
...
pages/publishActivities/activityDetail/activityDetail.vue
View file @
b2201208
...
...
@@ -2,7 +2,7 @@
<view>
<view
class=
""
>
<view
class=
""
style=
"text-align: center;height: 120upx;line-height: 120upx;font-weight: bold;font-size: 32upx;"
>
以有
<text
style=
"color: #21B94C;font-size: 60upx;"
>
150
</text>
人领取 还剩50
人未领取
以有
<text
style=
"color: #21B94C;font-size: 60upx;"
>
{{
receivePeopleNumber
}}
</text>
人领取 还剩
{{
unreceivePeopleNumber
}}
人未领取
</view>
</view>
<view
class=
""
style=
"height: 160upx;padding: 0 24upx;background-color: rgb(255, 255, 255);margin-bottom: 20upx;"
v-if=
"getDetail.length > 0 "
v-for=
"(item,index) in getDetail"
>
...
...
@@ -51,11 +51,12 @@
shop_id
:
''
,
activity_id
:
''
,
getDetail
:[],
page
:
1
page
:
1
,
receivePeopleNumber
:
0
,
unreceivePeopleNumber
:
0
,
}
},
onReachBottom
()
{
console
.
log
(
'
触底加载
'
);
activity_user
({
shop_id
:
this
.
shop_id
,
activity_id
:
this
.
activity_id
,
...
...
@@ -64,7 +65,9 @@
}).
then
(
res
=>
{
if
(
res
.
code
==
0
&&
res
.
data
.
list
.
length
>
0
){
this
.
page
++
this
.
getDetail
=
res
.
data
.
list
this
.
getDetail
=
res
.
data
.
list
;
this
.
receivePeopleNumber
=
res
.
data
.
receivePeopleNumber
;
this
.
unreceivePeopleNumber
=
res
.
data
.
unreceivePeopleNumber
;
uni
.
stopPullDownRefresh
();
}
else
{
uni
.
$api
.
msg
(
'
没有更多数据了
'
)
...
...
@@ -81,6 +84,8 @@
}).
then
(
res
=>
{
if
(
res
.
code
==
0
){
this
.
getDetail
=
res
.
data
.
list
this
.
receivePeopleNumber
=
res
.
data
.
receivePeopleNumber
;
this
.
unreceivePeopleNumber
=
res
.
data
.
unreceivePeopleNumber
;
uni
.
stopPullDownRefresh
();
}
})
...
...
@@ -102,7 +107,9 @@
nucleus
:
1
}).
then
(
res
=>
{
if
(
res
.
code
==
0
){
this
.
getDetail
=
res
.
data
.
list
this
.
getDetail
=
res
.
data
.
list
;
this
.
receivePeopleNumber
=
res
.
data
.
receivePeopleNumber
;
this
.
unreceivePeopleNumber
=
res
.
data
.
unreceivePeopleNumber
;
}
})
...
...
utils/debug.js
View file @
b2201208
...
...
@@ -4,8 +4,8 @@ module.exports = {
//是否为开发调试环境 true为本地环境 false 为正式环境
//
isdebug:false,//正式
isdebug
:
true
,
//测试
isdebug
:
false
,
//正式
//
isdebug:true,//测试
// xqdebug:false,//正式权限
xqdebug
:
true
,
//发布审核权限 也是测试环境的 主要用于ios
...
...
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