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

capsuleBar要skyLine模式下位置错误 #1581

Open
KING754 opened this issue Nov 14, 2023 Discussed in #1580 · 2 comments
Open

capsuleBar要skyLine模式下位置错误 #1581

KING754 opened this issue Nov 14, 2023 Discussed in #1580 · 2 comments

Comments

@KING754
Copy link

KING754 commented Nov 14, 2023

Discussed in #1580

Originally posted by KING754 November 14, 2023
新手,在使用capsuleBar组件时。代码如下:

<!--index.wxml-->

<l-capsuleBar home-page="pages/index/index" title="SHOPPIN FAN" bg-color="red" has-padding="true">

</l-capsuleBar>

<view class="container">
<view class="main">
  <view>
    <text>栏目1</text>
  </view>

  <view class="indexItems">
    <view class="leftItem">
      <image src="img.png" class="itemShowImg" mode="heightFix"></image>
    </view>
    <view class="rightItem">
      <image src="img.png" class="itemShowImg" mode="heightFix"></image>
    </view>
  </view>
  <view class="imgFlag">

  </view>
</view>
</view>

index.json:

{
  "usingComponents": {
    "l-capsuleBar":"/miniprogram_npm/lin-ui/capsule-bar/index"
  },
  "navigationStyle": "custom"
}

不知道是我写法有问题,还是其它地方出问题了。
在skyline模式下:
1699958267035

在webview模式下:
1699958337500

@KING754
Copy link
Author

KING754 commented Nov 14, 2023

真机又是如此的:
5d89e85a8784922fae11da9e53e6b8e

@KING754
Copy link
Author

KING754 commented Nov 14, 2023

是不是,我使用方法,不对。试了几个标签在Skyline模式,都不是想要的效果。
price标签,直接单位和价格之间换行了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant