diff --git a/pages/user-order-detail/user-order-detail.vue b/pages/user-order-detail/user-order-detail.vue
index a6e0ae9e..9cd88b88 100644
--- a/pages/user-order-detail/user-order-detail.vue
+++ b/pages/user-order-detail/user-order-detail.vue
@@ -56,9 +56,9 @@
- {{item.spec_text}}
+ {{item.spec_text}}
- {{$t('user-order-detail.user-order-detail.7xtnjt')}}
+ {{$t('user-order-detail.user-order-detail.7xtnjt')}}
diff --git a/uni_modules/mp-html/components/mp-html/node/node.vue b/uni_modules/mp-html/components/mp-html/node/node.vue
index 3922ff8d..053dc418 100644
--- a/uni_modules/mp-html/components/mp-html/node/node.vue
+++ b/uni_modules/mp-html/components/mp-html/node/node.vue
@@ -1,15 +1,15 @@
-
+
-
+
-
+
@@ -17,15 +17,15 @@
\n
-
+
-
+
-
+
@@ -33,9 +33,9 @@
-
+
-
+
@@ -60,7 +60,7 @@
-
+
@@ -284,36 +284,46 @@ export default {
if (href[0] === '#') {
// 跳转锚点
this.root.navigateTo(href.substring(1)).catch(() => { })
- } else if (href.split('?')[0].includes('://')) {
- // 复制外部链接
- if (this.root.copyLink) {
- // #ifdef H5
- window.open(href)
- // #endif
- // #ifdef MP
- uni.setClipboardData({
- data: href,
- success: () =>
- uni.showToast({
- title: '链接已复制'
- })
- })
- // #endif
- // #ifdef APP-PLUS
- plus.runtime.openWeb(href)
- // #endif
- }
- } else {
- // 跳转页面
- uni.navigateTo({
- url: href,
- fail () {
- uni.switchTab({
- url: href,
- fail () { }
- })
- }
+ } else if (href.substr(0, 7) == '/pages/') {
+ // 跳转页面
+ uni.navigateTo({
+ url: href,
+ fail () {
+ uni.switchTab({
+ url: href,
+ fail () { }
+ })
+ }
})
+ } else {
+ // 复制外部链接
+ if (this.root.copyLink) {
+ if (href.split('?')[0].includes('://')) {
+ // #ifdef H5
+ window.open(href)
+ // #endif
+ // #ifdef MP
+ uni.setClipboardData({
+ data: href,
+ success: () =>
+ uni.showToast({
+ title: '复制成功'
+ })
+ })
+ // #endif
+ // #ifdef APP-PLUS
+ plus.runtime.openWeb(href)
+ // #endif
+ } else {
+ uni.setClipboardData({
+ data: href,
+ success: () =>
+ uni.showToast({
+ title: '复制成功'
+ })
+ })
+ }
+ }
}
}
},