Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RvApp
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
1
Merge Requests
1
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
lify
RvApp
Commits
022800f8
Commit
022800f8
authored
Jul 10, 2019
by
linfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
cae3ec7c
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
50 additions
and
24 deletions
+50
-24
build.gradle
RvClient/build.gradle
+2
-2
shape_rv_bg_yellow_progress.xml
...per/src/main/res/drawable/shape_rv_bg_yellow_progress.xml
+3
-3
shape_rv_bg_yellow_progress_hint.xml
...rc/main/res/drawable/shape_rv_bg_yellow_progress_hint.xml
+3
-3
DateUtils.java
...utils/src/main/java/com/rv/component/utils/DateUtils.java
+13
-2
ConfirmOrderActivity.java
.../rv/home/rv/module/ui/main/home/ConfirmOrderActivity.java
+3
-1
TourismFragment.java
...tourism/src/main/java/com/rv/tourism/TourismFragment.java
+7
-2
TravelDetailsActivity.java
...main/java/com/rv/tourism/other/TravelDetailsActivity.java
+15
-8
activity_tourism.xml
module_tourism/src/main/res/layout/activity_tourism.xml
+2
-2
PurchaseRecordActivity.java
...r/src/main/java/com/rv.member/PurchaseRecordActivity.java
+2
-1
No files found.
RvClient/build.gradle
View file @
022800f8
...
...
@@ -7,8 +7,8 @@ android {
applicationId
"com.xxfc.rv"
minSdkVersion
rootProject
.
ext
.
minSdkVersion
targetSdkVersion
rootProject
.
ext
.
targetSdkVersion
versionCode
11
0
versionName
"1.1.
0
"
versionCode
11
1
versionName
"1.1.
1
"
multiDexEnabled
true
//新版Gradle 是 implementation 为了兼容compile,写上这句话
...
...
RvWrapper/src/main/res/drawable/shape_rv_bg_yellow_progress.xml
View file @
022800f8
...
...
@@ -8,9 +8,9 @@
<clip>
<shape>
<gradient
android:centerColor=
"#aa
47e29a
"
android:endColor=
"#
47e29a
"
android:startColor=
"#99
47e29a
"
/>
android:centerColor=
"#aa
FFB74B
"
android:endColor=
"#
FFB74B
"
android:startColor=
"#99
FFB74B
"
/>
</shape>
</clip>
</item>
...
...
component_control/src/main/res/drawable/shape_rv_bg_yellow_progress_hint.xml
View file @
022800f8
...
...
@@ -8,9 +8,9 @@
<clip>
<shape>
<gradient
android:centerColor=
"#aa
47e29a
"
android:endColor=
"#
47e29a
"
android:startColor=
"#99
47e29a
"
/>
android:centerColor=
"#aa
FFB74B
"
android:endColor=
"#
FFB74B
"
android:startColor=
"#99
FFB74B
"
/>
</shape>
</clip>
</item>
...
...
component_utils/src/main/java/com/rv/component/utils/DateUtils.java
View file @
022800f8
...
...
@@ -147,6 +147,17 @@ public class DateUtils {
return
tm
;
}
public
static
long
StringToTimeMillis2
(
String
time
)
{
long
tm
=
0
;
try
{
tm
=
sdf7
.
parse
(
time
).
getTime
();
}
catch
(
ParseException
e
)
{
// TODO Auto-generated catch block
e
.
printStackTrace
();
}
return
tm
;
}
/**
* 将时间戳转换成yyyy-MM-dd HH:mm:ss字符串
*
...
...
@@ -158,10 +169,10 @@ public class DateUtils {
}
/**
* 将时间戳转换成yyyy-MM-dd HH:mm
:ss
字符串
* 将时间戳转换成yyyy-MM-dd HH:mm字符串
*
* @param time 时间戳
* @return yyyy-MM-dd HH:mm
:ss
* @return yyyy-MM-dd HH:mm
*/
public
static
String
timestampToString1
(
long
time
)
{
return
sdf7
.
format
(
new
Date
(
time
));
...
...
module_home/src/main/java/com/rv/home/rv/module/ui/main/home/ConfirmOrderActivity.java
View file @
022800f8
...
...
@@ -507,9 +507,11 @@ public class ConfirmOrderActivity extends BaseStatusActivity<CommonPresenter> {
* 支付价格计算
*/
private
void
getPayMoney
()
{
if
(
priceBean
!=
null
&&
priceBean
.
getData
()
==
null
)
{
if
(
priceBean
==
null
||
priceBean
.
getData
()
==
null
||
dataBean
==
null
)
{
return
;
}
ArrayList
<
OrderPriceDetailBean
.
ChildrenBean
>
childrenBeanList
=
new
ArrayList
<>();
//费用明细
double
payMoney
=
0.00
;
double
dayPrice
=
mCarBean
.
getVehicleModel
().
getSum
();
...
...
module_tourism/src/main/java/com/rv/tourism/TourismFragment.java
View file @
022800f8
...
...
@@ -4,6 +4,7 @@ import android.Manifest;
import
android.content.Context
;
import
android.content.Intent
;
import
android.graphics.Rect
;
import
android.net.Uri
;
import
android.os.Build
;
import
android.os.Bundle
;
import
android.support.annotation.Nullable
;
...
...
@@ -184,7 +185,8 @@ public class TourismFragment extends BaseFragment<TourismPresenter> implements B
}
@OnClick
({
R2
.
id
.
travel_city_layout
,
R2
.
id
.
ll_item_search
,
R2
.
id
.
travel_server_image
,
R2
.
id
.
ll_item_popular_brigade_many
,
R2
.
id
.
travel_hot_more_close
,
R2
.
id
.
iv_popular_brigade_many
})
@OnClick
({
R2
.
id
.
travel_city_layout
,
R2
.
id
.
ll_item_search
,
R2
.
id
.
travel_server_image
,
R2
.
id
.
ll_item_popular_brigade_many
,
R2
.
id
.
travel_hot_more_close
,
R2
.
id
.
iv_popular_brigade_many
})
public
void
onViewClicked
(
View
view
)
{
int
id
=
view
.
getId
();
if
(
id
==
R
.
id
.
travel_city_layout
)
{
...
...
@@ -203,7 +205,10 @@ public class TourismFragment extends BaseFragment<TourismPresenter> implements B
.
withDouble
(
"lonLongitude"
,
lonLongitude
)
.
navigation
();
}
else
if
(
id
==
R
.
id
.
travel_server_image
)
{
showToast
(
"亲,该功能还在开发中。。。"
);
Intent
intent
=
new
Intent
(
Intent
.
ACTION_DIAL
);
Uri
uri
=
Uri
.
parse
(
"tel:"
+
"4000369369"
);
intent
.
setData
(
uri
);
startActivity
(
intent
);
}
else
if
(
id
==
R
.
id
.
ll_item_popular_brigade_many
||
id
==
R
.
id
.
iv_popular_brigade_many
)
{
//查看热门更多
llLayoutPopularMore
.
setVisibility
(
View
.
VISIBLE
);
...
...
module_tourism/src/main/java/com/rv/tourism/other/TravelDetailsActivity.java
View file @
022800f8
...
...
@@ -5,6 +5,7 @@ import android.content.ClipData;
import
android.content.ClipboardManager
;
import
android.content.Intent
;
import
android.content.res.Configuration
;
import
android.net.Uri
;
import
android.os.Build
;
import
android.os.Bundle
;
import
android.text.TextUtils
;
...
...
@@ -157,22 +158,28 @@ public class TravelDetailsActivity extends BaseStatusActivity<TourismPresenter>
}
}
else
if
(
id
==
R
.
id
.
tv_customer_service
)
{
//联系客户
//联系客服
Intent
intent
=
new
Intent
(
Intent
.
ACTION_DIAL
);
Uri
uri
=
Uri
.
parse
(
"tel:"
+
"4000369369"
);
intent
.
setData
(
uri
);
startActivity
(
intent
);
}
else
if
(
id
==
R
.
id
.
tv_appointment
)
{
//预订
//登录
if
(
TextUtils
.
isEmpty
(
OkGoUtil
.
getToken
()))
{
ARouter
.
getInstance
().
build
(
Constance
.
ACTIVITY_URL_LOGINRV
).
navigation
();
return
;
}
BeanUserInfo
.
UserInfo
userInfo
=
getUserInfo
();
if
(
userInfo
!=
null
){
if
(
userInfo
.
getCertificationStatus
()
==
0
){
ARouter
.
getInstance
().
build
(
Constance
.
ACTIVITY_URL_IDCARDCERTIFICATION
).
navigation
();
return
;
}
}
//实名认证
// BeanUserInfo.UserInfo userInfo = getUserInfo();
// if (userInfo !=null){
// if (userInfo.getCertificationStatus() ==0){
// ARouter.getInstance().build(Constance.ACTIVITY_URL_IDCARDCERTIFICATION).navigation();
// return;
// }
// }
mWebView
.
loadUrl
(
"JavaScript:openModal()"
);
// Android调用h5
llItemBottom
.
setVisibility
(
View
.
GONE
);
...
...
module_tourism/src/main/res/layout/activity_tourism.xml
View file @
022800f8
...
...
@@ -86,9 +86,9 @@
<ImageView
android:id=
"@+id/travel_server_image"
android:layout_width=
"@dimen/size_
35
"
android:layout_width=
"@dimen/size_
50
"
android:layout_height=
"@dimen/size_35"
android:
layout_margin
Left=
"@dimen/size_15"
android:
padding
Left=
"@dimen/size_15"
android:paddingRight=
"@dimen/size_15"
android:scaleType=
"centerInside"
android:src=
"@drawable/common_journey_service_gray"
/>
...
...
plugin_member/src/main/java/com/rv.member/PurchaseRecordActivity.java
View file @
022800f8
...
...
@@ -17,6 +17,7 @@ import com.ruiwenliu.wrapper.weight.refresh.SimpleRefreshView;
import
com.rv.home.R2
;
import
com.rv.home.rv.module.ApiConfig
;
import
com.rv.home.rv.module.basic.presenter.CommonPresenter
;
import
com.rv.home.rv.module.ui.main.home.order.MemberOrderDetailsActivity
;
import
com.rv.home.rv.module.ui.main.home.order.OrderDetailActivity
;
import
com.rv.home.rv.module.ui.main.home.order.TravelOrderDetailsActivity
;
import
com.rv.home.rv.module.ui.main.home.order.adapter.CompletedAdapter
;
...
...
@@ -59,7 +60,7 @@ public class PurchaseRecordActivity extends BaseStatusActivity<CommonPresenter>
@Override
public
void
onItemClick
(
BaseQuickAdapter
adapter
,
View
view
,
int
position
)
{
OrderListBean
.
DataBeanX
.
DataBean
dataBean
=
(
OrderListBean
.
DataBeanX
.
DataBean
)
adapter
.
getItem
(
position
);
startActivity
(
OrderDetail
Activity
.
getIntent
(
PurchaseRecordActivity
.
this
,
dataBean
));
startActivity
(
MemberOrderDetails
Activity
.
getIntent
(
PurchaseRecordActivity
.
this
,
dataBean
));
}
});
}
...
...
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