Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
9073a2e8
Commit
9073a2e8
authored
Apr 01, 2024
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公告问题优化
parent
cf03dbc8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
static/nativeComponents/Notice/index.wxml
+3
-3
No files found.
static/nativeComponents/Notice/index.wxml
View file @
9073a2e8
<!--static/nativeComponents/Notice/index.wxml-->
<view class="notice" style="border-radius:{{datas.componentData.borderRadius}}px;background-color:{{datas.componentData.backgroundColor}};margin:{{NoticeMargin}};padding:{{NoticePadding}};height:{{(CommonHeight)}}">
<swiper autoplay interval="3000" vertical circular>
<swiper autoplay interval="3000" vertical
style="height:{{CommonHeight}}"
circular>
<swiper-item wx:for="{{datas.componentData.noticeList}}" wx:key="index">
<view class="container" bindtap="onclickHandle" data-index="{{index}}" style="width: 100%;">
<view class="container" bindtap="onclickHandle" data-index="{{index}}" style="width: 100%;
height:{{CommonHeight}}
">
<block wx:if="{{item.imageUrl||datas.componentData.singleImage}}">
<view wx:if="{{datas.componentData.styleType===1}}">
<image class="notice-icon" mode="widthFix" style="width:{{datas.componentData.imageWidth}}px !important;height:{{datas.componentData.imageWidth}}px;" src="{{item.imageUrl}}" />
...
...
@@ -12,7 +12,7 @@
</view>
</block>
<view class="notice-content" style="font-size:{{datas.componentData.fontSize}}px;color:{{datas.componentData.fontColor}}">
<van-notice-bar custom-class="vanNoticeBar" scrollable background="
{{datas.componentData.backgroundColor}}
" >
<van-notice-bar custom-class="vanNoticeBar" scrollable background="
transparent
" >
<view class="vanNoticeBar__text" style="font-size:{{datas.componentData.fontSize}}px;color:{{datas.componentData.fontColor}}">{{item.title}}</view>
</van-notice-bar>
</view>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment