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

444 lines
11 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
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('pages.index.index.aluminiumProduct') }}</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. 供应商报价
  57. </span>
  58. <span @click="goToPage(1)" class="twoBtn">
  59. 供应商提单
  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 {mapGetters} from 'vuex'
  114. import changeLanguage from '@/components/base/changeLanguage.vue'
  115. export default {
  116. components: {
  117. tabber,topbar,
  118. productList,
  119. changeLanguage
  120. },
  121. data() {
  122. return {
  123. queryParams: {
  124. pageNo: 1,
  125. pageSize: 10,
  126. title: ''
  127. },
  128. }
  129. },
  130. computed: {
  131. ...mapGetters(['userShop']),
  132. },
  133. methods: {
  134. goToPage(titleIndex) {
  135. uni.navigateTo({url:'/pages_order/order/offerOrBillLading?titleIndex='+titleIndex})
  136. },
  137. }
  138. }
  139. </script>
  140. <style scoped lang="scss">
  141. * {
  142. box-sizing: border-box;
  143. }
  144. .page {
  145. background-color: #2e394d;
  146. // 供应商
  147. .supplier {
  148. display: flex;
  149. flex-direction: column;
  150. height: calc(100vh - 120rpx - 120rpx);
  151. background-color: #2e394d;
  152. .topItem {
  153. display: flex;
  154. justify-content: center;
  155. align-items: center;
  156. height: 30%;
  157. background-image: url('../../static/image/index/1.png');
  158. background-size: cover;
  159. .imageFrame {
  160. width: 90%;
  161. height: 90%;
  162. //padding:80rpx;
  163. }
  164. }
  165. .threeHeOne {
  166. display: flex;
  167. padding: 20rpx 40rpx 10rpx;
  168. flex-direction: column;
  169. height: 60%;
  170. .oneItem {
  171. display: flex;
  172. height: 33%;
  173. .left {
  174. display: flex;
  175. flex-direction: column;
  176. justify-content: center;
  177. align-items: center;
  178. gap: 10rpx;
  179. width: 33%;
  180. background-color: #1e293d;
  181. color: white;
  182. font-size: 26rpx;
  183. .subText {
  184. background-color: #2e394d;
  185. padding: 0 20rpx;
  186. }
  187. }
  188. .right {
  189. //height: 30%;
  190. width: 66%;
  191. padding: 20rpx;
  192. background-image: url('../../static/image/index/1.png');
  193. background-size: cover;
  194. font-size: 20rpx;
  195. color: white;
  196. }
  197. }
  198. .twoItem {
  199. display: flex;
  200. justify-content: space-between;
  201. gap: 20rpx;
  202. height: 33%;
  203. margin-top: 20rpx;
  204. padding: 10rpx;
  205. .left {
  206. width: 60%;
  207. padding: 20rpx;
  208. background-color: #1e293d;
  209. }
  210. .right {
  211. width: 40%;
  212. padding: 20rpx;
  213. background-color: #1e293d;
  214. }
  215. }
  216. .threeItem {
  217. display: flex;
  218. //width: 100vw;
  219. height: 33%;
  220. .left {
  221. display: flex;
  222. flex-direction: column;
  223. justify-content: center;
  224. align-items: center;
  225. gap: 20rpx;
  226. width: 33%;
  227. background-color: #1e293d;
  228. color: white;
  229. font-size: 26rpx;
  230. .subText {
  231. background-color: #2e394d;
  232. padding: 0 20rpx;
  233. }
  234. }
  235. .right {
  236. //height: 200rpx;
  237. width: 66%;
  238. padding: 20rpx;
  239. background-image: url('../../static/image/index/1.png');
  240. background-size: cover;
  241. font-size: 20rpx;
  242. color: white;
  243. }
  244. }
  245. }
  246. .btns {
  247. display: flex;
  248. justify-content: center;
  249. align-items: center;
  250. gap: 40rpx;
  251. .oneBtn {
  252. display: flex;
  253. align-items: center;
  254. justify-content: center;
  255. width: 30%;
  256. height: 70rpx;
  257. border-radius: 40rpx;
  258. color: #1F1C39;
  259. font-size: 28rpx;
  260. margin: 20rpx 10rpx 0 0;
  261. background: #f2f2f2;
  262. //margin-top: 20rpx;
  263. border-radius: 40rpx;
  264. }
  265. .twoBtn {
  266. display: flex;
  267. align-items: center;
  268. justify-content: center;
  269. width: 30%;
  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. }
  280. }
  281. // 采购商
  282. .purchaser {
  283. display: flex;
  284. flex-direction: column;
  285. //gap: 40rpx;
  286. background-color: #2e394d;
  287. .topItem {
  288. display: flex;
  289. justify-content: center;
  290. align-items: center;
  291. height: 280rpx;
  292. background-image: url('../../static/image/index/1.png');
  293. background-size: cover;
  294. .imageFrame {
  295. width: 90%;
  296. height: 90%;
  297. //padding:80rpx;
  298. }
  299. }
  300. .threeHeOne {
  301. display: flex;
  302. padding: 20rpx 40rpx 10rpx;
  303. flex-direction: column;
  304. .oneItem {
  305. display: flex;
  306. .left {
  307. display: flex;
  308. flex-direction: column;
  309. justify-content: center;
  310. align-items: center;
  311. gap: 10rpx;
  312. width: 33%;
  313. background-color: #1e293d;
  314. color: white;
  315. font-size: 26rpx;
  316. .subText {
  317. background-color: #2e394d;
  318. padding: 0 20rpx;
  319. }
  320. }
  321. .right {
  322. height: 180rpx;
  323. width: 66%;
  324. padding: 20rpx;
  325. background-image: url('../../static/image/index/1.png');
  326. background-size: cover;
  327. font-size: 20rpx;
  328. color: white;
  329. }
  330. }
  331. .twoItem {
  332. display: flex;
  333. justify-content: space-between;
  334. gap: 20rpx;
  335. height: 280rpx;
  336. margin-top: 20rpx;
  337. padding: 10rpx;
  338. .left {
  339. width: 60%;
  340. padding: 20rpx;
  341. background-color: #1e293d;
  342. }
  343. .right {
  344. width: 40%;
  345. padding: 20rpx;
  346. background-color: #1e293d;
  347. }
  348. }
  349. .threeItem {
  350. display: flex;
  351. //width: 100vw;
  352. .left {
  353. display: flex;
  354. flex-direction: column;
  355. justify-content: center;
  356. align-items: center;
  357. gap: 20rpx;
  358. width: 33%;
  359. background-color: #1e293d;
  360. color: white;
  361. font-size: 26rpx;
  362. .subText {
  363. background-color: #2e394d;
  364. padding: 0 20rpx;
  365. }
  366. }
  367. .right {
  368. height: 200rpx;
  369. width: 66%;
  370. padding: 20rpx;
  371. background-image: url('../../static/image/index/1.png');
  372. background-size: cover;
  373. font-size: 20rpx;
  374. color: white;
  375. }
  376. }
  377. }
  378. }
  379. }
  380. </style>