Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
ce9f21ee
Commit
ce9f21ee
authored
Aug 24, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
c8a77a09
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
67 additions
and
61 deletions
+67
-61
shopinfo.vue
components/shopinfo/shopinfo.vue
+9
-3
index.vue
pages/index/index.vue
+58
-58
No files found.
components/shopinfo/shopinfo.vue
View file @
ce9f21ee
...
...
@@ -7,8 +7,8 @@
<view
style=
"display: flex;flex-direction: row;align-items: center;"
>
<u-avatar
:src=
"shopData.Logo"
size=
"100"
slot=
"addBtn"
></u-avatar>
<view
class=
"shopbox_l_text"
>
<text
class=
"item_text"
:style=
"
{'font-size': '30rpx','color': ad.fontColor,'font-size':'Bold'}">
{{
shopData
.
Name
}}
</text>
<text
class=
"item_text"
:style=
"
{'font-size': '24rpx','color': ad.fontColor,}">
{{
shopData
.
Notice
}}
</text>
<text
class=
"item_text"
:style=
"
{'font-size': '30rpx','color': ad.fontColor,'font-size':'Bold'}">
{{
shopData
.
Name
?
shopData
.
Name
:
''
}}
</text>
<text
class=
"item_text"
:style=
"
{'font-size': '24rpx','color': ad.fontColor,}">
{{
shopData
.
Notice
?
shopData
.
Notice
:
''
}}
</text>
</view>
</view>
<button
class=
"fx"
open-type=
"share"
>
...
...
@@ -36,8 +36,9 @@ export default {
this
.
Id
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserSmallShopId
:
0
;
if
(
this
.
Id
!=
0
){
this
.
getSmallShopById
()
console
.
log
(
this
.
ad
,
'this.ad'
)
}
console
.
log
(
this
.
ad
,
'this.ad'
)
},
methods
:{
...
...
@@ -48,6 +49,7 @@ export default {
url
:
'/api/AppletUser/GetSmallShopById'
,
data
:
{
Id
:
this
.
Id
// Id: 5
}
},
res
=>
{
...
...
@@ -88,6 +90,10 @@ export default {
padding
:
0
;
margin
:
0
;
line-height
:
unset
;
background
:
none
;
}
.Sbox
button
:after
{
border
:
none
;
}
.Sbox
.item_text
{
font-size
:
24
rpx
;
color
:
#878787
;
width
:
100%
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
...
...
pages/index/index.vue
View file @
ce9f21ee
...
...
@@ -559,64 +559,64 @@ export default {
y
.
templateBg
=
{
titleColor
:
"#000"
};
}
});
this
.
myPageData
.
home_pages
.
navs
[
0
].
template
.
data
.
push
({
id
:
"pintuan"
,
permission_key
:
"pintuan"
,
data
:
{
buttonColor
:
"#ff4544"
,
list
:
[
{
id
:
179402
,
name
:
"日本POLA宝丽黑BA限定小礼盒(黑ba水20ml +黑ba乳液15ml +黑ba面霜5g +黑ba唇颊膏2g)"
,
picUrl
:
"https://cdnimg.iotweixin.com/uploads/mall1285/20200506/904171cab7db2201f6f35c0ca5bb0a93.png"
,
price
:
"388.00"
,
peopleNum
:
2
,
pintuanPrice
:
"348.00"
,
},
{
id
:
178355
,
name
:
"日本珂润(Curel)润浸保湿 滋养乳霜 40g 敏感肌专用 神经酰胺护理 抵抗外部刺激"
,
picUrl
:
"https://cdnimg.iotweixin.com/uploads/mall1285/20200503/979653726a7bc1df0e24464f94b404bd.jpg"
,
price
:
"180.00"
,
peopleNum
:
2
,
pintuanPrice
:
"180.00"
,
},
{
id
:
178352
,
name
:
"500g 干羊肚菌 干货 煲汤菌 菌中之王 包邮"
,
picUrl
:
"https://cdnimg.iotweixin.com/uploads/mall1285/20200311/358dd9acf5dafd3cab2c05be3354400c.png"
,
price
:
"780.00"
,
peopleNum
:
3
,
pintuanPrice
:
"680.00"
,
},
],
listStyle
:
1
,
textStyle
:
1
,
fill
:
1
,
goodsCoverProportion
:
"1-1"
,
goodsStyle
:
1
,
showGoodsName
:
true
,
showBuyBtn
:
true
,
buyBtnStyle
:
1
,
buyBtnText
:
"去拼团"
,
showGoodsTag
:
false
,
customizeGoodsTag
:
false
,
goodsTagPicUrl
:
""
,
showImg
:
false
,
backgroundColor
:
"#fff"
,
backgroundPicUrl
:
""
,
position
:
5
,
mode
:
1
,
backgroundHeight
:
100
,
backgroundWidth
:
100
,
borderBackground
:
"#ffffff"
,
},
});
//
this.myPageData.home_pages.navs[0].template.data.push({
//
id: "pintuan",
//
permission_key: "pintuan",
//
data: {
//
buttonColor: "#ff4544",
//
list: [
//
{
//
id: 179402,
//
name:
//
"日本POLA宝丽黑BA限定小礼盒(黑ba水20ml +黑ba乳液15ml +黑ba面霜5g +黑ba唇颊膏2g)",
//
picUrl:
//
"https://cdnimg.iotweixin.com/uploads/mall1285/20200506/904171cab7db2201f6f35c0ca5bb0a93.png",
//
price: "388.00",
//
peopleNum: 2,
//
pintuanPrice: "348.00",
//
},
//
{
//
id: 178355,
//
name:
//
"日本珂润(Curel)润浸保湿 滋养乳霜 40g 敏感肌专用 神经酰胺护理 抵抗外部刺激",
//
picUrl:
//
"https://cdnimg.iotweixin.com/uploads/mall1285/20200503/979653726a7bc1df0e24464f94b404bd.jpg",
//
price: "180.00",
//
peopleNum: 2,
//
pintuanPrice: "180.00",
//
},
//
{
//
id: 178352,
//
name: "500g 干羊肚菌 干货 煲汤菌 菌中之王 包邮",
//
picUrl:
//
"https://cdnimg.iotweixin.com/uploads/mall1285/20200311/358dd9acf5dafd3cab2c05be3354400c.png",
//
price: "780.00",
//
peopleNum: 3,
//
pintuanPrice: "680.00",
//
},
//
],
//
listStyle: 1,
//
textStyle: 1,
//
fill: 1,
//
goodsCoverProportion: "1-1",
//
goodsStyle: 1,
//
showGoodsName: true,
//
showBuyBtn: true,
//
buyBtnStyle: 1,
//
buyBtnText: "去拼团",
//
showGoodsTag: false,
//
customizeGoodsTag: false,
//
goodsTagPicUrl: "",
//
showImg: false,
//
backgroundColor: "#fff",
//
backgroundPicUrl: "",
//
position: 5,
//
mode: 1,
//
backgroundHeight: 100,
//
backgroundWidth: 100,
//
borderBackground: "#ffffff",
//
},
//
});
},
getReceive
()
{
//分享进入调取领券接口
...
...
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