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

454 lines
10 KiB

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