exhibit-detail.vue 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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="https://oss.starify.cn/prod/starify/up/0001000075/20241113/67343f1c494de.png?x-oss-process=image/resize,w_800" mode="aspectFit"/>
  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 :plain="true" @click.stop="onShare">
  38. <view>
  39. <view class="iconfont icon-zhuanfa"></view>
  40. <view>分享</view>
  41. </view>
  42. </button>
  43. </view>
  44. <view>
  45. <view v-if="exhibitor.favourited" class="iconfont icon-favourites-filled-star-symbol active"></view>
  46. <view v-else class="iconfont icon-Favourites-Add-Large"></view>
  47. <view>收藏</view>
  48. </view>
  49. <view>
  50. <view v-if="exhibitor.liked" class="iconfont icon-aixin active"></view>
  51. <view v-else class="iconfont icon-heart1"></view>
  52. <view>点赞</view>
  53. </view>
  54. <view>
  55. <view v-if="exhibitor.voted" class="iconfont icon-Ticket1 active"></view>
  56. <view v-else class="iconfont icon-xiaochengxu-toupiaoicon"></view>
  57. <view>投票</view>
  58. </view>
  59. </view>
  60. </view>
  61. <u-panel title="展商信息">
  62. <view class="exhibitor-card">
  63. <view class="exhibitor-info">
  64. <view class="exhibitor-logo">
  65. <image src="https://oss.starify.cn/prod/starify/up/0001018678/20241108/672da70c02212.png?x-oss-process=image/resize,w_400" mode="widthFix" />
  66. </view>
  67. <view class="exhibitor-name-cn">科世达(上海)连接器有限公司</view>
  68. <view class="exhibitor-name-en">Leopold Kostal GmbH & Co. KG</view>
  69. <view class="exhibitor-detail-link">
  70. <van-button type="primary" @click="onClickDetail">
  71. <template>
  72. <view>点击了解展商更多信息</view> <view class="arrow iconfont icon-right-s"></view>
  73. </template>
  74. </van-button>
  75. </view>
  76. </view>
  77. <view class="exhibitor-number">
  78. <view class="exhibitor-number-label">我们的展位号</view>
  79. <view class="exhibitor-number-text">E1馆 1101</view>
  80. </view>
  81. </view>
  82. </u-panel>
  83. <disclaimer-text></disclaimer-text>
  84. </view>
  85. </u-scroll-view>
  86. <u-share-action-sheet :show.sync="showShare" :show-info="shareInfo" />
  87. </view>
  88. </template>
  89. <script>
  90. import NavBar from '@/components/layout/nav-bar'
  91. import UScrollView from '@/components/common/u-scroll-view'
  92. import UShareActionSheet from '@/components/common/u-share-action-sheet'
  93. import UPanel from '@/components/common/u-panel'
  94. import DisclaimerText from '@/components/disclaimer-text/index.vue'
  95. export default {
  96. options: {
  97. styleIsolation: 'shared'
  98. },
  99. components: {
  100. NavBar,
  101. UScrollView,
  102. UShareActionSheet,
  103. UPanel,
  104. DisclaimerText
  105. },
  106. computed: {},
  107. data() {
  108. return {
  109. showShare: false,
  110. shareInfo: null,
  111. exhibit: {
  112. favourited: true,
  113. liked: false,
  114. voted: false
  115. }
  116. }
  117. },
  118. created() {
  119. this.loadFontFace('Poppins')
  120. },
  121. methods: {
  122. onShareAppMessage() {
  123. return {
  124. title: '汽车连接器 86W MLK 1,2 SD-HOLDER',
  125. path: `/pages/exhibitor/exhibit-detail`,
  126. imageUrl: 'https://oss.starify.cn/prod/starify/up/0001000075/20241113/67343f1c494de.png?x-oss-process=image/resize,w_600,h_600,limit_0,m_pad'
  127. }
  128. },
  129. onShare() {
  130. this.shareInfo = {
  131. title: '汽车连接器 86W MLK 1,2 SD-HOLDER',
  132. path: `/pages/exhibitor/exhibit-detail`,
  133. imageUrl: 'https://oss.starify.cn/prod/starify/up/0001000075/20241113/67343f1c494de.png?x-oss-process=image/resize,w_600,h_600,limit_0,m_pad'
  134. }
  135. this.showShare = true
  136. },
  137. onClickDetail(e) {
  138. this.navigateTo('/pages/exhibitor/detail')
  139. }
  140. }
  141. }
  142. </script>
  143. <style lang="scss">
  144. @import "@/static/style/pages/exhibitor-detail.scss";
  145. .exhibit-detail{
  146. .exhibit-image{
  147. position: relative;
  148. height: 438rpx;
  149. background-color: #FFFFFF;
  150. border-radius: 5rpx;
  151. border: 1rpx solid #D6D6D6;
  152. .exhibit-tag{
  153. position: absolute;
  154. top: 28rpx;
  155. left: 29rpx;
  156. padding: 12rpx 22rpx;
  157. color: $textActionColor;
  158. font-size: $fontSize0;
  159. background-color: lighten($textActionColor, 43%);
  160. }
  161. }
  162. .exhibitor-detail-link{
  163. @include link-button;
  164. }
  165. .exhibit-name{
  166. margin-top: 28rpx;
  167. font-family: Poppins, Poppins;
  168. font-weight: bold;
  169. font-size: $fontSize6;
  170. color: #000000;
  171. line-height: 42rpx;
  172. }
  173. .exhibit-desc{
  174. margin-top: 18rpx;
  175. font-family: Poppins, Poppins;
  176. font-size: $fontSize2;
  177. color: #555555;
  178. line-height: 35rpx;
  179. }
  180. .exhibitor-card{
  181. display: flex;
  182. background-color: #FFFFFF;
  183. .exhibitor-info{
  184. padding: 36rpx;
  185. flex: 1;
  186. }
  187. .exhibitor-logo{
  188. width: 194rpx;
  189. image{
  190. height: auto;
  191. }
  192. }
  193. .exhibitor-detail-link{
  194. margin-top: 36rpx;
  195. }
  196. .exhibitor-name-cn,.exhibitor-name-en{
  197. font-family: Poppins, Poppins;
  198. font-size: $fontSize3;
  199. color: #000000;
  200. line-height: 28rpx;
  201. }
  202. .exhibitor-name-en{
  203. margin-top: 10rpx;
  204. font-size: $fontSize2;
  205. }
  206. .exhibitor-number{
  207. @include display-flex-center;
  208. flex-direction: column;
  209. width: 267rpx;
  210. background-color: $buttonPrimaryColor;
  211. color: #FFFFFF;
  212. }
  213. .exhibitor-number-text{
  214. width: 161rpx;
  215. text-align: center;
  216. font-family: Poppins, Poppins;
  217. font-weight: bold;
  218. font-size: 55rpx;
  219. line-height: 64rpx;
  220. margin-top: 30rpx;
  221. }
  222. .exhibitor-number-label{
  223. font-family: Poppins, Poppins;
  224. font-size: $fontSize3;
  225. line-height: 28rpx;
  226. color: rgba(255, 255, 255, 0.74);
  227. }
  228. }
  229. .u-panel{
  230. margin-top: 54rpx;
  231. padding: 0;
  232. .u-panel-title{
  233. &:after{
  234. display: none;
  235. }
  236. }
  237. }
  238. }
  239. </style>