controls.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons" rel="stylesheet">
  7. <meta name="viewport" content="width=device-width,initial-scale=1.0">
  8. <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  9. <title>vuetify demo</title>
  10. </head>
  11. <body>
  12. <script>
  13. window.__serverSideData__ = {
  14. states: {
  15. Name1: ["text1"],
  16. Name2: ["true"],
  17. }
  18. }
  19. </script>
  20. <div id="app">
  21. <v-app>
  22. <v-content>
  23. <v-container>
  24. <vw-text-field field-name="Name1"></vw-text-field>
  25. <vw-checkbox field-name="Name2" label="Hello" true-value="true" false-value="false" input-value="true"></vw-checkbox>
  26. <v-radio-group>
  27. <template v-slot:prepend>
  28. <h3>v-radio-group</h3>
  29. </template>
  30. <v-radio value="1" label="Option 1"></v-radio>
  31. <v-radio value="2" label="Option 2"></v-radio>
  32. </v-radio-group>
  33. <vw-radio-group field-name="Name3" value="2">
  34. <template v-slot:prepend>
  35. <h3>vw-radio-group</h3>
  36. </template>
  37. <v-radio value="1" label="Option 1"></v-radio>
  38. <v-radio value="2" label="Option 2"></v-radio>
  39. </vw-radio-group>
  40. <v-btn color="info" v-on:click='onclick({"id": "update"}, $event)'>Post</v-btn>
  41. </v-container>
  42. </v-content>
  43. </v-app>
  44. </div>
  45. <script src="http://localhost:3080/app.js"></script>
  46. <script src="http://localhost:3100/app.js"></script>
  47. </body>
  48. </html>