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

453 lines
10 KiB

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