在调用swiper的div上加dir="rtl"就行了,例子见下面链接
http://www.swiper.com.cn/demo/26-rtl.html
<div class="bg5_container flex" dir="rtl">
1,html的dir属性改变排列的方向,所有浏览器都支持。
2,两个属性,ltr从左到右,默认的,left to right的缩写。
3,rtl从右到左,right to left的缩写。
4,swiper支持100%rtl布局。
转自:https://zhidao.baidu.com/question/139983996434294765.html