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
c07f7c05
Commit
c07f7c05
authored
Aug 26, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
57eec44c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
444 additions
and
198 deletions
+444
-198
index.vue
components/pubu/index.vue
+257
-138
index.vue
components/tabbar/index.vue
+90
-31
postDetails2.vue
pages/blindDate/postDetails2.vue
+44
-5
postbar.vue
pages/blindDate/postbar.vue
+37
-9
index.vue
pages/index/index.vue
+16
-15
No files found.
components/pubu/index.vue
View file @
c07f7c05
This diff is collapsed.
Click to expand it.
components/tabbar/index.vue
View file @
c07f7c05
...
@@ -94,44 +94,101 @@
...
@@ -94,44 +94,101 @@
bottom
:
10
upx
;
bottom
:
10
upx
;
border-radius
:
150
upx
;
border-radius
:
150
upx
;
}
}
/* ----------------不显示图标导航样式-------------- */
.txtBtn2
{
font-size
:
26
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#b2b3b4
;
}
.activeTxtBtn2
{
font-size
:
32
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
800
;
/* color: #111111; */
}
</
style
>
</
style
>
<
template
>
<
template
>
<view
v-if=
"isShowIcon === 1"
>
<view>
<view
<view
v-if=
"isShowIcon === 1"
>
class=
"tabbarMain"
<view
:class=
"[flagTypeInfo ? 'tabbarMainIphone' : '']"
class=
"tabbarMain"
v-if=
"navs && navs.length > 0"
:class=
"[flagTypeInfo ? 'tabbarMainIphone' : '']"
>
v-if=
"navs && navs.length > 0"
>
<view
class=
"tabBtnMina"
:class=
"[flagTypeInfo ? 'tabBtnMinaIphone' : '']"
mode=
""
>
<view
class=
"itmMain"
v-for=
"(x, i) in navs"
:key=
"i"
@
click
.
stop=
"goUrl(x.url)"
>
<image
class=
"imgse"
:fade-show=
"false"
v-if=
"active != i"
mode=
"heightFix"
:src=
"x.icon"
></image>
<image
class=
"imgse"
:fade-show=
"false"
v-if=
"active === i"
mode=
"heightFix"
:src=
"x.active_icon"
></image>
<text
class=
"txtBtn"
:style=
"
{ color: active == i ? x.active_color : x.color }"
>
{{
x
.
text
}}
</text
>
</view>
</view>
</view>
</view>
<view
v-if=
"isShowIcon === 0"
>
<view
<view
class=
"tab
BtnMina
"
class=
"tab
barMain
"
:class=
"[flagTypeInfo ? 'tab
BtnMina
Iphone' : '']"
:class=
"[flagTypeInfo ? 'tab
barMain
Iphone' : '']"
mode=
"
"
v-if=
"navs && navs.length > 0
"
>
>
<view
<view
class=
"itmMain"
class=
"tabBtnMina"
v-for=
"(x, i) in navs"
:class=
"[flagTypeInfo ? 'tabBtnMinaIphone' : '']"
:key=
"i"
mode=
""
@
click
.
stop=
"goUrl(x.url)"
>
>
<image
<view
class=
"imgse"
class=
"itmMain"
:fade-show=
"false"
v-for=
"(x, i) in navs"
v-if=
"active != i"
:key=
"i"
mode=
"heightFix"
@
click
.
stop=
"goUrl(x.url)"
:src=
"x.icon"
></image>
<image
class=
"imgse"
:fade-show=
"false"
v-if=
"active === i"
mode=
"heightFix"
:src=
"x.active_icon"
></image>
<text
class=
"txtBtn"
:style=
"
{ color: active == i ? x.active_color : x.color }"
>
{{
x
.
text
}}
</text
>
>
<!--
<image
class=
"imgse"
:fade-show=
"false"
v-if=
"active != i"
mode=
"heightFix"
:src=
"x.icon"
></image>
<image
class=
"imgse"
:fade-show=
"false"
v-if=
"active === i"
mode=
"heightFix"
:src=
"x.active_icon"
></image>
-->
<text
class=
"txtBtn"
:class=
"
{ activeTxtBtn2: active == i }"
:style="{ color: active == i ? x.active_color : x.color }"
>
{{
x
.
text
}}
</text
>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -156,6 +213,8 @@ export default {
...
@@ -156,6 +213,8 @@ export default {
let
data
=
uni
.
getStorageSync
(
"basedata"
);
let
data
=
uni
.
getStorageSync
(
"basedata"
);
if
(
data
)
{
if
(
data
)
{
this
.
isShowIcon
=
data
.
navbar
.
isShowIcon
;
this
.
isShowIcon
=
data
.
navbar
.
isShowIcon
;
}
else
{
this
.
isShowIcon
=
1
;
}
}
},
},
mounted
()
{
mounted
()
{
...
...
pages/blindDate/postDetails2.vue
View file @
c07f7c05
...
@@ -581,6 +581,8 @@
...
@@ -581,6 +581,8 @@
align-items: center;
align-items: center;
font-weight: bold;
font-weight: bold;
margin-top: 15px;
margin-top: 15px;
box-sizing: border-box;
padding: 0 30rpx;
"
"
>
>
<text>
评论
</text>
<text>
评论
</text>
...
@@ -588,7 +590,10 @@
...
@@ -588,7 +590,10 @@
</view>
</view>
<u-empty
v-if=
"g.length == 0"
text=
"暂无回复"
mode=
"list"
></u-empty>
<u-empty
v-if=
"g.length == 0"
text=
"暂无回复"
mode=
"list"
></u-empty>
<view
v-if=
"g.length > 0"
>
<view
v-if=
"g.length > 0"
style=
"box-sizing: border-box; padding: 0 30rpx"
>
<view
v-for=
"(x, i) in g"
:key=
"i"
style=
"width: 100%"
>
<view
v-for=
"(x, i) in g"
:key=
"i"
style=
"width: 100%"
>
<view
<view
class=
"pl-top"
class=
"pl-top"
...
@@ -1267,7 +1272,6 @@ export default {
...
@@ -1267,7 +1272,6 @@ export default {
(
res
)
=>
{
(
res
)
=>
{
this
.
ReplyNum
=
res
.
data
.
totalCount
;
this
.
ReplyNum
=
res
.
data
.
totalCount
;
this
.
commentData
=
res
.
data
;
this
.
commentData
=
res
.
data
;
console
.
log
(
1155
,
this
.
commentData
);
}
}
);
);
},
},
...
@@ -1738,7 +1742,25 @@ export default {
...
@@ -1738,7 +1742,25 @@ export default {
icon
:
"none"
,
icon
:
"none"
,
});
});
// this.init(1);
// this.init(1);
// this.getActivityInfo();
if
(
type
===
1
)
{
this
.
getCount
();
}
else
{
this
.
request2
(
{
url
:
"/api/AppletMiai/GetActivityDiscussPageList"
,
data
:
this
.
msg
,
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
g
=
res
.
data
.
pageData
;
this
.
page_count
=
res
.
data
.
pageCount
;
if
(
this
.
page_count
==
1
)
{
this
.
status
=
"nomore"
;
}
}
}
);
}
}
}
}
}
);
);
...
@@ -1771,8 +1793,25 @@ export default {
...
@@ -1771,8 +1793,25 @@ export default {
duration
:
2000
,
duration
:
2000
,
icon
:
"none"
,
icon
:
"none"
,
});
});
// this.init(1);
if
(
type
===
1
)
{
// this.getActivityInfo();
this
.
getCount
();
}
else
{
this
.
request2
(
{
url
:
"/api/AppletMiai/GetActivityDiscussPageList"
,
data
:
this
.
msg
,
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
g
=
res
.
data
.
pageData
;
this
.
page_count
=
res
.
data
.
pageCount
;
if
(
this
.
page_count
==
1
)
{
this
.
status
=
"nomore"
;
}
}
}
);
}
}
}
}
}
);
);
...
...
pages/blindDate/postbar.vue
View file @
c07f7c05
...
@@ -174,7 +174,7 @@
...
@@ -174,7 +174,7 @@
</view>
</view>
<view
class=
"right"
>
<view
class=
"right"
>
<view
class=
"activetitle"
>
{{
x
.
ActivityTitle
}}
</view>
<view
class=
"activetitle"
>
{{
x
.
ActivityTitle
}}
</view>
<view
class=
"Content"
v-html=
"x.Content"
>
</view>
<view
class=
"Content"
>
{{
x
.
LabelList
.
join
(
","
)
}}
</view>
<view
class=
"hot"
v-if=
"x.HotCommentList.length > 0"
>
<view
class=
"hot"
v-if=
"x.HotCommentList.length > 0"
>
<view
class=
"hotTag"
>
人气点评
</view>
<view
class=
"hotTag"
>
人气点评
</view>
<view
class=
"hotCon"
>
{{
x
.
HotCommentList
[
0
].
Comment
}}
</view>
<view
class=
"hotCon"
>
{{
x
.
HotCommentList
[
0
].
Comment
}}
</view>
...
@@ -197,7 +197,12 @@
...
@@ -197,7 +197,12 @@
<view
style=
"width: 100%; height: 50px"
></view>
<view
style=
"width: 100%; height: 50px"
></view>
</scroll-view>
</scroll-view>
</view>
</view>
<view
class=
"release"
v-if=
"isFaTie == 1"
@
click
.
stop=
"gopublishing()"
>
<view
class=
"release"
v-if=
"isFaTie == 1"
@
click
.
stop=
"gopublishing()"
style=
"display: none"
>
<!--
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/pp-fabu.png"
style=
"width: 100%;height: 100%;"
></image>
-->
<!--
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/pp-fabu.png"
style=
"width: 100%;height: 100%;"
></image>
-->
<!-- 发布动态按钮 -->
<!-- 发布动态按钮 -->
<view
class=
"fbanniu"
>
<view
class=
"fbanniu"
>
...
@@ -479,14 +484,36 @@ export default {
...
@@ -479,14 +484,36 @@ export default {
this
.
isShowFabu
=
!
this
.
isShowFabu
;
this
.
isShowFabu
=
!
this
.
isShowFabu
;
},
},
jumpfabu
(
type
)
{
jumpfabu
(
type
)
{
if
(
type
===
1
)
{
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
uni
.
navigateTo
({
if
(
!
this
.
u
)
{
url
:
"/pages/blindDate/releasePosts"
,
this
.
u
=
{
});
nickName
:
"未登录"
,
avatarUrl
:
""
,
};
this
.
showAuth
=
true
;
}
else
{
}
else
{
uni
.
navigateTo
({
if
(
this
.
isAttestation
==
1
)
{
url
:
"/pages/blindDate/postPublishing"
,
//判断是否认证了
});
// uni.navigateTo({
// url: "/pages/blindDate/postPublishing?ForumId=" + this.msg.ForumId,
// });
if
(
type
===
1
)
{
uni
.
navigateTo
({
url
:
"/pages/blindDate/releasePosts"
,
});
}
else
{
uni
.
navigateTo
({
url
:
"/pages/blindDate/postPublishing?ForumId="
+
this
.
msg
.
ForumId
,
});
}
}
else
if
(
this
.
isAttestation
==
0
)
{
this
.
show
=
true
;
this
.
showtext
=
"还未认证,是否去认证?"
;
}
else
if
(
this
.
isAttestation
==
2
)
{
this
.
show
=
true
;
this
.
showtext
=
"还未上传身份证信息,是否去上传?"
;
}
}
}
},
},
},
},
...
@@ -763,6 +790,7 @@ export default {
...
@@ -763,6 +790,7 @@ export default {
position
:
absolute
;
position
:
absolute
;
top
:
60rpx
;
top
:
60rpx
;
right
:
30rpx
;
right
:
30rpx
;
z-index
:
999
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
20rpx
;
padding
:
0
20rpx
;
.tiezi
,
.tiezi
,
...
...
pages/index/index.vue
View file @
c07f7c05
...
@@ -200,19 +200,20 @@
...
@@ -200,19 +200,20 @@
v-if=
"d.id == 'miaiactivityCustom'"
v-if=
"d.id == 'miaiactivityCustom'"
:goods=
"d.data"
:goods=
"d.data"
></miaiactivityCustom>
></miaiactivityCustom>
<!-- 瀑布流组件 -->
<!-- 瀑布流组件 -->
<Pubu
<Pubu
v-if=
"d.id == 'blindDatePPPlus'"
v-if=
"d.id == 'blindDatePPPlus'"
:dataObj=
"d.data"
:dataObj=
"d.data"
></Pubu>
@
refresh=
"refreshPage"
></Pubu>
</
template
>
</
template
>
</view>
</view>
</template>
</template>
<view
v-if=
"showtabs == true"
>
<view
v-if=
"showtabs == true"
>
<tabbar></tabbar>
<tabbar></tabbar>
</view>
</view>
<view
<view
class=
"tips_t"
class=
"tips_t"
v-if=
"
v-if=
"
...
@@ -333,7 +334,7 @@ export default {
...
@@ -333,7 +334,7 @@ export default {
orderPopupdata
:
{},
//离线收益的弹窗
orderPopupdata
:
{},
//离线收益的弹窗
showorder
:
false
,
//显示弹出
showorder
:
false
,
//显示弹出
carrierType
:
""
,
//载体type
carrierType
:
""
,
//载体type
AppletID
:
0
,
//判断小程序的id,相亲:11
AppletID
:
0
,
//判断小程序的id,相亲:11
};
};
},
},
components
:
{
components
:
{
...
@@ -371,7 +372,7 @@ export default {
...
@@ -371,7 +372,7 @@ export default {
miaiactivitytype
,
miaiactivitytype
,
miaiactivityCustom
,
miaiactivityCustom
,
orderPopup
,
orderPopup
,
Pubu
Pubu
,
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
let
that
=
this
;
let
that
=
this
;
...
@@ -622,11 +623,7 @@ export default {
...
@@ -622,11 +623,7 @@ export default {
}
}
uni
.
showNavigationBarLoading
();
uni
.
showNavigationBarLoading
();
},
},
created
()
{
created
()
{},
let
basedata
=
uni
.
getStorageSync
(
"basedata"
)?
uni
.
getStorageSync
(
"basedata"
):
''
;
this
.
AppletID
=
basedata
.
home_pages
.
id
?
basedata
.
home_pages
.
id
:
0
;
console
.
log
(
631
,
this
.
AppletID
)
},
// #ifdef MP-WEIXIN
// #ifdef MP-WEIXIN
onShareTimeline
()
{
onShareTimeline
()
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
@@ -1541,6 +1538,11 @@ export default {
...
@@ -1541,6 +1538,11 @@ export default {
//选择取消地址
//选择取消地址
this
.
$refs
.
city
[
0
].
getPickcar
(
Name
);
this
.
$refs
.
city
[
0
].
getPickcar
(
Name
);
},
},
refreshPage
()
{
// this.init();
// this.$forceUpdate();
// console.log("tag", "刷新");
},
yj
()
{
yj
()
{
uni
.
navigateTo
({
uni
.
navigateTo
({
// url: '/pages/blindDate/persondetails?UserId=123978'
// url: '/pages/blindDate/persondetails?UserId=123978'
...
@@ -1639,5 +1641,4 @@ export default {
...
@@ -1639,5 +1641,4 @@ export default {
font-size: 36rpx;
font-size: 36rpx;
color: #8f8f94;
color: #8f8f94;
} */
} */
</
style
>
</
style
>
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