exhibit-detail.vue 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. <template>
  2. <view class="exhibit-detail exhibitor-detail">
  3. <nav-bar title="展品介绍" @init="onInitNavbar"></nav-bar>
  4. <u-scroll-view>
  5. <view class="main-container">
  6. <view class="exhibit-image">
  7. <image src="/static/img/example/exhibit.png" />
  8. <view class="exhibit-tag">2025新品</view>
  9. </view>
  10. <view class="exhibit-name">汽车连接器 86W MLK 1,2 SD-HOLDER</view>
  11. <view class="exhibit-desc">适用于连接器、连接器系统的生产加工,汽车零部件、电子元器件、机械设备及其零配件、工具、模具、连接器产品及其生产设备的批发、进出口、佣金代理(拍卖除外),并提供相关配套服务(包括上门安装、保养、维修服务)。</view>
  12. <view class="exhibit-tags exhibitor-tags">
  13. <view class="exhibitor-tags-category">产品分类:</view>
  14. <view class="exhibitor-tags-list">
  15. <view class="exhibitor-tag">柔性与印刷电子</view>
  16. <view class="exhibitor-tag">电子制造服务</view>
  17. <view class="exhibitor-tag">PCB焊接和连接技术</view>
  18. <view class="exhibitor-tag">线束和连接器</view>
  19. <view class="exhibitor-tag">柔性与印刷电子</view>
  20. <view class="exhibitor-tag">电子制造服务</view>
  21. </view>
  22. </view>
  23. <view class="exhibit-tags exhibitor-tags">
  24. <view class="exhibitor-tags-category">应用领域:</view>
  25. <view class="exhibitor-tags-list"></view>
  26. <view class="exhibitor-tag">电脑和周边设备</view>
  27. <view class="exhibitor-tag">新能源</view>
  28. </view>
  29. <view class="exhibit-operation exhibitor-operation">
  30. <view class="exhibitor-views">浏览:30911</view>
  31. <view class="exhibitor-action">
  32. <view>
  33. <view class="iconfont icon-xiaochengxu-renqiicon"></view>
  34. <view>人气:11192</view>
  35. </view>
  36. <view>
  37. <button open-type="share">
  38. <view>
  39. <view class="iconfont icon-zhuanfa"></view>
  40. <view>分享</view>
  41. </view>
  42. </button>
  43. </view>
  44. <view>
  45. <view class="iconfont icon-Favourites-Add-Large"></view>
  46. <view>收藏</view>
  47. </view>
  48. <view>
  49. <view class="iconfont icon-Heart"></view>
  50. <view>点赞</view>
  51. </view>
  52. <view>
  53. <view class="iconfont icon-xiaochengxu-toupiaoicon"></view>
  54. <view>投票</view>
  55. </view>
  56. </view>
  57. </view>
  58. <u-panel title="展商信息">
  59. <view class="exhibitor-card">
  60. <view class="exhibitor-info">
  61. <view class="exhibitor-logo">
  62. <image src="/static/img/example/kostal_log.png" mode="aspectFit" />
  63. </view>
  64. <view class="exhibitor-name-cn">科世达(上海)连接器有限公司</view>
  65. <view class="exhibitor-name-en">Leopold Kostal GmbH & Co. KG</view>
  66. <view class="exhibitor-detail-link">
  67. <van-button type="primary" @click="onClickDetail">
  68. <template>
  69. <view>点击了解展商更多信息</view> <view class="arrow iconfont icon-right-s"></view>
  70. </template>
  71. </van-button>
  72. </view>
  73. </view>
  74. <view class="exhibitor-number">
  75. <view class="exhibitor-number-label">我们的展位号</view>
  76. <view class="exhibitor-number-text">E1馆 1101</view>
  77. </view>
  78. </view>
  79. </u-panel>
  80. </view>
  81. </u-scroll-view>
  82. </view>
  83. </template>
  84. <script>
  85. import NavBar from '@/components/layout/nav-bar'
  86. import UScrollView from '@/components/common/u-scroll-view'
  87. import UPanel from '@/components/common/u-panel'
  88. export default {
  89. options: {
  90. styleIsolation: 'shared'
  91. },
  92. components: {
  93. NavBar,
  94. UScrollView,
  95. UPanel
  96. },
  97. computed: {},
  98. data() {
  99. return {}
  100. },
  101. created() {
  102. },
  103. methods: {
  104. onShareAppMessage() {
  105. return {
  106. title: '分享展品详情',
  107. path: `/pages/exhibitor/exhibit-detail`,
  108. imageUrl: 'https://oss.starify.cn/prod/starify/up/0001018678/20241108/672da70c02212.png'
  109. }
  110. },
  111. onClickDetail(e) {
  112. uni.navigateTo({
  113. url: '/pages/exhibitor/detail'
  114. })
  115. }
  116. }
  117. }
  118. </script>
  119. <style lang="scss">
  120. @import "@/static/style/pages/exhibitor-detail.scss";
  121. .exhibit-detail{
  122. .exhibit-image{
  123. position: relative;
  124. height: 438rpx;
  125. background-color: #FFFFFF;
  126. border-radius: 5rpx;
  127. border: 1rpx solid #D6D6D6;
  128. .exhibit-tag{
  129. position: absolute;
  130. top: 28rpx;
  131. left: 29rpx;
  132. padding: 12rpx 22rpx;
  133. color: $textActionColor;
  134. font-size: $fontSize0;
  135. background-color: lighten($textActionColor, 43%);
  136. }
  137. }
  138. .exhibitor-detail-link{
  139. .van-button__text{
  140. font-size: 18rpx;
  141. }
  142. }
  143. .exhibit-name{
  144. margin-top: 28rpx;
  145. font-family: Poppins, Poppins;
  146. font-weight: bold;
  147. font-size: $fontSize5;
  148. color: #000000;
  149. line-height: 42rpx;
  150. }
  151. .exhibit-desc{
  152. margin-top: 18rpx;
  153. font-family: Poppins, Poppins;
  154. font-size: $fontSize1;
  155. color: #555555;
  156. line-height: 35rpx;
  157. }
  158. .exhibitor-card{
  159. display: flex;
  160. background-color: #FFFFFF;
  161. .exhibitor-info{
  162. padding: 36rpx;
  163. }
  164. .exhibitor-logo{
  165. width: 194rpx;
  166. }
  167. .exhibitor-detail-link{
  168. margin-top: 36rpx;
  169. }
  170. .exhibitor-name-cn,.exhibitor-name-en{
  171. font-family: Poppins, Poppins;
  172. font-size: $fontSize2;
  173. color: #000000;
  174. line-height: 28rpx;
  175. }
  176. .exhibitor-name-en{
  177. margin-top: 10rpx;
  178. font-size: $fontSize1;
  179. }
  180. .exhibitor-number{
  181. @include display-flex-center;
  182. flex-direction: column;
  183. width: 267rpx;
  184. background-color: $buttonPrimaryColor;
  185. color: #FFFFFF;
  186. }
  187. .exhibitor-number-text{
  188. width: 161rpx;
  189. text-align: center;
  190. font-family: Poppins, Poppins;
  191. font-weight: bold;
  192. font-size: 55rpx;
  193. line-height: 64rpx;
  194. margin-top: 30rpx;
  195. }
  196. .exhibitor-number-label{
  197. font-family: Poppins, Poppins;
  198. font-size: $fontSize2;
  199. line-height: 28rpx;
  200. color: rgba(255, 255, 255, 0.74);
  201. }
  202. }
  203. .u-panel{
  204. margin-top: 54rpx;
  205. padding: 0;
  206. .u-panel-title{
  207. &:after{
  208. display: none;
  209. }
  210. }
  211. }
  212. }
  213. </style>