Browse Source

refactor: 修改为惠融钱包环境

await 3 months ago
parent
commit
ecc173b5fb

BIN
.swc/plugins/v7_macos_aarch64_0.104.8/3bc91270c341e7148ae6dcf882777fb3028cb2baa6f210123a2146464ec3a8de


+ 1 - 1
config/dev.js

@@ -6,7 +6,7 @@ module.exports = {
     ENV: '"DEVELOPMENT"',
     // "HOST": '"http://192.168.0.168:810"',
     // "HOST": '"http://loan-web-api2.internal.jiebide.xin"',
-    HOST: '"https://api.hryk.net"',
+    HOST: '"https://api.hrshuke.cn"',
     APPID: '"458"',
   },
   mini: {},

+ 1 - 1
config/prod.js

@@ -5,7 +5,7 @@ module.exports = {
   defineConstants: {
     ENV: '"PRODUCTION"',
     // HOST: '"https://api.bicredit.xin"',
-    HOST: '"https://api.hryk.net"',
+    HOST: '"https://api.hrshuke.cn"',
     // "HOST": '"http://192.168.0.168:810"',
     APPID: '"458"',
   },

+ 1 - 1
project.config.json

@@ -2,7 +2,7 @@
   "miniprogramRoot": "dist/",
   "projectname": "taro-pet",
   "description": "",
-  "appid": "wx10f95975b307551e",
+  "appid": "wxc7ed88182aa77a68",
   "setting": {
     "urlCheck": true,
     "es6": false,

+ 2 - 2
src/app.tsx

@@ -37,7 +37,7 @@ const App = (props: PropsWithChildren<IAppProps>) => {
   useDidShow((options) => {
     if (options.query.source === "app") {
       RouteUtil.toWebViewPage({
-        url: "https://mp.weixin.qq.com/s/eNf8Lxpj0LiTYpuzEzdN7Q",
+        url: "https://mp.weixin.qq.com/s/4umQqPbPGfCgXqCizeXqKA",
       });
     }
   });
@@ -59,7 +59,7 @@ const App = (props: PropsWithChildren<IAppProps>) => {
         },
       }}
     >
-      <WebView src='https://mp.weixin.qq.com/s/eNf8Lxpj0LiTYpuzEzdN7Q'></WebView>
+      <WebView src='https://mp.weixin.qq.com/s/4umQqPbPGfCgXqCizeXqKA'></WebView>
       <ReduxProvider store={ReduxUtil.store}>{props.children}</ReduxProvider>
     </AppContext.Provider>
   );

BIN
src/assets/logo.png


BIN
src/assets/new-edition/logo.png


BIN
src/assets/new-edition/wechat-official.png


+ 1 - 1
src/pages/home/index.tsx

@@ -36,7 +36,7 @@ const Home = () => {
   
   const channelResult = useRequest(() => {
     return UserApi.homeFetchChannel({
-      data: { channelCode: 'txxcx04', refer: '' },
+      data: { channelCode: 'hrqbxcx', refer: '' },
     }).toData().then(res => {
       setBottomRemark(res.bottom_remark)
     })

+ 1 - 1
src/pages/user/about/index.tsx

@@ -44,7 +44,7 @@ const About = (props: PropsWithChildren<IAboutProps>) => {
           }}
           type='secondary'
         >
-          贵州梵诚融资担保有限公司
+          安庆市银谷小额贷款有限责任公司
         </Label>
       </Flex>
     </Layout>

+ 11 - 12
src/pages/user/mine/index.scss

@@ -9,23 +9,23 @@
     display: flex;
     justify-content: flex-start;
     align-items: center;
-    .mine-login{
-      color:#181818;
+    .mine-login {
+      color: #181818;
       font-weight: 500;
       margin-bottom: 10px;
     }
-    .mine-text{
-      color:#8d97b6;
+    .mine-text {
+      color: #8d97b6;
       font-size: 24px;
     }
-    .mine-box{
+    .mine-box {
       display: flex;
       flex-direction: column;
     }
-    .avatar-image-head{
-      width:90px;
+    .avatar-image-head {
+      width: 90px;
       height: 90px;
-      margin-right:10px;
+      margin-right: 10px;
     }
   }
   .mine-apply-panel {
@@ -189,7 +189,6 @@
   }
 }
 
-
-.at-float-layout--active .at-float-layout__container{
-  border-radius: 30px 30px 0 0 ; 
-}
+.at-float-layout--active .at-float-layout__container {
+  border-radius: 30px 30px 0 0;
+}

+ 4 - 3
src/pages/user/mine/index.tsx

@@ -91,7 +91,7 @@ const Mine = (props: PropsWithChildren<IMineProps>) => {
           </Padding>
           <View className="mine-box">
             <Text className='mine-login'>{userName}</Text>
-            <Text className='mine-text'>欢迎来到诚小融~</Text>
+            <Text className='mine-text'>欢迎来到惠融钱包~</Text>
           </View>
         </View> :
           <View
@@ -106,7 +106,7 @@ const Mine = (props: PropsWithChildren<IMineProps>) => {
           </Padding>
           <View className="mine-box">
             <Text className='mine-login'>登录/注册</Text>
-            <Text className='mine-text'>欢迎来到诚小融~</Text>
+            <Text className='mine-text'>欢迎来到惠融钱包~</Text>
           </View>
         </View>
       }
@@ -237,12 +237,13 @@ const Mine = (props: PropsWithChildren<IMineProps>) => {
         </View>
       </Padding>
       <SizeBox height={20} />
+
       <Padding padding={EdgeInsets.symmetric({ horizontal: 32 })}>
         <Image
           onClick={() => {
             // https://huirong.bicredit.xin/
             RouteUtil.toWebViewPage({
-              url: "https://mp.weixin.qq.com/s/eNf8Lxpj0LiTYpuzEzdN7Q",
+              url: "https://mp.weixin.qq.com/s/4umQqPbPGfCgXqCizeXqKA",
             });
           }}
           src={require("@/assets/new-edition/wechat-official.png")}