铝交易,微信公众号
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

480 lines
11 KiB

6 months ago
6 months ago
5 months ago
6 months ago
5 months ago
6 months ago
5 months ago
6 months ago
5 months ago
6 months ago
5 months ago
6 months ago
5 months ago
6 months ago
5 months ago
6 months ago
6 months ago
5 months ago
6 months ago
5 months ago
6 months ago
6 months ago
5 months ago
5 months ago
6 months ago
5 months ago
6 months ago
6 months ago
6 months ago
5 months ago
6 months ago
5 months ago
6 months ago
5 months ago
6 months ago
  1. <template>
  2. <view class="page">
  3. <!--顶部栏-->
  4. <topbar showRight="1"></topbar>
  5. <!-- 供应商 -->
  6. <view class="supplier" v-if="userShop">
  7. <!--上面第一个-->
  8. <view class="topItem">
  9. <view class="imageFrame">
  10. <uv-swiper
  11. :list="bannerList[0]"
  12. height="320rpx"
  13. keyName="image">
  14. </uv-swiper>
  15. <!--<img src="../../static/image/index/4.png" style="width:100%;height:100%;">-->
  16. </view>
  17. </view>
  18. <!-- 下面三个-->
  19. <view class="threeHeOne">
  20. <!-- 第一个-->
  21. <view class="oneItem">
  22. <view class="left">
  23. <!--<span>Company Profile</span>-->
  24. <span> {{ $t('pages.index.index.companyProfile') }}</span>
  25. <span class="subText"> {{ $t('pages.index.index.aluminiumProduct') }}</span>
  26. </view>
  27. <view class="right">
  28. 随着全球经济的快速发展我们这家领先的企业公司应运而生致力于为客户提供卓越的服务和优质的产品我们公司成立于2001年总部位于深圳市横岗大厦拥有广泛的业务领域和专业的团队专注于实现客户的期望和需求
  29. </view>
  30. </view>
  31. <!-- 第二个-->
  32. <view class="twoItem">
  33. <view class="left">
  34. <uv-swiper
  35. :list="bannerList[1]"
  36. keyName="image"
  37. >
  38. </uv-swiper>
  39. <!--<img src="../../static/image/index/2.png" style="width:100%;height:100%;">-->
  40. </view>
  41. <view class="right">
  42. <uv-swiper
  43. :list="bannerList[2]"
  44. keyName="image"
  45. >
  46. </uv-swiper>
  47. <!--<img src="../../static/image/index/3.png" style="width:100%;height:100%;">-->
  48. </view>
  49. </view>
  50. <!-- 第三个-->
  51. <view class="threeItem">
  52. <view class="right">
  53. 随着全球经济的快速发展我们这家领先的企业公司应运而生致力于为客户提供卓越的服务和优质的产品我们公司成立于2001年总部位于深圳市横岗大厦拥有广泛的业务领域和专业的团队专注于实现客户的期望和需求
  54. </view>
  55. <view class="left">
  56. <!--<span>Company Profile</span>-->
  57. <span> {{ $t('pages.index.index.companyProfile') }}</span>
  58. <span class="subText"> {{ $t('pages.index.index.aluminiumProduct') }}</span>
  59. </view>
  60. </view>
  61. </view>
  62. <!--报价和挂单-->
  63. <view class="btns">
  64. <span @click="goToPage(0)" class="oneBtn">
  65. {{ $t('other.supplierQuotation') }}
  66. </span>
  67. <!-- 这个提单不需要了 -->
  68. <!-- <span @click="goToPage(1)" class="twoBtn">
  69. {{ $t('other.supplierBilLading') }}
  70. </span> -->
  71. </view>
  72. </view>
  73. <!-- 采购商 -->
  74. <view class="purchaser" v-else>
  75. <!--上面第一个-->
  76. <view class="topItem">
  77. <view class="imageFrame">
  78. <img src="../../static/image/index/4.png" style="width:100%;height:100%;">
  79. </view>
  80. </view>
  81. <!-- 下面三个-->
  82. <view class="threeHeOne">
  83. <!-- 第一个-->
  84. <view class="oneItem">
  85. <view class="left">
  86. <span>Company Profile</span>
  87. <span> {{ $t('pages.index.index.companyProfile') }}</span>
  88. <span class="subText"> {{ $t('pages.index.index.aluminiumProduct') }}</span>
  89. </view>
  90. <view class="right">
  91. 随着全球经济的快速发展我们这家领先的企业公司应运而生致力于为客户提供卓越的服务和优质的产品我们公司成立于2001年总部位于深圳市横岗大厦拥有广泛的业务领域和专业的团队专注于实现客户的期望和需求
  92. </view>
  93. </view>
  94. <!-- 第二个-->
  95. <view class="twoItem">
  96. <view class="left">
  97. <img src="../../static/image/index/2.png" style="width:100%;height:100%;">
  98. </view>
  99. <view class="right">
  100. <img src="../../static/image/index/3.png" style="width:100%;height:100%;">
  101. </view>
  102. </view>
  103. <!-- 第三个-->
  104. <view class="threeItem">
  105. <view class="right">
  106. 随着全球经济的快速发展我们这家领先的企业公司应运而生致力于为客户提供卓越的服务和优质的产品我们公司成立于2001年总部位于深圳市横岗大厦拥有广泛的业务领域和专业的团队专注于实现客户的期望和需求
  107. </view>
  108. <view class="left">
  109. <span>Company Profile</span>
  110. <span> {{ $t('pages.index.index.companyProfile') }}</span>
  111. <span class="subText"> {{ $t('pages.index.index.aluminiumProduct') }}</span>
  112. </view>
  113. </view>
  114. </view>
  115. </view>
  116. <tabber select="0" />
  117. </view>
  118. </template>
  119. <script>
  120. import topbar from '@/components/base/topbar.vue'
  121. import tabber from '@/components/base/tabbar.vue'
  122. import productList from '@/components/user/productList.vue'
  123. import {mapGetters} from 'vuex'
  124. import changeLanguage from '@/components/base/changeLanguage.vue'
  125. export default {
  126. components: {
  127. tabber,
  128. topbar,
  129. productList,
  130. changeLanguage
  131. },
  132. data() {
  133. return {
  134. queryParams: {
  135. pageNo: 1,
  136. pageSize: 10,
  137. title: ''
  138. },
  139. bannerList: []
  140. }
  141. },
  142. onShow(){
  143. this.getImagePhoneOther()
  144. if(!this.$store.state.shop && !this.$store.state.buy){
  145. uni.reLaunch({
  146. url: '/pages_order/auth/selectionIdentity?back=no&'
  147. })
  148. }
  149. this.$store.commit('getUserInfo')
  150. this.getBannerList()
  151. },
  152. computed: {
  153. ...mapGetters(['userShop']),
  154. },
  155. methods: {
  156. getBannerList() {
  157. this.$api('bannerList', res => {
  158. this.bannerList = res.result
  159. })
  160. },
  161. goToPage(titleIndex) {
  162. uni.navigateTo({
  163. url: '/pages_order/order/offerOrBillLading?titleIndex=' + titleIndex
  164. })
  165. },
  166. getImagePhoneOther(){
  167. this.$api('getImagePhoneOther', res => {
  168. })
  169. },
  170. }
  171. }
  172. </script>
  173. <style scoped lang="scss">
  174. * {
  175. box-sizing: border-box;
  176. }
  177. .page {
  178. background-color: #2e394d;
  179. min-height: 100vh;
  180. // 供应商
  181. .supplier {
  182. display: flex;
  183. flex-direction: column;
  184. height: calc(100vh - 120rpx - 120rpx);
  185. background-color: #2e394d;
  186. .topItem {
  187. display: flex;
  188. justify-content: center;
  189. align-items: center;
  190. height: 30%;
  191. background-image: url('../../static/image/index/1.png');
  192. background-size: cover;
  193. .imageFrame {
  194. width: 90%;
  195. height: 90%;
  196. //padding:80rpx;
  197. }
  198. }
  199. .threeHeOne {
  200. display: flex;
  201. padding: 20rpx 40rpx 10rpx;
  202. flex-direction: column;
  203. height: 60%;
  204. .oneItem {
  205. display: flex;
  206. height: 33%;
  207. .left {
  208. display: flex;
  209. flex-direction: column;
  210. justify-content: center;
  211. align-items: center;
  212. gap: 10rpx;
  213. width: 33%;
  214. background-color: #1e293d;
  215. color: white;
  216. font-size: 26rpx;
  217. .subText {
  218. text-align: center;
  219. width: 80%;
  220. background-color: #2e394d;
  221. padding: 0 20rpx;
  222. }
  223. }
  224. .right {
  225. //height: 30%;
  226. width: 66%;
  227. padding: 20rpx;
  228. background-image: url('../../static/image/index/1.png');
  229. background-size: cover;
  230. font-size: 20rpx;
  231. color: white;
  232. }
  233. }
  234. .twoItem {
  235. display: flex;
  236. justify-content: space-between;
  237. gap: 20rpx;
  238. height: 33%;
  239. margin-top: 20rpx;
  240. padding: 10rpx;
  241. .left {
  242. width: 60%;
  243. padding: 20rpx;
  244. background-color: #1e293d;
  245. }
  246. .right {
  247. width: 40%;
  248. padding: 20rpx;
  249. background-color: #1e293d;
  250. }
  251. }
  252. .threeItem {
  253. display: flex;
  254. //width: 100vw;
  255. height: 33%;
  256. .left {
  257. display: flex;
  258. flex-direction: column;
  259. justify-content: center;
  260. align-items: center;
  261. gap: 20rpx;
  262. width: 33%;
  263. background-color: #1e293d;
  264. color: white;
  265. font-size: 26rpx;
  266. .subText {
  267. text-align: center;
  268. background-color: #2e394d;
  269. width: 80%;
  270. padding: 0 20rpx;
  271. }
  272. }
  273. .right {
  274. //height: 200rpx;
  275. width: 66%;
  276. padding: 20rpx;
  277. background-image: url('../../static/image/index/1.png');
  278. background-size: cover;
  279. font-size: 20rpx;
  280. color: white;
  281. }
  282. }
  283. }
  284. .btns {
  285. display: flex;
  286. justify-content: center;
  287. align-items: center;
  288. gap: 40rpx;
  289. .oneBtn {
  290. display: flex;
  291. align-items: center;
  292. justify-content: center;
  293. width: 40%;
  294. height: 70rpx;
  295. border-radius: 40rpx;
  296. color: #1F1C39;
  297. font-size: 28rpx;
  298. margin: 20rpx 10rpx 0 0;
  299. background: #f2f2f2;
  300. //margin-top: 20rpx;
  301. border-radius: 40rpx;
  302. }
  303. .twoBtn {
  304. display: flex;
  305. align-items: center;
  306. justify-content: center;
  307. width: 40%;
  308. height: 70rpx;
  309. border-radius: 40rpx;
  310. color: #1F1C39;
  311. font-size: 28rpx;
  312. margin: 20rpx 10rpx 0 0;
  313. background: #f2f2f2;
  314. //margin-top: 20rpx;
  315. border-radius: 40rpx;
  316. }
  317. }
  318. }
  319. // 采购商
  320. .purchaser {
  321. display: flex;
  322. flex-direction: column;
  323. //gap: 40rpx;
  324. background-color: #2e394d;
  325. .topItem {
  326. display: flex;
  327. justify-content: center;
  328. align-items: center;
  329. height: 280rpx;
  330. background-image: url('../../static/image/index/1.png');
  331. background-size: cover;
  332. .imageFrame {
  333. width: 90%;
  334. height: 90%;
  335. //padding:80rpx;
  336. }
  337. }
  338. .threeHeOne {
  339. display: flex;
  340. padding: 20rpx 40rpx 10rpx;
  341. flex-direction: column;
  342. .oneItem {
  343. display: flex;
  344. .left {
  345. display: flex;
  346. flex-direction: column;
  347. justify-content: center;
  348. align-items: center;
  349. gap: 10rpx;
  350. width: 33%;
  351. background-color: #1e293d;
  352. color: white;
  353. font-size: 26rpx;
  354. .subText {
  355. background-color: #2e394d;
  356. padding: 0 20rpx;
  357. }
  358. }
  359. .right {
  360. height: 180rpx;
  361. width: 66%;
  362. padding: 20rpx;
  363. background-image: url('../../static/image/index/1.png');
  364. background-size: cover;
  365. font-size: 20rpx;
  366. color: white;
  367. }
  368. }
  369. .twoItem {
  370. display: flex;
  371. justify-content: space-between;
  372. gap: 20rpx;
  373. height: 280rpx;
  374. margin-top: 20rpx;
  375. padding: 10rpx;
  376. .left {
  377. width: 60%;
  378. padding: 20rpx;
  379. background-color: #1e293d;
  380. }
  381. .right {
  382. width: 40%;
  383. padding: 20rpx;
  384. background-color: #1e293d;
  385. }
  386. }
  387. .threeItem {
  388. display: flex;
  389. //width: 100vw;
  390. .left {
  391. display: flex;
  392. flex-direction: column;
  393. justify-content: center;
  394. align-items: center;
  395. gap: 20rpx;
  396. width: 33%;
  397. background-color: #1e293d;
  398. color: white;
  399. font-size: 26rpx;
  400. .subText {
  401. background-color: #2e394d;
  402. padding: 0 20rpx;
  403. }
  404. }
  405. .right {
  406. height: 200rpx;
  407. width: 66%;
  408. padding: 20rpx;
  409. background-image: url('../../static/image/index/1.png');
  410. background-size: cover;
  411. font-size: 20rpx;
  412. color: white;
  413. }
  414. }
  415. }
  416. }
  417. }
  418. </style>