detail.vue 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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 open-type="share" :plain="true">
  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 />
  80. <view class="click-more"><van-button type="primary" @click="navigateTo('/pages/exhibitor/exhibit')">点击展开更多展品</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. </view>
  92. </template>
  93. <script>
  94. import NavBar from '@/components/layout/nav-bar'
  95. import UScrollView from '@/components/common/u-scroll-view'
  96. import UPanel from '@/components/common/u-panel'
  97. import ExhibitRecommend from '@/pages/exhibitor/components/exhibit-recommend.vue'
  98. import NewsRecommend from '@/pages/news/components/news-recommend.vue'
  99. import ActivityRecommend from '@/pages/activity/components/activity-recommend.vue'
  100. export default {
  101. options: {
  102. // styleIsolation: 'shared'
  103. },
  104. components: {
  105. NavBar,
  106. UScrollView,
  107. UPanel,
  108. ExhibitRecommend,
  109. ActivityRecommend,
  110. NewsRecommend
  111. },
  112. computed: {
  113. },
  114. data() {
  115. return {
  116. exhibitor: {
  117. favourited: true,
  118. liked: false,
  119. voted: false
  120. }
  121. }
  122. },
  123. created() {
  124. this.loadFontFace('Poppins')
  125. },
  126. methods: {
  127. onShareAppMessage() {
  128. return {
  129. title: '分享展商详情',
  130. path: `/pages/exhibitor/exhibit-detail`,
  131. imageUrl: 'https://oss.starify.cn/prod/starify/up/0001018678/20241108/672da70c02212.png'
  132. }
  133. }
  134. }
  135. }
  136. </script>
  137. <style lang="scss">
  138. @import "@/static/style/pages/exhibitor-detail.scss";
  139. .exhibitor-detail{
  140. .exhibitor-main{
  141. display: flex;
  142. }
  143. .exhibitor-logo{
  144. width: 166rpx;
  145. height: 166rpx;
  146. background: #FFFFFF;
  147. border: 1rpx solid #D9D9D9;
  148. image{
  149. width: 100%;
  150. height: 100%;
  151. }
  152. }
  153. .exhibitor-title{
  154. font-family: Poppins, Poppins;
  155. font-size: 30rpx;
  156. color: #000000;
  157. line-height: 40rpx;
  158. padding-left: 19rpx;
  159. padding-right: 24rpx;
  160. .exhibitor-title-1{
  161. font-weight: bold;
  162. }
  163. .exhibitor-title-2 {
  164. font-size: 28rpx;
  165. }
  166. .exhibitor-title-3 {
  167. font-size: $fontSize0;
  168. color: #333333;
  169. line-height: 20rpx;
  170. margin-top: 10rpx;
  171. }
  172. }
  173. .exhibitor-number{
  174. flex-shrink: 0;
  175. justify-content: flex-end;
  176. margin-top: 12rpx;
  177. }
  178. .exhibitor-number-label{
  179. font-size: $fontSize0;
  180. color: #555555;
  181. }
  182. .exhibitor-number-text{
  183. font-family: Poppins, Poppins;
  184. font-weight: bold;
  185. font-size: $fontSize6;
  186. color: #E57519;
  187. letter-spacing: 2rpx;
  188. }
  189. .exhibitor-desc{
  190. font-family: Poppins, Poppins;
  191. font-size: $fontSize2;
  192. color: #333333;
  193. line-height: 35rpx;
  194. margin-top: 30rpx;
  195. margin-bottom: 12rpx;
  196. }
  197. .u-panel{
  198. margin-top: 40rpx;
  199. }
  200. .click-more{
  201. display: flex;
  202. justify-content: center;
  203. margin-top: 49rpx;
  204. @include link-button;
  205. }
  206. }
  207. </style>