html52.com
我爱小程序-开发者交流社区

swiper 本地可以播放图片,但是扫二维码预览的时候,没有了。

问题模块
API和组件

这个是index.wxml

<swiper indicator-dots="{{true}}"

autoplay="{{true}}" interval="{{3000}}" duration="{{1000}}">

<swiper-item>

<image src="{{'../../images/shirts/厚毛线长裙.png'}}" class="slide-image" width="355" height="150"/>

</swiper-item>

<swiper-item>

<image src="{{'../../images/shirts/打底毛衣.png'}}" class="slide-image" width="355" height="150"/>

</swiper-item>

<swiper-item>

<image src="{{'../../images/shirts/打底衫粉色.png'}}" class="slide-image" width="355" height="150"/>

</swiper-item>

<swiper-item>

<image src="{{'../../images/shirts/秋冬新款针织衫.png'}}" class="slide-image" width="355" height="150"/>

</swiper-item>

</swiper>

这里是app.json配置:

{

"pages":[

"pages/index/index",

"pages/user/user"

],

"window":{

"backgroundTextStyle":"light",

"navigationBarBackgroundColor": "#fff",

"navigationBarTitleText": "首页",

"navigationBarTextStyle":"black"

},

"tabBar": {

"color": "#6e6d6b",

"selectedColor": "#f9f027",

"borderStyle": "red",

"backgroundColor": "#292929",

"list": [

{

"pagePath": "pages/index/index",

"iconPath": "images/home-grey.png",

"selectedIconPath": "images/home-yellow.png",

"text": "首页"

},

{

"pagePath": "pages/user/user",

"iconPath": "images/footer-icon-04.png",

"selectedIconPath": "images/footer-icon-04-active.png",

"text": "用户中心"

}

]

},

"debug": false

}



网友回复

大大大侠饶命:

大家可以随便找几个图片试试


大大大侠饶命:

我说的预览,是指我说的预览,是指这个预览这个预览

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付