school.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <template>
  2. <view class="form-box">
  3. <en-nav title="编辑学校" :title-color="'#333'" :right-show="true" :right-type="2" >
  4. <template v-slot:right>
  5. <text class="nav-right sys-weight-600 sys-color-white">保存</text>
  6. </template>
  7. </en-nav>
  8. <view class="from-input">
  9. <input type="text" class="input-item sys-height-44" placeholder="你来自哪个学校"></input>
  10. </view>
  11. <view class="from-text sys-color-gray-9">
  12. 学校信息不能为空
  13. </view>
  14. </view>
  15. </template>
  16. <script>
  17. import EnNav from "@/components/en-utils/en-nav/en-nav";
  18. export default {
  19. components: {EnNav},
  20. data() {
  21. return {
  22. }
  23. },
  24. methods: {
  25. }
  26. }
  27. </script>
  28. <style scoped lang="scss">
  29. .form-box{
  30. padding: 0 32rpx;
  31. .nav-right{
  32. font-size: 28rpx;
  33. line-height: 44rpx;
  34. color: #333;
  35. }
  36. .from-input{
  37. margin-top: 56rpx;
  38. background-color: #F2F2F2;
  39. border-radius: 16rpx;
  40. padding: 32rpx;
  41. .input-item{
  42. font-size: 28rpx;
  43. color: #333;
  44. }
  45. .input-item::placeholder{
  46. color: #999;
  47. }
  48. }
  49. .from-text{
  50. margin-top: 24rpx;
  51. font-size: 24rpx;
  52. }
  53. }
  54. </style>