diff --git a/package.json b/package.json index 77e4c8b..6d7f01f 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "vue": "^2.6.10", "vue-cropperjs": "^3.0.0", "vue-i18n": "^8.10.0", + "vue-paypal-checkout": "latest", "vue-pdf": "^4.3.0", "vue-quill-editor": "^3.0.6", "vue-router": "^3.0.3", diff --git a/public/index.html b/public/index.html index 915b445..f588847 100644 --- a/public/index.html +++ b/public/index.html @@ -16,7 +16,7 @@ - + diff --git a/src/assets/img/paypal.png b/src/assets/img/paypal.png new file mode 100644 index 0000000..46c248b Binary files /dev/null and b/src/assets/img/paypal.png differ diff --git a/src/assets/img/success.png b/src/assets/img/success.png new file mode 100644 index 0000000..700e7a4 Binary files /dev/null and b/src/assets/img/success.png differ diff --git a/src/assets/img/zhifubao.png b/src/assets/img/zhifubao.png new file mode 100644 index 0000000..4da4faa Binary files /dev/null and b/src/assets/img/zhifubao.png differ diff --git a/src/components/common/Sidebar.vue b/src/components/common/Sidebar.vue index a712905..0eceee8 100644 --- a/src/components/common/Sidebar.vue +++ b/src/components/common/Sidebar.vue @@ -191,6 +191,7 @@ export default { index: '1', title: this.$t('sidebar.author'), subs: [ + { index: 'articleList', title: this.$t('sidebar.author1') @@ -202,7 +203,10 @@ export default { { index: 'articleAdd', title: this.$t('sidebar.author2') - } + } , { + index: 'orderListAuthor', + title: this.$t('sidebar.author4') + }, ] } // ,{ diff --git a/src/components/common/common.vue b/src/components/common/common.vue index 5b5359b..e985d78 100644 --- a/src/components/common/common.vue +++ b/src/components/common/common.vue @@ -10,6 +10,7 @@ const baseUrl = '/'; // const baseUrl = '/api'; + //本地(正式环境 ) // const mediaUrl = 'https://submission.tmrjournals.com/public/'; @@ -28,5 +29,6 @@ export default { baseUrl, mediaUrl, + }; diff --git a/src/components/common/langs/en.js b/src/components/common/langs/en.js index f098518..0e92d3f 100644 --- a/src/components/common/langs/en.js +++ b/src/components/common/langs/en.js @@ -149,6 +149,7 @@ const en = { author: 'Author', author1: 'My manuscripts', author2: 'Submit manuscript', + author4: 'Order List', author3: 'Manuscripts in Draft', editor: 'Editor', editor1: 'Paper Editing System', @@ -374,6 +375,25 @@ const en = { reContent:'Are you sure you want to restore this content?', uploadImageInfo:'Figures can only upload files in JPG, JPEG, and PNG formats!' }, + pendingPayment:{ + title:'Title', + journal:'Journal', + Paymentamount:'Payment Amount', + Paymentstatus:'Payment Status', + subtotal:'Subtotal', + payment:'Online Payment', + payDetail:'Payment Details', + total:'Total price', + youhui:'Discount', + submitOrder:'Submit Order', + state0:'Obligation', + state1:'Payment successful', + state2:'Cancelled', + paymentmethod:'Payment Method', + Disbursements:'Disbursements', + Confirmorderinformation:'Confirm order information', + orderDetail:'Order information', + } } diff --git a/src/components/common/langs/zh.js b/src/components/common/langs/zh.js index ced39a1..6de5212 100644 --- a/src/components/common/langs/zh.js +++ b/src/components/common/langs/zh.js @@ -143,6 +143,7 @@ const zh = { author1: '我的稿件', author2: '新增稿件', author3: '草稿箱', + author4: '订单列表', editor: '编辑', editor1: '待审稿件', editormanage: '编辑管理', @@ -367,6 +368,25 @@ const zh = { reContent:'确定要恢复这条内容吗?', uploadImageInfo:'Figures 只能上传 JPG、JPEG 和 PNG 格式的文件' }, + pendingPayment:{ + title:'Title', + journal:'期刊', + Paymentamount:'缴费金额', + Paymentstatus:'缴费状态', + subtotal:'小计', + payment:'在线缴费', + payDetail:'付款详情', + total:'总价', + youhui:'优惠', + submitOrder:'提交订单', + state0:'待付款', + state1:'已缴费', + state2:'已取消', + paymentmethod:'付款方式', + Disbursements:'已付款', + Confirmorderinformation:'确认订单信息', + orderDetail:'订单信息', + } } diff --git a/src/components/page/Complete_profile.vue b/src/components/page/Complete_profile.vue index 5898e4a..2bf5e6f 100644 --- a/src/components/page/Complete_profile.vue +++ b/src/components/page/Complete_profile.vue @@ -1,5 +1,6 @@