Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

183 řádky
4.8 KiB

  1. <template>
  2. <view class="boox">
  3. <view class="title">
  4. 数智工牌
  5. </view>
  6. <view class="booximg">
  7. <!-- <image class="img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/guidepage.png" mode=""></image> -->
  8. <image class="img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images1.png" mode=""></image>
  9. </view>
  10. <view class="center-dingwei">
  11. <view style="height: 44rpx;display: flex;margin-left: 213rpx;">
  12. <image style="width: 44rpx;height: 44rpx;" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
  13. <view style="line-height: 44rpx;margin-left: 10rpx;font-size: 32rpx;color: #333333;">智能语音转写</view>
  14. </view>
  15. <view style="height: 44rpx;display: flex;margin-left: 213rpx;margin-top: 20rpx;">
  16. <image style="width: 44rpx;height: 44rpx;" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
  17. <view style="line-height: 44rpx;margin-left: 10rpx;font-size: 32rpx;color: #333333;">高效的判客机制</view>
  18. </view>
  19. <view style="height: 44rpx;display: flex;margin-left: 213rpx;margin-top: 20rpx;">
  20. <image style="width: 44rpx;height: 44rpx;" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
  21. <view style="line-height: 44rpx;margin-left: 10rpx;font-size: 32rpx;color: #333333;">全方位的客户跟进</view>
  22. </view>
  23. <view style="height: 44rpx;display: flex;margin-left: 213rpx;margin-top: 20rpx;">
  24. <image style="width: 44rpx;height: 44rpx;" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
  25. <view style="line-height: 44rpx;margin-left: 10rpx;font-size: 32rpx;color: #333333;">专业的经济管家</view>
  26. </view>
  27. <view style="height: 44rpx;display: flex;margin-left: 213rpx;margin-top: 20rpx;">
  28. <image style="width: 44rpx;height: 44rpx;" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
  29. <view style="line-height: 44rpx;margin-left: 10rpx;font-size: 32rpx;color: #333333;">在线实时沟通</view>
  30. </view>
  31. </view>
  32. <view @click="bindWxBLogin" class="button">
  33. <view class="view">
  34. 立即去登录
  35. </view>
  36. </view>
  37. </view>
  38. </template>
  39. <script>
  40. var app = getApp();
  41. var config = require("../../config");
  42. export default {
  43. data() {
  44. return {
  45. name:"",
  46. path:'/pages/index/index',
  47. pathurl:'/pages/index/index',
  48. pathur2:'/pages/index/customer',
  49. pathur3:'/pages/center/prohibited/index',
  50. };
  51. },
  52. onLoad(opts) {
  53. this.name=opts.loginName ||'';
  54. let stat=opts.path||'';
  55. if(stat==1){
  56. this.path=this.pathur3;
  57. }else if(stat==2){
  58. this.path=this.pathur2;
  59. }else{
  60. this.path=this.pathurl;
  61. }
  62. },
  63. onShow: function() {
  64. if(this.name==''){
  65. uni.request({
  66. url: config.service.verify,
  67. method: "GET",
  68. header: {
  69. 'content-type': 'application/json',
  70. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  71. },
  72. success: (data) => {
  73. if (data.data.code == 10000) {
  74. uni.switchTab({
  75. url: '/pages/index/index'
  76. });
  77. }
  78. }
  79. })
  80. }else{
  81. var userInfo=uni.getStorageSync('weapp_session_userInfo_data');
  82. if(userInfo){
  83. console.log(userInfo.loginName)
  84. if(this.name==userInfo.loginName){
  85. uni.request({
  86. url: config.service.verify,
  87. method: "GET",
  88. header: {
  89. 'content-type': 'application/json',
  90. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  91. },
  92. success: (data) => {
  93. if (data.data.code == 10000) {
  94. if(this.path=='/pages/center/prohibited/index'){
  95. uni.navigateTo({
  96. url:this.path
  97. });
  98. }else{
  99. uni.switchTab({
  100. url:this.path
  101. });
  102. }
  103. }
  104. }
  105. })
  106. }else{
  107. console.log("不是本人")
  108. }
  109. }else{
  110. console.log("没有用户信息")
  111. }
  112. }
  113. },
  114. methods: {
  115. bindWxBLogin() {
  116. wx.navigateTo({
  117. url: '/pages/login/index'
  118. });
  119. }
  120. }
  121. };
  122. </script>
  123. <style lang="scss">
  124. .boox{
  125. width: 100vw;
  126. height: 100vh;
  127. position: relative;
  128. .title {
  129. width: 100%;
  130. position: absolute;
  131. left: 0rpx;
  132. top: 100rpx;
  133. text-align: center;
  134. color: #FFFFFF;
  135. font-size: 32rpx;
  136. font-weight: 500;
  137. z-index: 1000;
  138. }
  139. .booximg{
  140. width: 100vw;
  141. height: 96vh;
  142. .img{
  143. width: 100%;
  144. height: 100%;
  145. }
  146. }
  147. .center-dingwei{
  148. width: 100%;
  149. position: absolute;
  150. left: 0rpx;
  151. bottom:230rpx;
  152. }
  153. .button {
  154. width: 100%;
  155. position: absolute;
  156. left: 0rpx;
  157. bottom:80rpx;
  158. .view{
  159. width: 630rpx;
  160. height: 86rpx;
  161. margin: 0 auto;
  162. background: #2671E2;
  163. box-shadow: 0px 2rpx 20rpx 0rpx rgba(38, 113, 226, 0.5);
  164. border-radius: 49rpx;
  165. color: #FFFFFF;
  166. text-align: center;
  167. line-height: 86rpx;
  168. font-size: 32rpx;
  169. }
  170. }
  171. }
  172. </style>