Parcourir la source

轮播图播放顺序修改

xiaoming_global il y a 5 ans
Parent
révision
734da7f545
3 fichiers modifiés avec 56 ajouts et 65 suppressions
  1. 5 5
      config/prod.env.js
  2. 2 4
      src/scrm_pages/site/index.vue
  3. 49 56
      src/scrm_pages/site/preview.vue

+ 5 - 5
config/prod.env.js Voir le fichier

@@ -4,9 +4,9 @@ module.exports = {
4 4
   BASE_API: '"http://api.scrm.kuyicloud.com"',
5 5
   // BASE_API: '"http://api.test1.sgjyun.com"',
6 6
 
7
-  // SSO_HOST: '"https://sso.kuyicloud.com"',
8
-  // SRCM_HOST: '"http://jk.kuyicloud.com"',
9
-  // XT_HOST: '"http://xt.kuyicloud.com"',
10
-  // MIRCO_MALL_HOST: '"http://mall.kuyicloud.com"',
11
-  // CDM_HOST: '"http://cdm.kuyicloud.com"',
7
+  SSO_HOST: '"https://sso.kuyicloud.com"',
8
+  SRCM_HOST: '"http://jk.kuyicloud.com"',
9
+  XT_HOST: '"http://xt.kuyicloud.com"',
10
+  MIRCO_MALL_HOST: '"http://mall.kuyicloud.com"',
11
+  CDM_HOST: '"http://cdm.kuyicloud.com"',
12 12
 }

+ 2 - 4
src/scrm_pages/site/index.vue Voir le fichier

@@ -60,10 +60,8 @@ export default {
60 60
       crumbs: [{ path: false, name: "微网站" }],
61 61
       codeImg: require("../../assets/home/wei.jpg"),
62 62
       usreOrgID: "",
63
-       url:"http://microweb.kuyicloud.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id,
64
-      // url:
65
-        // "http://jk.test.sgjyun.com/#/microHome?orgid=" +  this.$store.getters.xt_user.org_id
66
-      // url:"http://microweb.kuyicloud.com/#/microHome?orgid=3877",
63
+      //  url:"http://microweb.kuyicloud.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id,
64
+      url: "http://jk.test.sgjyun.com/#/microHome?orgid=" +  this.$store.getters.xt_user.org_id
67 65
     };
68 66
   },
