list.vue 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <template>
  2. <view>
  3. <view class="search main-left cross-center">
  4. <image style="margin-right: 15rpx;" src="https://t17.9026.com/web/statics/image/sale/search_icon.png" mode=""></image><input type="text" placeholder-class="search_plh_class" placeholder="客户名、楼盘名">
  5. </view>
  6. <view class="list">
  7. <view class="main-between cross-center item" v-for="(item,index) in 5" @click="navCusmterInfo">
  8. <view class="main-left">
  9. <view>
  10. <image style="width: 94rpx;height: 94rpx;border-radius: 50%;margin-right: 26rpx;" src="https://t17.9026.com/web/statics/image/sale/1.png" mode=""></image>
  11. </view>
  12. <view class="main-between-y">
  13. <view class="name">周先生<image style="width: 96rpx; height: 32rpx;" src="https://t17.9026.com/web/statics/image/index/ysm.png" mode=""></image></view>
  14. <view class="addr">世龙广场 2号楼-2202</view>
  15. </view>
  16. </view>
  17. <image style="width: 13rpx;height: 21rpx;" src="https://t17.9026.com/web/statics/image/sale/arrow_right.png" mode=""></image>
  18. </view>
  19. </view>
  20. <navigator url="/pages/sale/cusmter/addCustomer" hover-class="navigator-hover">
  21. <button class="addPro" type="default">添加客户</button>
  22. </navigator>
  23. </view>
  24. </template>
  25. <script>
  26. export default {
  27. data() {
  28. return {
  29. };
  30. },
  31. methods:{
  32. navCusmterInfo(){
  33. uni.navigateTo({
  34. url:'/pages/sale/cusmter/info'
  35. })
  36. }
  37. }
  38. }
  39. </script>
  40. <style lang="scss" scoped>
  41. .search{
  42. width: 678rpx;
  43. height: 77rpx;
  44. background: #F8F8F8;
  45. border-radius: 39rpx;
  46. margin: auto;
  47. padding: 0 43rpx;
  48. input{
  49. width: 100%;
  50. }
  51. image{
  52. width: 24rpx;
  53. height: 27rpx;
  54. }
  55. }
  56. /deep/.search_plh_class{
  57. font-size: 28rpx;
  58. font-family: PingFang SC;
  59. font-weight: 500;
  60. color: #999999;
  61. }
  62. .list{
  63. .item{
  64. background-color: #fff;
  65. height: 145rpx;
  66. width: 678rpx;
  67. margin: 0 auto;
  68. border-bottom: 1rpx solid #EEEEEE;
  69. .name{
  70. font-size: 32rpx;
  71. font-family: PingFang SC;
  72. font-weight: bold;
  73. color: #222222;
  74. }
  75. .addr{
  76. font-size: 24rpx;
  77. font-family: PingFang SC;
  78. font-weight: 500;
  79. color: #999999;
  80. }
  81. }
  82. }
  83. .addPro {
  84. position: fixed;
  85. bottom: 0;
  86. width: 100%;
  87. height: 100rpx;
  88. background: #A18353;
  89. font-size: 32rpx;
  90. font-family: PingFang SC;
  91. font-weight: bold;
  92. color: #FFFFFF;
  93. }
  94. </style>