Browse Source

国际化

master
chenkun 11 months ago
parent
commit
4559044dee
25 changed files with 787 additions and 392 deletions
  1. +11
    -4
      components/base/centerList.vue
  2. +26
    -22
      components/base/topbar.vue
  3. +7
    -7
      components/config/PrivacyAgreementPoup.vue
  4. +4
    -4
      components/config/customerServicePopup.vue
  5. +3
    -3
      components/user/productList.vue
  6. +209
    -20
      locale/en.json
  7. +198
    -8
      locale/zh-Hans.json
  8. +12
    -12
      pages/index/center2.vue
  9. +1
    -1
      pages/index/clearanceService.vue
  10. +9
    -7
      pages/index/index.vue
  11. +3
    -3
      pages/index/tradingPlatform.vue
  12. +33
    -34
      pages_order/auth/registerShop.vue
  13. +4
    -4
      pages_order/auth/selectionIdentity.vue
  14. +9
    -9
      pages_order/auth/wxLogin.vue
  15. +119
    -118
      pages_order/auth/wxUserInfo.vue
  16. +10
    -10
      pages_order/center/helpFeedback.vue
  17. +31
    -14
      pages_order/center/systemSet.vue
  18. +8
    -8
      pages_order/components/order/orderList.vue
  19. +1
    -1
      pages_order/mine/help.vue
  20. +19
    -19
      pages_order/order/backOrder.vue
  21. +27
    -44
      pages_order/order/offerOrBillLading.vue
  22. +17
    -14
      pages_order/order/orderDetail2.vue
  23. +1
    -1
      pages_order/order/pendingOrder.vue
  24. +12
    -12
      pages_order/tradingPlatform/confirmOrder.vue
  25. +13
    -13
      pages_order/tradingPlatform/nowOrder.vue

+ 11
- 4
components/base/centerList.vue View File

@ -32,16 +32,23 @@ export default {
//
tapItem(item, index) {
console.log(item, index, "item,index==========")
if (item.text === '联系客服') {
if (item.text === '联系客服' || item.englishText === 'contactCustomerService') {
console.log("联系客服")
this.$emit('open')
} else if (item.text === '我的挂单' || item.text === '系统设置' || item.text === '关于我们' || item.text === '帮助反馈') {
console.log("进入"+item.text)
} else if (
item.text === '我的挂单' || item.englishText === 'myOrders' ||
item.text === '系统设置' || item.englishText === 'systemSettings' ||
item.text === '关于我们' || item.englishText === 'aboutUs' ||
item.text === '帮助反馈' || item.englishText === 'helpFeedback'
) {
console.log("进入 " + item.text)
uni.navigateTo({
url: item.toPathUrl
})
}
},
}
,
},


+ 26
- 22
components/base/topbar.vue View File

@ -5,7 +5,7 @@
<view>
<img src="../../static/image/cart/1.png" style="width:100%;height:100%;">
</view>
<span class="text">铝产品现货交易平台</span>
<span class="text"> {{ $t('pageTitle.proName') }}</span>
</view>
<!--右边-->
<view v-if="showRight == '1'" @click="switchIdentity" class="change">
@ -15,27 +15,31 @@
</template>
<script>
export default {
props : {
showRight : {
default : '0',
type : String,
}
},
data(){
return {
export default {
props: {
showRight: {
default: '0',
type: String,
}
},
data() {
return {
}
},
methods : {
//
switchIdentity() {
uni.navigateTo({
url: '/pages_order/auth/selectionIdentity'
})
},
}
}
}
}
,
methods: {
//
switchIdentity() {
uni.navigateTo({
url: '/pages_order/auth/selectionIdentity'
})
}
,
}
}
</script>
<style lang="scss" scoped>
@ -76,4 +80,4 @@
border-radius: 40rpx;
}
}
</style>
</style>

+ 7
- 7
components/config/PrivacyAgreementPoup.vue View File

@ -6,11 +6,11 @@
mode=""></image>
</view>
<view class="title">
<view>协议与隐私政策</view>
<view>{{ $t('components.agreementPrivacyPolicy') }} </view>
</view>
<view class="content_pri">
<view class="text">
欢迎来到酒店布草!我们根据最新的法律法规监管政策要求更新了用户协议隐私政策,请您认真阅读
{{ $t('components.agreementPrivacyPolicyTip') }}
</view>
</view>
<view class="config">
@ -18,20 +18,20 @@
<view class="content">
<view style="display: flex;">
<!-- <uv-checkbox size="30rpx" :name="1"></uv-checkbox> -->
同意<text @click="goToPrivacy">酒店布草隐私政策</text>
{{ $t('components.agree') }}<text @click="goToPrivacy">{{ $t('components.privacyPolicy') }}</text>
</view>
<view class="">
以及<text @click="goToPrivacy">用户协议</text>
{{ $t('components.and') }}<text @click="goToPrivacy">{{ $t('components.userAgreement') }}</text>
</view>
</view>
</uv-checkbox-group>
</view>
<view class="pri_btn">
<button class="confuse_btn" @click="confusePrivacy">拒绝</button>
<button class="confuse_btn" @click="confusePrivacy">{{ $t('components.turnDown') }}</button>
<button
class="confirm_btn" id="agree-btn"
open-type="agreePrivacyAuthorization"
@agreeprivacyauthorization="handleAgreePrivacyAuthorization">同意</button>
@agreeprivacyauthorization="handleAgreePrivacyAuthorization">{{ $t('components.agree') }}</button>
</view>
</view>
</uv-popup>
@ -76,7 +76,7 @@
}, //
fail: () => {
uni.showToast({
title: '打开失败,稍后重试',
title: `${$t('components.openFailed')}`,
icon: 'none'
})
} //


+ 4
- 4
components/config/customerServicePopup.vue View File

@ -3,15 +3,15 @@
<uv-overlay :show="show" @click="close">
<view class="warp">
<view class="rect" @tap.stop>
<view class="title">联系客服</view>
<view class="center">确定拨打客服电话?</view>
<view class="title">{{ $t('components.contactCustomerService') }}</view>
<view class="center">{{ $t('components.confirmCallCustomerService') }}?</view>
<view class="bottom">
<view>
<uv-button type="info" shape="circle" text="取消" :custom-style="customStyle1"
<uv-button type="info" shape="circle" :text="$t('components.cancel')" :custom-style="customStyle1"
@click="close"></uv-button>
</view>
<view>
<uv-button type="info" shape="circle" text="确定" :custom-style="customStyle2"
<uv-button type="info" shape="circle" :text="$t('components.confirmD')" :custom-style="customStyle2"
@click="confirm"></uv-button>
</view>
</view>


+ 3
- 3
components/user/productList.vue View File

@ -9,11 +9,11 @@
src="https://img95.699pic.com/photo/50058/1378.jpg_wh860.jpg" mode=""></image>
<view class="info">
<view class="title">
铝制品
{{ $t('other.aluminumProducts') }}
</view>
<view class="price">
<text>58</text>
/
{{ $t('other.unitPrice2') }}
</view>
<!--<view class="favorable">-->
<!-- <view class="t">-->
@ -29,7 +29,7 @@
</view>
<view class="btn">
<view class="change">
立即采购
{{ $t('other.immediatePurchase') }}
</view>
</view>
</view>


+ 209
- 20
locale/en.json View File

