detail.vue 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  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. <disclaimer-text></disclaimer-text>
  90. </view>
  91. </u-scroll-view>
  92. <u-share-action-sheet :show.sync="showShare" :show-info="shareInfo" />
  93. </view>
  94. </template>
  95. <script>
  96. import NavBar from '@/components/layout/nav-bar'
  97. import UScrollView from '@/components/common/u-scroll-view'
  98. import UShareActionSheet from '@/components/common/u-share-action-sheet'
  99. import UPanel from '@/components/common/u-panel'
  100. import ExhibitRecommend from '@/pages/exhibitor/components/exhibit-recommend.vue'
  101. import NewsRecommend from '@/pages/news/components/news-recommend.vue'
  102. import ActivityRecommend from '@/pages/activity/components/activity-recommend.vue'
  103. import DisclaimerText from '@/components/disclaimer-text/index.vue'
  104. export default {
  105. options: {
  106. // styleIsolation: 'shared'
  107. },
  108. components: {
  109. NavBar,
  110. UScrollView,
  111. UShareActionSheet,
  112. UPanel,
  113. ExhibitRecommend,
  114. ActivityRecommend,
  115. NewsRecommend,
  116. DisclaimerText
  117. },
  118. computed: {
  119. },
  120. data() {
  121. return {
  122. showExhibitMore: true,
  123. showShare: false,
  124. shareInfo: null,
  125. exhibitRecommendLimit: 4,
  126. exhibitor: {
  127. favourited: true,
  128. liked: false,
  129. voted: false
  130. }
  131. }
  132. },
  133. created() {
  134. this.loadFontFace('Poppins')
  135. },
  136. methods: {
  137. onShareAppMessage(ops) {
  138. return {
  139. title: '科世达(上海)连接器有限公司',
  140. path: `/pages/exhibitor/detail`,
  141. 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'
  142. }
  143. },
  144. onShare(item) {
  145. this.shareInfo = {
  146. title: '科世达(上海)连接器有限公司',
  147. path: `/pages/exhibitor/detail`,
  148. 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'
  149. }
  150. this.showShare = true
  151. }
  152. }
  153. }
  154. </script>
  155. <style lang="scss">
  156. @import "@/static/style/pages/exhibitor-detail.scss";
  157. .exhibitor-detail{
  158. .exhibitor-main{
  159. display: flex;
  160. }
  161. .exhibitor-logo{
  162. width: 166rpx;
  163. height: 166rpx;
  164. background: #FFFFFF;
  165. border: 1rpx solid #D9D9D9;
  166. image{
  167. width: 100%;
  168. height: 100%;
  169. }
  170. }
  171. .u-panel{
  172. background-color: #FFFFFF;
  173. }
  174. .exhibitor-title{
  175. font-family: Poppins, Poppins;
  176. font-size: 30rpx;
  177. color: #000000;
  178. line-height: 40rpx;
  179. padding-left: 19rpx;
  180. padding-right: 24rpx;
  181. .exhibitor-title-1{
  182. font-weight: bold;
  183. }
  184. .exhibitor-title-2 {
  185. font-size: 28rpx;
  186. }
  187. .exhibitor-title-3 {
  188. font-size: $fontSize0;
  189. color: #333333;
  190. line-height: 20rpx;
  191. margin-top: 10rpx;
  192. }
  193. }
  194. .exhibitor-number{
  195. flex-shrink: 0;
  196. justify-content: flex-end;
  197. margin-top: 12rpx;
  198. }
  199. .exhibitor-number-label{
  200. font-size: $fontSize0;
  201. color: #555555;
  202. }
  203. .exhibitor-number-text{
  204. font-family: Poppins, Poppins;
  205. font-weight: bold;
  206. font-size: $fontSize6;
  207. color: #E57519;
  208. letter-spacing: 2rpx;
  209. }
  210. .exhibitor-desc{
  211. font-family: Poppins, Poppins;
  212. font-size: $fontSize2;
  213. color: #333333;
  214. line-height: 35rpx;
  215. margin-top: 30rpx;
  216. margin-bottom: 12rpx;
  217. }
  218. .u-panel{
  219. margin-top: 40rpx;
  220. }
  221. .click-more{
  222. display: flex;
  223. justify-content: center;
  224. margin-top: 49rpx;
  225. @include link-button;
  226. }
  227. }
  228. </style>