index.vue 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  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" mode="widthFix" />
  19. </div>
  20. </div>
  21. <!-- ad -->
  22. <div class="cooperation-wrap" :style="{backgroundImage:'url(' + backgroundImg + ')'}">
  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
  30. :src="`${constant.imgUrl}/retail/official/list-${index + 1}.png`"
  31. mode="widthFix"
  32. alt="他们都在用"
  33. />
  34. </div>
  35. </div>
  36. <div class="official-wrap">
  37. <div class="off-title">技术让花店经营更简单</div>
  38. <div class="off-sub-tit" @click="contactFn">
  39. <app-img
  40. :src="`${constant.imgUrl}/retail/official/phone-small.png`"
  41. alt="电话"
  42. mode="widthFix"
  43. />
  44. <span>咨询热线:0592 - 3272000</span>
  45. </div>
  46. </div>
  47. </div>
  48. <!-- trademark -->
  49. <div class="bottom-trademark">
  50. <img :src="`${constant.imgUrl}/retail/common/trademark.png`" alt />
  51. </div>
  52. <!-- buttom -->
  53. <div
  54. v-if="status == 3"
  55. class="app-footer"
  56. @click="pageTo({
  57. url: '/admin/official/pay',
  58. status: 1
  59. })"
  60. >立即续费</div>
  61. <div v-else class="app-footer" @click="pageTo({
  62. url: '/admin/official/pay'
  63. })">申请试用</div>
  64. </div>
  65. </template>
  66. <script>
  67. import AppSwiper from "@/components/app-swiper";
  68. import AppImg from "@/components/app-img";
  69. import { applyStatus } from "@/api/official";
  70. import { share } from "@/mixins";
  71. export default {
  72. name: "index",
  73. components: {
  74. AppSwiper,
  75. AppImg
  76. },
  77. mixins: [share],
  78. data() {
  79. return {
  80. constant: this.$constant,
  81. status: -2,
  82. swiper: [
  83. {
  84. img: `${this.$constant.imgUrl}/retail/official/banner-1.png`
  85. },
  86. {
  87. img: `${this.$constant.imgUrl}/retail/official/banner-2.png`
  88. },
  89. {
  90. img: `${this.$constant.imgUrl}/retail/official/banner-3.png`
  91. },
  92. {
  93. img: `${this.$constant.imgUrl}/retail/official/banner-4.png`
  94. }
  95. ],
  96. backgroundImg: `${this.$constant.imgUrl}/retail/official/bg.png`,
  97. contentData: [
  98. {
  99. title: `<span class="app-color-1">开店更简单</span>`,
  100. subTitle: `便捷收集订花人信息,按距离自动算运费,后台一键配送到达达,送到自动通知客户`,
  101. img: `${this.$constant.imgUrl}/retail/official/content-1.png`
  102. },
  103. {
  104. title: `客户<span class="app-color-1">分销</span>`,
  105. subTitle: `招募粉丝,不断裂变,通过佣金激励粉丝将商品分享给朋友,实现社群传播,产生订单`,
  106. img: `${this.$constant.imgUrl}/retail/official/content-4.png`
  107. },
  108. {
  109. title: `<span class="app-color-1">一键操作 </span>快速涨粉`,
  110. subTitle: `一键操作,快速注册会员,到店客户粉丝转化率提升80%`,
  111. img: `${this.$constant.imgUrl}/retail/official/content-5.png`
  112. },
  113. {
  114. title: `精准<span class="app-color-1">管理客户</span>`,
  115. subTitle: `实现订单和客户分门别类,把握每个客户的个性和特征,精准营销,快速提高客户复购`,
  116. img: `${this.$constant.imgUrl}/retail/official/content-6.png`
  117. },
  118. {
  119. title: `<span class="app-color-1">流程化</span>订单管理`,
  120. subTitle: `流程化管理订单,下单、制单、发货、配送、送到通知客户,享尊贵开店体验`,
  121. img: `${this.$constant.imgUrl}/retail/official/content-2.png`
  122. },
  123. {
  124. title: `丰富多样的<span class="app-color-1">营销工具</span>`,
  125. subTitle: `契合花店的营销工具,拉新、转化、复购、裂变,面面俱到`,
  126. img: `${this.$constant.imgUrl}/retail/official/content-3.png`
  127. },
  128. {
  129. title: `经营<span class="app-color-1">数据分析</span>`,
  130. subTitle: `大数据分析客户行为,精准定位高利润项目,投入产出更高效`,
  131. img: `${this.$constant.imgUrl}/retail/official/content-7.png`
  132. }
  133. ],
  134. adData: [1, 2, 3, 4, 5, 6, 7, 8]
  135. };
  136. },
  137. onLoad() {
  138. this.jweixinFn({
  139. title: "更懂您的花卉宝",
  140. pagePath: "admin/official/index",
  141. imageUrl: ""
  142. });
  143. },
  144. methods: {
  145. init() {
  146. // 续费
  147. if (this.option.pay == 1) {
  148. this.status = 3;
  149. uni.setStorageSync("renewOption", JSON.stringify(this.option));
  150. } else {
  151. uni.removeStorageSync("renewOption");
  152. }
  153. //花店分享的页面有邀人,打开页面保存邀请人
  154. let shopAdminId = 0;
  155. if (typeof this.option.shopAdminId != "undefined") {
  156. shopAdminId = this.option.shopAdminId;
  157. }
  158. uni.setStorageSync("shopAdminId", shopAdminId);
  159. },
  160. _getDet() {
  161. applyStatus().then(res => {
  162. this.status = res.data.status;
  163. });
  164. },
  165. contactFn() {
  166. uni.makePhoneCall({
  167. phoneNumber: "05923272000"
  168. });
  169. }
  170. }
  171. };
  172. </script>
  173. <style lang="scss" scoped>
  174. .app-content {
  175. background-color: #fff;
  176. padding-bottom: 100px;
  177. }
  178. .tab-wrap {
  179. @include disFlex(center, space-between);
  180. padding: 0 30px;
  181. .logo-img {
  182. width: 160px;
  183. }
  184. .phone-img {
  185. width: 50px;
  186. }
  187. }
  188. // module
  189. .module-com {
  190. margin-top: 80px;
  191. .module-tit {
  192. text-align: center;
  193. .tit-main {
  194. font-size: 36px;
  195. font-weight: 600;
  196. margin-bottom: 14px;
  197. }
  198. .tit-sub {
  199. width: 90%;
  200. margin: 0 auto;
  201. color: $fontColor3;
  202. line-height: 34px;
  203. font-size:27rpx;
  204. }
  205. }
  206. .module-det {
  207. .module-img {
  208. min-height: 470px;
  209. }
  210. }
  211. }
  212. // cooperation
  213. .cooperation-wrap {
  214. width: 100%;
  215. height: 552px;
  216. padding-top: 60px;
  217. .ad-title {
  218. color: #fff;
  219. font-size: 36px;
  220. font-weight: 600;
  221. margin-bottom: 50px;
  222. text-align: center;
  223. }
  224. .ad-list-wrap {
  225. @include disFlex(center, center);
  226. flex-wrap: wrap;
  227. margin-bottom: 30px;
  228. .ad-list {
  229. width: 166px;
  230. margin-right: 10px;
  231. margin-bottom: 10px;
  232. }
  233. }
  234. .official-wrap {
  235. color: #fff;
  236. background-color: rgba(#000000, 0.6);
  237. width: 90%;
  238. margin: 0 auto;
  239. padding: 20px 0;
  240. .off-title {
  241. font-size: 36px;
  242. font-weight: 600;
  243. margin-bottom: 10px;
  244. text-align: center;
  245. }
  246. .off-sub-tit {
  247. @include disFlex(center, center);
  248. img {
  249. width: 28px;
  250. height: 28px;
  251. margin-right: 10px;
  252. }
  253. }
  254. }
  255. }
  256. // trademark
  257. .bottom-trademark {
  258. @include disFlex(center, center);
  259. background-color: #242627;
  260. img {
  261. width: 140px;
  262. }
  263. }
  264. // footer
  265. .app-footer {
  266. color: #fff;
  267. font-size: 36px;
  268. font-weight: 600;
  269. background: linear-gradient(90deg, #3ab7ff, #3385ff);
  270. &.under-review {
  271. background: #fff !important;
  272. color: #333 !important;
  273. }
  274. }
  275. </style>