|
@@ -4,7 +4,7 @@
|
|
<view class="search_container">
|
|
<view class="search_container">
|
|
<input
|
|
<input
|
|
type="text"
|
|
type="text"
|
|
- v-model="流量充值"
|
|
|
|
|
|
+ v-model="inputValue1"
|
|
class="search_public"
|
|
class="search_public"
|
|
confirm-type="done"
|
|
confirm-type="done"
|
|
disabled="true"
|
|
disabled="true"
|
|
@@ -12,14 +12,14 @@
|
|
<button class="search_btn" type="submit" @click="getSubmit1">前往</button>
|
|
<button class="search_btn" type="submit" @click="getSubmit1">前往</button>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
- <view class="search_container">
|
|
|
|
|
|
+ <view class="search_container marTop20">
|
|
<input
|
|
<input
|
|
type="text"
|
|
type="text"
|
|
- v-model="远程配网"
|
|
|
|
|
|
+ v-model="inputValue2"
|
|
class="search_public"
|
|
class="search_public"
|
|
disabled="true"
|
|
disabled="true"
|
|
/>
|
|
/>
|
|
- <button class="search_btn" type="submit" @click="getSubmit2">绑定</button>
|
|
|
|
|
|
+ <button class="search_btn" type="submit" @click="getSubmit2">前往</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
@@ -33,6 +33,8 @@ export default {
|
|
openId: "",
|
|
openId: "",
|
|
flowUrl: "",
|
|
flowUrl: "",
|
|
wifiUrl: "",
|
|
wifiUrl: "",
|
|
|
|
+ inputValue1: "流量充值",
|
|
|
|
+ inputValue2: "远程配网",
|
|
};
|
|
};
|
|
},
|
|
},
|
|
onLoad(e) {
|
|
onLoad(e) {
|
|
@@ -55,13 +57,11 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
getSubmit1() {
|
|
getSubmit1() {
|
|
- window.location.href =
|
|
|
|
- `http://ptt.radio1964.com/v1/device/get-wifi?UUId=` + this.flowUrl;
|
|
|
|
|
|
+ window.location.href = this.flowUrl;
|
|
},
|
|
},
|
|
|
|
|
|
getSubmit2() {
|
|
getSubmit2() {
|
|
- window.location.href =
|
|
|
|
- `http://ptt.radio1964.com/v1/device/get-wifi?UUId=` + this.wifiUrl;
|
|
|
|
|
|
+ window.location.href = this.wifiUrl;
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|
|
};
|
|
@@ -83,9 +83,11 @@ export default {
|
|
|
|
|
|
.search_public {
|
|
.search_public {
|
|
background: #ededed;
|
|
background: #ededed;
|
|
- margin-left: 20rpx;
|
|
|
|
|
|
+ height: 80rpx;
|
|
|
|
+ line-height: 80rpx;
|
|
|
|
+ margin-left: 40rpx;
|
|
margin-right: 20rpx;
|
|
margin-right: 20rpx;
|
|
- border-radius: 50rpx;
|
|
|
|
|
|
+ border-radius: 20rpx;
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
text-align: center;
|
|
@@ -93,13 +95,20 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
.search_btn {
|
|
.search_btn {
|
|
|
|
+ height: 80rpx;
|
|
|
|
+ line-height: 80rpx;
|
|
|
|
+ margin-top: 20rpx;
|
|
width: 200rpx;
|
|
width: 200rpx;
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
text-align: center;
|
|
- font-size: 28rpx;
|
|
|
|
- border-radius: 50rpx;
|
|
|
|
- margin-right: 20rpx;
|
|
|
|
|
|
+ font-size: 35rpx;
|
|
|
|
+ border-radius: 20rpx;
|
|
|
|
+ margin-right: 40rpx;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.marTop20 {
|
|
|
|
+ margin-top: 50rpx;
|
|
}
|
|
}
|
|
|
|
|
|
.explain {
|
|
.explain {
|