Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FMVip_Today
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhenfei.zhang
FMVip_Today
Commits
36de3339
Commit
36de3339
authored
Jul 09, 2017
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 修复商品券、代金券描述超过一行时的展示问题。
parent
907d8b1a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
41 deletions
+13
-41
FMVip/fmcouponwidget.cpp
+2
-2
FMVip/fmviplogin.cpp
+3
-2
FMVip/forms/fmcouponwidget.ui
+4
-4
FMVip/forms/fmvipcouponlist.ui
+2
-16
FMVip/forms/fmviporder.ui
+2
-17
No files found.
FMVip/fmcouponwidget.cpp
View file @
36de3339
...
@@ -7,8 +7,8 @@ FMCouponWidget::FMCouponWidget(Coupon coupon, QWidget *parent) :
...
@@ -7,8 +7,8 @@ FMCouponWidget::FMCouponWidget(Coupon coupon, QWidget *parent) :
ui
(
new
Ui
::
FMCouponWidget
)
ui
(
new
Ui
::
FMCouponWidget
)
{
{
ui
->
setupUi
(
this
);
ui
->
setupUi
(
this
);
ui
->
desc_lab
->
setText
(
coupon
.
desc
);
ui
->
coupon_
desc_lab
->
setText
(
coupon
.
desc
);
ui
->
co
d
e_lab
->
setText
(
coupon
.
limitTime
);
ui
->
co
upon_limitTim
e_lab
->
setText
(
coupon
.
limitTime
);
}
}
FMCouponWidget
::~
FMCouponWidget
()
FMCouponWidget
::~
FMCouponWidget
()
...
...
FMVip/fmviplogin.cpp
View file @
36de3339
...
@@ -37,11 +37,12 @@ FMVipLogin::~FMVipLogin()
...
@@ -37,11 +37,12 @@ FMVipLogin::~FMVipLogin()
QString
FMVipLogin
::
getVersionInfo
()
QString
FMVipLogin
::
getVersionInfo
()
{
{
Q
ByteArray
versionInfo
;
Q
String
versionInfo
;
QFile
versionFile
(
qApp
->
applicationDirPath
()
+
"/version.dat"
);
QFile
versionFile
(
qApp
->
applicationDirPath
()
+
"/version.dat"
);
bool
isOk
=
versionFile
.
open
(
QIODevice
::
ReadOnly
);
bool
isOk
=
versionFile
.
open
(
QIODevice
::
ReadOnly
);
if
(
isOk
)
{
if
(
isOk
)
{
versionInfo
=
versionFile
.
readAll
();
QTextStream
in
(
&
versionFile
);
versionInfo
=
in
.
readLine
();
}
else
{
}
else
{
versionInfo
=
"未知"
;
versionInfo
=
"未知"
;
}
}
...
...
FMVip/forms/fmcouponwidget.ui
View file @
36de3339
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
background-color: rgb(255, 255, 255);
background-color: rgb(255, 255, 255);
}
}
#co
d
e_lab
#co
upon_limitTim
e_lab
{
{
max-height: 15;
max-height: 15;
min-height: 15;
min-height: 15;
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
font: 12px
"
Microsoft YaHei
"
;
font: 12px
"
Microsoft YaHei
"
;
}
}
#desc_lab
#
coupon_
desc_lab
{
{
font: bold 15px
"
Microsoft YaHei
"
;
font: bold 15px
"
Microsoft YaHei
"
;
margin-left: 4px;
margin-left: 4px;
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
</spacer>
</spacer>
</item>
</item>
<item>
<item>
<widget
class=
"QLabel"
name=
"desc_lab"
>
<widget
class=
"QLabel"
name=
"
coupon_
desc_lab"
>
<property
name=
"maximumSize"
>
<property
name=
"maximumSize"
>
<size>
<size>
<width>
16777215
</width>
<width>
16777215
</width>
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
</layout>
</layout>
</item>
</item>
<item>
<item>
<widget
class=
"QLabel"
name=
"co
d
e_lab"
>
<widget
class=
"QLabel"
name=
"co
upon_limitTim
e_lab"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
20170508~20170907
</string>
<string>
20170508~20170907
</string>
</property>
</property>
...
...
FMVip/forms/fmvipcouponlist.ui
View file @
36de3339
...
@@ -173,7 +173,7 @@
...
@@ -173,7 +173,7 @@
background-color: rgb(255, 255, 255);
background-color: rgb(255, 255, 255);
}
}
#co
d
e_lab
#co
upon_limitTim
e_lab
{
{
max-height: 15;
max-height: 15;
min-height: 15;
min-height: 15;
...
@@ -181,23 +181,9 @@
...
@@ -181,23 +181,9 @@
color: rgb(127,127,127);
color: rgb(127,127,127);
font: 12px
"
Microsoft YaHei
"
;
font: 12px
"
Microsoft YaHei
"
;
}
}
#amount_lab, #currency
{
color: rgb(229, 11, 72);
font: bold 30px
"
Microsoft YaHei
"
;
}
#currency
{
font: bold 15px;
margin-top: 11px;
}
#desc_lab
#
coupon_
desc_lab
{
{
max-height: 21;
min-height: 21;
color: rgb(252,255,255);
background-color: rgb(229, 11, 72);
font: bold 15px
"
Microsoft YaHei
"
;
font: bold 15px
"
Microsoft YaHei
"
;
margin-left: 4px;
margin-left: 4px;
margin-bottom: 3px;
margin-bottom: 3px;
...
...
FMVip/forms/fmviporder.ui
View file @
36de3339
...
@@ -235,7 +235,6 @@
...
@@ -235,7 +235,6 @@
/*======Coupon======*/
/*======Coupon======*/
#FMCouponWidget
#FMCouponWidget
{
{
border: 0 solid white;
border: 0 solid white;
...
@@ -243,7 +242,7 @@
...
@@ -243,7 +242,7 @@
background-color: rgb(255, 255, 255);
background-color: rgb(255, 255, 255);
}
}
#co
d
e_lab
#co
upon_limitTim
e_lab
{
{
max-height: 15;
max-height: 15;
min-height: 15;
min-height: 15;
...
@@ -251,23 +250,9 @@
...
@@ -251,23 +250,9 @@
color: rgb(127,127,127);
color: rgb(127,127,127);
font: 12px
"
Microsoft YaHei
"
;
font: 12px
"
Microsoft YaHei
"
;
}
}
#amount_lab, #currency
{
color: rgb(229, 11, 72);
font: bold 30px
"
Microsoft YaHei
"
;
}
#currency
{
font: bold 15px;
margin-top: 11px;
}
#desc_lab
#
coupon_
desc_lab
{
{
max-height: 21;
min-height: 21;
color: rgb(252,255,255);
background-color: rgb(229, 11, 72);
font: bold 15px
"
Microsoft YaHei
"
;
font: bold 15px
"
Microsoft YaHei
"
;
margin-left: 4px;
margin-left: 4px;
margin-bottom: 3px;
margin-bottom: 3px;
...
...
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