> 199 198
                        .setOutputCameraPath(IMAGE_CACHE)// 自定义拍照保存路径
@ -205,7 +204,7 @@ public class PublishVideoTopicActivity extends Activity implements OnClickListen
205 204
                        .compressGrade(Luban.CUSTOM_GEAR)
206 205
                        .compressMaxKB(1024)//压缩最大值kb compressGrade()为Luban.CUSTOM_GEAR有效
207 206
                        .minimumCompressSize(500) //add by tanhaiqin, 图片大小 <= 500KB(数字可变) 不需要压缩
208
                        .videoSecond(5 * 60)//显示多少秒以内的视频
207
                        .videoSecond(2 * 60)// 显示多少秒以内的视频
209 208
                        .recordVideoSecond(15)//录制视频秒数 默认60秒
210 209
                        .forResult(PictureConfig.CHOOSE_REQUEST);
211 210
                break;

+ 4 - 4
app/src/main/java/com/electric/chargingpile/application/MainApplication.java

@ -73,10 +73,10 @@ public class MainApplication extends MultiDexApplication {
73 73
    public static String firstPoint = "";
74 74
    public static Boolean firstSsyd;
75 75
    public static String password = "";
76
//    public static String url = "http://59.110.68.162";// 充电桩测试环境
77
    public static String url = "http://cdz.evcharge.cc";// 充电桩正式环境
78
//    public static String urlNew = "http://123.56.67.7:83/api/0200";// 一电测试环境
79
    public static String urlNew = "https://api.touchev.com:83/api/0200";// 一电正式环境
76
    public static String url = "http://59.110.68.162";// 充电桩测试环境
77
//    public static String url = "http://cdz.evcharge.cc";// 充电桩正式环境
78
    public static String urlNew = "http://123.56.67.7:83/api/0200";// 一电测试环境
79
//    public static String urlNew = "https://api.touchev.com:83/api/0200";// 一电正式环境
80 80
    public static String pic_url = "http://cdz.evcharge.cc/zhannew/uploadfile/";
81 81
    //	public static String url = "https://cdz.d1ev.com";
82 82
    public static String build_flag = "0";

BIN
app/src/main/res/drawable-xhdpi/bg_w_4.9.png


BIN
app/src/main/res/drawable-xhdpi/bg_w_4.png


BIN
app/src/main/res/drawable-xhdpi/bg_w_41.jpg


+ 1 - 1
app/src/main/res/layout/activity_publish_picture_content.xml

@ -42,7 +42,7 @@
42 42
            android:layout_alignParentEnd="true"
43 43
            android:layout_centerHorizontal="true"
44 44
            android:layout_marginTop="@dimen/ui_10_dip"
45
            android:layout_marginEnd="25dp"
45
            android:layout_marginEnd="15dp"
46 46
            android:background="#9ed3ae"
47 47
            android:enabled="false"
48 48
            android:gravity="center"

+ 1 - 1
app/src/main/res/layout/activity_publishtopic.xml

@ -28,7 +28,7 @@
28 28
        android:layout_alignParentEnd="true"
29 29
        android:layout_centerHorizontal="true"
30 30
        android:layout_marginTop="@dimen/ui_10_dip"
31
        android:layout_marginEnd="25dp"
31
        android:layout_marginEnd="15dp"
32 32
        android:background="#9ed3ae"
33 33
        android:enabled="false"
34 34
        android:gravity="center"

+ 1 - 1
app/src/main/res/layout/viewpager_guide_four.xml

@ -11,7 +11,7 @@
11 11
        android:layout_centerHorizontal="true"
12 12
13 13
        android:contentDescription="@null"
14
        android:src="@drawable/bg_w_41" />
14
        android:src="@drawable/bg_w_4" />
15 15
16 16
    <ImageView
17 17
        android:layout_width="200dp"

+ 1 - 1
videolibrary/picture_library/src/main/java/com/luck/picture/lib/PicturePreviewActivity.java

@ -475,7 +475,7 @@ public class PicturePreviewActivity extends PictureBaseActivity implements View.
475 475
476 476
            rlSelectBarLayout.setVisibility(View.VISIBLE);
477 477
478
            if (media.getDuration() > 15 * 1000) {
478
            if (media.getDuration() > 120 * 1000) {
479 479
                video_layout.setVisibility(View.GONE);
480 480
                video_layout10.setVisibility(View.VISIBLE);
481 481

+ 2 - 1
videolibrary/picture_library/src/main/res/layout/picture_preview.xml

@ -38,6 +38,7 @@
38 38
                    android:layout_centerVertical="true"
39 39
                    android:padding="10dp"
40 40
                    android:text="编辑"
41
                    android:visibility="gone"
41 42
                    android:textColor="@color/color_13bfb1"
42 43
                    android:textSize="15sp" />
43 44
@ -66,7 +67,7 @@
66 67
                    android:layout_height="wrap_content"
67 68
                    android:layout_centerVertical="true"
68 69
                    android:padding="10dp"
69
                    android:text="只能分享15秒内视频,需要进行编辑"
70
                    android:text="只能分享120秒内视频,需要进行编辑"
70 71
                    android:textColor="@color/color_69"
71 72
                    android:textSize="12sp" />
72 73

cdzApp - Gogs: Go Git Service

充电桩app代码

hy 191ba2c785 修改确认订单页的提示将半小时,改为15分钟 4 lat temu
.idea ad7d3228bc 车主认证图片上传 5 lat temu
XRefreshView 319397b60f 配置信息优化 6 lat temu
app 191ba2c785 修改确认订单页的提示将半小时,改为15分钟 4 lat temu
autolayout 319397b60f 配置信息优化 6 lat temu
gradle b98aa2e34f 代码修改 6 lat temu
keystore 06bd894653 init 7 lat temu
library 319397b60f 配置信息优化 6 lat temu
zxing 234767f4a6 调试完成,并完善充电桩支付流程。 4 lat temu
.gitignore a90ec777b5 视频功能完成 6 lat temu
README.md 9f927f0d57 列表开发 6 lat temu
build.gradle 4c85721583 删除无用so,并且升级依赖库的版本,将极光推送依赖模式改为远程依赖 4 lat temu
gradle.properties 2ccff5dbe6 配置优化 6 lat temu
gradlew 1784adb651 代码修改 5 lat temu
gradlew.bat e1cf244fe0 remove Useless dependence 7 lat temu
icon_sgreen.png e1cf244fe0 remove Useless dependence 7 lat temu
settings.gradle a90ec777b5 视频功能完成 6 lat temu

README.md

地图首页

MainMapActivity.java
activity_main_map.xml

智能推荐(地图首页右下角)

RecommendZhanActivity.java
activity_recommend_zhan.xml
item_recommend_zhan.xml

筛选(地图首页)

NewScreenActivity.java
activity_new_screen.xml

列表(地图首页右上角,旧功能由推荐替换)

ZhanListActivity.java
activity_zhan_list.xml

推荐

RecommendChargingStationActivity.java
activity_recommend_charging_station.xml
recommend_charging_station_item.xml

站点详情

NewZhanDetailsActivity.class
activity_new_zhan_details.xml
DetailsFragment.java
fragmen_details_new.xml