index.php 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <?php
  2. /**
  3. * @link:http://www.goodmall.com/
  4. * @copyright: Copyright (c) 2020
  5. * 名片
  6. * Author: james
  7. * Date: 2020-07-10
  8. * Time: 15:48
  9. */
  10. ?>
  11. <div id="app" v-cloak>
  12. <el-card shadow="never" style="border:0;min-width: 1200px;" body-style="background-color: #f3f3f3;padding: 10px 0 0;">
  13. <div slot="header">
  14. <span>小店入驻流程</span>
  15. </div>
  16. <div class="table-body">
  17. <el-tabs v-model="activeName" @tab-click="handleClick">
  18. <el-row :gutter="10">
  19. <el-col :span="12">
  20. <h4><i :style="cnt > 0 ? 'color: #13ce66' : 'color: #999'"
  21. class="el-icon-success" style="margin-right: 10px; font-size: 24px; vertical-align: middle;"></i>填写店铺基本信息,开通视频号小店</h4>
  22. <div style="padding-left: 34px">用进行视频号直播的微信进行扫码,填写店铺营业执照,法人身份证等信息、完成视频号小店开通。
  23. <a target="_blank" href="https://developers.weixin.qq.com/doc/channels/Operational_Guidelines/Shop_opening_guidelines.html">查看详情</a>
  24. </div>
  25. </el-col>
  26. <el-col :span="12">
  27. <a :target="cnt > 0 ? '' : '_blank'" :href="cnt > 0 ? 'javascript:;' : 'https://channels.weixin.qq.com/shop'">
  28. <el-button type="primary" :disabled="cnt">去开通</el-button>
  29. </a>
  30. </el-col>
  31. </el-row>
  32. <el-row :gutter="10" style="margin-top: 25px">
  33. <el-col :span="12">
  34. <h4><i :style="cnt > 0 ? 'color: #13ce66' : 'color: #999'"
  35. class="el-icon-success" style="margin-right: 10px; font-size: 24px; vertical-align: middle;"></i>开通微信客服,处理视频号小店产生的客服消息</h4>
  36. <div style="padding-left: 34px">用视频号小店超级管理员的企业微信或微信扫码授权开通,开通完成后在企业微信那里处理消息。
  37. <a target="_blank" href="https://work.weixin.qq.com/nl/act/p/546743f393c441f3">查看详情</a></div>
  38. </el-col>
  39. <el-col :span="12">
  40. <a :target="cnt > 0 ? '' : '_blank'" :href="cnt > 0 ? 'javascript:;' : 'https://channels.weixin.qq.com/shop'">
  41. <el-button type="primary" :disabled="cnt">去开通</el-button>
  42. </a>
  43. </el-col>
  44. </el-row>
  45. <el-row :gutter="10" style="margin-top: 25px">
  46. <el-col :span="12">
  47. <h4><i :style="cnt > 0 ? 'color: #13ce66' : 'color: #999'"
  48. class="el-icon-success" style="margin-right: 10px; font-size: 24px; vertical-align: middle;"></i>完成小程序绑定</h4>
  49. <div style="padding-left: 34px">填写小店信息完成绑定</div>
  50. </el-col>
  51. <el-col :span="12">
  52. <el-button type="primary" @click="edit(0)" :disabled="cnt">去绑定</el-button>
  53. </el-col>
  54. </el-row>
  55. </el-tabs>
  56. </div>
  57. <!-- 这个是复制用的容器,已隐藏 -->
  58. <textarea id="inputs" style="opacity: 0;width: 0;height: 0;">这是幕后黑手</textarea>
  59. </el-card>
  60. </div>
  61. <script>
  62. const app = new Vue({
  63. el: '#app',
  64. data: {
  65. activeName: '',
  66. cnt: <?= $cnt ?>,
  67. },
  68. mounted() {
  69. },
  70. methods: {
  71. //1.0 跳转详情
  72. handleClick(tab, event) {
  73. },
  74. handleSelectionChange(val) {
  75. let self = this;
  76. self.choose_list = [];
  77. val.forEach(function (item) {
  78. self.choose_list.push(item.id);
  79. })
  80. },
  81. edit(id) {
  82. navigateTo({
  83. r: 'wechat-video-shop/shop/edit',
  84. id: id
  85. })
  86. }
  87. }
  88. })
  89. </script>
  90. <style>
  91. </style>