index.vue 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <template>
  2. <view :style="{ minHeight: sys.windowHeight + 'px' }" :class="[$tm.vx.state().tmVuetify.black ? 'black' : ' ']">
  3. <tm-menubars title="" :shadow="0" :showback="false"></tm-menubars>
  4. <view class="C1b1b1b pb-40">
  5. <view class="sousuo">
  6. <tm-pickersCity class="dingwei fl" btn-color="bg-gradient-blue-accent" @confirm="okCity" :default-value="addr">
  7. <view>
  8. <text class="text-size-n">{{addr[1]}}</text>
  9. <tm-icons :size="24" color="white" name="icon-angle-down"></tm-icons>
  10. </view>
  11. </tm-pickersCity>
  12. <view>
  13. <tm-search @confirm="sosoFun" class="fl" v-model="soso" color="white" confirm-text=""></tm-search>
  14. <text class="quxiao fr" @click="goindex()">取消</text>
  15. </view>
  16. </view>
  17. <view style="clear: both;"></view>
  18. <view class="fixed fulled" style="z-index: 30;">
  19. <tm-dropDownMenu un-color="white" :list="list2"></tm-dropDownMenu>
  20. </view>
  21. </view>
  22. <!-- <div class="zhuti">
  23. <tm-sheet class="kuang" style="padding-bottom: 70px !important;">
  24. <view style="width: 94%;margin:0 auto;">
  25. </view>
  26. </tm-sheet>
  27. <tm-button :round="24" class="sao mb-40 mt-40" block>提交</tm-button>
  28. </div> -->
  29. <!-- 弹出层消息 -->
  30. <tm-message ref="toast"></tm-message>
  31. </view>
  32. </template>
  33. <script>
  34. import{myRequest} from '@/api/request.js'
  35. export default {
  36. data() {
  37. return {
  38. activeIndex:0,
  39. soso:'',
  40. addr:['江西省','南昌市','西湖区'],
  41. value:'',
  42. list2: [{
  43. title: '排序',
  44. }, {
  45. title: '价格',
  46. },
  47. {
  48. title: '品牌',
  49. }
  50. ],
  51. };
  52. },
  53. onLoad() {
  54. },
  55. created() {
  56. this.sys = uni.getSystemInfoSync();
  57. },
  58. methods: {
  59. goindex(){
  60. uni.navigateBack();
  61. },
  62. sosoFun(){
  63. }
  64. },
  65. }
  66. </script>
  67. <style lang="scss">
  68. /deep/ .tm-menubars .body{
  69. background-color: #1b1b1b !important;
  70. }
  71. /deep/ .zhuti{padding: 10px 10px;}
  72. /deep/ .kuang{margin:0 !important;padding: 0px !important;}
  73. /deep/ .icon-search{
  74. font-size: 23px !important;
  75. color: #8E8E93 !important;
  76. }
  77. /deep/ .tm-search{
  78. width: 66%;
  79. background-color: #414141 !important;
  80. border-radius: 10px;
  81. }
  82. /deep/ .tm-search .grey-darken-5{
  83. background-color: #414141 !important;
  84. }
  85. .dingwei{width: 21%;margin-top:3%;}
  86. .shuruk{width: 77%;}
  87. .sousuo{width:94%;margin:0 auto;}
  88. .quxiao{color: #707070;line-height: 47px;}
  89. </style>