Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加原生和小程序传递参数结构,添加demo #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ buildscript {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.android.tools.build:gradle:3.3.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -19,6 +20,7 @@ buildscript {

allprojects {
repositories {
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
jcenter()
maven { url 'https://jitpack.io' }
maven {
Expand Down
4 changes: 4 additions & 0 deletions Android/demo/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".ShowActivity"
android:launchMode="singleTop"
android:screenOrientation="portrait" />
<activity
android:name=".LiteAppListActivity"
android:launchMode="singleTop"
Expand Down
11 changes: 11 additions & 0 deletions Android/demo/src/main/assets/demoAppList.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@
"id":"iqiyi",
"name":"iqiyi",
"version":"1.1"
},

{
"id":"hello-world",
"name":"hello-world",
"version":"1.2"
},
{
"id":"liteapp-demo",
"name":"liteapp-demo",
"version":"1.2"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@

.qy-input{
display : block;
height : 1.4rem;
text-overflow : clip;
overflow : hidden;
white-space : nowrap;
font-family : UICTFontTextStyleBody;
min-height : 1.4rem;
border:0;
background-color:initial;
}

.qy-video{
background-color : #000000;
}

.mp-actionsheet {
width: 100%;
height: 100%;
position: fixed;
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.2);
}

.qy-listview .center_tip {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
transform-origin: 50% 50%;
}
.qy-listview .qy-listview-block_index_list {
position: fixed;
right: 0;
top: 50%;
transform: translate(0, -50%);
}
.qy-listview .qy-listview-block_index_list li {
padding: .4rem 1rem;
}
.qy-listview .center_tip {
display: none;
position: fixed;
width: 6rem;
height: 6rem;
line-height: 6rem;
border-radius: 50%;
text-align: center;
background: rgba(0, 0, 0, 0.2);
}

.qy-list_block header {
display: block;
height: 3rem;
line-height: 3rem;
padding-left: 1.6rem;
background: #f5f5f5;
font-size: 1.6rem;
color: #666;
}

.qy-scrollview{
width:100%;
height:100%;
whiteSpace: nowrap;
}

















/*!
* iswiper - swiper.js
* @version v1.4.1
* @link https://github.com/weui/swiper.git
* @license MIT
*/
.qy-swiper{
overflow:hidden;
}
.swiper {
height: 100%;
overflow: hidden;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.item {
height: 100%;
background-position: center center;
background-size: cover;
position: relative;
overflow: hidden;
float: left;
}
.item.active .animated {
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
opacity: 1;
}
.item:not(.active) .animated {
-webkit-animation: none;
animation: none;
opacity: 0;
}

Loading