69 67
   methods: {

+ 49 - 56
src/scrm_pages/site/preview.vue Voir le fichier

@@ -133,7 +133,7 @@
133 133
                    </el-dialog>
134 134
 
135 135
                    <el-dialog
136
-                     title="编辑图片5"
136
+                     title="编辑图片"
137 137
                      :visible.sync="singleVisible"
138 138
                       width="30%"
139 139
                       center>
@@ -151,12 +151,6 @@
151 151
                             <i v-else class="el-icon-plus avatar-uploader-icon"></i>
152 152
                          </el-upload>
153 153
                          </el-col>
154
-                         <el-col :span="19">
155
-                             <div class="tpic">
156
-                               <img :src="singform.images" style="width:250px;height:150px">
157
-                             </div>
158
-                         </el-col>
159
-
160 154
                        </el-form-item>
161 155
                        <el-form-item label="排序值:" required prop="sort">
162 156
                            <el-input v-model="singform.sort" style="width:300px" type="number"></el-input>
@@ -236,11 +230,6 @@
236 230
                            </div>
237 231
                         </div> -->
238 232
                        </el-col>
239
-                       <el-col :span="19" v-show="picshow">
240
-                          <div class="tpic">
241
-                             <img :src="editpicform.images" style="width:250px;height:150px">
242
-                          </div>
243
-                       </el-col>
244 233
                      </el-form-item>
245 234
                      <el-form-item label="排序值:" required prop="sort">
246 235
                         <el-input v-model="editpicform.sort" type="number"></el-input>
@@ -736,11 +725,6 @@
736 725
                             </div>
737 726
                          </div> -->
738 727
                         </el-col>
739
-                           <el-col :span="10" v-show="picshow">
740
-                             <div class="tpic" style="width:250px;height:150px">
741
-                               <img :src="picform.images" style="width:250px;height:150px">
742
-                             </div>
743
-                           </el-col>
744 728
                       </el-form-item>
745 729
                       <el-form-item label="排序值:" required prop="sort">
746 730
                          <el-input v-model="picform.sort" type="number"></el-input>
@@ -752,7 +736,7 @@
752 736
                       </el-form-item>
753 737
                       <el-form-item label="链接地址:" v-show="showpiclink">
754 738
                           <el-col :span="15">
755
-                             <el-input v-model="picform.linkaddress"></el-input>
739
+                             <el-input v-model="picform.linkaddress" :disabled="true"></el-input>
756 740
                           </el-col>
757 741
                           <el-col :span="4">
758 742
                             <el-button size="medium" @click="linkaddressVisible = true">设置链接</el-button>
@@ -761,7 +745,7 @@
761 745
                     </el-form>
762 746
                     <span slot="footer" class="dialog-footer">
763 747
                    <el-button @click="addVisible = false">取 消</el-button>
764
-                   <el-button type="primary" @click="addeditpic('picform');addVisible = false">确 定</el-button>
748
+                   <el-button type="primary" @click="addeditpic('picform');">确 定</el-button>
765 749
                   </span>
766 750
                 </el-dialog>
767 751
 
@@ -791,7 +775,7 @@
791 775
               </el-dialog> -->
792 776
 
793 777
                 <el-dialog
794
-                   title="设置图片链接地址5"
778
+                   title="设置图片链接地址"
795 779
                    :visible.sync="linkaddressVisible"
796 780
                    width="30%"
797 781
                    center>
@@ -1608,7 +1592,7 @@
1608 1592
                                   <div v-if="item.mode_type == 2" class="oldmodetwo">
1609 1593
                                      <div><span>{{item.title}}:&nbsp;&nbsp;{{item.Hosaddress.address}}</span></div>
1610 1594
                                   </div>
1611
-                                  <div  v-if="item.mode_type == 3">
1595
+                                  <div  v-if="item.mode_type == 3" class="oldmodethree">
1612 1596
                                     <div v-for="it in Connectways" :key="it.id">
1613 1597
                                        <span>{{it.title}}:&nbsp;&nbsp;{{it.content}}</span><br>
1614 1598
                                       </div>
@@ -2137,7 +2121,7 @@ export default {
2137 2121
         picform:{
2138 2122
            images:"",
2139 2123
            sort:"",
2140
-           piclink:"",
2124
+           piclink:1,
2141 2125
            linkaddress:"",
2142 2126
            modeid:"",
2143 2127
         },
@@ -3620,6 +3604,7 @@ export default {
3620 3604
           if(valid){
3621 3605
              addeditpic(this.rotationform.id,this.picform).then(response=>{
3622 3606
                 if(response.data.state == 1){
3607
+                  this.addVisible = false;
3623 3608
                   var conrotation = response.data.data.conrotation;
3624 3609
                   var conrotations = response.data.data.conrotations;
3625 3610
                   console.log("钟无艳",conrotations)
@@ -4480,8 +4465,8 @@ export default {
4480 4465
       let qrcode = new QRCode('qrcode', {
4481 4466
         width: 100,
4482 4467
         height: 100, // 高度
4483
-         text:'http://microweb.kuyicloud.com/#/microHome?orgid='+this.$store.getters.xt_user.org_id, // 二维码内容
4484
-        //  text:'http://jk.test.sgjyun.com/#/microHome?orgid='+this.$store.getters.xt_user.org_id, // 二维码内容
4468
+        //  text:'http://microweb.kuyicloud.com/#/microHome?orgid='+this.$store.getters.xt_user.org_id, // 二维码内容
4469
+          text:'http://jk.test.sgjyun.com/#/microHome?orgid='+this.$store.getters.xt_user.org_id, // 二维码内容
4485 4470
 
4486 4471
       })
4487 4472
       console.log(qrcode)
@@ -4834,28 +4819,28 @@ export default {
4834 4819
                   //  this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4835 4820
                 } 
4836 4821
                 if(model.mode_type == 2){
4837
-                       this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4838
-                      // this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4822
+                     //  this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4823
+                       this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4839 4824
                 }
4840 4825
                 if(model.mode_type == 3){
4841
-                      this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/officeIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4842
-                      //  this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/officeIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4826
+                    //  this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/officeIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4827
+                      this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/officeIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4843 4828
                 }
4844 4829
                  if(model.mode_type == 4){
4845
-                      this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4846
-                      //  this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4830
+                     // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4831
+                        this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4847 4832
                 }
4848 4833
                if(model.mode_type == 5){
4849
-                      // this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/departmentEnvironment?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4850
-                        this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4834
+                      this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/departmentEnvironment?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4835
+                       // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4851 4836
                 }
4852 4837
                 if(model.mode_type == 6){
4853
-                     this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/news?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4854
-                    // this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/news?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4838
+                    // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/news?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4839
+                     this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/news?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4855 4840
                 }
4856 4841
                  if(model.mode_type == 7){
4857
-                     this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/activity?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4858
-                    // this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/activity?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4842
+                    // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/activity?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4843
+                     this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/activity?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4859 4844
                 }
4860 4845
                 if(model.mode_type == 8){
4861 4846
                     // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
@@ -4888,28 +4873,28 @@ export default {
4888 4873
                   //  this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4889 4874
                 } 
4890 4875
                 if(model.mode_type == 2){
4891
-                       this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4892
-                      // this.macgicform.linkaddress = "http://jk.test.sgjyun.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4876
+                      // this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4877
+                       this.macgicform.linkaddress = "http://jk.test.sgjyun.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4893 4878
                 }
4894 4879
                 if(model.mode_type == 3){
4895
-                        this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/officeIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4896
-                      //  this.macgicform.linkaddress = "http://jk.test.sgjyun.com/#/officeIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4880
+                       // this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/officeIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4881
+                        this.macgicform.linkaddress = "http://jk.test.sgjyun.com/#/officeIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4897 4882
                 }
4898 4883
                  if(model.mode_type == 4){
4899
-                       this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4900
-                      //  this.macgicform.linkaddress = "http://jk.test.sgjyun.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4884
+                      // this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4885
+                        this.macgicform.linkaddress = "http://jk.test.sgjyun.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4901 4886
                 }
4902 4887
                if(model.mode_type == 5){
4903
-                        this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/departmentEnvironment?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4904
-                      //  this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4888
+                        //this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/departmentEnvironment?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4889
+                      this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4905 4890
                 }
4906 4891
                 if(model.mode_type == 6){
4907
-                     this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/news?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4908
-                    // this.macgicform.linkaddress = "http://jk.test.sgjyun.com/#/news?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4892
+                    // this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/news?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4893
+                     this.macgicform.linkaddress = "http://jk.test.sgjyun.com/#/news?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4909 4894
                 }
4910 4895
                  if(model.mode_type == 7){
4911
-                     this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/activity?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4912
-                    // this.macgicform.linkaddress = "http://jk.test.sgjyun.com/#/activity?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4896
+                    // this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/activity?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4897
+                     this.macgicform.linkaddress = "http://jk.test.sgjyun.com/#/activity?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
4913 4898
                 }
4914 4899
                 if(model.mode_type == 8){
4915 4900
                     // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
@@ -4957,15 +4942,15 @@ export default {
4957 4942
        }
4958 4943
 
4959 4944
       if(this.navigationlinkform.navitionlinktype == 1){
4960
-            this.navigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id;
4961
-          //  this.navigationlinkform.linkaddress = "http://jk.test.sgjyun.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id;
4945
+          //  this.navigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id;
4946
+            this.navigationlinkform.linkaddress = "http://jk.test.sgjyun.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id;
4962 4947
       }
4963 4948
       if(this.navigationlinkform.navitionlinktype == 2){
4964 4949
           this.navigationlinkform.linkaddress = "http://shop.kuyicloud.com/app/index.php?i=2&c=entry&m=ewei_shopv2&do=mobile&fxtoken=bdc5659cbd1bd67baa9af215b0d6ae4c&fxorgid=3877&timestamp=1571050598&fxadmin=185&wxref=mp.weixin.qq.com#wechat_redirect";
4965 4950
       }
4966 4951
       if(this.navigationlinkform.navitionlinktype == 3){
4967
-          this.navigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#/contactus?orgid="+this.$store.getters.xt_user.org_id;
4968
-        //  this.navigationlinkform.linkaddress = "http://jk.test.sgjyun.com/#/contactus?orgid="+this.$store.getters.xt_user.org_id;
4952
+         // this.navigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#/contactus?orgid="+this.$store.getters.xt_user.org_id;
4953
+          this.navigationlinkform.linkaddress = "http://jk.test.sgjyun.com/#/contactus?orgid="+this.$store.getters.xt_user.org_id;
4969 4954
       }
4970 4955
      this.$refs[formName].validate((valid)=>{
4971 4956
        if(valid){
@@ -5034,16 +5019,16 @@ export default {
5034 5019
          this.editnavigationlinkform.navitionlinktype = navigationlinktypes;
5035 5020
 
5036 5021
          if(this.editnavigationlinkform.navitionlinktype == 1){
5037
-             this.editnavigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id;
5038
-            //  this.editnavigationlinkform.linkaddress = "http://jk.test.sgjyun.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id;
5022
+            // this.editnavigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id;
5023
+              this.editnavigationlinkform.linkaddress = "http://jk.test.sgjyun.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id;
5039 5024
          }
5040 5025
          if(this.editnavigationlinkform.navitionlinktype == 2){
5041 5026
             this.editnavigationlinkform.linkaddress = "http://shop.kuyicloud.com/app/index.php?i=2&c=entry&m=ewei_shopv2&do=mobile&fxtoken=bdc5659cbd1bd67baa9af215b0d6ae4c&fxorgid=3877&timestamp=1571050598&fxadmin=185&wxref=mp.weixin.qq.com#wechat_redirect";
5042 5027
             // this.editnavigationlinkform.linkaddress = "http://shop.kuyicloud.com/app/index.php?i=2&c=entry&m=ewei_shopv2&do=mobile&fxtoken=bdc5659cbd1bd67baa9af215b0d6ae4c&fxorgid=3877&timestamp=1571050598&fxadmin=185&wxref=mp.weixin.qq.com#wechat_redirect";
5043 5028
          }
5044 5029
          if(this.editnavigationlinkform.navitionlinktype == 3){
5045
-            this.editnavigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#//contact?orgid="+this.$store.getters.xt_user.org_id;
5046
-          //  this.editnavigationlinkform.linkaddress = "http://jk.test.sgjyun.com/#//contact?orgid="+this.$store.getters.xt_user.org_id;
5030
+           // this.editnavigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#//contact?orgid="+this.$store.getters.xt_user.org_id;
5031
+            this.editnavigationlinkform.linkaddress = "http://jk.test.sgjyun.com/#//contact?orgid="+this.$store.getters.xt_user.org_id;
5047 5032
          }
5048 5033
 
5049 5034
         
@@ -6482,6 +6467,14 @@ export default {
6482 6467
     color: rgba(7, 18, 40, 1);
6483 6468
     line-height: 2.375rem;
6484 6469
   }
6470
+  .oldmodethree{
6471
+    width: 300px;
6472
+    height: 100%;
6473
+    font-size: 1rem;
6474
+    font-weight: 600;
6475
+    color: rgba(7, 18, 40, 1);
6476
+    line-height: 2.375rem;
6477
+  }
6485 6478
 
6486 6479
    .oldmodefour{
6487 6480
     width: 300px;