ListItemE.vue 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <template>
  2. <view class="item_list">
  3. <view class="item_content">
  4. <view class="contentV" style="height: 360rpx;" @click="fenleixuanz('1')">
  5. <view class="">
  6. <view class="title ztextfontB3">
  7. <text>{{$t('shouye.meishiwaisong')}}</text>
  8. </view>
  9. <view class="detail textfontB5" style="width: 260rpx;">
  10. <text>{{$t('shouye.jqxsms')}}</text>
  11. </view>
  12. </view>
  13. <view class="viewInRow">
  14. <image class="imagIconB" src="/static/defimages/ewr@3x.png" mode="aspectFit"></image>
  15. </view>
  16. </view>
  17. <view class="contentV" style="height: 220rpx;" @click="fenleixuanz('4')">
  18. <view class="title textfontB5">
  19. <text>{{$t('shouye.gezhongyinpi')}}</text>
  20. </view>
  21. <view class="viewInRow">
  22. <text class="detail ztextfontB4">{{$t('shouye.changyinxr')}}</text>
  23. <image class="imagIconM" src="/static/defimages/234@3x.png" mode="aspectFit"></image>
  24. </view>
  25. </view>
  26. <view class="contentV" style="height: 150rpx;" @click="fenleixuanz('3')">
  27. <view class="viewInRow">
  28. <view >
  29. <text class="title ztextfontB3">{{$t('shouye.waimaizq')}}</text>
  30. <view class="detail textfontB5">
  31. <text >{{$t('shouye.dizhiXzhe')}}</text>
  32. </view>
  33. </view>
  34. <image class="imagIconS" src="/static/defimages/phl@3x.png" mode="aspectFit"></image>
  35. </view>
  36. </view>
  37. <!-- <view class="contentV" style="height: 150rpx;" @click="fenleixuanz('3')">
  38. <view class="viewInRow">
  39. <view >
  40. <text class="title ztextfontB3">专车出行</text>
  41. <view class="detail textfontB5">
  42. <text >方便快捷</text>
  43. </view>
  44. </view>
  45. <image class="imagIconS" src="/static/images/dache/zhuancdc@3x.png" mode="aspectFit"></image>
  46. </view>
  47. </view> -->
  48. </view>
  49. <view class="item_content">
  50. <view class="contentV" style="height: 220rpx;" @click="fenleixuanz('2')">
  51. <view class="title ztextfontB3">
  52. <text>{{$t('shouye.tangshi')}}</text>
  53. </view>
  54. <view class="viewInRow">
  55. <view class="detail textfontB5">
  56. <text>{{$t('shouye.tangshidand')}}</text>
  57. </view>
  58. <image class="imagIconM" src="/static/defimages/www@3x.png" mode="aspectFit"></image>
  59. </view>
  60. </view>
  61. <view class="contentV" style="height: 270rpx;" @click="fenleixuanz('6')">
  62. <view class="">
  63. <view class="title ztextfontB3">
  64. <text>{{$t('shouye.remenbangd')}}</text>
  65. </view>
  66. <text class="detail textfontB5">{{$t('shouye.shangpinrem')}}</text>
  67. </view>
  68. <view class="viewInRow">
  69. <image class="imagIconBL" src="/static/defimages/324@3x.png" mode="aspectFit"></image>
  70. </view>
  71. </view>
  72. <view class="contentV" style="height: 240rpx;" @click="fenleixuanz('5')">
  73. <view class="title ztextfontB3">
  74. <text>{{$t('shouye.jingzhixwc')}}</text>
  75. </view>
  76. <view class="viewInRow">
  77. <text class="detail textfontB5">{{$t('shouye.pinzhish')}}</text>
  78. <image class="imagIconM" src="/static/defimages/wail@3x.png" mode="aspectFit"></image>
  79. </view>
  80. </view>
  81. </view>
  82. </view>
  83. </template>
  84. <script>
  85. export default {
  86. name:"goods-list",
  87. props:{
  88. goods:{},
  89. },
  90. data() {
  91. return {
  92. };
  93. },
  94. methods:{
  95. fenleixuanz(e){
  96. this.$emit('Efwflxuanze',e);
  97. },
  98. },
  99. }
  100. </script>
  101. <style lang="scss">
  102. @font-face {
  103. font-family: zrht;
  104. src: url('/uni_modules/font/zrht.otf');
  105. }
  106. .item_list{
  107. padding: 0 40rpx;
  108. display: flex;
  109. flex-wrap: wrap;
  110. justify-content: space-between;
  111. background-color: #F2F3F7;
  112. }
  113. .item_content{
  114. width: 48%;
  115. margin: 20rpx 0;
  116. box-sizing: border-box;
  117. }
  118. .contentV{
  119. margin-top: 20rpx;
  120. background: white;
  121. align-items: center;
  122. border-radius: 12rpx;
  123. border: 1rpx solid lightgrey;
  124. box-shadow: 0rpx 0rpx 10rpx 0rpx lightgrey;
  125. }
  126. .viewInRow{
  127. display: flex;
  128. flex-direction: row;
  129. justify-content: space-between;
  130. }
  131. .title{
  132. margin: 20rpx;
  133. color:black;
  134. font-weight: bolder;
  135. }
  136. .detail{
  137. margin-left: 20rpx;
  138. color:black;
  139. }
  140. .imagIconB{
  141. margin-left: auto;
  142. margin-top: -20rpx;
  143. margin-right: 20rpx;
  144. margin-bottom: 10rpx;
  145. width: 230rpx;
  146. height: 230rpx;
  147. }
  148. .imagIconBL{
  149. margin-left: auto;
  150. margin-top: -30rpx;
  151. margin-right: 20rpx;
  152. margin-bottom: 0rpx;
  153. width: 180rpx;
  154. height: 180rpx;
  155. }
  156. .imagIconM{
  157. margin-left: auto;
  158. margin-top: -16rpx;
  159. margin-right: 20rpx;
  160. margin-bottom: 10rpx;
  161. width: 150rpx;
  162. height: 150rpx;
  163. }
  164. .imagIconS{
  165. margin-left: auto;
  166. margin-right: 20rpx;
  167. margin-top: 10rpx;
  168. width: 100rpx;
  169. height: 100rpx;
  170. }
  171. </style>