Pārlūkot izejas kodu

✨ 调整商城名为“芋道商城”

YunaiV 1 gadu atpakaļ
vecāks
revīzija
c4ccb770fc
5 mainītis faili ar 10 papildinājumiem un 11 dzēšanām
  1. 3 3
      manifest.json
  2. 2 3
      package.json
  3. 1 1
      pages.json
  4. 1 1
      pages/pay/index.vue
  5. 3 3
      sheep/api/trade/order.js

+ 3 - 3
manifest.json

@@ -1,7 +1,7 @@
 {
-  "name": "星品",
+  "name": "芋道商城",
   "appid": "__UNI__082C0BA",
-  "description": "Shopro是由SheepJS团队开发,使用Uniapp+Vue3技术驱动的在线商城系统,内含诸多功能与丰富的活动,期待您的使用和反馈。",
+  "description": "基于 uni-app + Vue3 技术驱动的在线商城系统,内含诸多功能与丰富的活动,期待您的使用和反馈。",
   "versionName": "1.8.3",
   "versionCode": 183,
   "transformPx": false,
@@ -226,7 +226,7 @@
     "async": {
       "timeout": 20000
     },
-    "title": "星品购",
+    "title": "芋道商城",
     "optimization": {
       "treeShaking": {
         "enable": true

+ 2 - 3
package.json

@@ -1,9 +1,9 @@
 {
   "id": "shopro",
   "name": "shopro",
-  "displayName": "星品购",
+  "displayName": "芋道商城",
   "version": "1.0.1",
-  "description": "Shopro-B2C商城,一套代码,同时发行到iOS、Android、H5、微信小程序多个平台,请使用手机扫码快速体验强大功能",
+  "description": "芋道商城,一套代码,同时发行到iOS、Android、H5、微信小程序多个平台,请使用手机扫码快速体验强大功能",
   "scripts": {
     "prettier": "prettier --write  \"{pages,sheep}/**/*.{js,json,tsx,css,less,scss,vue,html,md}\""
   },
@@ -11,7 +11,6 @@
   "keywords": [
     "商城",
     "B2C",
-    "shopro",
     "商城模板"
   ],
   "author": "",

+ 1 - 1
pages.json

@@ -648,7 +648,7 @@
 	],
 	"globalStyle": {
 		"navigationBarTextStyle": "black",
-		"navigationBarTitleText": "星品购",
+		"navigationBarTitleText": "芋道商城",
 		"navigationBarBackgroundColor": "#FFFFFF",
 		"backgroundColor": "#FFFFFF",
 		"navigationStyle": "custom"

+ 1 - 1
pages/pay/index.vue

@@ -38,7 +38,7 @@
               </view>
               <view class="check-box ss-flex ss-col-center ss-p-l-10">
                 <view class="userInfo-money ss-m-r-10" v-if="item.value === 'wallet'">
-                  余额: {{ fen2yuan(userWallet.money) }}元
+                  余额: {{ fen2yuan(userWallet.balance) }}元
                 </view>
                 <radio
                   :value="item.value"

+ 3 - 3
sheep/api/trade/order.js

@@ -26,14 +26,14 @@ const OrderApi = {
       .map((key) => key + '=' + data2[key])
       .join('&');
     return request({
-      url: `trade/order/settlement?${queryString}`,
+      url: `/app-api/trade/order/settlement?${queryString}`,
       method: 'GET',
     });
   },
   // 创建订单
   createOrder: (data) => {
     return request({
-      url: `trade/order/create`,
+      url: `/app-api/trade/order/create`,
       method: 'POST',
       data,
     });
@@ -41,7 +41,7 @@ const OrderApi = {
   // 获得订单
   getOrder: (id) => {
     return request({
-      url: `trade/order/get-detail`,
+      url: `/app-api/trade/order/get-detail`,
       method: 'GET',
       params: {
         id,