Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shop_mobile_uni
Project
Project
Details
Activity
Releases
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
郑秀明
shop_mobile_uni
Commits
69ac4ce1
Commit
69ac4ce1
authored
May 19, 2020
by
郑秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
618活动
parent
0c74a76f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
manifest.json
manifest.json
+2
-2
goodslist.vue
pages/home/components/goodslist.vue
+1
-1
home.vue
pages/home/home.vue
+3
-3
No files found.
manifest.json
View file @
69ac4ce1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"name"
:
"shop_mobile_uni"
,
"name"
:
"shop_mobile_uni"
,
"appid"
:
"__UNI__F904656"
,
"appid"
:
"__UNI__F904656"
,
"description"
:
""
,
"description"
:
""
,
"versionName"
:
"1.0.1
3
"
,
"versionName"
:
"1.0.1
1
"
,
"versionCode"
:
"100"
,
"versionCode"
:
"100"
,
"transformPx"
:
false
,
"transformPx"
:
false
,
"app-plus"
:
{
"app-plus"
:
{
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
"mode"
:
"history"
,
"mode"
:
"history"
,
"base"
:
"/uni"
"base"
:
"/uni"
},
},
"publicPath"
:
"https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/
mirror/1.0.13
/"
,
"publicPath"
:
"https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/
prod/1.0.11
/"
,
"optimization"
:
{
"optimization"
:
{
"treeShaking"
:
{
"treeShaking"
:
{
"enable"
:
true
"enable"
:
true
...
...
pages/home/components/goodslist.vue
View file @
69ac4ce1
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<text
v-if=
"style_setting.price_show"
>
¥
{{
item
.
price
}}
</text>
<text
v-if=
"style_setting.price_show"
>
¥
{{
item
.
price
}}
</text>
<i
class=
"eosfont icon_cart"
v-if=
"style_setting.cart_show"
@
click=
"$addCart(item.spec_id,1,isLogin)"
>

</i>
<i
class=
"eosfont icon_cart"
v-if=
"style_setting.cart_show"
@
click=
"$addCart(item.spec_id,1,isLogin)"
>

</i>
</view>
</view>
<view
v-else
class=
"unshow_price"
>
登录显示价
</view>
<view
v-else
class=
"unshow_price"
>
登录显示价
格
</view>
</view>
</view>
<view
v-if=
"spaceArray.length && val.length
< style
_setting
.
listType
"
v-for=
"(v, key) in spaceArray"
:key=
"key+65535"
:style=
"width ?
{'width':width+'rpx'} : ''">
</view>
<view
v-if=
"spaceArray.length && val.length
< style
_setting
.
listType
"
v-for=
"(v, key) in spaceArray"
:key=
"key+65535"
:style=
"width ?
{'width':width+'rpx'} : ''">
</view>
</swiper-item>
</swiper-item>
...
...
pages/home/home.vue
View file @
69ac4ce1
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
avatarShape
:
'square'
,
avatarShape
:
'square'
,
titleWidth
:
'100%'
titleWidth
:
'100%'
},
},
COUPON_ID
:
'
79
'
//优惠券ID
COUPON_ID
:
'
185
'
//优惠券ID
}
}
},
},
onLoad
()
{
onLoad
()
{
...
@@ -122,8 +122,8 @@
...
@@ -122,8 +122,8 @@
},
},
get_coupon
(
reg_time
){
get_coupon
(
reg_time
){
// 打开广告弹窗
// 打开广告弹窗
const
timestamp
=
new
Date
(
'2020/05/
01
00:00:00'
).
getTime
()
/
1000
;
const
timestamp
=
new
Date
(
'2020/05/
19
00:00:00'
).
getTime
()
/
1000
;
const
end_timestamp
=
new
Date
(
'2020/0
5/30
23:59:59'
).
getTime
()
/
1000
;
const
end_timestamp
=
new
Date
(
'2020/0
6/18
23:59:59'
).
getTime
()
/
1000
;
uni
.
request
({
uni
.
request
({
url
:
'/uni/api/coupon/GetCoupon'
,
url
:
'/uni/api/coupon/GetCoupon'
,
method
:
'GET'
,
method
:
'GET'
,
...
...
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