|  |  | 
 |  |  |                 "navigationBarTitleText" : "订单组托", | 
 |  |  |                 "enablePullDownRefresh" : false | 
 |  |  |             } | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |             "path" : "pages/mat/moduleMat", | 
 |  |  |             "style" :  | 
 |  |  |             { | 
 |  |  |                 "navigationBarTitleText" : "组件物料", | 
 |  |  |                 "enablePullDownRefresh" : false | 
 |  |  |             } | 
 |  |  |         } | 
 |  |  |     ], | 
 |  |  |     "globalStyle": { | 
 
 |  |  | 
 |  |  |                     method: 'POST', | 
 |  |  |                     success(res) { | 
 |  |  |                         res = res.data | 
 |  |  |                         that.elements = [] | 
 |  |  |                         that.elements = [ | 
 |  |  |                             { | 
 |  |  |                                 title: '组件物料', | 
 |  |  |                                 name: 'moduleMat', | 
 |  |  |                                 color: 'green', | 
 |  |  |                                 cuIcon: 'order', | 
 |  |  |                                 url: '/mat/moduleMat' | 
 |  |  |                             }, | 
 |  |  |                         ] | 
 |  |  |                         if (res.code === 200) { | 
 |  |  |                             if (res.data == undefined || res.data == null || res.data == "") { | 
 |  |  |                                 that.elements = that.elements2 | 
 
| New file | 
 |  |  | 
 |  |  | <template> | 
 |  |  |     <view> | 
 |  |  |         <view class="card" v-for="item in data"> | 
 |  |  |             <view class="card-title"> | 
 |  |  | 				 | 
 |  |  |             </view> | 
 |  |  | 			 | 
 |  |  |         </view> | 
 |  |  |     </view> | 
 |  |  | </template> | 
 |  |  |  | 
 |  |  | <script> | 
 |  |  |     export default { | 
 |  |  |         data() { | 
 |  |  |             return { | 
 |  |  |                 data: [ | 
 |  |  |                     {id:1,uuid:3}, | 
 |  |  |                     {id:2,uuid:4} | 
 |  |  |                 ] | 
 |  |  |             } | 
 |  |  |         }, | 
 |  |  |         methods: { | 
 |  |  | 			 | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  | </script> | 
 |  |  |  | 
 |  |  | <style> | 
 |  |  |     .card { | 
 |  |  |         background-color: antiquewhite; | 
 |  |  |         margin: 16rpx; | 
 |  |  |         min-height: 50rpx; | 
 |  |  |         border-radius: 16rpx; | 
 |  |  |     } | 
 |  |  | </style> |