|
@@ -10,6 +10,7 @@ import { ElevationObject } from '../../components/Button';
|
|
|
import HeaderTitle from '../../components/HeaderTitle';
|
|
import HeaderTitle from '../../components/HeaderTitle';
|
|
|
import TextView from '../../components/TextView';
|
|
import TextView from '../../components/TextView';
|
|
|
import utils from '../../utils/utils';
|
|
import utils from '../../utils/utils';
|
|
|
|
|
+import { PagerView } from './ViewUtil';
|
|
|
|
|
|
|
|
export default class ViewCampaign extends Component {
|
|
export default class ViewCampaign extends Component {
|
|
|
constructor(props) {
|
|
constructor(props) {
|
|
@@ -86,7 +87,7 @@ export default class ViewCampaign extends Component {
|
|
|
style={{height: $width}}
|
|
style={{height: $width}}
|
|
|
autoplay={true}
|
|
autoplay={true}
|
|
|
autoplayTimeout={5}
|
|
autoplayTimeout={5}
|
|
|
- renderPagination={() => <></>}
|
|
|
|
|
|
|
+ renderPagination={(index,total) => <PagerView index={index+1} total={total}/> }
|
|
|
removeClippedSubviews={false}>
|
|
removeClippedSubviews={false}>
|
|
|
{ this.state.messageInfo.articleImages.map((item, index) => {
|
|
{ this.state.messageInfo.articleImages.map((item, index) => {
|
|
|
return (
|
|
return (
|