exhibit-detail.vue 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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" :plain="true">
  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. this.loadFontFace('Poppins')
  103. },
  104. methods: {
  105. onShareAppMessage() {
  106. return {
  107. title: '分享展品详情',
  108. path: `/pages/exhibitor/exhibit-detail`,
  109. imageUrl: 'https://oss.starify.cn/prod/starify/up/0001018678/20241108/672da70c02212.png'
  110. }
  111. },
  112. onClickDetail(e) {
  113. uni.navigateTo({
  114. url: '/pages/exhibitor/detail'
  115. })
  116. }
  117. }
  118. }
  119. </script>
  120. <style lang="scss">
  121. @import "@/static/style/pages/exhibitor-detail.scss";
  122. .exhibit-detail{
  123. .exhibit-image{
  124. position: relative;
  125. height: 438rpx;
  126. background-color: #FFFFFF;
  127. border-radius: 5rpx;
  128. border: 1rpx solid #D6D6D6;
  129. .exhibit-tag{
  130. position: absolute;
  131. top: 28rpx;
  132. left: 29rpx;
  133. padding: 12rpx 22rpx;
  134. color: $textActionColor;
  135. font-size: $fontSize0;
  136. background-color: lighten($textActionColor, 43%);
  137. }
  138. }
  139. .exhibitor-detail-link{
  140. @include link-button;
  141. }
  142. .exhibit-name{
  143. margin-top: 28rpx;
  144. font-family: Poppins, Poppins;
  145. font-weight: bold;
  146. font-size: $fontSize6;
  147. color: #000000;
  148. line-height: 42rpx;
  149. }
  150. .exhibit-desc{
  151. margin-top: 18rpx;
  152. font-family: Poppins, Poppins;
  153. font-size: $fontSize2;
  154. color: #555555;
  155. line-height: 35rpx;
  156. }
  157. .exhibitor-card{
  158. display: flex;
  159. background-color: #FFFFFF;
  160. .exhibitor-info{
  161. padding: 36rpx;
  162. }
  163. .exhibitor-logo{
  164. width: 194rpx;
  165. }
  166. .exhibitor-detail-link{
  167. margin-top: 36rpx;
  168. }
  169. .exhibitor-name-cn,.exhibitor-name-en{
  170. font-family: Poppins, Poppins;
  171. font-size: $fontSize3;
  172. color: #000000;
  173. line-height: 28rpx;
  174. }
  175. .exhibitor-name-en{
  176. margin-top: 10rpx;
  177. font-size: $fontSize2;
  178. }
  179. .exhibitor-number{
  180. @include display-flex-center;
  181. flex-direction: column;
  182. width: 267rpx;
  183. background-color: $buttonPrimaryColor;
  184. color: #FFFFFF;
  185. }
  186. .exhibitor-number-text{
  187. width: 161rpx;
  188. text-align: center;
  189. font-family: Poppins, Poppins;
  190. font-weight: bold;
  191. font-size: 55rpx;
  192. line-height: 64rpx;
  193. margin-top: 30rpx;
  194. }
  195. .exhibitor-number-label{
  196. font-family: Poppins, Poppins;
  197. font-size: $fontSize3;
  198. line-height: 28rpx;
  199. color: rgba(255, 255, 255, 0.74);
  200. }
  201. }
  202. .u-panel{
  203. margin-top: 54rpx;
  204. padding: 0;
  205. .u-panel-title{
  206. &:after{
  207. display: none;
  208. }
  209. }
  210. }
  211. }
  212. </style>