details.vue 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. <template>
  2. <view>
  3. <view class='swiper'>
  4. <swiper class="screen-swiper header-swiper" ::class="dotStyle?'square-dot':'round-dot'"
  5. :indicator-dots="false" :circular="true" interval="5000"
  6. :current="status" @change="topSwiperTab">
  7. <swiper-item class="swiper-item" v-for="(item,index) in imagelist" :key="index"
  8. :class="status==index?'text-white':''" @click="naviageToPage(item.url)">
  9. <image :src="item.url"></image>
  10. <!-- <view style='position:absolute;top:50%;left:50%;transform: translate(-50%,-50%);'>11111</view> -->
  11. </swiper-item>
  12. </swiper>
  13. <view class="dots">
  14. <text class='Regular'>{{status+1}} / {{imagelist.length}}</text>
  15. </view>
  16. <view class='functionality'>
  17. <image @click='show=true' class='jubao' src="../../static/img/liangmai/jubao.png" mode=""></image>
  18. <image class='collect' :src="iscollect?'../../static/img/liangmai/shoucang1.png':'../../static/img/liangmai/shoucang-2.png'" mode=""></image>
  19. </view>
  20. </view>
  21. <view class='company'>
  22. <view style='padding:21px;'>
  23. <view style='font-size:24px;' class='Medium'>中天昊元粮库中天昊元粮库</view>
  24. <view style='margin-top:3px;' class='flex'>
  25. <view class='aptitude'>
  26. <image class='aptitudeImage' :src="aptiutudeStatus?'../../static/img/liangmai/bg_no_check.png':'../../static/img/liangmai/bg_check.png'" mode=""></image>
  27. <text class='aptitudeText Medium'>资质</text>
  28. </view>
  29. <view class='Regular' style='font-size:13px;'>主营:<text>烘干塔 粮库 加工厂</text></view>
  30. </view>
  31. <view style='margin:12.5px 0;' class='flex'>
  32. <view class="tag Regular">
  33. 超大规模
  34. </view>
  35. <view class="tag Regular">
  36. 超大规模
  37. </view>
  38. <view class="tag Regular">
  39. 超大规模
  40. </view>
  41. </view>
  42. </view>
  43. <view class="generalSituation">
  44. <view class="title Medium">企业概况</view>
  45. <view class="content Regular">
  46. 黑龙江中天昊元贸易有限公司成立至今,从仅2名员工的人资力量以及从俭的办公条件,现以发展转型为员工70余人,年贸易周转量150余万吨的规模性粮食贸易公司…
  47. </view>
  48. </view>
  49. <view class='contactWay'>
  50. <view class="title Medium">联系方式</view>
  51. <view class='contactWayContent'>
  52. <view class='flex linkman'>
  53. <view style='flex:1;' class='title Regular'>联系人</view>
  54. <view style='flex:3;'>
  55. <view class='Regular linkmanItem' v-for='item in linkmanList'>
  56. {{item.name}} <a :href="item.phone"><image class="phone" src="../../static/img/liangmai/dianhau.png" mode=""></image></a>
  57. </view>
  58. </view>
  59. </view>
  60. <view class="flex mailbox">
  61. <view style='flex:1;' class='title Regular'>邮箱</view>
  62. <view class='Regular' style='font-size:14px;flex:3;'>
  63. 12345678@xx.com
  64. </view>
  65. </view>
  66. <view class="flex fax">
  67. <view style='flex:1;' class='title Regular'>传真</view>
  68. <view class='Regular' style='font-size:14px;flex:3;'>
  69. 12345678@xx.com
  70. </view>
  71. </view>
  72. <view class="flex fax">
  73. <view style='flex:1;' class='title Regular'>地址</view>
  74. <view style='font-size:14px;flex:3;' class='Regular'>
  75. 12345678@xx.com
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. <u-picker mode="selector" v-model="show" @confirm='selecttype' :range="selector"></u-picker>
  82. </view>
  83. </template>
  84. <script>
  85. export default {
  86. components: {
  87. },
  88. data() {
  89. return {
  90. imagelist:[
  91. {url:'../../static/img/authentication/banklow(2).png'},
  92. {url:'../../static/img/authentication/banklow(2).png'},
  93. {url:'../../static/img/authentication/banklow(2).png'}
  94. ],
  95. linkmanList:[
  96. {name:'廖经理',phone:'18513069273'},
  97. {name:'廖经理',phone:'18513069273'},
  98. {name:'廖经理',phone:'18513069273'},
  99. {name:'廖经理',phone:'18513069273'},
  100. ],
  101. dotStyle: false,
  102. status: 0,
  103. show:false,
  104. selector:['纠错','举报'],
  105. aptiutudeStatus:false,
  106. iscollect:false
  107. }
  108. },
  109. onLoad(){
  110. },
  111. methods: {
  112. topSwiperTab(e) {
  113. var that = this;
  114. this.status = Number(e.target.current);
  115. },
  116. selecttype(e){
  117. console.log(e)
  118. if(e[0]==1){
  119. uni.navigateTo({
  120. url:'/pages/grain_pulse/jubao'
  121. })
  122. }else{
  123. uni.navigateTo({
  124. url:'/pages/grain_pulse/errorcorrection'
  125. })
  126. }
  127. },
  128. jubao(){
  129. },
  130. }
  131. }
  132. </script>
  133. <style lang='scss' scoped>
  134. /* 《--轮播 */
  135. .swiper{
  136. position:relative;
  137. height:281.5px;
  138. }
  139. .screen-swiper{
  140. height:281.5px;
  141. }
  142. .swiper .dots{
  143. position:absolute;
  144. bottom:53px;
  145. background: rgba(255, 255, 255, 0.4);
  146. border-radius: 0px 11px 11px 0px;
  147. width: 58.5px;
  148. height: 23px;
  149. line-height:23px;
  150. text-align:center;
  151. padding:3px;
  152. color:#FFFFFF;
  153. }
  154. .functionality{
  155. position: absolute;
  156. right:0;
  157. bottom:53px;
  158. }
  159. .jubao{
  160. width:22px;height:19px;
  161. margin-right:25px;
  162. }
  163. .collect{
  164. width:22px;height:22px;
  165. margin-right:19.5px;
  166. }
  167. /* 轮播--》 */
  168. /*《--公司 */
  169. .company{
  170. background: linear-gradient(180deg, #FFFFFF 0%, #F7F8FC 100%);
  171. height:550px;
  172. border-radius:20px;
  173. margin-top:-38px;
  174. position: relative;
  175. z-index: 3;
  176. }
  177. .aptitude,.aptitudeImage{
  178. width: 38px;
  179. height:20px;
  180. }
  181. .aptitude{
  182. position:relative;
  183. margin-right:5px;
  184. }
  185. .aptitudeText{
  186. color:#8B511E;
  187. position:absolute;
  188. left:0;
  189. width:40px;
  190. top:0;
  191. text-align:center;
  192. width:100%;
  193. line-height: 20px;
  194. font-size:11px;
  195. height:100%;
  196. }
  197. .tag{
  198. background:#F5F6F9;
  199. padding:2.5px 6.5px;
  200. border-radius:3px;
  201. font-size:11px;
  202. margin-right:11.5px;
  203. }
  204. .generalSituation{
  205. background:#fff;
  206. margin:9px;
  207. padding:12px;
  208. border-radius:10px;
  209. .title{
  210. font-size:16px;
  211. margin:0 0 9.5px;
  212. }
  213. .content{
  214. font-size:12px;
  215. color:#676E80;
  216. }
  217. }
  218. .contactWay{
  219. margin:9px;
  220. padding:11.5px 13px;
  221. background:#fff;
  222. border-radius:10px;
  223. >.title{
  224. font-size:16px;
  225. color:#333;
  226. margin-bottom:12px;
  227. }
  228. .contactWayContent{
  229. .linkman>.title,.mailbox>.title,.fax>.title,.address>.title{
  230. color:#676E80;
  231. font-size:14px;
  232. }
  233. .mailbox,.fax,.address{
  234. margin-bottom:10px;
  235. }
  236. .linkmanItem{
  237. margin-bottom:10px;
  238. }
  239. .phone{
  240. width:14px;height:14px;margin-left:6px;
  241. }
  242. }
  243. }
  244. /* 公司--》 */
  245. </style>