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

459 lines
10 KiB

8 months ago
7 months ago
8 months ago
7 months ago
7 months ago
7 months ago
8 months ago
7 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. if(!this.$store.state.shop && !this.$store.state.buy){
  136. uni.reLaunch({
  137. url: '/pages_order/auth/selectionIdentity?back=no&'
  138. })
  139. }
  140. },
  141. computed: {
  142. ...mapGetters(['userShop']),
  143. },
  144. methods: {
  145. goToPage(titleIndex) {
  146. uni.navigateTo({
  147. url: '/pages_order/order/offerOrBillLading?titleIndex=' + titleIndex
  148. })
  149. },
  150. getImagePhoneOther(){
  151. this.$api('getImagePhoneOther', res => {
  152. })
  153. },
  154. }
  155. }
  156. </script>
  157. <style scoped lang="scss">
  158. * {
  159. box-sizing: border-box;
  160. }
  161. .page {
  162. background-color: #2e394d;
  163. // 供应商
  164. .supplier {
  165. display: flex;
  166. flex-direction: column;
  167. height: calc(100vh - 120rpx - 120rpx);
  168. background-color: #2e394d;
  169. .topItem {
  170. display: flex;
  171. justify-content: center;
  172. align-items: center;
  173. height: 30%;
  174. background-image: url('../../static/image/index/1.png');
  175. background-size: cover;
  176. .imageFrame {
  177. width: 90%;
  178. height: 90%;
  179. //padding:80rpx;
  180. }
  181. }
  182. .threeHeOne {
  183. display: flex;
  184. padding: 20rpx 40rpx 10rpx;
  185. flex-direction: column;
  186. height: 60%;
  187. .oneItem {
  188. display: flex;
  189. height: 33%;
  190. .left {
  191. display: flex;
  192. flex-direction: column;
  193. justify-content: center;
  194. align-items: center;
  195. gap: 10rpx;
  196. width: 33%;
  197. background-color: #1e293d;
  198. color: white;
  199. font-size: 26rpx;
  200. .subText {
  201. width: 80%;
  202. background-color: #2e394d;
  203. padding: 0 20rpx;
  204. }
  205. }
  206. .right {
  207. //height: 30%;
  208. width: 66%;
  209. padding: 20rpx;
  210. background-image: url('../../static/image/index/1.png');
  211. background-size: cover;
  212. font-size: 20rpx;
  213. color: white;
  214. }
  215. }
  216. .twoItem {
  217. display: flex;
  218. justify-content: space-between;
  219. gap: 20rpx;
  220. height: 33%;
  221. margin-top: 20rpx;
  222. padding: 10rpx;
  223. .left {
  224. width: 60%;
  225. padding: 20rpx;
  226. background-color: #1e293d;
  227. }
  228. .right {
  229. width: 40%;
  230. padding: 20rpx;
  231. background-color: #1e293d;
  232. }
  233. }
  234. .threeItem {
  235. display: flex;
  236. //width: 100vw;
  237. height: 33%;
  238. .left {
  239. display: flex;
  240. flex-direction: column;
  241. justify-content: center;
  242. align-items: center;
  243. gap: 20rpx;
  244. width: 33%;
  245. background-color: #1e293d;
  246. color: white;
  247. font-size: 26rpx;
  248. .subText {
  249. background-color: #2e394d;
  250. width: 80%;
  251. padding: 0 20rpx;
  252. }
  253. }
  254. .right {
  255. //height: 200rpx;
  256. width: 66%;
  257. padding: 20rpx;
  258. background-image: url('../../static/image/index/1.png');
  259. background-size: cover;
  260. font-size: 20rpx;
  261. color: white;
  262. }
  263. }
  264. }
  265. .btns {
  266. display: flex;
  267. justify-content: center;
  268. align-items: center;
  269. gap: 40rpx;
  270. .oneBtn {
  271. display: flex;
  272. align-items: center;
  273. justify-content: center;
  274. width: 40%;
  275. height: 70rpx;
  276. border-radius: 40rpx;
  277. color: #1F1C39;
  278. font-size: 28rpx;
  279. margin: 20rpx 10rpx 0 0;
  280. background: #f2f2f2;
  281. //margin-top: 20rpx;
  282. border-radius: 40rpx;
  283. }
  284. .twoBtn {
  285. display: flex;
  286. align-items: center;
  287. justify-content: center;
  288. width: 40%;
  289. height: 70rpx;
  290. border-radius: 40rpx;
  291. color: #1F1C39;
  292. font-size: 28rpx;
  293. margin: 20rpx 10rpx 0 0;
  294. background: #f2f2f2;
  295. //margin-top: 20rpx;
  296. border-radius: 40rpx;
  297. }
  298. }
  299. }
  300. // 采购商
  301. .purchaser {
  302. display: flex;
  303. flex-direction: column;
  304. //gap: 40rpx;
  305. background-color: #2e394d;
  306. .topItem {
  307. display: flex;
  308. justify-content: center;
  309. align-items: center;
  310. height: 280rpx;
  311. background-image: url('../../static/image/index/1.png');
  312. background-size: cover;
  313. .imageFrame {
  314. width: 90%;
  315. height: 90%;
  316. //padding:80rpx;
  317. }
  318. }
  319. .threeHeOne {
  320. display: flex;
  321. padding: 20rpx 40rpx 10rpx;
  322. flex-direction: column;
  323. .oneItem {
  324. display: flex;
  325. .left {
  326. display: flex;
  327. flex-direction: column;
  328. justify-content: center;
  329. align-items: center;
  330. gap: 10rpx;
  331. width: 33%;
  332. background-color: #1e293d;
  333. color: white;
  334. font-size: 26rpx;
  335. .subText {
  336. background-color: #2e394d;
  337. padding: 0 20rpx;
  338. }
  339. }
  340. .right {
  341. height: 180rpx;
  342. width: 66%;
  343. padding: 20rpx;
  344. background-image: url('../../static/image/index/1.png');
  345. background-size: cover;
  346. font-size: 20rpx;
  347. color: white;
  348. }
  349. }
  350. .twoItem {
  351. display: flex;
  352. justify-content: space-between;
  353. gap: 20rpx;
  354. height: 280rpx;
  355. margin-top: 20rpx;
  356. padding: 10rpx;
  357. .left {
  358. width: 60%;
  359. padding: 20rpx;
  360. background-color: #1e293d;
  361. }
  362. .right {
  363. width: 40%;
  364. padding: 20rpx;
  365. background-color: #1e293d;
  366. }
  367. }
  368. .threeItem {
  369. display: flex;
  370. //width: 100vw;
  371. .left {
  372. display: flex;
  373. flex-direction: column;
  374. justify-content: center;
  375. align-items: center;
  376. gap: 20rpx;
  377. width: 33%;
  378. background-color: #1e293d;
  379. color: white;
  380. font-size: 26rpx;
  381. .subText {
  382. background-color: #2e394d;
  383. padding: 0 20rpx;
  384. }
  385. }
  386. .right {
  387. height: 200rpx;
  388. width: 66%;
  389. padding: 20rpx;
  390. background-image: url('../../static/image/index/1.png');
  391. background-size: cover;
  392. font-size: 20rpx;
  393. color: white;
  394. }
  395. }
  396. }
  397. }
  398. }
  399. </style>