提交 f69e86d1 编写于 作者: S sunjiakun

IsShowBackground -> showBackground

Signed-off-by: Nsunjiakun <sunjiakun3@huawei.com>
上级 7ede3e8c
...@@ -66,7 +66,7 @@ struct SwiperExample { ...@@ -66,7 +66,7 @@ struct SwiperExample {
.duration(1000) .duration(1000)
.itemSpace(0) .itemSpace(0)
.displayArrow({ .displayArrow({
isShowBackground:true, showBackground:true,
isSidebarMiddle:true, isSidebarMiddle:true,
backgroundSize:24, backgroundSize:24,
backgroundColor:Color.White, backgroundColor:Color.White,
......
...@@ -40,7 +40,7 @@ export default function swiperTest() { ...@@ -40,7 +40,7 @@ export default function swiperTest() {
JSON.stringify(obj.$attrs.selectedItemWidth)); JSON.stringify(obj.$attrs.selectedItemWidth));
let obj2 = JSON.parse(obj.$attrs.indicator); let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_SelectedItemWidth_0100 component obj2 is: " + JSON.stringify(obj2.selectedItemWidth)); console.info("ArkUX_Stage_Swiper_SelectedItemWidth_0100 component obj2 is: " + JSON.stringify(obj2.selectedItemWidth));
expect(obj2.selectedItemWidth).assertEqual("5.00px"); expect(obj2.selectedItemWidth).assertEqual("5.00vp");
console.info('ArkUX_Stage_Swiper_SelectedItemWidth_0100 END '); console.info('ArkUX_Stage_Swiper_SelectedItemWidth_0100 END ');
done(); done();
} catch (err) { } catch (err) {
...@@ -280,7 +280,7 @@ export default function swiperTest() { ...@@ -280,7 +280,7 @@ export default function swiperTest() {
JSON.stringify(obj.$attrs.selectedItemHeight)); JSON.stringify(obj.$attrs.selectedItemHeight));
let obj2 = JSON.parse(obj.$attrs.indicator); let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_SelectedItemHeight_0100 component obj2 is: " + JSON.stringify(obj2)); console.info("ArkUX_Stage_Swiper_SelectedItemHeight_0100 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.selectedItemHeight).assertEqual("3.00px"); expect(obj2.selectedItemHeight).assertEqual("3.00vp");
console.info('ArkUX_Stage_Swiper_SelectedItemHeight_0100 END '); console.info('ArkUX_Stage_Swiper_SelectedItemHeight_0100 END ');
done(); done();
} catch (err) { } catch (err) {
...@@ -520,7 +520,7 @@ export default function swiperTest() { ...@@ -520,7 +520,7 @@ export default function swiperTest() {
JSON.stringify(obj.$attrs.itemWidth)); JSON.stringify(obj.$attrs.itemWidth));
let obj2 = JSON.parse(obj.$attrs.indicator); let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_ItemWidth_0100 component obj2 is: " + JSON.stringify(obj2)); console.info("ArkUX_Stage_Swiper_ItemWidth_0100 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.itemWidth).assertEqual("3.00px"); expect(obj2.itemWidth).assertEqual("3.00vp");
console.info('ArkUX_Stage_Swiper_ItemWidth_0100 END '); console.info('ArkUX_Stage_Swiper_ItemWidth_0100 END ');
done(); done();
} catch (err) { } catch (err) {
...@@ -730,7 +730,7 @@ export default function swiperTest() { ...@@ -730,7 +730,7 @@ export default function swiperTest() {
JSON.stringify(obj.$attrs.itemHeight)); JSON.stringify(obj.$attrs.itemHeight));
let obj2 = JSON.parse(obj.$attrs.indicator); let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_ItemHeight_0100 component obj2 is: " + JSON.stringify(obj2)); console.info("ArkUX_Stage_Swiper_ItemHeight_0100 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.itemHeight).assertEqual("3.00px"); expect(obj2.itemHeight).assertEqual("3.00vp");
console.info('ArkUX_Stage_Swiper_ItemHeight_0100 END '); console.info('ArkUX_Stage_Swiper_ItemHeight_0100 END ');
done(); done();
} catch (err) { } catch (err) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册