user_edit.php 755 B

123456789101112131415161718192021222324
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | home
  5. |--------------------------------------------------------------------------
  6. */
  7. $view
  8. # 定义名称
  9. ->fetch('.am-btn-group', 'factory/admin/user.getRole')
  10. ->fetch('.form1@action', 'factory/admin/user.getConfig#update')
  11. ->fetch('#update_where_id@value', '<{Dever::input("id")}>')
  12. ->render('factory/admin/user.getData', array
  13. (
  14. '#update_name_value@value' => '$v.name',
  15. '#update_mobile_value@value' => '$v.mobile',
  16. '#update_avatar_avatar@value' => '$v.avatar',
  17. '#show_update_avatar_avatar@style' => array('<{$v.avatar}>', 'display:none'),
  18. '#show_update_avatar_avatar@src' => '$v.avatar',
  19. ))
  20. # display
  21. ->display();