diff --git a/template/admin/src/components/linkaddress/index.vue b/template/admin/src/components/linkaddress/index.vue
index 79a3532a3..540dcf459 100644
--- a/template/admin/src/components/linkaddress/index.vue
+++ b/template/admin/src/components/linkaddress/index.vue
@@ -250,31 +250,38 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -403,8 +410,10 @@ export default {
categoryId: '', //左侧分类id
treeSelect: [],
customdate: {
- // name:'',
url: '',
+ appid: '',
+ mpUrl: '',
+ status: 1,
},
customNum: 1,
ruleValidate: {
@@ -493,7 +502,13 @@ export default {
handleSubmit(name) {
this.$refs[name].validate((valid) => {
if (valid) {
- this.$emit('linkUrl', this.customdate.url);
+ let url = this.customdate.url;
+ if (this.customdate.status == 1) {
+ url = this.customdate.url;
+ } else {
+ url = this.customdate.mpUrl + '@APPID=' + this.customdate.appid;
+ }
+ this.$emit('linkUrl', url);
this.modals = false;
this.reset();
// saveLink(this.customdate,this.categoryId).then(res=>{
@@ -838,7 +853,11 @@ export default {
min-width: 121px;
}
}
-
+.radioGroup{
+ /deep/.ivu-radio-wrapper{
+ margin-right 30px;
+ }
+}
.table_box {
margin-top: 14px;
display: flex;