bding 1 жил өмнө
parent
commit
11ab311309

+ 0 - 18
App.vue

@@ -7,25 +7,7 @@ export default {
     // #ifdef MP
     // #ifdef MP
     this.checkVersion();
     this.checkVersion();
     // #endif
     // #endif
-    //打开调试
-    if (ENV.envVersion !== "release") {
-      // wx.setEnableDebug({
-      //   enableDebug: true,
-      // });
-    }
   },
   },
-  // pc 端功能关闭
-  // onShow: function (optios) {
-  //   uni.getSystemInfo({
-  //     success: function (res) {
-  //       if (res.windowWidth > 700) {
-  //         uni.reLaunch({
-  //           url: "/pages/pcWebViev/pcWebViev?path=" + optios.path + "&query=" + JSON.stringify(optios.query),
-  //         });
-  //       }
-  //     },
-  //   });
-  // },
   onHide: function () {},
   onHide: function () {},
   globalData: {
   globalData: {
     isLogin: false,
     isLogin: false,

+ 1 - 5
config/config.js

@@ -46,8 +46,4 @@ module.exports = {
   reportLinkUrl,
   reportLinkUrl,
   reportStrategyUrl,
   reportStrategyUrl,
   intemalLinkUrl
   intemalLinkUrl
-};
-
-// #ifdef H5
-export const H5baseUrl = process.env.NODE_ENV === "development" ? window.location.origin + "/" : baseUrl;
-// #endif
+};

+ 0 - 17
mixin/index.js

@@ -1,5 +1,4 @@
 import { FreeButton, Reports, User } from "@/config/api.js";
 import { FreeButton, Reports, User } from "@/config/api.js";
-import { Throttle } from "@/config/util.js";
 export default {
 export default {
   data() {
   data() {
     return {
     return {
@@ -23,22 +22,6 @@ export default {
     await this.$store.dispatch("checkHandle", "noGO");
     await this.$store.dispatch("checkHandle", "noGO");
     this.isShowFreeButton();
     this.isShowFreeButton();
   },
   },
-  onLoad(optios) {
-    // PC端功能关闭
-    // const page = this.$mp && this.$mp.page;
-    // uni.getSystemInfo({
-    //   success: function (res) {
-    //     if (page && page.route == "pages/pcWebViev/pcWebViev") return;
-    //     if (res.windowWidth > 700) {
-    //       uni.reLaunch({
-    //         url: "/pages/pcWebViev/pcWebViev?path=" + page.route + "&query=" + JSON.stringify(optios),
-    //       });
-    //     }
-    //   },
-    // });
-    // 判断手机号是不是弘则研究
-    // this.userIsShowShare();
-  },
   methods: {
   methods: {
     //免费标签的隐现
     //免费标签的隐现
     async isShowFreeButton() {
     async isShowFreeButton() {

+ 5 - 5
pages-purchaser/noteAndViewpoint/noteAndViewpoint.vue

@@ -70,7 +70,7 @@
           <text> 点击提交申请,提醒对口销售为你开通试用 </text>
           <text> 点击提交申请,提醒对口销售为你开通试用 </text>
         </view>
         </view>
       </view>
       </view>
-      <view v-if="detailDataForm.HasPermission === 3" class="btn-cont" @click="sellerApplyAuth"> {{ isShowText ? "提交申请" : "立即申请" }}</view>
+      <view v-if="detailDataForm.HasPermission === 3" class="btn-cont" @click="sellerApplyAuth"> 提交申请</view>
       <view class="btn-cont back-btn" @click="backIndex"> 返回 </view>
       <view class="btn-cont back-btn" @click="backIndex"> 返回 </view>
       <view class="product-introduction-box">
       <view class="product-introduction-box">
         <view class="product-introduction">
         <view class="product-introduction">
@@ -193,7 +193,7 @@ export default {
       this.detailDataForm.HasPermission === 2
       this.detailDataForm.HasPermission === 2
         ? User.applyTry({
         ? User.applyTry({
             ApplyMethod: 3,
             ApplyMethod: 3,
-            TryType: "Article",
+            TryType: "YanxuanSpecial",
             DetailId: this.detailId,
             DetailId: this.detailId,
           }).then((res) => {
           }).then((res) => {
             if (res.Ret === 200) {
             if (res.Ret === 200) {
@@ -204,7 +204,7 @@ export default {
           })
           })
         : this.detailDataForm.HasPermission === 4
         : this.detailDataForm.HasPermission === 4
         ? uni.navigateTo({
         ? uni.navigateTo({
-            url: "/pageMy/applyTrial/applyTrial?tryType=YanxuanSpecia&detailId=" + this.detailId,
+            url: "/pageMy/applyTrial/applyTrial?tryType=YanxuanSpecial&detailId=" + this.detailId,
           })
           })
         : uni.showModal({
         : uni.showModal({
             title: "",
             title: "",
@@ -218,8 +218,8 @@ export default {
     // 销售的立即申请
     // 销售的立即申请
     sellerApplyAuth() {
     sellerApplyAuth() {
       User.applyTry({
       User.applyTry({
-        TryType: "Article",
-        DetailId: this.id,
+        TryType: "YanxuanSpecial",
+        DetailId: this.detailId,
       }).then((res) => {
       }).then((res) => {
         if (res.Ret === 200) {
         if (res.Ret === 200) {
           uni.showModal({
           uni.showModal({