Commit 644f96db authored by 智慧's avatar 智慧

style:修改表单样式

parent 327bc0a1
@import '../style/common_mixin.css'; @import '../style/common_mixin.css';
::ng-deep .ant-radio-inner {
top: 0;
left: 0;
width: 28px;
height: 28px;
}
::ng-deep .ant-radio-inner::after {
top: 6px;
left: 6px;
width: 14px;
height: 14px;
}
.model-content { .model-content {
width: 100%; width: 100%;
...@@ -33,3 +45,9 @@ ...@@ -33,3 +45,9 @@
padding: 10px; padding: 10px;
margin: 10px; margin: 10px;
} }
.label-item {
font-size: 22px;
margin-top: 10px;
}
<div class="model-content"> <div class="model-content">
<div style="padding: 10px;"> <div style="padding: 40px;">
<div style="margin-top: 5px"> <div style="margin-top: 25px;" class="label-group">
<span>选择骨骼动画: </span> <span class="label-item">选择骨骼动画: </span>
<div style="padding: 10px;"></div> <div style="padding: 10px;"></div>
<nz-radio-group [(ngModel)]="item.animationName" (ngModelChange)="changeRadio($event, item)"> <nz-radio-group [(ngModel)]="item.animationName" nzButtonStyle="solid" (ngModelChange)="changeRadio($event, item)" >
<label nz-radio nzValue="Greetings">Greetings</label> <label nz-radio nzValue="Greetings" class="label-item">Greetings</label><br/>
<label nz-radio nzValue="WarmUp">Warm Up</label> <label nz-radio nzValue="WarmUp" class="label-item">Warm Up</label><br/>
<label nz-radio nzValue="Phonics">Phonics</label> <label nz-radio nzValue="Phonics" class="label-item">Phonics</label><br/>
<label nz-radio nzValue="LettersInLife">Letters in Life</label> <label nz-radio nzValue="LettersInLife" class="label-item">Letters in Life</label><br/>
<label nz-radio nzValue="LetsBlend">Let's Blend</label> <label nz-radio nzValue="LetsBlend" class="label-item">Let's Blend</label><br/>
<label nz-radio nzValue="ExerciseTime">Exercise Time</label> <label nz-radio nzValue="ExerciseTime" class="label-item">Exercise Time</label><br/>
<label nz-radio nzValue="TraceWithMe">Trace With me</label> <label nz-radio nzValue="TraceWithMe" class="label-item">Trace With me</label><br/>
<label nz-radio nzValue="LookAndSay">Look and Say</label> <label nz-radio nzValue="LookAndSay" class="label-item">Look and Say</label><br/>
<label nz-radio nzValue="LetsReview">Let's Review</label> <label nz-radio nzValue="LetsReview" class="label-item">Let's Review</label><br/>
<label nz-radio nzValue="SightWords">Sight Words</label> <label nz-radio nzValue="SightWords"class="label-item">Sight Words</label><br/>
<label nz-radio nzValue="StoryTime">Story Time</label> <label nz-radio nzValue="StoryTime" class="label-item">Story Time</label><br/>
<label nz-radio nzValue="Topic">Topic</label> <label nz-radio nzValue="Topic" class="label-item">Topic</label><br/>
<label nz-radio nzValue="ReadClosely">Read Closely</label> <label nz-radio nzValue="ReadClosely" class="label-item">Read Closely</label>
</nz-radio-group> </nz-radio-group>
......
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
"array": [ "array": [
0, 0,
0, 0,
353.3789596848534, 366.61291038643435,
0, 0,
0, 0,
0, 0,
...@@ -832,7 +832,7 @@ ...@@ -832,7 +832,7 @@
"_animationName": "star", "_animationName": "star",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": 1,
"premultipliedAlpha": false, "premultipliedAlpha": false,
"_armatureKey": "d24fdaa6-4bc1-4a7a-94db-4421947a6f90#62a4e4c6-7a02-4346-bbf2-7c5c03759bf6", "_armatureKey": "d24fdaa6-4bc1-4a7a-94db-4421947a6f90#62a4e4c6-7a02-4346-bbf2-7c5c03759bf6",
"_accTime": 0, "_accTime": 0,
...@@ -934,7 +934,7 @@ ...@@ -934,7 +934,7 @@
"_animationName": "finishdragon", "_animationName": "finishdragon",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": 1,
"premultipliedAlpha": false, "premultipliedAlpha": false,
"_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041", "_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041",
"_accTime": 0, "_accTime": 0,
...@@ -1036,7 +1036,7 @@ ...@@ -1036,7 +1036,7 @@
"_animationName": "finishdragon", "_animationName": "finishdragon",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": 1,
"premultipliedAlpha": false, "premultipliedAlpha": false,
"_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041", "_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041",
"_accTime": 0, "_accTime": 0,
...@@ -1138,7 +1138,7 @@ ...@@ -1138,7 +1138,7 @@
"_animationName": "finishdragon", "_animationName": "finishdragon",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": 1,
"premultipliedAlpha": false, "premultipliedAlpha": false,
"_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041", "_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041",
"_accTime": 0, "_accTime": 0,
...@@ -1240,7 +1240,7 @@ ...@@ -1240,7 +1240,7 @@
"_animationName": "finishdragon", "_animationName": "finishdragon",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": 1,
"premultipliedAlpha": false, "premultipliedAlpha": false,
"_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041", "_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041",
"_accTime": 0, "_accTime": 0,
...@@ -1342,7 +1342,7 @@ ...@@ -1342,7 +1342,7 @@
"_animationName": "finishdragon", "_animationName": "finishdragon",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": 1,
"premultipliedAlpha": false, "premultipliedAlpha": false,
"_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041", "_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041",
"_accTime": 0, "_accTime": 0,
...@@ -1444,7 +1444,7 @@ ...@@ -1444,7 +1444,7 @@
"_animationName": "finishdragon", "_animationName": "finishdragon",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": 1,
"premultipliedAlpha": false, "premultipliedAlpha": false,
"_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041", "_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041",
"_accTime": 0, "_accTime": 0,
...@@ -1546,7 +1546,7 @@ ...@@ -1546,7 +1546,7 @@
"_animationName": "finishdragon", "_animationName": "finishdragon",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": 1,
"premultipliedAlpha": false, "premultipliedAlpha": false,
"_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041", "_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041",
"_accTime": 0, "_accTime": 0,
...@@ -1648,7 +1648,7 @@ ...@@ -1648,7 +1648,7 @@
"_animationName": "finishdragon", "_animationName": "finishdragon",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": 1,
"premultipliedAlpha": false, "premultipliedAlpha": false,
"_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041", "_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041",
"_accTime": 0, "_accTime": 0,
...@@ -1750,7 +1750,7 @@ ...@@ -1750,7 +1750,7 @@
"_animationName": "finishdragon", "_animationName": "finishdragon",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": 1,
"premultipliedAlpha": false, "premultipliedAlpha": false,
"_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041", "_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041",
"_accTime": 0, "_accTime": 0,
...@@ -1852,7 +1852,7 @@ ...@@ -1852,7 +1852,7 @@
"_animationName": "finishdragon", "_animationName": "finishdragon",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": 1,
"premultipliedAlpha": false, "premultipliedAlpha": false,
"_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041", "_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041",
"_accTime": 0, "_accTime": 0,
...@@ -1954,7 +1954,7 @@ ...@@ -1954,7 +1954,7 @@
"_animationName": "finishdragon", "_animationName": "finishdragon",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": 1,
"premultipliedAlpha": false, "premultipliedAlpha": false,
"_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041", "_armatureKey": "e5113a64-f76c-4d4f-a04d-f45ceb42c0be#1a65d967-5f21-47a9-9791-5df3e1da7041",
"_accTime": 0, "_accTime": 0,
......
...@@ -83,7 +83,8 @@ cc.Class({ ...@@ -83,7 +83,8 @@ cc.Class({
getDefaultData() { getDefaultData() {
const dataJson = '{"animationName":"Greetings"}' // const dataJson = '{"animationName":"Greetings"}'
const dataJson = '{"animationName":"WarmUp"}'
const data = JSON.parse(dataJson); const data = JSON.parse(dataJson);
return data; return data;
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment