index.vue 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. <template>
  2. <view class="container">
  3. <!-- 应用Logo和名称 -->
  4. <view class="header">
  5. <view class="logo">
  6. <image src="@/static/img/logo.png" mode="aspectFit" class="logo-img" />
  7. <!-- <text class="app-name">瑞鲸速达</text> -->
  8. </view>
  9. <text class="welcome">&nbsp;&nbsp;&nbsp;&nbsp;瑞鲸(安徽)供应链科技有限公司,成立于2021年5月,是芜湖奇瑞汽车投资有限公司下属全资子公司,是奇瑞集团“十四五”战略的重要布局。把原部门化运作的工业采购职能独立为市场化运作的瑞鲸工业采购平台,对内为集团下属各单位提供高效、敏捷的采购服务,对外以客户价值创造为导向,为社会各企业提供个性化定制、一揽子解决方案。</text>
  10. <text class="welcome">&nbsp;&nbsp;&nbsp;&nbsp;瑞鲸科技立足于全供应链,以奇瑞集团存量供应链集群、新增经销商群和1100万终端客户、海外客户为基本盘,融合市场头部电商平台和物流平台,链接智能制造产业集群、造车新势力和旅游出行平台等外部优势资源,打造工业品中心、采购服务中心、智能制造服务、供应链咨询、智慧供应链等多种业务生态。以供应链数字化为着力点,聚合生态资源,持续打造场景化解决方案,致力于构建多领域、多行业、多场景的生态圈,打造成为汽车行业有特色的“工业拼多多”生态平台。</text>
  11. </view>
  12. <!-- 插图 -->
  13. <!-- <view class="section-card">
  14. <view class="form-item time-picker-item" @click="showProtocol('user')">
  15. <view class="label">用户协议</view>
  16. <view class="input-area">
  17. <view class="time-display">
  18. <u-icon name="arrow-right" color="#c0c4cc" class="time-arrow"></u-icon>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="form-item time-picker-item" @click="showProtocol('privacy')">
  23. <view class="label">隐私政策</view>
  24. <view class="input-area">
  25. <view class="time-display">
  26. <u-icon name="arrow-right" color="#c0c4cc" class="time-arrow"></u-icon>
  27. </view>
  28. </view>
  29. </view>
  30. </view> -->
  31. <!-- 登录方式 -->
  32. <!-- <view class="login-methods"> -->
  33. <!-- <button
  34. class="login-btn wechat-btn"
  35. @click="handleWechatLogin"
  36. >
  37. <image src="@/static/images/wx.png" class="btn-icon"/>
  38. <text>微信授权登录</text>
  39. </button> -->
  40. <!-- <button
  41. class="login-btn phone-btn"
  42. @click="handlePhoneLogin"
  43. >
  44. <image src="@/static/images/phone.png" class="btn-icon"/>
  45. <text>手机号验证登录</text>
  46. </button> -->
  47. <!-- </view> -->
  48. <!-- 用户协议 -->
  49. <!-- <view class="agreement">
  50. <radio
  51. value="agreed" :checked="agreed"
  52. @click="agreed = !agreed"
  53. color="#4A90E2"
  54. />
  55. <text>
  56. 我已阅读并同意
  57. <text class="protocol-link" @click="showProtocol">《用户协议》</text>
  58. <text class="protocol-link" @click="showPolicy">《隐私政策》</text>
  59. </text>
  60. </view> -->
  61. </view>
  62. </template>
  63. <script setup>
  64. import {
  65. ref
  66. } from 'vue'
  67. import { useAppStore } from '../../stores/app';
  68. import { onLoad,onShow } from '@dcloudio/uni-app'
  69. const appStore = useAppStore()
  70. onShow(()=>{
  71. // setTimeout(() => {
  72. // if (appStore.uid) {
  73. // uni.reLaunch({
  74. // url:'/pages/index/index'
  75. // })
  76. // }else{
  77. // uni.reLaunch({
  78. // url:'/pages/login/wxOrphone'
  79. // })
  80. // }
  81. // }, 1000);
  82. })
  83. const showProtocol = (type) => {
  84. uni.navigateTo({
  85. url: `/pages/index/webview?type=${type}`
  86. })
  87. }
  88. </script>
  89. <style lang="scss" scoped>
  90. .container {
  91. min-height: 100vh;
  92. padding: 50rpx 30rpx;
  93. box-sizing: border-box;
  94. background-color: #F5F7FA;
  95. }
  96. .status-bar {
  97. display: flex;
  98. justify-content: space-between;
  99. align-items: center;
  100. padding: 20rpx 30rpx;
  101. }
  102. .right-icons {
  103. display: flex;
  104. gap: 20rpx;
  105. }
  106. .header {
  107. text-align: center;
  108. margin-top: 20rpx;
  109. }
  110. .logo {
  111. display: flex;
  112. align-items: center;
  113. justify-content: center;
  114. gap: 20rpx;
  115. margin-bottom: 20rpx;
  116. }
  117. .checkbox-circle .uni-checkbox-input {
  118. border-radius: 50%;
  119. /* 使checkbox变为圆形 */
  120. }
  121. .logo-img {
  122. width: 270rpx;
  123. height: 100rpx;
  124. }
  125. .app-name {
  126. margin-top: 16rpx;
  127. font-size: 72rpx;
  128. font-weight: bold;
  129. color: #333;
  130. line-height: 72rpx;
  131. }
  132. .welcome {
  133. display: block;
  134. font-size: 32rpx;
  135. color: #666;
  136. margin-top: 16rpx;
  137. text-align: left;
  138. }
  139. .section-card {
  140. margin-top: 32rpx;
  141. .column {
  142. display: flex;
  143. flex-direction: column;
  144. background: #FFFFFF;
  145. border-radius: 16rpx;
  146. margin-bottom: 16rpx;
  147. padding: 16rpx;
  148. &:last-child {
  149. border-bottom: none;
  150. }
  151. .label {
  152. width: 260rpx;
  153. font-size: 28rpx;
  154. color: #333;
  155. flex-shrink: 0;
  156. &.required::before {
  157. content: '*';
  158. color: #ff4444;
  159. margin-right: 8rpx;
  160. }
  161. }
  162. }
  163. .form-item {
  164. height: 100rpx;
  165. background: #FFFFFF;
  166. border-radius: 16rpx;
  167. margin-bottom: 16rpx;
  168. padding: 16rpx;
  169. display: flex;
  170. align-items: center;
  171. &:last-child {
  172. border-bottom: none;
  173. }
  174. .label {
  175. width: 260rpx;
  176. font-size: 28rpx;
  177. color: #333;
  178. flex-shrink: 0;
  179. &.required::before {
  180. content: '*';
  181. color: #ff4444;
  182. margin-right: 8rpx;
  183. }
  184. }
  185. .input-area {
  186. flex: 1;
  187. display: flex;
  188. flex-direction: column;
  189. align-items: flex-end;
  190. .error-msg {
  191. font-size: 24rpx;
  192. color: #ff4444;
  193. margin-top: 8rpx;
  194. width: 100%;
  195. text-align: right;
  196. }
  197. }
  198. }
  199. .section-title {
  200. font-size: 32rpx;
  201. font-weight: bold;
  202. color: #333;
  203. margin-bottom: 16rpx;
  204. height: 48rpx;
  205. line-height: 48rpx;
  206. }
  207. .upload-desc {
  208. font-size: 24rpx;
  209. color: #999;
  210. margin-top: 16rpx;
  211. }
  212. }
  213. /* 营业时间选择项 - 整个横排可点击 */
  214. .time-picker-item {
  215. cursor: pointer;
  216. .time-display {
  217. display: flex;
  218. align-items: center;
  219. justify-content: flex-end;
  220. width: 100%;
  221. color: #333;
  222. .time-arrow {
  223. margin-left: 16rpx;
  224. }
  225. }
  226. }
  227. .illustration {
  228. margin: 230rpx 0 0rpx 0;
  229. text-align: center;
  230. }
  231. .illustration-img {
  232. width: 356rpx;
  233. height: 400rpx;
  234. }
  235. .login-methods {
  236. padding: 0 40rpx;
  237. }
  238. .login-btn {
  239. display: flex;
  240. align-items: center;
  241. justify-content: center;
  242. gap: 20rpx;
  243. height: 90rpx;
  244. border-radius: 5rpx;
  245. font-size: 32rpx;
  246. color: white;
  247. margin-bottom: 30rpx;
  248. }
  249. .wechat-btn {
  250. background-color: #0089FF;
  251. }
  252. .phone-btn {
  253. background-color: #0089FF10;
  254. color: #0089FF;
  255. }
  256. .btn-icon {
  257. width: 40rpx;
  258. height: 40rpx;
  259. }
  260. .agreement {
  261. display: flex;
  262. align-items: center;
  263. justify-content: center;
  264. margin-top: 40rpx;
  265. font-size: 24rpx;
  266. color: #666;
  267. }
  268. .protocol-link {
  269. color: #4A90E2;
  270. margin: 0 8rpx;
  271. }
  272. </style>