index.vue 7.6 KB

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