detail.vue 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <template>
  2. <view class="exhibitor-detail">
  3. <nav-bar title="展商详情" @init="onInitNavbar"></nav-bar>
  4. <u-scroll-view>
  5. <view class="main-container">
  6. <view class="exhibitor-main">
  7. <view class="exhibitor-logo">
  8. <image src="https://oss.starify.cn/prod/starify/up/0001018678/20241108/672da70c02212.png?x-oss-process=image/resize,w_200" mode="aspectFit" />
  9. </view>
  10. <view class="exhibitor-title">
  11. <view class="exhibitor-title-1">
  12. 科世达(上海)连接器有限公司
  13. </view>
  14. <view class="exhibitor-title-2">
  15. Leopold Kostal GmbH & Co. KG
  16. </view>
  17. <view class="exhibitor-title-3">
  18. 中国(含港澳台)
  19. </view>
  20. </view>
  21. <view class="exhibitor-number">
  22. <view class="exhibitor-number-label">展位号:</view>
  23. <view class="exhibitor-number-text">E1.1101</view>
  24. </view>
  25. </view>
  26. <view class="exhibitor-desc">
  27. 科世达(上海)连接器有限公司从事连接器、连接器系统的生产加工,汽车零部件、电子元器件、机械设备及其零配件、工具、模具、连接器产品及其生产设备的批发、进出口、佣金代理(拍卖除外),并提供相关配套服务(包括上门安装、保养、维修服务)。
  28. </view>
  29. <view class="exhibitor-tags">
  30. <view class="exhibitor-tags-category">产品分类:</view>
  31. <view class="exhibitor-tags-list">
  32. <view class="exhibitor-tag">柔性与印刷电子</view>
  33. <view class="exhibitor-tag">电子制造服务</view>
  34. <view class="exhibitor-tag">PCB焊接和连接技术</view>
  35. <view class="exhibitor-tag">线束和连接器</view>
  36. <view class="exhibitor-tag">柔性与印刷电子</view>
  37. <view class="exhibitor-tag">电子制造服务</view>
  38. </view>
  39. </view>
  40. <view class="exhibitor-tags">
  41. <view class="exhibitor-tags-category">应用领域:</view>
  42. <view class="exhibitor-tags-list"></view>
  43. <view class="exhibitor-tag">电脑和周边设备</view>
  44. <view class="exhibitor-tag">新能源</view>
  45. </view>
  46. <view class="exhibitor-operation">
  47. <view class="exhibitor-views">浏览:30911</view>
  48. <view class="exhibitor-action">
  49. <view>
  50. <view class="iconfont icon-xiaochengxu-renqiicon"></view>
  51. <view>人气:11192</view>
  52. </view>
  53. <view>
  54. <button :plain="true" @click.stop="onShare()">
  55. <view>
  56. <view class="iconfont icon-zhuanfa"></view>
  57. <view>分享</view>
  58. </view>
  59. </button>
  60. </view>
  61. <view>
  62. <view v-if="exhibitor.favourited" class="iconfont icon-favourites-filled-star-symbol active"></view>
  63. <view v-else class="iconfont icon-Favourites-Add-Large"></view>
  64. <view>收藏</view>
  65. </view>
  66. <view>
  67. <view v-if="exhibitor.liked" class="iconfont icon-aixin active"></view>
  68. <view v-else class="iconfont icon-heart1"></view>
  69. <view>点赞</view>
  70. </view>
  71. <view>
  72. <view v-if="exhibitor.voted" class="iconfont icon-Ticket1 active"></view>
  73. <view v-else class="iconfont icon-xiaochengxu-toupiaoicon"></view>
  74. <view>投票</view>
  75. </view>
  76. </view>
  77. </view>
  78. <u-panel title="展品资料">
  79. <exhibit-recommend :limit="exhibitRecommendLimit" @show-all="showExhibitMore = false"/>
  80. <view v-if="showExhibitMore" class="click-more"><van-button type="primary" @click="exhibitRecommendLimit = 8">点击展开更多展品</van-button></view>
  81. </u-panel>
  82. <u-panel title="展商新闻">
  83. <news-recommend recommend-type="detail" />
  84. </u-panel>
  85. <u-panel title="展商活动">
  86. <activity-recommend recommend-type="detail" />
  87. </u-panel>
  88. <view class="click-more"><van-button type="primary" @click="navigateTo('/pages/exhibitor/index')">点击查看更多展商信息</van-button></view>
  89. </view>
  90. </u-scroll-view>
  91. <u-share-action-sheet :show.sync="showShare" :show-info="shareInfo" />
  92. </view>
  93. </template>
  94. <script>
  95. import NavBar from '@/components/layout/nav-bar'
  96. import UScrollView from '@/components/common/u-scroll-view'
  97. import UShareActionSheet from '@/components/common/u-share-action-sheet'
  98. import UPanel from '@/components/common/u-panel'
  99. import ExhibitRecommend from '@/pages/exhibitor/components/exhibit-recommend.vue'
  100. import NewsRecommend from '@/pages/news/components/news-recommend.vue'
  101. import ActivityRecommend from '@/pages/activity/components/activity-recommend.vue'
  102. export default {
  103. options: {
  104. // styleIsolation: 'shared'
  105. },
  106. components: {
  107. NavBar,
  108. UScrollView,
  109. UShareActionSheet,
  110. UPanel,
  111. ExhibitRecommend,
  112. ActivityRecommend,
  113. NewsRecommend
  114. },
  115. computed: {
  116. },
  117. data() {
  118. return {
  119. showExhibitMore: true,
  120. showShare: false,
  121. shareInfo: null,
  122. exhibitRecommendLimit: 4,
  123. exhibitor: {
  124. favourited: true,
  125. liked: false,
  126. voted: false
  127. }
  128. }
  129. },
  130. created() {
  131. this.loadFontFace('Poppins')
  132. },
  133. methods: {
  134. onShareAppMessage(ops) {
  135. return {
  136. title: '科世达(上海)连接器有限公司',
  137. path: `/pages/exhibitor/detail`,
  138. imageUrl: 'https://oss.starify.cn/prod/starify/up/0001018678/20241108/672da70c02212.png?x-oss-process=image/resize,w_600,h_600,limit_0,m_pad'
  139. }
  140. },
  141. onShare(item) {
  142. this.shareInfo = {
  143. title: '科世达(上海)连接器有限公司',
  144. path: `/pages/exhibitor/detail`,
  145. imageUrl: 'https://oss.starify.cn/prod/starify/up/0001018678/20241108/672da70c02212.png?x-oss-process=image/resize,w_600,h_600,limit_0,m_pad'
  146. }
  147. this.showShare = true
  148. }
  149. }
  150. }
  151. </script>
  152. <style lang="scss">
  153. @import "@/static/style/pages/exhibitor-detail.scss";
  154. .exhibitor-detail{
  155. .exhibitor-main{
  156. display: flex;
  157. }
  158. .exhibitor-logo{
  159. width: 166rpx;
  160. height: 166rpx;
  161. background: #FFFFFF;
  162. border: 1rpx solid #D9D9D9;
  163. image{
  164. width: 100%;
  165. height: 100%;
  166. }
  167. }
  168. .u-panel{
  169. background-color: #FFFFFF;
  170. }
  171. .exhibitor-title{
  172. font-family: Poppins, Poppins;
  173. font-size: 30rpx;
  174. color: #000000;
  175. line-height: 40rpx;
  176. padding-left: 19rpx;
  177. padding-right: 24rpx;
  178. .exhibitor-title-1{
  179. font-weight: bold;
  180. }
  181. .exhibitor-title-2 {
  182. font-size: 28rpx;
  183. }
  184. .exhibitor-title-3 {
  185. font-size: $fontSize0;
  186. color: #333333;
  187. line-height: 20rpx;
  188. margin-top: 10rpx;
  189. }
  190. }
  191. .exhibitor-number{
  192. flex-shrink: 0;
  193. justify-content: flex-end;
  194. margin-top: 12rpx;
  195. }
  196. .exhibitor-number-label{
  197. font-size: $fontSize0;
  198. color: #555555;
  199. }
  200. .exhibitor-number-text{
  201. font-family: Poppins, Poppins;
  202. font-weight: bold;
  203. font-size: $fontSize6;
  204. color: #E57519;
  205. letter-spacing: 2rpx;
  206. }
  207. .exhibitor-desc{
  208. font-family: Poppins, Poppins;
  209. font-size: $fontSize2;
  210. color: #333333;
  211. line-height: 35rpx;
  212. margin-top: 30rpx;
  213. margin-bottom: 12rpx;
  214. }
  215. .u-panel{
  216. margin-top: 40rpx;
  217. }
  218. .click-more{
  219. display: flex;
  220. justify-content: center;
  221. margin-top: 49rpx;
  222. @include link-button;
  223. }
  224. }
  225. </style>