index.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 class="zhuti">
  6. <tm-sheet class="kuang" style="padding-bottom: 70px !important;">
  7. <view style="width: 98%;margin:0 auto;">
  8. <tm-tabs align="left" class="qiehuan1" v-model="activeIndex" :list="list" range-key="title"></tm-tabs>
  9. <image class="touxiang" src="/static/img/60.png" mode="widthFix"></image>
  10. </view>
  11. </tm-sheet>
  12. <tm-button :round="24" class="sao mb-40 mt-40" block>提交</tm-button>
  13. </div>
  14. <!-- 弹出层消息 -->
  15. <tm-message ref="toast"></tm-message>
  16. </view>
  17. </template>
  18. <script>
  19. import{myRequest} from '@/api/request.js'
  20. export default {
  21. data() {
  22. return {
  23. checked1:false,
  24. checked2:false,
  25. checked3:false,
  26. beizu:'',
  27. list:[ '商品介绍','搭配方案'],
  28. activeIndex:0,
  29. };
  30. },
  31. onLoad() {
  32. },
  33. created() {
  34. this.sys = uni.getSystemInfoSync();
  35. },
  36. methods: {
  37. aa(num){
  38. if(num==1){
  39. this.checked1=true;
  40. this.checked2=false;
  41. this.checked3=false;
  42. }else if(num==2){
  43. this.checked1=false;
  44. this.checked2=true;
  45. this.checked3=false;
  46. }else if(num==3){
  47. this.checked1=false;
  48. this.checked2=false;
  49. this.checked3=true;
  50. }
  51. },
  52. },
  53. }
  54. </script>
  55. <style lang="scss">
  56. /deep/ .tm-menubars .body{
  57. background-color: #1b1b1b !important;
  58. }
  59. /deep/ .zhuti{padding: 10px 10px;}
  60. /deep/ .kuang{margin:0 !important;padding: 0px !important;}
  61. /deep/ .qiehuan1 .text-primary{color: white !important;}
  62. .touxiang{width: 100%;margin:0 auto;display: block;margin-top: 20px;}
  63. </style>