Files
cocos4/platforms/minigame/openDataContext/render/style.js
T
PP 0a836ac458 optimize sys info init && move in runtime adapters (#7920)
* optimize sys info init in adapters

update

* update sys init

update sys

* fix sys access

* optimize isWebIOS14OrIPadOS14Env

* update

* update

* update QTT adapter

* update sys.capacities

update sys

* update common && qtt

* add downloadFile to job module

* update engine-adapter

* update DeviceMotionEvent  adaption

* remove legacy qtt

* add link-sure adaption

* fix some bug

* update vivo adaption && fs-utils

* remove legacy link-sure

* remove dom-adapter

* remove HTMLCanvas appended to document

* update vivo

* support COCOS_PLAY

* update adapters to platforms

* remove test code

* add OPPO adapter

* add huawei adapter

* remove test code

* rename folder oppo-mini-game

* rename  folder huawei-quick-game

* rename folder vivo-mini-game
2020-12-15 11:54:13 +08:00

110 lines
2.1 KiB
JavaScript

export default {
container: {
width: '100%',
height: '100%',
borderRadius: 12,
},
header: {
width: '100%',
height: '10%',
flexDirection: 'column',
alignItems: 'center',
backgroundColor: '#ffffff',
borderBottomWidth: 0.5,
borderColor: 'rgba(0, 0, 0, 0.3)',
},
title: {
width: '10%',
height: '100%',
fontSize: 35,
lineHeight: 80,
textAlign: 'center',
fontWeight: 'bold',
borderBottomWidth: 6,
borderColor: '#000000',
},
rankList: {
width: '100%',
height: '90%',
backgroundColor: '#ffffff',
},
list: {
width: '100%',
height: '88%',
backgroundColor: '#ffffff',
marginTop: 30,
},
listTips: {
width: '100%',
height: '12%',
lineHeight: 90,
textAlign: 'center',
fontSize: 25,
color: 'rgba(0,0,0,0.5)',
backgroundColor: '#ffffff',
borderRadius: 10,
borderWidth: 1,
borderColor: 'rgba(0, 0, 0, 1)',
},
listItem: {
backgroundColor: '#F7F7F7',
width: '100%',
height: '10%',
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
},
listItemOld: {
backgroundColor: '#ffffff',
},
listItemUserData: {
width: '75%',
height: '100%',
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'flex-start',
},
listItemScore: {
width: '25%',
height: 100,
fontSize: 33,
fontWeight: 'bold',
paddingRight : 200,
lineHeight: 100,
textAlign: 'center',
},
listItemNum: {
width: 100,
height: 80,
fontSize: 30,
fontWeight: 'bold',
color: '#452E27',
lineHeight: 100,
textAlign: 'center',
},
listHeadImg: {
borderRadius: 6,
width: 70,
height: 70,
},
listItemName:{
width: 210,
height: 100,
fontSize: 30,
lineHeight: 100,
marginLeft: 30,
},
}