Commit 48352baa3cbd4e5e85693bda2201d6f4e7ac36c2

Authored by liujun001
1 parent fd4124d0

修改选择身份图片、装修垃圾页面复选框大小、首页添加地址跳转页面

garbage-removal/package.json
... ... @@ -54,6 +54,7 @@
54 54 "@dcloudio/uni-mp-weixin": "3.0.0-3090620231104002",
55 55 "@dcloudio/uni-mp-xhs": "3.0.0-3090620231104002",
56 56 "@dcloudio/uni-quickapp-webview": "3.0.0-3090620231104002",
  57 + "axios": "^0.27.2",
57 58 "clipboard": "^2.0.11",
58 59 "dayjs": "^1.11.10",
59 60 "js-md5": "^0.8.3",
... ...
garbage-removal/src/pages/home-info/address/addSite.vue
... ... @@ -218,6 +218,10 @@ onLoad((options) => {
218 218 addressInfo.garLatitude = addressObj.garLatitude
219 219 addFlag.value = false;
220 220 }
  221 +
  222 + if(options.defaultFlag && 'true' == options.defaultFlag){
  223 + addressInfo.defaultFlag = true;
  224 + }
221 225 })
222 226 const reset = () => {
223 227 addressInfo.addressArea = ''
... ...
garbage-removal/src/pages/home-info/clean/index.vue
... ... @@ -90,12 +90,12 @@
90 90 </view>
91 91 <view style="width:100%;display: flex;justify-content: flex-start;align-items: center; ">
92 92 <view style="display: flex; align-items: center;">
93   - <up-radio-group shape="square" size="30" v-model="paramFrom.garInCarStore" placement="row"
  93 + <up-radio-group shape="square" size="34" v-model="paramFrom.garInCarStore" placement="row"
94 94 @change="handleInCarClick">
95   - <up-radio activeColor="#19a97c" labelSize="30" :customStyle="{ marginRight: '30rpx' }" label="需要"
  95 + <up-radio activeColor="#19a97c" labelSize="32" iconSize="30" :customStyle="{ marginRight: '30rpx' }" label="需要"
96 96 :name="true">
97 97 </up-radio>
98   - <up-radio activeColor="#19a97c" labelSize="30" :customStyle="{ marginRight: '30rp' }" label="不需要"
  98 + <up-radio activeColor="#19a97c" labelSize="32" iconSize="30" :customStyle="{ marginRight: '30rp' }" label="不需要"
99 99 :name="false">
100 100 </up-radio>
101 101 </up-radio-group>
... ... @@ -128,8 +128,8 @@
128 128 <view class="company-clean-container-site-image-info-sure-button-radio">
129 129 <view @click="changeAgree">
130 130 <u-checkbox-group v-model="paramFrom.sureReadFlag" placement="row">
131   - <u-checkbox activeColor="#19a97c" :customStyle="{ marginBottom: '0px', marginTop: '1px' }" size="28"
132   - labelSize="28" shape="square" :key="0" :name="true" :labelDisabled="true"
  131 + <u-checkbox activeColor="#19a97c" :customStyle="{ marginBottom: '0px', marginTop: '1px' }" size="30"
  132 + labelSize="28" shape="square" :key="0" :name="true" :labelDisabled="true" iconSize="28"
133 133 labelColor="#909399"></u-checkbox>
134 134 </u-checkbox-group>
135 135 </view>
... ...
garbage-removal/src/pages/home/index.vue
... ... @@ -321,19 +321,9 @@ const handleCleanClick = () =&gt; {
321 321 } else {
322 322 // 用户已登录但是没有清运地址的情况
323 323 if (userType.value == '用户') {
324   - uni.showModal({
325   - title: '提示',
326   - content: prompt.value,
327   - success: function (res) {
328   - if (res.confirm) {
329   - uni.$u.route({
330   - url: `pages/home-info/address/index`,
331   - })
332   - } else if (res.cancel) {
333   - console.log('用户点击取消');
334   - }
335   - }
336   - });
  324 + uni.$u.route({
  325 + url: `pages/home-info/address/addSite?defaultFlag=true`,
  326 + });
337 327 } else {
338 328 uni.showModal({
339 329 title: '提示',
... ...
garbage-removal/src/static/image/role/company.png

9.26 KB | W: | H:

9.72 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
garbage-removal/src/static/image/role/disposal.png

8.61 KB | W: | H:

14.5 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
garbage-removal/src/static/image/role/handler.png

9.41 KB | W: | H:

14.8 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
garbage-removal/src/static/image/role/user.png

7.55 KB | W: | H:

10 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin