12345678910111213141516171819202122232425262728293031 |
- var app = getApp();
- Component({
- properties: {
- imgUrls:{
- type:Object,
- value:[]
- },
- videoline:
- {
- type:String,
- value:""
- }
- },
- data: {
- indicatorDots: true,
- circular: true,
- autoplay: false,
- interval: 3000,
- duration: 500,
- currents: "1"
- },
- attached:function(){
- },
- methods: {
- change: function (e) {
- this.setData({
- currents: e.detail.current + 1
- })
- }
- }
- })
|