Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
M
magicbox
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
magicbox
Commits
9f96b6e2
Commit
9f96b6e2
authored
Mar 09, 2022
by
王雪伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[提交人]:王雪伟
[提交简述] :添加翻译 [实现方案] :
parent
0d555ba6
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
49 additions
and
15 deletions
+49
-15
build.gradle
app/build.gradle
+1
-0
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+2
-2
build.gradle
build.gradle
+1
-1
build.gradle
cms/build.gradle
+1
-0
AndroidManifest.xml
cms/src/main/AndroidManifest.xml
+10
-7
GooglePayActivity.kt
...src/main/java/com/zxhl/cms/googlepay/GooglePayActivity.kt
+20
-0
activity_google_pay.xml
cms/src/main/res/layout/activity_google_pay.xml
+9
-0
strings.xml
cms/src/main/res/values/strings.xml
+2
-2
GoodsDetailActivity.kt
...n/java/com/zxhl/main/page/activity/GoodsDetailActivity.kt
+1
-1
LotteryRuslutActivity.kt
...java/com/zxhl/main/page/activity/LotteryRuslutActivity.kt
+2
-2
No files found.
app/build.gradle
View file @
9f96b6e2
...
@@ -116,6 +116,7 @@ android {
...
@@ -116,6 +116,7 @@ android {
zhihu
{}
zhihu
{}
tuia
{}
tuia
{}
source1
{}
source1
{}
google
{}
}
}
productFlavors
.
all
{
productFlavors
.
all
{
...
...
app/src/main/AndroidManifest.xml
View file @
9f96b6e2
...
@@ -10,12 +10,12 @@
...
@@ -10,12 +10,12 @@
<uses-permission
android:name=
"android.permission.ACCESS_COARSE_LOCATION"
/>
<uses-permission
android:name=
"android.permission.ACCESS_COARSE_LOCATION"
/>
<uses-permission
android:name=
"android.permission.ACCESS_FINE_LOCATION"
/>
<uses-permission
android:name=
"android.permission.ACCESS_FINE_LOCATION"
/>
<uses-permission
android:name=
"android.permission.WRITE_EXTERNAL_STORAGE"
/>
<uses-permission
android:name=
"android.permission.WRITE_EXTERNAL_STORAGE"
/>
<uses-permission
android:name=
"android.permission.READ_PHONE_STATE"
/>
<!-- 用于写入缓存数据到扩展存储卡
-->
<!-- <uses-permission android:name="android.permission.READ_PHONE_STATE" /> <!– 用于写入缓存数据到扩展存储卡 –>
-->
<uses-permission
android:name=
"android.permission.ACCESS_NETWORK_STATE"
/>
<uses-permission
android:name=
"android.permission.ACCESS_NETWORK_STATE"
/>
<uses-permission
android:name=
"android.permission.ACCESS_WIFI_STATE"
/>
<uses-permission
android:name=
"android.permission.ACCESS_WIFI_STATE"
/>
<uses-permission
android:name=
"android.permission.READ_CONTACTS"
/
>
<!-- <uses-permission android:name="android.permission.READ_CONTACTS" />--
>
<uses-permission
android:name=
"android.permission.QUERY_ALL_PACKAGES"
/>
<uses-permission
android:name=
"android.permission.QUERY_ALL_PACKAGES"
/>
<!--必要权限,解决安全风险漏洞,发送和注册广播事件需要调用带有传递权限的接口-->
<!--必要权限,解决安全风险漏洞,发送和注册广播事件需要调用带有传递权限的接口-->
...
...
build.gradle
View file @
9f96b6e2
...
@@ -27,7 +27,7 @@ task clean(type: Delete) {
...
@@ -27,7 +27,7 @@ task clean(type: Delete) {
delete
rootProject
.
buildDir
delete
rootProject
.
buildDir
}
}
ext
{
ext
{
targetSdkVersion
=
29
targetSdkVersion
=
30
minSdkVersion
=
17
minSdkVersion
=
17
compileSdkVersion
=
29
compileSdkVersion
=
29
}
}
cms/build.gradle
View file @
9f96b6e2
...
@@ -87,5 +87,6 @@ dependencies {
...
@@ -87,5 +87,6 @@ dependencies {
implementation
'androidx.appcompat:appcompat:1.2.0'
implementation
'androidx.appcompat:appcompat:1.2.0'
implementation
'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
implementation
'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
implementation
(
name:
'alipaySdk-15.6.4-20190611174341'
,
ext:
'aar'
)
implementation
(
name:
'alipaySdk-15.6.4-20190611174341'
,
ext:
'aar'
)
implementation
'androidx.constraintlayout:constraintlayout:2.0.4'
//implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
//implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
}
}
cms/src/main/AndroidManifest.xml
View file @
9f96b6e2
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"com.zxhl.cms"
>
package=
"com.zxhl.cms"
>
<application>
<application>
<activity
android:name=
".googlepay.GooglePayActivity"
></activity>
<activity
android:name=
".common.WebActivity"
>
<activity
android:name=
".common.WebActivity"
>
<intent-filter>
<intent-filter>
<action
android:name=
"android.intent.action.VIEW"
/>
<action
android:name=
"android.intent.action.VIEW"
/>
<category
android:name=
"android.intent.category.DEFAULT"
/>
<category
android:name=
"android.intent.category.DEFAULT"
/>
<data
<data
android:host=
"web"
android:host=
"web"
android:scheme=
"magicbox"
/>
android:scheme=
"magicbox"
/>
</intent-filter>
</intent-filter>
</activity>
</activity>
<activity
android:name=
".pay.PayActivity"
>
<activity
android:name=
".pay.PayActivity"
>
<intent-filter>
<intent-filter>
<action
android:name=
"android.intent.action.VIEW"
/>
<action
android:name=
"android.intent.action.VIEW"
/>
<category
android:name=
"android.intent.category.DEFAULT"
/>
<category
android:name=
"android.intent.category.DEFAULT"
/>
<data
<data
android:host=
"pay"
android:host=
"pay"
android:scheme=
"magicbox"
/>
android:scheme=
"magicbox"
/>
</intent-filter>
</intent-filter>
</activity>
</activity>
<!-- 友盟配置 -->
<!-- 友盟配置 -->
<meta-data
<meta-data
android:name=
"UMENG_APPKEY"
android:name=
"UMENG_APPKEY"
android:value=
"617f57fde014255fcb63fb6f"
/>
android:value=
"617f57fde014255fcb63fb6f"
/>
<meta-data
<meta-data
android:name=
"UMENG_CHANNEL"
android:name=
"UMENG_CHANNEL"
android:value=
"${UMENG_CHANNEL_VALUE}"
/>
<!-- QQ配置 -->
android:value=
"${UMENG_CHANNEL_VALUE}"
/>
</application>
</application>
</manifest>
</manifest>
\ No newline at end of file
cms/src/main/java/com/zxhl/cms/googlepay/GooglePayActivity.kt
0 → 100644
View file @
9f96b6e2
package
com.zxhl.cms.googlepay
import
android.view.View
import
com.zxhl.cms.R
import
com.zxhl.cms.common.base.BaseActivity
class
GooglePayActivity
:
BaseActivity
()
{
override
fun
onClick
(
v
:
View
?)
{
TODO
(
"Not yet implemented"
)
}
override
fun
layoutID
():
Int
{
return
R
.
layout
.
activity_google_pay
}
override
fun
init
()
{
}
}
\ No newline at end of file
cms/src/main/res/layout/activity_google_pay.xml
0 → 100644
View file @
9f96b6e2
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
tools:context=
".googlepay.GooglePayActivity"
>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
cms/src/main/res/values/strings.xml
View file @
9f96b6e2
...
@@ -80,8 +80,8 @@
...
@@ -80,8 +80,8 @@
<string
name=
"box_detail_open_box_result_btn_one_again"
>
Open
</string>
<string
name=
"box_detail_open_box_result_btn_one_again"
>
Open
</string>
<string
name=
"box_detail_open_box_result_btn_five_again"
>
再来五发
</string>
<string
name=
"box_detail_open_box_result_btn_five_again"
>
再来五发
</string>
<string
name=
"box_detail_open_box_result_btn_receive"
>
立即收下
</string>
<string
name=
"box_detail_open_box_result_btn_receive"
>
立即收下
</string>
<string
name=
"box_detail_open_box_result_re_pumping_desc"
>
抽到商品不满意?点击使用重抽卡
</string>
<string
name=
"box_detail_open_box_result_re_pumping_desc"
>
Not satisfied with the product, click here to reopen the box
</string>
<string
name=
"box_detail_open_box_result_re_pumping_desc2"
>
对抽到商品不满意,使用重抽卡可重新抽取盲盒
</string>
<string
name=
"box_detail_open_box_result_re_pumping_desc2"
>
Not satisfied with the product, you can use the reopen card to reopen the box for free
</string>
<string
name=
"box_detail_open_box_result_re_pumping_desc3"
>
恭喜您获得重抽卡,下次抽盒\n即可使用
</string>
<string
name=
"box_detail_open_box_result_re_pumping_desc3"
>
恭喜您获得重抽卡,下次抽盒\n即可使用
</string>
<string
name=
"box_detail_open_box_result_re_pumping_desc4"
>
使用重抽卡可免费重新开箱
</string>
<string
name=
"box_detail_open_box_result_re_pumping_desc4"
>
使用重抽卡可免费重新开箱
</string>
<string
name=
"box_detail_open_box_result_try_play_desc"
>
该商品为试玩结果,仅供参考
</string>
<string
name=
"box_detail_open_box_result_try_play_desc"
>
该商品为试玩结果,仅供参考
</string>
...
...
moduleMain/src/main/java/com/zxhl/main/page/activity/GoodsDetailActivity.kt
View file @
9f96b6e2
...
@@ -585,7 +585,7 @@ class GoodsDetailActivity : BaseActivity(), GoodsDetailContract.View,
...
@@ -585,7 +585,7 @@ class GoodsDetailActivity : BaseActivity(), GoodsDetailContract.View,
cardNum
,
cardNum
,
useStatus
,
useStatus
,
descStr
,
descStr
,
"
对抽到商品不满意,使用重抽卡可重新抽取盲盒
"
,
"
Not satisfied with the product, you can use the reopen card to reopen the box for free
"
,
{
{
//left
//left
},
{
},
{
...
...
moduleMain/src/main/java/com/zxhl/main/page/activity/LotteryRuslutActivity.kt
View file @
9f96b6e2
...
@@ -701,7 +701,7 @@ class LotteryRuslutActivity : BaseActivity(), LotteryContract.View, AdCallback<S
...
@@ -701,7 +701,7 @@ class LotteryRuslutActivity : BaseActivity(), LotteryContract.View, AdCallback<S
1
,
1
,
2
,
2
,
"恭喜您获得重抽卡,下次抽盒\n即可使用"
,
"恭喜您获得重抽卡,下次抽盒\n即可使用"
,
"
对抽到商品不满意,使用重抽卡可重新抽取盲盒
"
,
"
Not satisfied with the product, you can use the reopen card to reopen the box for free
"
,
{
{
//left
//left
},
{
},
{
...
@@ -797,7 +797,7 @@ class LotteryRuslutActivity : BaseActivity(), LotteryContract.View, AdCallback<S
...
@@ -797,7 +797,7 @@ class LotteryRuslutActivity : BaseActivity(), LotteryContract.View, AdCallback<S
cardNum
,
cardNum
,
status
,
status
,
descStr
,
descStr
,
"
对抽到商品不满意,使用重抽卡可重新抽取盲盒
"
,
"
Not satisfied with the product, you can use the reopen card to reopen the box for free
"
,
{
{
//left
//left
},
{
},
{
...
...
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