@ -1,25 +1,214 @@
{
"tabbar.title.1": "Home",
"tabbar.title.2": "TradingPlatform",
"tabbar.title.3": "CustomsClearance",
"tabbar.title.4": "PersonalCenter",
"pages" : {
"index" : {
"index" : {
"agreement" : "Agreement content",
"language" : "Change Language",
"purchaser":"purchaser",
"supplier":"supplier",
"companyProfile":"companyProfile",
"aluminiumProduct":"aluminiumProduct"
}
}
"tabbar.title.1": "Home",
"tabbar.title.2": "Trading Platform",
"tabbar.title.3": "Customs Services",
"tabbar.title.4": "Profile",
"responseMessage": {},
"pageTitle": {
"proName": "Aluminum Products Spot Trading Platform",
"welcomeToAluminumTradingPlatform": "Welcome to the Aluminum Trading Platform",
"aluminumTradingPlatform": "Aluminum Trading Platform",
"wechatAuthorizedLogin": "WeChat Authorized Login",
"buyerRegistration": "Buyer Registration",
"domesticCustomsClearanceApplication": "Domestic Customs Clearance Application",
"supplierQuotation": "Supplier Quotation",
"supplierOrder": "Supplier Order",
"myOrders": "My Orders",
"orderDetails": "Order Details",
"withdrawOrder": "Withdraw Order",
"accountPasswordLogin": "Account Password Login",
"phoneLogin": "Phone Login",
"forgotPasswordPage": "Forgot Password Page",
"selectIdentity": "Select Identity",
"immediateOrder": "Immediate Order",
"confirmOrder": "Confirm Order",
"systemSettings": "System Settings",
"aboutThisProgram": "About This Program",
"personalCenter": "Personal Center",
"accountSetting": "Account Setting",
"systemSetting": "System Setting",
"identitySetting": "Identity Setting",
"switchAccount": "Switch Account",
"changePassword": "Change Password",
"logout": "Logout",
"versionUpdate": "Version Update",
"languageSwitch": "Language Switch",
"clearCache": "Clear Cache",
"switchIdentity": "Switch Identity",
"cancelOrder": "Cancel Order"
},
"components": {
"cancel": "Cancel",
"confirmD": "Confirm",
"agreementPrivacyPolicy": "Agreement & Privacy Policy",
"privacyPolicy": "Privacy Policy",
"userAgreement": "User Agreement",
"agree": "Agree",
"and": "and",
"turnDown": "Decline",
"openSuccess": "Opened Successfully",
"openFailed": "Open Failed, Try Again",
"roleSwitching": "Switch Role",
"aboutUs": "About Us",
"agreementPrivacyPolicyTip": "Welcome to the Aluminum Trading Platform! Please review the updated User Agreement and Privacy Policy.",
"immediateOrder": "Place Order",
"contactUs": "Contact Us",
"contactCustomerService": "Contact Support",
"register": "Register",
"login": "Login",
"resetPassword": "Reset Password",
"productSpe": "Product Specs",
"pickupLocation": "Pickup Location",
"enterOpeningBank": "Please enter the opening bank",
"detailedAddress": "Detailed Address",
"unitPrice": "Unit Price",
"password": "Password",
"lxPhone": "Contact Phone",
"bankName": "Bank Name",
"deliveryDate": "Delivery Date",
"username": "Username",
"avatar": "Avatar",
"nickname": "Nickname",
"pleSelectRegion": "Select Region",
"enterDetailedAddress": "Enter Detailed Address",
"contactUsIfAnyProblems": "Contact Us for Assistance",
"confirmCallCustomerService": "Call Customer Service?",
"enterAccount": "Enter Account",
"enterPassword": "Enter Password",
"agreeToReadAndAgree": "Please Agree to Our",
"privacyTerms": "Privacy Terms",
"serviceAgreement": "Service Agreement",
"enterContactInfo": "Enter Phone/User/Email",
"enterVerificationCode": "Enter Verification Code",
"setNewPassword": "Set a New Password (6 to 50 characters)",
"confirmPassword": "Confirm Password",
"agreeToPrivacyAgreement": "Agree to Privacy Policy",
"gettingVerificationCode": "Getting Code",
"verificationCodeSent": "Code Sent",
"enterYourPassword": "Enter Password",
"noDuplicateSend": "Do Not Resend",
"enterUserName": "Enter Username",
"plePhoneNumber": "Enter Contact Number",
"selectIdentity": "Select Role",
"enterBankName": "Enter Bank Name",
"selectAvatar": "Select Avatar",
"enterNickname": "Enter Nickname",
"fillNickname": "Enter a Nickname",
"businessLicense": "Business License",
"basicAccountInfo": "Account Info",
"receivingBank": "Receiving Bank",
"applicationReview": "Application Review",
"registrationNotice": "Registration Info",
"serviceAgreementAndPrivacyTerms": "Service & Privacy Terms",
"and": "and",
"personalInfoProtectionGuideline": "Personal Info Guidelines",
"applyForAvatarNickname": "Request Avatar & Nickname",
"confirmR": "Confirm",
"helpAndFeedback": "Help & Feedback",
"pleaseSubmit": "Submit Your Request or Issue. Thank You!",
"screenshot": "Screenshot",
"contactInfo": "Contact Info",
"contactName": "Contact Name",
"enterContactName": "Enter Contact Name",
"contactNumber": "Contact Number",
"submitFeedback": "Submit Feedback",
"defaultAddress": "Default Address",
"edit": "Edit",
"delete": "Delete",
"contactPerson": "Contact Person",
"enterContactPersonName": "Enter Contact Name",
"phoneNumber": "Phone Number",
"enterPhoneNumber": "Enter Phone Number",
"region": "Region",
"selectRegion": "Select Region",
"location": "Location",
"modifyAddress": "Edit Address",
"addNewAddress": "Add New Address",
"pleaseFillContactPerson": "Enter Contact Person",
"pleaseFillPhoneNumber": "Enter Phone Number",
"pleaseFillRegion": "Enter Region",
"pleaseFillDetailedAddress": "Enter Detailed Address",
"invalidPhoneFormat": "Invalid Phone Number",
"verificationPassed": "Verified",
"auditPassed": "Audit Passed",
"customerName": "Customer Name",
"share": "Share",
"shoppingCart": "Cart",
"selectContactPerson": "Select Contact",
"addressManagement": "Address Management",
"operationSuccessful": "Success",
"deleteAddress": "Delete Address",
"confirmDeleteAddress": "Delete This Address? Cannot be Undone.",
"deleteSuccessful": "Deleted",
"submitReview": "Submit for Review",
"withdrawRequestNotice": "Note: Cannot Cancel After Approval",
"productSpecification": "Product Specs",
"shippingAddress": "Shipping Address",
"orderInfo": "Order Info",
"orderNumber": "Order Number",
"orderTime": "Order Time",
"orderNotice": "Order Notice",
"accountName": "Account Name",
"enterAccountName": "Enter Account Name",
"bankAccount": "Bank Account",
"enterBankAccount": "Enter Bank Account",
"paymentNotice": "Pay within 30 Minutes",
"confirmOrder": "Confirm Order",
"cancelOrder": "Cancel Order",
"systemSettings": "Settings",
"helpFeedback": "Help & Feedback",
"unitPrice2": "Price/Unit",
"immediatePurchase": "Buy Now",
"applyNow": "Apply now"
},
"other": {
"orderList": "Listings",
"spotTrading": "Spot Trading",
"futuresTrading": "Futures Trading",
"aluminumProducts": "Aluminum Products",
"tentativeQuantity": "Tentative Qty (Tons)",
"performanceDeposit": "Performance Bond",
"priceQuantityPercentage": "(Price * Qty * 2%)",
"companyName": "Company Name",
"enterCompanyName": "Enter Company Name",
"taxCode": "Tax Code",
"enterTaxCode": "Enter Tax Code",
"companyAddress": "Company Address",
"enterCompanyAddress": "Enter Company Address",
"companyAccount": "Company Account",
"enterCompanyAccount": "Enter Company Account",
"frameworkContractPreview": "Contract Preview",
"buyerRegistration": "Buyer Registration",
"supplierRegistration": "Supplier Registration",
"domesticCustomsClearanceApplication": "Customs Application",
"iAmBuyer": "I Am a Buyer",
"iAmSupplier": "I Am a Supplier",
"pickupAddress": "Pickup Address",
"pickupDate": "Pickup Date",
"withdrawOrder": "Withdraw Order",
"supplierName": "Supplier Name",
"deliveryTime": "Delivery Time",
"defaultAluminumPrice": "Default Aluminum Price",
"submitQuotation": "Submit Quotation",
"submitReview": "Submit for Review",
"supplierQuotation": "Supplier Quotation",
"supplierOrder": "Supplier Listing",
"myOrders": "My Listings",
"payDeposit": "Pay Bond",
"supplierBilLading": "Supplier bill of lading"
},
"components" : {
"config" : {
"configPopup" : {
"pages": {
"index": {
"index": {
"agreement": "Agreement",
"language": "Language",
"purchaser": "Purchaser",
"supplier": "Supplier",
"companyProfile": "Company Profile",
"aluminiumProduct": "Aluminium Products",
"supplierQuotation": "Supplier Quotation",
"supplierBillLading": "Supplier Bill Lading"
}
}
}
}
}

+ 198
- 8
locale/zh-Hans.json View File

@ -6,6 +6,200 @@
"responseMessage" : {
},
"pageTitle": {
"proName": "铝产品现货交易平台",
"welcomeToAluminumTradingPlatform": "欢迎使用铝交易平台",
"aluminumTradingPlatform": "铝交易平台",
"wechatAuthorizedLogin": "微信授权登录",
"buyerRegistration": "采购商注册",
"domesticCustomsClearanceApplication": "国内清关申请",
"supplierQuotation": "供应商报价",
"supplierOrder": "供应商挂单",
"myOrders": "我的挂单",
"orderDetails": "挂单详情",
"withdrawOrder": "我要撤单",
"accountPasswordLogin": "账号密码登录",
"phoneLogin": "手机号登录",
"forgotPasswordPage": "忘记密码页面",
"selectIdentity": "选择身份",
"immediateOrder": "立即下单",
"confirmOrder": "确认下单",
"systemSettings": "系统设置",
"aboutThisProgram": "关于本程序",
"personalCenter": "个人中心",
"accountSetting": "账号设置",
"systemSetting": "系统设置",
"identitySetting": "身份设置",
"switchAccount": "切换账号",
"changePassword": "修改密码",
"logout": "退出登录",
"versionUpdate": "版本更新",
"languageSwitch": "语言切换",
"clearCache": "清理缓存",
"switchIdentity": "切换身份",
"cancelOrder": "取消订单"
},
"components": {
"cancel": "取消",
"confirmD": "确定",
"agreementPrivacyPolicy": "协议与隐私政策",
"privacyPolicy": "隐私政策",
"userAgreement": "用户协议",
"agree": "同意",
"and": "以及",
"turnDown": "拒绝",
"openSuccess": "打开成功",
"openFailed": "打开失败,稍后重试",
"roleSwitching": "角色切换",
"aboutUs": "关于我们",
"agreementPrivacyPolicyTip": "欢迎来到铝交易平台!我们根据最新的法律法规、监管政策要求,更新了《用户协议》和《隐私政策》,请您认真阅读。",
"immediateOrder": "立即下单",
"contactUs": "联系我们",
"applyNow": "立即申请",
"contactCustomerService": "联系客服",
"register": "注册",
"login": "登录",
"resetPassword": "重置密码",
"productSpe": "商品规格",
"pickupLocation": "提货地点",
"detailedAddress": "详细地址",
"unitPrice": "单价",
"password": "密码",
"lxPhone": "联系电话",
"bankName": "开户行",
"deliveryDate": "交货日期",
"username": "用户名",
"avatar": "头像",
"nickname": "昵称",
"pleSelectRegion": "请选择所在地区",
"enterDetailedAddress": "请输入详细地址",
"contactUsIfAnyProblems": "如有问题,请联系我们",
"confirmCallCustomerService": "确定拨打客服电话?",
"enterAccount": "请输入账号",
"enterPassword": "请输入密码",
"agreeToReadAndAgree": "请你阅读并同意我们的",
"privacyTerms": "《隐私条款》",
"serviceAgreement": "《服务协议》",
"enterContactInfo": "请输入手机号/用户/邮箱",
"enterVerificationCode": "请输入验证码",
"setNewPassword": "设置您的新密码(6到50个字符)",
"confirmPassword": "重新确认密码",
"agreeToPrivacyAgreement": "请先同意隐私协议",
"gettingVerificationCode": "正在获取验证码",
"verificationCodeSent": "验证码已发送",
"enterYourPassword": "请输入您的密码",
"noDuplicateSend": "请勿重复发送",
"enterUserName": "请输入用户名称",
"plePhoneNumber": "请输入联系电话",
"selectIdentity": "请选择你的身份",
"enterBankName": "请输入开户行名称",
"selectAvatar": "请选择头像",
"enterNickname": "请输入昵称",
"fillNickname": "请填写昵称",
"businessLicense": "营业执照",
"basicAccountInfo": "基本户信息",
"receivingBank": "收款银行",
"applicationReview": "申请审核",
"registrationNotice": "注册须知",
"serviceAgreementAndPrivacyTerms": "服务协议与隐私条款",
"and": "以及",
"personalInfoProtectionGuideline": "个人信息保护指引",
"applyForAvatarNickname": "申请获取你的头像、昵称",
"confirmR": "确认",
"helpAndFeedback": "帮助与反馈",
"pleaseSubmit": "请把您需要的帮助或者您发现的问题提交给我们,感谢您的参与(必填)",
"screenshot": "问题截图",
"contactInfo": "联系方式",
"contactName": "联系姓名",
"enterContactName": "请输入联系姓名",
"contactNumber": "联系电话",
"submitFeedback": "提交反馈",
"defaultAddress": "默认地址",
"edit": "编辑",
"delete": "删除",
"contactPerson": "联系人",
"enterContactPersonName": "请输入联系人姓名",
"phoneNumber": "手机号",
"enterPhoneNumber": "请输入手机号",
"region": "所在地区",
"selectRegion": "请选择所在地区",
"location": "定位",
"modifyAddress": "修改地址",
"addNewAddress": "新增地址",
"pleaseFillContactPerson": "请填写联系人",
"pleaseFillPhoneNumber": "请填写手机号",
"pleaseFillRegion": "请填写所在地区",
"pleaseFillDetailedAddress": "请填写详细地址",
"invalidPhoneFormat": "手机号格式不合法",
"verificationPassed": "验证通过",
"auditPassed": "审核通过",
"customerName": "客户姓名",
"share": "分享",
"shoppingCart": "购物车",
"selectContactPerson": "请选择联系人",
"addressManagement": "地址管理",
"operationSuccessful": "操作成功",
"deleteAddress": "删除地址",
"confirmDeleteAddress": "确认删除此地址?删除后数据不可恢复",
"deleteSuccessful": "删除成功",
"submitReview": "提交审核",
"withdrawRequestNotice": "提示:提交“我要撤单”审核通过后之后不可轻易取消",
"productSpecification": "产品规格",
"shippingAddress": "收货地址",
"orderInfo": "订单信息",
"orderNumber": "订单编号",
"orderTime": "下单时间",
"orderNotice": "下单须知",
"accountName": "开户名称",
"enterAccountName": "请输入开户名称",
"enterOpeningBank": "请输入开开户行",
"bankAccount": "银行账号",
"enterBankAccount": "请输入银行账号",
"paymentNotice": "提示:请于下单成功后30分钟内支付。(自动倒计时)",
"confirmOrder": "确认下单",
"cancelOrder": "取消订单",
"systemSettings": "系统设置",
"helpFeedback": "帮助反馈",
"unitPrice2": "元/起",
"immediatePurchase": "立即采购"
},
"other": {
"orderList": "挂单列表",
"spotTrading": "现货交易",
"futuresTrading": "期货交易",
"aluminumProducts": "铝制品",
"tentativeQuantity": "暂定数量(吨)",
"performanceDeposit": "履约保证金",
"priceQuantityPercentage": "(单价*数量*2%)",
"companyName": "公司名称",
"enterCompanyName": "请输入公司名称",
"taxCode": "税收编码",
"enterTaxCode": "请输入税收编码",
"companyAddress": "公司地址",
"enterCompanyAddress": "请输入公司地址",
"companyAccount": "公司账户",
"enterCompanyAccount": "请输入公司账户",
"frameworkContractPreview": "框架合同预览",
"buyerRegistration": "采购商注册",
"supplierRegistration": "供应商注册",
"domesticCustomsClearanceApplication": "国内清关申请",
"iAmBuyer": "我是采购商",
"iAmSupplier": "我是供应商",
"pickupAddress": "提货地址",
"pickupDate": "提货日期",
"withdrawOrder": "我要撤单",
"supplierName": "供应商名称",
"deliveryTime": "交货时间",
"defaultAluminumPrice": "默认为铝品单价",
"submitQuotation": "提交报价",
"submitReview": "提交审核",
"supplierQuotation": "供应商报价",
"supplierBilLading": "供应商提单",
"supplierOrder": "供应商挂单",
"myOrders": "我的挂单",
"payDeposit": "支付保证金"
},
"pages" : {
"index" : {
"index" : {
@ -14,15 +208,11 @@
"purchaser":"采购商",
"supplier":"供应商",
"companyProfile":"公司简介",
"aluminiumProduct":"铝制品"
}
}
},
"components" : {
"config" : {
"configPopup" : {
"noData" : "内容未找到:404"
"aluminiumProduct":"铝制品",
"supplierQuotation":"供应商报价",
"supplierBillLading":"供应商提单"
}
}
}
}

+ 12
- 12
pages/index/center2.vue View File

@ -1,7 +1,7 @@
<template>
<view class="page">
<navbar title="个人中心"/>
<navbar :title="$t('pageTitle.personalCenter')"/>
<view class="frame">
@ -18,11 +18,11 @@
VIP1
</view> -->
<view class="tips">
手机号13812345678
{{ $t('components.phoneNumber') }}13812345678
</view>
</view>
<view class="headBtn" @click="headBtn">
角色切换
{{ $t('components.roleSwitching') }}
</view>
<view class="setting">
<uv-icon name="setting" size="40rpx"></uv-icon>
@ -64,18 +64,18 @@ export default {
return {
supplierList: [
// this.$t('pages.index.index.companyProfile')
{text: '我的挂单', value: ">", imgUrl: '/static/image/center/14.svg', toPathUrl: '/pages_order/order/pendingOrder'},
{text: '联系客服', value: ">", imgUrl: '/static/image/center/13.svg'},
{text: '系统设置', value: ">", imgUrl: '/static/image/center/12.svg', toPathUrl: '/pages_order/center/systemSet'},
{text: '帮助反馈', value: ">", imgUrl: '/static/image/center/12.svg', toPathUrl: '/pages_order/center/helpFeedback'},
{text: '关于我们', value: ">", imgUrl: '/static/image/center/13.svg'},
{text: `${this.$t('pageTitle.myOrders')}`,englishText:'myOrders', value: ">", imgUrl: '/static/image/center/14.svg', toPathUrl: '/pages_order/order/pendingOrder'},
{text: `${this.$t('components.contactCustomerService')}`, englishText:'contactCustomerService',value: ">", imgUrl: '/static/image/center/13.svg'},
{text: `${this.$t('components.systemSettings')}`,englishText:'systemSettings', value: ">", imgUrl: '/static/image/center/12.svg', toPathUrl: '/pages_order/center/systemSet'},
{text: `${this.$t('components.helpFeedback')}`,englishText:'systemSettings', value: ">", imgUrl: '/static/image/center/12.svg', toPathUrl: '/pages_order/center/helpFeedback'},
{text: `${this.$t('components.aboutUs')}`, englishText:'aboutUs',value: ">", imgUrl: '/static/image/center/13.svg'},
],
purchaserList: [
// this.$t('pages.index.index.companyProfile')
{text: '联系客服', value: ">", imgUrl: '/static/image/center/13.svg'},
{text: '系统设置', value: ">", imgUrl: '/static/image/center/12.svg', toPathUrl: '/pages_order/center/systemSet'},
{text: '帮助反馈', value: ">", imgUrl: '/static/image/center/12.svg', toPathUrl: '/pages_order/center/helpFeedback'},
{text: '关于我们', value: ">", imgUrl: '/static/image/center/13.svg'}
{text: `${this.$t('components.contactCustomerService')}`, englishText:'contactCustomerService',value: ">", imgUrl: '/static/image/center/13.svg'},
{text: `${this.$t('components.contactCustomerService')}`,englishText:'systemSettings', value: ">", imgUrl: '/static/image/center/12.svg', toPathUrl: '/pages_order/center/systemSet'},
{text: `${this.$t('components.helpFeedback')}`,englishText:'systemSettings', value: ">", imgUrl: '/static/image/center/12.svg', toPathUrl: '/pages_order/center/helpFeedback'},
{text: `${this.$t('components.aboutUs')}`, englishText:'aboutUs',value: ">", imgUrl: '/static/image/center/13.svg'},
]
}
},


+ 1
- 1
pages/index/clearanceService.vue View File

@ -17,7 +17,7 @@
</view>
<view class="ljsq">
<span @click="applyClearanceService" class="text">
立即申请&nbsp;&nbsp;>>
{{ $t('components.applyNow') }}&nbsp;&nbsp;>>
</span>
</view>
</view>


+ 9
- 7
pages/index/index.vue View File

@ -24,9 +24,9 @@
<!-- 第一个-->
<view class="oneItem">
<view class="left">
<span>Company Profile</span>
<!--<span>Company Profile</span>-->
<span> {{ $t('pages.index.index.companyProfile') }}</span>
<span class="subText"> {{ $t('pages.index.index.aluminiumProduct') }}</span>
<span class="subText"> {{ $t('other.aluminumProducts') }}</span>
</view>
<view class="right">
随着全球经济的快速发展我们这家领先的企业公司应运而生致力于为客户提供卓越的服务和优质的产品我们公司成立于2001年总部位于深圳市横岗大厦拥有广泛的业务领域和专业的团队专注于实现客户的期望和需求
@ -50,7 +50,7 @@
随着全球经济的快速发展我们这家领先的企业公司应运而生致力于为客户提供卓越的服务和优质的产品我们公司成立于2001年总部位于深圳市横岗大厦拥有广泛的业务领域和专业的团队专注于实现客户的期望和需求
</view>
<view class="left">
<span>Company Profile</span>
<!--<span>Company Profile</span>-->
<span> {{ $t('pages.index.index.companyProfile') }}</span>
<span class="subText"> {{ $t('pages.index.index.aluminiumProduct') }}</span>
</view>
@ -60,10 +60,10 @@
<!--报价和挂单-->
<view class="btns">
<span @click="goToPage(0)" class="oneBtn">
供应商报价
{{ $t('other.supplierQuotation') }}
</span>
<span @click="goToPage(1)" class="twoBtn">
供应商提单
{{ $t('other.supplierBilLading') }}
</span>
</view>
</view>
@ -212,6 +212,7 @@ export default {
font-size: 26rpx;
.subText {
width: 80%;
background-color: #2e394d;
padding: 0 20rpx;
}
@ -268,6 +269,7 @@ export default {
.subText {
background-color: #2e394d;
width: 80%;
padding: 0 20rpx;
}
}
@ -294,7 +296,7 @@ export default {
display: flex;
align-items: center;
justify-content: center;
width: 30%;
width: 40%;
height: 70rpx;
border-radius: 40rpx;
color: #1F1C39;
@ -310,7 +312,7 @@ export default {
display: flex;
align-items: center;
justify-content: center;
width: 30%;
width: 40%;
height: 70rpx;
border-radius: 40rpx;
color: #1F1C39;


+ 3
- 3
pages/index/tradingPlatform.vue View File

@ -16,7 +16,7 @@
<view class="supplier" v-if="userShop">
<view style="" class="purchaser-title">
<span class="active">挂单列表</span>
<span class="active"> {{ $t('other.orderList') }}</span>
</view>
<view class="supplierList">
@ -27,8 +27,8 @@
<!-- 采购商 -->
<view class="purchaser" v-else>
<view style="" class="purchaser-title">
<span @click="actionIndexChange(0)" :class="actionIndex==0?'active':'noactive'">现货交易</span>
<span @click="actionIndexChange(1)" :class="actionIndex==1?'active':'noactive'">期货交易</span>
<span @click="actionIndexChange(0)" :class="actionIndex==0?'active':'noactive'">{{ $t('other.spotTrading') }}</span>
<span @click="actionIndexChange(1)" :class="actionIndex==1?'active':'noactive'">{{ $t('other.futuresTrading') }}</span>
</view>
<view class="productList">


+ 33
- 34
pages_order/auth/registerShop.vue View File

@ -8,57 +8,51 @@
<view class="basicInfo">
<view class="item">
<view>用户名</view>
<view>{{ $t('components.username')}}</view>
<view>
<input v-model="form.name" placeholder="请输入用户名称" clearable></input>
<input v-model="form.name" :placeholder="$t('components.enterUserName')" clearable></input>
</view>
</view>
<view class="item">
<view>密码</view>
<view>{{ $t('components.password')}}</view>
<view>
<input v-model="form.userName" password clearable placeholder="请输入您的密码" clearable></input>
<input v-model="form.userName" password clearable :placeholder="$t('components.enterYourPassword')" clearable></input>
</view>
</view>
<view class="item">
<view>公司名称</view>
<view>{{ $t('other.companyName')}}</view>
<view>
<input v-model="form.phone" type="number" placeholder="请输入公司名称" clearable></input>
<input v-model="form.phone" type="number" :placeholder="$t('other.enterCompanyName')" clearable></input>
</view>
</view>
<view class="item">
<view>税收编码</view>
<view>{{ $t('other.taxCode')}}</view>
<view>
<input v-model="form.address" placeholder="请输入税收编码" clearable></input>
<input v-model="form.address" :placeholder="$t('other.enterTaxCode')" clearable></input>
</view>
</view>
<view class="item">
<view>公司地址</view>
<view>{{ $t('other.companyAddress')}}</view>
<view>
<input v-model="form.address" placeholder="请输入开户行名称" clearable></input>
<input v-model="form.address" :placeholder="$t('other.enterCompanyAddress')" clearable></input>
</view>
</view>
<view class="item">
<view>联系电话</view>
<view>{{ $t('components.lxPhone')}}</view>
<view>
<input v-model="form.address" placeholder="请输入联系电话" clearable></input>
<input v-model="form.address" :placeholder="$t('components.plePhoneNumber')" clearable></input>
</view>
</view>
<view class="item">
<view>公司账户</view>
<view>{{ $t('other.companyAccount')}}</view>
<view>
<input v-model="form.address" placeholder="请输入公司账户" clearable></input>
<input v-model="form.address" :placeholder="$t('other.enterCompanyAccount')" clearable></input>
</view>
</view>
<view class="item">
<view>开户行</view>
<view>{{ $t('components.bankName')}}</view>
<view>
<input v-model="form.address" placeholder="请输入开户行名称" clearable></input>
</view>
</view>
<view class="item">
<view>税收编码</view>
<view>
<input v-model="form.address" placeholder="详细地址" clearable></input>
<input v-model="form.address" :placeholder="$t('components.enterBankName')" clearable></input>
</view>
</view>
</view>
@ -69,9 +63,9 @@
<!--营业执照-->
<view class="certificateInfoItem">
<view class="title">
<span
style="width: 10rpx;height: 40rpx;background-color: #f78142;border-radius: 10rpx;overflow: hidden;"></span>
<span>营业执照</span>
<span
style="width: 10rpx;height: 40rpx;background-color: #f78142;border-radius: 10rpx;overflow: hidden;"></span>
<span>{{ $t('components.businessLicense')}}</span>
</view>
<view class="upload">
<uv-upload
@ -91,7 +85,7 @@
<view class="title">
<span
style="width: 10rpx;height: 40rpx;background-color: #f78142;border-radius: 10rpx;overflow: hidden;"></span>
<span>基本户信息</span>
<span>{{ $t('components.basicAccountInfo')}}</span>
</view>
<view class="upload">
<uv-upload
@ -110,7 +104,7 @@
<view class="title">
<span
style="width: 10rpx;height: 40rpx;background-color: #f78142;border-radius: 10rpx;overflow: hidden;"></span>
<span>收款银行</span>
<span>{{ $t('components.receivingBank')}}</span>
</view>
<view class="upload">
<uv-upload
@ -131,18 +125,18 @@
<view class="bottom">
<view class="btns">
<span @click="applyReview" class="sqsh">
申请审核
{{ $t('components.submitReview') }}
</span>
<span @click="contactUs" class="lxwm">
联系我们
{{ $t('components.contactUs') }}
</span>
</view>
<view class="others">
<span @click="applyReview" class="zcxz">
注册须知
{{ $t('components.registrationNotice') }}
</span>
<span @click="contactUs" class="kjhtyl">
框架合同预览
{{ $t('other.frameworkContractPreview') }}
</span>
</view>
</view>
@ -150,6 +144,7 @@
</view>
</template>
<script>
export default {
onLoad(option) {
@ -158,7 +153,11 @@ export default {
data() {
return {
titleIndex: 0,
titleList: ['采购商注册', '供应商注册','国内清关申请'],
titleList: [
this.$t('other.buyerRegistration'),
this.$t('other.supplierRegistration'),
this.$t('other.domesticCustomsClearanceApplication')
],
form: {
userName: '',
name: '',
@ -314,7 +313,7 @@ export default {
display: flex;
align-items: center;
justify-content: center;
width: 30%;
width: 40%;
height: 70rpx;
border-radius: 40rpx;
color: white;
@ -329,7 +328,7 @@ export default {
display: flex;
align-items: center;
justify-content: center;
width: 30%;
width: 40%;
height: 70rpx;
border-radius: 40rpx;
color: #000000;


+ 4
- 4
pages_order/auth/selectionIdentity.vue View File

@ -1,22 +1,22 @@
<template>
<view>
<navbar title="选择身份" leftClick @leftClick="$utils.navigateBack" />
<navbar :title="$t('pageTitle.selectIdentity')" leftClick @leftClick="$utils.navigateBack"/>
<view class="container">
<view class="title">请选择你的身份</view>
<view class="title">{{ $t('components.selectIdentity') }}</view>
<view class="button-group">
<!--供应商-->
<view class="identity-button" @click="selectIdentity(0)">
<view class="identity-text">我是采购商</view>
<view class="identity-text"> {{ $t('other.iAmBuyer') }}</view>
<view class="identity-icon">
<img src="../../static/image/index/5.png" style="width: 100%; height: 100%;">
</view>
</view>
<!--采购-->
<view class="identity-button" @click="selectIdentity(1)">
<view class="identity-text">我是供应商</view>
<view class="identity-text"> {{ $t('other.iAmSupplier') }}</view>
<view class="identity-icon">
<img src="../../static/image/index/6.png" style="width: 100%; height: 100%;">
</view>


+ 9
- 9
pages_order/auth/wxLogin.vue View File

@ -4,7 +4,7 @@
<!-- <image src="/static/image/login/logo.png" mode=""></image> -->
</view>
<view class="title">
欢迎使用酒店桌布租赁平台
{{ $t('pageTitle.welcomeToAluminumTradingPlatform') }}
</view>
<view class="btn mt"
@click="wxLogin">
@ -12,7 +12,7 @@
<image src="../static/auth/wx.png" mode=""></image>
</view>
<view class="">
微信授权登录
{{ $t('pageTitle.wechatAuthorizedLogin') }}
</view>
</view>
<!-- <view class="btn b2">
@ -35,10 +35,10 @@
activeColor="#FD5100"
:name="1"
></uv-checkbox>
阅读并同意我们的<text @click="openConfigDetail('getPrivacyPolicy')">服务协议与隐私条款</text>
{{ $t('components.agreeToReadAndAgree') }} <text @click="openConfigDetail('getPrivacyPolicy')"> {{ $t('components.serviceAgreementAndPrivacyTerms') }}</text>
</view>
<view class="">
以及<text @click="openConfigDetail('getUserAgreement')">个人信息保护指引</text>
{{ $t('components.and') }} <text @click="openConfigDetail('getUserAgreement')"> {{ $t('components.personalInfoProtectionGuideline') }}</text>
</view>
</view>
</uv-checkbox-group>
@ -62,11 +62,11 @@
wxLogin(){
if(!this.checkboxValue.length){
return uni.showToast({
title: '请先同意隐私协议',
icon:'none'
})
}
return uni.showToast({
title: this.$t('components.agreeToPrivacyAgreement'),
icon: 'none'
});
}
this.$store.commit('login')
},


+ 119
- 118
pages_order/auth/wxUserInfo.vue View File

@ -1,133 +1,134 @@
<template>
<view class="login">
<view class="title">
酒店桌布租赁平台
</view>
<view class="title">
申请获取你的头像昵称
</view>
<view class="login">
<view class="title">
{{ $t('pageTitle.aluminumTradingPlatform') }}
</view>
<view class="title">
{{ $t('components.applyForAvatarNickname') }}
</view>
<button class="chooseAvatar" open-type="chooseAvatar" @chooseavatar="onChooseAvatar">
<view class="line">
<view class="">
头像
</view>
<view class="">
<image :src="userInfo.headImage" v-if="userInfo.headImage" style="width: 60rpx;height: 60rpx;"
mode=""></image>
<button class="chooseAvatar" open-type="chooseAvatar" @chooseavatar="onChooseAvatar">
<view class="line">
<view class="">
{{ $t('components.avatar') }}
</view>
<view class="">
<image :src="userInfo.headImage" v-if="userInfo.headImage" style="width: 60rpx;height: 60rpx;"
mode=""></image>
<image src="../static/auth/headImage.png" v-else style="width: 50rpx;height: 50rpx;" mode=""></image>
</view>
</view>
</button>
<view class="line">
<view class="">
昵称
</view>
<view class="">
<input type="nickname" placeholder="请输入昵称" style="text-align: right;" id="nickName"
v-model="userInfo.nickName" />
</view>
</view>
<view class="btn" @click="submit">
确认
</view>
</view>
<image src="../static/auth/headImage.png" v-else style="width: 50rpx;height: 50rpx;" mode=""></image>
</view>
</view>
</button>
<view class="line">
<view class="">
{{ $t('components.nickname') }}
</view>
<view class="">
<input type="nickname" :placeholder=" $t('components.enterNickname')" style="text-align: right;" id="nickName"
v-model="userInfo.nickName"/>
</view>
</view>
<view class="btn" @click="submit">
{{ $t('components.confirmR') }}
</view>
</view>
</template>
<script>
export default {
data() {
return {
userInfo: {
headImage: '',
nickName: '',
}
};
},
onShow() {},
computed: {},
methods: {
onChooseAvatar(res) {
let self = this
self.$Oss.ossUpload(res.target.avatarUrl)
.then(url => {
self.userInfo.headImage = url
})
},
submit() {
let self = this
export default {
data() {
return {
userInfo: {
headImage: '',
nickName: '',
}
};
},
onShow() {
},
computed: {},
methods: {
onChooseAvatar(res) {
let self = this
self.$Oss.ossUpload(res.target.avatarUrl)
.then(url => {
self.userInfo.headImage = url
})
},
submit() {
let self = this
uni.createSelectorQuery().in(this)
.select("#nickName")
.fields({
properties: ["value"],
})
.exec((res) => {
const nickName = res?.[0]?.value
self.userInfo.nickName = nickName
if (self.$utils.verificationAll(self.userInfo, {
headImage: '请选择头像',
nickName: '请填写昵称',
})) {
return
}
self.$api('infoUpdateInfo', self.userInfo, res => {
if (res.code == 200) {
uni.switchTab({
url:'/pages/index/index'
})
}
})
})
},
}
}
uni.createSelectorQuery().in(this)
.select("#nickName")
.fields({
properties: ["value"],
})
.exec((res) => {
const nickName = res?.[0]?.value
self.userInfo.nickName = nickName
if (self.$utils.verificationAll(self.userInfo, {
headImage: '请选择头像',
nickName: '请填写昵称',
})) {
return
}
self.$api('infoUpdateInfo', self.userInfo, res => {
if (res.code == 200) {
uni.switchTab({
url: '/pages/index/index'
})
}
})
})
},
}
}
</script>
<style lang="scss" scoped>
.login {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 80vh;
.login {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 80vh;
.title {
line-height: 45rpx;
font-weight: 900;
}
.title {
line-height: 45rpx;
font-weight: 900;
}
.line {
display: flex;
justify-content: space-between;
align-items: center;
width: 80%;
border-bottom: 1px solid #00000023;
padding: 30rpx 0;
margin: 0 auto;
}
.line {
display: flex;
justify-content: space-between;
align-items: center;
width: 80%;
border-bottom: 1px solid #00000023;
padding: 30rpx 0;
margin: 0 auto;
}
.chooseAvatar {
width: 100%;
padding: 0;
margin: 0;
margin-top: 10vh;
border: none;
}
.chooseAvatar {
width: 100%;
padding: 0;
margin: 0;
margin-top: 10vh;
border: none;
}
.btn {
// background: $uni-linear-gradient-btn-color;
background: $uni-color;
color: #fff;
width: 80%;
padding: 20rpx 0;
text-align: center;
border-radius: 15rpx;
margin-top: 10vh;
}
}
.btn {
// background: $uni-linear-gradient-btn-color;
background: $uni-color;
color: #fff;
width: 80%;
padding: 20rpx 0;
text-align: center;
border-radius: 15rpx;
margin-top: 10vh;
}
}
</style>

+ 10
- 10
pages_order/center/helpFeedback.vue View File

@ -1,20 +1,20 @@
<template>
<view class="page">
<navbar title="帮助与反馈" leftClick @leftClick="$utils.navigateBack"/>
<navbar :title="$t('pageTitle.helpFeedback')" leftClick @leftClick="$utils.navigateBack"/>
<view class="frame">
<!--帮助与反馈-->
<view class="helpFeedback">
<view class="title">帮助与反馈 <span style="color: red;">*</span></view>
<view class="title"> {{ $t('components.helpAndFeedback') }} <span style="color: red;">*</span></view>
<view class="desc">
<textarea placeholder="请把您需要的帮助或者您发现的问题提交给我们,感谢您的参与(必填)"/>
<textarea :placeholder="$t('components.pleaseSubmit')"/>
</view>
</view>
<!--问题截图-->
<view class="problemImg">
<view class="title">问题截图 <span style="color: red;">*</span></view>
<view class="title">{{ $t('components.screenshot') }} <span style="color: red;">*</span></view>
<view class="img">
<uv-upload
:fileList="fileList"
@ -31,18 +31,18 @@
<!--联系方式-->
<view class="name_phone">
<view class="title">联系方式 <span style="color: red;">*</span></view>
<view class="title">{{ $t('components.contactInfo') }} <span style="color: red;">*</span></view>
<view class="items">
<view class="item">
<view>联系姓名</view>
<view>{{ $t('components.contactName') }}</view>
<view>
<input placeholder="请输入联系姓名" clearable></input>
<input :placeholder="$t('components.enterContactName')" clearable></input>
</view>
</view>
<view class="item">
<view>联系电话</view>
<view>{{ $t('components.lxPhone') }}</view>
<view>
<input placeholder="请输入联系电话" clearable></input>
<input :placeholder="$t('components.plePhoneNumber')" clearable></input>
</view>
</view>
</view>
@ -51,7 +51,7 @@
<!--提交反馈-->
<view class="btns">
<view @click="submitFeedback" class="btn">
提交反馈
{{ $t('components.submitFeedback') }}
</view>
</view>
</view>


+ 31
- 14
pages_order/center/systemSet.vue View File

@ -1,12 +1,12 @@
<template>
<view class="page">
<navbar title="系统设置" leftClick @leftClick="$utils.navigateBack"/>
<navbar :title="$t('pageTitle.systemSettings')" leftClick @leftClick="$utils.navigateBack"/>
<view class="frame">
<view class="content" v-for="(item, index) in list" :key="index">
<view class="title">{{ item.title }}</view>
<view class="item" v-for="(item2, index) in item.itemList" :key="index" @click="tapItem(item, index)">
<view class="item" v-for="(item2, index) in item.itemList" :key="index" @click="tapItem(item2, index)">
<view class="key">
<view class="img">
<img :src="item2.leftIcon" style="width: 100%; height: 100%;"/>
@ -22,43 +22,60 @@
</view>
</view>
<!-- 语言切换 -->
<!--<view style="padding: 20rpx;"-->
<!-- @click="$refs.changeLanguage.open()">-->
<!-- {{ $t('pages.index.index.language') }}-->
<!--</view>-->
<changeLanguage ref="changeLanguage"/>
</view>
</template>
<script>
import topbar from "@/components/base/topbar.vue";
import tabber from "@/components/base/tabbar.vue";
import ChangeLanguage from "@/components/base/changeLanguage.vue";
export default {
name: "systemSet",
components: {tabber, topbar},
components: {ChangeLanguage, tabber, topbar},
data() {
return {
list: [
{
title: "账号设置",
title: `${this.$t('pageTitle.accountSetting')}`,
itemList: [
{leftIcon: "../static/center/1.svg", text: "切换账号", rightIcon: ">"},
{leftIcon: "../static/center/2.svg", text: "修改密码", rightIcon: ">"},
// text: `${this.$t('pageTitle.switchAccount')}`
{leftIcon: "../static/center/1.svg", text: `${this.$t('pageTitle.switchAccount')}`, rightIcon: ">"},
{leftIcon: "../static/center/2.svg", text: `${this.$t('pageTitle.forgotPasswordPage')}`, rightIcon: ">"},
{leftIcon: "../static/center/2.svg", text: this.$t('pageTitle.logout'), rightIcon: ">"},
]
},
{
title: "系统设置",
title: `${this.$t('pageTitle.systemSetting')}`,
itemList: [
{leftIcon: "../static/center/2.svg", text: "清理缓存", rightIcon: ">"},
{leftIcon: "https://img95.699pic.com/photo/50058/1378.jpg_wh860.jpg", text: "版本更新", rightIcon: ">"},
{leftIcon: "https://img95.699pic.com/photo/50058/1378.jpg_wh860.jpg", text: "退出登录", rightIcon: ">"},
{leftIcon: "../static/center/1.svg", text: `${this.$t('pageTitle.languageSwitch')}`, rightIcon: ">"},
{leftIcon: "../static/center/2.svg", text: `${this.$t('pageTitle.versionUpdate')}`, rightIcon: ">"},
{leftIcon: "../static/center/2.svg", text: this.$t('pageTitle.clearCache'), rightIcon: ">"},
]
},
{
title: "身份设置",
title: `${this.$t('pageTitle.identitySetting')}`,
itemList: [
{leftIcon: "../static/center/4.svg", text: "切换身份", rightIcon: ">"},
{leftIcon: "../static/center/2.svg", text: this.$t('pageTitle.switchIdentity'), rightIcon: ">"},
]
}
]
],
}
},
methods: {
tapItem(item, index) {
if (item.text === this.$t('pageTitle.languageSwitch')) {
this.$refs.changeLanguage.open();
}
}
},
methods: {},
}
</script>


+ 8
- 8
pages_order/components/order/orderList.vue View File

@ -3,10 +3,10 @@
<view class="item" v-for="(item, index) in 10" :key="index">
<view class="top">
<view class="service">
<text>铝制品</text>
<text>{{ $t('other.aluminumProducts') }}</text>
</view>
<view class="status">
<text>审核通过</text>
<text> {{ $t('components.auditPassed') }}</text>
</view>
</view>
@ -18,16 +18,16 @@
<view class="right" @click="lookDetail(item,index)">
<view class="text-hidden-1">
客户姓名张三 18888888888
{{ $t('components.customerName') }} 张三 18888888888
</view>
<view class="text-hidden-1">
商品规格铝锭Al>96%
{{ $t('components.productSpe') }}铝锭Al>96%
</view>
<view class="text-hidden-1">
提货地址北京市海淀区西二旗北路10号
{{ $t('other.pickupAddress') }}北京市海淀区西二旗北路10号
</view>
<view class="text-hidden-1">
提货日期2021-08-01
{{ $t('other.aluminumProducts') }}2021-08-01
</view>
</view>
@ -39,7 +39,7 @@
<view class="bottom" v-if="showBackOrder">
<view @click="backOrder" class="btn">
我要撤单
{{ $t('other.withdrawOrder') }}
</view>
</view>
</view>
@ -151,7 +151,7 @@ export default {
display: flex;
align-items: center;
justify-content: center;
width: 25%;
width: 40%;
height: 50rpx;
border-radius: 40rpx;
color: #afafaf;


+ 1
- 1
pages_order/mine/help.vue View File

@ -1,7 +1,7 @@
<template>
<!-- 帮助与反馈 -->
<view class="help">
<navbar title="帮助与反馈" leftClick @leftClick="$utils.navigateBack" />
<navbar title="帮助与反馈" leftClick @leftClick="$utils.navigateBack" />
<view class="help-box">
<view>
<view class="help-issue">


+ 19
- 19
pages_order/order/backOrder.vue View File

@ -1,7 +1,7 @@
<template>
<view class="page">
<navbar title="我要撤单" leftClick @leftClick="$utils.navigateBack"/>
<navbar :title="$t('pageTitle.cancelOrder')" leftClick @leftClick="$utils.navigateBack" />
<view class="frame">
@ -10,39 +10,40 @@
<!--供应商名称-->
<view class="item">
<view>供应商名称</view>
<view>{{ $t('other.supplierName') }}</view>
<view>
<!--<input disabled v-model="form.a" placeholder="" clearable></input>-->
{{form.a}}
<!-- <input disabled v-model="form.a" placeholder="" clearable></input> -->
{{ form.a }}
</view>
</view>
<!--商品规格-->
<view class="item">
<view>商品规格</view>
<view>{{ $t('components.productSpecification') }}</view>
<view>
{{form.b}}
{{ form.b }}
</view>
</view>
<!--提货地点-->
<view class="item">
<view>提货地点</view>
<view>{{ $t('components.pickupLocation') }}</view>
<view>
{{form.c}}
{{ form.c }}
</view>
</view>
<!--交货时间-->
<view class="item">
<view>交货时间</view>
<view>{{ $t('other.deliveryTime') }}</view>
<view>
{{form.d}}
{{ form.d }}
</view>
</view>
<!--暂定数量-->
<view class="tentativeQuantity">
<view class="key">暂定数量()</view>
<view class="key">{{ $t('other.tentativeQuantity') }}</view>
<view class="value">
<uv-number-box v-model="form.tentativeQuantity"></uv-number-box>
</view>
@ -50,28 +51,27 @@
<!--单价-->
<view class="item">
<view>单价</view>
<view>{{ $t('components.unitPrice') }}</view>
<view>
<input v-model="form.price" disabled clearable></input>
</view>
</view>
<view class="tip">
提示:提交我要撤单审核通过后之后不可轻易取消
{{ $t('components.withdrawRequestNotice') }}
</view>
</view>
<!--立即下单和联系我们-->
<view class="btns">
<span @click="reviewSubmit" class="ontBtn">
提交审核
</span>
<span @click="reviewSubmit" class="ontBtn">
{{ $t('components.submitReview') }}
</span>
<span @click="contactUs" class="twoBtn">
联系我们
</span>
{{ $t('components.contactUs') }}
</span>
</view>
</view>


+ 27
- 44
pages_order/order/offerOrBillLading.vue View File

@ -5,59 +5,52 @@
<view class="frame">
<view class="title">
<span
style="width: 10rpx;height: 40rpx;background-color: #1f1c39;border-radius: 10rpx;overflow: hidden;"></span>
<span>铝制品</span>
<span
style="width: 10rpx;height: 40rpx;background-color: #1f1c39;border-radius: 10rpx;overflow: hidden;"></span>
<span>{{ $t('other.aluminumProducts') }}</span>
</view>
<view class="basic-info">
<!--供应商名称-->
<view class="item" v-if="titleIndex == 1">
<view>供应商名称</view>
<view>
华南铝业有限公司
</view>
<view>{{ $t('other.supplierName') }}</view>
<view>华南铝业有限公司</view>
</view>
<!--商品规格-->
<view class="item">
<view>商品规格</view>
<view>
铝制品(Al>96%)
</view>
<view>{{ $t('components.productSpe') }}</view>
<view>铝制品(Al>96%)</view>
</view>
<!--<uv-divider text="" :hairline="true"></uv-divider>-->
<!--提货地点-->
<view class="currentRegion">
<view>提货地点</view>
<view>{{ $t('components.pickupLocation') }}</view>
<view @click.stop="selectAddr">
<input class="input"
disabled
v-model="form.currentRegion" placeholder="请选择所在地区"></input>
v-model="form.currentRegion"
:placeholder=" $t('components.selectRegion')">
</input>
<view class="orientation">
<!-- 定位 -->
<img src="../../static/image/address/selectIcon.png"
style="width:30rpx;height: 30rpx;margin:5rpx 5rpx 5rpx 5rpx;">
</view>
</view>
</view>
<!--详细地址-->
<view class="item">
<view>详细地址</view>
<view>{{ $t('components.detailedAddress') }}</view>
<view>
<input v-model="form.address" placeholder="请输入详细地址" clearable></input>
<input v-model="form.address" :placeholder="$t('components.enterDetailedAddress') " clearable></input>
</view>
</view>
<!--交货日期-->
<view class="delivery-date">
<view>交货日期</view>
<view>{{ $t('components.deliveryDate') }}</view>
<view class="value">
<view class="dateTimeCls">
<view class="date" @click="startDateOpen">
@ -67,7 +60,6 @@
</view>
<view class="img">
>
</view>
</view>
</view>
@ -75,44 +67,31 @@
<!--暂定数量-->
<view class="tentativeQuantity">
<view class="key">暂定数量()</view>
<view class="key">{{ $t('other.tentativeQuantity') }}</view>
<view class="value">
<uv-number-box></uv-number-box>
<uv-number-box v-model="form.tentativeQuantity"></uv-number-box>
</view>
</view>
<!--单价-->
<view class="item">
<view>单价</view>
<view>{{ $t('components.unitPrice') }}</view>
<view>
<input disabled clearable placeholder="默认为铝品单价"></input>
<input disabled clearable ></input>
</view>
</view>
<!--&lt;!&ndash;履约保证金&ndash;&gt;-->
<!--<view class="performanceBond">-->
<!-- <view class="key">履约保证金</view>-->
<!-- <view class="value">-->
<!-- <input v-model="form.performanceBond" clearable></input>-->
<!-- </view>-->
<!--</view>-->
<!--<view class="Tip">-->
<!-- <span class="span">(单价*数量*2%)</span>-->
<!--</view>-->
<!--提交报价和提交审核-->
<view class="btns">
<span @click="confirmBtn" class="ljxd">
{{titleIndex == 0? '提交报价' : '提交审核'}}
{{ titleIndex == 0 ? $t('other.submitQuotation') : $t('other.submitReview') }}
</span>
<span @click="contactUs" class="lxwm">
联系我们
{{ $t('components.contactUs') }}
</span>
<span class="tip">如有问题请联系我们</span>
<span class="tip">{{ $t('components.contactTip') }}</span>
</view>
</view>
</view>
@ -121,6 +100,7 @@
</view>
</template>
<script>
import topbar from "@/components/base/topbar.vue";
import tabber from "@/components/base/tabbar.vue";
@ -137,7 +117,10 @@ export default {
data() {
return {
titleIndex:0,
titleList:['供应商报价','供应商挂单'],
titleList: [
this.$t('pages.index.index.supplierQuotation'),
this.$t('pages.index.index.supplierBillLading')
],
form: {
address: "",
longitude: "",
@ -213,7 +196,7 @@ export default {
.basic-info {
display: flex;
flex-direction: column;
gap: 5rpx;
gap: 10rpx;
//margin-top: 20rpx;
padding: 20rpx 20rpx 20rpx 20rpx;


+ 17
- 14
pages_order/order/orderDetail2.vue View File

@ -1,7 +1,7 @@
<template>
<view class="page">
<navbar title="挂单详情" leftClick @leftClick="$utils.navigateBack"/>
<navbar :title="$t('pageTitle.orderDetails')" leftClick @leftClick="$utils.navigateBack"/>
<view class="info">
<view class="flex">
@ -15,16 +15,16 @@
<view class="server-info">
<view class="server-title">
铝制品
{{ $t('components.aluminumProducts') }}
</view>
<view class="current-price">
<text class="unit">产品规格</text>
<text class="unit">{{ $t('components.productSpecification') }}</text>
<text class="text">铝锭al>96%</text>
</view>
<view class="sales-volume" style="margin-top: 5px;">
<view class="desc">提货日期2021-08-10</view>
<view class="desc"> {{ $t('components.pickupDate') }}2021-08-10</view>
</view>
</view>
</view>
@ -33,7 +33,7 @@
<view class="line address">
<view class="address-top">
<view class="">
收货地址
{{ $t('components.shippingAddress') }}
</view>
<view class="copy">
<img style="width:40rpx;height:40rpx;"
@ -53,12 +53,12 @@
<view class="line">
<view class="t min_tips">
<view class="">
订单信息
{{ $t('components.orderInfo') }}
</view>
</view>
<view class="min_tips">
<view class="">
订单编号
{{ $t('components.orderNumber') }}
</view>
<view class="">
SF20210810001
@ -66,7 +66,7 @@
</view>
<view class="min_tips">
<view class="">
下单时间
{{ $t('components.orderTime') }}
</view>
<view class="">
2021-08-10 10:00:00
@ -79,7 +79,7 @@
<view class="line">
<view class="t min_tips">
<view class="">
下单须知
{{ $t('components.orderNotice') }}
</view>
</view>
<view class="xdxz" style="line-height: 40rpx;">
@ -90,13 +90,13 @@
</view>
</view>
<!--按钮-->
<!--我要撤单和联系客服-->
<view class="btns">
<view @click="backOrder" class="oneBtn">
我要撤单
{{ $t('other.withdrawOrder') }}
</view>
<view @click="$refs.customerServicePopup.open()" class="twoBtn">
联系客服
{{ $t('components.contactCustomerService') }}
</view>
</view>
@ -291,8 +291,10 @@ export default {
display: flex;
align-items: center;
justify-content: center;
width: 30%;
width: 40%;
height: 70rpx;
padding: 10rpx;
border-radius: 40rpx;
color: white;
font-size: 28rpx;
@ -306,8 +308,9 @@ export default {
display: flex;
align-items: center;
justify-content: center;
width: 30%;
width: 40%;
height: 70rpx;
padding: 10rpx;
border-radius: 40rpx;
color: #000000;
font-size: 28rpx;


+ 1
- 1
pages_order/order/pendingOrder.vue View File

@ -1,7 +1,7 @@
<template>
<view class="page">
<navbar title="我的挂单" leftClick @leftClick="$utils.navigateBack"/>
<navbar :title="$t('pageTitle.myOrders')" leftClick @leftClick="$utils.navigateBack"/>
<view class="frame">


+ 12
- 12
pages_order/tradingPlatform/confirmOrder.vue View File

@ -1,11 +1,11 @@
<template>
<view class="confirmOrder">
<navbar title="确定下单" leftClick @leftClick="$utils.navigateBack"/>
<navbar :title="$t('pageTitle.confirmOrder')" leftClick @leftClick="$utils.navigateBack"/>
<view class="frame">
<view class="title">
支付保证金
{{ $t('other.payDeposit') }}
</view>
<!--填写信息-->
@ -13,43 +13,43 @@
<!--开户名称-->
<view class="item">
<view>开户名称</view>
<view> {{ $t('components.accountName') }}</view>
<view>
<input v-model="form.a" placeholder="请输入开户名称" clearable></input>
<input v-model="form.a" :placeholder="$t('components.enterAccountName')" clearable></input>
</view>
</view>
<!--开户行-->
<view class="item">
<view>开户行</view>
<view> {{ $t('components.bankName') }}</view>
<view>
<input v-model="form.b" placeholder="请输入开开户行" clearable></input>
<input v-model="form.b" :placeholder="$t('components.enterOpeningBank')" clearable></input>
</view>
</view>
<!--银行账号-->
<view class="item">
<view>银行账号</view>
<view> {{ $t('components.bankAccount') }}</view>
<view>
<input v-model="form.c" placeholder="请输入银行账号" clearable></input>
<input v-model="form.c" :placeholder="$t('components.enterBankAccount')" clearable></input>
</view>
</view>
<view class="tip">
提示:请于下单成功后30分钟内支付(自动倒计时)
{{ $t('components.paymentNotice') }}
</view>
</view>
<!--立即下单和联系我们-->
<!--和联系我们-->
<view class="btns">
<span @click="confirmOrder" class="qrdd">
确认下单
{{ $t('components.confirmOrder') }}
</span>
<span @click="closeOrder" class="qxdd">
取消订单
{{ $t('components.cancelOrder') }}
</span>
</view>


+ 13
- 13
pages_order/tradingPlatform/nowOrder.vue View File

@ -1,18 +1,18 @@
<template>
<view class="now-order">
<navbar title="" leftClick @leftClick="$utils.navigateBack"/>
<navbar :title="$t('pageTitle.immediateOrder')" leftClick @leftClick="$utils.navigateBack"/>
<view class="frame">
<view class="title">
<span
style="width: 10rpx;height: 40rpx;background-color: #1f1c39;border-radius: 10rpx;overflow: hidden;"></span>
<span>铝制品</span>
<span>{{ $t('other.aluminumProducts') }}</span>
</view>
<view class="basic-info">
<!--商品规格-->
<view class="item">
<view>商品规格</view>
<view>{{ $t('components.productSpe') }}</view>
<view>
铝制品(Al>96%)
</view>
@ -22,7 +22,7 @@
<!--提货地点-->
<view class="currentRegion">
<view>提货地点</view>
<view>{{ $t('components.pickupLocation') }}</view>
<view @click.stop="selectAddr">
<input class="input"
disabled
@ -38,7 +38,7 @@
<!--详细地址-->
<view class="item">
<view>详细地址</view>
<view>{{ $t('components.detailedAddress') }}</view>
<view>
<input v-model="form.address" placeholder="请输入详细地址" clearable></input>
</view>
@ -46,7 +46,7 @@
<!--交货日期-->
<view class="delivery-date">
<view>交货日期</view>
<view>{{ $t('components.deliveryDate') }}</view>
<view class="value">
<view class="dateTimeCls">
<view class="date" @click="startDateOpen">
@ -65,7 +65,7 @@
<!--暂定数量-->
<view class="tentativeQuantity">
<view class="key">暂定数量()</view>
<view class="key">{{ $t('other.tentativeQuantity') }}</view>
<view class="value">
<uv-number-box v-model="form.tentativeQuantity"></uv-number-box>
</view>
@ -73,7 +73,7 @@
<!--单价-->
<view class="item">
<view>单价</view>
<view>{{ $t('components.unitPrice') }}</view>
<view>
<input v-model="form.price" disabled clearable></input>
</view>
@ -81,25 +81,25 @@
<!--履约保证金-->
<view class="performanceBond">
<view class="key">履约保证金</view>
<view class="key">{{ $t('other.performanceDeposit') }}</view>
<view class="value">
<input v-model="form.performanceBond" clearable></input>
</view>
</view>
<view class="Tip">
<span class="span">(单价*数量*2%)</span>
<span class="span">{{ $t('other.priceQuantityPercentage') }}</span>
</view>
<!--立即下单和联系我们-->
<view class="btns">
<span @click="ljxd" class="ljxd">
立即下单
{{ $t('components.immediateOrder') }}
</span>
<span @click="contactUs" class="lxwm">
联系我们
{{ $t('components.contactUs') }}
</span>
<span class="tip">如有问题请联系我们</span>
<span class="tip">{{ $t('components.contactUsIfAnyProblems') }}</span>
</view>


Loading…
Cancel
Save