index.vue 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. <template>
  2. <div class="app-content">
  3. <div class="tab-wrap">
  4. <div class="logo-img">
  5. <img :src="`${constant.imgUrl}/retail/official/logo.png`" alt />
  6. </div>
  7. <div class="phone-img" @click="contactFn">
  8. <img :src="`${constant.imgUrl}/retail/official/phone.png`" alt />
  9. </div>
  10. </div>
  11. <app-swiper :height="{type: 'number',val: 750}" :list="swiper" />
  12. <div class="module-com" v-for="(item, index) in contentData" :key="index">
  13. <div class="module-tit">
  14. <div class="tit-main" v-html="item.title"></div>
  15. <div class="tit-sub">{{ item.subTitle }}</div>
  16. </div>
  17. <div class="module-det">
  18. <app-img class="module-img" :src="item.img" :lazy-load="true" />
  19. </div>
  20. </div>
  21. <!-- ad -->
  22. <div class="cooperation-wrap">
  23. <div class="ad-title">
  24. <span>他们</span>
  25. <span class="app-color-1">都在用</span>
  26. </div>
  27. <div class="ad-list-wrap">
  28. <div class="ad-list" v-for="(item, index) in adData" :key="index">
  29. <app-img :src="`${constant.imgUrl}/retail/official/list-${index + 1}.png`" alt />
  30. </div>
  31. </div>
  32. <div class="official-wrap">
  33. <div class="off-title">花卉宝,花店数字化建设者</div>
  34. <div class="off-sub-tit" @click="contactFn">
  35. <app-img :src="`${constant.imgUrl}/retail/official/phone-small.png`" alt="" />
  36. <span>咨询热线:0592 - 3272000</span>
  37. </div>
  38. </div>
  39. </div>
  40. <!-- trademark -->
  41. <div class="bottom-trademark">
  42. <img :src="`${constant.imgUrl}/retail/common/trademark.png`" alt="">
  43. </div>
  44. <!-- buttom -->
  45. <div v-if="status == -1" class="app-footer" @click="pageTo({
  46. url: '/official/apply',
  47. status: 2
  48. })">申请试用</div>
  49. <div v-if="status == 0" class="app-footer under-review">审核中</div>
  50. <div v-if="status == 1" class="app-footer under-review">试用中</div>
  51. <div v-if="status == 2" class="app-footer under-review">审核未通过</div>
  52. <div v-if="status == 3" class="app-footer" @click="pageTo({
  53. url: '/official/pay',
  54. status: 1
  55. })">立即续费</div>
  56. <div v-if="status == 4" class="app-footer" @click="pageTo({
  57. url: '/official/apply',
  58. status: 2
  59. })">立即订购</div>
  60. </div>
  61. </template>
  62. <script>
  63. import AppSwiper from '@/components/app-swiper'
  64. import AppImg from '@/components/app-img'
  65. // api
  66. import { applyStatus } from '@/api/official'
  67. export default {
  68. name: 'index',
  69. components: {
  70. AppSwiper,
  71. AppImg
  72. },
  73. data() {
  74. return {
  75. constant: this.$constant,
  76. status: -2,
  77. swiper: [
  78. {
  79. img: `${this.$constant.imgUrl}/retail/official/banner-1.png`
  80. },
  81. {
  82. img: `${this.$constant.imgUrl}/retail/official/banner-2.png`
  83. },
  84. {
  85. img: `${this.$constant.imgUrl}/retail/official/banner-3.png`
  86. },
  87. {
  88. img: `${this.$constant.imgUrl}/retail/official/banner-4.png`
  89. }
  90. ],
  91. contentData: [
  92. {
  93. title: `<span class="app-color-1">一键搭建</span>花店商城`,
  94. subTitle: `各大节日商城自动涨价,客户下单自动按距离计算运费`,
  95. img: `${this.$constant.imgUrl}/retail/official/content-1.png`
  96. },
  97. {
  98. title: `<span class="app-color-1">流程化</span>管理订单`,
  99. subTitle: `把控每个订单的生命周期,从下单、打单、制作到发货、配送、 送达自动通知客户,进度把控一清二楚,客户体验感大幅提升`,
  100. img: `${this.$constant.imgUrl}/retail/official/content-2.png`
  101. },
  102. {
  103. title: `提供多种的<span class="app-color-1">营销工具</span>`,
  104. subTitle: `契合花店日常经营的营销工具,拉新、转化、复购、裂变, 面面俱到`,
  105. img: `${this.$constant.imgUrl}/retail/official/content-3.png`
  106. },
  107. {
  108. title: `连通各渠道来源的<span class="app-color-1">客户和订单</span>`,
  109. subTitle: `线上、门店、微信、支付宝和美团等自动汇总后台,客户统一接待 回复,订单统一管理,不必再周旋于各个平台`,
  110. img: `${this.$constant.imgUrl}/retail/official/content-4.png`
  111. },
  112. {
  113. title: `<span class="app-color-1">一键吸粉 </span>注册会员`,
  114. subTitle: `告别繁琐手续,一键操作,注册会员简单快捷,到店客户的粉丝 转化率提高60%`,
  115. img: `${this.$constant.imgUrl}/retail/official/content-5.png`
  116. },
  117. {
  118. title: `智能的<span class="app-color-1">会员体系</span>`,
  119. subTitle: `客户充值消费自动累积成长值、自动升级会员,客户付款自动 打折,精准把握每个客户的个性和特征`,
  120. img: `${this.$constant.imgUrl}/retail/official/content-6.png`
  121. },
  122. {
  123. title: `经营<span class="app-color-1">数据分析</span>`,
  124. subTitle: `系统实时进行数据统计,花店每个时期的经营情况一目了然,知己 知彼,方能百战百胜`,
  125. img: `${this.$constant.imgUrl}/retail/official/content-7.png`
  126. }
  127. ],
  128. adData: [1, 2, 3, 4, 5, 6, 7, 8]
  129. }
  130. },
  131. onLoad() {
  132. // this.init()
  133. },
  134. methods: {
  135. init() {
  136. let token = uni.getStorageSync('token')
  137. if (token) {
  138. this._getDet()
  139. } else {
  140. this.status = -1
  141. }
  142. },
  143. _getDet() {
  144. applyStatus().then(res => {
  145. this.status = res.data.status
  146. })
  147. },
  148. contactFn() {
  149. uni.makePhoneCall({
  150. phoneNumber: '05923272000'
  151. })
  152. }
  153. }
  154. }
  155. </script>
  156. <style lang="scss" scoped>
  157. .app-content {
  158. background-color: #fff;
  159. padding-bottom: 100px;
  160. }
  161. .tab-wrap {
  162. @include disFlex(center, space-between);
  163. height: 100px;
  164. padding: 0 30px;
  165. .logo-img {
  166. width: 160px;
  167. }
  168. .phone-img {
  169. width: 50px;
  170. }
  171. }
  172. // module
  173. .module-com {
  174. margin-top: 80px;
  175. .module-tit {
  176. text-align: center;
  177. .tit-main {
  178. font-size: 36px;
  179. font-weight: 600;
  180. margin-bottom: 14px;
  181. }
  182. .tit-sub {
  183. width: 90%;
  184. margin: 0 auto;
  185. color: $fontColor3;
  186. line-height: 34px;
  187. }
  188. }
  189. .module-det {
  190. .module-img {
  191. min-height: 470px;
  192. }
  193. }
  194. }
  195. // cooperation
  196. .cooperation-wrap {
  197. width: 100%;
  198. height: 552px;
  199. background: url('../static/images/official/bg.png');
  200. padding-top: 60px;
  201. .ad-title {
  202. color: #fff;
  203. font-size: 36px;
  204. font-weight: 600;
  205. margin-bottom: 50px;
  206. text-align: center;
  207. }
  208. .ad-list-wrap {
  209. @include disFlex(center, center);
  210. flex-wrap: wrap;
  211. margin-bottom: 30px;
  212. .ad-list {
  213. width: 166px;
  214. margin-right: 10px;
  215. margin-bottom: 10px;
  216. }
  217. }
  218. .official-wrap {
  219. color: #fff;
  220. background-color: rgba(#000000, 0.6);
  221. width: 90%;
  222. margin: 0 auto;
  223. padding: 20px 0;
  224. .off-title {
  225. font-size: 36px;
  226. font-weight: 600;
  227. margin-bottom: 10px;
  228. text-align: center;
  229. }
  230. .off-sub-tit {
  231. @include disFlex(center, center);
  232. img {
  233. width: 28px;
  234. height: 28px;
  235. margin-right: 10px;
  236. }
  237. }
  238. }
  239. }
  240. // trademark
  241. .bottom-trademark {
  242. height: 150px;
  243. @include disFlex(center, center);
  244. background-color: #242627;
  245. img {
  246. width: 140px;
  247. }
  248. }
  249. // footer
  250. .app-footer {
  251. color: #fff;
  252. font-size: 36px;
  253. font-weight: 600;
  254. background: linear-gradient(90deg, #3ab7ff, #3385ff);
  255. &.under-review {
  256. background: #fff !important;
  257. color: #333 !important;
  258. }
  259. }
  260. </style>