铝交易,微信公众号
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.

472 lines
10 KiB

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