lin
2026-04-28 75f31e2657de2540d303e61c6aa17c20cbf3a208
UI: 澜品优选个人信息+添加地址调整
5 files modified
63 ■■■■ changed files
main.js 7 ●●●●● patch | view | raw | blame | history
pages/addAddr/addAddr.vue 2 ●●● patch | view | raw | blame | history
pages/my/my.vue 44 ●●●● patch | view | raw | blame | history
pages/profile/profile.vue 8 ●●●● patch | view | raw | blame | history
pages/quanyi/index.vue 2 ●●● patch | view | raw | blame | history
main.js
@@ -9,12 +9,13 @@
App.mpType = 'app'
Vue.prototype.$webHost = 'https://rbb98765.zrgy-bbg.com'
// Vue.prototype.$webHost = 'https://test-skfq.zrgy-bbg.com'
Vue.prototype.$util = util
Vue.prototype.$baseUrl = 'https://lp1994.lpyx.top'
console.log('NODE_ENV',process.env.NODE_ENV)
if(process.env.NODE_ENV === 'development') {
    Vue.prototype.$webHost = 'https://test-skfq.zrgy-bbg.com'
}
// if(process.env.NODE_ENV === 'development') {
//     Vue.prototype.$webHost = 'https://test-skfq.zrgy-bbg.com'
// }
Vue.prototype.$bank = [
    '中国工商银行',
    '中国建设银行',
pages/addAddr/addAddr.vue
@@ -12,7 +12,7 @@
            <view class="addrItem">
                <text class="label">地区</text>
                <text :class="defArea == '请选择地区' ? 'area' : ''" @tap="areaToggle">{{defArea}}</text>
                <image @click="getArea" src="/static/imgs/address.png"></image>
                <!-- <image @click="getArea" src="/static/imgs/address.png"></image> -->
            </view>
            <view class="addrItem">
                <text class="label">详细地址</text>
pages/my/my.vue
@@ -28,13 +28,13 @@
                    </template> -->
                </view>
            </view>
            <!-- <view class="auth" v-if="userInfo && userInfo.over_auth != 1" @tap="$util.checkGoPages('/pages/my/my')">
                <image src="@/static/imgs/notice.png" mode=""></image>
                <text>您还未进行实名认证,点击前往实名认证</text>
                <view class="">去认证</view>
            </view> -->
            <!-- <view class="num-wrapper tui-skeleton-rect">
              <view class="num-item" style="display: flex;background: white;border-radius: 24rpx;padding: 22rpx;width: 48%;" @tap="$util.checkLogin('/pages/collect/collect')">
                <view style="padding-right: 32rpx;">
@@ -43,7 +43,7 @@
                <view style="flex: 1">
                  <view class="txt" style="color: #666;text-align:left">我的收藏</view>
                  <view class="num" style="color: #333;text-align:left;margin-top: 8rpx;">0</view>
                </view>
              </view>
              <view style="display: flex;background: white;border-radius: 24rpx;padding: 22rpx;width: 48%;" class="num-item" @tap="$util.checkLogin('/pages/address/address')">
@@ -53,12 +53,12 @@
                <view style="flex: 1">
                  <view class="txt" style="color: #666;text-align:left">我的地址</view>
                  <view class="num" style="color: #333;text-align:left;margin-top: 5rpx;">0</view>
                </view>
              </view>
            </view> -->
            <view class="navs">
                <view class="title" @tap="$util.checkLogin('/pages/order/order')">
                    <text>我的订单</text>
@@ -74,7 +74,7 @@
                    </view>
                </view>
            </view>
            <view class="mySer">
                <view class="title">我的服务</view>
                <view class="mySerCon">
@@ -92,7 +92,7 @@
                      <template v-if="isShop">
                        <image src="/static/imgs/quanshou.png" mode="widthFix"></image>
                        <text>会员权收</text></template>
                    </view>
                </view>
            </view>
@@ -108,7 +108,7 @@
                <view @tap="goWebUrl('http://beian.miit.gov.cn')">APP备案号: {{Config.icp}}</view>
                <view @tap="goWebUrl('http://beian.miit.gov.cn')">Copyright © 2025 数澜科技 All Rights Reserved.</view>
                <!-- <view @tap="goWebUrl('http://beian.miit.gov.cn')">Copyright © 2025 {{Config.url}} All Rights Reserved.</view> -->
            </view>
            <agreePup ref="agreePup1" :gp="1" title="注册协议"></agreePup>
            <agreePup ref="agreePup2" :gp="2" title="隐私政策"></agreePup>
@@ -123,9 +123,9 @@
                  <view @click="$refs.comment.close()" style="font-weight: 500;font-size: 32rpx;color: #fff;text-align: center;padding: 24rpx 28rpx;border-top: 2rpx solid #EEEEEE;background: #4766FE;;border-radius: 40rpx ;">好的</view>
                </view>
              </view>
            </uni-popup>
        </view>
    </view>
</template>
@@ -229,7 +229,7 @@
            },
            setImg(){
                if(uni.getSystemInfoSync().platform != 'ios'){
                    this.$refs['authpup'].open()
                    this.$refs['authpup'].open()
                }else{
                    this.chooseImg()
                }//调起自定义权限目的弹框,具体可看示例里面很详细
@@ -237,7 +237,7 @@
            changeAuth () {
                //这里是权限通过后执行自己的代码逻辑
                if(uni.getSystemInfoSync().platform !='ios'){
                    this.$refs['camears'].open()
                    this.$refs['camears'].open()
                }
                this.chooseImg()
            },
@@ -299,7 +299,7 @@
                })
            },
            wechatWork () {
                let t = this
                let t = this
                if(t.Config){
                    if(t.Config.put_open == 1){
                        uni.showModal({
@@ -322,18 +322,18 @@
                                console.log("success:" + JSON.stringify(res))
                            },
                            fail: (err) => {
                                console.log("fail:" + JSON.stringify(err))
                                console.log("fail:" + JSON.stringify(err))
                            }
                        })
                    }
                }
                }
            }
        }
    }
