Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
Compass
Overview
Overview
Details
Activity
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
zong
Compass
Commits
53038205
Commit
53038205
authored
4 years ago
by
tangjinlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
myfaq0512
parent
bd55f2e8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
63 additions
and
35 deletions
+63
-35
faq.wxss
src/wx/pages/faq/faq.wxss
+6
-1
myFaq.wxml
src/wx/pages/myFaq/myFaq.wxml
+5
-2
myFaq.wxss
src/wx/pages/myFaq/myFaq.wxss
+46
-32
project.config.json
src/wx/project.config.json
+6
-0
No files found.
src/wx/pages/faq/faq.wxss
View file @
53038205
...
@@ -160,7 +160,7 @@
...
@@ -160,7 +160,7 @@
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
border-radius: 10px;
border-radius: 10px;
box-shadow: 0 0
15
px -3px rgb(0, 0, 0, 0.3);
box-shadow: 0 0
8
px -3px rgb(0, 0, 0, 0.3);
}
}
.faqRow1 {
.faqRow1 {
...
@@ -170,6 +170,11 @@
...
@@ -170,6 +170,11 @@
margin-bottom: 10px;
margin-bottom: 10px;
}
}
.faqRow1 .faqCotent {
width: 80%;
word-break: break-all;
}
.newFaqButton {
.newFaqButton {
position: fixed;
position: fixed;
bottom: 0;
bottom: 0;
...
...
This diff is collapsed.
Click to expand it.
src/wx/pages/myFaq/myFaq.wxml
View file @
53038205
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<view bindtap='faqDetail' wx:for="{{faqList}}" class="faqItem" data-index="{{item.id}}" wx:key="{{index}}">
<view bindtap='faqDetail' wx:for="{{faqList}}" class="faqItem" data-index="{{item.id}}" wx:key="{{index}}">
<view class="faqCol1">
<view class="faqCol1">
<view class="faqContent">
<view class="faqContent">
<
image src="/img/rpoint.png"></image
>
<
view></view
>
<text>{{item.content}}</text>
<text>{{item.content}}</text>
</view>
</view>
<view class="faqReplycount">回复:{{item.reply_count}}</view>
<view class="faqReplycount">回复:{{item.reply_count}}</view>
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
</view>
</view>
<view bindtap='newFaq' class="newFaqButton">立即咨询</view>
<view bindtap='newFaq' class="newFaqButton">
<view>立即咨询</view>
</view>
<van-dialog id="van-dialog" />
<van-dialog id="van-dialog" />
<van-notify id="van-notify" />
<van-notify id="van-notify" />
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/wx/pages/myFaq/myFaq.wxss
View file @
53038205
/* pages/myNews/myFaq.wxss */
/* pages/myNews/myFaq.wxss */
.hotFaqs {
.hotFaqs{
width: 100%;
width:100%
;
margin-top: 20px
;
}
}
.faqItem{
.faqItem {
width:90%;
width: 90%;
margin-top: 10px;
margin: 10px auto;
margin-left: 0;
padding: 10px;
margin-right: 0;
padding:10px;
display: flex;
display: flex;
flex-direction: row;
flex-direction: row;
justify-content: space-between;
justify-content: space-between;
align-items: center;
align-items: center;
border-radius:
5
px;
border-radius:
10
px;
bo
rder: 1rpx solid gray
;
bo
x-shadow: 0 0 8px -3px rgb(0, 0, 0, 0.3)
;
}
}
.faqCol1{
.faqCol1
{
width:82%;
width:
82%;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
justify-content: space-around;
justify-content: space-around;
align-items: left;
align-items: left;
}
}
.faqCotent{
.faqContent {
width: 100%;
display: flex;
display: flex;
flex-direction: row;
flex-direction: row;
justify-content: flex-start;
align-items: center;
align-items: center;
font-size: 17px;
font-size: 17px;
}
}
.faqContent image {
.faqContent view {
background-color: #e70012;
width: 10px;
width: 10px;
height: 10px;
height: 10px;
border-radius: 50%;
}
}
.faqContent text {
.faqContent text {
margin-left: 5px;
margin-left: 5px;
width: 90%;
width: 90%;
word-break:break-all;
word-break:
break-all;
}
}
.faqReplycount{
.faqReplycount
{
font-size: 14px;
font-size: 14px;
margin-left: 15px;
margin-left: 15px;
margin-top: 10px;
}
}
.faqCol2{
.newFaqButton {
width:17%;
position: fixed;
bottom: 0;
width: 100%;
display: flex;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
align-items: center;
font-size: 16px;
/* background: #fff; */
}
.delFaqButton {
width: 20%;
height: 30px;
line-height: 30px;
text-align: center;
border-radius: 15px;
background: #ed5f77;
color: #fff;
}
}
.newFaqButton{
.newFaqButton view {
position: fixed;
text-align: center;
bottom: 10px;
margin: 0 auto;
height: 30px;
width: 80%;
line-height: 30px;
height: 50px;
border-radius: 15px;
line-height: 50px;
background: linear-gradient(to right, #e85c6d, #fb689b);
border-radius: 25px;
color: #fff;
margin-bottom: 10px;
font-size: 14px;
background: linear-gradient(to right, #e85c6d, #fb689b);
color: #fff;
font-size: 18px;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/wx/project.config.json
View file @
53038205
...
@@ -101,6 +101,12 @@
...
@@ -101,6 +101,12 @@
"pathName"
:
"pages/faq/faq"
,
"pathName"
:
"pages/faq/faq"
,
"query"
:
""
,
"query"
:
""
,
"scene"
:
null
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"pages/myFaq/myFaq"
,
"pathName"
:
"pages/myFaq/myFaq"
,
"scene"
:
null
}
}
]
]
}
}
...
...
This diff is collapsed.
Click to expand it.
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