123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <template>
- <view class="center">
- <view class="avatars flex">
- <view class="" v-for="(item,index) in 9">
- <image :src="formData.fleetMemberInfoList[0].driverPortrait" mode="" style="width: 128rpx;height: 30px;"></image>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- fleetId: "",
- formData: {}
- }
- },
- onShow() {
- },
- onLoad(options) {
- this.fleetId = options.id
- this.getList()
- },
- methods: {
- getList() {
- this.$request.baseRequest('get', '/fleetInfo/getFleetInfo', {
- id: this.fleetId
- }).then(res => {
- this.formData = res.data
- })
- .catch(res => {
- uni.$u.toast(res.message);
- });
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .center {
- padding: 40rpx;
- }
- .avatars {
- // height: 100%;
- width: 100%;
- // height: 30px;
- // .avatars_item{
- // width: 25%;
- // }
- }
- </style>
|