</script>
<style>
    @import url(/static/css/my2.css);
    .num-wrapper {
        width: 650rpx;
        margin: 30rpx auto;
@@ -344,22 +344,22 @@
        justify-content: space-between;
        color: #fff;
        gap: 20rpx;
      }
      .num-wrapper .num-item {
        width: 33.33%;
        text-align: center;
      }
      .num-wrapper .num {
          font-size: 42rpx;
          font-weight: bold;
    }
    .num-wrapper .txt {
        margin-top: 10rpx;
        font-size: 26rpx;
        color: rgba(255, 255, 255, 0.6);
    }
</style>
</style>
pages/profile/profile.vue
@@ -9,24 +9,24 @@
                    <image :src="$baseUrl + userInfo.avatar" mode=""></image>
                </view>
            </view> -->
            <view class="profile-item">
            <!-- <view class="profile-item">
                <text class="label">姓名</text>
                <view class="">
                    <input type="text" disabled v-model="userInfo.realname" placeholder="请输入姓名" />
                </view>
            </view>
            </view> -->
            <view class="profile-item">
                <text class="label">手机号</text>
                <view class="">
                    <input type="text" disabled v-model="userInfo.phone" placeholder="请输入手机号" />
                </view>
            </view>
            <view class="profile-item">
            <!-- <view class="profile-item">
                <text class="label">身份证</text>
                <view class="">
                    <input type="text" disabled v-model="userInfo.idcard" placeholder="请输入身份证" />
                </view>
            </view>
            </view> -->
            <!-- <view class="profile-item">
                <text class="label">总余额</text>
                <view class="">
pages/quanyi/index.vue
@@ -191,7 +191,7 @@
    </view>
    <view class="content" style="overflow-y: scroll;padding:  30rpx;padding-bottom: 140rpx;">
      <view class="tips" style="background-color: #39499E;border-radius: 32rpx;margin-top: 20rpx;padding: 30rpx;color: #CFD5F5;font-size: 28rpx;">
          <view class="content-title" style="text-align: center;display: flex;align-items: center;justify-content: center;margin-top: 20rpx;margin-bottom: 30rpx;">
            <image style="width: 111rpx;height: 8rpx;" src="/static/img/nion1.png"></image>