同步资源

This commit is contained in:
aixianling
2022-07-15 19:44:39 +08:00
parent 4696642a66
commit f61bbe9c83
15 changed files with 22 additions and 22 deletions

View File

@@ -63,7 +63,7 @@ export default {
content: '您还未登陆', content: '您还未登陆',
confirmText: '去登录' confirmText: '去登录'
}).then(() => { }).then(() => {
uni.switchTab({url: '/pages/mine/mine'}) uni.switchTab({url: '/pages/AppMine/AppMine'})
}).catch(() => { }).catch(() => {
}) })
} }

View File

@@ -286,7 +286,7 @@ export default {
onShareAppMessage() { onShareAppMessage() {
return { return {
title: '欢迎使用数字乡村治理服务一体化平台~', title: '欢迎使用数字乡村治理服务一体化平台~',
path: `/pages/enteringVillage/enteringVillage` path: `/pages/AppEnteringVillage/AppEnteringVillage`
} }
}, },

View File

@@ -53,7 +53,7 @@
<span class="label" :class="{required:row.required}" v-text="row.label"/> <span class="label" :class="{required:row.required}" v-text="row.label"/>
<AiSelect v-if="row.dict" v-model="form[row.prop]" :dict="row.dict"/> <AiSelect v-if="row.dict" v-model="form[row.prop]" :dict="row.dict"/>
<AiDate v-else-if="row.type=='time'" v-model="form[row.prop]"/> <AiDate v-else-if="row.type=='time'" v-model="form[row.prop]"/>
<AiAreaPicker v-else-if="row.type=='area'" all v-model="form[row.prop]" <AiAreaPicker v-else-if="row.type=='area'" all v-model="form[row.prop]"
:fullName.sync="form.birthplaceAreaName"> :fullName.sync="form.birthplaceAreaName">
<u-icon name="arrow-right" :label="form.birthplaceAreaName||'请选择'" label-pos="left" color="#ddd"/> <u-icon name="arrow-right" :label="form.birthplaceAreaName||'请选择'" label-pos="left" color="#ddd"/>
</AiAreaPicker> </AiAreaPicker>
@@ -164,7 +164,7 @@ export default {
this.$instance.post("/app/appresident/addOrUpdate", this.form).then(res => { this.$instance.post("/app/appresident/addOrUpdate", this.form).then(res => {
if (res?.code == 0) { if (res?.code == 0) {
this.$u.toast("提交成功!") this.$u.toast("提交成功!")
setTimeout(() => uni.switchTab({url: "/pages/mine/my"}), 1000) setTimeout(() => uni.switchTab({url: "/pages/AppMine/AppMine"}), 1000)
// uni.redirectTo({url: "./authSuccess"}) // uni.redirectTo({url: "./authSuccess"})
} }
}) })

View File

@@ -237,7 +237,7 @@ export default {
onShareAppMessage() { onShareAppMessage() {
return { return {
title: '欢迎使用数字乡村治理服务一体化平台~', title: '欢迎使用数字乡村治理服务一体化平台~',
path: `/pages/home/home` path: `/pages/AppHome/AppHome`
} }
}, },
} }

View File

@@ -19,7 +19,7 @@
<p>{{ user.areaName || "" }}</p> <p>{{ user.areaName || "" }}</p>
</template> </template>
</div> </div>
<p class="info" v-if="user.id" @click.stop="$linkTo('/pages/mine/userInfo')">个人信息</p> <p class="info" v-if="user.id" @click.stop="$linkTo('./userInfo')">个人信息</p>
</div> </div>
</div> </div>
</div> </div>
@@ -72,7 +72,7 @@ export default {
{ {
icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png", icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png",
label: "我的家庭", label: "我的家庭",
path: "/pages/mine/myFamily", path: "./myFamily",
type: 'idNumber' type: 'idNumber'
}, },
{ {
@@ -159,7 +159,7 @@ export default {
onShareAppMessage() { onShareAppMessage() {
return { return {
title: '欢迎使用数字乡村治理服务一体化平台~', title: '欢迎使用数字乡村治理服务一体化平台~',
path: `/pages/service/service` path: `/pages/AppModules/AppModules`
} }
}, },
} }

View File

@@ -86,7 +86,7 @@ export default {
this.$toast('退出成功'); this.$toast('退出成功');
setTimeout(() => { setTimeout(() => {
uni.switchTab({ uni.switchTab({
url: '/pages/mine/my' url: '/pages/AppMine/AppMine'
}) })
}, 500) }, 500)
} }

View File

@@ -87,7 +87,7 @@ export default {
onShareAppMessage() { onShareAppMessage() {
return { return {
title: '欢迎使用数字乡村治理服务一体化平台~', title: '欢迎使用数字乡村治理服务一体化平台~',
path: `/pages/service/service` path: `/pages/AppModules/AppModules`
} }
}, },
} }

View File

@@ -98,7 +98,7 @@ export default {
back() { back() {
if (getCurrentPages().length === 1) { if (getCurrentPages().length === 1) {
uni.switchTab({ uni.switchTab({
url: "/pages/home/home", url: "/pages/AppHome/AppHome",
}); });
return false; return false;
} }

View File

@@ -26,7 +26,7 @@ export default {
methods: { methods: {
back() { back() {
// uni.reLaunch({ // uni.reLaunch({
// url: '/pages/home/home' // url: '/pages/AppHome/AppHome'
// }) // })
uni.navigateBack({delta: 3}) uni.navigateBack({delta: 3})
} }

View File

@@ -19,7 +19,7 @@
<p>{{ user.areaName || "" }}</p> <p>{{ user.areaName || "" }}</p>
</template> </template>
</div> </div>
<p class="info" v-if="user.id" @click.stop="$linkTo('/pages/mine/userInfo')">个人信息</p> <p class="info" v-if="user.id" @click.stop="$linkTo('./userInfo')">个人信息</p>
</div> </div>
</div> </div>
</div> </div>
@@ -72,7 +72,7 @@ export default {
{ {
icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png", icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png",
label: "我的家庭", label: "我的家庭",
path: "/pages/mine/myFamily", path: "./myFamily",
type: 'idNumber' type: 'idNumber'
}, },
{ {
@@ -159,7 +159,7 @@ export default {
onShareAppMessage() { onShareAppMessage() {
return { return {
title: '欢迎使用数字乡村治理服务一体化平台~', title: '欢迎使用数字乡村治理服务一体化平台~',
path: `/pages/service/service` path: `/pages/AppModules/AppModules`
} }
}, },
} }

View File

@@ -86,7 +86,7 @@ export default {
this.$toast('退出成功'); this.$toast('退出成功');
setTimeout(() => { setTimeout(() => {
uni.switchTab({ uni.switchTab({
url: '/pages/mine/my' url: '/pages/AppMine/AppMine'
}) })
}, 500) }, 500)
} }

View File

@@ -85,7 +85,7 @@ export default {
onShareAppMessage() { onShareAppMessage() {
return { return {
title: '欢迎使用数字乡村治理服务一体化平台~', title: '欢迎使用数字乡村治理服务一体化平台~',
path: `/pages/service/service` path: `/pages/AppModules/AppModules`
} }
}, },
} }

View File

@@ -242,7 +242,7 @@ export default {
onShareAppMessage() { onShareAppMessage() {
return { return {
title: '欢迎使用数字乡村治理服务一体化平台~', title: '欢迎使用数字乡村治理服务一体化平台~',
path: `/pages/home/home` path: `/pages/AppHome/AppHome`
} }
}, },
} }

View File

@@ -19,7 +19,7 @@
<p>{{ user.areaName || "" }}</p> <p>{{ user.areaName || "" }}</p>
</template> </template>
</div> </div>
<p class="info" v-if="user.id" @click.stop="$linkTo('/pages/mine/userInfo')">个人信息</p> <p class="info" v-if="user.id" @click.stop="$linkTo('./userInfo')">个人信息</p>
</div> </div>
</div> </div>
</div> </div>
@@ -72,7 +72,7 @@ export default {
{ {
icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png", icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png",
label: "我的家庭", label: "我的家庭",
path: "/pages/mine/myFamily", path: "./myFamily",
type: 'idNumber' type: 'idNumber'
}, },
// { // {
@@ -159,7 +159,7 @@ export default {
onShareAppMessage() { onShareAppMessage() {
return { return {
title: '欢迎使用数字乡村治理服务一体化平台~', title: '欢迎使用数字乡村治理服务一体化平台~',
path: `/pages/service/service` path: `/pages/AppModules/AppModules`
} }
}, },
} }

View File

@@ -86,7 +86,7 @@ export default {
this.$toast('退出成功'); this.$toast('退出成功');
setTimeout(() => { setTimeout(() => {
uni.switchTab({ uni.switchTab({
url: '/pages/mine/my' url: '/pages/AppMine/AppMine'
}) })
}, 500) }, 500)
} }