Commit 53038205 by tangjinlin

myfaq0512

parent bd55f2e8
......@@ -160,7 +160,7 @@
display: flex;
flex-direction: column;
border-radius: 10px;
box-shadow: 0 0 15px -3px rgb(0, 0, 0, 0.3);
box-shadow: 0 0 8px -3px rgb(0, 0, 0, 0.3);
}
.faqRow1 {
......@@ -170,6 +170,11 @@
margin-bottom: 10px;
}
.faqRow1 .faqCotent {
width: 80%;
word-break: break-all;
}
.newFaqButton {
position: fixed;
bottom: 0;
......
......@@ -5,7 +5,7 @@
<view bindtap='faqDetail' wx:for="{{faqList}}" class="faqItem" data-index="{{item.id}}" wx:key="{{index}}">
<view class="faqCol1">
<view class="faqContent">
<image src="/img/rpoint.png"></image>
<view></view>
<text>{{item.content}}</text>
</view>
<view class="faqReplycount">回复:{{item.reply_count}}</view>
......@@ -15,6 +15,8 @@
</view>
<view bindtap='newFaq' class="newFaqButton">立即咨询</view>
<view bindtap='newFaq' class="newFaqButton">
<view>立即咨询</view>
</view>
<van-dialog id="van-dialog" />
<van-notify id="van-notify" />
\ No newline at end of file
/* pages/myNews/myFaq.wxss */
.hotFaqs{
width:100%;
.hotFaqs {
width: 100%;
margin-top: 20px;
}
.faqItem{
width:90%;
margin-top: 10px;
margin-left: 0;
margin-right: 0;
padding:10px;
.faqItem {
width: 90%;
margin: 10px auto;
padding: 10px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
border-radius: 5px;
border: 1rpx solid gray;
border-radius: 10px;
box-shadow: 0 0 8px -3px rgb(0, 0, 0, 0.3);
}
.faqCol1{
width:82%;
.faqCol1 {
width: 82%;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: left;
}
.faqCotent{
.faqContent {
width: 100%;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
font-size: 17px;
}
.faqContent image {
.faqContent view {
background-color: #e70012;
width: 10px;
height: 10px;
border-radius: 50%;
}
.faqContent text {
margin-left: 5px;
width: 90%;
word-break:break-all;
word-break: break-all;
}
.faqReplycount{
.faqReplycount {
font-size: 14px;
margin-left: 15px;
margin-top: 10px;
}
.faqCol2{
width:17%;
.newFaqButton {
position: fixed;
bottom: 0;
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
font-size: 16px;
/* background: #fff; */
}
.newFaqButton{
position: fixed;
bottom: 10px;
height: 30px;
line-height: 30px;
border-radius: 15px;
background: linear-gradient(to right, #e85c6d, #fb689b);
color: #fff;
font-size: 14px;
.delFaqButton {
width: 20%;
height: 30px;
line-height: 30px;
text-align: center;
border-radius: 15px;
background: #ed5f77;
color: #fff;
}
.newFaqButton view {
text-align: center;
margin: 0 auto;
width: 80%;
height: 50px;
line-height: 50px;
border-radius: 25px;
margin-bottom: 10px;
background: linear-gradient(to right, #e85c6d, #fb689b);
color: #fff;
font-size: 18px;
}
\ No newline at end of file
......@@ -101,6 +101,12 @@
"pathName": "pages/faq/faq",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/myFaq/myFaq",
"pathName": "pages/myFaq/myFaq",
"scene": null
}
]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment