index.vue 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <template>
  2. <view :style="{ minHeight: sys.windowHeight + 'px' }"
  3. :class="[$tm.vx.state().tmVuetify.black ? 'black' : ' ']">
  4. <tm-menubars title="消息列表" :shadow="0" :showback="true"></tm-menubars>
  5. <div>
  6. <tm-sheet class="kuang" style="padding-bottom: 40px !important;">
  7. <view style="width: 94%;margin:0 auto;">
  8. <tm-input title="收货人" placeholder="请填写收货人姓名"></tm-input>
  9. <tm-input title="手机号码" placeholder="填写收件人手机号码"></tm-input>
  10. <tm-input title="所在地区" placeholder="省市区县、乡镇等"></tm-input>
  11. <tm-input title="详细地址" placeholder="街道、楼牌号等"></tm-input>
  12. </view>
  13. </tm-sheet>
  14. <tm-sheet class="kuang" style="padding-bottom: 20px !important;">
  15. <view style="width: 94%;margin:0 auto;padding-top:15px;">
  16. <view class="fl text-white mt-10" style="width: 15%;">标签</view>
  17. <view class="fl" style="width: 80%;">
  18. <tm-button class="ml-20" :round="10" theme="gray" size="s">学校</tm-button>
  19. <tm-button class="ml-20" :round="10" theme="gray" size="s">学校</tm-button>
  20. <tm-button class="ml-20" :round="10" theme="gray" size="s">学校</tm-button>
  21. <tm-button class="ml-20" :round="10" theme="gray" size="s">学校</tm-button>
  22. <tm-button class="ml-20" :round="10" theme="gray" size="s">+</tm-button>
  23. </view>
  24. <view style="clear: both;"></view>
  25. <tm-listitem title="设置为默认地址">
  26. <template v-slot:rightIcon="">
  27. <tm-switch offBgcolor="yellow text-black" :text="['','']" color="primary" v-model="on"></tm-switch>
  28. </template>
  29. </tm-listitem>
  30. </view>
  31. </tm-sheet>
  32. <tm-button :round="24" class="sao mb-40 mt-40" block>保存</tm-button>
  33. </div>
  34. <!-- 弹出层消息 -->
  35. <tm-message ref="toast"></tm-message>
  36. </view>
  37. </template>
  38. <script>
  39. import{myRequest} from '@/api/request.js'
  40. export default {
  41. data() {
  42. return {
  43. on:false,
  44. };
  45. },
  46. onLoad() {
  47. },
  48. created() {
  49. this.sys = uni.getSystemInfoSync();
  50. },
  51. methods: {
  52. },
  53. }
  54. </script>
  55. <style lang="scss">
  56. /deep/ .tm-menubars .body{
  57. background-color: #1b1b1b !important;
  58. }
  59. /deep/ .kuang{margin:0 !important;padding: 0px !important;margin-top:10px !important;}
  60. /deep/ .border-grey-darken-4-b-1{border-bottom:solid 1px #303030;}
  61. .sao{width: 88%;margin:0 auto;margin-top: 30px;}
  62. /deep/ .tm-button-label{color: white;}
  63. /deep/ .tm-listitem{border-top: 1px solid #303030;margin-top: 15px;}
  64. </style>